[2026-07-19 00:00:00] local.INFO: TCP Data received {"connection_id":136169,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:00:00] local.INFO: Processing buffer {"connection_id":136169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:00:00] local.INFO: IMEI packet received {"connection_id":136169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":136169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:00:02] local.INFO: TCP Data received {"connection_id":136169,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f767c81b8012d6cd88006111e68000301352e..."} 
[2026-07-19 00:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f767c81b8012d6cd88006111e68000301352e..."} 
[2026-07-19 00:00:02] local.INFO: Processing buffer {"connection_id":136169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f767c81b8012d6cd88006111e68000301352e..."} 
[2026-07-19 00:00:02] local.INFO: Packet analysis {"connection_id":136169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f767c"} 
[2026-07-19 00:00:02] local.INFO: Extracted packet for processing {"connection_id":136169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f767c"} 
[2026-07-19 00:00:02] local.INFO: GPS Element Parsed {"raw_longitude":762108032,"raw_latitude":101785192,"longitude_deg":76.2108032,"latitude_deg":10.1785192,"altitude":3,"angle":309,"satellites":46,"speed":20,"hex_longitude":"2d6cd880","hex_latitude":"06111e68","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806220288001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351667219207290880,"note":"Value kept but may cause issues"} 
[2026-07-19 00:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7843511358331879424,"note":"Value kept but may cause issues"} 
[2026-07-19 00:00: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-07-19 00:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784399299000,"timestamp_ms":1784399299000,"timestamp_seconds":1784399299,"priority":1,"record_length":96,"hex_timestamp":"0000019f767c81b8"} 
[2026-07-19 00:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:00: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-07-19 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 00:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00: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-07-19 00:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806220288001,"66":27365,"193":206,"79":46336,"24":20,"16":351667219207290880,"45":7843511358331879424},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-07-19 00:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806220288001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:00:02] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-19 00:00:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-19 00:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351667219207290880,"km_value":351667219207290.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7843511358331879424,"description":"Unknown IO ID 45"} 
[2026-07-19 00:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806220288001,"power":27365,"unknown_193":206,"unknown_79":46336,"ignition":20,"odometer":null,"unknown_45":7843511358331879424}} 
[2026-07-19 00:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":136169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:00:02] local.INFO: GPS data processed {"connection_id":136169,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:00:02] local.INFO: Acknowledgment sent {"connection_id":136169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:00:34] local.INFO: TCP Data received {"connection_id":136169,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f767db650012d6c2bc0061163900004012e2e..."} 
[2026-07-19 00:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f767db650012d6c2bc0061163900004012e2e..."} 
[2026-07-19 00:00:34] local.INFO: Processing buffer {"connection_id":136169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f767db650012d6c2bc0061163900004012e2e..."} 
[2026-07-19 00:00:34] local.INFO: Packet analysis {"connection_id":136169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f767d"} 
[2026-07-19 00:00:34] local.INFO: Extracted packet for processing {"connection_id":136169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f767d"} 
[2026-07-19 00:00:34] local.INFO: GPS Element Parsed {"raw_longitude":762063808,"raw_latitude":101802896,"longitude_deg":76.2063808,"latitude_deg":10.1802896,"altitude":4,"angle":302,"satellites":46,"speed":29,"hex_longitude":"2d6c2bc0","hex_latitude":"06116390","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806240256001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351669628683943936,"note":"Value kept but may cause issues"} 
[2026-07-19 00:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7795801349783789568,"note":"Value kept but may cause issues"} 
[2026-07-19 00:00: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-07-19 00:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784399378000,"timestamp_ms":1784399378000,"timestamp_seconds":1784399378,"priority":1,"record_length":96,"hex_timestamp":"0000019f767db650"} 
[2026-07-19 00:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 00:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00: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-07-19 00:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":136169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":136169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":136169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:00: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-07-19 00:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806240256001,"66":27267,"91":206,"79":46336,"24":29,"16":351669628683943936,"45":7795801349783789568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-07-19 00:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806240256001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:00:34] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-19 00:00:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-19 00:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351669628683943936,"km_value":351669628683943.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7795801349783789568,"description":"Unknown IO ID 45"} 
[2026-07-19 00:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806240256001,"power":27267,"unknown_91":206,"unknown_79":46336,"ignition":29,"odometer":null,"unknown_45":7795801349783789568}} 
[2026-07-19 00:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":136169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:00:34] local.INFO: GPS data processed {"connection_id":136169,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:00:34] local.INFO: Acknowledgment sent {"connection_id":136169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:00:57] local.INFO: TCP Data received {"connection_id":136030,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:00:57] local.INFO: Processing buffer {"connection_id":136030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:00:57] local.INFO: IMEI packet received {"connection_id":136030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":136030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:00:57] local.INFO: TCP Data received {"connection_id":136030,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:00:57] local.INFO: Processing buffer {"connection_id":136030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:00:57] local.INFO: IMEI packet received {"connection_id":136030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":136030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:00:58] local.INFO: TCP Data received {"connection_id":136030,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:00:58] local.INFO: Processing buffer {"connection_id":136030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:00:58] local.INFO: IMEI packet received {"connection_id":136030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":136030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:00:59] local.INFO: TCP Data received {"connection_id":136030,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f767dbe20012d6c268006116618000401212f..."} 
[2026-07-19 00:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f767dbe20012d6c268006116618000401212f..."} 
[2026-07-19 00:00:59] local.INFO: Processing buffer {"connection_id":136030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f767dbe20012d6c268006116618000401212f..."} 
[2026-07-19 00:00:59] local.INFO: Packet analysis {"connection_id":136030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f767d"} 
[2026-07-19 00:00:59] local.INFO: Extracted packet for processing {"connection_id":136030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f767d"} 
[2026-07-19 00:00:59] local.INFO: GPS Element Parsed {"raw_longitude":762062464,"raw_latitude":101803544,"longitude_deg":76.2062464,"latitude_deg":10.1803544,"altitude":4,"angle":289,"satellites":47,"speed":29,"hex_longitude":"2d6c2680","hex_latitude":"06116618","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806240768001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351669701698387968,"note":"Value kept but may cause issues"} 
[2026-07-19 00:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7794534712388849664,"note":"Value kept but may cause issues"} 
[2026-07-19 00:00:59] 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-07-19 00:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784399380000,"timestamp_ms":1784399380000,"timestamp_seconds":1784399380,"priority":1,"record_length":96,"hex_timestamp":"0000019f767dbe20"} 
[2026-07-19 00:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 00:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00: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-07-19 00:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":136030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":136030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":136030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806240768001,"66":27343,"91":206,"79":46336,"24":29,"16":351669701698387968,"45":7794534712388849664},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-07-19 00:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806240768001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:00:59] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-19 00:00:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-19 00:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351669701698387968,"km_value":351669701698387.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7794534712388849664,"description":"Unknown IO ID 45"} 
[2026-07-19 00:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806240768001,"power":27343,"unknown_91":206,"unknown_79":46336,"ignition":29,"odometer":null,"unknown_45":7794534712388849664}} 
[2026-07-19 00:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":136030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:00:59] local.INFO: GPS data processed {"connection_id":136030,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:00:59] local.INFO: Acknowledgment sent {"connection_id":136030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:01:32] local.INFO: TCP Data received {"connection_id":136030,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f767dd978012d6c160006116d600004012e2e..."} 
[2026-07-19 00:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f767dd978012d6c160006116d600004012e2e..."} 
[2026-07-19 00:01:32] local.INFO: Processing buffer {"connection_id":136030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f767dd978012d6c160006116d600004012e2e..."} 
[2026-07-19 00:01:32] local.INFO: Packet analysis {"connection_id":136030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f767d"} 
[2026-07-19 00:01:32] local.INFO: Extracted packet for processing {"connection_id":136030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f767d"} 
[2026-07-19 00:01:32] local.INFO: GPS Element Parsed {"raw_longitude":762058240,"raw_latitude":101805408,"longitude_deg":76.205824,"latitude_deg":10.1805408,"altitude":4,"angle":302,"satellites":46,"speed":24,"hex_longitude":"2d6c1600","hex_latitude":"06116d60","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806241280001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351669920741720064,"note":"Value kept but may cause issues"} 
[2026-07-19 00:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7793056968761284608,"note":"Value kept but may cause issues"} 
[2026-07-19 00:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 00:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784399387000,"timestamp_ms":1784399387000,"timestamp_seconds":1784399387,"priority":1,"record_length":96,"hex_timestamp":"0000019f767dd978"} 
[2026-07-19 00:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:01: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-07-19 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 00:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00: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-07-19 00:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806241280001,"66":27365,"91":206,"79":46336,"24":24,"16":351669920741720064,"45":7793056968761284608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-07-19 00:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806241280001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:01:32] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-19 00:01:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-19 00:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351669920741720064,"km_value":351669920741720.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7793056968761284608,"description":"Unknown IO ID 45"} 
[2026-07-19 00:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806241280001,"power":27365,"unknown_91":206,"unknown_79":46336,"ignition":24,"odometer":null,"unknown_45":7793056968761284608}} 
[2026-07-19 00:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":136030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:01:32] local.INFO: GPS data processed {"connection_id":136030,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:01:32] local.INFO: Acknowledgment sent {"connection_id":136030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:01:55] local.INFO: TCP Data received {"connection_id":136170,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:01:55] local.INFO: Processing buffer {"connection_id":136170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:01:55] local.INFO: IMEI packet received {"connection_id":136170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":136170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:02:00] local.INFO: TCP Data received {"connection_id":136170,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:02:00] local.INFO: Processing buffer {"connection_id":136170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:02:00] local.INFO: IMEI packet received {"connection_id":136170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":136170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:02:01] local.INFO: TCP Data received {"connection_id":136170,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f767eeed0012d6bd340061193f8000501062d..."} 
[2026-07-19 00:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f767eeed0012d6bd340061193f8000501062d..."} 
[2026-07-19 00:02:01] local.INFO: Processing buffer {"connection_id":136170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f767eeed0012d6bd340061193f8000501062d..."} 
[2026-07-19 00:02:01] local.INFO: Packet analysis {"connection_id":136170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f767e"} 
[2026-07-19 00:02:01] local.INFO: Extracted packet for processing {"connection_id":136170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f767e"} 
[2026-07-19 00:02:01] local.INFO: GPS Element Parsed {"raw_longitude":762041152,"raw_latitude":101815288,"longitude_deg":76.2041152,"latitude_deg":10.1815288,"altitude":5,"angle":262,"satellites":45,"speed":6,"hex_longitude":"2d6bd340","hex_latitude":"061193f8","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806258944001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351671174872170496,"note":"Value kept but may cause issues"} 
[2026-07-19 00:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7770890814348449792,"note":"Value kept but may cause issues"} 
[2026-07-19 00:02: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-07-19 00:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784399458000,"timestamp_ms":1784399458000,"timestamp_seconds":1784399458,"priority":1,"record_length":96,"hex_timestamp":"0000019f767eeed0"} 
[2026-07-19 00:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:02: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-07-19 00:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 00:02: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-07-19 00: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-07-19 00:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806258944001,"66":27300,"138":206,"79":46336,"24":6,"16":351671174872170496,"45":7770890814348449792},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-07-19 00:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806258944001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:02:01] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-19 00:02:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-19 00:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351671174872170496,"km_value":351671174872170.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7770890814348449792,"description":"Unknown IO ID 45"} 
[2026-07-19 00:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806258944001,"power":27300,"unknown_138":206,"unknown_79":46336,"ignition":6,"odometer":null,"unknown_45":7770890814348449792}} 
[2026-07-19 00:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":136170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:02:01] local.INFO: GPS data processed {"connection_id":136170,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:02:01] local.INFO: Acknowledgment sent {"connection_id":136170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:02:36] local.INFO: TCP Data received {"connection_id":136170,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f767f0258012d6bd00006119368000501122d..."} 
[2026-07-19 00:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f767f0258012d6bd00006119368000501122d..."} 
[2026-07-19 00:02:36] local.INFO: Processing buffer {"connection_id":136170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f767f0258012d6bd00006119368000501122d..."} 
[2026-07-19 00:02:36] local.INFO: Packet analysis {"connection_id":136170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f767f"} 
[2026-07-19 00:02:36] local.INFO: Extracted packet for processing {"connection_id":136170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f767f"} 
[2026-07-19 00:02:36] local.INFO: GPS Element Parsed {"raw_longitude":762040320,"raw_latitude":101815144,"longitude_deg":76.204032,"latitude_deg":10.1815144,"altitude":5,"angle":274,"satellites":45,"speed":7,"hex_longitude":"2d6bd000","hex_latitude":"06119368","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806261248001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351671217821843456,"note":"Value kept but may cause issues"} 
[2026-07-19 00:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7769624176953128960,"note":"Value kept but may cause issues"} 
[2026-07-19 00:02:36] 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-07-19 00:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784399463000,"timestamp_ms":1784399463000,"timestamp_seconds":1784399463,"priority":1,"record_length":96,"hex_timestamp":"0000019f767f0258"} 
[2026-07-19 00:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:02: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-07-19 00: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-19 00:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00: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-07-19 00:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:02:36] 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-07-19 00:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806261248001,"66":27365,"138":206,"79":46336,"24":7,"16":351671217821843456,"45":7769624176953128960},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-07-19 00:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806261248001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:02:36] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-19 00:02:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-19 00:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351671217821843456,"km_value":351671217821843.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7769624176953128960,"description":"Unknown IO ID 45"} 
[2026-07-19 00:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806261248001,"power":27365,"unknown_138":206,"unknown_79":46336,"ignition":7,"odometer":null,"unknown_45":7769624176953128960}} 
[2026-07-19 00:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":136170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:02:36] local.INFO: GPS data processed {"connection_id":136170,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:02:36] local.INFO: Acknowledgment sent {"connection_id":136170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:02:43] local.INFO: TCP Data received {"connection_id":136171,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:02:43] local.INFO: Processing buffer {"connection_id":136171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:02:43] local.INFO: IMEI packet received {"connection_id":136171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 00:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":136171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:02:55] local.INFO: TCP Data received {"connection_id":136032,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:02:55] local.INFO: Processing buffer {"connection_id":136032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:02:55] local.INFO: IMEI packet received {"connection_id":136032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":136032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:02:56] local.INFO: TCP Data received {"connection_id":136032,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:02:56] local.INFO: Processing buffer {"connection_id":136032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:02:56] local.INFO: IMEI packet received {"connection_id":136032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":136032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:03:00] local.INFO: TCP Data received {"connection_id":136032,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:03:00] local.INFO: Processing buffer {"connection_id":136032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:03:00] local.INFO: IMEI packet received {"connection_id":136032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":136032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:03:01] local.INFO: TCP Data received {"connection_id":136032,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f767f0640012d6bcec0061193900005011f2d..."} 
[2026-07-19 00:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f767f0640012d6bcec0061193900005011f2d..."} 
[2026-07-19 00:03:01] local.INFO: Processing buffer {"connection_id":136032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f767f0640012d6bcec0061193900005011f2d..."} 
[2026-07-19 00:03:01] local.INFO: Packet analysis {"connection_id":136032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f767f"} 
[2026-07-19 00:03:01] local.INFO: Extracted packet for processing {"connection_id":136032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f767f"} 
[2026-07-19 00:03:01] local.INFO: GPS Element Parsed {"raw_longitude":762040000,"raw_latitude":101815184,"longitude_deg":76.204,"latitude_deg":10.1815184,"altitude":5,"angle":287,"satellites":45,"speed":7,"hex_longitude":"2d6bcec0","hex_latitude":"06119390","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806262528001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351671230706745344,"note":"Value kept but may cause issues"} 
[2026-07-19 00:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7768709383278782464,"note":"Value kept but may cause issues"} 
[2026-07-19 00:03: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-07-19 00:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784399464000,"timestamp_ms":1784399464000,"timestamp_seconds":1784399464,"priority":1,"record_length":96,"hex_timestamp":"0000019f767f0640"} 
[2026-07-19 00:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00: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-07-19 00:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 00:03: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-07-19 00: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-07-19 00:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806262528001,"66":27180,"138":206,"79":46336,"24":7,"16":351671230706745344,"45":7768709383278782464},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-07-19 00:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806262528001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:03:01] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-19 00:03:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-19 00:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351671230706745344,"km_value":351671230706745.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7768709383278782464,"description":"Unknown IO ID 45"} 
[2026-07-19 00:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806262528001,"power":27180,"unknown_138":206,"unknown_79":46336,"ignition":7,"odometer":null,"unknown_45":7768709383278782464}} 
[2026-07-19 00:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":136032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:03:01] local.INFO: GPS data processed {"connection_id":136032,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:03:01] local.INFO: Acknowledgment sent {"connection_id":136032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:03:33] local.INFO: TCP Data received {"connection_id":136032,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f767f0e10012d6bccc006119478000501322b..."} 
[2026-07-19 00:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f767f0e10012d6bccc006119478000501322b..."} 
[2026-07-19 00:03:33] local.INFO: Processing buffer {"connection_id":136032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f767f0e10012d6bccc006119478000501322b..."} 
[2026-07-19 00:03:33] local.INFO: Packet analysis {"connection_id":136032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f767f"} 
[2026-07-19 00:03:33] local.INFO: Extracted packet for processing {"connection_id":136032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f767f"} 
[2026-07-19 00:03:33] local.INFO: GPS Element Parsed {"raw_longitude":762039488,"raw_latitude":101815416,"longitude_deg":76.2039488,"latitude_deg":10.1815416,"altitude":5,"angle":306,"satellites":43,"speed":9,"hex_longitude":"2d6bccc0","hex_latitude":"06119478","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806262784001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351671260771516416,"note":"Value kept but may cause issues"} 
[2026-07-19 00:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7768357539557904384,"note":"Value kept but may cause issues"} 
[2026-07-19 00:03:33] 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-07-19 00:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784399466000,"timestamp_ms":1784399466000,"timestamp_seconds":1784399466,"priority":1,"record_length":96,"hex_timestamp":"0000019f767f0e10"} 
[2026-07-19 00:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:03: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-07-19 00: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-19 00:03: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-07-19 00: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-07-19 00:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":136032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":136032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":136032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806262784001,"66":27267,"138":206,"79":46336,"24":9,"16":351671260771516416,"45":7768357539557904384},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-07-19 00:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806262784001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:03:33] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-19 00:03:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-19 00:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351671260771516416,"km_value":351671260771516.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7768357539557904384,"description":"Unknown IO ID 45"} 
[2026-07-19 00:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806262784001,"power":27267,"unknown_138":206,"unknown_79":46336,"ignition":9,"odometer":null,"unknown_45":7768357539557904384}} 
[2026-07-19 00:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":136032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:03:33] local.INFO: GPS data processed {"connection_id":136032,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:03:33] local.INFO: Acknowledgment sent {"connection_id":136032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:03:33] local.INFO: TCP Data received {"connection_id":138496,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:03:33] local.INFO: Processing buffer {"connection_id":138496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:03:33] local.INFO: IMEI packet received {"connection_id":138496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 00:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":138496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:03:56] local.INFO: TCP Data received {"connection_id":138497,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:03:56] local.INFO: Processing buffer {"connection_id":138497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:03:56] local.INFO: IMEI packet received {"connection_id":138497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":138497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:04:00] local.INFO: TCP Data received {"connection_id":138497,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:04:00] local.INFO: Processing buffer {"connection_id":138497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:04:00] local.INFO: IMEI packet received {"connection_id":138497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":138497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:04:02] local.INFO: TCP Data received {"connection_id":138497,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:04:02] local.INFO: Processing buffer {"connection_id":138497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:04:02] local.INFO: IMEI packet received {"connection_id":138497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":138497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:04:04] local.INFO: TCP Data received {"connection_id":138497,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7680db00012d6b788006128588000700022d..."} 
[2026-07-19 00:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7680db00012d6b788006128588000700022d..."} 
[2026-07-19 00:04:04] local.INFO: Processing buffer {"connection_id":138497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7680db00012d6b788006128588000700022d..."} 
[2026-07-19 00:04:04] local.INFO: Packet analysis {"connection_id":138497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7680"} 
[2026-07-19 00:04:04] local.INFO: Extracted packet for processing {"connection_id":138497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7680"} 
[2026-07-19 00:04:04] local.INFO: GPS Element Parsed {"raw_longitude":762017920,"raw_latitude":101877128,"longitude_deg":76.201792,"latitude_deg":10.1877128,"altitude":7,"angle":2,"satellites":45,"speed":18,"hex_longitude":"2d6b7880","hex_latitude":"06128588","is_valid_coordinates":true} 
[2026-07-19 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-07-19 00:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806292992001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351674439047315456,"note":"Value kept but may cause issues"} 
[2026-07-19 00:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744080322832218112,"note":"Value kept but may cause issues"} 
[2026-07-19 00:04:04] 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-07-19 00:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784399584000,"timestamp_ms":1784399584000,"timestamp_seconds":1784399584,"priority":1,"record_length":96,"hex_timestamp":"0000019f7680db00"} 
[2026-07-19 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-07-19 00:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-19 00:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 00:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":138497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":138497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":138497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:04: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-07-19 00:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806292992001,"66":27245,"137":206,"79":46336,"24":18,"16":351674439047315456,"45":7744080322832218112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-07-19 00:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806292992001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:04:04] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-19 00:04:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-19 00:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351674439047315456,"km_value":351674439047315.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744080322832218112,"description":"Unknown IO ID 45"} 
[2026-07-19 00:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806292992001,"power":27245,"unknown_137":206,"unknown_79":46336,"ignition":18,"odometer":null,"unknown_45":7744080322832218112}} 
[2026-07-19 00:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":138497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:04:04] local.INFO: GPS data processed {"connection_id":138497,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:04:04] local.INFO: Acknowledgment sent {"connection_id":138497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:04:07] local.INFO: TCP Data received {"connection_id":138497,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7680e2d0012d6b7900061289180007000e2e..."} 
[2026-07-19 00:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7680e2d0012d6b7900061289180007000e2e..."} 
[2026-07-19 00:04:07] local.INFO: Processing buffer {"connection_id":138497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7680e2d0012d6b7900061289180007000e2e..."} 
[2026-07-19 00:04:07] local.INFO: Packet analysis {"connection_id":138497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7680"} 
[2026-07-19 00:04:07] local.INFO: Extracted packet for processing {"connection_id":138497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7680"} 
[2026-07-19 00:04:07] local.INFO: GPS Element Parsed {"raw_longitude":762018048,"raw_latitude":101878040,"longitude_deg":76.2018048,"latitude_deg":10.187804,"altitude":7,"angle":14,"satellites":46,"speed":19,"hex_longitude":"2d6b7900","hex_latitude":"06128918","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806293504001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351674481996988416,"note":"Value kept but may cause issues"} 
[2026-07-19 00:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744080322832467968,"note":"Value kept but may cause issues"} 
[2026-07-19 00:04:07] 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-07-19 00:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784399586000,"timestamp_ms":1784399586000,"timestamp_seconds":1784399586,"priority":1,"record_length":96,"hex_timestamp":"0000019f7680e2d0"} 
[2026-07-19 00:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 00:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00: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-07-19 00:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":138497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":138497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":138497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:04:07] 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-07-19 00:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806293504001,"66":27300,"137":206,"79":46336,"24":19,"16":351674481996988416,"45":7744080322832467968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-07-19 00:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806293504001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:04:07] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-19 00:04:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-19 00:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351674481996988416,"km_value":351674481996988.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744080322832467968,"description":"Unknown IO ID 45"} 
[2026-07-19 00:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806293504001,"power":27300,"unknown_137":206,"unknown_79":46336,"ignition":19,"odometer":null,"unknown_45":7744080322832467968}} 
[2026-07-19 00:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":138497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:04:07] local.INFO: GPS data processed {"connection_id":138497,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:04:07] local.INFO: Acknowledgment sent {"connection_id":138497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:04:46] local.INFO: TCP Data received {"connection_id":138497,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7680f658012d6b7b0006129260000701652e..."} 
[2026-07-19 00:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7680f658012d6b7b0006129260000701652e..."} 
[2026-07-19 00:04:46] local.INFO: Processing buffer {"connection_id":138497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7680f658012d6b7b0006129260000701652e..."} 
[2026-07-19 00:04:46] local.INFO: Packet analysis {"connection_id":138497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7680"} 
[2026-07-19 00:04:46] local.INFO: Extracted packet for processing {"connection_id":138497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7680"} 
[2026-07-19 00:04:46] local.INFO: GPS Element Parsed {"raw_longitude":762018560,"raw_latitude":101880416,"longitude_deg":76.201856,"latitude_deg":10.1880416,"altitude":7,"angle":357,"satellites":46,"speed":18,"hex_longitude":"2d6b7b00","hex_latitude":"06129260","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806294016001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351674602256072704,"note":"Value kept but may cause issues"} 
[2026-07-19 00:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744221060321056768,"note":"Value kept but may cause issues"} 
[2026-07-19 00:04:46] 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-07-19 00:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784399591000,"timestamp_ms":1784399591000,"timestamp_seconds":1784399591,"priority":1,"record_length":96,"hex_timestamp":"0000019f7680f658"} 
[2026-07-19 00:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-19 00:04:46] 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-07-19 00: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-07-19 00:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":138497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":138497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":138497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806294016001,"66":27267,"137":206,"79":46336,"24":18,"16":351674602256072704,"45":7744221060321056768},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-07-19 00:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806294016001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:04:46] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-19 00:04:46] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-19 00:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351674602256072704,"km_value":351674602256072.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744221060321056768,"description":"Unknown IO ID 45"} 
[2026-07-19 00:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806294016001,"power":27267,"unknown_137":206,"unknown_79":46336,"ignition":18,"odometer":null,"unknown_45":7744221060321056768}} 
[2026-07-19 00:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":138497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:04:46] local.INFO: GPS data processed {"connection_id":138497,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:04:46] local.INFO: Acknowledgment sent {"connection_id":138497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:04:55] local.INFO: TCP Data received {"connection_id":138498,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:04:55] local.INFO: Processing buffer {"connection_id":138498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:04:55] local.INFO: IMEI packet received {"connection_id":138498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":138498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:05:00] local.INFO: TCP Data received {"connection_id":138498,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:05:00] local.INFO: Processing buffer {"connection_id":138498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:05:00] local.INFO: IMEI packet received {"connection_id":138498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":138498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:05:01] local.INFO: TCP Data received {"connection_id":138498,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f768111b0012d6b7a8006129f680006000a2e..."} 
[2026-07-19 00:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f768111b0012d6b7a8006129f680006000a2e..."} 
[2026-07-19 00:05:01] local.INFO: Processing buffer {"connection_id":138498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f768111b0012d6b7a8006129f680006000a2e..."} 
[2026-07-19 00:05:01] local.INFO: Packet analysis {"connection_id":138498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7681"} 
[2026-07-19 00:05:01] local.INFO: Extracted packet for processing {"connection_id":138498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7681"} 
[2026-07-19 00:05:01] local.INFO: GPS Element Parsed {"raw_longitude":762018432,"raw_latitude":101883752,"longitude_deg":76.2018432,"latitude_deg":10.1883752,"altitude":6,"angle":10,"satellites":46,"speed":17,"hex_longitude":"2d6b7a80","hex_latitude":"06129f68","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806295296001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351674765464829952,"note":"Value kept but may cause issues"} 
[2026-07-19 00:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744784010275086336,"note":"Value kept but may cause issues"} 
[2026-07-19 00:05:01] 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-07-19 00:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784399598000,"timestamp_ms":1784399598000,"timestamp_seconds":1784399598,"priority":1,"record_length":96,"hex_timestamp":"0000019f768111b0"} 
[2026-07-19 00:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 00:05: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-07-19 00: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-07-19 00:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":138498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":138498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":138498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806295296001,"66":27365,"137":206,"79":46336,"24":17,"16":351674765464829952,"45":7744784010275086336},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-07-19 00:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806295296001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:05:01] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-19 00:05:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-19 00:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351674765464829952,"km_value":351674765464829.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744784010275086336,"description":"Unknown IO ID 45"} 
[2026-07-19 00:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806295296001,"power":27365,"unknown_137":206,"unknown_79":46336,"ignition":17,"odometer":null,"unknown_45":7744784010275086336}} 
[2026-07-19 00:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":138498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:05:01] local.INFO: GPS data processed {"connection_id":138498,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:05:01] local.INFO: Acknowledgment sent {"connection_id":138498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:05:32] local.INFO: TCP Data received {"connection_id":138498,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f76812920012d6b7c400612a8a8000401672d..."} 
[2026-07-19 00:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76812920012d6b7c400612a8a8000401672d..."} 
[2026-07-19 00:05:32] local.INFO: Processing buffer {"connection_id":138498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76812920012d6b7c400612a8a8000401672d..."} 
[2026-07-19 00:05:32] local.INFO: Packet analysis {"connection_id":138498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7681"} 
[2026-07-19 00:05:32] local.INFO: Extracted packet for processing {"connection_id":138498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7681"} 
[2026-07-19 00:05:32] local.INFO: GPS Element Parsed {"raw_longitude":762018880,"raw_latitude":101886120,"longitude_deg":76.201888,"latitude_deg":10.188612,"altitude":4,"angle":359,"satellites":45,"speed":14,"hex_longitude":"2d6b7c40","hex_latitude":"0612a8a8","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806297088001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351674881428946944,"note":"Value kept but may cause issues"} 
[2026-07-19 00:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744643272787585024,"note":"Value kept but may cause issues"} 
[2026-07-19 00:05:32] 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-07-19 00:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784399604000,"timestamp_ms":1784399604000,"timestamp_seconds":1784399604,"priority":1,"record_length":96,"hex_timestamp":"0000019f76812920"} 
[2026-07-19 00:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:05: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-07-19 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 00:05: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-07-19 00: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-07-19 00:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":138498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":138498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":138498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806297088001,"66":27245,"137":206,"79":46336,"24":14,"16":351674881428946944,"45":7744643272787585024},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-07-19 00:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806297088001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:05:32] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-19 00:05:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-19 00:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351674881428946944,"km_value":351674881428946.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744643272787585024,"description":"Unknown IO ID 45"} 
[2026-07-19 00:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806297088001,"power":27245,"unknown_137":206,"unknown_79":46336,"ignition":14,"odometer":null,"unknown_45":7744643272787585024}} 
[2026-07-19 00:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":138498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:05:32] local.INFO: GPS data processed {"connection_id":138498,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:05:32] local.INFO: Acknowledgment sent {"connection_id":138498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:05:55] local.INFO: TCP Data received {"connection_id":137097,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:05:55] local.INFO: Processing buffer {"connection_id":137097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:05:55] local.INFO: IMEI packet received {"connection_id":137097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":137097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:06:01] local.INFO: TCP Data received {"connection_id":137097,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:06:01] local.INFO: Processing buffer {"connection_id":137097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:06:01] local.INFO: IMEI packet received {"connection_id":137097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":137097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:06:02] local.INFO: TCP Data received {"connection_id":137097,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f768138c0012d6b7bc00612ae38000301592e..."} 
[2026-07-19 00:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f768138c0012d6b7bc00612ae38000301592e..."} 
[2026-07-19 00:06:02] local.INFO: Processing buffer {"connection_id":137097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f768138c0012d6b7bc00612ae38000301592e..."} 
[2026-07-19 00:06:02] local.INFO: Packet analysis {"connection_id":137097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7681"} 
[2026-07-19 00:06:02] local.INFO: Extracted packet for processing {"connection_id":137097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7681"} 
[2026-07-19 00:06:02] local.INFO: GPS Element Parsed {"raw_longitude":762018752,"raw_latitude":101887544,"longitude_deg":76.2018752,"latitude_deg":10.1887544,"altitude":3,"angle":345,"satellites":46,"speed":13,"hex_longitude":"2d6b7bc0","hex_latitude":"0612ae38","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806298624001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351674950148423680,"note":"Value kept but may cause issues"} 
[2026-07-19 00:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7745135853997434880,"note":"Value kept but may cause issues"} 
[2026-07-19 00:06:02] 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-07-19 00:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784399608000,"timestamp_ms":1784399608000,"timestamp_seconds":1784399608,"priority":1,"record_length":96,"hex_timestamp":"0000019f768138c0"} 
[2026-07-19 00:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:06: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-07-19 00:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 00:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00: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-07-19 00:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":137097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":137097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":137097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806298624001,"66":27343,"137":206,"79":46336,"24":13,"16":351674950148423680,"45":7745135853997434880},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-07-19 00:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806298624001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:06:02] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-19 00:06:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-19 00:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351674950148423680,"km_value":351674950148423.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7745135853997434880,"description":"Unknown IO ID 45"} 
[2026-07-19 00:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806298624001,"power":27343,"unknown_137":206,"unknown_79":46336,"ignition":13,"odometer":null,"unknown_45":7745135853997434880}} 
[2026-07-19 00:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":137097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:06:02] local.INFO: GPS data processed {"connection_id":137097,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:06:02] local.INFO: Acknowledgment sent {"connection_id":137097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:06:34] local.INFO: TCP Data received {"connection_id":137097,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f76814478012d6b7a400612b1c8000501492d..."} 
[2026-07-19 00:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76814478012d6b7a400612b1c8000501492d..."} 
[2026-07-19 00:06:34] local.INFO: Processing buffer {"connection_id":137097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76814478012d6b7a400612b1c8000501492d..."} 
[2026-07-19 00:06:34] local.INFO: Packet analysis {"connection_id":137097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7681"} 
[2026-07-19 00:06:34] local.INFO: Extracted packet for processing {"connection_id":137097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7681"} 
[2026-07-19 00:06:34] local.INFO: GPS Element Parsed {"raw_longitude":762018368,"raw_latitude":101888456,"longitude_deg":76.2018368,"latitude_deg":10.1888456,"altitude":5,"angle":329,"satellites":45,"speed":14,"hex_longitude":"2d6b7a40","hex_latitude":"0612b1c8","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806299648001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351675001688031232,"note":"Value kept but may cause issues"} 
[2026-07-19 00:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744995116509444096,"note":"Value kept but may cause issues"} 
[2026-07-19 00:06:34] 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-07-19 00:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784399611000,"timestamp_ms":1784399611000,"timestamp_seconds":1784399611,"priority":1,"record_length":96,"hex_timestamp":"0000019f76814478"} 
[2026-07-19 00:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 00:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00: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-07-19 00:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":137097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":137097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":137097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:06: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-07-19 00:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806299648001,"66":27365,"137":206,"79":46336,"24":14,"16":351675001688031232,"45":7744995116509444096},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-07-19 00:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806299648001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:06:34] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-19 00:06:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-19 00:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351675001688031232,"km_value":351675001688031.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744995116509444096,"description":"Unknown IO ID 45"} 
[2026-07-19 00:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806299648001,"power":27365,"unknown_137":206,"unknown_79":46336,"ignition":14,"odometer":null,"unknown_45":7744995116509444096}} 
[2026-07-19 00:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":137097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:06:34] local.INFO: GPS data processed {"connection_id":137097,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:06:34] local.INFO: Acknowledgment sent {"connection_id":137097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:06:54] local.INFO: TCP Data received {"connection_id":138499,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:06:54] local.INFO: Processing buffer {"connection_id":138499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:06:54] local.INFO: IMEI packet received {"connection_id":138499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":138499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:06:55] local.INFO: TCP Data received {"connection_id":138499,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:06:55] local.INFO: Processing buffer {"connection_id":138499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:06:55] local.INFO: IMEI packet received {"connection_id":138499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":138499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:07:01] local.INFO: TCP Data received {"connection_id":138499,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:07:01] local.INFO: Processing buffer {"connection_id":138499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:07:01] local.INFO: IMEI packet received {"connection_id":138499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":138499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:07:01] local.INFO: TCP Data received {"connection_id":138499,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f76833c60012d6b57000613d710000701632e..."} 
[2026-07-19 00:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76833c60012d6b57000613d710000701632e..."} 
[2026-07-19 00:07:01] local.INFO: Processing buffer {"connection_id":138499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76833c60012d6b57000613d710000701632e..."} 
[2026-07-19 00:07:01] local.INFO: Packet analysis {"connection_id":138499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7683"} 
[2026-07-19 00:07:01] local.INFO: Extracted packet for processing {"connection_id":138499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7683"} 
[2026-07-19 00:07:01] local.INFO: GPS Element Parsed {"raw_longitude":762009344,"raw_latitude":101963536,"longitude_deg":76.2009344,"latitude_deg":10.1963536,"altitude":7,"angle":355,"satellites":46,"speed":28,"hex_longitude":"2d6b5700","hex_latitude":"0613d710","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806329856001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351678686769971200,"note":"Value kept but may cause issues"} 
[2026-07-19 00:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7735776811039305728,"note":"Value kept but may cause issues"} 
[2026-07-19 00:07: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-07-19 00:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784399740000,"timestamp_ms":1784399740000,"timestamp_seconds":1784399740,"priority":1,"record_length":96,"hex_timestamp":"0000019f76833c60"} 
[2026-07-19 00:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00: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-07-19 00:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 00:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00: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-07-19 00:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":138499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":138499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":138499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806329856001,"66":27332,"167":206,"79":20992,"24":28,"16":351678686769971200,"45":7735776811039305728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-07-19 00:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806329856001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:07:01] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-19 00:07:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351678686769971200,"km_value":351678686769971.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7735776811039305728,"description":"Unknown IO ID 45"} 
[2026-07-19 00:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806329856001,"power":27332,"unknown_167":206,"unknown_79":20992,"ignition":28,"odometer":null,"unknown_45":7735776811039305728}} 
[2026-07-19 00:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":138499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:07:02] local.INFO: GPS data processed {"connection_id":138499,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:07:02] local.INFO: Acknowledgment sent {"connection_id":138499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:07:33] local.INFO: TCP Data received {"connection_id":138499,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f76837ae0012d6b53c00613f9980007015e2e..."} 
[2026-07-19 00:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76837ae0012d6b53c00613f9980007015e2e..."} 
[2026-07-19 00:07:33] local.INFO: Processing buffer {"connection_id":138499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76837ae0012d6b53c00613f9980007015e2e..."} 
[2026-07-19 00:07:33] local.INFO: Packet analysis {"connection_id":138499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7683"} 
[2026-07-19 00:07:33] local.INFO: Extracted packet for processing {"connection_id":138499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7683"} 
[2026-07-19 00:07:33] local.INFO: GPS Element Parsed {"raw_longitude":762008512,"raw_latitude":101972376,"longitude_deg":76.2008512,"latitude_deg":10.1972376,"altitude":7,"angle":350,"satellites":46,"speed":19,"hex_longitude":"2d6b53c0","hex_latitude":"0613f998","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806333440001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351679116266700800,"note":"Value kept but may cause issues"} 
[2026-07-19 00:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7734650911134781440,"note":"Value kept but may cause issues"} 
[2026-07-19 00:07: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-07-19 00:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784399756000,"timestamp_ms":1784399756000,"timestamp_seconds":1784399756,"priority":1,"record_length":96,"hex_timestamp":"0000019f76837ae0"} 
[2026-07-19 00:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00: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-07-19 00:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-19 00:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00: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-07-19 00:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":138499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":138499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":138499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806333440001,"66":27321,"167":206,"79":20992,"24":19,"16":351679116266700800,"45":7734650911134781440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-07-19 00:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806333440001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:07:33] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-19 00:07:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351679116266700800,"km_value":351679116266700.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7734650911134781440,"description":"Unknown IO ID 45"} 
[2026-07-19 00:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806333440001,"power":27321,"unknown_167":206,"unknown_79":20992,"ignition":19,"odometer":null,"unknown_45":7734650911134781440}} 
[2026-07-19 00:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":138499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:07:33] local.INFO: GPS data processed {"connection_id":138499,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:07:33] local.INFO: Acknowledgment sent {"connection_id":138499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:07:54] local.INFO: TCP Data received {"connection_id":136036,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:07:54] local.INFO: Processing buffer {"connection_id":136036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:07:54] local.INFO: IMEI packet received {"connection_id":136036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":136036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:08:08] local.INFO: TCP Data received {"connection_id":136036,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:08:08] local.INFO: Processing buffer {"connection_id":136036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:08:08] local.INFO: IMEI packet received {"connection_id":136036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":136036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:08:08] local.INFO: TCP Data received {"connection_id":136036,"ip":"42.106.6.36","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 00:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136036,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 00:08:08] local.INFO: Processing buffer {"connection_id":136036,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 00:08:08] local.INFO: IMEI packet received {"connection_id":136036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":136036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:09:03] local.INFO: TCP Data received {"connection_id":137098,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:09:03] local.INFO: Processing buffer {"connection_id":137098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:09:03] local.INFO: IMEI packet received {"connection_id":137098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 00:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":137098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:09:28] local.INFO: TCP Data received {"connection_id":138500,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:09:28] local.INFO: Processing buffer {"connection_id":138500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:09:28] local.INFO: IMEI packet received {"connection_id":138500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 00:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":138500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:13:16] local.INFO: TCP Data received {"connection_id":136040,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:13:16] local.INFO: Processing buffer {"connection_id":136040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:13:16] local.INFO: IMEI packet received {"connection_id":136040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":136040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:13:20] local.INFO: TCP Data received {"connection_id":136040,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:13:20] local.INFO: Processing buffer {"connection_id":136040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:13:20] local.INFO: IMEI packet received {"connection_id":136040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":136040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:13:21] local.INFO: TCP Data received {"connection_id":136040,"ip":"42.106.6.44","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 00:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136040,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 00:13:21] local.INFO: Processing buffer {"connection_id":136040,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 00:13:21] local.INFO: IMEI packet received {"connection_id":136040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":136040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:14:43] local.INFO: TCP Data received {"connection_id":136042,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:14:43] local.INFO: Processing buffer {"connection_id":136042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:14:43] local.INFO: IMEI packet received {"connection_id":136042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 00:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":136042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:15:33] local.INFO: TCP Data received {"connection_id":137102,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:15:33] local.INFO: Processing buffer {"connection_id":137102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:15:33] local.INFO: IMEI packet received {"connection_id":137102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 00:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":137102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:15:35] local.INFO: TCP Data received {"connection_id":137102,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:15:35] local.INFO: Processing buffer {"connection_id":137102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:15:35] local.INFO: IMEI packet received {"connection_id":137102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-19 00:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":137102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:18:25] local.INFO: TCP Data received {"connection_id":136043,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:18:25] local.INFO: Processing buffer {"connection_id":136043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:18:25] local.INFO: IMEI packet received {"connection_id":136043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":136043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:18:26] local.INFO: TCP Data received {"connection_id":136043,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f768ce8f0012d699480061b6518000b01512a..."} 
[2026-07-19 00:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f768ce8f0012d699480061b6518000b01512a..."} 
[2026-07-19 00:18:26] local.INFO: Processing buffer {"connection_id":136043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f768ce8f0012d699480061b6518000b01512a..."} 
[2026-07-19 00:18:26] local.INFO: Packet analysis {"connection_id":136043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f768c"} 
[2026-07-19 00:18:26] local.INFO: Extracted packet for processing {"connection_id":136043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f768c"} 
[2026-07-19 00:18:26] local.INFO: GPS Element Parsed {"raw_longitude":761894016,"raw_latitude":102458648,"longitude_deg":76.1894016,"latitude_deg":10.2458648,"altitude":11,"angle":337,"satellites":42,"speed":34,"hex_longitude":"2d699480","hex_latitude":"061b6518","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806492928001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351703627645059072,"note":"Value kept but may cause issues"} 
[2026-07-19 00:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7612209296390135808,"note":"Value kept but may cause issues"} 
[2026-07-19 00:18:26] 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-07-19 00:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784400374000,"timestamp_ms":1784400374000,"timestamp_seconds":1784400374,"priority":1,"record_length":96,"hex_timestamp":"0000019f768ce8f0"} 
[2026-07-19 00:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-19 00:18:26] 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-07-19 00: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-07-19 00:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":136043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":136043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":136043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806492928001,"66":27332,"128":206,"79":20992,"24":34,"16":351703627645059072,"45":7612209296390135808},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,79,24,16,45]} 
[2026-07-19 00:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806492928001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:18:26] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-07-19 00:18:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351703627645059072,"km_value":351703627645059.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":7612209296390135808,"description":"Unknown IO ID 45"} 
[2026-07-19 00:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806492928001,"power":27332,"unknown_128":206,"unknown_79":20992,"ignition":34,"odometer":null,"unknown_45":7612209296390135808}} 
[2026-07-19 00:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":136043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:18:26] local.INFO: GPS data processed {"connection_id":136043,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:18:26] local.INFO: Acknowledgment sent {"connection_id":136043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:18:55] local.INFO: TCP Data received {"connection_id":137104,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:18:55] local.INFO: Processing buffer {"connection_id":137104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:18:55] local.INFO: IMEI packet received {"connection_id":137104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":137104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:19:00] local.INFO: TCP Data received {"connection_id":137104,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:19:00] local.INFO: Processing buffer {"connection_id":137104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:19:00] local.INFO: IMEI packet received {"connection_id":137104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":137104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:19:02] local.INFO: TCP Data received {"connection_id":137104,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f768e7b48012d68f080061cad48000a014e2e..."} 
[2026-07-19 00:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f768e7b48012d68f080061cad48000a014e2e..."} 
[2026-07-19 00:19:02] local.INFO: Processing buffer {"connection_id":137104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f768e7b48012d68f080061cad48000a014e2e..."} 
[2026-07-19 00:19:02] local.INFO: Packet analysis {"connection_id":137104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f768e"} 
[2026-07-19 00:19:02] local.INFO: Extracted packet for processing {"connection_id":137104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f768e"} 
[2026-07-19 00:19:02] local.INFO: GPS Element Parsed {"raw_longitude":761852032,"raw_latitude":102542664,"longitude_deg":76.1852032,"latitude_deg":10.2542664,"altitude":10,"angle":334,"satellites":46,"speed":42,"hex_longitude":"2d68f080","hex_latitude":"061cad48","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806519808001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351708176015425536,"note":"Value kept but may cause issues"} 
[2026-07-19 00:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7566188137719494656,"note":"Value kept but may cause issues"} 
[2026-07-19 00:19:02] 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-07-19 00:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784400477000,"timestamp_ms":1784400477000,"timestamp_seconds":1784400477,"priority":1,"record_length":96,"hex_timestamp":"0000019f768e7b48"} 
[2026-07-19 00:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:19: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-07-19 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 00:19: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-07-19 00: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-07-19 00:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":137104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":137104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":137104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806519808001,"66":27321,"86":206,"79":20992,"24":42,"16":351708176015425536,"45":7566188137719494656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-19 00:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806519808001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:19:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-19 00:19:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351708176015425536,"km_value":351708176015425.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7566188137719494656,"description":"Unknown IO ID 45"} 
[2026-07-19 00:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806519808001,"power":27321,"unknown_86":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":7566188137719494656}} 
[2026-07-19 00:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":137104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:19:02] local.INFO: GPS data processed {"connection_id":137104,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:19:02] local.INFO: Acknowledgment sent {"connection_id":137104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:19:34] local.INFO: TCP Data received {"connection_id":137104,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f768e9e70012d68e200061cd000000b01532f..."} 
[2026-07-19 00:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f768e9e70012d68e200061cd000000b01532f..."} 
[2026-07-19 00:19:34] local.INFO: Processing buffer {"connection_id":137104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f768e9e70012d68e200061cd000000b01532f..."} 
[2026-07-19 00:19:34] local.INFO: Packet analysis {"connection_id":137104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f768e"} 
[2026-07-19 00:19:34] local.INFO: Extracted packet for processing {"connection_id":137104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f768e"} 
[2026-07-19 00:19:34] local.INFO: GPS Element Parsed {"raw_longitude":761848320,"raw_latitude":102551552,"longitude_deg":76.184832,"latitude_deg":10.2551552,"altitude":11,"angle":339,"satellites":47,"speed":41,"hex_longitude":"2d68e200","hex_latitude":"061cd000","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806522112001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351708644166860800,"note":"Value kept but may cause issues"} 
[2026-07-19 00:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7561684538094340096,"note":"Value kept but may cause issues"} 
[2026-07-19 00:19:34] 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-07-19 00:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784400486000,"timestamp_ms":1784400486000,"timestamp_seconds":1784400486,"priority":1,"record_length":96,"hex_timestamp":"0000019f768e9e70"} 
[2026-07-19 00:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 00:19: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-07-19 00: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-07-19 00:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":137104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":137104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":137104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806522112001,"66":27343,"86":206,"79":20992,"24":41,"16":351708644166860800,"45":7561684538094340096},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-19 00:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806522112001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:19:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-19 00:19:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351708644166860800,"km_value":351708644166860.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7561684538094340096,"description":"Unknown IO ID 45"} 
[2026-07-19 00:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806522112001,"power":27343,"unknown_86":206,"unknown_79":20992,"ignition":41,"odometer":null,"unknown_45":7561684538094340096}} 
[2026-07-19 00:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":137104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:19:34] local.INFO: GPS data processed {"connection_id":137104,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:19:34] local.INFO: Acknowledgment sent {"connection_id":137104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:19:55] local.INFO: TCP Data received {"connection_id":136044,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:19:55] local.INFO: Processing buffer {"connection_id":136044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:19:55] local.INFO: IMEI packet received {"connection_id":136044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":136044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:19:56] local.INFO: TCP Data received {"connection_id":136044,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:19:56] local.INFO: Processing buffer {"connection_id":136044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:19:56] local.INFO: IMEI packet received {"connection_id":136044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":136044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:20:00] local.INFO: TCP Data received {"connection_id":136044,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:20:00] local.INFO: Processing buffer {"connection_id":136044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:20:00] local.INFO: IMEI packet received {"connection_id":136044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":136044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:20:01] local.INFO: TCP Data received {"connection_id":136044,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f768ec198012d68d5c0061cf210000d01562e..."} 
[2026-07-19 00:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f768ec198012d68d5c0061cf210000d01562e..."} 
[2026-07-19 00:20:01] local.INFO: Processing buffer {"connection_id":136044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f768ec198012d68d5c0061cf210000d01562e..."} 
[2026-07-19 00:20:01] local.INFO: Packet analysis {"connection_id":136044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f768e"} 
[2026-07-19 00:20:01] local.INFO: Extracted packet for processing {"connection_id":136044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f768e"} 
[2026-07-19 00:20:01] local.INFO: GPS Element Parsed {"raw_longitude":761845184,"raw_latitude":102560272,"longitude_deg":76.1845184,"latitude_deg":10.2560272,"altitude":13,"angle":342,"satellites":46,"speed":40,"hex_longitude":"2d68d5c0","hex_latitude":"061cf210","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806524416001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351709090843459584,"note":"Value kept but may cause issues"} 
[2026-07-19 00:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7557603150934310912,"note":"Value kept but may cause issues"} 
[2026-07-19 00:20:01] 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-07-19 00:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784400495000,"timestamp_ms":1784400495000,"timestamp_seconds":1784400495,"priority":1,"record_length":96,"hex_timestamp":"0000019f768ec198"} 
[2026-07-19 00:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:20: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-07-19 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 00:20: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-07-19 00: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-07-19 00:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806524416001,"66":27267,"86":206,"79":20992,"24":40,"16":351709090843459584,"45":7557603150934310912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-19 00:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806524416001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:20:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-19 00:20:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351709090843459584,"km_value":351709090843459.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7557603150934310912,"description":"Unknown IO ID 45"} 
[2026-07-19 00:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806524416001,"power":27267,"unknown_86":206,"unknown_79":20992,"ignition":40,"odometer":null,"unknown_45":7557603150934310912}} 
[2026-07-19 00:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":136044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:20:01] local.INFO: GPS data processed {"connection_id":136044,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:20:01] local.INFO: Acknowledgment sent {"connection_id":136044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:20:34] local.INFO: TCP Data received {"connection_id":136044,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f768ee4c0012d68cc40061d1500000d015a2f..."} 
[2026-07-19 00:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f768ee4c0012d68cc40061d1500000d015a2f..."} 
[2026-07-19 00:20:34] local.INFO: Processing buffer {"connection_id":136044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f768ee4c0012d68cc40061d1500000d015a2f..."} 
[2026-07-19 00:20:34] local.INFO: Packet analysis {"connection_id":136044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f768e"} 
[2026-07-19 00:20:34] local.INFO: Extracted packet for processing {"connection_id":136044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f768e"} 
[2026-07-19 00:20:34] local.INFO: GPS Element Parsed {"raw_longitude":761842752,"raw_latitude":102569216,"longitude_deg":76.1842752,"latitude_deg":10.2569216,"altitude":13,"angle":346,"satellites":47,"speed":42,"hex_longitude":"2d68cc40","hex_latitude":"061d1500","is_valid_coordinates":true} 
[2026-07-19 00:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806526720001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351709541815025664,"note":"Value kept but may cause issues"} 
[2026-07-19 00:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7554155082471837696,"note":"Value kept but may cause issues"} 
[2026-07-19 00:20:34] 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-07-19 00:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784400504000,"timestamp_ms":1784400504000,"timestamp_seconds":1784400504,"priority":1,"record_length":96,"hex_timestamp":"0000019f768ee4c0"} 
[2026-07-19 00:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 00:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 00:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":136044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":136044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":136044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806526720001,"66":27245,"86":206,"79":20992,"24":42,"16":351709541815025664,"45":7554155082471837696},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-19 00:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806526720001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:20:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-19 00:20:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351709541815025664,"km_value":351709541815025.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7554155082471837696,"description":"Unknown IO ID 45"} 
[2026-07-19 00:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806526720001,"power":27245,"unknown_86":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":7554155082471837696}} 
[2026-07-19 00:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":136044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:20:34] local.INFO: GPS data processed {"connection_id":136044,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:20:34] local.INFO: Acknowledgment sent {"connection_id":136044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:20:36] local.INFO: TCP Data received {"connection_id":137105,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:20:36] local.INFO: Processing buffer {"connection_id":137105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:20:36] local.INFO: IMEI packet received {"connection_id":137105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 00:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":137105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:21:01] local.INFO: TCP Data received {"connection_id":138504,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:21:01] local.INFO: Processing buffer {"connection_id":138504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:21:01] local.INFO: IMEI packet received {"connection_id":138504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":138504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:21:05] local.INFO: TCP Data received {"connection_id":138504,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:21:05] local.INFO: Processing buffer {"connection_id":138504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:21:05] local.INFO: IMEI packet received {"connection_id":138504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":138504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:21:07] local.INFO: TCP Data received {"connection_id":138504,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f768f07e8012d68c300061d38e8000d01592f..."} 
[2026-07-19 00:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f768f07e8012d68c300061d38e8000d01592f..."} 
[2026-07-19 00:21:07] local.INFO: Processing buffer {"connection_id":138504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f768f07e8012d68c300061d38e8000d01592f..."} 
[2026-07-19 00:21:07] local.INFO: Packet analysis {"connection_id":138504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f768f"} 
[2026-07-19 00:21:07] local.INFO: Extracted packet for processing {"connection_id":138504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f768f"} 
[2026-07-19 00:21:07] local.INFO: GPS Element Parsed {"raw_longitude":761840384,"raw_latitude":102578408,"longitude_deg":76.1840384,"latitude_deg":10.2578408,"altitude":13,"angle":345,"satellites":47,"speed":41,"hex_longitude":"2d68c300","hex_latitude":"061d38e8","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806529024001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351710001376526336,"note":"Value kept but may cause issues"} 
[2026-07-19 00:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7551481070195376128,"note":"Value kept but may cause issues"} 
[2026-07-19 00:21:07] 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-07-19 00:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784400513000,"timestamp_ms":1784400513000,"timestamp_seconds":1784400513,"priority":1,"record_length":96,"hex_timestamp":"0000019f768f07e8"} 
[2026-07-19 00:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:21: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-07-19 00: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 00:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00: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-07-19 00:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":138504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":138504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":138504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806529024001,"66":27180,"86":206,"79":20992,"24":41,"16":351710001376526336,"45":7551481070195376128},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-19 00:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806529024001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:21:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-19 00:21:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351710001376526336,"km_value":351710001376526.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7551481070195376128,"description":"Unknown IO ID 45"} 
[2026-07-19 00:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806529024001,"power":27180,"unknown_86":206,"unknown_79":20992,"ignition":41,"odometer":null,"unknown_45":7551481070195376128}} 
[2026-07-19 00:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":138504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:21:07] local.INFO: GPS data processed {"connection_id":138504,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:21:07] local.INFO: Acknowledgment sent {"connection_id":138504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:21:09] local.INFO: TCP Data received {"connection_id":138504,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f768f2b10012d68b980061d5ce0000c01572f..."} 
[2026-07-19 00:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f768f2b10012d68b980061d5ce0000c01572f..."} 
[2026-07-19 00:21:09] local.INFO: Processing buffer {"connection_id":138504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f768f2b10012d68b980061d5ce0000c01572f..."} 
[2026-07-19 00:21:09] local.INFO: Packet analysis {"connection_id":138504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f768f"} 
[2026-07-19 00:21:09] local.INFO: Extracted packet for processing {"connection_id":138504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f768f"} 
[2026-07-19 00:21:09] local.INFO: GPS Element Parsed {"raw_longitude":761837952,"raw_latitude":102587616,"longitude_deg":76.1837952,"latitude_deg":10.2587616,"altitude":12,"angle":343,"satellites":47,"speed":43,"hex_longitude":"2d68b980","hex_latitude":"061d5ce0","is_valid_coordinates":true} 
[2026-07-19 00:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806531328001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351710465232994304,"note":"Value kept but may cause issues"} 
[2026-07-19 00:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7548877426663155712,"note":"Value kept but may cause issues"} 
[2026-07-19 00:21:09] 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-07-19 00:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784400522000,"timestamp_ms":1784400522000,"timestamp_seconds":1784400522,"priority":1,"record_length":96,"hex_timestamp":"0000019f768f2b10"} 
[2026-07-19 00:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-19 00:21:09] 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-07-19 00:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 00:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806531328001,"66":27343,"86":206,"79":20992,"24":43,"16":351710465232994304,"45":7548877426663155712},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-19 00:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806531328001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:21:09] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-19 00:21:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351710465232994304,"km_value":351710465232994.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7548877426663155712,"description":"Unknown IO ID 45"} 
[2026-07-19 00:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806531328001,"power":27343,"unknown_86":206,"unknown_79":20992,"ignition":43,"odometer":null,"unknown_45":7548877426663155712}} 
[2026-07-19 00:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":138504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:21:09] local.INFO: GPS data processed {"connection_id":138504,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:21:09] local.INFO: Acknowledgment sent {"connection_id":138504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:21:40] local.INFO: TCP Data received {"connection_id":138504,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76917118012d67afc0061f2e78000f01432b..."} 
[2026-07-19 00:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76917118012d67afc0061f2e78000f01432b..."} 
[2026-07-19 00:21:40] local.INFO: Processing buffer {"connection_id":138504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76917118012d67afc0061f2e78000f01432b..."} 
[2026-07-19 00:21:40] local.INFO: Packet analysis {"connection_id":138504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7691"} 
[2026-07-19 00:21:40] local.INFO: Extracted packet for processing {"connection_id":138504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7691"} 
[2026-07-19 00:21:40] local.INFO: GPS Element Parsed {"raw_longitude":761769920,"raw_latitude":102706808,"longitude_deg":76.176992,"latitude_deg":10.2706808,"altitude":15,"angle":323,"satellites":43,"speed":8,"hex_longitude":"2d67afc0","hex_latitude":"061f2e78","is_valid_coordinates":true} 
[2026-07-19 00:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806570496001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351714674300944384,"note":"Value kept but may cause issues"} 
[2026-07-19 00:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7472316233030336512,"note":"Value kept but may cause issues"} 
[2026-07-19 00:21:40] 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-07-19 00:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784400671000,"timestamp_ms":1784400671000,"timestamp_seconds":1784400671,"priority":1,"record_length":96,"hex_timestamp":"0000019f76917118"} 
[2026-07-19 00:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-19 00:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 00:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":138504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":138504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":138504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806570496001,"66":27376,"92":206,"79":20992,"24":8,"16":351714674300944384,"45":7472316233030336512},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-07-19 00:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806570496001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:21:40] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-19 00:21:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351714674300944384,"km_value":351714674300944.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7472316233030336512,"description":"Unknown IO ID 45"} 
[2026-07-19 00:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806570496001,"power":27376,"unknown_92":206,"unknown_79":20992,"ignition":8,"odometer":null,"unknown_45":7472316233030336512}} 
[2026-07-19 00:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":138504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:21:40] local.INFO: GPS data processed {"connection_id":138504,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:21:40] local.INFO: Acknowledgment sent {"connection_id":138504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:21:48] local.INFO: TCP Data received {"connection_id":137107,"ip":"162.216.150.6","data_length":1483,"data_hex":"16030105c6010005c20303d10c23e4d3b19ab9425641b6ac75ad95607afe5cbc..."} 
[2026-07-19 00:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137107,"packet_length":1483,"packet_hex":"16030105c6010005c20303d10c23e4d3b19ab9425641b6ac75ad95607afe5cbc..."} 
[2026-07-19 00:21:48] local.INFO: Processing buffer {"connection_id":137107,"buffer_length":1483,"buffer_hex":"16030105c6010005c20303d10c23e4d3b19ab9425641b6ac75ad95607afe5cbc..."} 
[2026-07-19 00:21:48] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":137107,"buffer_length":1483,"first_bytes_hex":"16030105c6010005c20303d10c23e4d3"} 
[2026-07-19 00:21:49] local.INFO: TCP Data received {"connection_id":136045,"ip":"162.216.150.6","data_length":207,"data_hex":"16030100ca010000c60303090e57f0a687a274beac69836e1e87984de5fcb612..."} 
[2026-07-19 00:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136045,"packet_length":207,"packet_hex":"16030100ca010000c60303090e57f0a687a274beac69836e1e87984de5fcb612..."} 
[2026-07-19 00:21:49] local.INFO: Processing buffer {"connection_id":136045,"buffer_length":207,"buffer_hex":"16030100ca010000c60303090e57f0a687a274beac69836e1e87984de5fcb612..."} 
[2026-07-19 00:21:49] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":136045,"buffer_length":207,"first_bytes_hex":"16030100ca010000c60303090e57f0a6"} 
[2026-07-19 00:21:49] local.INFO: TCP Data received {"connection_id":136045,"ip":"162.216.150.6","data_length":7,"data_hex":"1503010002020a..."} 
[2026-07-19 00:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136045,"packet_length":7,"packet_hex":"1503010002020a..."} 
[2026-07-19 00:21:49] local.INFO: Processing buffer {"connection_id":136045,"buffer_length":7,"buffer_hex":"1503010002020a..."} 
[2026-07-19 00:21:55] local.INFO: TCP Data received {"connection_id":138505,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:21:55] local.INFO: Processing buffer {"connection_id":138505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:21:55] local.INFO: IMEI packet received {"connection_id":138505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":138505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:22:00] local.INFO: TCP Data received {"connection_id":138505,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:22:00] local.INFO: Processing buffer {"connection_id":138505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:22:00] local.INFO: IMEI packet received {"connection_id":138505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":138505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:22:02] local.INFO: TCP Data received {"connection_id":138505,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7691a7c8012d67af00061f3058001101572d..."} 
[2026-07-19 00:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7691a7c8012d67af00061f3058001101572d..."} 
[2026-07-19 00:22:02] local.INFO: Processing buffer {"connection_id":138505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7691a7c8012d67af00061f3058001101572d..."} 
[2026-07-19 00:22:02] local.INFO: Packet analysis {"connection_id":138505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7691"} 
[2026-07-19 00:22:02] local.INFO: Extracted packet for processing {"connection_id":138505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7691"} 
[2026-07-19 00:22:02] local.INFO: GPS Element Parsed {"raw_longitude":761769728,"raw_latitude":102707288,"longitude_deg":76.1769728,"latitude_deg":10.2707288,"altitude":17,"angle":343,"satellites":45,"speed":3,"hex_longitude":"2d67af00","hex_latitude":"061f3058","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806571776001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351714700070748160,"note":"Value kept but may cause issues"} 
[2026-07-19 00:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7471401439356418048,"note":"Value kept but may cause issues"} 
[2026-07-19 00:22:02] 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-07-19 00:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784400685000,"timestamp_ms":1784400685000,"timestamp_seconds":1784400685,"priority":1,"record_length":96,"hex_timestamp":"0000019f7691a7c8"} 
[2026-07-19 00:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-19 00:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00: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-07-19 00:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":138505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":138505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":138505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806571776001,"66":27365,"92":206,"79":20992,"24":3,"16":351714700070748160,"45":7471401439356418048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-07-19 00:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806571776001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:22:02] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-19 00:22:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351714700070748160,"km_value":351714700070748.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7471401439356418048,"description":"Unknown IO ID 45"} 
[2026-07-19 00:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806571776001,"power":27365,"unknown_92":206,"unknown_79":20992,"ignition":3,"odometer":null,"unknown_45":7471401439356418048}} 
[2026-07-19 00:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":138505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:22:02] local.INFO: GPS data processed {"connection_id":138505,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:22:02] local.INFO: Acknowledgment sent {"connection_id":138505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:22:34] local.INFO: TCP Data received {"connection_id":138505,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7691bb50012d67ad80061f3458001101492d..."} 
[2026-07-19 00:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7691bb50012d67ad80061f3458001101492d..."} 
[2026-07-19 00:22:34] local.INFO: Processing buffer {"connection_id":138505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7691bb50012d67ad80061f3458001101492d..."} 
[2026-07-19 00:22:34] local.INFO: Packet analysis {"connection_id":138505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7691"} 
[2026-07-19 00:22:34] local.INFO: Extracted packet for processing {"connection_id":138505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7691"} 
[2026-07-19 00:22:34] local.INFO: GPS Element Parsed {"raw_longitude":761769344,"raw_latitude":102708312,"longitude_deg":76.1769344,"latitude_deg":10.2708312,"altitude":17,"angle":329,"satellites":45,"speed":12,"hex_longitude":"2d67ad80","hex_latitude":"061f3458","is_valid_coordinates":true} 
[2026-07-19 00:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806575360001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351714751610355712,"note":"Value kept but may cause issues"} 
[2026-07-19 00:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7471190333124007936,"note":"Value kept but may cause issues"} 
[2026-07-19 00:22:34] 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-07-19 00:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784400690000,"timestamp_ms":1784400690000,"timestamp_seconds":1784400690,"priority":1,"record_length":96,"hex_timestamp":"0000019f7691bb50"} 
[2026-07-19 00:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 00:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 00:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":138505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":138505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":138505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806575360001,"66":27343,"92":206,"79":20992,"24":12,"16":351714751610355712,"45":7471190333124007936},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-07-19 00:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806575360001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:22:34] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-19 00:22:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351714751610355712,"km_value":351714751610355.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7471190333124007936,"description":"Unknown IO ID 45"} 
[2026-07-19 00:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806575360001,"power":27343,"unknown_92":206,"unknown_79":20992,"ignition":12,"odometer":null,"unknown_45":7471190333124007936}} 
[2026-07-19 00:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":138505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:22:34] local.INFO: GPS data processed {"connection_id":138505,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:22:34] local.INFO: Acknowledgment sent {"connection_id":138505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:22:55] local.INFO: TCP Data received {"connection_id":136046,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:22:55] local.INFO: Processing buffer {"connection_id":136046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:22:55] local.INFO: IMEI packet received {"connection_id":136046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":136046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:23:00] local.INFO: TCP Data received {"connection_id":136046,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:23:00] local.INFO: Processing buffer {"connection_id":136046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:23:00] local.INFO: IMEI packet received {"connection_id":136046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":136046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:23:02] local.INFO: TCP Data received {"connection_id":136046,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7691e648012d67a0c0061f44980010013c2e..."} 
[2026-07-19 00:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7691e648012d67a0c0061f44980010013c2e..."} 
[2026-07-19 00:23:02] local.INFO: Processing buffer {"connection_id":136046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7691e648012d67a0c0061f44980010013c2e..."} 
[2026-07-19 00:23:02] local.INFO: Packet analysis {"connection_id":136046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7691"} 
[2026-07-19 00:23:02] local.INFO: Extracted packet for processing {"connection_id":136046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7691"} 
[2026-07-19 00:23:02] local.INFO: GPS Element Parsed {"raw_longitude":761766080,"raw_latitude":102712472,"longitude_deg":76.176608,"latitude_deg":10.2712472,"altitude":16,"angle":316,"satellites":46,"speed":24,"hex_longitude":"2d67a0c0","hex_latitude":"061f4498","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806576640001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351715009308393472,"note":"Value kept but may cause issues"} 
[2026-07-19 00:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7470768120659204096,"note":"Value kept but may cause issues"} 
[2026-07-19 00:23:02] 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-07-19 00:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784400701000,"timestamp_ms":1784400701000,"timestamp_seconds":1784400701,"priority":1,"record_length":96,"hex_timestamp":"0000019f7691e648"} 
[2026-07-19 00:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 00:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00: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-07-19 00:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806576640001,"66":27376,"92":206,"79":20992,"24":24,"16":351715009308393472,"45":7470768120659204096},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-07-19 00:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806576640001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:23:02] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-19 00:23:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351715009308393472,"km_value":351715009308393.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7470768120659204096,"description":"Unknown IO ID 45"} 
[2026-07-19 00:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806576640001,"power":27376,"unknown_92":206,"unknown_79":20992,"ignition":24,"odometer":null,"unknown_45":7470768120659204096}} 
[2026-07-19 00:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":136046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:23:02] local.INFO: GPS data processed {"connection_id":136046,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:23:02] local.INFO: Acknowledgment sent {"connection_id":136046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:23:34] local.INFO: TCP Data received {"connection_id":136046,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76933250012d66c0c0062029e00007014c2c..."} 
[2026-07-19 00:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76933250012d66c0c0062029e00007014c2c..."} 
[2026-07-19 00:23:34] local.INFO: Processing buffer {"connection_id":136046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76933250012d66c0c0062029e00007014c2c..."} 
[2026-07-19 00:23:34] local.INFO: Packet analysis {"connection_id":136046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7693"} 
[2026-07-19 00:23:34] local.INFO: Extracted packet for processing {"connection_id":136046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7693"} 
[2026-07-19 00:23:34] local.INFO: GPS Element Parsed {"raw_longitude":761708736,"raw_latitude":102771168,"longitude_deg":76.1708736,"latitude_deg":10.2771168,"altitude":7,"angle":332,"satellites":44,"speed":29,"hex_longitude":"2d66c0c0","hex_latitude":"062029e0","is_valid_coordinates":true} 
[2026-07-19 00:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806600960001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351719119592095744,"note":"Value kept but may cause issues"} 
[2026-07-19 00:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7404551132403965952,"note":"Value kept but may cause issues"} 
[2026-07-19 00:23: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-07-19 00:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784400786000,"timestamp_ms":1784400786000,"timestamp_seconds":1784400786,"priority":1,"record_length":96,"hex_timestamp":"0000019f76933250"} 
[2026-07-19 00:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-07-19 00:23:34] 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-07-19 00:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 00:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":136046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":136046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":136046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806600960001,"66":27180,"91":206,"79":20992,"24":29,"16":351719119592095744,"45":7404551132403965952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-07-19 00:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806600960001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:23:34] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-19 00:23:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351719119592095744,"km_value":351719119592095.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7404551132403965952,"description":"Unknown IO ID 45"} 
[2026-07-19 00:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806600960001,"power":27180,"unknown_91":206,"unknown_79":20992,"ignition":29,"odometer":null,"unknown_45":7404551132403965952}} 
[2026-07-19 00:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":136046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:23:34] local.INFO: GPS data processed {"connection_id":136046,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:23:34] local.INFO: Acknowledgment sent {"connection_id":136046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:23:55] local.INFO: TCP Data received {"connection_id":137109,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:23:55] local.INFO: Processing buffer {"connection_id":137109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:23:55] local.INFO: IMEI packet received {"connection_id":137109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":137109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:23:58] local.INFO: TCP Data received {"connection_id":137109,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:23:58] local.INFO: Processing buffer {"connection_id":137109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:23:58] local.INFO: IMEI packet received {"connection_id":137109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":137109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:24:00] local.INFO: TCP Data received {"connection_id":137109,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:24:00] local.INFO: Processing buffer {"connection_id":137109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:24:00] local.INFO: IMEI packet received {"connection_id":137109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":137109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:24:02] local.INFO: TCP Data received {"connection_id":137109,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76933638012d66c00006202c90000701592d..."} 
[2026-07-19 00:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76933638012d66c00006202c90000701592d..."} 
[2026-07-19 00:24:02] local.INFO: Processing buffer {"connection_id":137109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76933638012d66c00006202c90000701592d..."} 
[2026-07-19 00:24:02] local.INFO: Packet analysis {"connection_id":137109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7693"} 
[2026-07-19 00:24:02] local.INFO: Extracted packet for processing {"connection_id":137109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7693"} 
[2026-07-19 00:24:02] local.INFO: GPS Element Parsed {"raw_longitude":761708544,"raw_latitude":102771856,"longitude_deg":76.1708544,"latitude_deg":10.2771856,"altitude":7,"angle":345,"satellites":45,"speed":29,"hex_longitude":"2d66c000","hex_latitude":"06202c90","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806601216001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351719158246801408,"note":"Value kept but may cause issues"} 
[2026-07-19 00:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7404128919939047424,"note":"Value kept but may cause issues"} 
[2026-07-19 00:24:02] 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-07-19 00:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784400787000,"timestamp_ms":1784400787000,"timestamp_seconds":1784400787,"priority":1,"record_length":96,"hex_timestamp":"0000019f76933638"} 
[2026-07-19 00:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-19 00:24: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-07-19 00: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-07-19 00:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":137109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":137109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":137109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806601216001,"66":27180,"91":206,"79":20992,"24":29,"16":351719158246801408,"45":7404128919939047424},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-07-19 00:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806601216001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:24:02] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-19 00:24:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351719158246801408,"km_value":351719158246801.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7404128919939047424,"description":"Unknown IO ID 45"} 
[2026-07-19 00:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806601216001,"power":27180,"unknown_91":206,"unknown_79":20992,"ignition":29,"odometer":null,"unknown_45":7404128919939047424}} 
[2026-07-19 00:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":137109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:24:02] local.INFO: GPS data processed {"connection_id":137109,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:24:02] local.INFO: Acknowledgment sent {"connection_id":137109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:24:34] local.INFO: TCP Data received {"connection_id":137109,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76936130012d66b8c0062051180006015b2c..."} 
[2026-07-19 00:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76936130012d66b8c0062051180006015b2c..."} 
[2026-07-19 00:24:34] local.INFO: Processing buffer {"connection_id":137109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76936130012d66b8c0062051180006015b2c..."} 
[2026-07-19 00:24:34] local.INFO: Packet analysis {"connection_id":137109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7693"} 
[2026-07-19 00:24:34] local.INFO: Extracted packet for processing {"connection_id":137109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7693"} 
[2026-07-19 00:24:34] local.INFO: GPS Element Parsed {"raw_longitude":761706688,"raw_latitude":102781208,"longitude_deg":76.1706688,"latitude_deg":10.2781208,"altitude":6,"angle":347,"satellites":44,"speed":36,"hex_longitude":"2d66b8c0","hex_latitude":"06205118","is_valid_coordinates":true} 
[2026-07-19 00:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806601472001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351719617808302080,"note":"Value kept but may cause issues"} 
[2026-07-19 00:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7403917813706690560,"note":"Value kept but may cause issues"} 
[2026-07-19 00:24: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-07-19 00:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784400798000,"timestamp_ms":1784400798000,"timestamp_seconds":1784400798,"priority":1,"record_length":96,"hex_timestamp":"0000019f76936130"} 
[2026-07-19 00:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-19 00:24: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-07-19 00:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 00:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":137109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":137109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":137109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806601472001,"66":27332,"91":206,"79":20992,"24":36,"16":351719617808302080,"45":7403917813706690560},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-07-19 00:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806601472001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:24:34] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-19 00:24:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351719617808302080,"km_value":351719617808302.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7403917813706690560,"description":"Unknown IO ID 45"} 
[2026-07-19 00:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806601472001,"power":27332,"unknown_91":206,"unknown_79":20992,"ignition":36,"odometer":null,"unknown_45":7403917813706690560}} 
[2026-07-19 00:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":137109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:24:34] local.INFO: GPS data processed {"connection_id":137109,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:24:34] local.INFO: Acknowledgment sent {"connection_id":137109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:24:59] local.INFO: TCP Data received {"connection_id":136048,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:24:59] local.INFO: Processing buffer {"connection_id":136048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:24:59] local.INFO: IMEI packet received {"connection_id":136048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":136048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:25:10] local.INFO: TCP Data received {"connection_id":136048,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:25:10] local.INFO: Processing buffer {"connection_id":136048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:25:10] local.INFO: IMEI packet received {"connection_id":136048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":136048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:25:11] local.INFO: TCP Data received {"connection_id":136048,"ip":"42.106.6.44","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 00:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136048,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 00:25:11] local.INFO: Processing buffer {"connection_id":136048,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 00:25:11] local.INFO: IMEI packet received {"connection_id":136048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":136048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:26:08] local.INFO: TCP Data received {"connection_id":136049,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136049,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:26:08] local.INFO: Processing buffer {"connection_id":136049,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:26:08] local.INFO: IMEI packet received {"connection_id":136049,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 00:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":136049,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:26:28] local.INFO: TCP Data received {"connection_id":138507,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138507,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:26:28] local.INFO: Processing buffer {"connection_id":138507,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:26:28] local.INFO: IMEI packet received {"connection_id":138507,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 00:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":138507,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:30:15] local.INFO: TCP Data received {"connection_id":136181,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:30:15] local.INFO: Processing buffer {"connection_id":136181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:30:15] local.INFO: IMEI packet received {"connection_id":136181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":136181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:30:17] local.INFO: TCP Data received {"connection_id":136181,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76982fa8012d64144006235bb00005014d2f..."} 
[2026-07-19 00:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76982fa8012d64144006235bb00005014d2f..."} 
[2026-07-19 00:30:17] local.INFO: Processing buffer {"connection_id":136181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76982fa8012d64144006235bb00005014d2f..."} 
[2026-07-19 00:30:17] local.INFO: Packet analysis {"connection_id":136181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7698"} 
[2026-07-19 00:30:17] local.INFO: Extracted packet for processing {"connection_id":136181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7698"} 
[2026-07-19 00:30:17] local.INFO: GPS Element Parsed {"raw_longitude":761533504,"raw_latitude":102980528,"longitude_deg":76.1533504,"latitude_deg":10.2980528,"altitude":5,"angle":333,"satellites":47,"speed":27,"hex_longitude":"2d641440","hex_latitude":"06235bb0","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806680320001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351734809107628032,"note":"Value kept but may cause issues"} 
[2026-07-19 00:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7215751791826896896,"note":"Value kept but may cause issues"} 
[2026-07-19 00:30:17] 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-07-19 00:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784401113000,"timestamp_ms":1784401113000,"timestamp_seconds":1784401113,"priority":1,"record_length":96,"hex_timestamp":"0000019f76982fa8"} 
[2026-07-19 00:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-19 00:30:17] 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-07-19 00: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-07-19 00:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":136181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":136181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":136181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806680320001,"66":27321,"252":206,"79":20992,"24":27,"16":351734809107628032,"45":7215751791826896896},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,79,24,16,45]} 
[2026-07-19 00:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806680320001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:30:17] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-07-19 00:30:17] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351734809107628032,"km_value":351734809107628.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":7215751791826896896,"description":"Unknown IO ID 45"} 
[2026-07-19 00:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806680320001,"power":27321,"unknown_252":206,"unknown_79":20992,"ignition":27,"odometer":null,"unknown_45":7215751791826896896}} 
[2026-07-19 00:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":136181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:30:17] local.INFO: GPS data processed {"connection_id":136181,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:30:17] local.INFO: Acknowledgment sent {"connection_id":136181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:30:55] local.INFO: TCP Data received {"connection_id":137110,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:30:55] local.INFO: Processing buffer {"connection_id":137110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:30:55] local.INFO: IMEI packet received {"connection_id":137110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":137110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:31:00] local.INFO: TCP Data received {"connection_id":137110,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:31:00] local.INFO: Processing buffer {"connection_id":137110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:31:00] local.INFO: IMEI packet received {"connection_id":137110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":137110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:31:01] local.INFO: TCP Data received {"connection_id":137110,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76986270012d640a4006237068000801412e..."} 
[2026-07-19 00:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76986270012d640a4006237068000801412e..."} 
[2026-07-19 00:31:01] local.INFO: Processing buffer {"connection_id":137110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76986270012d640a4006237068000801412e..."} 
[2026-07-19 00:31:01] local.INFO: Packet analysis {"connection_id":137110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7698"} 
[2026-07-19 00:31:01] local.INFO: Extracted packet for processing {"connection_id":137110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7698"} 
[2026-07-19 00:31:01] local.INFO: GPS Element Parsed {"raw_longitude":761530944,"raw_latitude":102985832,"longitude_deg":76.1530944,"latitude_deg":10.2985832,"altitude":8,"angle":321,"satellites":46,"speed":6,"hex_longitude":"2d640a40","hex_latitude":"06237068","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806684928001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351735096870436864,"note":"Value kept but may cause issues"} 
[2026-07-19 00:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7211459298434199552,"note":"Value kept but may cause issues"} 
[2026-07-19 00:31:01] 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-07-19 00:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784401126000,"timestamp_ms":1784401126000,"timestamp_seconds":1784401126,"priority":1,"record_length":96,"hex_timestamp":"0000019f76986270"} 
[2026-07-19 00:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:31: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-07-19 00:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 00:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00: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-07-19 00:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806684928001,"66":27321,"252":206,"79":20992,"24":6,"16":351735096870436864,"45":7211459298434199552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,79,24,16,45]} 
[2026-07-19 00:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806684928001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:31:01] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-07-19 00:31:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351735096870436864,"km_value":351735096870436.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7211459298434199552,"description":"Unknown IO ID 45"} 
[2026-07-19 00:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806684928001,"power":27321,"unknown_252":206,"unknown_79":20992,"ignition":6,"odometer":null,"unknown_45":7211459298434199552}} 
[2026-07-19 00:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":137110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:31:01] local.INFO: GPS data processed {"connection_id":137110,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:31:01] local.INFO: Acknowledgment sent {"connection_id":137110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:31:33] local.INFO: TCP Data received {"connection_id":137110,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76986a40012d640980062371c00009014d2d..."} 
[2026-07-19 00:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76986a40012d640980062371c00009014d2d..."} 
[2026-07-19 00:31:33] local.INFO: Processing buffer {"connection_id":137110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76986a40012d640980062371c00009014d2d..."} 
[2026-07-19 00:31:33] local.INFO: Packet analysis {"connection_id":137110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7698"} 
[2026-07-19 00:31:33] local.INFO: Extracted packet for processing {"connection_id":137110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7698"} 
[2026-07-19 00:31:33] local.INFO: GPS Element Parsed {"raw_longitude":761530752,"raw_latitude":102986176,"longitude_deg":76.1530752,"latitude_deg":10.2986176,"altitude":9,"angle":333,"satellites":45,"speed":9,"hex_longitude":"2d640980","hex_latitude":"062371c0","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806688256001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351735114050306048,"note":"Value kept but may cause issues"} 
[2026-07-19 00:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7208644548668450816,"note":"Value kept but may cause issues"} 
[2026-07-19 00:31:33] 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-07-19 00:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784401128000,"timestamp_ms":1784401128000,"timestamp_seconds":1784401128,"priority":1,"record_length":96,"hex_timestamp":"0000019f76986a40"} 
[2026-07-19 00:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 00:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00: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-07-19 00:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":137110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":137110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":137110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806688256001,"66":27321,"252":206,"79":20992,"24":9,"16":351735114050306048,"45":7208644548668450816},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,79,24,16,45]} 
[2026-07-19 00:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806688256001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:31:33] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-07-19 00:31:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351735114050306048,"km_value":351735114050306.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7208644548668450816,"description":"Unknown IO ID 45"} 
[2026-07-19 00:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806688256001,"power":27321,"unknown_252":206,"unknown_79":20992,"ignition":9,"odometer":null,"unknown_45":7208644548668450816}} 
[2026-07-19 00:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":137110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:31:33] local.INFO: GPS data processed {"connection_id":137110,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:31:33] local.INFO: Acknowledgment sent {"connection_id":137110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:31:47] local.INFO: TCP Data received {"connection_id":136054,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:31:47] local.INFO: Processing buffer {"connection_id":136054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:31:47] local.INFO: IMEI packet received {"connection_id":136054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 00:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":136054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:31:55] local.INFO: TCP Data received {"connection_id":137111,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:31:55] local.INFO: Processing buffer {"connection_id":137111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:31:55] local.INFO: IMEI packet received {"connection_id":137111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":137111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:32:00] local.INFO: TCP Data received {"connection_id":137111,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:32:00] local.INFO: Processing buffer {"connection_id":137111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:32:00] local.INFO: IMEI packet received {"connection_id":137111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":137111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:32:01] local.INFO: TCP Data received {"connection_id":137111,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f769a46d0012d63bcc00624c5380006015a2c..."} 
[2026-07-19 00:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f769a46d0012d63bcc00624c5380006015a2c..."} 
[2026-07-19 00:32:01] local.INFO: Processing buffer {"connection_id":137111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f769a46d0012d63bcc00624c5380006015a2c..."} 
[2026-07-19 00:32:01] local.INFO: Packet analysis {"connection_id":137111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f769a"} 
[2026-07-19 00:32:01] local.INFO: Extracted packet for processing {"connection_id":137111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f769a"} 
[2026-07-19 00:32:01] local.INFO: GPS Element Parsed {"raw_longitude":761511104,"raw_latitude":103073080,"longitude_deg":76.1511104,"latitude_deg":10.307308,"altitude":6,"angle":346,"satellites":44,"speed":29,"hex_longitude":"2d63bcc0","hex_latitude":"0624c538","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806718208001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351739451967275008,"note":"Value kept but may cause issues"} 
[2026-07-19 00:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7187533925436203008,"note":"Value kept but may cause issues"} 
[2026-07-19 00:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 00:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784401250000,"timestamp_ms":1784401250000,"timestamp_seconds":1784401250,"priority":1,"record_length":96,"hex_timestamp":"0000019f769a46d0"} 
[2026-07-19 00:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 00:32: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-07-19 00: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-07-19 00:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806718208001,"66":27332,"51":206,"79":20992,"24":29,"16":351739451967275008,"45":7187533925436203008},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,79,24,16,45]} 
[2026-07-19 00:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806718208001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:32:01] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-19 00:32:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351739451967275008,"km_value":351739451967275.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7187533925436203008,"description":"Unknown IO ID 45"} 
[2026-07-19 00:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806718208001,"power":27332,"unknown_51":206,"unknown_79":20992,"ignition":29,"odometer":null,"unknown_45":7187533925436203008}} 
[2026-07-19 00:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":137111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:32:01] local.INFO: GPS data processed {"connection_id":137111,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:32:01] local.INFO: Acknowledgment sent {"connection_id":137111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:32:28] local.INFO: TCP Data received {"connection_id":138511,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:32:28] local.INFO: Processing buffer {"connection_id":138511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:32:28] local.INFO: IMEI packet received {"connection_id":138511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 00:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":138511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:32:32] local.INFO: TCP Data received {"connection_id":137111,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f769a75b0012d63b0c00624e6e8000801532c..."} 
[2026-07-19 00:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f769a75b0012d63b0c00624e6e8000801532c..."} 
[2026-07-19 00:32:32] local.INFO: Processing buffer {"connection_id":137111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f769a75b0012d63b0c00624e6e8000801532c..."} 
[2026-07-19 00:32:32] local.INFO: Packet analysis {"connection_id":137111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f769a"} 
[2026-07-19 00:32:32] local.INFO: Extracted packet for processing {"connection_id":137111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f769a"} 
[2026-07-19 00:32:32] local.INFO: GPS Element Parsed {"raw_longitude":761508032,"raw_latitude":103081704,"longitude_deg":76.1508032,"latitude_deg":10.3081704,"altitude":8,"angle":339,"satellites":44,"speed":31,"hex_longitude":"2d63b0c0","hex_latitude":"0624e6e8","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806720000001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351739894348906496,"note":"Value kept but may cause issues"} 
[2026-07-19 00:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7186830237995710464,"note":"Value kept but may cause issues"} 
[2026-07-19 00:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 00:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784401262000,"timestamp_ms":1784401262000,"timestamp_seconds":1784401262,"priority":1,"record_length":96,"hex_timestamp":"0000019f769a75b0"} 
[2026-07-19 00:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:32: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-07-19 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-19 00:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00: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-07-19 00:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":137111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":137111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":137111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806720000001,"66":27343,"51":206,"79":20992,"24":31,"16":351739894348906496,"45":7186830237995710464},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,79,24,16,45]} 
[2026-07-19 00:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806720000001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:32:32] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-19 00:32:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351739894348906496,"km_value":351739894348906.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7186830237995710464,"description":"Unknown IO ID 45"} 
[2026-07-19 00:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806720000001,"power":27343,"unknown_51":206,"unknown_79":20992,"ignition":31,"odometer":null,"unknown_45":7186830237995710464}} 
[2026-07-19 00:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":137111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:32:32] local.INFO: GPS data processed {"connection_id":137111,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:32:32] local.INFO: Acknowledgment sent {"connection_id":137111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:32:33] local.INFO: TCP Data received {"connection_id":138511,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:32:33] local.INFO: Processing buffer {"connection_id":138511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:32:33] local.INFO: IMEI packet received {"connection_id":138511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-19 00:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":138511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:32:38] local.INFO: TCP Data received {"connection_id":138511,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:32:38] local.INFO: Processing buffer {"connection_id":138511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:32:38] local.INFO: IMEI packet received {"connection_id":138511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-19 00:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":138511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:32:57] local.INFO: TCP Data received {"connection_id":136182,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:32:57] local.INFO: Processing buffer {"connection_id":136182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:32:57] local.INFO: IMEI packet received {"connection_id":136182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":136182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:33:00] local.INFO: TCP Data received {"connection_id":136182,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:33:00] local.INFO: Processing buffer {"connection_id":136182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:33:00] local.INFO: IMEI packet received {"connection_id":136182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":136182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:33:04] local.INFO: TCP Data received {"connection_id":136182,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:33:04] local.INFO: Processing buffer {"connection_id":136182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:33:04] local.INFO: IMEI packet received {"connection_id":136182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":136182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:33:06] local.INFO: TCP Data received {"connection_id":136182,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f769aa878012d63a38006250940000701522d..."} 
[2026-07-19 00:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f769aa878012d63a38006250940000701522d..."} 
[2026-07-19 00:33:06] local.INFO: Processing buffer {"connection_id":136182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f769aa878012d63a38006250940000701522d..."} 
[2026-07-19 00:33:06] local.INFO: Packet analysis {"connection_id":136182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f769a"} 
[2026-07-19 00:33:06] local.INFO: Extracted packet for processing {"connection_id":136182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f769a"} 
[2026-07-19 00:33:06] local.INFO: GPS Element Parsed {"raw_longitude":761504640,"raw_latitude":103090496,"longitude_deg":76.150464,"latitude_deg":10.3090496,"altitude":7,"angle":338,"satellites":45,"speed":29,"hex_longitude":"2d63a380","hex_latitude":"06250940","is_valid_coordinates":true} 
[2026-07-19 00:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806723072001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351740349615439872,"note":"Value kept but may cause issues"} 
[2026-07-19 00:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7183452538277390336,"note":"Value kept but may cause issues"} 
[2026-07-19 00:33:06] 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-07-19 00:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784401275000,"timestamp_ms":1784401275000,"timestamp_seconds":1784401275,"priority":1,"record_length":96,"hex_timestamp":"0000019f769aa878"} 
[2026-07-19 00:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 00:33: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-07-19 00:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 00:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806723072001,"66":27365,"76":206,"79":20992,"24":29,"16":351740349615439872,"45":7183452538277390336},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,79,24,16,45]} 
[2026-07-19 00:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806723072001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:33:06] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-19 00:33:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351740349615439872,"km_value":351740349615439.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7183452538277390336,"description":"Unknown IO ID 45"} 
[2026-07-19 00:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806723072001,"power":27365,"unknown_76":206,"unknown_79":20992,"ignition":29,"odometer":null,"unknown_45":7183452538277390336}} 
[2026-07-19 00:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":136182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:33:06] local.INFO: GPS data processed {"connection_id":136182,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:33:06] local.INFO: Acknowledgment sent {"connection_id":136182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:33:08] local.INFO: TCP Data received {"connection_id":136182,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f769acf88012d63984006252a90000701552c..."} 
[2026-07-19 00:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f769acf88012d63984006252a90000701552c..."} 
[2026-07-19 00:33:08] local.INFO: Processing buffer {"connection_id":136182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f769acf88012d63984006252a90000701552c..."} 
[2026-07-19 00:33:08] local.INFO: Packet analysis {"connection_id":136182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f769a"} 
[2026-07-19 00:33:08] local.INFO: Extracted packet for processing {"connection_id":136182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f769a"} 
[2026-07-19 00:33:08] local.INFO: GPS Element Parsed {"raw_longitude":761501760,"raw_latitude":103099024,"longitude_deg":76.150176,"latitude_deg":10.3099024,"altitude":7,"angle":341,"satellites":44,"speed":40,"hex_longitude":"2d639840","hex_latitude":"06252a90","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806726400001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351740783407136768,"note":"Value kept but may cause issues"} 
[2026-07-19 00:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7179722994838224896,"note":"Value kept but may cause issues"} 
[2026-07-19 00:33:08] 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-07-19 00:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784401285000,"timestamp_ms":1784401285000,"timestamp_seconds":1784401285,"priority":1,"record_length":96,"hex_timestamp":"0000019f769acf88"} 
[2026-07-19 00:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 00:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00: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-07-19 00:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806726400001,"66":27376,"76":206,"79":20992,"24":40,"16":351740783407136768,"45":7179722994838224896},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,79,24,16,45]} 
[2026-07-19 00:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806726400001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:33:08] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-19 00:33:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351740783407136768,"km_value":351740783407136.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7179722994838224896,"description":"Unknown IO ID 45"} 
[2026-07-19 00:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806726400001,"power":27376,"unknown_76":206,"unknown_79":20992,"ignition":40,"odometer":null,"unknown_45":7179722994838224896}} 
[2026-07-19 00:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":136182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:33:08] local.INFO: GPS data processed {"connection_id":136182,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:33:08] local.INFO: Acknowledgment sent {"connection_id":136182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:33:40] local.INFO: TCP Data received {"connection_id":136182,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f769af2b0012d638c4006254dd8000801542c..."} 
[2026-07-19 00:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f769af2b0012d638c4006254dd8000801542c..."} 
[2026-07-19 00:33:40] local.INFO: Processing buffer {"connection_id":136182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f769af2b0012d638c4006254dd8000801542c..."} 
[2026-07-19 00:33:40] local.INFO: Packet analysis {"connection_id":136182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f769a"} 
[2026-07-19 00:33:40] local.INFO: Extracted packet for processing {"connection_id":136182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f769a"} 
[2026-07-19 00:33:40] local.INFO: GPS Element Parsed {"raw_longitude":761498688,"raw_latitude":103108056,"longitude_deg":76.1498688,"latitude_deg":10.3108056,"altitude":8,"angle":340,"satellites":44,"speed":44,"hex_longitude":"2d638c40","hex_latitude":"06254dd8","is_valid_coordinates":true} 
[2026-07-19 00:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806728960001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351741247263604736,"note":"Value kept but may cause issues"} 
[2026-07-19 00:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7176556401352413184,"note":"Value kept but may cause issues"} 
[2026-07-19 00:33:40] 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-07-19 00:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784401294000,"timestamp_ms":1784401294000,"timestamp_seconds":1784401294,"priority":1,"record_length":96,"hex_timestamp":"0000019f769af2b0"} 
[2026-07-19 00:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-19 00:33:40] 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-07-19 00:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 00:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":136182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":136182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":136182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806728960001,"66":27343,"76":206,"79":20992,"24":44,"16":351741247263604736,"45":7176556401352413184},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,79,24,16,45]} 
[2026-07-19 00:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806728960001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:33:40] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-19 00:33:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351741247263604736,"km_value":351741247263604.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7176556401352413184,"description":"Unknown IO ID 45"} 
[2026-07-19 00:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806728960001,"power":27343,"unknown_76":206,"unknown_79":20992,"ignition":44,"odometer":null,"unknown_45":7176556401352413184}} 
[2026-07-19 00:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":136182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:33:40] local.INFO: GPS data processed {"connection_id":136182,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:33:40] local.INFO: Acknowledgment sent {"connection_id":136182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:33:55] local.INFO: TCP Data received {"connection_id":138512,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:33:55] local.INFO: Processing buffer {"connection_id":138512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:33:55] local.INFO: IMEI packet received {"connection_id":138512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":138512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:34:00] local.INFO: TCP Data received {"connection_id":138512,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:34:00] local.INFO: Processing buffer {"connection_id":138512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:34:00] local.INFO: IMEI packet received {"connection_id":138512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":138512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:34:12] local.INFO: TCP Data received {"connection_id":138512,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f769c2f18012d62f74006267640000801502a..."} 
[2026-07-19 00:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f769c2f18012d62f74006267640000801502a..."} 
[2026-07-19 00:34:12] local.INFO: Processing buffer {"connection_id":138512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f769c2f18012d62f74006267640000801502a..."} 
[2026-07-19 00:34:12] local.INFO: Packet analysis {"connection_id":138512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f769c"} 
[2026-07-19 00:34:12] local.INFO: Extracted packet for processing {"connection_id":138512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f769c"} 
[2026-07-19 00:34:12] local.INFO: GPS Element Parsed {"raw_longitude":761460544,"raw_latitude":103183936,"longitude_deg":76.1460544,"latitude_deg":10.3183936,"altitude":8,"angle":336,"satellites":42,"speed":41,"hex_longitude":"2d62f740","hex_latitude":"06267640","is_valid_coordinates":true} 
[2026-07-19 00:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806749440001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351745417676849152,"note":"Value kept but may cause issues"} 
[2026-07-19 00:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7135390686027995136,"note":"Value kept but may cause issues"} 
[2026-07-19 00:34: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-07-19 00:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784401375000,"timestamp_ms":1784401375000,"timestamp_seconds":1784401375,"priority":1,"record_length":96,"hex_timestamp":"0000019f769c2f18"} 
[2026-07-19 00:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:34: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-07-19 00:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-19 00:34:12] 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-07-19 00:34: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-07-19 00:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":138512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":138512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":138512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806749440001,"66":27365,"89":206,"79":20992,"24":41,"16":351745417676849152,"45":7135390686027995136},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-19 00:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806749440001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:34:12] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-19 00:34:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351745417676849152,"km_value":351745417676849.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7135390686027995136,"description":"Unknown IO ID 45"} 
[2026-07-19 00:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806749440001,"power":27365,"unknown_89":206,"unknown_79":20992,"ignition":41,"odometer":null,"unknown_45":7135390686027995136}} 
[2026-07-19 00:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":138512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:34:12] local.INFO: GPS data processed {"connection_id":138512,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:34:12] local.INFO: Acknowledgment sent {"connection_id":138512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:34:13] local.INFO: TCP Data received {"connection_id":138512,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f769c5240012d62e88006269a48000a01542c..."} 
[2026-07-19 00:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f769c5240012d62e88006269a48000a01542c..."} 
[2026-07-19 00:34:13] local.INFO: Processing buffer {"connection_id":138512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f769c5240012d62e88006269a48000a01542c..."} 
[2026-07-19 00:34:13] local.INFO: Packet analysis {"connection_id":138512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f769c"} 
[2026-07-19 00:34:13] local.INFO: Extracted packet for processing {"connection_id":138512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f769c"} 
[2026-07-19 00:34:13] local.INFO: GPS Element Parsed {"raw_longitude":761456768,"raw_latitude":103193160,"longitude_deg":76.1456768,"latitude_deg":10.319316,"altitude":10,"angle":340,"satellites":44,"speed":44,"hex_longitude":"2d62e880","hex_latitude":"06269a48","is_valid_coordinates":true} 
[2026-07-19 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-07-19 00:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806752000001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351745903008153600,"note":"Value kept but may cause issues"} 
[2026-07-19 00:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7131238930123735040,"note":"Value kept but may cause issues"} 
[2026-07-19 00:34:13] 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-07-19 00:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784401384000,"timestamp_ms":1784401384000,"timestamp_seconds":1784401384,"priority":1,"record_length":96,"hex_timestamp":"0000019f769c5240"} 
[2026-07-19 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-07-19 00:34: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-07-19 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 00:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 00:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":138512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":138512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":138512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806752000001,"66":27343,"89":206,"79":20992,"24":44,"16":351745903008153600,"45":7131238930123735040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-19 00:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806752000001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:34:13] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-19 00:34:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351745903008153600,"km_value":351745903008153.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":7131238930123735040,"description":"Unknown IO ID 45"} 
[2026-07-19 00:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806752000001,"power":27343,"unknown_89":206,"unknown_79":20992,"ignition":44,"odometer":null,"unknown_45":7131238930123735040}} 
[2026-07-19 00:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":138512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:34:13] local.INFO: GPS data processed {"connection_id":138512,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:34:13] local.INFO: Acknowledgment sent {"connection_id":138512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:34:55] local.INFO: TCP Data received {"connection_id":137112,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:34:55] local.INFO: Processing buffer {"connection_id":137112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:34:55] local.INFO: IMEI packet received {"connection_id":137112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":137112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:34:56] local.INFO: TCP Data received {"connection_id":137112,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:34:56] local.INFO: Processing buffer {"connection_id":137112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:34:56] local.INFO: IMEI packet received {"connection_id":137112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":137112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:34:57] local.INFO: TCP Data received {"connection_id":137112,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:34:57] local.INFO: Processing buffer {"connection_id":137112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:34:57] local.INFO: IMEI packet received {"connection_id":137112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":137112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:34:58] local.INFO: TCP Data received {"connection_id":137112,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f769c7180012d62dd400626bcb0000d01582c..."} 
[2026-07-19 00:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f769c7180012d62dd400626bcb0000d01582c..."} 
[2026-07-19 00:34:58] local.INFO: Processing buffer {"connection_id":137112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f769c7180012d62dd400626bcb0000d01582c..."} 
[2026-07-19 00:34:58] local.INFO: Packet analysis {"connection_id":137112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f769c"} 
[2026-07-19 00:34:58] local.INFO: Extracted packet for processing {"connection_id":137112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f769c"} 
[2026-07-19 00:34:58] local.INFO: GPS Element Parsed {"raw_longitude":761453888,"raw_latitude":103201968,"longitude_deg":76.1453888,"latitude_deg":10.3201968,"altitude":13,"angle":344,"satellites":44,"speed":45,"hex_longitude":"2d62dd40","hex_latitude":"0626bcb0","is_valid_coordinates":true} 
[2026-07-19 00:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806754304001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351746349684752384,"note":"Value kept but may cause issues"} 
[2026-07-19 00:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7127087174219614208,"note":"Value kept but may cause issues"} 
[2026-07-19 00:34:58] 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-07-19 00:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784401392000,"timestamp_ms":1784401392000,"timestamp_seconds":1784401392,"priority":1,"record_length":96,"hex_timestamp":"0000019f769c7180"} 
[2026-07-19 00:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 00:34: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-07-19 00:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 00:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":137112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":137112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":137112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806754304001,"66":27343,"89":206,"79":20992,"24":45,"16":351746349684752384,"45":7127087174219614208},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-19 00:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806754304001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:34:58] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-19 00:34:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351746349684752384,"km_value":351746349684752.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7127087174219614208,"description":"Unknown IO ID 45"} 
[2026-07-19 00:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806754304001,"power":27343,"unknown_89":206,"unknown_79":20992,"ignition":45,"odometer":null,"unknown_45":7127087174219614208}} 
[2026-07-19 00:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":137112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:34:58] local.INFO: GPS data processed {"connection_id":137112,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:34:58] local.INFO: Acknowledgment sent {"connection_id":137112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:35:29] local.INFO: TCP Data received {"connection_id":137112,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f769d7f08012d627c0006279f00000d015c27..."} 
[2026-07-19 00:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f769d7f08012d627c0006279f00000d015c27..."} 
[2026-07-19 00:35:29] local.INFO: Processing buffer {"connection_id":137112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f769d7f08012d627c0006279f00000d015c27..."} 
[2026-07-19 00:35:29] local.INFO: Packet analysis {"connection_id":137112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f769d"} 
[2026-07-19 00:35:29] local.INFO: Extracted packet for processing {"connection_id":137112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f769d"} 
[2026-07-19 00:35:29] local.INFO: GPS Element Parsed {"raw_longitude":761428992,"raw_latitude":103259904,"longitude_deg":76.1428992,"latitude_deg":10.3259904,"altitude":13,"angle":348,"satellites":39,"speed":23,"hex_longitude":"2d627c00","hex_latitude":"06279f00","is_valid_coordinates":true} 
[2026-07-19 00:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806773760001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351749489305845760,"note":"Value kept but may cause issues"} 
[2026-07-19 00:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7096687876751816704,"note":"Value kept but may cause issues"} 
[2026-07-19 00:35:29] 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-07-19 00:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784401461000,"timestamp_ms":1784401461000,"timestamp_seconds":1784401461,"priority":1,"record_length":96,"hex_timestamp":"0000019f769d7f08"} 
[2026-07-19 00:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 00:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 00:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":137112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":137112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":137112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806773760001,"66":27245,"228":206,"79":20992,"24":23,"16":351749489305845760,"45":7096687876751816704},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-19 00:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806773760001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:35:29] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-19 00:35:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351749489305845760,"km_value":351749489305845.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7096687876751816704,"description":"Unknown IO ID 45"} 
[2026-07-19 00:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806773760001,"power":27245,"unknown_228":206,"unknown_79":20992,"ignition":23,"odometer":null,"unknown_45":7096687876751816704}} 
[2026-07-19 00:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":137112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:35:29] local.INFO: GPS data processed {"connection_id":137112,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:35:29] local.INFO: Acknowledgment sent {"connection_id":137112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:35:55] local.INFO: TCP Data received {"connection_id":138514,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:35:55] local.INFO: Processing buffer {"connection_id":138514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:35:55] local.INFO: IMEI packet received {"connection_id":138514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":138514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:35:58] local.INFO: TCP Data received {"connection_id":138514,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:35:58] local.INFO: Processing buffer {"connection_id":138514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:35:58] local.INFO: IMEI packet received {"connection_id":138514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":138514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:36:00] local.INFO: TCP Data received {"connection_id":138514,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:36:00] local.INFO: Processing buffer {"connection_id":138514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:36:00] local.INFO: IMEI packet received {"connection_id":138514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":138514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:36:05] local.INFO: TCP Data received {"connection_id":138514,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f769dade8012d6272400627c110000d015328..."} 
[2026-07-19 00:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f769dade8012d6272400627c110000d015328..."} 
[2026-07-19 00:36:05] local.INFO: Processing buffer {"connection_id":138514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f769dade8012d6272400627c110000d015328..."} 
[2026-07-19 00:36:05] local.INFO: Packet analysis {"connection_id":138514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f769d"} 
[2026-07-19 00:36:05] local.INFO: Extracted packet for processing {"connection_id":138514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f769d"} 
[2026-07-19 00:36:05] local.INFO: GPS Element Parsed {"raw_longitude":761426496,"raw_latitude":103268624,"longitude_deg":76.1426496,"latitude_deg":10.3268624,"altitude":13,"angle":339,"satellites":40,"speed":36,"hex_longitude":"2d627240","hex_latitude":"0627c110","is_valid_coordinates":true} 
[2026-07-19 00:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806774016001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351749927392509952,"note":"Value kept but may cause issues"} 
[2026-07-19 00:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7096547139263594496,"note":"Value kept but may cause issues"} 
[2026-07-19 00:36:05] 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-07-19 00:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784401473000,"timestamp_ms":1784401473000,"timestamp_seconds":1784401473,"priority":1,"record_length":96,"hex_timestamp":"0000019f769dade8"} 
[2026-07-19 00:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 00:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 00:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":138514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":138514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":138514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806774016001,"66":27321,"228":206,"79":20992,"24":36,"16":351749927392509952,"45":7096547139263594496},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-19 00:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806774016001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:36:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-19 00:36:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351749927392509952,"km_value":351749927392509.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7096547139263594496,"description":"Unknown IO ID 45"} 
[2026-07-19 00:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806774016001,"power":27321,"unknown_228":206,"unknown_79":20992,"ignition":36,"odometer":null,"unknown_45":7096547139263594496}} 
[2026-07-19 00:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":138514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:36:05] local.INFO: GPS data processed {"connection_id":138514,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:36:05] local.INFO: Acknowledgment sent {"connection_id":138514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:36:07] local.INFO: TCP Data received {"connection_id":138514,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f769dd4f8012d6265000627e268000c015329..."} 
[2026-07-19 00:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f769dd4f8012d6265000627e268000c015329..."} 
[2026-07-19 00:36:07] local.INFO: Processing buffer {"connection_id":138514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f769dd4f8012d6265000627e268000c015329..."} 
[2026-07-19 00:36:07] local.INFO: Packet analysis {"connection_id":138514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f769d"} 
[2026-07-19 00:36:07] local.INFO: Extracted packet for processing {"connection_id":138514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f769d"} 
[2026-07-19 00:36:07] local.INFO: GPS Element Parsed {"raw_longitude":761423104,"raw_latitude":103277160,"longitude_deg":76.1423104,"latitude_deg":10.327716,"altitude":12,"angle":339,"satellites":41,"speed":36,"hex_longitude":"2d626500","hex_latitude":"0627e268","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806777088001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351750369774141440,"note":"Value kept but may cause issues"} 
[2026-07-19 00:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7093802758242897920,"note":"Value kept but may cause issues"} 
[2026-07-19 00:36: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-07-19 00:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784401483000,"timestamp_ms":1784401483000,"timestamp_seconds":1784401483,"priority":1,"record_length":96,"hex_timestamp":"0000019f769dd4f8"} 
[2026-07-19 00:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:36: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-07-19 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 00:36: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-07-19 00: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-07-19 00:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":138514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":138514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":138514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806777088001,"66":27321,"228":206,"79":20992,"24":36,"16":351750369774141440,"45":7093802758242897920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-19 00:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806777088001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:36:07] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-19 00:36:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351750369774141440,"km_value":351750369774141.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7093802758242897920,"description":"Unknown IO ID 45"} 
[2026-07-19 00:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806777088001,"power":27321,"unknown_228":206,"unknown_79":20992,"ignition":36,"odometer":null,"unknown_45":7093802758242897920}} 
[2026-07-19 00:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":138514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:36:07] local.INFO: GPS data processed {"connection_id":138514,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:36:07] local.INFO: Acknowledgment sent {"connection_id":138514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:36:38] local.INFO: TCP Data received {"connection_id":138514,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f769dfc08012d62574006280438000e015129..."} 
[2026-07-19 00:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f769dfc08012d62574006280438000e015129..."} 
[2026-07-19 00:36:38] local.INFO: Processing buffer {"connection_id":138514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f769dfc08012d62574006280438000e015129..."} 
[2026-07-19 00:36:38] local.INFO: Packet analysis {"connection_id":138514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f769d"} 
[2026-07-19 00:36:38] local.INFO: Extracted packet for processing {"connection_id":138514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f769d"} 
[2026-07-19 00:36:38] local.INFO: GPS Element Parsed {"raw_longitude":761419584,"raw_latitude":103285816,"longitude_deg":76.1419584,"latitude_deg":10.3285816,"altitude":14,"angle":337,"satellites":41,"speed":37,"hex_longitude":"2d625740","hex_latitude":"06280438","is_valid_coordinates":true} 
[2026-07-19 00:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806779648001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351750825040674816,"note":"Value kept but may cause issues"} 
[2026-07-19 00:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7090073214803666944,"note":"Value kept but may cause issues"} 
[2026-07-19 00:36:38] 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-07-19 00:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784401493000,"timestamp_ms":1784401493000,"timestamp_seconds":1784401493,"priority":1,"record_length":96,"hex_timestamp":"0000019f769dfc08"} 
[2026-07-19 00:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:36: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-07-19 00:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 00:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 00:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806779648001,"66":27300,"228":206,"79":20992,"24":37,"16":351750825040674816,"45":7090073214803666944},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-19 00:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806779648001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:36:38] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-19 00:36:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351750825040674816,"km_value":351750825040674.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7090073214803666944,"description":"Unknown IO ID 45"} 
[2026-07-19 00:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806779648001,"power":27300,"unknown_228":206,"unknown_79":20992,"ignition":37,"odometer":null,"unknown_45":7090073214803666944}} 
[2026-07-19 00:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":138514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:36:38] local.INFO: GPS data processed {"connection_id":138514,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:36:38] local.INFO: Acknowledgment sent {"connection_id":138514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:36:55] local.INFO: TCP Data received {"connection_id":136183,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:36:55] local.INFO: Processing buffer {"connection_id":136183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:36:55] local.INFO: IMEI packet received {"connection_id":136183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":136183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:37:08] local.INFO: TCP Data received {"connection_id":136183,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:37:08] local.INFO: Processing buffer {"connection_id":136183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:37:08] local.INFO: IMEI packet received {"connection_id":136183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":136183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:37:08] local.INFO: TCP Data received {"connection_id":136183,"ip":"42.106.6.44","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 00:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136183,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 00:37:08] local.INFO: Processing buffer {"connection_id":136183,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 00:37:08] local.INFO: IMEI packet received {"connection_id":136183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":136183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:37:58] local.INFO: TCP Data received {"connection_id":136059,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136059,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:37:58] local.INFO: Processing buffer {"connection_id":136059,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:37:58] local.INFO: IMEI packet received {"connection_id":136059,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 00:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":136059,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:38:28] local.INFO: TCP Data received {"connection_id":137113,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:38:28] local.INFO: Processing buffer {"connection_id":137113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:38:28] local.INFO: IMEI packet received {"connection_id":137113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 00:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":137113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:42:10] local.INFO: TCP Data received {"connection_id":137117,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:42:10] local.INFO: Processing buffer {"connection_id":137117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:42:10] local.INFO: IMEI packet received {"connection_id":137117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":137117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:42:11] local.INFO: TCP Data received {"connection_id":137117,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76a2fd48012d6001c0062d7160000401522e..."} 
[2026-07-19 00:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76a2fd48012d6001c0062d7160000401522e..."} 
[2026-07-19 00:42:11] local.INFO: Processing buffer {"connection_id":137117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76a2fd48012d6001c0062d7160000401522e..."} 
[2026-07-19 00:42:11] local.INFO: Packet analysis {"connection_id":137117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76a2"} 
[2026-07-19 00:42:11] local.INFO: Extracted packet for processing {"connection_id":137117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76a2"} 
[2026-07-19 00:42:11] local.INFO: GPS Element Parsed {"raw_longitude":761266624,"raw_latitude":103641440,"longitude_deg":76.1266624,"latitude_deg":10.364144,"altitude":4,"angle":338,"satellites":46,"speed":48,"hex_longitude":"2d6001c0","hex_latitude":"062d7160","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806864128001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351769619817562112,"note":"Value kept but may cause issues"} 
[2026-07-19 00:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6922243760030939136,"note":"Value kept but may cause issues"} 
[2026-07-19 00:42:11] 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-07-19 00:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784401821000,"timestamp_ms":1784401821000,"timestamp_seconds":1784401821,"priority":1,"record_length":96,"hex_timestamp":"0000019f76a2fd48"} 
[2026-07-19 00:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 00:42: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-07-19 00: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-07-19 00:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":137117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":137117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":137117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806864128001,"66":27300,"211":206,"79":20992,"24":48,"16":351769619817562112,"45":6922243760030939136},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-07-19 00:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806864128001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:42:11] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-19 00:42:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351769619817562112,"km_value":351769619817562.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6922243760030939136,"description":"Unknown IO ID 45"} 
[2026-07-19 00:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806864128001,"power":27300,"unknown_211":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":6922243760030939136}} 
[2026-07-19 00:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":137117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:42:11] local.INFO: GPS data processed {"connection_id":137117,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:42:11] local.INFO: Acknowledgment sent {"connection_id":137117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:42:55] local.INFO: TCP Data received {"connection_id":136185,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:42:55] local.INFO: Processing buffer {"connection_id":136185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:42:55] local.INFO: IMEI packet received {"connection_id":136185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":136185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:42:58] local.INFO: TCP Data received {"connection_id":136185,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:42:58] local.INFO: Processing buffer {"connection_id":136185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:42:58] local.INFO: IMEI packet received {"connection_id":136185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":136185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:43:00] local.INFO: TCP Data received {"connection_id":136185,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76a45508012d5f94c0062eec30000701582d..."} 
[2026-07-19 00:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76a45508012d5f94c0062eec30000701582d..."} 
[2026-07-19 00:43:00] local.INFO: Processing buffer {"connection_id":136185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76a45508012d5f94c0062eec30000701582d..."} 
[2026-07-19 00:43:00] local.INFO: Packet analysis {"connection_id":136185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76a4"} 
[2026-07-19 00:43:00] local.INFO: Extracted packet for processing {"connection_id":136185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76a4"} 
[2026-07-19 00:43:00] local.INFO: GPS Element Parsed {"raw_longitude":761238720,"raw_latitude":103738416,"longitude_deg":76.123872,"latitude_deg":10.3738416,"altitude":7,"angle":344,"satellites":45,"speed":26,"hex_longitude":"2d5f94c0","hex_latitude":"062eec30","is_valid_coordinates":true} 
[2026-07-19 00:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806886144001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351774546145050624,"note":"Value kept but may cause issues"} 
[2026-07-19 00:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6890155612710785024,"note":"Value kept but may cause issues"} 
[2026-07-19 00:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 00:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784401909000,"timestamp_ms":1784401909000,"timestamp_seconds":1784401909,"priority":1,"record_length":96,"hex_timestamp":"0000019f76a45508"} 
[2026-07-19 00:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:43: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-07-19 00:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 00:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 00:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":136185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":136185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":136185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806886144001,"66":27463,"210":206,"79":20992,"24":26,"16":351774546145050624,"45":6890155612710785024},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,79,24,16,45]} 
[2026-07-19 00:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806886144001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:43:00] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-19 00:43:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351774546145050624,"km_value":351774546145050.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6890155612710785024,"description":"Unknown IO ID 45"} 
[2026-07-19 00:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806886144001,"power":27463,"unknown_210":206,"unknown_79":20992,"ignition":26,"odometer":null,"unknown_45":6890155612710785024}} 
[2026-07-19 00:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":136185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:43:00] local.INFO: GPS data processed {"connection_id":136185,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:43:00] local.INFO: Acknowledgment sent {"connection_id":136185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:43:31] local.INFO: TCP Data received {"connection_id":136185,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76a46c78012d5f9200062efa30000701652e..."} 
[2026-07-19 00:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76a46c78012d5f9200062efa30000701652e..."} 
[2026-07-19 00:43:31] local.INFO: Processing buffer {"connection_id":136185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76a46c78012d5f9200062efa30000701652e..."} 
[2026-07-19 00:43:31] local.INFO: Packet analysis {"connection_id":136185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76a4"} 
[2026-07-19 00:43:31] local.INFO: Extracted packet for processing {"connection_id":136185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76a4"} 
[2026-07-19 00:43:31] local.INFO: GPS Element Parsed {"raw_longitude":761238016,"raw_latitude":103742000,"longitude_deg":76.1238016,"latitude_deg":10.3742,"altitude":7,"angle":357,"satellites":46,"speed":16,"hex_longitude":"2d5f9200","hex_latitude":"062efa30","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806888704001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351774722238709760,"note":"Value kept but may cause issues"} 
[2026-07-19 00:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6887340862945898496,"note":"Value kept but may cause issues"} 
[2026-07-19 00:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 00:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784401915000,"timestamp_ms":1784401915000,"timestamp_seconds":1784401915,"priority":1,"record_length":96,"hex_timestamp":"0000019f76a46c78"} 
[2026-07-19 00:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:43: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-07-19 00: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-19 00:43: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-07-19 00: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-07-19 00:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":136185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":136185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":136185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806888704001,"66":27332,"210":206,"79":20992,"24":16,"16":351774722238709760,"45":6887340862945898496},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,79,24,16,45]} 
[2026-07-19 00:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806888704001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:43:31] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-19 00:43:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351774722238709760,"km_value":351774722238709.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6887340862945898496,"description":"Unknown IO ID 45"} 
[2026-07-19 00:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806888704001,"power":27332,"unknown_210":206,"unknown_79":20992,"ignition":16,"odometer":null,"unknown_45":6887340862945898496}} 
[2026-07-19 00:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":136185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:43:31] local.INFO: GPS data processed {"connection_id":136185,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:43:31] local.INFO: Acknowledgment sent {"connection_id":136185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:43:48] local.INFO: TCP Data received {"connection_id":136064,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136064,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:43:48] local.INFO: Processing buffer {"connection_id":136064,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:43:48] local.INFO: IMEI packet received {"connection_id":136064,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 00:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":136064,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:43:55] local.INFO: TCP Data received {"connection_id":137118,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:43:55] local.INFO: Processing buffer {"connection_id":137118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:43:55] local.INFO: IMEI packet received {"connection_id":137118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":137118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:43:56] local.INFO: TCP Data received {"connection_id":137118,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:43:56] local.INFO: Processing buffer {"connection_id":137118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:43:56] local.INFO: IMEI packet received {"connection_id":137118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":137118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:44:00] local.INFO: TCP Data received {"connection_id":137118,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:44:00] local.INFO: Processing buffer {"connection_id":137118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:44:00] local.INFO: IMEI packet received {"connection_id":137118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":137118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:44:01] local.INFO: TCP Data received {"connection_id":137118,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76a47c18012d5f9180062eff30000701592e..."} 
[2026-07-19 00:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76a47c18012d5f9180062eff30000701592e..."} 
[2026-07-19 00:44:01] local.INFO: Processing buffer {"connection_id":137118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76a47c18012d5f9180062eff30000701592e..."} 
[2026-07-19 00:44:01] local.INFO: Packet analysis {"connection_id":137118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76a4"} 
[2026-07-19 00:44:01] local.INFO: Extracted packet for processing {"connection_id":137118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76a4"} 
[2026-07-19 00:44:01] local.INFO: GPS Element Parsed {"raw_longitude":761237888,"raw_latitude":103743280,"longitude_deg":76.1237888,"latitude_deg":10.374328,"altitude":7,"angle":345,"satellites":46,"speed":8,"hex_longitude":"2d5f9180","hex_latitude":"062eff30","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806890240001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351774786663219200,"note":"Value kept but may cause issues"} 
[2026-07-19 00:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6886566806760861696,"note":"Value kept but may cause issues"} 
[2026-07-19 00:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 00:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784401919000,"timestamp_ms":1784401919000,"timestamp_seconds":1784401919,"priority":1,"record_length":96,"hex_timestamp":"0000019f76a47c18"} 
[2026-07-19 00:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:44: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-07-19 00:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-19 00:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00: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-07-19 00:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806890240001,"66":27245,"210":206,"79":20992,"24":8,"16":351774786663219200,"45":6886566806760861696},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,79,24,16,45]} 
[2026-07-19 00:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806890240001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:44:01] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-19 00:44:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351774786663219200,"km_value":351774786663219.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6886566806760861696,"description":"Unknown IO ID 45"} 
[2026-07-19 00:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806890240001,"power":27245,"unknown_210":206,"unknown_79":20992,"ignition":8,"odometer":null,"unknown_45":6886566806760861696}} 
[2026-07-19 00:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":137118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:44:01] local.INFO: GPS data processed {"connection_id":137118,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:44:01] local.INFO: Acknowledgment sent {"connection_id":137118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:44:28] local.INFO: TCP Data received {"connection_id":136065,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136065,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:44:28] local.INFO: Processing buffer {"connection_id":136065,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:44:28] local.INFO: IMEI packet received {"connection_id":136065,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 00:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":136065,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:44:42] local.INFO: TCP Data received {"connection_id":137118,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76a4ce20012d5f8dc0062f0af0000a015a2c..."} 
[2026-07-19 00:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76a4ce20012d5f8dc0062f0af0000a015a2c..."} 
[2026-07-19 00:44:42] local.INFO: Processing buffer {"connection_id":137118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76a4ce20012d5f8dc0062f0af0000a015a2c..."} 
[2026-07-19 00:44:42] local.INFO: Packet analysis {"connection_id":137118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76a4"} 
[2026-07-19 00:44:42] local.INFO: Extracted packet for processing {"connection_id":137118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76a4"} 
[2026-07-19 00:44:42] local.INFO: GPS Element Parsed {"raw_longitude":761236928,"raw_latitude":103746288,"longitude_deg":76.1236928,"latitude_deg":10.3746288,"altitude":10,"angle":346,"satellites":44,"speed":13,"hex_longitude":"2d5f8dc0","hex_latitude":"062f0af0","is_valid_coordinates":true} 
[2026-07-19 00:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806891264001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351774941282041856,"note":"Value kept but may cause issues"} 
[2026-07-19 00:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6886426069272834048,"note":"Value kept but may cause issues"} 
[2026-07-19 00:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 00:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784401940000,"timestamp_ms":1784401940000,"timestamp_seconds":1784401940,"priority":1,"record_length":96,"hex_timestamp":"0000019f76a4ce20"} 
[2026-07-19 00:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:44: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-07-19 00:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 00:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 00:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806891264001,"66":27332,"210":206,"79":20992,"24":13,"16":351774941282041856,"45":6886426069272834048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,79,24,16,45]} 
[2026-07-19 00:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806891264001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:44:42] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-19 00:44:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351774941282041856,"km_value":351774941282041.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6886426069272834048,"description":"Unknown IO ID 45"} 
[2026-07-19 00:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806891264001,"power":27332,"unknown_210":206,"unknown_79":20992,"ignition":13,"odometer":null,"unknown_45":6886426069272834048}} 
[2026-07-19 00:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":137118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:44:42] local.INFO: GPS data processed {"connection_id":137118,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:44:42] local.INFO: Acknowledgment sent {"connection_id":137118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:45:00] local.INFO: TCP Data received {"connection_id":136066,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:45:00] local.INFO: Processing buffer {"connection_id":136066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:45:00] local.INFO: IMEI packet received {"connection_id":136066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":136066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:45:01] local.INFO: TCP Data received {"connection_id":136066,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:45:01] local.INFO: Processing buffer {"connection_id":136066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:45:01] local.INFO: IMEI packet received {"connection_id":136066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":136066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:45:09] local.INFO: TCP Data received {"connection_id":136066,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:45:09] local.INFO: Processing buffer {"connection_id":136066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:45:09] local.INFO: IMEI packet received {"connection_id":136066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":136066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:45:10] local.INFO: TCP Data received {"connection_id":136066,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76a64138012d5f190006306dc80006015c2d..."} 
[2026-07-19 00:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76a64138012d5f190006306dc80006015c2d..."} 
[2026-07-19 00:45:10] local.INFO: Processing buffer {"connection_id":136066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76a64138012d5f190006306dc80006015c2d..."} 
[2026-07-19 00:45:10] local.INFO: Packet analysis {"connection_id":136066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76a6"} 
[2026-07-19 00:45:10] local.INFO: Extracted packet for processing {"connection_id":136066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76a6"} 
[2026-07-19 00:45:10] local.INFO: GPS Element Parsed {"raw_longitude":761207040,"raw_latitude":103837128,"longitude_deg":76.120704,"latitude_deg":10.3837128,"altitude":6,"angle":348,"satellites":45,"speed":48,"hex_longitude":"2d5f1900","hex_latitude":"06306dc8","is_valid_coordinates":true} 
[2026-07-19 00:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806918912001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351779592731623424,"note":"Value kept but may cause issues"} 
[2026-07-19 00:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6854971240646963200,"note":"Value kept but may cause issues"} 
[2026-07-19 00:45:10] 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-07-19 00:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784402035000,"timestamp_ms":1784402035000,"timestamp_seconds":1784402035,"priority":1,"record_length":96,"hex_timestamp":"0000019f76a64138"} 
[2026-07-19 00:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 00:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 00:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806918912001,"66":27082,"205":206,"79":20992,"24":48,"16":351779592731623424,"45":6854971240646963200},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,79,24,16,45]} 
[2026-07-19 00:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806918912001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:45:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351779592731623424,"km_value":351779592731623.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6854971240646963200,"description":"Unknown IO ID 45"} 
[2026-07-19 00:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806918912001,"power":27082,"cell_id":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":6854971240646963200}} 
[2026-07-19 00:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":136066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:45:10] local.INFO: GPS data processed {"connection_id":136066,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:45:10] local.INFO: Acknowledgment sent {"connection_id":136066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:46:05] local.INFO: TCP Data received {"connection_id":138517,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:46:05] local.INFO: Processing buffer {"connection_id":138517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:46:05] local.INFO: IMEI packet received {"connection_id":138517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":138517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:46:08] local.INFO: TCP Data received {"connection_id":138517,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:46:08] local.INFO: Processing buffer {"connection_id":138517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:46:08] local.INFO: IMEI packet received {"connection_id":138517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":138517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:46:14] local.INFO: TCP Data received {"connection_id":138517,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76a66078012d5f0fc006308f98000701562e..."} 
[2026-07-19 00:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76a66078012d5f0fc006308f98000701562e..."} 
[2026-07-19 00:46:14] local.INFO: Processing buffer {"connection_id":138517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76a66078012d5f0fc006308f98000701562e..."} 
[2026-07-19 00:46:14] local.INFO: Packet analysis {"connection_id":138517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76a6"} 
[2026-07-19 00:46:14] local.INFO: Extracted packet for processing {"connection_id":138517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76a6"} 
[2026-07-19 00:46:14] local.INFO: GPS Element Parsed {"raw_longitude":761204672,"raw_latitude":103845784,"longitude_deg":76.1204672,"latitude_deg":10.3845784,"altitude":7,"angle":342,"satellites":46,"speed":41,"hex_longitude":"2d5f0fc0","hex_latitude":"06308f98","is_valid_coordinates":true} 
[2026-07-19 00:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806920960001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351780026523320320,"note":"Value kept but may cause issues"} 
[2026-07-19 00:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6852508334603225088,"note":"Value kept but may cause issues"} 
[2026-07-19 00:46:14] 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-07-19 00:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784402043000,"timestamp_ms":1784402043000,"timestamp_seconds":1784402043,"priority":1,"record_length":96,"hex_timestamp":"0000019f76a66078"} 
[2026-07-19 00:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-19 00:46:14] 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-07-19 00:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 00:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":138517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":138517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":138517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806920960001,"66":27484,"205":206,"79":20992,"24":41,"16":351780026523320320,"45":6852508334603225088},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,79,24,16,45]} 
[2026-07-19 00:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806920960001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:46:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-19 00:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351780026523320320,"km_value":351780026523320.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":6852508334603225088,"description":"Unknown IO ID 45"} 
[2026-07-19 00:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806920960001,"power":27484,"cell_id":206,"unknown_79":20992,"ignition":41,"odometer":null,"unknown_45":6852508334603225088}} 
[2026-07-19 00:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":138517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:46:14] local.INFO: GPS data processed {"connection_id":138517,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:46:14] local.INFO: Acknowledgment sent {"connection_id":138517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:47:05] local.INFO: TCP Data received {"connection_id":136186,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:47:05] local.INFO: Processing buffer {"connection_id":136186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:47:05] local.INFO: IMEI packet received {"connection_id":136186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":136186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:47:07] local.INFO: TCP Data received {"connection_id":136186,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:47:07] local.INFO: Processing buffer {"connection_id":136186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:47:07] local.INFO: IMEI packet received {"connection_id":136186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":136186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:47:10] local.INFO: TCP Data received {"connection_id":136186,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:47:10] local.INFO: Processing buffer {"connection_id":136186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:47:10] local.INFO: IMEI packet received {"connection_id":136186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":136186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:47:11] local.INFO: TCP Data received {"connection_id":136186,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76a7eee8012d5ed4c00631f2f8000701642d..."} 
[2026-07-19 00:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76a7eee8012d5ed4c00631f2f8000701642d..."} 
[2026-07-19 00:47:11] local.INFO: Processing buffer {"connection_id":136186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76a7eee8012d5ed4c00631f2f8000701642d..."} 
[2026-07-19 00:47:11] local.INFO: Packet analysis {"connection_id":136186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76a7"} 
[2026-07-19 00:47:11] local.INFO: Extracted packet for processing {"connection_id":136186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76a7"} 
[2026-07-19 00:47:11] local.INFO: GPS Element Parsed {"raw_longitude":761189568,"raw_latitude":103936760,"longitude_deg":76.1189568,"latitude_deg":10.393676,"altitude":7,"angle":356,"satellites":45,"speed":54,"hex_longitude":"2d5ed4c0","hex_latitude":"0631f2f8","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806947328001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351784570598719488,"note":"Value kept but may cause issues"} 
[2026-07-19 00:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6833086561233321984,"note":"Value kept but may cause issues"} 
[2026-07-19 00:47:11] 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-07-19 00:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784402145000,"timestamp_ms":1784402145000,"timestamp_seconds":1784402145,"priority":1,"record_length":96,"hex_timestamp":"0000019f76a7eee8"} 
[2026-07-19 00:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:47: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-07-19 00: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-19 00:47:11] 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-07-19 00: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-07-19 00:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":136186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":136186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":136186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806947328001,"66":27245,"143":206,"78":38656,"24":54,"16":351784570598719488,"45":6833086561233321984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-07-19 00:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806947328001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:47:11] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-19 00:47:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 00:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351784570598719488,"km_value":351784570598719.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6833086561233321984,"description":"Unknown IO ID 45"} 
[2026-07-19 00:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806947328001,"power":27245,"unknown_143":206,"unknown_78":38656,"ignition":54,"odometer":null,"unknown_45":6833086561233321984}} 
[2026-07-19 00:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":136186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:47:11] local.INFO: GPS data processed {"connection_id":136186,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:47:11] local.INFO: Acknowledgment sent {"connection_id":136186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:47:55] local.INFO: TCP Data received {"connection_id":136068,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:47:55] local.INFO: Processing buffer {"connection_id":136068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:47:55] local.INFO: IMEI packet received {"connection_id":136068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":136068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:47:59] local.INFO: TCP Data received {"connection_id":136068,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:47:59] local.INFO: Processing buffer {"connection_id":136068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:47:59] local.INFO: IMEI packet received {"connection_id":136068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":136068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:48:00] local.INFO: TCP Data received {"connection_id":136068,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:48:00] local.INFO: Processing buffer {"connection_id":136068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:48:00] local.INFO: IMEI packet received {"connection_id":136068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":136068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:48:02] local.INFO: TCP Data received {"connection_id":136068,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76a80658012d5ecf0006321360000501572c..."} 
[2026-07-19 00:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76a80658012d5ecf0006321360000501572c..."} 
[2026-07-19 00:48:02] local.INFO: Processing buffer {"connection_id":136068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76a80658012d5ecf0006321360000501572c..."} 
[2026-07-19 00:48:02] local.INFO: Packet analysis {"connection_id":136068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76a8"} 
[2026-07-19 00:48:02] local.INFO: Extracted packet for processing {"connection_id":136068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76a8"} 
[2026-07-19 00:48:02] local.INFO: GPS Element Parsed {"raw_longitude":761188096,"raw_latitude":103945056,"longitude_deg":76.1188096,"latitude_deg":10.3945056,"altitude":5,"angle":343,"satellites":44,"speed":57,"hex_longitude":"2d5ecf00","hex_latitude":"06321360","is_valid_coordinates":true} 
[2026-07-19 00:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806949120001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351784978620612608,"note":"Value kept but may cause issues"} 
[2026-07-19 00:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6833297667468228608,"note":"Value kept but may cause issues"} 
[2026-07-19 00:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 00:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784402151000,"timestamp_ms":1784402151000,"timestamp_seconds":1784402151,"priority":1,"record_length":96,"hex_timestamp":"0000019f76a80658"} 
[2026-07-19 00:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 00:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 00:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806949120001,"66":27300,"110":206,"78":38656,"24":57,"16":351784978620612608,"45":6833297667468228608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,78,24,16,45]} 
[2026-07-19 00:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806949120001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:48:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-19 00:48:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 00:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351784978620612608,"km_value":351784978620612.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6833297667468228608,"description":"Unknown IO ID 45"} 
[2026-07-19 00:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806949120001,"power":27300,"unknown_110":206,"unknown_78":38656,"ignition":57,"odometer":null,"unknown_45":6833297667468228608}} 
[2026-07-19 00:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":136068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:48:02] local.INFO: GPS data processed {"connection_id":136068,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:48:02] local.INFO: Acknowledgment sent {"connection_id":136068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:48:03] local.INFO: TCP Data received {"connection_id":136068,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76a821b0012d5ec040063237380004014e2d..."} 
[2026-07-19 00:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76a821b0012d5ec040063237380004014e2d..."} 
[2026-07-19 00:48:03] local.INFO: Processing buffer {"connection_id":136068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76a821b0012d5ec040063237380004014e2d..."} 
[2026-07-19 00:48:03] local.INFO: Packet analysis {"connection_id":136068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76a8"} 
[2026-07-19 00:48:03] local.INFO: Extracted packet for processing {"connection_id":136068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76a8"} 
[2026-07-19 00:48:03] local.INFO: GPS Element Parsed {"raw_longitude":761184320,"raw_latitude":103954232,"longitude_deg":76.118432,"latitude_deg":10.3954232,"altitude":4,"angle":334,"satellites":45,"speed":56,"hex_longitude":"2d5ec040","hex_latitude":"06323738","is_valid_coordinates":true} 
[2026-07-19 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-07-19 00:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806950656001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351785459656949760,"note":"Value kept but may cause issues"} 
[2026-07-19 00:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6831679186354266112,"note":"Value kept but may cause issues"} 
[2026-07-19 00:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 00:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784402158000,"timestamp_ms":1784402158000,"timestamp_seconds":1784402158,"priority":1,"record_length":96,"hex_timestamp":"0000019f76a821b0"} 
[2026-07-19 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-07-19 00:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-19 00:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 00:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":136068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":136068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":136068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806950656001,"66":27234,"110":206,"78":38656,"24":56,"16":351785459656949760,"45":6831679186354266112},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,78,24,16,45]} 
[2026-07-19 00:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806950656001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:48:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-19 00:48:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 00:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351785459656949760,"km_value":351785459656949.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6831679186354266112,"description":"Unknown IO ID 45"} 
[2026-07-19 00:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806950656001,"power":27234,"unknown_110":206,"unknown_78":38656,"ignition":56,"odometer":null,"unknown_45":6831679186354266112}} 
[2026-07-19 00:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":136068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:48:03] local.INFO: GPS data processed {"connection_id":136068,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:48:03] local.INFO: Acknowledgment sent {"connection_id":136068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:48:34] local.INFO: TCP Data received {"connection_id":136068,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76a9ac38012d5df0c00633ee28000201522d..."} 
[2026-07-19 00:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76a9ac38012d5df0c00633ee28000201522d..."} 
[2026-07-19 00:48:34] local.INFO: Processing buffer {"connection_id":136068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76a9ac38012d5df0c00633ee28000201522d..."} 
[2026-07-19 00:48:34] local.INFO: Packet analysis {"connection_id":136068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76a9"} 
[2026-07-19 00:48:34] local.INFO: Extracted packet for processing {"connection_id":136068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76a9"} 
[2026-07-19 00:48:34] local.INFO: GPS Element Parsed {"raw_longitude":761131200,"raw_latitude":104066600,"longitude_deg":76.11312,"latitude_deg":10.40666,"altitude":2,"angle":338,"satellites":45,"speed":57,"hex_longitude":"2d5df0c0","hex_latitude":"0633ee28","is_valid_coordinates":true} 
[2026-07-19 00:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806976512001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351791472611164160,"note":"Value kept but may cause issues"} 
[2026-07-19 00:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6772921284994607104,"note":"Value kept but may cause issues"} 
[2026-07-19 00:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 00:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784402259000,"timestamp_ms":1784402259000,"timestamp_seconds":1784402259,"priority":1,"record_length":96,"hex_timestamp":"0000019f76a9ac38"} 
[2026-07-19 00:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 00:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 00:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":136068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":136068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":136068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806976512001,"66":27300,"190":206,"78":38656,"24":57,"16":351791472611164160,"45":6772921284994607104},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,78,24,16,45]} 
[2026-07-19 00:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806976512001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:48:34] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-19 00:48:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 00:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351791472611164160,"km_value":351791472611164.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6772921284994607104,"description":"Unknown IO ID 45"} 
[2026-07-19 00:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806976512001,"power":27300,"unknown_190":206,"unknown_78":38656,"ignition":57,"odometer":null,"unknown_45":6772921284994607104}} 
[2026-07-19 00:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":136068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:48:35] local.INFO: GPS data processed {"connection_id":136068,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:48:35] local.INFO: Acknowledgment sent {"connection_id":136068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:48:56] local.INFO: TCP Data received {"connection_id":138519,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:48:56] local.INFO: Processing buffer {"connection_id":138519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:48:56] local.INFO: IMEI packet received {"connection_id":138519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":138519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:49:00] local.INFO: TCP Data received {"connection_id":138519,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:49:00] local.INFO: Processing buffer {"connection_id":138519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:49:00] local.INFO: IMEI packet received {"connection_id":138519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":138519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:49:03] local.INFO: TCP Data received {"connection_id":138519,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:49:03] local.INFO: Processing buffer {"connection_id":138519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:49:03] local.INFO: IMEI packet received {"connection_id":138519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":138519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:49:05] local.INFO: TCP Data received {"connection_id":138519,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76a9c3a8012d5de30006340e480003014d2d..."} 
[2026-07-19 00:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76a9c3a8012d5de30006340e480003014d2d..."} 
[2026-07-19 00:49:05] local.INFO: Processing buffer {"connection_id":138519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76a9c3a8012d5de30006340e480003014d2d..."} 
[2026-07-19 00:49:05] local.INFO: Packet analysis {"connection_id":138519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76a9"} 
[2026-07-19 00:49:05] local.INFO: Extracted packet for processing {"connection_id":138519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76a9"} 
[2026-07-19 00:49:05] local.INFO: GPS Element Parsed {"raw_longitude":761127680,"raw_latitude":104074824,"longitude_deg":76.112768,"latitude_deg":10.4074824,"altitude":3,"angle":333,"satellites":45,"speed":60,"hex_longitude":"2d5de300","hex_latitude":"06340e48","is_valid_coordinates":true} 
[2026-07-19 00:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806978304001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351791906402861056,"note":"Value kept but may cause issues"} 
[2026-07-19 00:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6769121372811438080,"note":"Value kept but may cause issues"} 
[2026-07-19 00:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 00:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784402265000,"timestamp_ms":1784402265000,"timestamp_seconds":1784402265,"priority":1,"record_length":96,"hex_timestamp":"0000019f76a9c3a8"} 
[2026-07-19 00:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-19 00:49: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-07-19 00:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 00:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":138519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":138519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":138519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806978304001,"66":27321,"190":206,"78":38656,"24":60,"16":351791906402861056,"45":6769121372811438080},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,78,24,16,45]} 
[2026-07-19 00:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806978304001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:49:05] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-19 00:49:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 00:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351791906402861056,"km_value":351791906402861.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6769121372811438080,"description":"Unknown IO ID 45"} 
[2026-07-19 00:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806978304001,"power":27321,"unknown_190":206,"unknown_78":38656,"ignition":60,"odometer":null,"unknown_45":6769121372811438080}} 
[2026-07-19 00:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":138519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:49:05] local.INFO: GPS data processed {"connection_id":138519,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:49:05] local.INFO: Acknowledgment sent {"connection_id":138519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:49:06] local.INFO: TCP Data received {"connection_id":138519,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76a9db18012d5dd14006342d38000301472d..."} 
[2026-07-19 00:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76a9db18012d5dd14006342d38000301472d..."} 
[2026-07-19 00:49:06] local.INFO: Processing buffer {"connection_id":138519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76a9db18012d5dd14006342d38000301472d..."} 
[2026-07-19 00:49:06] local.INFO: Packet analysis {"connection_id":138519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76a9"} 
[2026-07-19 00:49:06] local.INFO: Extracted packet for processing {"connection_id":138519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76a9"} 
[2026-07-19 00:49:06] local.INFO: GPS Element Parsed {"raw_longitude":761123136,"raw_latitude":104082744,"longitude_deg":76.1123136,"latitude_deg":10.4082744,"altitude":3,"angle":327,"satellites":45,"speed":59,"hex_longitude":"2d5dd140","hex_latitude":"06342d38","is_valid_coordinates":true} 
[2026-07-19 00:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806979840001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351792348784492544,"note":"Value kept but may cause issues"} 
[2026-07-19 00:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6765251091883771904,"note":"Value kept but may cause issues"} 
[2026-07-19 00:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 00:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784402271000,"timestamp_ms":1784402271000,"timestamp_seconds":1784402271,"priority":1,"record_length":96,"hex_timestamp":"0000019f76a9db18"} 
[2026-07-19 00:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:49: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-07-19 00:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 00:49: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-07-19 00:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 00:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":138519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":138519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":138519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806979840001,"66":27245,"190":206,"78":38656,"24":59,"16":351792348784492544,"45":6765251091883771904},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,78,24,16,45]} 
[2026-07-19 00:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806979840001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:49:06] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-19 00:49:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 00:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351792348784492544,"km_value":351792348784492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6765251091883771904,"description":"Unknown IO ID 45"} 
[2026-07-19 00:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806979840001,"power":27245,"unknown_190":206,"unknown_78":38656,"ignition":59,"odometer":null,"unknown_45":6765251091883771904}} 
[2026-07-19 00:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":138519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:49:06] local.INFO: GPS data processed {"connection_id":138519,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:49:06] local.INFO: Acknowledgment sent {"connection_id":138519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:49:38] local.INFO: TCP Data received {"connection_id":138519,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76a9f288012d5dbd00063449a8000401442d..."} 
[2026-07-19 00:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76a9f288012d5dbd00063449a8000401442d..."} 
[2026-07-19 00:49:38] local.INFO: Processing buffer {"connection_id":138519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76a9f288012d5dbd00063449a8000401442d..."} 
[2026-07-19 00:49:38] local.INFO: Packet analysis {"connection_id":138519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76a9"} 
[2026-07-19 00:49:38] local.INFO: Extracted packet for processing {"connection_id":138519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76a9"} 
[2026-07-19 00:49:38] local.INFO: GPS Element Parsed {"raw_longitude":761117952,"raw_latitude":104090024,"longitude_deg":76.1117952,"latitude_deg":10.4090024,"altitude":4,"angle":324,"satellites":45,"speed":59,"hex_longitude":"2d5dbd00","hex_latitude":"063449a8","is_valid_coordinates":true} 
[2026-07-19 00:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806981376001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351792778281222144,"note":"Value kept but may cause issues"} 
[2026-07-19 00:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6760254911049185280,"note":"Value kept but may cause issues"} 
[2026-07-19 00:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 00:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784402277000,"timestamp_ms":1784402277000,"timestamp_seconds":1784402277,"priority":1,"record_length":96,"hex_timestamp":"0000019f76a9f288"} 
[2026-07-19 00:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 00:49:38] 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-07-19 00: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-07-19 00:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806981376001,"66":27310,"190":206,"78":38656,"24":59,"16":351792778281222144,"45":6760254911049185280},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,78,24,16,45]} 
[2026-07-19 00:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806981376001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:49:38] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-19 00:49:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 00:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351792778281222144,"km_value":351792778281222.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6760254911049185280,"description":"Unknown IO ID 45"} 
[2026-07-19 00:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806981376001,"power":27310,"unknown_190":206,"unknown_78":38656,"ignition":59,"odometer":null,"unknown_45":6760254911049185280}} 
[2026-07-19 00:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":138519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:49:38] local.INFO: GPS data processed {"connection_id":138519,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:49:38] local.INFO: Acknowledgment sent {"connection_id":138519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:49:52] local.INFO: TCP Data received {"connection_id":136070,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:49:52] local.INFO: Processing buffer {"connection_id":136070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:49:52] local.INFO: IMEI packet received {"connection_id":136070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":136070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:49:55] local.INFO: TCP Data received {"connection_id":136070,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:49:55] local.INFO: Processing buffer {"connection_id":136070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:49:55] local.INFO: IMEI packet received {"connection_id":136070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":136070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:49:58] local.INFO: TCP Data received {"connection_id":136069,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136069,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:49:58] local.INFO: Processing buffer {"connection_id":136069,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:49:58] local.INFO: IMEI packet received {"connection_id":136069,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 00:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":136069,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:49:59] local.INFO: TCP Data received {"connection_id":136070,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:49:59] local.INFO: Processing buffer {"connection_id":136070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:49:59] local.INFO: IMEI packet received {"connection_id":136070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":136070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:50:00] local.INFO: TCP Data received {"connection_id":136070,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76aa0de0012d5da7c006346ba80005014d2d..."} 
[2026-07-19 00:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76aa0de0012d5da7c006346ba80005014d2d..."} 
[2026-07-19 00:50:00] local.INFO: Processing buffer {"connection_id":136070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76aa0de0012d5da7c006346ba80005014d2d..."} 
[2026-07-19 00:50:00] local.INFO: Packet analysis {"connection_id":136070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76aa"} 
[2026-07-19 00:50:00] local.INFO: Extracted packet for processing {"connection_id":136070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76aa"} 
[2026-07-19 00:50:00] local.INFO: GPS Element Parsed {"raw_longitude":761112512,"raw_latitude":104098728,"longitude_deg":76.1112512,"latitude_deg":10.4098728,"altitude":5,"angle":333,"satellites":45,"speed":56,"hex_longitude":"2d5da7c0","hex_latitude":"06346ba8","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456806982912001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351793276497428480,"note":"Value kept but may cause issues"} 
[2026-07-19 00:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6754555042772658176,"note":"Value kept but may cause issues"} 
[2026-07-19 00:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 00:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784402284000,"timestamp_ms":1784402284000,"timestamp_seconds":1784402284,"priority":1,"record_length":96,"hex_timestamp":"0000019f76aa0de0"} 
[2026-07-19 00:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:50: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-07-19 00: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-19 00:50: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-07-19 00: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-07-19 00:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":136070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":136070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":136070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456806982912001,"66":27137,"190":206,"78":38656,"24":56,"16":351793276497428480,"45":6754555042772658176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,78,24,16,45]} 
[2026-07-19 00:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456806982912001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:50:00] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-19 00:50:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 00:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351793276497428480,"km_value":351793276497428.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6754555042772658176,"description":"Unknown IO ID 45"} 
[2026-07-19 00:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456806982912001,"power":27137,"unknown_190":206,"unknown_78":38656,"ignition":56,"odometer":null,"unknown_45":6754555042772658176}} 
[2026-07-19 00:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":136070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:50:00] local.INFO: GPS data processed {"connection_id":136070,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:50:00] local.INFO: Acknowledgment sent {"connection_id":136070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:50:31] local.INFO: TCP Data received {"connection_id":136070,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76ab7928012d5cb08006360460000601492c..."} 
[2026-07-19 00:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76ab7928012d5cb08006360460000601492c..."} 
[2026-07-19 00:50:31] local.INFO: Processing buffer {"connection_id":136070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76ab7928012d5cb08006360460000601492c..."} 
[2026-07-19 00:50:31] local.INFO: Packet analysis {"connection_id":136070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ab"} 
[2026-07-19 00:50:31] local.INFO: Extracted packet for processing {"connection_id":136070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ab"} 
[2026-07-19 00:50:31] local.INFO: GPS Element Parsed {"raw_longitude":761049216,"raw_latitude":104203360,"longitude_deg":76.1049216,"latitude_deg":10.420336,"altitude":6,"angle":329,"satellites":44,"speed":48,"hex_longitude":"2d5cb080","hex_latitude":"06360460","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807006464001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351799203552296960,"note":"Value kept but may cause issues"} 
[2026-07-19 00:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6684327036110311424,"note":"Value kept but may cause issues"} 
[2026-07-19 00:50:31] 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-07-19 00:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784402377000,"timestamp_ms":1784402377000,"timestamp_seconds":1784402377,"priority":1,"record_length":96,"hex_timestamp":"0000019f76ab7928"} 
[2026-07-19 00:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00: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-07-19 00: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":174,"data_length":795,"current_offset":136} 
[2026-07-19 00:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00: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-07-19 00:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":136070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":136070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":136070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807006464001,"66":27321,"163":206,"78":38656,"24":48,"16":351799203552296960,"45":6684327036110311424},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-07-19 00:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807006464001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:50:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-19 00:50:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 00:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351799203552296960,"km_value":351799203552296.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6684327036110311424,"description":"Unknown IO ID 45"} 
[2026-07-19 00:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807006464001,"power":27321,"unknown_163":206,"unknown_78":38656,"ignition":48,"odometer":null,"unknown_45":6684327036110311424}} 
[2026-07-19 00:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":136070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:50:31] local.INFO: GPS data processed {"connection_id":136070,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:50:31] local.INFO: Acknowledgment sent {"connection_id":136070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:50:33] local.INFO: TCP Data received {"connection_id":136071,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:50:33] local.INFO: Processing buffer {"connection_id":136071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:50:33] local.INFO: IMEI packet received {"connection_id":136071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 00:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":136071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:50:52] local.INFO: TCP Data received {"connection_id":137119,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:50:52] local.INFO: Processing buffer {"connection_id":137119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:50:52] local.INFO: IMEI packet received {"connection_id":137119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":137119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:50:55] local.INFO: TCP Data received {"connection_id":137119,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:50:55] local.INFO: Processing buffer {"connection_id":137119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:50:55] local.INFO: IMEI packet received {"connection_id":137119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":137119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:51:00] local.INFO: TCP Data received {"connection_id":137119,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:51:00] local.INFO: Processing buffer {"connection_id":137119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:51:00] local.INFO: IMEI packet received {"connection_id":137119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":137119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:51:02] local.INFO: TCP Data received {"connection_id":137119,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76ab9868012d5c9d00063626800006014c2d..."} 
[2026-07-19 00:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76ab9868012d5c9d00063626800006014c2d..."} 
[2026-07-19 00:51:02] local.INFO: Processing buffer {"connection_id":137119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76ab9868012d5c9d00063626800006014c2d..."} 
[2026-07-19 00:51:02] local.INFO: Packet analysis {"connection_id":137119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ab"} 
[2026-07-19 00:51:02] local.INFO: Extracted packet for processing {"connection_id":137119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ab"} 
[2026-07-19 00:51:02] local.INFO: GPS Element Parsed {"raw_longitude":761044224,"raw_latitude":104212096,"longitude_deg":76.1044224,"latitude_deg":10.4212096,"altitude":6,"angle":332,"satellites":45,"speed":51,"hex_longitude":"2d5c9d00","hex_latitude":"06362680","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807008512001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351799688883601408,"note":"Value kept but may cause issues"} 
[2026-07-19 00:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6678979011554861056,"note":"Value kept but may cause issues"} 
[2026-07-19 00:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 00:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784402385000,"timestamp_ms":1784402385000,"timestamp_seconds":1784402385,"priority":1,"record_length":96,"hex_timestamp":"0000019f76ab9868"} 
[2026-07-19 00:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:51: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-07-19 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 00:51: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-07-19 00: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-07-19 00:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":137119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":137119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":137119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807008512001,"66":27310,"175":206,"78":38656,"24":51,"16":351799688883601408,"45":6678979011554861056},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-07-19 00:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807008512001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:51:02] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-19 00:51:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 00:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351799688883601408,"km_value":351799688883601.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6678979011554861056,"description":"Unknown IO ID 45"} 
[2026-07-19 00:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807008512001,"power":27310,"unknown_175":206,"unknown_78":38656,"ignition":51,"odometer":null,"unknown_45":6678979011554861056}} 
[2026-07-19 00:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":137119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:51:02] local.INFO: GPS data processed {"connection_id":137119,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:51:02] local.INFO: Acknowledgment sent {"connection_id":137119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:51:34] local.INFO: TCP Data received {"connection_id":137119,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76abb3c0012d5c8d00063646500006014e2c..."} 
[2026-07-19 00:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76abb3c0012d5c8d00063646500006014e2c..."} 
[2026-07-19 00:51:34] local.INFO: Processing buffer {"connection_id":137119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76abb3c0012d5c8d00063646500006014e2c..."} 
[2026-07-19 00:51:34] local.INFO: Packet analysis {"connection_id":137119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ab"} 
[2026-07-19 00:51:34] local.INFO: Extracted packet for processing {"connection_id":137119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ab"} 
[2026-07-19 00:51:34] local.INFO: GPS Element Parsed {"raw_longitude":761040128,"raw_latitude":104220240,"longitude_deg":76.1040128,"latitude_deg":10.422024,"altitude":6,"angle":334,"satellites":44,"speed":52,"hex_longitude":"2d5c8d00","hex_latitude":"06364650","is_valid_coordinates":true} 
[2026-07-19 00:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807010560001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351800131265232896,"note":"Value kept but may cause issues"} 
[2026-07-19 00:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6673490249511239680,"note":"Value kept but may cause issues"} 
[2026-07-19 00:51:34] 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-07-19 00:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784402392000,"timestamp_ms":1784402392000,"timestamp_seconds":1784402392,"priority":1,"record_length":96,"hex_timestamp":"0000019f76abb3c0"} 
[2026-07-19 00:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-19 00:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 00:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":137119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":137119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":137119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807010560001,"66":27169,"175":206,"78":38656,"24":52,"16":351800131265232896,"45":6673490249511239680},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-07-19 00:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807010560001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:51:34] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-19 00:51:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 00:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351800131265232896,"km_value":351800131265232.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6673490249511239680,"description":"Unknown IO ID 45"} 
[2026-07-19 00:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807010560001,"power":27169,"unknown_175":206,"unknown_78":38656,"ignition":52,"odometer":null,"unknown_45":6673490249511239680}} 
[2026-07-19 00:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":137119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:51:34] local.INFO: GPS data processed {"connection_id":137119,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:51:34] local.INFO: Acknowledgment sent {"connection_id":137119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:52:02] local.INFO: TCP Data received {"connection_id":136188,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:52:02] local.INFO: Processing buffer {"connection_id":136188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:52:02] local.INFO: IMEI packet received {"connection_id":136188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":136188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:52:03] local.INFO: TCP Data received {"connection_id":136188,"ip":"42.106.6.44","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 00:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136188,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 00:52:03] local.INFO: Processing buffer {"connection_id":136188,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 00:52:03] local.INFO: IMEI packet received {"connection_id":136188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":136188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:52:04] local.INFO: TCP Data received {"connection_id":136188,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76abcf18012d5c7d80063666800006014e2d..."} 
[2026-07-19 00:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76abcf18012d5c7d80063666800006014e2d..."} 
[2026-07-19 00:52:04] local.INFO: Processing buffer {"connection_id":136188,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f76..."} 
[2026-07-19 00:52:04] local.INFO: IMEI packet received {"connection_id":136188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":136188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:52:11] local.INFO: TCP Data received {"connection_id":136188,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76abea70012d5c6e00063686480006014c2d..."} 
[2026-07-19 00:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76abea70012d5c6e00063686480006014c2d..."} 
[2026-07-19 00:52:11] local.INFO: Processing buffer {"connection_id":136188,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f76abcf18012d5c7d80063666800006014e2d..."} 
[2026-07-19 00:52:11] local.INFO: Packet analysis {"connection_id":136188,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f76ab"} 
[2026-07-19 00:52:11] local.INFO: Extracted packet for processing {"connection_id":136188,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ab"} 
[2026-07-19 00:52:11] local.INFO: GPS Element Parsed {"raw_longitude":761036160,"raw_latitude":104228480,"longitude_deg":76.103616,"latitude_deg":10.422848,"altitude":6,"angle":334,"satellites":45,"speed":51,"hex_longitude":"2d5c7d80","hex_latitude":"06366680","is_valid_coordinates":true} 
[2026-07-19 00:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807012352001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351800573646864384,"note":"Value kept but may cause issues"} 
[2026-07-19 00:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6668986649885954048,"note":"Value kept but may cause issues"} 
[2026-07-19 00:52:11] 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-07-19 00:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784402399000,"timestamp_ms":1784402399000,"timestamp_seconds":1784402399,"priority":1,"record_length":96,"hex_timestamp":"0000019f76abcf18"} 
[2026-07-19 00:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:52: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-07-19 00:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-19 00:52:11] 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-07-19 00:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 00:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":136188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":136188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":136188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807012352001,"66":27332,"175":206,"78":38656,"24":51,"16":351800573646864384,"45":6668986649885954048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-07-19 00:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807012352001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:52:11] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-19 00:52:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 00:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351800573646864384,"km_value":351800573646864.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6668986649885954048,"description":"Unknown IO ID 45"} 
[2026-07-19 00:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807012352001,"power":27332,"unknown_175":206,"unknown_78":38656,"ignition":51,"odometer":null,"unknown_45":6668986649885954048}} 
[2026-07-19 00:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":136188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:52:11] local.INFO: GPS data processed {"connection_id":136188,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:52:11] local.INFO: Acknowledgment sent {"connection_id":136188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:52:11] local.INFO: Packet analysis {"connection_id":136188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ab"} 
[2026-07-19 00:52:11] local.INFO: Extracted packet for processing {"connection_id":136188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ab"} 
[2026-07-19 00:52:11] local.INFO: GPS Element Parsed {"raw_longitude":761032192,"raw_latitude":104236616,"longitude_deg":76.1032192,"latitude_deg":10.4236616,"altitude":6,"angle":332,"satellites":45,"speed":50,"hex_longitude":"2d5c6e00","hex_latitude":"06368648","is_valid_coordinates":true} 
[2026-07-19 00:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 00:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807014144001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351801011733528576,"note":"Value kept but may cause issues"} 
[2026-07-19 00:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6664623787749048320,"note":"Value kept but may cause issues"} 
[2026-07-19 00:52:11] 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-07-19 00:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784402406000,"timestamp_ms":1784402406000,"timestamp_seconds":1784402406,"priority":1,"record_length":96,"hex_timestamp":"0000019f76abea70"} 
[2026-07-19 00:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:52: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-07-19 00:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-19 00:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 00:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":136188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":136188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":136188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807014144001,"66":27365,"175":206,"78":38656,"24":50,"16":351801011733528576,"45":6664623787749048320},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-07-19 00:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807014144001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:52:11] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-19 00:52:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 00:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351801011733528576,"km_value":351801011733528.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6664623787749048320,"description":"Unknown IO ID 45"} 
[2026-07-19 00:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807014144001,"power":27365,"unknown_175":206,"unknown_78":38656,"ignition":50,"odometer":null,"unknown_45":6664623787749048320}} 
[2026-07-19 00:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":136188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:52:11] local.INFO: GPS data processed {"connection_id":136188,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:52:11] local.INFO: Acknowledgment sent {"connection_id":136188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:52:12] local.INFO: TCP Data received {"connection_id":136188,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76ac09b0012d5c5cc00636a9300006014d2c..."} 
[2026-07-19 00:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76ac09b0012d5c5cc00636a9300006014d2c..."} 
[2026-07-19 00:52:12] local.INFO: Processing buffer {"connection_id":136188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76ac09b0012d5c5cc00636a9300006014d2c..."} 
[2026-07-19 00:52:12] local.INFO: Packet analysis {"connection_id":136188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ac"} 
[2026-07-19 00:52:12] local.INFO: Extracted packet for processing {"connection_id":136188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ac"} 
[2026-07-19 00:52:12] local.INFO: GPS Element Parsed {"raw_longitude":761027776,"raw_latitude":104245552,"longitude_deg":76.1027776,"latitude_deg":10.4245552,"altitude":6,"angle":333,"satellites":44,"speed":48,"hex_longitude":"2d5c5cc0","hex_latitude":"0636a930","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807015936001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351801492769865728,"note":"Value kept but may cause issues"} 
[2026-07-19 00:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6660260925612115968,"note":"Value kept but may cause issues"} 
[2026-07-19 00:52:12] 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-07-19 00:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784402414000,"timestamp_ms":1784402414000,"timestamp_seconds":1784402414,"priority":1,"record_length":96,"hex_timestamp":"0000019f76ac09b0"} 
[2026-07-19 00:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00: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-07-19 00: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-07-19 00:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":136188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":136188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":136188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807015936001,"66":27234,"175":206,"78":38656,"24":48,"16":351801492769865728,"45":6660260925612115968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-07-19 00:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807015936001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:52:12] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-19 00:52:12] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 00:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351801492769865728,"km_value":351801492769865.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6660260925612115968,"description":"Unknown IO ID 45"} 
[2026-07-19 00:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807015936001,"power":27234,"unknown_175":206,"unknown_78":38656,"ignition":48,"odometer":null,"unknown_45":6660260925612115968}} 
[2026-07-19 00:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":136188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:52:12] local.INFO: GPS data processed {"connection_id":136188,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:52:12] local.INFO: Acknowledgment sent {"connection_id":136188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:52:54] local.INFO: TCP Data received {"connection_id":137120,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:52:54] local.INFO: Processing buffer {"connection_id":137120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:52:54] local.INFO: IMEI packet received {"connection_id":137120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":137120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:53:00] local.INFO: TCP Data received {"connection_id":137120,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:53:00] local.INFO: Processing buffer {"connection_id":137120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:53:00] local.INFO: IMEI packet received {"connection_id":137120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":137120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:53:01] local.INFO: TCP Data received {"connection_id":137120,"ip":"42.106.6.44","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 00:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137120,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 00:53:01] local.INFO: Processing buffer {"connection_id":137120,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 00:53:01] local.INFO: IMEI packet received {"connection_id":137120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":137120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:55:53] local.INFO: TCP Data received {"connection_id":138520,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:55:53] local.INFO: Processing buffer {"connection_id":138520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:55:53] local.INFO: IMEI packet received {"connection_id":138520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 00:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":138520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:56:33] local.INFO: TCP Data received {"connection_id":138522,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:56:33] local.INFO: Processing buffer {"connection_id":138522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 00:56:33] local.INFO: IMEI packet received {"connection_id":138522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 00:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":138522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:58:05] local.INFO: TCP Data received {"connection_id":136077,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:58:05] local.INFO: Processing buffer {"connection_id":136077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:58:05] local.INFO: IMEI packet received {"connection_id":136077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":136077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:58:07] local.INFO: TCP Data received {"connection_id":136077,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76b1c670012d5a3f80063d22d8000301562b..."} 
[2026-07-19 00:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76b1c670012d5a3f80063d22d8000301562b..."} 
[2026-07-19 00:58:07] local.INFO: Processing buffer {"connection_id":136077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76b1c670012d5a3f80063d22d8000301562b..."} 
[2026-07-19 00:58:07] local.INFO: Packet analysis {"connection_id":136077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76b1"} 
[2026-07-19 00:58:07] local.INFO: Extracted packet for processing {"connection_id":136077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76b1"} 
[2026-07-19 00:58:07] local.INFO: GPS Element Parsed {"raw_longitude":760889216,"raw_latitude":104669912,"longitude_deg":76.0889216,"latitude_deg":10.4669912,"altitude":3,"angle":342,"satellites":43,"speed":27,"hex_longitude":"2d5a3f80","hex_latitude":"063d22d8","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807111680001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351823826599804928,"note":"Value kept but may cause issues"} 
[2026-07-19 00:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6505731163506644992,"note":"Value kept but may cause issues"} 
[2026-07-19 00:58: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-07-19 00:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784402790000,"timestamp_ms":1784402790000,"timestamp_seconds":1784402790,"priority":1,"record_length":96,"hex_timestamp":"0000019f76b1c670"} 
[2026-07-19 00:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:58: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-07-19 00: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-19 00:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00: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-07-19 00:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807111680001,"66":27104,"13":206,"78":38656,"24":27,"16":351823826599804928,"45":6505731163506644992},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-07-19 00:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807111680001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:58:07] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-19 00:58:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 00:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351823826599804928,"km_value":351823826599804.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6505731163506644992,"description":"Unknown IO ID 45"} 
[2026-07-19 00:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807111680001,"power":27104,"unknown_13":206,"unknown_78":38656,"ignition":27,"odometer":null,"unknown_45":6505731163506644992}} 
[2026-07-19 00:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":136077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:58:07] local.INFO: GPS data processed {"connection_id":136077,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:58:07] local.INFO: Acknowledgment sent {"connection_id":136077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:58:38] local.INFO: TCP Data received {"connection_id":136077,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76b204f0012d5a33c0063d43f8000501532c..."} 
[2026-07-19 00:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76b204f0012d5a33c0063d43f8000501532c..."} 
[2026-07-19 00:58:38] local.INFO: Processing buffer {"connection_id":136077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76b204f0012d5a33c0063d43f8000501532c..."} 
[2026-07-19 00:58:38] local.INFO: Packet analysis {"connection_id":136077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76b2"} 
[2026-07-19 00:58:38] local.INFO: Extracted packet for processing {"connection_id":136077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76b2"} 
[2026-07-19 00:58:38] local.INFO: GPS Element Parsed {"raw_longitude":760886208,"raw_latitude":104678392,"longitude_deg":76.0886208,"latitude_deg":10.4678392,"altitude":5,"angle":339,"satellites":44,"speed":22,"hex_longitude":"2d5a33c0","hex_latitude":"063d43f8","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807114240001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351824260391501824,"note":"Value kept but may cause issues"} 
[2026-07-19 00:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6503057151230138368,"note":"Value kept but may cause issues"} 
[2026-07-19 00:58:38] 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-07-19 00:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784402806000,"timestamp_ms":1784402806000,"timestamp_seconds":1784402806,"priority":1,"record_length":96,"hex_timestamp":"0000019f76b204f0"} 
[2026-07-19 00:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 00: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-19 00:58:38] 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-07-19 00: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-07-19 00:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807114240001,"66":27071,"13":206,"78":38656,"24":22,"16":351824260391501824,"45":6503057151230138368},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-07-19 00:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807114240001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:58:38] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-19 00:58:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 00:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351824260391501824,"km_value":351824260391501.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6503057151230138368,"description":"Unknown IO ID 45"} 
[2026-07-19 00:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807114240001,"power":27071,"unknown_13":206,"unknown_78":38656,"ignition":22,"odometer":null,"unknown_45":6503057151230138368}} 
[2026-07-19 00:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":136077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:58:38] local.INFO: GPS data processed {"connection_id":136077,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:58:38] local.INFO: Acknowledgment sent {"connection_id":136077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:59:00] local.INFO: TCP Data received {"connection_id":138523,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:59:00] local.INFO: Processing buffer {"connection_id":138523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:59:00] local.INFO: IMEI packet received {"connection_id":138523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":138523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 00:59:05] local.INFO: TCP Data received {"connection_id":138523,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:59:05] local.INFO: Processing buffer {"connection_id":138523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:59:05] local.INFO: IMEI packet received {"connection_id":138523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 00:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":138523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 00:59:06] local.INFO: TCP Data received {"connection_id":138523,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76b256f8012d5a2980063d5f880008014d2b..."} 
[2026-07-19 00:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76b256f8012d5a2980063d5f880008014d2b..."} 
[2026-07-19 00:59:06] local.INFO: Processing buffer {"connection_id":138523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76b256f8012d5a2980063d5f880008014d2b..."} 
[2026-07-19 00:59:06] local.INFO: Packet analysis {"connection_id":138523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76b2"} 
[2026-07-19 00:59:06] local.INFO: Extracted packet for processing {"connection_id":138523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76b2"} 
[2026-07-19 00:59:06] local.INFO: GPS Element Parsed {"raw_longitude":760883584,"raw_latitude":104685448,"longitude_deg":76.0883584,"latitude_deg":10.4685448,"altitude":8,"angle":333,"satellites":43,"speed":2,"hex_longitude":"2d5a2980","hex_latitude":"063d5f88","is_valid_coordinates":true} 
[2026-07-19 00: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-07-19 00:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807118336001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351824629758689280,"note":"Value kept but may cause issues"} 
[2026-07-19 00:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6499749820255959040,"note":"Value kept but may cause issues"} 
[2026-07-19 00:59:06] 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-07-19 00:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784402827000,"timestamp_ms":1784402827000,"timestamp_seconds":1784402827,"priority":1,"record_length":96,"hex_timestamp":"0000019f76b256f8"} 
[2026-07-19 00:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 00:59: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-07-19 00: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-07-19 00:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 00: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-07-19 00:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 00:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":138523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":138523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":138523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807118336001,"66":27365,"13":206,"78":38656,"24":2,"16":351824629758689280,"45":6499749820255959040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-07-19 00:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807118336001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:59:06] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-19 00:59:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 00:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351824629758689280,"km_value":351824629758689.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6499749820255959040,"description":"Unknown IO ID 45"} 
[2026-07-19 00:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807118336001,"power":27365,"unknown_13":206,"unknown_78":38656,"ignition":2,"odometer":null,"unknown_45":6499749820255959040}} 
[2026-07-19 00:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":138523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:59:06] local.INFO: GPS data processed {"connection_id":138523,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:59:06] local.INFO: Acknowledgment sent {"connection_id":138523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:59:10] local.INFO: TCP Data received {"connection_id":138523,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76b2a900012d5a2a40063d5c900007014d2b..."} 
[2026-07-19 00:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76b2a900012d5a2a40063d5c900007014d2b..."} 
[2026-07-19 00:59:10] local.INFO: Processing buffer {"connection_id":138523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76b2a900012d5a2a40063d5c900007014d2b..."} 
[2026-07-19 00:59:10] local.INFO: Packet analysis {"connection_id":138523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76b2"} 
[2026-07-19 00:59:10] local.INFO: Extracted packet for processing {"connection_id":138523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76b2"} 
[2026-07-19 00:59:10] local.INFO: GPS Element Parsed {"raw_longitude":760883776,"raw_latitude":104684688,"longitude_deg":76.0883776,"latitude_deg":10.4684688,"altitude":7,"angle":333,"satellites":43,"speed":3,"hex_longitude":"2d5a2a40","hex_latitude":"063d5c90","is_valid_coordinates":true} 
[2026-07-19 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-07-19 00:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807123712001,"note":"Value kept but may cause issues"} 
[2026-07-19 00:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351824677003329536,"note":"Value kept but may cause issues"} 
[2026-07-19 00:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6496864701746481152,"note":"Value kept but may cause issues"} 
[2026-07-19 00:59:10] 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-07-19 00:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784402848000,"timestamp_ms":1784402848000,"timestamp_seconds":1784402848,"priority":1,"record_length":96,"hex_timestamp":"0000019f76b2a900"} 
[2026-07-19 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-07-19 00:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 00:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 00:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 00:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 00:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 00:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 00:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 00:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 00:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807123712001,"66":27300,"13":206,"78":38656,"24":3,"16":351824677003329536,"45":6496864701746481152},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-07-19 00:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 00:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 00:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807123712001,"description":"Unknown IO ID 0"} 
[2026-07-19 00:59:10] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-19 00:59:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 00:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351824677003329536,"km_value":351824677003329.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 00:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6496864701746481152,"description":"Unknown IO ID 45"} 
[2026-07-19 00:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807123712001,"power":27300,"unknown_13":206,"unknown_78":38656,"ignition":3,"odometer":null,"unknown_45":6496864701746481152}} 
[2026-07-19 00:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":138523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 00:59:10] local.INFO: GPS data processed {"connection_id":138523,"processed":1,"errors":0,"total":1} 
[2026-07-19 00:59:10] local.INFO: Acknowledgment sent {"connection_id":138523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 00:59:55] local.INFO: TCP Data received {"connection_id":136192,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:59:55] local.INFO: Processing buffer {"connection_id":136192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 00:59:55] local.INFO: IMEI packet received {"connection_id":136192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 00:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":136192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:00:00] local.INFO: TCP Data received {"connection_id":136192,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:00:00] local.INFO: Processing buffer {"connection_id":136192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:00:00] local.INFO: IMEI packet received {"connection_id":136192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":136192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:00:02] local.INFO: TCP Data received {"connection_id":136192,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76b2fb08012d5a2d40063d55780007014d2c..."} 
[2026-07-19 01:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76b2fb08012d5a2d40063d55780007014d2c..."} 
[2026-07-19 01:00:02] local.INFO: Processing buffer {"connection_id":136192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76b2fb08012d5a2d40063d55780007014d2c..."} 
[2026-07-19 01:00:02] local.INFO: Packet analysis {"connection_id":136192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76b2"} 
[2026-07-19 01:00:02] local.INFO: Extracted packet for processing {"connection_id":136192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76b2"} 
[2026-07-19 01:00:02] local.INFO: GPS Element Parsed {"raw_longitude":760884544,"raw_latitude":104682872,"longitude_deg":76.0884544,"latitude_deg":10.4682872,"altitude":7,"angle":333,"satellites":44,"speed":4,"hex_longitude":"2d5a2d40","hex_latitude":"063d5578","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807129088001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351824780082544640,"note":"Value kept but may cause issues"} 
[2026-07-19 01:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6497075807978819584,"note":"Value kept but may cause issues"} 
[2026-07-19 01:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784402869000,"timestamp_ms":1784402869000,"timestamp_seconds":1784402869,"priority":1,"record_length":96,"hex_timestamp":"0000019f76b2fb08"} 
[2026-07-19 01:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:00: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-07-19 01: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-19 01:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807129088001,"66":27137,"195":206,"78":38656,"24":4,"16":351824780082544640,"45":6497075807978819584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,78,24,16,45]} 
[2026-07-19 01:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807129088001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:00:02] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-19 01:00:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 01:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351824780082544640,"km_value":351824780082544.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6497075807978819584,"description":"Unknown IO ID 45"} 
[2026-07-19 01:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807129088001,"power":27137,"unknown_195":206,"unknown_78":38656,"ignition":4,"odometer":null,"unknown_45":6497075807978819584}} 
[2026-07-19 01:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":136192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:00:02] local.INFO: GPS data processed {"connection_id":136192,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:00:02] local.INFO: Acknowledgment sent {"connection_id":136192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:00:34] local.INFO: TCP Data received {"connection_id":136192,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76b2fef0012d5a2d80063d55000007009a2c..."} 
[2026-07-19 01:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76b2fef0012d5a2d80063d55000007009a2c..."} 
[2026-07-19 01:00:34] local.INFO: Processing buffer {"connection_id":136192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76b2fef0012d5a2d80063d55000007009a2c..."} 
[2026-07-19 01:00:34] local.INFO: Packet analysis {"connection_id":136192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76b2"} 
[2026-07-19 01:00:34] local.INFO: Extracted packet for processing {"connection_id":136192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76b2"} 
[2026-07-19 01:00:34] local.INFO: GPS Element Parsed {"raw_longitude":760884608,"raw_latitude":104682752,"longitude_deg":76.0884608,"latitude_deg":10.4682752,"altitude":7,"angle":154,"satellites":44,"speed":5,"hex_longitude":"2d5a2d80","hex_latitude":"063d5500","is_valid_coordinates":true} 
[2026-07-19 01:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807134464001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351824784377511936,"note":"Value kept but may cause issues"} 
[2026-07-19 01:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6497920232908486656,"note":"Value kept but may cause issues"} 
[2026-07-19 01:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784402870000,"timestamp_ms":1784402870000,"timestamp_seconds":1784402870,"priority":1,"record_length":96,"hex_timestamp":"0000019f76b2fef0"} 
[2026-07-19 01:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-07-19 01:00:34] 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-07-19 01:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":136192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":136192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":136192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807134464001,"66":27300,"195":206,"78":38656,"24":5,"16":351824784377511936,"45":6497920232908486656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,78,24,16,45]} 
[2026-07-19 01:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807134464001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:00:34] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-19 01:00:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 01:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351824784377511936,"km_value":351824784377511.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6497920232908486656,"description":"Unknown IO ID 45"} 
[2026-07-19 01:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807134464001,"power":27300,"unknown_195":206,"unknown_78":38656,"ignition":5,"odometer":null,"unknown_45":6497920232908486656}} 
[2026-07-19 01:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":136192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:00:34] local.INFO: GPS data processed {"connection_id":136192,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:00:34] local.INFO: Acknowledgment sent {"connection_id":136192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:01:00] local.INFO: TCP Data received {"connection_id":138524,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:01:00] local.INFO: Processing buffer {"connection_id":138524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:01:00] local.INFO: IMEI packet received {"connection_id":138524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":138524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:01:05] local.INFO: TCP Data received {"connection_id":138524,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:01:05] local.INFO: Processing buffer {"connection_id":138524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:01:05] local.INFO: IMEI packet received {"connection_id":138524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":138524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:01:10] local.INFO: TCP Data received {"connection_id":138524,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76b350f8012d5a3140063d4b680007009e2c..."} 
[2026-07-19 01:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76b350f8012d5a3140063d4b680007009e2c..."} 
[2026-07-19 01:01:10] local.INFO: Processing buffer {"connection_id":138524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76b350f8012d5a3140063d4b680007009e2c..."} 
[2026-07-19 01:01:10] local.INFO: Packet analysis {"connection_id":138524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76b3"} 
[2026-07-19 01:01:10] local.INFO: Extracted packet for processing {"connection_id":138524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76b3"} 
[2026-07-19 01:01:10] local.INFO: GPS Element Parsed {"raw_longitude":760885568,"raw_latitude":104680296,"longitude_deg":76.0885568,"latitude_deg":10.4680296,"altitude":7,"angle":158,"satellites":44,"speed":6,"hex_longitude":"2d5a3140","hex_latitude":"063d4b68","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807134720001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351824917521498112,"note":"Value kept but may cause issues"} 
[2026-07-19 01:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6497990601652633600,"note":"Value kept but may cause issues"} 
[2026-07-19 01:01:10] 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-07-19 01:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784402891000,"timestamp_ms":1784402891000,"timestamp_seconds":1784402891,"priority":1,"record_length":96,"hex_timestamp":"0000019f76b350f8"} 
[2026-07-19 01:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:01: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-07-19 01: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-19 01:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807134720001,"66":27332,"13":206,"78":38656,"24":6,"16":351824917521498112,"45":6497990601652633600},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-07-19 01:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807134720001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:01:10] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-19 01:01:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 01:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351824917521498112,"km_value":351824917521498.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6497990601652633600,"description":"Unknown IO ID 45"} 
[2026-07-19 01:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807134720001,"power":27332,"unknown_13":206,"unknown_78":38656,"ignition":6,"odometer":null,"unknown_45":6497990601652633600}} 
[2026-07-19 01:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":138524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:01:10] local.INFO: GPS data processed {"connection_id":138524,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:01:10] local.INFO: Acknowledgment sent {"connection_id":138524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:01:11] local.INFO: TCP Data received {"connection_id":138524,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76b3a300012d5a3500063d41a0000700a02c..."} 
[2026-07-19 01:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76b3a300012d5a3500063d41a0000700a02c..."} 
[2026-07-19 01:01:11] local.INFO: Processing buffer {"connection_id":138524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76b3a300012d5a3500063d41a0000700a02c..."} 
[2026-07-19 01:01:11] local.INFO: Packet analysis {"connection_id":138524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76b3"} 
[2026-07-19 01:01:11] local.INFO: Extracted packet for processing {"connection_id":138524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76b3"} 
[2026-07-19 01:01:11] local.INFO: GPS Element Parsed {"raw_longitude":760886528,"raw_latitude":104677792,"longitude_deg":76.0886528,"latitude_deg":10.4677792,"altitude":7,"angle":160,"satellites":44,"speed":5,"hex_longitude":"2d5a3500","hex_latitude":"063d41a0","is_valid_coordinates":true} 
[2026-07-19 01:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807140096001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351825050665484288,"note":"Value kept but may cause issues"} 
[2026-07-19 01:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6499046132814669824,"note":"Value kept but may cause issues"} 
[2026-07-19 01:01:11] 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-07-19 01:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784402912000,"timestamp_ms":1784402912000,"timestamp_seconds":1784402912,"priority":1,"record_length":96,"hex_timestamp":"0000019f76b3a300"} 
[2026-07-19 01:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-19 01:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":138524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":138524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":138524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807140096001,"66":27343,"13":206,"78":38656,"24":5,"16":351825050665484288,"45":6499046132814669824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-07-19 01:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807140096001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:01:11] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-19 01:01:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 01:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351825050665484288,"km_value":351825050665484.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6499046132814669824,"description":"Unknown IO ID 45"} 
[2026-07-19 01:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807140096001,"power":27343,"unknown_13":206,"unknown_78":38656,"ignition":5,"odometer":null,"unknown_45":6499046132814669824}} 
[2026-07-19 01:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":138524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:01:11] local.INFO: GPS data processed {"connection_id":138524,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:01:11] local.INFO: Acknowledgment sent {"connection_id":138524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:01:55] local.INFO: TCP Data received {"connection_id":138525,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:01:55] local.INFO: Processing buffer {"connection_id":138525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:01:55] local.INFO: IMEI packet received {"connection_id":138525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":138525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:01:58] local.INFO: TCP Data received {"connection_id":137124,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:01:58] local.INFO: Processing buffer {"connection_id":137124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:01:58] local.INFO: IMEI packet received {"connection_id":137124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 01:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":137124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:02:00] local.INFO: TCP Data received {"connection_id":138525,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:02:00] local.INFO: Processing buffer {"connection_id":138525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:02:00] local.INFO: IMEI packet received {"connection_id":138525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":138525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:02:02] local.INFO: TCP Data received {"connection_id":138525,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76b5ae70012d5a3b00063d1ee0000501532d..."} 
[2026-07-19 01:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76b5ae70012d5a3b00063d1ee0000501532d..."} 
[2026-07-19 01:02:02] local.INFO: Processing buffer {"connection_id":138525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76b5ae70012d5a3b00063d1ee0000501532d..."} 
[2026-07-19 01:02:02] local.INFO: Packet analysis {"connection_id":138525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76b5"} 
[2026-07-19 01:02:02] local.INFO: Extracted packet for processing {"connection_id":138525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76b5"} 
[2026-07-19 01:02:02] local.INFO: GPS Element Parsed {"raw_longitude":760888064,"raw_latitude":104668896,"longitude_deg":76.0888064,"latitude_deg":10.4668896,"altitude":5,"angle":339,"satellites":45,"speed":16,"hex_longitude":"2d5a3b00","hex_latitude":"063d1ee0","is_valid_coordinates":true} 
[2026-07-19 01:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807179264001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351825767925022720,"note":"Value kept but may cause issues"} 
[2026-07-19 01:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6502283095043735552,"note":"Value kept but may cause issues"} 
[2026-07-19 01:02:02] 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-07-19 01:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784403046000,"timestamp_ms":1784403046000,"timestamp_seconds":1784403046,"priority":1,"record_length":96,"hex_timestamp":"0000019f76b5ae70"} 
[2026-07-19 01:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:02: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-07-19 01:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-19 01:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":138525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":138525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":138525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807179264001,"66":27213,"161":206,"78":38656,"24":16,"16":351825767925022720,"45":6502283095043735552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,78,24,16,45]} 
[2026-07-19 01:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807179264001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:02:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-19 01:02:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 01:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351825767925022720,"km_value":351825767925022.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6502283095043735552,"description":"Unknown IO ID 45"} 
[2026-07-19 01:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807179264001,"power":27213,"unknown_161":206,"unknown_78":38656,"ignition":16,"odometer":null,"unknown_45":6502283095043735552}} 
[2026-07-19 01:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":138525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:02:02] local.INFO: GPS data processed {"connection_id":138525,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:02:02] local.INFO: Acknowledgment sent {"connection_id":138525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:02:03] local.INFO: TCP Data received {"connection_id":138525,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76b5e908012d5a3000063d3fe0000301522b..."} 
[2026-07-19 01:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76b5e908012d5a3000063d3fe0000301522b..."} 
[2026-07-19 01:02:03] local.INFO: Processing buffer {"connection_id":138525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76b5e908012d5a3000063d3fe0000301522b..."} 
[2026-07-19 01:02:03] local.INFO: Packet analysis {"connection_id":138525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76b5"} 
[2026-07-19 01:02:03] local.INFO: Extracted packet for processing {"connection_id":138525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76b5"} 
[2026-07-19 01:02:03] local.INFO: GPS Element Parsed {"raw_longitude":760885248,"raw_latitude":104677344,"longitude_deg":76.0885248,"latitude_deg":10.4677344,"altitude":3,"angle":338,"satellites":43,"speed":32,"hex_longitude":"2d5a3000","hex_latitude":"063d3fe0","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807179776001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351826201716719616,"note":"Value kept but may cause issues"} 
[2026-07-19 01:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6501790513834680320,"note":"Value kept but may cause issues"} 
[2026-07-19 01:02:03] 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-07-19 01:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784403061000,"timestamp_ms":1784403061000,"timestamp_seconds":1784403061,"priority":1,"record_length":96,"hex_timestamp":"0000019f76b5e908"} 
[2026-07-19 01:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:02: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-07-19 01: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-19 01:02:03] 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-07-19 01: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-07-19 01:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":138525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":138525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":138525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807179776001,"66":27343,"161":206,"78":38656,"24":32,"16":351826201716719616,"45":6501790513834680320},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,78,24,16,45]} 
[2026-07-19 01:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807179776001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:02:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-19 01:02:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 01:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351826201716719616,"km_value":351826201716719.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6501790513834680320,"description":"Unknown IO ID 45"} 
[2026-07-19 01:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807179776001,"power":27343,"unknown_161":206,"unknown_78":38656,"ignition":32,"odometer":null,"unknown_45":6501790513834680320}} 
[2026-07-19 01:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":138525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:02:03] local.INFO: GPS data processed {"connection_id":138525,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:02:03] local.INFO: Acknowledgment sent {"connection_id":138525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:02:28] local.INFO: TCP Data received {"connection_id":136193,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:02:28] local.INFO: Processing buffer {"connection_id":136193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:02:28] local.INFO: IMEI packet received {"connection_id":136193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 01:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":136193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:02:34] local.INFO: TCP Data received {"connection_id":138525,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76b61400012d5a2240063d6388000301512b..."} 
[2026-07-19 01:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76b61400012d5a2240063d6388000301512b..."} 
[2026-07-19 01:02:34] local.INFO: Processing buffer {"connection_id":138525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76b61400012d5a2240063d6388000301512b..."} 
[2026-07-19 01:02:34] local.INFO: Packet analysis {"connection_id":138525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76b6"} 
[2026-07-19 01:02:34] local.INFO: Extracted packet for processing {"connection_id":138525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76b6"} 
[2026-07-19 01:02:34] local.INFO: GPS Element Parsed {"raw_longitude":760881728,"raw_latitude":104686472,"longitude_deg":76.0881728,"latitude_deg":10.4686472,"altitude":3,"angle":337,"satellites":43,"speed":38,"hex_longitude":"2d5a2240","hex_latitude":"063d6388","is_valid_coordinates":true} 
[2026-07-19 01:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807183616001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351826674163122176,"note":"Value kept but may cause issues"} 
[2026-07-19 01:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6498694289093025792,"note":"Value kept but may cause issues"} 
[2026-07-19 01:02:34] 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-07-19 01:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784403072000,"timestamp_ms":1784403072000,"timestamp_seconds":1784403072,"priority":1,"record_length":96,"hex_timestamp":"0000019f76b61400"} 
[2026-07-19 01:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 01:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":138525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":138525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":138525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807183616001,"66":27300,"161":206,"78":38656,"24":38,"16":351826674163122176,"45":6498694289093025792},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,78,24,16,45]} 
[2026-07-19 01:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807183616001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:02:34] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-19 01:02:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 01:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351826674163122176,"km_value":351826674163122.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6498694289093025792,"description":"Unknown IO ID 45"} 
[2026-07-19 01:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807183616001,"power":27300,"unknown_161":206,"unknown_78":38656,"ignition":38,"odometer":null,"unknown_45":6498694289093025792}} 
[2026-07-19 01:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":138525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:02:34] local.INFO: GPS data processed {"connection_id":138525,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:02:34] local.INFO: Acknowledgment sent {"connection_id":138525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:02:56] local.INFO: TCP Data received {"connection_id":136194,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:02:56] local.INFO: Processing buffer {"connection_id":136194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:02:56] local.INFO: IMEI packet received {"connection_id":136194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":136194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:02:59] local.INFO: TCP Data received {"connection_id":136194,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:02:59] local.INFO: Processing buffer {"connection_id":136194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:02:59] local.INFO: IMEI packet received {"connection_id":136194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":136194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:02:59] local.INFO: TCP Data received {"connection_id":136194,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76b63ef8012d5a13c0063d85900004014f2d..."} 
[2026-07-19 01:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76b63ef8012d5a13c0063d85900004014f2d..."} 
[2026-07-19 01:02:59] local.INFO: Processing buffer {"connection_id":136194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76b63ef8012d5a13c0063d85900004014f2d..."} 
[2026-07-19 01:02:59] local.INFO: Packet analysis {"connection_id":136194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76b6"} 
[2026-07-19 01:02:59] local.INFO: Extracted packet for processing {"connection_id":136194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76b6"} 
[2026-07-19 01:02:59] local.INFO: GPS Element Parsed {"raw_longitude":760878016,"raw_latitude":104695184,"longitude_deg":76.0878016,"latitude_deg":10.4695184,"altitude":4,"angle":335,"satellites":45,"speed":33,"hex_longitude":"2d5a13c0","hex_latitude":"063d8590","is_valid_coordinates":true} 
[2026-07-19 01:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807186432001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351827133724622848,"note":"Value kept but may cause issues"} 
[2026-07-19 01:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6494824008165591040,"note":"Value kept but may cause issues"} 
[2026-07-19 01:02:59] 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-07-19 01:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784403083000,"timestamp_ms":1784403083000,"timestamp_seconds":1784403083,"priority":1,"record_length":96,"hex_timestamp":"0000019f76b63ef8"} 
[2026-07-19 01:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-19 01:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":136194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":136194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":136194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807186432001,"66":27267,"161":206,"78":38656,"24":33,"16":351827133724622848,"45":6494824008165591040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,78,24,16,45]} 
[2026-07-19 01:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807186432001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:02:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-19 01:02:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 01:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351827133724622848,"km_value":351827133724622.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6494824008165591040,"description":"Unknown IO ID 45"} 
[2026-07-19 01:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807186432001,"power":27267,"unknown_161":206,"unknown_78":38656,"ignition":33,"odometer":null,"unknown_45":6494824008165591040}} 
[2026-07-19 01:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":136194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:02:59] local.INFO: GPS data processed {"connection_id":136194,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:02:59] local.INFO: Acknowledgment sent {"connection_id":136194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:03:31] local.INFO: TCP Data received {"connection_id":136194,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76b68930012d5a0480063da5800004014b29..."} 
[2026-07-19 01:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76b68930012d5a0480063da5800004014b29..."} 
[2026-07-19 01:03:31] local.INFO: Processing buffer {"connection_id":136194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76b68930012d5a0480063da5800004014b29..."} 
[2026-07-19 01:03:31] local.INFO: Packet analysis {"connection_id":136194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76b6"} 
[2026-07-19 01:03:31] local.INFO: Extracted packet for processing {"connection_id":136194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76b6"} 
[2026-07-19 01:03:31] local.INFO: GPS Element Parsed {"raw_longitude":760874112,"raw_latitude":104703360,"longitude_deg":76.0874112,"latitude_deg":10.470336,"altitude":4,"angle":331,"satellites":41,"speed":25,"hex_longitude":"2d5a0480","hex_latitude":"063da580","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807189248001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351827571811287040,"note":"Value kept but may cause issues"} 
[2026-07-19 01:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6490742621005516800,"note":"Value kept but may cause issues"} 
[2026-07-19 01:03:31] 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-07-19 01:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784403102000,"timestamp_ms":1784403102000,"timestamp_seconds":1784403102,"priority":1,"record_length":96,"hex_timestamp":"0000019f76b68930"} 
[2026-07-19 01:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01: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-07-19 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 01:03: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-07-19 01: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-07-19 01:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":136194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":136194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":136194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807189248001,"66":27365,"161":206,"78":38656,"24":25,"16":351827571811287040,"45":6490742621005516800},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,78,24,16,45]} 
[2026-07-19 01:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807189248001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:03:31] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-19 01:03:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 01:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351827571811287040,"km_value":351827571811287.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6490742621005516800,"description":"Unknown IO ID 45"} 
[2026-07-19 01:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807189248001,"power":27365,"unknown_161":206,"unknown_78":38656,"ignition":25,"odometer":null,"unknown_45":6490742621005516800}} 
[2026-07-19 01:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":136194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:03:31] local.INFO: GPS data processed {"connection_id":136194,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:03:31] local.INFO: Acknowledgment sent {"connection_id":136194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:03:54] local.INFO: TCP Data received {"connection_id":136196,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:03:54] local.INFO: Processing buffer {"connection_id":136196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:03:54] local.INFO: IMEI packet received {"connection_id":136196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":136196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:03:55] local.INFO: TCP Data received {"connection_id":136196,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:03:55] local.INFO: Processing buffer {"connection_id":136196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:03:55] local.INFO: IMEI packet received {"connection_id":136196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":136196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:04:00] local.INFO: TCP Data received {"connection_id":136196,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:04:00] local.INFO: Processing buffer {"connection_id":136196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:04:00] local.INFO: IMEI packet received {"connection_id":136196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":136196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:04:01] local.INFO: TCP Data received {"connection_id":136196,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76b6b810012d59f400063dc6880003014d2c..."} 
[2026-07-19 01:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76b6b810012d59f400063dc6880003014d2c..."} 
[2026-07-19 01:04:01] local.INFO: Processing buffer {"connection_id":136196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76b6b810012d59f400063dc6880003014d2c..."} 
[2026-07-19 01:04:01] local.INFO: Packet analysis {"connection_id":136196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76b6"} 
[2026-07-19 01:04:01] local.INFO: Extracted packet for processing {"connection_id":136196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76b6"} 
[2026-07-19 01:04:01] local.INFO: GPS Element Parsed {"raw_longitude":760869888,"raw_latitude":104711816,"longitude_deg":76.0869888,"latitude_deg":10.4711816,"altitude":3,"angle":333,"satellites":44,"speed":38,"hex_longitude":"2d59f400","hex_latitude":"063dc688","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807194112001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351828027077820416,"note":"Value kept but may cause issues"} 
[2026-07-19 01:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6486450127612772352,"note":"Value kept but may cause issues"} 
[2026-07-19 01:04: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-07-19 01:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784403114000,"timestamp_ms":1784403114000,"timestamp_seconds":1784403114,"priority":1,"record_length":96,"hex_timestamp":"0000019f76b6b810"} 
[2026-07-19 01:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 01:04: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-07-19 01: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-07-19 01:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807194112001,"66":27289,"13":206,"78":38656,"24":38,"16":351828027077820416,"45":6486450127612772352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-07-19 01:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807194112001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:04:01] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-19 01:04:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 01:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351828027077820416,"km_value":351828027077820.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6486450127612772352,"description":"Unknown IO ID 45"} 
[2026-07-19 01:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807194112001,"power":27289,"unknown_13":206,"unknown_78":38656,"ignition":38,"odometer":null,"unknown_45":6486450127612772352}} 
[2026-07-19 01:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":136196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:04:01] local.INFO: GPS data processed {"connection_id":136196,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:04:01] local.INFO: Acknowledgment sent {"connection_id":136196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:04:34] local.INFO: TCP Data received {"connection_id":136196,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76b84680012d58e540063f8fc8000601492e..."} 
[2026-07-19 01:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76b84680012d58e540063f8fc8000601492e..."} 
[2026-07-19 01:04:34] local.INFO: Processing buffer {"connection_id":136196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76b84680012d58e540063f8fc8000601492e..."} 
[2026-07-19 01:04:34] local.INFO: Packet analysis {"connection_id":136196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76b8"} 
[2026-07-19 01:04:34] local.INFO: Extracted packet for processing {"connection_id":136196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76b8"} 
[2026-07-19 01:04:34] local.INFO: GPS Element Parsed {"raw_longitude":760800576,"raw_latitude":104828872,"longitude_deg":76.0800576,"latitude_deg":10.4828872,"altitude":6,"angle":329,"satellites":46,"speed":54,"hex_longitude":"2d58e540","hex_latitude":"063f8fc8","is_valid_coordinates":true} 
[2026-07-19 01:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807221504001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351834598377783296,"note":"Value kept but may cause issues"} 
[2026-07-19 01:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6411014833884233728,"note":"Value kept but may cause issues"} 
[2026-07-19 01:04: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-07-19 01:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784403216000,"timestamp_ms":1784403216000,"timestamp_seconds":1784403216,"priority":1,"record_length":96,"hex_timestamp":"0000019f76b84680"} 
[2026-07-19 01:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 01:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":136196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":136196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":136196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807221504001,"66":27365,"11":206,"78":38656,"24":54,"16":351834598377783296,"45":6411014833884233728},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-07-19 01:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807221504001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:04:34] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-19 01:04:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 01:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351834598377783296,"km_value":351834598377783.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6411014833884233728,"description":"Unknown IO ID 45"} 
[2026-07-19 01:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807221504001,"power":27365,"unknown_11":206,"unknown_78":38656,"ignition":54,"odometer":null,"unknown_45":6411014833884233728}} 
[2026-07-19 01:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":136196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:04:34] local.INFO: GPS data processed {"connection_id":136196,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:04:34] local.INFO: Acknowledgment sent {"connection_id":136196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:05:03] local.INFO: TCP Data received {"connection_id":138526,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:05:03] local.INFO: Processing buffer {"connection_id":138526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:05:03] local.INFO: IMEI packet received {"connection_id":138526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":138526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:05:05] local.INFO: TCP Data received {"connection_id":138526,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:05:05] local.INFO: Processing buffer {"connection_id":138526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:05:05] local.INFO: IMEI packet received {"connection_id":138526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":138526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:05:10] local.INFO: TCP Data received {"connection_id":138526,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:05:10] local.INFO: Processing buffer {"connection_id":138526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:05:10] local.INFO: IMEI packet received {"connection_id":138526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":138526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:05:11] local.INFO: TCP Data received {"connection_id":138526,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76b861d8012d58d2c0063faf900007014a2e..."} 
[2026-07-19 01:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76b861d8012d58d2c0063faf900007014a2e..."} 
[2026-07-19 01:05:11] local.INFO: Processing buffer {"connection_id":138526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76b861d8012d58d2c0063faf900007014a2e..."} 
[2026-07-19 01:05:11] local.INFO: Packet analysis {"connection_id":138526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76b8"} 
[2026-07-19 01:05:11] local.INFO: Extracted packet for processing {"connection_id":138526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76b8"} 
[2026-07-19 01:05:11] local.INFO: GPS Element Parsed {"raw_longitude":760795840,"raw_latitude":104837008,"longitude_deg":76.079584,"latitude_deg":10.4837008,"altitude":7,"angle":330,"satellites":46,"speed":52,"hex_longitude":"2d58d2c0","hex_latitude":"063faf90","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807223296001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351835053644316672,"note":"Value kept but may cause issues"} 
[2026-07-19 01:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6405596440584767488,"note":"Value kept but may cause issues"} 
[2026-07-19 01:05:11] 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-07-19 01:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784403223000,"timestamp_ms":1784403223000,"timestamp_seconds":1784403223,"priority":1,"record_length":96,"hex_timestamp":"0000019f76b861d8"} 
[2026-07-19 01:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 01:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":138526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":138526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":138526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807223296001,"66":27343,"11":206,"78":38656,"24":52,"16":351835053644316672,"45":6405596440584767488},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-07-19 01:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807223296001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:05:11] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-19 01:05:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-19 01:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351835053644316672,"km_value":351835053644316.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6405596440584767488,"description":"Unknown IO ID 45"} 
[2026-07-19 01:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807223296001,"power":27343,"unknown_11":206,"unknown_78":38656,"ignition":52,"odometer":null,"unknown_45":6405596440584767488}} 
[2026-07-19 01:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":138526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:05:11] local.INFO: GPS data processed {"connection_id":138526,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:05:11] local.INFO: Acknowledgment sent {"connection_id":138526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:05:53] local.INFO: TCP Data received {"connection_id":136078,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:05:53] local.INFO: Processing buffer {"connection_id":136078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:05:53] local.INFO: IMEI packet received {"connection_id":136078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":136078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:05:56] local.INFO: TCP Data received {"connection_id":136078,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:05:56] local.INFO: Processing buffer {"connection_id":136078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:05:56] local.INFO: IMEI packet received {"connection_id":136078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":136078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:06:00] local.INFO: TCP Data received {"connection_id":136078,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:06:00] local.INFO: Processing buffer {"connection_id":136078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:06:00] local.INFO: IMEI packet received {"connection_id":136078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":136078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:06:01] local.INFO: TCP Data received {"connection_id":136078,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76b99288012d57a9400640b4c8000601252c..."} 
[2026-07-19 01:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76b99288012d57a9400640b4c8000601252c..."} 
[2026-07-19 01:06:01] local.INFO: Processing buffer {"connection_id":136078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76b99288012d57a9400640b4c8000601252c..."} 
[2026-07-19 01:06:01] local.INFO: Packet analysis {"connection_id":136078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76b9"} 
[2026-07-19 01:06:01] local.INFO: Extracted packet for processing {"connection_id":136078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76b9"} 
[2026-07-19 01:06:01] local.INFO: GPS Element Parsed {"raw_longitude":760719680,"raw_latitude":104903880,"longitude_deg":76.071968,"latitude_deg":10.490388,"altitude":6,"angle":293,"satellites":44,"speed":55,"hex_longitude":"2d57a940","hex_latitude":"0640b4c8","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807243264001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351840104525856768,"note":"Value kept but may cause issues"} 
[2026-07-19 01:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6326431603403067392,"note":"Value kept but may cause issues"} 
[2026-07-19 01:06:01] 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-07-19 01:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784403301000,"timestamp_ms":1784403301000,"timestamp_seconds":1784403301,"priority":1,"record_length":96,"hex_timestamp":"0000019f76b99288"} 
[2026-07-19 01:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-19 01:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807243264001,"66":27321,"111":206,"78":38912,"24":55,"16":351840104525856768,"45":6326431603403067392},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-07-19 01:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807243264001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:06:01] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-19 01:06:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351840104525856768,"km_value":351840104525856.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6326431603403067392,"description":"Unknown IO ID 45"} 
[2026-07-19 01:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807243264001,"power":27321,"unknown_111":206,"unknown_78":38912,"ignition":55,"odometer":null,"unknown_45":6326431603403067392}} 
[2026-07-19 01:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":136078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:06:01] local.INFO: GPS data processed {"connection_id":136078,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:06:01] local.INFO: Acknowledgment sent {"connection_id":136078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:06:32] local.INFO: TCP Data received {"connection_id":136078,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76b9ade0012d5786c00640c458000801252b..."} 
[2026-07-19 01:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76b9ade0012d5786c00640c458000801252b..."} 
[2026-07-19 01:06:32] local.INFO: Processing buffer {"connection_id":136078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76b9ade0012d5786c00640c458000801252b..."} 
[2026-07-19 01:06:32] local.INFO: Packet analysis {"connection_id":136078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76b9"} 
[2026-07-19 01:06:32] local.INFO: Extracted packet for processing {"connection_id":136078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76b9"} 
[2026-07-19 01:06:32] local.INFO: GPS Element Parsed {"raw_longitude":760710848,"raw_latitude":104907864,"longitude_deg":76.0710848,"latitude_deg":10.4907864,"altitude":8,"angle":293,"satellites":43,"speed":53,"hex_longitude":"2d5786c0","hex_latitude":"0640c458","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807245056001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351840568382324736,"note":"Value kept but may cause issues"} 
[2026-07-19 01:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6316650347963402240,"note":"Value kept but may cause issues"} 
[2026-07-19 01:06:32] 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-07-19 01:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784403308000,"timestamp_ms":1784403308000,"timestamp_seconds":1784403308,"priority":1,"record_length":96,"hex_timestamp":"0000019f76b9ade0"} 
[2026-07-19 01:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:06: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-07-19 01:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 01:06: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-07-19 01: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-07-19 01:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807245056001,"66":27267,"111":206,"78":38912,"24":53,"16":351840568382324736,"45":6316650347963402240},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-07-19 01:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807245056001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:06:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-19 01:06:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351840568382324736,"km_value":351840568382324.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6316650347963402240,"description":"Unknown IO ID 45"} 
[2026-07-19 01:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807245056001,"power":27267,"unknown_111":206,"unknown_78":38912,"ignition":53,"odometer":null,"unknown_45":6316650347963402240}} 
[2026-07-19 01:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":136078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:06:32] local.INFO: GPS data processed {"connection_id":136078,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:06:32] local.INFO: Acknowledgment sent {"connection_id":136078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:06:55] local.INFO: TCP Data received {"connection_id":136198,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:06:55] local.INFO: Processing buffer {"connection_id":136198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:06:55] local.INFO: IMEI packet received {"connection_id":136198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":136198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:07:00] local.INFO: TCP Data received {"connection_id":136198,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:07:00] local.INFO: Processing buffer {"connection_id":136198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:07:00] local.INFO: IMEI packet received {"connection_id":136198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":136198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:07:01] local.INFO: TCP Data received {"connection_id":136198,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76b9c938012d5766800640d300000a01272b..."} 
[2026-07-19 01:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76b9c938012d5766800640d300000a01272b..."} 
[2026-07-19 01:07:01] local.INFO: Processing buffer {"connection_id":136198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76b9c938012d5766800640d300000a01272b..."} 
[2026-07-19 01:07:01] local.INFO: Packet analysis {"connection_id":136198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76b9"} 
[2026-07-19 01:07:01] local.INFO: Extracted packet for processing {"connection_id":136198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76b9"} 
[2026-07-19 01:07:01] local.INFO: GPS Element Parsed {"raw_longitude":760702592,"raw_latitude":104911616,"longitude_deg":76.0702592,"latitude_deg":10.4911616,"altitude":10,"angle":295,"satellites":43,"speed":49,"hex_longitude":"2d576680","hex_latitude":"0640d300","is_valid_coordinates":true} 
[2026-07-19 01:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807246848001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351841002174021632,"note":"Value kept but may cause issues"} 
[2026-07-19 01:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6306939461267904512,"note":"Value kept but may cause issues"} 
[2026-07-19 01:07:01] 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-07-19 01:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784403315000,"timestamp_ms":1784403315000,"timestamp_seconds":1784403315,"priority":1,"record_length":96,"hex_timestamp":"0000019f76b9c938"} 
[2026-07-19 01:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:07: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-07-19 01:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 01:07: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-07-19 01:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807246848001,"66":27321,"111":206,"78":38912,"24":49,"16":351841002174021632,"45":6306939461267904512},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-07-19 01:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807246848001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:07:01] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-19 01:07:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351841002174021632,"km_value":351841002174021.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6306939461267904512,"description":"Unknown IO ID 45"} 
[2026-07-19 01:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807246848001,"power":27321,"unknown_111":206,"unknown_78":38912,"ignition":49,"odometer":null,"unknown_45":6306939461267904512}} 
[2026-07-19 01:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":136198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:07:01] local.INFO: GPS data processed {"connection_id":136198,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:07:01] local.INFO: Acknowledgment sent {"connection_id":136198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:07:32] local.INFO: TCP Data received {"connection_id":136198,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76bb0988012d5667c006420328000701492e..."} 
[2026-07-19 01:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76bb0988012d5667c006420328000701492e..."} 
[2026-07-19 01:07:32] local.INFO: Processing buffer {"connection_id":136198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76bb0988012d5667c006420328000701492e..."} 
[2026-07-19 01:07:32] local.INFO: Packet analysis {"connection_id":136198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76bb"} 
[2026-07-19 01:07:32] local.INFO: Extracted packet for processing {"connection_id":136198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76bb"} 
[2026-07-19 01:07:32] local.INFO: GPS Element Parsed {"raw_longitude":760637376,"raw_latitude":104989480,"longitude_deg":76.0637376,"latitude_deg":10.498948,"altitude":7,"angle":329,"satellites":46,"speed":50,"hex_longitude":"2d5667c0","hex_latitude":"06420328","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807267840001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351846061645496320,"note":"Value kept but may cause issues"} 
[2026-07-19 01:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6231011586319079424,"note":"Value kept but may cause issues"} 
[2026-07-19 01:07: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-07-19 01:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784403397000,"timestamp_ms":1784403397000,"timestamp_seconds":1784403397,"priority":1,"record_length":96,"hex_timestamp":"0000019f76bb0988"} 
[2026-07-19 01:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:07: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-07-19 01: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-19 01:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807267840001,"66":27343,"216":206,"78":38912,"24":50,"16":351846061645496320,"45":6231011586319079424},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-07-19 01:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807267840001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:07:32] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-19 01:07:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351846061645496320,"km_value":351846061645496.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6231011586319079424,"description":"Unknown IO ID 45"} 
[2026-07-19 01:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807267840001,"power":27343,"unknown_216":206,"unknown_78":38912,"ignition":50,"odometer":null,"unknown_45":6231011586319079424}} 
[2026-07-19 01:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":136198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:07:32] local.INFO: GPS data processed {"connection_id":136198,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:07:32] local.INFO: Acknowledgment sent {"connection_id":136198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:07:48] local.INFO: TCP Data received {"connection_id":136079,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136079,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:07:48] local.INFO: Processing buffer {"connection_id":136079,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:07:48] local.INFO: IMEI packet received {"connection_id":136079,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 01:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":136079,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:08:00] local.INFO: TCP Data received {"connection_id":136080,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:08:00] local.INFO: Processing buffer {"connection_id":136080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:08:00] local.INFO: IMEI packet received {"connection_id":136080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":136080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:08:03] local.INFO: TCP Data received {"connection_id":136080,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:08:03] local.INFO: Processing buffer {"connection_id":136080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:08:03] local.INFO: IMEI packet received {"connection_id":136080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":136080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:08:04] local.INFO: TCP Data received {"connection_id":136080,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76bb28c8012d56528006422458000701472e..."} 
[2026-07-19 01:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76bb28c8012d56528006422458000701472e..."} 
[2026-07-19 01:08:04] local.INFO: Processing buffer {"connection_id":136080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76bb28c8012d56528006422458000701472e..."} 
[2026-07-19 01:08:04] local.INFO: Packet analysis {"connection_id":136080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76bb"} 
[2026-07-19 01:08:04] local.INFO: Extracted packet for processing {"connection_id":136080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76bb"} 
[2026-07-19 01:08:04] local.INFO: GPS Element Parsed {"raw_longitude":760631936,"raw_latitude":104997976,"longitude_deg":76.0631936,"latitude_deg":10.4997976,"altitude":7,"angle":327,"satellites":46,"speed":49,"hex_longitude":"2d565280","hex_latitude":"06422458","is_valid_coordinates":true} 
[2026-07-19 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-07-19 01:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807269632001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351846546976800768,"note":"Value kept but may cause issues"} 
[2026-07-19 01:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6226156142972839936,"note":"Value kept but may cause issues"} 
[2026-07-19 01:08:04] 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-07-19 01:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784403405000,"timestamp_ms":1784403405000,"timestamp_seconds":1784403405,"priority":1,"record_length":96,"hex_timestamp":"0000019f76bb28c8"} 
[2026-07-19 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-07-19 01:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 01:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 01:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":136080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":136080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":136080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807269632001,"66":27321,"216":206,"78":38912,"24":49,"16":351846546976800768,"45":6226156142972839936},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-07-19 01:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807269632001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:08:04] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-19 01:08:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351846546976800768,"km_value":351846546976800.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6226156142972839936,"description":"Unknown IO ID 45"} 
[2026-07-19 01:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807269632001,"power":27321,"unknown_216":206,"unknown_78":38912,"ignition":49,"odometer":null,"unknown_45":6226156142972839936}} 
[2026-07-19 01:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":136080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:08:04] local.INFO: GPS data processed {"connection_id":136080,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:08:04] local.INFO: Acknowledgment sent {"connection_id":136080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:08:05] local.INFO: TCP Data received {"connection_id":136080,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76bb4808012d563dc006424490000701472e..."} 
[2026-07-19 01:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76bb4808012d563dc006424490000701472e..."} 
[2026-07-19 01:08:05] local.INFO: Processing buffer {"connection_id":136080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76bb4808012d563dc006424490000701472e..."} 
[2026-07-19 01:08:05] local.INFO: Packet analysis {"connection_id":136080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76bb"} 
[2026-07-19 01:08:05] local.INFO: Extracted packet for processing {"connection_id":136080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76bb"} 
[2026-07-19 01:08:05] local.INFO: GPS Element Parsed {"raw_longitude":760626624,"raw_latitude":105006224,"longitude_deg":76.0626624,"latitude_deg":10.5006224,"altitude":7,"angle":327,"satellites":46,"speed":48,"hex_longitude":"2d563dc0","hex_latitude":"06424490","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807271680001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351847023718170624,"note":"Value kept but may cause issues"} 
[2026-07-19 01:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6220174799719913472,"note":"Value kept but may cause issues"} 
[2026-07-19 01:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784403413000,"timestamp_ms":1784403413000,"timestamp_seconds":1784403413,"priority":1,"record_length":96,"hex_timestamp":"0000019f76bb4808"} 
[2026-07-19 01:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:08: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-07-19 01: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 01:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":136080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":136080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":136080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807271680001,"66":27463,"216":206,"78":38912,"24":48,"16":351847023718170624,"45":6220174799719913472},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-07-19 01:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807271680001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:08:05] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-19 01:08:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351847023718170624,"km_value":351847023718170.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6220174799719913472,"description":"Unknown IO ID 45"} 
[2026-07-19 01:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807271680001,"power":27463,"unknown_216":206,"unknown_78":38912,"ignition":48,"odometer":null,"unknown_45":6220174799719913472}} 
[2026-07-19 01:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":136080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:08:05] local.INFO: GPS data processed {"connection_id":136080,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:08:05] local.INFO: Acknowledgment sent {"connection_id":136080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:08:28] local.INFO: TCP Data received {"connection_id":137126,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:08:28] local.INFO: Processing buffer {"connection_id":137126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:08:28] local.INFO: IMEI packet received {"connection_id":137126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 01:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":137126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:08:37] local.INFO: TCP Data received {"connection_id":136080,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76bb6748012d562980064265100006014a2f..."} 
[2026-07-19 01:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76bb6748012d562980064265100006014a2f..."} 
[2026-07-19 01:08:37] local.INFO: Processing buffer {"connection_id":136080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76bb6748012d562980064265100006014a2f..."} 
[2026-07-19 01:08:37] local.INFO: Packet analysis {"connection_id":136080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76bb"} 
[2026-07-19 01:08:37] local.INFO: Extracted packet for processing {"connection_id":136080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76bb"} 
[2026-07-19 01:08:37] local.INFO: GPS Element Parsed {"raw_longitude":760621440,"raw_latitude":105014544,"longitude_deg":76.062144,"latitude_deg":10.5014544,"altitude":6,"angle":330,"satellites":47,"speed":48,"hex_longitude":"2d562980","hex_latitude":"06426510","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807273728001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351847496164573184,"note":"Value kept but may cause issues"} 
[2026-07-19 01:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6214334193955278848,"note":"Value kept but may cause issues"} 
[2026-07-19 01:08:37] 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-07-19 01:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784403421000,"timestamp_ms":1784403421000,"timestamp_seconds":1784403421,"priority":1,"record_length":96,"hex_timestamp":"0000019f76bb6748"} 
[2026-07-19 01:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-19 01:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807273728001,"66":27365,"216":206,"78":38912,"24":48,"16":351847496164573184,"45":6214334193955278848},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-07-19 01:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807273728001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:08:37] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-19 01:08:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351847496164573184,"km_value":351847496164573.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6214334193955278848,"description":"Unknown IO ID 45"} 
[2026-07-19 01:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807273728001,"power":27365,"unknown_216":206,"unknown_78":38912,"ignition":48,"odometer":null,"unknown_45":6214334193955278848}} 
[2026-07-19 01:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":136080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:08:37] local.INFO: GPS data processed {"connection_id":136080,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:08:37] local.INFO: Acknowledgment sent {"connection_id":136080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:08:55] local.INFO: TCP Data received {"connection_id":136199,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:08:55] local.INFO: Processing buffer {"connection_id":136199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:08:55] local.INFO: IMEI packet received {"connection_id":136199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":136199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:08:58] local.INFO: TCP Data received {"connection_id":136199,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:08:58] local.INFO: Processing buffer {"connection_id":136199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:08:58] local.INFO: IMEI packet received {"connection_id":136199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":136199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:09:03] local.INFO: TCP Data received {"connection_id":136199,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76bb8688012d561740064286100006014b2f..."} 
[2026-07-19 01:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76bb8688012d561740064286100006014b2f..."} 
[2026-07-19 01:09:03] local.INFO: Processing buffer {"connection_id":136199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76bb8688012d561740064286100006014b2f..."} 
[2026-07-19 01:09:03] local.INFO: Packet analysis {"connection_id":136199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76bb"} 
[2026-07-19 01:09:03] local.INFO: Extracted packet for processing {"connection_id":136199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76bb"} 
[2026-07-19 01:09:03] local.INFO: GPS Element Parsed {"raw_longitude":760616768,"raw_latitude":105022992,"longitude_deg":76.0616768,"latitude_deg":10.5022992,"altitude":6,"angle":331,"satellites":47,"speed":47,"hex_longitude":"2d561740","hex_latitude":"06428610","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807275776001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351847964316008448,"note":"Value kept but may cause issues"} 
[2026-07-19 01:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6208634325679017984,"note":"Value kept but may cause issues"} 
[2026-07-19 01:09:03] 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-07-19 01:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784403429000,"timestamp_ms":1784403429000,"timestamp_seconds":1784403429,"priority":1,"record_length":96,"hex_timestamp":"0000019f76bb8688"} 
[2026-07-19 01:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 01:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":136199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":136199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":136199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807275776001,"66":27213,"216":206,"78":38912,"24":47,"16":351847964316008448,"45":6208634325679017984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-07-19 01:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807275776001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:09:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-19 01:09:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351847964316008448,"km_value":351847964316008.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6208634325679017984,"description":"Unknown IO ID 45"} 
[2026-07-19 01:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807275776001,"power":27213,"unknown_216":206,"unknown_78":38912,"ignition":47,"odometer":null,"unknown_45":6208634325679017984}} 
[2026-07-19 01:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":136199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:09:03] local.INFO: GPS data processed {"connection_id":136199,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:09:03] local.INFO: Acknowledgment sent {"connection_id":136199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:09:04] local.INFO: TCP Data received {"connection_id":136199,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76bba5c8012d5607400642a6c00007014f2e..."} 
[2026-07-19 01:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76bba5c8012d5607400642a6c00007014f2e..."} 
[2026-07-19 01:09:04] local.INFO: Processing buffer {"connection_id":136199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76bba5c8012d5607400642a6c00007014f2e..."} 
[2026-07-19 01:09:04] local.INFO: Packet analysis {"connection_id":136199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76bb"} 
[2026-07-19 01:09:04] local.INFO: Extracted packet for processing {"connection_id":136199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76bb"} 
[2026-07-19 01:09:04] local.INFO: GPS Element Parsed {"raw_longitude":760612672,"raw_latitude":105031360,"longitude_deg":76.0612672,"latitude_deg":10.503136,"altitude":7,"angle":335,"satellites":46,"speed":45,"hex_longitude":"2d560740","hex_latitude":"0642a6c0","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807277824001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351848410992607232,"note":"Value kept but may cause issues"} 
[2026-07-19 01:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6203497407356211200,"note":"Value kept but may cause issues"} 
[2026-07-19 01:09:04] 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-07-19 01:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784403437000,"timestamp_ms":1784403437000,"timestamp_seconds":1784403437,"priority":1,"record_length":96,"hex_timestamp":"0000019f76bba5c8"} 
[2026-07-19 01:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-19 01:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":136199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":136199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":136199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807277824001,"66":27343,"216":206,"78":38912,"24":45,"16":351848410992607232,"45":6203497407356211200},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-07-19 01:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807277824001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:09:04] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-19 01:09:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351848410992607232,"km_value":351848410992607.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6203497407356211200,"description":"Unknown IO ID 45"} 
[2026-07-19 01:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807277824001,"power":27343,"unknown_216":206,"unknown_78":38912,"ignition":45,"odometer":null,"unknown_45":6203497407356211200}} 
[2026-07-19 01:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":136199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:09:04] local.INFO: GPS data processed {"connection_id":136199,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:09:04] local.INFO: Acknowledgment sent {"connection_id":136199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:09:36] local.INFO: TCP Data received {"connection_id":136199,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76bbc508012d55f7c00642c7580006014f2f..."} 
[2026-07-19 01:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76bbc508012d55f7c00642c7580006014f2f..."} 
[2026-07-19 01:09:36] local.INFO: Processing buffer {"connection_id":136199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76bbc508012d55f7c00642c7580006014f2f..."} 
[2026-07-19 01:09:36] local.INFO: Packet analysis {"connection_id":136199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76bb"} 
[2026-07-19 01:09:36] local.INFO: Extracted packet for processing {"connection_id":136199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76bb"} 
[2026-07-19 01:09:36] local.INFO: GPS Element Parsed {"raw_longitude":760608704,"raw_latitude":105039704,"longitude_deg":76.0608704,"latitude_deg":10.5039704,"altitude":6,"angle":335,"satellites":47,"speed":47,"hex_longitude":"2d55f7c0","hex_latitude":"0642c758","is_valid_coordinates":true} 
[2026-07-19 01:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807279872001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351848857669206016,"note":"Value kept but may cause issues"} 
[2026-07-19 01:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6198993807730982912,"note":"Value kept but may cause issues"} 
[2026-07-19 01:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784403445000,"timestamp_ms":1784403445000,"timestamp_seconds":1784403445,"priority":1,"record_length":96,"hex_timestamp":"0000019f76bbc508"} 
[2026-07-19 01:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 01:09: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-07-19 01:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807279872001,"66":27332,"216":206,"78":38912,"24":47,"16":351848857669206016,"45":6198993807730982912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-07-19 01:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807279872001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:09:36] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-19 01:09:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351848857669206016,"km_value":351848857669206.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6198993807730982912,"description":"Unknown IO ID 45"} 
[2026-07-19 01:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807279872001,"power":27332,"unknown_216":206,"unknown_78":38912,"ignition":47,"odometer":null,"unknown_45":6198993807730982912}} 
[2026-07-19 01:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":136199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:09:36] local.INFO: GPS data processed {"connection_id":136199,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:09:36] local.INFO: Acknowledgment sent {"connection_id":136199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:09:55] local.INFO: TCP Data received {"connection_id":138528,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:09:55] local.INFO: Processing buffer {"connection_id":138528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:09:55] local.INFO: IMEI packet received {"connection_id":138528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":138528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:10:00] local.INFO: TCP Data received {"connection_id":138528,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:10:00] local.INFO: Processing buffer {"connection_id":138528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:10:00] local.INFO: IMEI packet received {"connection_id":138528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":138528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:10:01] local.INFO: TCP Data received {"connection_id":138528,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76bd2498012d553cc006442bc80009014d2e..."} 
[2026-07-19 01:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76bd2498012d553cc006442bc80009014d2e..."} 
[2026-07-19 01:10:01] local.INFO: Processing buffer {"connection_id":138528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76bd2498012d553cc006442bc80009014d2e..."} 
[2026-07-19 01:10:01] local.INFO: Packet analysis {"connection_id":138528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76bd"} 
[2026-07-19 01:10:01] local.INFO: Extracted packet for processing {"connection_id":138528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76bd"} 
[2026-07-19 01:10:01] local.INFO: GPS Element Parsed {"raw_longitude":760560832,"raw_latitude":105130952,"longitude_deg":76.0560832,"latitude_deg":10.5130952,"altitude":9,"angle":333,"satellites":46,"speed":50,"hex_longitude":"2d553cc0","hex_latitude":"06442bc8","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807303168001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351853844126236672,"note":"Value kept but may cause issues"} 
[2026-07-19 01:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6146428355853680640,"note":"Value kept but may cause issues"} 
[2026-07-19 01:10:01] 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-07-19 01:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784403535000,"timestamp_ms":1784403535000,"timestamp_seconds":1784403535,"priority":1,"record_length":96,"hex_timestamp":"0000019f76bd2498"} 
[2026-07-19 01:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 01:10: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-07-19 01: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-07-19 01:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":138528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":138528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":138528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807303168001,"66":27365,"217":206,"78":38912,"24":50,"16":351853844126236672,"45":6146428355853680640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-07-19 01:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807303168001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:10:01] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-19 01:10:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351853844126236672,"km_value":351853844126236.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6146428355853680640,"description":"Unknown IO ID 45"} 
[2026-07-19 01:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807303168001,"power":27365,"unknown_217":206,"unknown_78":38912,"ignition":50,"odometer":null,"unknown_45":6146428355853680640}} 
[2026-07-19 01:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":138528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:10:01] local.INFO: GPS data processed {"connection_id":138528,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:10:01] local.INFO: Acknowledgment sent {"connection_id":138528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:10:32] local.INFO: TCP Data received {"connection_id":138528,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76bd43d8012d552cc006444c28000b014e2f..."} 
[2026-07-19 01:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76bd43d8012d552cc006444c28000b014e2f..."} 
[2026-07-19 01:10:32] local.INFO: Processing buffer {"connection_id":138528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76bd43d8012d552cc006444c28000b014e2f..."} 
[2026-07-19 01:10:32] local.INFO: Packet analysis {"connection_id":138528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76bd"} 
[2026-07-19 01:10:32] local.INFO: Extracted packet for processing {"connection_id":138528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76bd"} 
[2026-07-19 01:10:32] local.INFO: GPS Element Parsed {"raw_longitude":760556736,"raw_latitude":105139240,"longitude_deg":76.0556736,"latitude_deg":10.513924,"altitude":11,"angle":334,"satellites":47,"speed":41,"hex_longitude":"2d552cc0","hex_latitude":"06444c28","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807304960001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351854290802835456,"note":"Value kept but may cause issues"} 
[2026-07-19 01:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6141995124972570624,"note":"Value kept but may cause issues"} 
[2026-07-19 01:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784403543000,"timestamp_ms":1784403543000,"timestamp_seconds":1784403543,"priority":1,"record_length":96,"hex_timestamp":"0000019f76bd43d8"} 
[2026-07-19 01:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:10: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-07-19 01:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 01:10: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-07-19 01: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-07-19 01:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":138528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":138528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":138528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807304960001,"66":27267,"217":206,"78":38912,"24":41,"16":351854290802835456,"45":6141995124972570624},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-07-19 01:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807304960001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:10:32] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-19 01:10:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351854290802835456,"km_value":351854290802835.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6141995124972570624,"description":"Unknown IO ID 45"} 
[2026-07-19 01:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807304960001,"power":27267,"unknown_217":206,"unknown_78":38912,"ignition":41,"odometer":null,"unknown_45":6141995124972570624}} 
[2026-07-19 01:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":138528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:10:32] local.INFO: GPS data processed {"connection_id":138528,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:10:32] local.INFO: Acknowledgment sent {"connection_id":138528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:10:55] local.INFO: TCP Data received {"connection_id":136082,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:10:55] local.INFO: Processing buffer {"connection_id":136082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:10:55] local.INFO: IMEI packet received {"connection_id":136082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":136082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:10:56] local.INFO: TCP Data received {"connection_id":136082,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:10:56] local.INFO: Processing buffer {"connection_id":136082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:10:56] local.INFO: IMEI packet received {"connection_id":136082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":136082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:11:00] local.INFO: TCP Data received {"connection_id":136082,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:11:00] local.INFO: Processing buffer {"connection_id":136082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:11:00] local.INFO: IMEI packet received {"connection_id":136082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":136082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:11:02] local.INFO: TCP Data received {"connection_id":136082,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76bd6ae8012d551d0006446d90000e014e2f..."} 
[2026-07-19 01:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76bd6ae8012d551d0006446d90000e014e2f..."} 
[2026-07-19 01:11:02] local.INFO: Processing buffer {"connection_id":136082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76bd6ae8012d551d0006446d90000e014e2f..."} 
[2026-07-19 01:11:02] local.INFO: Packet analysis {"connection_id":136082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76bd"} 
[2026-07-19 01:11:02] local.INFO: Extracted packet for processing {"connection_id":136082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76bd"} 
[2026-07-19 01:11:02] local.INFO: GPS Element Parsed {"raw_longitude":760552704,"raw_latitude":105147792,"longitude_deg":76.0552704,"latitude_deg":10.5147792,"altitude":14,"angle":334,"satellites":47,"speed":36,"hex_longitude":"2d551d00","hex_latitude":"06446d90","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807307008001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351854746069368832,"note":"Value kept but may cause issues"} 
[2026-07-19 01:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6137491525347321856,"note":"Value kept but may cause issues"} 
[2026-07-19 01:11: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-07-19 01:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784403553000,"timestamp_ms":1784403553000,"timestamp_seconds":1784403553,"priority":1,"record_length":96,"hex_timestamp":"0000019f76bd6ae8"} 
[2026-07-19 01:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:11: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-07-19 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 01:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807307008001,"66":27365,"232":206,"78":38912,"24":36,"16":351854746069368832,"45":6137491525347321856},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-07-19 01:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807307008001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:11:02] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-19 01:11:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351854746069368832,"km_value":351854746069368.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6137491525347321856,"description":"Unknown IO ID 45"} 
[2026-07-19 01:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807307008001,"power":27365,"unknown_232":206,"unknown_78":38912,"ignition":36,"odometer":null,"unknown_45":6137491525347321856}} 
[2026-07-19 01:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":136082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:11:02] local.INFO: GPS data processed {"connection_id":136082,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:11:02] local.INFO: Acknowledgment sent {"connection_id":136082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:11:33] local.INFO: TCP Data received {"connection_id":136082,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76bd91f8012d550cc006448e280010014d2d..."} 
[2026-07-19 01:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76bd91f8012d550cc006448e280010014d2d..."} 
[2026-07-19 01:11:33] local.INFO: Processing buffer {"connection_id":136082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76bd91f8012d550cc006448e280010014d2d..."} 
[2026-07-19 01:11:33] local.INFO: Packet analysis {"connection_id":136082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76bd"} 
[2026-07-19 01:11:33] local.INFO: Extracted packet for processing {"connection_id":136082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76bd"} 
[2026-07-19 01:11:33] local.INFO: GPS Element Parsed {"raw_longitude":760548544,"raw_latitude":105156136,"longitude_deg":76.0548544,"latitude_deg":10.5156136,"altitude":16,"angle":333,"satellites":45,"speed":38,"hex_longitude":"2d550cc0","hex_latitude":"06448e28","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807309568001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351855197040934912,"note":"Value kept but may cause issues"} 
[2026-07-19 01:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6133058294466318336,"note":"Value kept but may cause issues"} 
[2026-07-19 01:11:33] 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-07-19 01:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784403563000,"timestamp_ms":1784403563000,"timestamp_seconds":1784403563,"priority":1,"record_length":96,"hex_timestamp":"0000019f76bd91f8"} 
[2026-07-19 01:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:11: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-07-19 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 01:11: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-07-19 01: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-07-19 01:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":136082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":136082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":136082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807309568001,"66":27343,"232":206,"78":38912,"24":38,"16":351855197040934912,"45":6133058294466318336},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-07-19 01:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807309568001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:11:33] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-19 01:11:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351855197040934912,"km_value":351855197040934.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6133058294466318336,"description":"Unknown IO ID 45"} 
[2026-07-19 01:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807309568001,"power":27343,"unknown_232":206,"unknown_78":38912,"ignition":38,"odometer":null,"unknown_45":6133058294466318336}} 
[2026-07-19 01:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":136082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:11:33] local.INFO: GPS data processed {"connection_id":136082,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:11:33] local.INFO: Acknowledgment sent {"connection_id":136082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:12:04] local.INFO: TCP Data received {"connection_id":136201,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:12:04] local.INFO: Processing buffer {"connection_id":136201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:12:04] local.INFO: IMEI packet received {"connection_id":136201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":136201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:12:05] local.INFO: TCP Data received {"connection_id":136201,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:12:05] local.INFO: Processing buffer {"connection_id":136201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:12:05] local.INFO: IMEI packet received {"connection_id":136201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":136201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:12:12] local.INFO: TCP Data received {"connection_id":136201,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76bede00012d5440000645f3a80005014b2f..."} 
[2026-07-19 01:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76bede00012d5440000645f3a80005014b2f..."} 
[2026-07-19 01:12:12] local.INFO: Processing buffer {"connection_id":136201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76bede00012d5440000645f3a80005014b2f..."} 
[2026-07-19 01:12:12] local.INFO: Packet analysis {"connection_id":136201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76be"} 
[2026-07-19 01:12:12] local.INFO: Extracted packet for processing {"connection_id":136201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76be"} 
[2026-07-19 01:12:12] local.INFO: GPS Element Parsed {"raw_longitude":760496128,"raw_latitude":105247656,"longitude_deg":76.0496128,"latitude_deg":10.5247656,"altitude":5,"angle":331,"satellites":47,"speed":41,"hex_longitude":"2d544000","hex_latitude":"0645f3a8","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807331584001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351860290872147968,"note":"Value kept but may cause issues"} 
[2026-07-19 01:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6076059611705761792,"note":"Value kept but may cause issues"} 
[2026-07-19 01:12:12] 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-07-19 01:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784403648000,"timestamp_ms":1784403648000,"timestamp_seconds":1784403648,"priority":1,"record_length":96,"hex_timestamp":"0000019f76bede00"} 
[2026-07-19 01:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 01:12:12] 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-07-19 01: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-07-19 01:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":136201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":136201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":136201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807331584001,"66":27267,"99":206,"78":38912,"24":41,"16":351860290872147968,"45":6076059611705761792},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-07-19 01:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807331584001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:12:12] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-19 01:12:12] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351860290872147968,"km_value":351860290872147.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6076059611705761792,"description":"Unknown IO ID 45"} 
[2026-07-19 01:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807331584001,"power":27267,"unknown_99":206,"unknown_78":38912,"ignition":41,"odometer":null,"unknown_45":6076059611705761792}} 
[2026-07-19 01:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":136201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:12:12] local.INFO: GPS data processed {"connection_id":136201,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:12:12] local.INFO: Acknowledgment sent {"connection_id":136201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:12:13] local.INFO: TCP Data received {"connection_id":136201,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76bf0128012d542e40064614880005014b2e..."} 
[2026-07-19 01:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76bf0128012d542e40064614880005014b2e..."} 
[2026-07-19 01:12:13] local.INFO: Processing buffer {"connection_id":136201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76bf0128012d542e40064614880005014b2e..."} 
[2026-07-19 01:12:13] local.INFO: Packet analysis {"connection_id":136201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76bf"} 
[2026-07-19 01:12:13] local.INFO: Extracted packet for processing {"connection_id":136201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76bf"} 
[2026-07-19 01:12:13] local.INFO: GPS Element Parsed {"raw_longitude":760491584,"raw_latitude":105256072,"longitude_deg":76.0491584,"latitude_deg":10.5256072,"altitude":5,"angle":331,"satellites":46,"speed":44,"hex_longitude":"2d542e40","hex_latitude":"06461488","is_valid_coordinates":true} 
[2026-07-19 01:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807333888001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351860754728615936,"note":"Value kept but may cause issues"} 
[2026-07-19 01:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6070852324638828544,"note":"Value kept but may cause issues"} 
[2026-07-19 01:12:13] 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-07-19 01:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784403657000,"timestamp_ms":1784403657000,"timestamp_seconds":1784403657,"priority":1,"record_length":96,"hex_timestamp":"0000019f76bf0128"} 
[2026-07-19 01:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:12: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-07-19 01:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 01:12:13] 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-07-19 01:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":136201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":136201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":136201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807333888001,"66":27332,"99":206,"78":38912,"24":44,"16":351860754728615936,"45":6070852324638828544},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-07-19 01:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807333888001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:12:13] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-19 01:12:13] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351860754728615936,"km_value":351860754728615.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6070852324638828544,"description":"Unknown IO ID 45"} 
[2026-07-19 01:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807333888001,"power":27332,"unknown_99":206,"unknown_78":38912,"ignition":44,"odometer":null,"unknown_45":6070852324638828544}} 
[2026-07-19 01:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":136201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:12:13] local.INFO: GPS data processed {"connection_id":136201,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:12:13] local.INFO: Acknowledgment sent {"connection_id":136201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:12:55] local.INFO: TCP Data received {"connection_id":136083,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:12:55] local.INFO: Processing buffer {"connection_id":136083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:12:55] local.INFO: IMEI packet received {"connection_id":136083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":136083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:13:00] local.INFO: TCP Data received {"connection_id":136083,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:13:00] local.INFO: Processing buffer {"connection_id":136083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:13:00] local.INFO: IMEI packet received {"connection_id":136083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":136083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:13:01] local.INFO: TCP Data received {"connection_id":136083,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76bf2068012d541d00064634b00004014c2f..."} 
[2026-07-19 01:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76bf2068012d541d00064634b00004014c2f..."} 
[2026-07-19 01:13:01] local.INFO: Processing buffer {"connection_id":136083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76bf2068012d541d00064634b00004014c2f..."} 
[2026-07-19 01:13:01] local.INFO: Packet analysis {"connection_id":136083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76bf"} 
[2026-07-19 01:13:01] local.INFO: Extracted packet for processing {"connection_id":136083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76bf"} 
[2026-07-19 01:13:01] local.INFO: GPS Element Parsed {"raw_longitude":760487168,"raw_latitude":105264304,"longitude_deg":76.0487168,"latitude_deg":10.5264304,"altitude":4,"angle":332,"satellites":47,"speed":47,"hex_longitude":"2d541d00","hex_latitude":"064634b0","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807336192001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351861205700182016,"note":"Value kept but may cause issues"} 
[2026-07-19 01:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6065856143804368896,"note":"Value kept but may cause issues"} 
[2026-07-19 01:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784403665000,"timestamp_ms":1784403665000,"timestamp_seconds":1784403665,"priority":1,"record_length":96,"hex_timestamp":"0000019f76bf2068"} 
[2026-07-19 01:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-19 01:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807336192001,"66":27365,"99":206,"78":38912,"24":47,"16":351861205700182016,"45":6065856143804368896},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-07-19 01:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807336192001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:13:01] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-19 01:13:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351861205700182016,"km_value":351861205700182.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6065856143804368896,"description":"Unknown IO ID 45"} 
[2026-07-19 01:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807336192001,"power":27365,"unknown_99":206,"unknown_78":38912,"ignition":47,"odometer":null,"unknown_45":6065856143804368896}} 
[2026-07-19 01:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":136083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:13:01] local.INFO: GPS data processed {"connection_id":136083,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:13:01] local.INFO: Acknowledgment sent {"connection_id":136083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:13:32] local.INFO: TCP Data received {"connection_id":136083,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76bf3fa8012d540b80064653e80004014c2f..."} 
[2026-07-19 01:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76bf3fa8012d540b80064653e80004014c2f..."} 
[2026-07-19 01:13:32] local.INFO: Processing buffer {"connection_id":136083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76bf3fa8012d540b80064653e80004014c2f..."} 
[2026-07-19 01:13:32] local.INFO: Packet analysis {"connection_id":136083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76bf"} 
[2026-07-19 01:13:32] local.INFO: Extracted packet for processing {"connection_id":136083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76bf"} 
[2026-07-19 01:13:32] local.INFO: GPS Element Parsed {"raw_longitude":760482688,"raw_latitude":105272296,"longitude_deg":76.0482688,"latitude_deg":10.5272296,"altitude":4,"angle":332,"satellites":47,"speed":40,"hex_longitude":"2d540b80","hex_latitude":"064653e8","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807338240001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351861648081813504,"note":"Value kept but may cause issues"} 
[2026-07-19 01:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6061000700458217472,"note":"Value kept but may cause issues"} 
[2026-07-19 01:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784403673000,"timestamp_ms":1784403673000,"timestamp_seconds":1784403673,"priority":1,"record_length":96,"hex_timestamp":"0000019f76bf3fa8"} 
[2026-07-19 01:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 01:13: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-07-19 01: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-07-19 01:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807338240001,"66":27321,"99":206,"78":38912,"24":40,"16":351861648081813504,"45":6061000700458217472},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-07-19 01:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807338240001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:13:32] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-19 01:13:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351861648081813504,"km_value":351861648081813.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6061000700458217472,"description":"Unknown IO ID 45"} 
[2026-07-19 01:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807338240001,"power":27321,"unknown_99":206,"unknown_78":38912,"ignition":40,"odometer":null,"unknown_45":6061000700458217472}} 
[2026-07-19 01:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":136083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:13:32] local.INFO: GPS data processed {"connection_id":136083,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:13:32] local.INFO: Acknowledgment sent {"connection_id":136083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:13:48] local.INFO: TCP Data received {"connection_id":136084,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136084,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:13:48] local.INFO: Processing buffer {"connection_id":136084,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:13:48] local.INFO: IMEI packet received {"connection_id":136084,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 01:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":136084,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:13:55] local.INFO: TCP Data received {"connection_id":137129,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:13:55] local.INFO: Processing buffer {"connection_id":137129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:13:55] local.INFO: IMEI packet received {"connection_id":137129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":137129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:13:56] local.INFO: TCP Data received {"connection_id":137129,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:13:56] local.INFO: Processing buffer {"connection_id":137129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:13:56] local.INFO: IMEI packet received {"connection_id":137129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":137129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:14:00] local.INFO: TCP Data received {"connection_id":137129,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:14:00] local.INFO: Processing buffer {"connection_id":137129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:14:00] local.INFO: IMEI packet received {"connection_id":137129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":137129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:14:01] local.INFO: TCP Data received {"connection_id":137129,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76bf66b8012d53f9c0064673000004014a2f..."} 
[2026-07-19 01:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76bf66b8012d53f9c0064673000004014a2f..."} 
[2026-07-19 01:14:01] local.INFO: Processing buffer {"connection_id":137129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76bf66b8012d53f9c0064673000004014a2f..."} 
[2026-07-19 01:14:01] local.INFO: Packet analysis {"connection_id":137129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76bf"} 
[2026-07-19 01:14:01] local.INFO: Extracted packet for processing {"connection_id":137129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76bf"} 
[2026-07-19 01:14:01] local.INFO: GPS Element Parsed {"raw_longitude":760478144,"raw_latitude":105280256,"longitude_deg":76.0478144,"latitude_deg":10.5280256,"altitude":4,"angle":330,"satellites":47,"speed":38,"hex_longitude":"2d53f9c0","hex_latitude":"06467300","is_valid_coordinates":true} 
[2026-07-19 01:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807340288001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351862090463444992,"note":"Value kept but may cause issues"} 
[2026-07-19 01:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6056074888367826944,"note":"Value kept but may cause issues"} 
[2026-07-19 01:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784403683000,"timestamp_ms":1784403683000,"timestamp_seconds":1784403683,"priority":1,"record_length":96,"hex_timestamp":"0000019f76bf66b8"} 
[2026-07-19 01:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 01:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807340288001,"66":27321,"99":206,"78":38912,"24":38,"16":351862090463444992,"45":6056074888367826944},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-07-19 01:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807340288001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:14:01] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-19 01:14:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351862090463444992,"km_value":351862090463445.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6056074888367826944,"description":"Unknown IO ID 45"} 
[2026-07-19 01:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807340288001,"power":27321,"unknown_99":206,"unknown_78":38912,"ignition":38,"odometer":null,"unknown_45":6056074888367826944}} 
[2026-07-19 01:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":137129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:14:01] local.INFO: GPS data processed {"connection_id":137129,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:14:01] local.INFO: Acknowledgment sent {"connection_id":137129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:14:33] local.INFO: TCP Data received {"connection_id":137129,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c15ab8012d53db000647fd10000800002d..."} 
[2026-07-19 01:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c15ab8012d53db000647fd10000800002d..."} 
[2026-07-19 01:14:33] local.INFO: Processing buffer {"connection_id":137129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c15ab8012d53db000647fd10000800002d..."} 
[2026-07-19 01:14:33] local.INFO: Packet analysis {"connection_id":137129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c1"} 
[2026-07-19 01:14:33] local.INFO: Extracted packet for processing {"connection_id":137129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c1"} 
[2026-07-19 01:14:33] local.INFO: GPS Element Parsed {"raw_longitude":760470272,"raw_latitude":105381136,"longitude_deg":76.0470272,"latitude_deg":10.5381136,"altitude":8,"angle":0,"satellites":45,"speed":32,"hex_longitude":"2d53db00","hex_latitude":"0647fd10","is_valid_coordinates":true} 
[2026-07-19 01:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807372032001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351867046855704576,"note":"Value kept but may cause issues"} 
[2026-07-19 01:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042141877046224896,"note":"Value kept but may cause issues"} 
[2026-07-19 01:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784403811000,"timestamp_ms":1784403811000,"timestamp_seconds":1784403811,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c15ab8"} 
[2026-07-19 01:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 01:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":137129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":137129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":137129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807372032001,"66":27300,"194":206,"78":38912,"24":32,"16":351867046855704576,"45":6042141877046224896},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-07-19 01:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807372032001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:14:33] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-19 01:14:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351867046855704576,"km_value":351867046855704.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042141877046224896,"description":"Unknown IO ID 45"} 
[2026-07-19 01:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807372032001,"power":27300,"unknown_194":206,"unknown_78":38912,"ignition":32,"odometer":null,"unknown_45":6042141877046224896}} 
[2026-07-19 01:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":137129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:14:33] local.INFO: GPS data processed {"connection_id":137129,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:14:33] local.INFO: Acknowledgment sent {"connection_id":137129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:14:33] local.INFO: TCP Data received {"connection_id":136202,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136202,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:14:33] local.INFO: Processing buffer {"connection_id":136202,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:14:33] local.INFO: IMEI packet received {"connection_id":136202,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 01:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":136202,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:14:55] local.INFO: TCP Data received {"connection_id":138529,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:14:55] local.INFO: Processing buffer {"connection_id":138529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:14:55] local.INFO: IMEI packet received {"connection_id":138529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":138529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:15:00] local.INFO: TCP Data received {"connection_id":138529,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:15:00] local.INFO: Processing buffer {"connection_id":138529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:15:00] local.INFO: IMEI packet received {"connection_id":138529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":138529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:15:01] local.INFO: TCP Data received {"connection_id":138529,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c181c8012d53d980064820980009015f2e..."} 
[2026-07-19 01:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c181c8012d53d980064820980009015f2e..."} 
[2026-07-19 01:15:01] local.INFO: Processing buffer {"connection_id":138529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c181c8012d53d980064820980009015f2e..."} 
[2026-07-19 01:15:01] local.INFO: Packet analysis {"connection_id":138529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c1"} 
[2026-07-19 01:15:01] local.INFO: Extracted packet for processing {"connection_id":138529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c1"} 
[2026-07-19 01:15:01] local.INFO: GPS Element Parsed {"raw_longitude":760469888,"raw_latitude":105390232,"longitude_deg":76.0469888,"latitude_deg":10.5390232,"altitude":9,"angle":351,"satellites":46,"speed":39,"hex_longitude":"2d53d980","hex_latitude":"06482098","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807375616001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351867493532303360,"note":"Value kept but may cause issues"} 
[2026-07-19 01:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042423352025223168,"note":"Value kept but may cause issues"} 
[2026-07-19 01:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784403821000,"timestamp_ms":1784403821000,"timestamp_seconds":1784403821,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c181c8"} 
[2026-07-19 01:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:15: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-07-19 01: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":164,"data_length":795,"current_offset":136} 
[2026-07-19 01:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":138529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":138529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":138529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807375616001,"66":27365,"194":206,"78":38912,"24":39,"16":351867493532303360,"45":6042423352025223168},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-07-19 01:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807375616001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:15:01] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-19 01:15:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351867493532303360,"km_value":351867493532303.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042423352025223168,"description":"Unknown IO ID 45"} 
[2026-07-19 01:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807375616001,"power":27365,"unknown_194":206,"unknown_78":38912,"ignition":39,"odometer":null,"unknown_45":6042423352025223168}} 
[2026-07-19 01:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":138529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:15:01] local.INFO: GPS data processed {"connection_id":138529,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:15:01] local.INFO: Acknowledgment sent {"connection_id":138529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:15:33] local.INFO: TCP Data received {"connection_id":138529,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c1a4f0012d53d10006484440000b01552e..."} 
[2026-07-19 01:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c1a4f0012d53d10006484440000b01552e..."} 
[2026-07-19 01:15:33] local.INFO: Processing buffer {"connection_id":138529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c1a4f0012d53d10006484440000b01552e..."} 
[2026-07-19 01:15:33] local.INFO: Packet analysis {"connection_id":138529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c1"} 
[2026-07-19 01:15:33] local.INFO: Extracted packet for processing {"connection_id":138529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c1"} 
[2026-07-19 01:15:33] local.INFO: GPS Element Parsed {"raw_longitude":760467712,"raw_latitude":105399360,"longitude_deg":76.0467712,"latitude_deg":10.539936,"altitude":11,"angle":341,"satellites":46,"speed":41,"hex_longitude":"2d53d100","hex_latitude":"06484440","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807378176001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351867948798836736,"note":"Value kept but may cause issues"} 
[2026-07-19 01:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042001139562485760,"note":"Value kept but may cause issues"} 
[2026-07-19 01:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784403830000,"timestamp_ms":1784403830000,"timestamp_seconds":1784403830,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c1a4f0"} 
[2026-07-19 01:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:15: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-07-19 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 01:15: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-07-19 01: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-07-19 01:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":138529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":138529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":138529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807378176001,"66":27267,"194":206,"78":38912,"24":41,"16":351867948798836736,"45":6042001139562485760},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-07-19 01:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807378176001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:15:33] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-19 01:15:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351867948798836736,"km_value":351867948798836.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042001139562485760,"description":"Unknown IO ID 45"} 
[2026-07-19 01:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807378176001,"power":27267,"unknown_194":206,"unknown_78":38912,"ignition":41,"odometer":null,"unknown_45":6042001139562485760}} 
[2026-07-19 01:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":138529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:15:33] local.INFO: GPS data processed {"connection_id":138529,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:15:33] local.INFO: Acknowledgment sent {"connection_id":138529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:15:59] local.INFO: TCP Data received {"connection_id":136204,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:15:59] local.INFO: Processing buffer {"connection_id":136204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:15:59] local.INFO: IMEI packet received {"connection_id":136204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":136204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:16:00] local.INFO: TCP Data received {"connection_id":136204,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:16:00] local.INFO: Processing buffer {"connection_id":136204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:16:00] local.INFO: IMEI packet received {"connection_id":136204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":136204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:16:05] local.INFO: TCP Data received {"connection_id":136204,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:16:05] local.INFO: Processing buffer {"connection_id":136204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:16:05] local.INFO: IMEI packet received {"connection_id":136204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":136204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:16:06] local.INFO: TCP Data received {"connection_id":136204,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c2cdd0012d5308000649a418000301412c..."} 
[2026-07-19 01:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c2cdd0012d5308000649a418000301412c..."} 
[2026-07-19 01:16:06] local.INFO: Processing buffer {"connection_id":136204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c2cdd0012d5308000649a418000301412c..."} 
[2026-07-19 01:16:06] local.INFO: Packet analysis {"connection_id":136204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c2"} 
[2026-07-19 01:16:06] local.INFO: Extracted packet for processing {"connection_id":136204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c2"} 
[2026-07-19 01:16:06] local.INFO: GPS Element Parsed {"raw_longitude":760416256,"raw_latitude":105489432,"longitude_deg":76.0416256,"latitude_deg":10.5489432,"altitude":3,"angle":321,"satellites":44,"speed":57,"hex_longitude":"2d530800","hex_latitude":"0649a418","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807398144001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351872973910573056,"note":"Value kept but may cause issues"} 
[2026-07-19 01:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5989928268894375936,"note":"Value kept but may cause issues"} 
[2026-07-19 01:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784403906000,"timestamp_ms":1784403906000,"timestamp_seconds":1784403906,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c2cdd0"} 
[2026-07-19 01:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-19 01:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807398144001,"66":27245,"93":206,"78":38912,"24":57,"16":351872973910573056,"45":5989928268894375936},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-07-19 01:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807398144001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:16:06] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-19 01:16:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351872973910573056,"km_value":351872973910573.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5989928268894375936,"description":"Unknown IO ID 45"} 
[2026-07-19 01:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807398144001,"power":27245,"unknown_93":206,"unknown_78":38912,"ignition":57,"odometer":null,"unknown_45":5989928268894375936}} 
[2026-07-19 01:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":136204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:16:06] local.INFO: GPS data processed {"connection_id":136204,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:16:06] local.INFO: Acknowledgment sent {"connection_id":136204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:16:10] local.INFO: TCP Data received {"connection_id":136204,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c2e928012d52ee000649c2880004013e2a..."} 
[2026-07-19 01:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c2e928012d52ee000649c2880004013e2a..."} 
[2026-07-19 01:16:10] local.INFO: Processing buffer {"connection_id":136204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c2e928012d52ee000649c2880004013e2a..."} 
[2026-07-19 01:16:10] local.INFO: Packet analysis {"connection_id":136204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c2"} 
[2026-07-19 01:16:10] local.INFO: Extracted packet for processing {"connection_id":136204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c2"} 
[2026-07-19 01:16:10] local.INFO: GPS Element Parsed {"raw_longitude":760409600,"raw_latitude":105497224,"longitude_deg":76.04096,"latitude_deg":10.5497224,"altitude":4,"angle":318,"satellites":42,"speed":58,"hex_longitude":"2d52ee00","hex_latitude":"0649c288","is_valid_coordinates":true} 
[2026-07-19 01:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807399936001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351873463536844800,"note":"Value kept but may cause issues"} 
[2026-07-19 01:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5983032131966998528,"note":"Value kept but may cause issues"} 
[2026-07-19 01:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784403913000,"timestamp_ms":1784403913000,"timestamp_seconds":1784403913,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c2e928"} 
[2026-07-19 01:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:16: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-07-19 01:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 01:16:10] 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-07-19 01:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807399936001,"66":27343,"93":206,"78":38912,"24":58,"16":351873463536844800,"45":5983032131966998528},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-07-19 01:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807399936001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:16:10] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-19 01:16:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351873463536844800,"km_value":351873463536844.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5983032131966998528,"description":"Unknown IO ID 45"} 
[2026-07-19 01:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807399936001,"power":27343,"unknown_93":206,"unknown_78":38912,"ignition":58,"odometer":null,"unknown_45":5983032131966998528}} 
[2026-07-19 01:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":136204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:16:10] local.INFO: GPS data processed {"connection_id":136204,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:16:10] local.INFO: Acknowledgment sent {"connection_id":136204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:17:00] local.INFO: TCP Data received {"connection_id":136205,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:17:00] local.INFO: Processing buffer {"connection_id":136205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:17:00] local.INFO: IMEI packet received {"connection_id":136205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":136205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:17:05] local.INFO: TCP Data received {"connection_id":136205,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:17:05] local.INFO: Processing buffer {"connection_id":136205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:17:05] local.INFO: IMEI packet received {"connection_id":136205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":136205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:17:06] local.INFO: TCP Data received {"connection_id":136205,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c30480012d52d2400649e0000004013d2d..."} 
[2026-07-19 01:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c30480012d52d2400649e0000004013d2d..."} 
[2026-07-19 01:17:06] local.INFO: Processing buffer {"connection_id":136205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c30480012d52d2400649e0000004013d2d..."} 
[2026-07-19 01:17:06] local.INFO: Packet analysis {"connection_id":136205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c3"} 
[2026-07-19 01:17:06] local.INFO: Extracted packet for processing {"connection_id":136205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c3"} 
[2026-07-19 01:17:06] local.INFO: GPS Element Parsed {"raw_longitude":760402496,"raw_latitude":105504768,"longitude_deg":76.0402496,"latitude_deg":10.5504768,"altitude":4,"angle":317,"satellites":45,"speed":58,"hex_longitude":"2d52d240","hex_latitude":"0649e000","is_valid_coordinates":true} 
[2026-07-19 01:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807401728001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351873961753051136,"note":"Value kept but may cause issues"} 
[2026-07-19 01:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5975713782574516224,"note":"Value kept but may cause issues"} 
[2026-07-19 01:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784403920000,"timestamp_ms":1784403920000,"timestamp_seconds":1784403920,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c30480"} 
[2026-07-19 01:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:17: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-07-19 01:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 01:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807401728001,"66":26560,"94":206,"78":38912,"24":58,"16":351873961753051136,"45":5975713782574516224},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,78,24,16,45]} 
[2026-07-19 01:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807401728001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:17:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-19 01:17:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351873961753051136,"km_value":351873961753051.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5975713782574516224,"description":"Unknown IO ID 45"} 
[2026-07-19 01:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807401728001,"power":26560,"unknown_94":206,"unknown_78":38912,"ignition":58,"odometer":null,"unknown_45":5975713782574516224}} 
[2026-07-19 01:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":136205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:17:06] local.INFO: GPS data processed {"connection_id":136205,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:17:06] local.INFO: Acknowledgment sent {"connection_id":136205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:17:38] local.INFO: TCP Data received {"connection_id":136205,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c31fd8012d52b6400649fbe0000501392d..."} 
[2026-07-19 01:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c31fd8012d52b6400649fbe0000501392d..."} 
[2026-07-19 01:17:38] local.INFO: Processing buffer {"connection_id":136205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c31fd8012d52b6400649fbe0000501392d..."} 
[2026-07-19 01:17:38] local.INFO: Packet analysis {"connection_id":136205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c3"} 
[2026-07-19 01:17:38] local.INFO: Extracted packet for processing {"connection_id":136205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c3"} 
[2026-07-19 01:17:38] local.INFO: GPS Element Parsed {"raw_longitude":760395328,"raw_latitude":105511904,"longitude_deg":76.0395328,"latitude_deg":10.5511904,"altitude":5,"angle":313,"satellites":45,"speed":56,"hex_longitude":"2d52b640","hex_latitude":"0649fbe0","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807403520001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351874447084355584,"note":"Value kept but may cause issues"} 
[2026-07-19 01:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5967902851972726784,"note":"Value kept but may cause issues"} 
[2026-07-19 01:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784403927000,"timestamp_ms":1784403927000,"timestamp_seconds":1784403927,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c31fd8"} 
[2026-07-19 01:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-19 01:17:38] 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-07-19 01: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-07-19 01:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807403520001,"66":27321,"94":206,"78":38912,"24":56,"16":351874447084355584,"45":5967902851972726784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,78,24,16,45]} 
[2026-07-19 01:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807403520001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:17:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-19 01:17:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-19 01:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351874447084355584,"km_value":351874447084355.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5967902851972726784,"description":"Unknown IO ID 45"} 
[2026-07-19 01:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807403520001,"power":27321,"unknown_94":206,"unknown_78":38912,"ignition":56,"odometer":null,"unknown_45":5967902851972726784}} 
[2026-07-19 01:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":136205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:17:38] local.INFO: GPS data processed {"connection_id":136205,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:17:38] local.INFO: Acknowledgment sent {"connection_id":136205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:17:56] local.INFO: TCP Data received {"connection_id":138531,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:17:56] local.INFO: Processing buffer {"connection_id":138531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:17:56] local.INFO: IMEI packet received {"connection_id":138531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":138531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:18:00] local.INFO: TCP Data received {"connection_id":138531,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:18:00] local.INFO: Processing buffer {"connection_id":138531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:18:00] local.INFO: IMEI packet received {"connection_id":138531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":138531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:18:05] local.INFO: TCP Data received {"connection_id":138531,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:18:05] local.INFO: Processing buffer {"connection_id":138531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:18:05] local.INFO: IMEI packet received {"connection_id":138531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":138531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:18:06] local.INFO: TCP Data received {"connection_id":138531,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c46410012d51e000064b51f00005013e2c..."} 
[2026-07-19 01:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c46410012d51e000064b51f00005013e2c..."} 
[2026-07-19 01:18:06] local.INFO: Processing buffer {"connection_id":138531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c46410012d51e000064b51f00005013e2c..."} 
[2026-07-19 01:18:06] local.INFO: Packet analysis {"connection_id":138531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c4"} 
[2026-07-19 01:18:06] local.INFO: Extracted packet for processing {"connection_id":138531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c4"} 
[2026-07-19 01:18:06] local.INFO: GPS Element Parsed {"raw_longitude":760340480,"raw_latitude":105599472,"longitude_deg":76.034048,"latitude_deg":10.5599472,"altitude":5,"angle":318,"satellites":44,"speed":32,"hex_longitude":"2d51e000","hex_latitude":"064b51f0","is_valid_coordinates":true} 
[2026-07-19 01:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807424256001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351879459311190016,"note":"Value kept but may cause issues"} 
[2026-07-19 01:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5906119094607206400,"note":"Value kept but may cause issues"} 
[2026-07-19 01:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784404010000,"timestamp_ms":1784404010000,"timestamp_seconds":1784404010,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c46410"} 
[2026-07-19 01:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 01:18:06] 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-07-19 01:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":138531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":138531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":138531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807424256001,"66":27180,"50":206,"78":62464,"24":32,"16":351879459311190016,"45":5906119094607206400},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-07-19 01:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807424256001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:18:06] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-19 01:18:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351879459311190016,"km_value":351879459311190.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5906119094607206400,"description":"Unknown IO ID 45"} 
[2026-07-19 01:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807424256001,"power":27180,"unknown_50":206,"unknown_78":62464,"ignition":32,"odometer":null,"unknown_45":5906119094607206400}} 
[2026-07-19 01:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":138531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:18:06] local.INFO: GPS data processed {"connection_id":138531,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:18:06] local.INFO: Acknowledgment sent {"connection_id":138531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:18:08] local.INFO: TCP Data received {"connection_id":138531,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c48f08012d51ca80064b70f0000501462b..."} 
[2026-07-19 01:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c48f08012d51ca80064b70f0000501462b..."} 
[2026-07-19 01:18:08] local.INFO: Processing buffer {"connection_id":138531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c48f08012d51ca80064b70f0000501462b..."} 
[2026-07-19 01:18:08] local.INFO: Packet analysis {"connection_id":138531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c4"} 
[2026-07-19 01:18:08] local.INFO: Extracted packet for processing {"connection_id":138531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c4"} 
[2026-07-19 01:18:08] local.INFO: GPS Element Parsed {"raw_longitude":760334976,"raw_latitude":105607408,"longitude_deg":76.0334976,"latitude_deg":10.5607408,"altitude":5,"angle":326,"satellites":43,"speed":38,"hex_longitude":"2d51ca80","hex_latitude":"064b70f0","is_valid_coordinates":true} 
[2026-07-19 01:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807426560001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351879923167657984,"note":"Value kept but may cause issues"} 
[2026-07-19 01:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5899715538888814592,"note":"Value kept but may cause issues"} 
[2026-07-19 01:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784404021000,"timestamp_ms":1784404021000,"timestamp_seconds":1784404021,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c48f08"} 
[2026-07-19 01:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:18: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-07-19 01:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-19 01:18: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-07-19 01:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":138531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":138531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":138531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807426560001,"66":27213,"50":206,"78":62464,"24":38,"16":351879923167657984,"45":5899715538888814592},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-07-19 01:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807426560001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:18:08] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-19 01:18:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351879923167657984,"km_value":351879923167658.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5899715538888814592,"description":"Unknown IO ID 45"} 
[2026-07-19 01:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807426560001,"power":27213,"unknown_50":206,"unknown_78":62464,"ignition":38,"odometer":null,"unknown_45":5899715538888814592}} 
[2026-07-19 01:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":138531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:18:08] local.INFO: GPS data processed {"connection_id":138531,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:18:08] local.INFO: Acknowledgment sent {"connection_id":138531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:18:40] local.INFO: TCP Data received {"connection_id":138531,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c4b230012d51b600064b91400005014929..."} 
[2026-07-19 01:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c4b230012d51b600064b91400005014929..."} 
[2026-07-19 01:18:40] local.INFO: Processing buffer {"connection_id":138531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c4b230012d51b600064b91400005014929..."} 
[2026-07-19 01:18:40] local.INFO: Packet analysis {"connection_id":138531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c4"} 
[2026-07-19 01:18:40] local.INFO: Extracted packet for processing {"connection_id":138531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c4"} 
[2026-07-19 01:18:40] local.INFO: GPS Element Parsed {"raw_longitude":760329728,"raw_latitude":105615680,"longitude_deg":76.0329728,"latitude_deg":10.561568,"altitude":5,"angle":329,"satellites":41,"speed":45,"hex_longitude":"2d51b600","hex_latitude":"064b9140","is_valid_coordinates":true} 
[2026-07-19 01:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807429376001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351880399909027840,"note":"Value kept but may cause issues"} 
[2026-07-19 01:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5893663826891567104,"note":"Value kept but may cause issues"} 
[2026-07-19 01:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784404030000,"timestamp_ms":1784404030000,"timestamp_seconds":1784404030,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c4b230"} 
[2026-07-19 01:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-19 01:18:40] 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-07-19 01:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":138531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":138531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":138531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807429376001,"66":27267,"50":206,"78":62464,"24":45,"16":351880399909027840,"45":5893663826891567104},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-07-19 01:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807429376001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:18:40] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-19 01:18:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351880399909027840,"km_value":351880399909027.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5893663826891567104,"description":"Unknown IO ID 45"} 
[2026-07-19 01:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807429376001,"power":27267,"unknown_50":206,"unknown_78":62464,"ignition":45,"odometer":null,"unknown_45":5893663826891567104}} 
[2026-07-19 01:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":138531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:18:40] local.INFO: GPS data processed {"connection_id":138531,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:18:40] local.INFO: Acknowledgment sent {"connection_id":138531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:18:55] local.INFO: TCP Data received {"connection_id":138533,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:18:55] local.INFO: Processing buffer {"connection_id":138533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:18:55] local.INFO: IMEI packet received {"connection_id":138533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":138533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:19:00] local.INFO: TCP Data received {"connection_id":138533,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:19:00] local.INFO: Processing buffer {"connection_id":138533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:19:00] local.INFO: IMEI packet received {"connection_id":138533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":138533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:19:02] local.INFO: TCP Data received {"connection_id":138533,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c590d8012d516ec0064c3d280006002426..."} 
[2026-07-19 01:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c590d8012d516ec0064c3d280006002426..."} 
[2026-07-19 01:19:02] local.INFO: Processing buffer {"connection_id":138533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c590d8012d516ec0064c3d280006002426..."} 
[2026-07-19 01:19:02] local.INFO: Packet analysis {"connection_id":138533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c5"} 
[2026-07-19 01:19:02] local.INFO: Extracted packet for processing {"connection_id":138533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c5"} 
[2026-07-19 01:19:02] local.INFO: GPS Element Parsed {"raw_longitude":760311488,"raw_latitude":105659688,"longitude_deg":76.0311488,"latitude_deg":10.5659688,"altitude":6,"angle":36,"satellites":38,"speed":15,"hex_longitude":"2d516ec0","hex_latitude":"064c3d28","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807445760001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351882792205811712,"note":"Value kept but may cause issues"} 
[2026-07-19 01:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5866994072861521920,"note":"Value kept but may cause issues"} 
[2026-07-19 01:19:02] 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-07-19 01:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784404087000,"timestamp_ms":1784404087000,"timestamp_seconds":1784404087,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c590d8"} 
[2026-07-19 01:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01: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":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-19 01:19: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-07-19 01: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-07-19 01:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":138533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":138533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":138533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807445760001,"66":27365,"49":206,"78":62464,"24":15,"16":351882792205811712,"45":5866994072861521920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-19 01:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807445760001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:19:02] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-19 01:19:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351882792205811712,"km_value":351882792205811.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5866994072861521920,"description":"Unknown IO ID 45"} 
[2026-07-19 01:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807445760001,"power":27365,"unknown_49":206,"unknown_78":62464,"ignition":15,"odometer":null,"unknown_45":5866994072861521920}} 
[2026-07-19 01:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":138533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:19:02] local.INFO: GPS data processed {"connection_id":138533,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:19:02] local.INFO: Acknowledgment sent {"connection_id":138533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:19:05] local.INFO: TCP Data received {"connection_id":138533,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c598a8012d517100064c3fc00006001026..."} 
[2026-07-19 01:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c598a8012d517100064c3fc00006001026..."} 
[2026-07-19 01:19:05] local.INFO: Processing buffer {"connection_id":138533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c598a8012d517100064c3fc00006001026..."} 
[2026-07-19 01:19:05] local.INFO: Packet analysis {"connection_id":138533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c5"} 
[2026-07-19 01:19:05] local.INFO: Extracted packet for processing {"connection_id":138533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c5"} 
[2026-07-19 01:19:05] local.INFO: GPS Element Parsed {"raw_longitude":760312064,"raw_latitude":105660352,"longitude_deg":76.0312064,"latitude_deg":10.5660352,"altitude":6,"angle":16,"satellites":38,"speed":16,"hex_longitude":"2d517100","hex_latitude":"064c3fc0","is_valid_coordinates":true} 
[2026-07-19 01:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807446272001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351882835155484672,"note":"Value kept but may cause issues"} 
[2026-07-19 01:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5867838497791748096,"note":"Value kept but may cause issues"} 
[2026-07-19 01:19:05] 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-07-19 01:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784404089000,"timestamp_ms":1784404089000,"timestamp_seconds":1784404089,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c598a8"} 
[2026-07-19 01:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:19: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-07-19 01:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 01:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":138533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":138533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":138533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807446272001,"66":27267,"49":206,"78":62464,"24":16,"16":351882835155484672,"45":5867838497791748096},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-19 01:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807446272001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:19:05] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-19 01:19:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351882835155484672,"km_value":351882835155484.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5867838497791748096,"description":"Unknown IO ID 45"} 
[2026-07-19 01:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807446272001,"power":27267,"unknown_49":206,"unknown_78":62464,"ignition":16,"odometer":null,"unknown_45":5867838497791748096}} 
[2026-07-19 01:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":138533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:19:05] local.INFO: GPS data processed {"connection_id":138533,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:19:05] local.INFO: Acknowledgment sent {"connection_id":138533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:19:36] local.INFO: TCP Data received {"connection_id":138533,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c59c90012d517140064c4198000600042b..."} 
[2026-07-19 01:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c59c90012d517140064c4198000600042b..."} 
[2026-07-19 01:19:36] local.INFO: Processing buffer {"connection_id":138533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c59c90012d517140064c4198000600042b..."} 
[2026-07-19 01:19:36] local.INFO: Packet analysis {"connection_id":138533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c5"} 
[2026-07-19 01:19:36] local.INFO: Extracted packet for processing {"connection_id":138533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c5"} 
[2026-07-19 01:19:36] local.INFO: GPS Element Parsed {"raw_longitude":760312128,"raw_latitude":105660824,"longitude_deg":76.0312128,"latitude_deg":10.5660824,"altitude":6,"angle":4,"satellites":43,"speed":18,"hex_longitude":"2d517140","hex_latitude":"064c4198","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807446784001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351882860925288448,"note":"Value kept but may cause issues"} 
[2026-07-19 01:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868471816489517056,"note":"Value kept but may cause issues"} 
[2026-07-19 01:19:36] 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-07-19 01:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784404090000,"timestamp_ms":1784404090000,"timestamp_seconds":1784404090,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c59c90"} 
[2026-07-19 01:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:19: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-07-19 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 01:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":138533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":138533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":138533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807446784001,"66":27234,"49":206,"78":62464,"24":18,"16":351882860925288448,"45":5868471816489517056},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-19 01:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807446784001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:19:36] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-19 01:19:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351882860925288448,"km_value":351882860925288.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868471816489517056,"description":"Unknown IO ID 45"} 
[2026-07-19 01:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807446784001,"power":27234,"unknown_49":206,"unknown_78":62464,"ignition":18,"odometer":null,"unknown_45":5868471816489517056}} 
[2026-07-19 01:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":138533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:19:36] local.INFO: GPS data processed {"connection_id":138533,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:19:36] local.INFO: Acknowledgment sent {"connection_id":138533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:19:48] local.INFO: TCP Data received {"connection_id":136206,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:19:48] local.INFO: Processing buffer {"connection_id":136206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:19:48] local.INFO: IMEI packet received {"connection_id":136206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 01:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":136206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:19:55] local.INFO: TCP Data received {"connection_id":137130,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:19:55] local.INFO: Processing buffer {"connection_id":137130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:19:55] local.INFO: IMEI packet received {"connection_id":137130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":137130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:19:56] local.INFO: TCP Data received {"connection_id":137130,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:19:56] local.INFO: Processing buffer {"connection_id":137130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:19:56] local.INFO: IMEI packet received {"connection_id":137130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":137130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:20:00] local.INFO: TCP Data received {"connection_id":137130,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:20:00] local.INFO: Processing buffer {"connection_id":137130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:20:00] local.INFO: IMEI packet received {"connection_id":137130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":137130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:20:03] local.INFO: TCP Data received {"connection_id":137130,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c5a078012d517140064c43a8000601602c..."} 
[2026-07-19 01:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c5a078012d517140064c43a8000601602c..."} 
[2026-07-19 01:20:03] local.INFO: Processing buffer {"connection_id":137130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c5a078012d517140064c43a8000601602c..."} 
[2026-07-19 01:20:03] local.INFO: Packet analysis {"connection_id":137130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c5"} 
[2026-07-19 01:20:03] local.INFO: Extracted packet for processing {"connection_id":137130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c5"} 
[2026-07-19 01:20:03] local.INFO: GPS Element Parsed {"raw_longitude":760312128,"raw_latitude":105661352,"longitude_deg":76.0312128,"latitude_deg":10.5661352,"altitude":6,"angle":352,"satellites":44,"speed":20,"hex_longitude":"2d517140","hex_latitude":"064c43a8","is_valid_coordinates":true} 
[2026-07-19 01:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807447040001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351882886695092224,"note":"Value kept but may cause issues"} 
[2026-07-19 01:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868542185233815552,"note":"Value kept but may cause issues"} 
[2026-07-19 01:20: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-07-19 01:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784404091000,"timestamp_ms":1784404091000,"timestamp_seconds":1784404091,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c5a078"} 
[2026-07-19 01:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:20: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-07-19 01:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-19 01:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":137130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":137130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":137130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807447040001,"66":27234,"49":206,"78":62464,"24":20,"16":351882886695092224,"45":5868542185233815552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-19 01:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807447040001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:20:03] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-19 01:20:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351882886695092224,"km_value":351882886695092.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868542185233815552,"description":"Unknown IO ID 45"} 
[2026-07-19 01:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807447040001,"power":27234,"unknown_49":206,"unknown_78":62464,"ignition":20,"odometer":null,"unknown_45":5868542185233815552}} 
[2026-07-19 01:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":137130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:20:03] local.INFO: GPS data processed {"connection_id":137130,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:20:03] local.INFO: Acknowledgment sent {"connection_id":137130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:20:06] local.INFO: TCP Data received {"connection_id":137130,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c5a848012d517000064c47f0000701532b..."} 
[2026-07-19 01:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c5a848012d517000064c47f0000701532b..."} 
[2026-07-19 01:20:06] local.INFO: Processing buffer {"connection_id":137130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c5a848012d517000064c47f0000701532b..."} 
[2026-07-19 01:20:06] local.INFO: Packet analysis {"connection_id":137130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c5"} 
[2026-07-19 01:20:06] local.INFO: Extracted packet for processing {"connection_id":137130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c5"} 
[2026-07-19 01:20:06] local.INFO: GPS Element Parsed {"raw_longitude":760311808,"raw_latitude":105662448,"longitude_deg":76.0311808,"latitude_deg":10.5662448,"altitude":7,"angle":339,"satellites":43,"speed":23,"hex_longitude":"2d517000","hex_latitude":"064c47f0","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807447296001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351882942529667072,"note":"Value kept but may cause issues"} 
[2026-07-19 01:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868542185233950720,"note":"Value kept but may cause issues"} 
[2026-07-19 01:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784404093000,"timestamp_ms":1784404093000,"timestamp_seconds":1784404093,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c5a848"} 
[2026-07-19 01:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:20: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-07-19 01: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":98,"data_length":795,"current_offset":136} 
[2026-07-19 01:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":137130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":137130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":137130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807447296001,"66":27169,"49":206,"78":62464,"24":23,"16":351882942529667072,"45":5868542185233950720},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-19 01:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807447296001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:20:06] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-19 01:20:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351882942529667072,"km_value":351882942529667.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868542185233950720,"description":"Unknown IO ID 45"} 
[2026-07-19 01:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807447296001,"power":27169,"unknown_49":206,"unknown_78":62464,"ignition":23,"odometer":null,"unknown_45":5868542185233950720}} 
[2026-07-19 01:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":137130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:20:06] local.INFO: GPS data processed {"connection_id":137130,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:20:06] local.INFO: Acknowledgment sent {"connection_id":137130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:20:28] local.INFO: TCP Data received {"connection_id":136086,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:20:28] local.INFO: Processing buffer {"connection_id":136086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:20:28] local.INFO: IMEI packet received {"connection_id":136086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 01:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":136086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:20:37] local.INFO: TCP Data received {"connection_id":137130,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c5db10012d516080064c68680007014a2b..."} 
[2026-07-19 01:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c5db10012d516080064c68680007014a2b..."} 
[2026-07-19 01:20:37] local.INFO: Processing buffer {"connection_id":137130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c5db10012d516080064c68680007014a2b..."} 
[2026-07-19 01:20:37] local.INFO: Packet analysis {"connection_id":137130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c5"} 
[2026-07-19 01:20:37] local.INFO: Extracted packet for processing {"connection_id":137130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c5"} 
[2026-07-19 01:20:37] local.INFO: GPS Element Parsed {"raw_longitude":760307840,"raw_latitude":105670760,"longitude_deg":76.030784,"latitude_deg":10.567076,"altitude":7,"angle":330,"satellites":43,"speed":33,"hex_longitude":"2d516080","hex_latitude":"064c6868","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807447808001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351883384911298560,"note":"Value kept but may cause issues"} 
[2026-07-19 01:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868190341513342976,"note":"Value kept but may cause issues"} 
[2026-07-19 01:20:37] 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-07-19 01:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784404106000,"timestamp_ms":1784404106000,"timestamp_seconds":1784404106,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c5db10"} 
[2026-07-19 01:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-19 01:20:37] 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-07-19 01: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-07-19 01:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807447808001,"66":27343,"49":206,"78":62464,"24":33,"16":351883384911298560,"45":5868190341513342976},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-19 01:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807447808001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:20:37] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-19 01:20:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351883384911298560,"km_value":351883384911298.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868190341513342976,"description":"Unknown IO ID 45"} 
[2026-07-19 01:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807447808001,"power":27343,"unknown_49":206,"unknown_78":62464,"ignition":33,"odometer":null,"unknown_45":5868190341513342976}} 
[2026-07-19 01:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":137130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:20:37] local.INFO: GPS data processed {"connection_id":137130,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:20:37] local.INFO: Acknowledgment sent {"connection_id":137130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:20:55] local.INFO: TCP Data received {"connection_id":137131,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:20:55] local.INFO: Processing buffer {"connection_id":137131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:20:55] local.INFO: IMEI packet received {"connection_id":137131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":137131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:21:00] local.INFO: TCP Data received {"connection_id":137131,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:21:00] local.INFO: Processing buffer {"connection_id":137131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:21:00] local.INFO: IMEI packet received {"connection_id":137131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":137131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:21:01] local.INFO: TCP Data received {"connection_id":137131,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c60220012d514e00064c87f00006014529..."} 
[2026-07-19 01:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c60220012d514e00064c87f00006014529..."} 
[2026-07-19 01:21:01] local.INFO: Processing buffer {"connection_id":137131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c60220012d514e00064c87f00006014529..."} 
[2026-07-19 01:21:01] local.INFO: Packet analysis {"connection_id":137131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c6"} 
[2026-07-19 01:21:01] local.INFO: Extracted packet for processing {"connection_id":137131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c6"} 
[2026-07-19 01:21:01] local.INFO: GPS Element Parsed {"raw_longitude":760303104,"raw_latitude":105678832,"longitude_deg":76.0303104,"latitude_deg":10.5678832,"altitude":6,"angle":325,"satellites":41,"speed":41,"hex_longitude":"2d514e00","hex_latitude":"064c87f0","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807451136001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351883840177831936,"note":"Value kept but may cause issues"} 
[2026-07-19 01:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5863827479376455680,"note":"Value kept but may cause issues"} 
[2026-07-19 01:21:01] 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-07-19 01:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784404116000,"timestamp_ms":1784404116000,"timestamp_seconds":1784404116,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c60220"} 
[2026-07-19 01:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:21: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-07-19 01: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-07-19 01: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-07-19 01: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-07-19 01:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807451136001,"66":27321,"49":206,"78":62464,"24":41,"16":351883840177831936,"45":5863827479376455680},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-19 01:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807451136001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:21:01] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-19 01:21:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351883840177831936,"km_value":351883840177831.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5863827479376455680,"description":"Unknown IO ID 45"} 
[2026-07-19 01:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807451136001,"power":27321,"unknown_49":206,"unknown_78":62464,"ignition":41,"odometer":null,"unknown_45":5863827479376455680}} 
[2026-07-19 01:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":137131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:21:01] local.INFO: GPS data processed {"connection_id":137131,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:21:01] local.INFO: Acknowledgment sent {"connection_id":137131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:21:32] local.INFO: TCP Data received {"connection_id":137131,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c62930012d513700064ca658000401492b..."} 
[2026-07-19 01:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c62930012d513700064ca658000401492b..."} 
[2026-07-19 01:21:32] local.INFO: Processing buffer {"connection_id":137131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c62930012d513700064ca658000401492b..."} 
[2026-07-19 01:21:32] local.INFO: Packet analysis {"connection_id":137131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c6"} 
[2026-07-19 01:21:32] local.INFO: Extracted packet for processing {"connection_id":137131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c6"} 
[2026-07-19 01:21:32] local.INFO: GPS Element Parsed {"raw_longitude":760297216,"raw_latitude":105686616,"longitude_deg":76.0297216,"latitude_deg":10.5686616,"altitude":4,"angle":329,"satellites":43,"speed":37,"hex_longitude":"2d513700","hex_latitude":"064ca658","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807453696001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351884308329267200,"note":"Value kept but may cause issues"} 
[2026-07-19 01:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5858620192309374976,"note":"Value kept but may cause issues"} 
[2026-07-19 01:21:32] 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-07-19 01:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784404126000,"timestamp_ms":1784404126000,"timestamp_seconds":1784404126,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c62930"} 
[2026-07-19 01:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01: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-07-19 01:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 01:21: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-07-19 01: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-07-19 01:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":137131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":137131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":137131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807453696001,"66":27321,"49":206,"78":62464,"24":37,"16":351884308329267200,"45":5858620192309374976},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-19 01:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807453696001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:21:32] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-19 01:21:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351884308329267200,"km_value":351884308329267.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5858620192309374976,"description":"Unknown IO ID 45"} 
[2026-07-19 01:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807453696001,"power":27321,"unknown_49":206,"unknown_78":62464,"ignition":37,"odometer":null,"unknown_45":5858620192309374976}} 
[2026-07-19 01:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":137131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:21:32] local.INFO: GPS data processed {"connection_id":137131,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:21:32] local.INFO: Acknowledgment sent {"connection_id":137131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:21:58] local.INFO: TCP Data received {"connection_id":138534,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:21:58] local.INFO: Processing buffer {"connection_id":138534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:21:58] local.INFO: IMEI packet received {"connection_id":138534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":138534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:22:00] local.INFO: TCP Data received {"connection_id":138534,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:22:00] local.INFO: Processing buffer {"connection_id":138534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:22:00] local.INFO: IMEI packet received {"connection_id":138534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":138534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:22:06] local.INFO: TCP Data received {"connection_id":138534,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:22:06] local.INFO: Processing buffer {"connection_id":138534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:22:06] local.INFO: IMEI packet received {"connection_id":138534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":138534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:22:08] local.INFO: TCP Data received {"connection_id":138534,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c65040012d512600064cc7b80004014f29..."} 
[2026-07-19 01:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c65040012d512600064cc7b80004014f29..."} 
[2026-07-19 01:22:08] local.INFO: Processing buffer {"connection_id":138534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c65040012d512600064cc7b80004014f29..."} 
[2026-07-19 01:22:08] local.INFO: Packet analysis {"connection_id":138534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c6"} 
[2026-07-19 01:22:08] local.INFO: Extracted packet for processing {"connection_id":138534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c6"} 
[2026-07-19 01:22:08] local.INFO: GPS Element Parsed {"raw_longitude":760292864,"raw_latitude":105695160,"longitude_deg":76.0292864,"latitude_deg":10.569516,"altitude":4,"angle":335,"satellites":41,"speed":40,"hex_longitude":"2d512600","hex_latitude":"064cc7b8","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807456256001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351884772185735168,"note":"Value kept but may cause issues"} 
[2026-07-19 01:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5852146267847022592,"note":"Value kept but may cause issues"} 
[2026-07-19 01:22: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-07-19 01:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784404136000,"timestamp_ms":1784404136000,"timestamp_seconds":1784404136,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c65040"} 
[2026-07-19 01:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:22: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-07-19 01:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 01:22: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-07-19 01: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-07-19 01:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":138534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":138534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":138534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807456256001,"66":27267,"49":206,"78":62464,"24":40,"16":351884772185735168,"45":5852146267847022592},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-19 01:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807456256001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:22:08] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-19 01:22:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351884772185735168,"km_value":351884772185735.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5852146267847022592,"description":"Unknown IO ID 45"} 
[2026-07-19 01:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807456256001,"power":27267,"unknown_49":206,"unknown_78":62464,"ignition":40,"odometer":null,"unknown_45":5852146267847022592}} 
[2026-07-19 01:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":138534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:22:08] local.INFO: GPS data processed {"connection_id":138534,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:22:08] local.INFO: Acknowledgment sent {"connection_id":138534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:22:10] local.INFO: TCP Data received {"connection_id":138534,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c6a248012d511ac0064cdf200006014f2c..."} 
[2026-07-19 01:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c6a248012d511ac0064cdf200006014f2c..."} 
[2026-07-19 01:22:10] local.INFO: Processing buffer {"connection_id":138534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c6a248012d511ac0064cdf200006014f2c..."} 
[2026-07-19 01:22:10] local.INFO: Packet analysis {"connection_id":138534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c6"} 
[2026-07-19 01:22:10] local.INFO: Extracted packet for processing {"connection_id":138534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c6"} 
[2026-07-19 01:22:10] local.INFO: GPS Element Parsed {"raw_longitude":760289984,"raw_latitude":105701152,"longitude_deg":76.0289984,"latitude_deg":10.5701152,"altitude":6,"angle":335,"satellites":44,"speed":0,"hex_longitude":"2d511ac0","hex_latitude":"064cdf20","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807458816001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351885094308282368,"note":"Value kept but may cause issues"} 
[2026-07-19 01:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5847361193245128704,"note":"Value kept but may cause issues"} 
[2026-07-19 01:22:10] 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-07-19 01:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784404157000,"timestamp_ms":1784404157000,"timestamp_seconds":1784404157,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c6a248"} 
[2026-07-19 01:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:22: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-07-19 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 01:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807458816001,"66":27321,"49":206,"78":62464,"24":0,"16":351885094308282368,"45":5847361193245128704},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-19 01:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807458816001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:22:10] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-19 01:22:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351885094308282368,"km_value":351885094308282.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5847361193245128704,"description":"Unknown IO ID 45"} 
[2026-07-19 01:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807458816001,"power":27321,"unknown_49":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5847361193245128704}} 
[2026-07-19 01:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":138534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:22:10] local.INFO: GPS data processed {"connection_id":138534,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:22:10] local.INFO: Acknowledgment sent {"connection_id":138534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:22:56] local.INFO: TCP Data received {"connection_id":136088,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:22:56] local.INFO: Processing buffer {"connection_id":136088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:22:56] local.INFO: IMEI packet received {"connection_id":136088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":136088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:23:00] local.INFO: TCP Data received {"connection_id":136088,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:23:00] local.INFO: Processing buffer {"connection_id":136088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:23:00] local.INFO: IMEI packet received {"connection_id":136088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":136088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:23:01] local.INFO: TCP Data received {"connection_id":136088,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c8adb8012d50a200064de220000601572b..."} 
[2026-07-19 01:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c8adb8012d50a200064de220000601572b..."} 
[2026-07-19 01:23:01] local.INFO: Processing buffer {"connection_id":136088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c8adb8012d50a200064de220000601572b..."} 
[2026-07-19 01:23:01] local.INFO: Packet analysis {"connection_id":136088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c8"} 
[2026-07-19 01:23:01] local.INFO: Extracted packet for processing {"connection_id":136088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c8"} 
[2026-07-19 01:23:01] local.INFO: GPS Element Parsed {"raw_longitude":760259072,"raw_latitude":105767456,"longitude_deg":76.0259072,"latitude_deg":10.5767456,"altitude":6,"angle":343,"satellites":43,"speed":18,"hex_longitude":"2d50a200","hex_latitude":"064de220","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807495680001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351888667721072640,"note":"Value kept but may cause issues"} 
[2026-07-19 01:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5813021246103597056,"note":"Value kept but may cause issues"} 
[2026-07-19 01:23:01] 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-07-19 01:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784404291000,"timestamp_ms":1784404291000,"timestamp_seconds":1784404291,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c8adb8"} 
[2026-07-19 01:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:23: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-07-19 01: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-19 01:23: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-07-19 01: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-07-19 01:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807495680001,"66":27365,"53":206,"78":62464,"24":18,"16":351888667721072640,"45":5813021246103597056},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-19 01:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807495680001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:23:01] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-19 01:23:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351888667721072640,"km_value":351888667721072.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5813021246103597056,"description":"Unknown IO ID 45"} 
[2026-07-19 01:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807495680001,"power":27365,"unknown_53":206,"unknown_78":62464,"ignition":18,"odometer":null,"unknown_45":5813021246103597056}} 
[2026-07-19 01:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":136088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:23:01] local.INFO: GPS data processed {"connection_id":136088,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:23:01] local.INFO: Acknowledgment sent {"connection_id":136088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:23:07] local.INFO: TCP Data received {"connection_id":136088,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c8f020012d509500064dffb00006014b29..."} 
[2026-07-19 01:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c8f020012d509500064dffb00006014b29..."} 
[2026-07-19 01:23:07] local.INFO: Processing buffer {"connection_id":136088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c8f020012d509500064dffb00006014b29..."} 
[2026-07-19 01:23:07] local.INFO: Packet analysis {"connection_id":136088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c8"} 
[2026-07-19 01:23:07] local.INFO: Extracted packet for processing {"connection_id":136088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c8"} 
[2026-07-19 01:23:07] local.INFO: GPS Element Parsed {"raw_longitude":760255744,"raw_latitude":105775024,"longitude_deg":76.0255744,"latitude_deg":10.5775024,"altitude":6,"angle":331,"satellites":41,"speed":12,"hex_longitude":"2d509500","hex_latitude":"064dffb0","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807498496001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351889071447998464,"note":"Value kept but may cause issues"} 
[2026-07-19 01:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810206496337829888,"note":"Value kept but may cause issues"} 
[2026-07-19 01:23:07] 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-07-19 01:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784404308000,"timestamp_ms":1784404308000,"timestamp_seconds":1784404308,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c8f020"} 
[2026-07-19 01:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:23: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-07-19 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 01:23: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-07-19 01: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-07-19 01:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807498496001,"66":27343,"53":206,"78":62464,"24":12,"16":351889071447998464,"45":5810206496337829888},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-19 01:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807498496001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:23:07] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-19 01:23:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351889071447998464,"km_value":351889071447998.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810206496337829888,"description":"Unknown IO ID 45"} 
[2026-07-19 01:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807498496001,"power":27343,"unknown_53":206,"unknown_78":62464,"ignition":12,"odometer":null,"unknown_45":5810206496337829888}} 
[2026-07-19 01:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":136088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:23:07] local.INFO: GPS data processed {"connection_id":136088,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:23:07] local.INFO: Acknowledgment sent {"connection_id":136088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:24:23] local.INFO: TCP Data received {"connection_id":136088,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c94228012d5089c0064e12c0000e01452b..."} 
[2026-07-19 01:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c94228012d5089c0064e12c0000e01452b..."} 
[2026-07-19 01:24:23] local.INFO: Processing buffer {"connection_id":136088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c94228012d5089c0064e12c0000e01452b..."} 
[2026-07-19 01:24:23] local.INFO: Packet analysis {"connection_id":136088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c9"} 
[2026-07-19 01:24:23] local.INFO: Extracted packet for processing {"connection_id":136088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c9"} 
[2026-07-19 01:24:23] local.INFO: GPS Element Parsed {"raw_longitude":760252864,"raw_latitude":105779904,"longitude_deg":76.0252864,"latitude_deg":10.5779904,"altitude":14,"angle":325,"satellites":43,"speed":22,"hex_longitude":"2d5089c0","hex_latitude":"064e12c0","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807502848001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351889346325905408,"note":"Value kept but may cause issues"} 
[2026-07-19 01:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5806547321642528768,"note":"Value kept but may cause issues"} 
[2026-07-19 01:24:23] 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-07-19 01:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784404329000,"timestamp_ms":1784404329000,"timestamp_seconds":1784404329,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c94228"} 
[2026-07-19 01:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 01:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":136088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":136088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":136088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807502848001,"66":27267,"53":206,"78":62464,"24":22,"16":351889346325905408,"45":5806547321642528768},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-19 01:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807502848001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:24:23] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-19 01:24:23] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351889346325905408,"km_value":351889346325905.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5806547321642528768,"description":"Unknown IO ID 45"} 
[2026-07-19 01:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807502848001,"power":27267,"unknown_53":206,"unknown_78":62464,"ignition":22,"odometer":null,"unknown_45":5806547321642528768}} 
[2026-07-19 01:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":136088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:24:23] local.INFO: GPS data processed {"connection_id":136088,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:24:23] local.INFO: Acknowledgment sent {"connection_id":136088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:24:30] local.INFO: TCP Data received {"connection_id":136089,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:24:30] local.INFO: Processing buffer {"connection_id":136089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:24:30] local.INFO: IMEI packet received {"connection_id":136089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":136089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:24:35] local.INFO: TCP Data received {"connection_id":136089,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:24:35] local.INFO: Processing buffer {"connection_id":136089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:24:35] local.INFO: IMEI packet received {"connection_id":136089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":136089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:24:36] local.INFO: TCP Data received {"connection_id":136089,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c97cc0012d507580064e31c8000b013f2b..."} 
[2026-07-19 01:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c97cc0012d507580064e31c8000b013f2b..."} 
[2026-07-19 01:24:36] local.INFO: Processing buffer {"connection_id":136089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c97cc0012d507580064e31c8000b013f2b..."} 
[2026-07-19 01:24:36] local.INFO: Packet analysis {"connection_id":136089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c9"} 
[2026-07-19 01:24:36] local.INFO: Extracted packet for processing {"connection_id":136089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c9"} 
[2026-07-19 01:24:36] local.INFO: GPS Element Parsed {"raw_longitude":760247680,"raw_latitude":105787848,"longitude_deg":76.024768,"latitude_deg":10.5787848,"altitude":11,"angle":319,"satellites":43,"speed":27,"hex_longitude":"2d507580","hex_latitude":"064e31c8","is_valid_coordinates":true} 
[2026-07-19 01:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807508224001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351889805887406080,"note":"Value kept but may cause issues"} 
[2026-07-19 01:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5803380728155783168,"note":"Value kept but may cause issues"} 
[2026-07-19 01:24:36] 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-07-19 01:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784404344000,"timestamp_ms":1784404344000,"timestamp_seconds":1784404344,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c97cc0"} 
[2026-07-19 01:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 01:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807508224001,"66":27234,"53":206,"78":62464,"24":27,"16":351889805887406080,"45":5803380728155783168},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-19 01:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807508224001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:24:36] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-19 01:24:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351889805887406080,"km_value":351889805887406.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5803380728155783168,"description":"Unknown IO ID 45"} 
[2026-07-19 01:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807508224001,"power":27234,"unknown_53":206,"unknown_78":62464,"ignition":27,"odometer":null,"unknown_45":5803380728155783168}} 
[2026-07-19 01:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":136089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:24:36] local.INFO: GPS data processed {"connection_id":136089,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:24:36] local.INFO: Acknowledgment sent {"connection_id":136089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:25:01] local.INFO: TCP Data received {"connection_id":136207,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:25:01] local.INFO: Processing buffer {"connection_id":136207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:25:01] local.INFO: IMEI packet received {"connection_id":136207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":136207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:25:05] local.INFO: TCP Data received {"connection_id":136207,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:25:05] local.INFO: Processing buffer {"connection_id":136207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:25:05] local.INFO: IMEI packet received {"connection_id":136207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":136207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:25:06] local.INFO: TCP Data received {"connection_id":136207,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c98c60012d506d00064e39f0000b01342b..."} 
[2026-07-19 01:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c98c60012d506d00064e39f0000b01342b..."} 
[2026-07-19 01:25:06] local.INFO: Processing buffer {"connection_id":136207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c98c60012d506d00064e39f0000b01342b..."} 
[2026-07-19 01:25:06] local.INFO: Packet analysis {"connection_id":136207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c9"} 
[2026-07-19 01:25:06] local.INFO: Extracted packet for processing {"connection_id":136207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c9"} 
[2026-07-19 01:25:06] local.INFO: GPS Element Parsed {"raw_longitude":760245504,"raw_latitude":105789936,"longitude_deg":76.0245504,"latitude_deg":10.5789936,"altitude":11,"angle":308,"satellites":43,"speed":31,"hex_longitude":"2d506d00","hex_latitude":"064e39f0","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807512064001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351889947621326848,"note":"Value kept but may cause issues"} 
[2026-07-19 01:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5797680859879426048,"note":"Value kept but may cause issues"} 
[2026-07-19 01:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784404348000,"timestamp_ms":1784404348000,"timestamp_seconds":1784404348,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c98c60"} 
[2026-07-19 01:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:25: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-07-19 01: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-19 01:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807512064001,"66":27245,"53":206,"78":62464,"24":31,"16":351889947621326848,"45":5797680859879426048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-19 01:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807512064001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:25:06] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-19 01:25:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351889947621326848,"km_value":351889947621326.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5797680859879426048,"description":"Unknown IO ID 45"} 
[2026-07-19 01:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807512064001,"power":27245,"unknown_53":206,"unknown_78":62464,"ignition":31,"odometer":null,"unknown_45":5797680859879426048}} 
[2026-07-19 01:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":136207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:25:06] local.INFO: GPS data processed {"connection_id":136207,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:25:06] local.INFO: Acknowledgment sent {"connection_id":136207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:25:37] local.INFO: TCP Data received {"connection_id":136207,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c9b758012d504f80064e50e8000b01392a..."} 
[2026-07-19 01:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c9b758012d504f80064e50e8000b01392a..."} 
[2026-07-19 01:25:37] local.INFO: Processing buffer {"connection_id":136207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c9b758012d504f80064e50e8000b01392a..."} 
[2026-07-19 01:25:37] local.INFO: Packet analysis {"connection_id":136207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c9"} 
[2026-07-19 01:25:37] local.INFO: Extracted packet for processing {"connection_id":136207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c9"} 
[2026-07-19 01:25:37] local.INFO: GPS Element Parsed {"raw_longitude":760237952,"raw_latitude":105795816,"longitude_deg":76.0237952,"latitude_deg":10.5795816,"altitude":11,"angle":313,"satellites":42,"speed":36,"hex_longitude":"2d504f80","hex_latitude":"064e50e8","is_valid_coordinates":true} 
[2026-07-19 01:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807513088001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351890407182827520,"note":"Value kept but may cause issues"} 
[2026-07-19 01:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5795288322577920000,"note":"Value kept but may cause issues"} 
[2026-07-19 01:25:37] 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-07-19 01:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784404359000,"timestamp_ms":1784404359000,"timestamp_seconds":1784404359,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c9b758"} 
[2026-07-19 01:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:25: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-07-19 01:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 01:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807513088001,"66":27745,"53":206,"78":62464,"24":36,"16":351890407182827520,"45":5795288322577920000},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-19 01:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807513088001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:25:37] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-19 01:25:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351890407182827520,"km_value":351890407182827.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5795288322577920000,"description":"Unknown IO ID 45"} 
[2026-07-19 01:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807513088001,"power":27745,"unknown_53":206,"unknown_78":62464,"ignition":36,"odometer":null,"unknown_45":5795288322577920000}} 
[2026-07-19 01:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":136207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:25:38] local.INFO: GPS data processed {"connection_id":136207,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:25:38] local.INFO: Acknowledgment sent {"connection_id":136207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:25:48] local.INFO: TCP Data received {"connection_id":136090,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:25:48] local.INFO: Processing buffer {"connection_id":136090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:25:48] local.INFO: IMEI packet received {"connection_id":136090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 01:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":136090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:25:55] local.INFO: TCP Data received {"connection_id":136091,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:25:55] local.INFO: Processing buffer {"connection_id":136091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:25:55] local.INFO: IMEI packet received {"connection_id":136091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":136091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:26:00] local.INFO: TCP Data received {"connection_id":136091,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:26:00] local.INFO: Processing buffer {"connection_id":136091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:26:00] local.INFO: IMEI packet received {"connection_id":136091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":136091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:26:01] local.INFO: TCP Data received {"connection_id":136091,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c9cec8012d5040c0064e6048000901442c..."} 
[2026-07-19 01:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c9cec8012d5040c0064e6048000901442c..."} 
[2026-07-19 01:26:01] local.INFO: Processing buffer {"connection_id":136091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c9cec8012d5040c0064e6048000901442c..."} 
[2026-07-19 01:26:01] local.INFO: Packet analysis {"connection_id":136091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c9"} 
[2026-07-19 01:26:01] local.INFO: Extracted packet for processing {"connection_id":136091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c9"} 
[2026-07-19 01:26:01] local.INFO: GPS Element Parsed {"raw_longitude":760234176,"raw_latitude":105799752,"longitude_deg":76.0234176,"latitude_deg":10.5799752,"altitude":9,"angle":324,"satellites":44,"speed":36,"hex_longitude":"2d5040c0","hex_latitude":"064e6048","is_valid_coordinates":true} 
[2026-07-19 01:26: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-07-19 01:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807515904001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351890673470799872,"note":"Value kept but may cause issues"} 
[2026-07-19 01:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5786984810766460928,"note":"Value kept but may cause issues"} 
[2026-07-19 01:26:01] 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-07-19 01:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784404365000,"timestamp_ms":1784404365000,"timestamp_seconds":1784404365,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c9cec8"} 
[2026-07-19 01:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:26: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-07-19 01: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 01:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807515904001,"66":27691,"53":206,"78":62464,"24":36,"16":351890673470799872,"45":5786984810766460928},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-19 01:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807515904001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:26:01] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-19 01:26:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351890673470799872,"km_value":351890673470799.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5786984810766460928,"description":"Unknown IO ID 45"} 
[2026-07-19 01:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807515904001,"power":27691,"unknown_53":206,"unknown_78":62464,"ignition":36,"odometer":null,"unknown_45":5786984810766460928}} 
[2026-07-19 01:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":136091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:26:01] local.INFO: GPS data processed {"connection_id":136091,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:26:01] local.INFO: Acknowledgment sent {"connection_id":136091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:26:28] local.INFO: TCP Data received {"connection_id":137134,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:26:28] local.INFO: Processing buffer {"connection_id":137134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:26:28] local.INFO: IMEI packet received {"connection_id":137134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 01:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":137134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:26:32] local.INFO: TCP Data received {"connection_id":136091,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c9cec8012d5040c0064e6048000901442c..."} 
[2026-07-19 01:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c9cec8012d5040c0064e6048000901442c..."} 
[2026-07-19 01:26:32] local.INFO: Processing buffer {"connection_id":136091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c9cec8012d5040c0064e6048000901442c..."} 
[2026-07-19 01:26:32] local.INFO: Packet analysis {"connection_id":136091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c9"} 
[2026-07-19 01:26:32] local.INFO: Extracted packet for processing {"connection_id":136091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c9"} 
[2026-07-19 01:26:32] local.INFO: GPS Element Parsed {"raw_longitude":760234176,"raw_latitude":105799752,"longitude_deg":76.0234176,"latitude_deg":10.5799752,"altitude":9,"angle":324,"satellites":44,"speed":36,"hex_longitude":"2d5040c0","hex_latitude":"064e6048","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807517440001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351890673470799872,"note":"Value kept but may cause issues"} 
[2026-07-19 01:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5782833054860986368,"note":"Value kept but may cause issues"} 
[2026-07-19 01:26:32] 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-07-19 01:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784404365000,"timestamp_ms":1784404365000,"timestamp_seconds":1784404365,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c9cec8"} 
[2026-07-19 01:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 01:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-19 01:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807517440001,"66":27691,"53":206,"78":62464,"24":36,"16":351890673470799872,"45":5782833054860986368},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-19 01:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807517440001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:26:32] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-19 01:26:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351890673470799872,"km_value":351890673470799.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5782833054860986368,"description":"Unknown IO ID 45"} 
[2026-07-19 01:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807517440001,"power":27691,"unknown_53":206,"unknown_78":62464,"ignition":36,"odometer":null,"unknown_45":5782833054860986368}} 
[2026-07-19 01:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":136091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:26:33] local.INFO: GPS data processed {"connection_id":136091,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:26:33] local.INFO: Acknowledgment sent {"connection_id":136091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:26:55] local.INFO: TCP Data received {"connection_id":136208,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:26:55] local.INFO: Processing buffer {"connection_id":136208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:26:55] local.INFO: IMEI packet received {"connection_id":136208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":136208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:27:00] local.INFO: TCP Data received {"connection_id":136208,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:27:00] local.INFO: Processing buffer {"connection_id":136208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:27:00] local.INFO: IMEI packet received {"connection_id":136208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":136208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:27:02] local.INFO: TCP Data received {"connection_id":136208,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c9cec8012d5040c0064e6048000901442c..."} 
[2026-07-19 01:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c9cec8012d5040c0064e6048000901442c..."} 
[2026-07-19 01:27:02] local.INFO: Processing buffer {"connection_id":136208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c9cec8012d5040c0064e6048000901442c..."} 
[2026-07-19 01:27:02] local.INFO: Packet analysis {"connection_id":136208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c9"} 
[2026-07-19 01:27:02] local.INFO: Extracted packet for processing {"connection_id":136208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c9"} 
[2026-07-19 01:27:02] local.INFO: GPS Element Parsed {"raw_longitude":760234176,"raw_latitude":105799752,"longitude_deg":76.0234176,"latitude_deg":10.5799752,"altitude":9,"angle":324,"satellites":44,"speed":36,"hex_longitude":"2d5040c0","hex_latitude":"064e6048","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807517440001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351890673470799872,"note":"Value kept but may cause issues"} 
[2026-07-19 01:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5782833054860986368,"note":"Value kept but may cause issues"} 
[2026-07-19 01:27:02] 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-07-19 01:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784404365000,"timestamp_ms":1784404365000,"timestamp_seconds":1784404365,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c9cec8"} 
[2026-07-19 01:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 01: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":43,"data_length":795,"current_offset":136} 
[2026-07-19 01:27: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-07-19 01: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-07-19 01:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:27: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-07-19 01:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807517440001,"66":27691,"53":206,"78":62464,"24":36,"16":351890673470799872,"45":5782833054860986368},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-19 01:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807517440001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:27:02] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-19 01:27:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351890673470799872,"km_value":351890673470799.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5782833054860986368,"description":"Unknown IO ID 45"} 
[2026-07-19 01:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807517440001,"power":27691,"unknown_53":206,"unknown_78":62464,"ignition":36,"odometer":null,"unknown_45":5782833054860986368}} 
[2026-07-19 01:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":136208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:27:02] local.INFO: GPS data processed {"connection_id":136208,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:27:02] local.INFO: Acknowledgment sent {"connection_id":136208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:27:33] local.INFO: TCP Data received {"connection_id":136208,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c9cec8012d5040c0064e6048000901442c..."} 
[2026-07-19 01:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c9cec8012d5040c0064e6048000901442c..."} 
[2026-07-19 01:27:33] local.INFO: Processing buffer {"connection_id":136208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c9cec8012d5040c0064e6048000901442c..."} 
[2026-07-19 01:27:33] local.INFO: Packet analysis {"connection_id":136208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c9"} 
[2026-07-19 01:27:33] local.INFO: Extracted packet for processing {"connection_id":136208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c9"} 
[2026-07-19 01:27:33] local.INFO: GPS Element Parsed {"raw_longitude":760234176,"raw_latitude":105799752,"longitude_deg":76.0234176,"latitude_deg":10.5799752,"altitude":9,"angle":324,"satellites":44,"speed":36,"hex_longitude":"2d5040c0","hex_latitude":"064e6048","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807517440001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351890673470799872,"note":"Value kept but may cause issues"} 
[2026-07-19 01:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5782833054860986368,"note":"Value kept but may cause issues"} 
[2026-07-19 01:27:33] 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-07-19 01:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784404365000,"timestamp_ms":1784404365000,"timestamp_seconds":1784404365,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c9cec8"} 
[2026-07-19 01:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 01: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":43,"data_length":795,"current_offset":136} 
[2026-07-19 01:27: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-07-19 01: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-07-19 01:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":136208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":136208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":136208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:27: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-07-19 01:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807517440001,"66":27691,"53":206,"78":62464,"24":36,"16":351890673470799872,"45":5782833054860986368},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-19 01:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807517440001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:27:33] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-19 01:27:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351890673470799872,"km_value":351890673470799.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5782833054860986368,"description":"Unknown IO ID 45"} 
[2026-07-19 01:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807517440001,"power":27691,"unknown_53":206,"unknown_78":62464,"ignition":36,"odometer":null,"unknown_45":5782833054860986368}} 
[2026-07-19 01:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":136208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:27:33] local.INFO: GPS data processed {"connection_id":136208,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:27:33] local.INFO: Acknowledgment sent {"connection_id":136208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:27:55] local.INFO: TCP Data received {"connection_id":138538,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:27:55] local.INFO: Processing buffer {"connection_id":138538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:27:55] local.INFO: IMEI packet received {"connection_id":138538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":138538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:28:00] local.INFO: TCP Data received {"connection_id":138538,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:28:00] local.INFO: Processing buffer {"connection_id":138538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:28:00] local.INFO: IMEI packet received {"connection_id":138538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":138538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:28:01] local.INFO: TCP Data received {"connection_id":138538,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f76c9cec8012d5040c0064e6048000901442c..."} 
[2026-07-19 01:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76c9cec8012d5040c0064e6048000901442c..."} 
[2026-07-19 01:28:01] local.INFO: Processing buffer {"connection_id":138538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76c9cec8012d5040c0064e6048000901442c..."} 
[2026-07-19 01:28:01] local.INFO: Packet analysis {"connection_id":138538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76c9"} 
[2026-07-19 01:28:01] local.INFO: Extracted packet for processing {"connection_id":138538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76c9"} 
[2026-07-19 01:28:01] local.INFO: GPS Element Parsed {"raw_longitude":760234176,"raw_latitude":105799752,"longitude_deg":76.0234176,"latitude_deg":10.5799752,"altitude":9,"angle":324,"satellites":44,"speed":36,"hex_longitude":"2d5040c0","hex_latitude":"064e6048","is_valid_coordinates":true} 
[2026-07-19 01:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807517440001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351890673470799872,"note":"Value kept but may cause issues"} 
[2026-07-19 01:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5782833054860986368,"note":"Value kept but may cause issues"} 
[2026-07-19 01:28:01] 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-07-19 01:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784404365000,"timestamp_ms":1784404365000,"timestamp_seconds":1784404365,"priority":1,"record_length":96,"hex_timestamp":"0000019f76c9cec8"} 
[2026-07-19 01:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 01:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-19 01:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":138538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":138538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":138538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807517440001,"66":27691,"53":206,"78":62464,"24":36,"16":351890673470799872,"45":5782833054860986368},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-19 01:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807517440001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:28:01] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-19 01:28:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351890673470799872,"km_value":351890673470799.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5782833054860986368,"description":"Unknown IO ID 45"} 
[2026-07-19 01:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807517440001,"power":27691,"unknown_53":206,"unknown_78":62464,"ignition":36,"odometer":null,"unknown_45":5782833054860986368}} 
[2026-07-19 01:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":138538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:28:01] local.INFO: GPS data processed {"connection_id":138538,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:28:01] local.INFO: Acknowledgment sent {"connection_id":138538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:28:33] local.INFO: TCP Data received {"connection_id":138538,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f76ce6e60012d502900064e6a58001c014b2b..."} 
[2026-07-19 01:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76ce6e60012d502900064e6a58001c014b2b..."} 
[2026-07-19 01:28:33] local.INFO: Processing buffer {"connection_id":138538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76ce6e60012d502900064e6a58001c014b2b..."} 
[2026-07-19 01:28:33] local.INFO: Packet analysis {"connection_id":138538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ce"} 
[2026-07-19 01:28:33] local.INFO: Extracted packet for processing {"connection_id":138538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ce"} 
[2026-07-19 01:28:33] local.INFO: GPS Element Parsed {"raw_longitude":760228096,"raw_latitude":105802328,"longitude_deg":76.0228096,"latitude_deg":10.5802328,"altitude":28,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d502900","hex_latitude":"064e6a58","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807517440001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351890673470799872,"note":"Value kept but may cause issues"} 
[2026-07-19 01:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5782833054860986368,"note":"Value kept but may cause issues"} 
[2026-07-19 01:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784404668000,"timestamp_ms":1784404668000,"timestamp_seconds":1784404668,"priority":1,"record_length":96,"hex_timestamp":"0000019f76ce6e60"} 
[2026-07-19 01:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 01: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":43,"data_length":795,"current_offset":136} 
[2026-07-19 01:28: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-07-19 01: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-07-19 01:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":138538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":138538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":138538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807517440001,"66":25321,"7":206,"78":62464,"24":0,"16":351890673470799872,"45":5782833054860986368},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-07-19 01:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807517440001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:28:33] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-19 01:28:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351890673470799872,"km_value":351890673470799.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5782833054860986368,"description":"Unknown IO ID 45"} 
[2026-07-19 01:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807517440001,"power":25321,"unknown_7":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5782833054860986368}} 
[2026-07-19 01:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":138538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:28:33] local.INFO: GPS data processed {"connection_id":138538,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:28:33] local.INFO: Acknowledgment sent {"connection_id":138538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:29:00] local.INFO: TCP Data received {"connection_id":136092,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:29:00] local.INFO: Processing buffer {"connection_id":136092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:29:00] local.INFO: IMEI packet received {"connection_id":136092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":136092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:29:05] local.INFO: TCP Data received {"connection_id":136092,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:29:05] local.INFO: Processing buffer {"connection_id":136092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:29:05] local.INFO: IMEI packet received {"connection_id":136092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":136092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:29:06] local.INFO: TCP Data received {"connection_id":136092,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f76ce6e60012d502900064e6a58001c014b2b..."} 
[2026-07-19 01:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76ce6e60012d502900064e6a58001c014b2b..."} 
[2026-07-19 01:29:06] local.INFO: Processing buffer {"connection_id":136092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76ce6e60012d502900064e6a58001c014b2b..."} 
[2026-07-19 01:29:06] local.INFO: Packet analysis {"connection_id":136092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ce"} 
[2026-07-19 01:29:06] local.INFO: Extracted packet for processing {"connection_id":136092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ce"} 
[2026-07-19 01:29:06] local.INFO: GPS Element Parsed {"raw_longitude":760228096,"raw_latitude":105802328,"longitude_deg":76.0228096,"latitude_deg":10.5802328,"altitude":28,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d502900","hex_latitude":"064e6a58","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807517440001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351890673470799872,"note":"Value kept but may cause issues"} 
[2026-07-19 01:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5782833054860986368,"note":"Value kept but may cause issues"} 
[2026-07-19 01:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784404668000,"timestamp_ms":1784404668000,"timestamp_seconds":1784404668,"priority":1,"record_length":96,"hex_timestamp":"0000019f76ce6e60"} 
[2026-07-19 01:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 01: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-19 01:29:06] 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-07-19 01: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-07-19 01:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:29:06] 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-07-19 01:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807517440001,"66":25321,"7":206,"78":62464,"24":0,"16":351890673470799872,"45":5782833054860986368},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-07-19 01:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807517440001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:29:06] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-19 01:29:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351890673470799872,"km_value":351890673470799.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5782833054860986368,"description":"Unknown IO ID 45"} 
[2026-07-19 01:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807517440001,"power":25321,"unknown_7":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5782833054860986368}} 
[2026-07-19 01:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":136092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:29:06] local.INFO: GPS data processed {"connection_id":136092,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:29:06] local.INFO: Acknowledgment sent {"connection_id":136092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:29:37] local.INFO: TCP Data received {"connection_id":136092,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f76ce6e60012d502900064e6a58001c014b2b..."} 
[2026-07-19 01:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76ce6e60012d502900064e6a58001c014b2b..."} 
[2026-07-19 01:29:37] local.INFO: Processing buffer {"connection_id":136092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76ce6e60012d502900064e6a58001c014b2b..."} 
[2026-07-19 01:29:37] local.INFO: Packet analysis {"connection_id":136092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ce"} 
[2026-07-19 01:29:37] local.INFO: Extracted packet for processing {"connection_id":136092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ce"} 
[2026-07-19 01:29:37] local.INFO: GPS Element Parsed {"raw_longitude":760228096,"raw_latitude":105802328,"longitude_deg":76.0228096,"latitude_deg":10.5802328,"altitude":28,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d502900","hex_latitude":"064e6a58","is_valid_coordinates":true} 
[2026-07-19 01:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807517440001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351890673470799872,"note":"Value kept but may cause issues"} 
[2026-07-19 01:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5782833054860986368,"note":"Value kept but may cause issues"} 
[2026-07-19 01:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784404668000,"timestamp_ms":1784404668000,"timestamp_seconds":1784404668,"priority":1,"record_length":96,"hex_timestamp":"0000019f76ce6e60"} 
[2026-07-19 01:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 01:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-19 01:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:29:37] 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-07-19 01:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807517440001,"66":25321,"7":206,"78":62464,"24":0,"16":351890673470799872,"45":5782833054860986368},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-07-19 01:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807517440001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:29:37] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-19 01:29:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351890673470799872,"km_value":351890673470799.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5782833054860986368,"description":"Unknown IO ID 45"} 
[2026-07-19 01:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807517440001,"power":25321,"unknown_7":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5782833054860986368}} 
[2026-07-19 01:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":136092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:29:37] local.INFO: GPS data processed {"connection_id":136092,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:29:37] local.INFO: Acknowledgment sent {"connection_id":136092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:29:56] local.INFO: TCP Data received {"connection_id":138541,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:29:56] local.INFO: Processing buffer {"connection_id":138541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:29:56] local.INFO: IMEI packet received {"connection_id":138541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":138541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:30:00] local.INFO: TCP Data received {"connection_id":138541,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:30:00] local.INFO: Processing buffer {"connection_id":138541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:30:00] local.INFO: IMEI packet received {"connection_id":138541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":138541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:30:01] local.INFO: TCP Data received {"connection_id":138541,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f76ce6e60012d502900064e6a58001c014b2b..."} 
[2026-07-19 01:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76ce6e60012d502900064e6a58001c014b2b..."} 
[2026-07-19 01:30:01] local.INFO: Processing buffer {"connection_id":138541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76ce6e60012d502900064e6a58001c014b2b..."} 
[2026-07-19 01:30:01] local.INFO: Packet analysis {"connection_id":138541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ce"} 
[2026-07-19 01:30:01] local.INFO: Extracted packet for processing {"connection_id":138541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ce"} 
[2026-07-19 01:30:01] local.INFO: GPS Element Parsed {"raw_longitude":760228096,"raw_latitude":105802328,"longitude_deg":76.0228096,"latitude_deg":10.5802328,"altitude":28,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d502900","hex_latitude":"064e6a58","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807517440001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351890673470799872,"note":"Value kept but may cause issues"} 
[2026-07-19 01:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5782833054860986368,"note":"Value kept but may cause issues"} 
[2026-07-19 01:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784404668000,"timestamp_ms":1784404668000,"timestamp_seconds":1784404668,"priority":1,"record_length":96,"hex_timestamp":"0000019f76ce6e60"} 
[2026-07-19 01:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 01:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-19 01:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":138541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":138541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":138541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:30:01] 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-07-19 01:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807517440001,"66":25321,"7":206,"78":62464,"24":0,"16":351890673470799872,"45":5782833054860986368},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-07-19 01:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807517440001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:30:01] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-19 01:30:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351890673470799872,"km_value":351890673470799.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5782833054860986368,"description":"Unknown IO ID 45"} 
[2026-07-19 01:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807517440001,"power":25321,"unknown_7":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5782833054860986368}} 
[2026-07-19 01:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":138541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:30:01] local.INFO: GPS data processed {"connection_id":138541,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:30:01] local.INFO: Acknowledgment sent {"connection_id":138541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:30:32] local.INFO: TCP Data received {"connection_id":138541,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f76ce6e60012d502900064e6a58001c014b2b..."} 
[2026-07-19 01:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76ce6e60012d502900064e6a58001c014b2b..."} 
[2026-07-19 01:30:32] local.INFO: Processing buffer {"connection_id":138541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76ce6e60012d502900064e6a58001c014b2b..."} 
[2026-07-19 01:30:32] local.INFO: Packet analysis {"connection_id":138541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ce"} 
[2026-07-19 01:30:32] local.INFO: Extracted packet for processing {"connection_id":138541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ce"} 
[2026-07-19 01:30:32] local.INFO: GPS Element Parsed {"raw_longitude":760228096,"raw_latitude":105802328,"longitude_deg":76.0228096,"latitude_deg":10.5802328,"altitude":28,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d502900","hex_latitude":"064e6a58","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807517440001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351890673470799872,"note":"Value kept but may cause issues"} 
[2026-07-19 01:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5782833054860986368,"note":"Value kept but may cause issues"} 
[2026-07-19 01:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784404668000,"timestamp_ms":1784404668000,"timestamp_seconds":1784404668,"priority":1,"record_length":96,"hex_timestamp":"0000019f76ce6e60"} 
[2026-07-19 01:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 01:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-19 01:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":138541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":138541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":138541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807517440001,"66":25321,"7":206,"78":62464,"24":0,"16":351890673470799872,"45":5782833054860986368},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-07-19 01:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807517440001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:30:32] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-19 01:30:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351890673470799872,"km_value":351890673470799.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5782833054860986368,"description":"Unknown IO ID 45"} 
[2026-07-19 01:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807517440001,"power":25321,"unknown_7":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5782833054860986368}} 
[2026-07-19 01:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":138541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:30:32] local.INFO: GPS data processed {"connection_id":138541,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:30:32] local.INFO: Acknowledgment sent {"connection_id":138541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:30:55] local.INFO: TCP Data received {"connection_id":136209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:30:55] local.INFO: Processing buffer {"connection_id":136209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:30:55] local.INFO: IMEI packet received {"connection_id":136209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":136209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:30:57] local.INFO: TCP Data received {"connection_id":136209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:30:57] local.INFO: Processing buffer {"connection_id":136209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:30:57] local.INFO: IMEI packet received {"connection_id":136209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":136209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:31:00] local.INFO: TCP Data received {"connection_id":136209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:31:00] local.INFO: Processing buffer {"connection_id":136209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:31:00] local.INFO: IMEI packet received {"connection_id":136209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":136209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:31:01] local.INFO: TCP Data received {"connection_id":136209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f76d06648012d502900064e6a58001c014b28..."} 
[2026-07-19 01:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76d06648012d502900064e6a58001c014b28..."} 
[2026-07-19 01:31:01] local.INFO: Processing buffer {"connection_id":136209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76d06648012d502900064e6a58001c014b28..."} 
[2026-07-19 01:31:01] local.INFO: Packet analysis {"connection_id":136209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76d0"} 
[2026-07-19 01:31:01] local.INFO: Extracted packet for processing {"connection_id":136209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76d0"} 
[2026-07-19 01:31:01] local.INFO: GPS Element Parsed {"raw_longitude":760228096,"raw_latitude":105802328,"longitude_deg":76.0228096,"latitude_deg":10.5802328,"altitude":28,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d502900","hex_latitude":"064e6a58","is_valid_coordinates":true} 
[2026-07-19 01:31: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-07-19 01:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807595008001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351890673470799872,"note":"Value kept but may cause issues"} 
[2026-07-19 01:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5776148024164767744,"note":"Value kept but may cause issues"} 
[2026-07-19 01:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784404797000,"timestamp_ms":1784404797000,"timestamp_seconds":1784404797,"priority":1,"record_length":96,"hex_timestamp":"0000019f76d06648"} 
[2026-07-19 01:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 01:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 01:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807595008001,"66":25093,"7":206,"78":62464,"24":0,"16":351890673470799872,"45":5776148024164767744},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-07-19 01:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807595008001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:31:01] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-19 01:31:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351890673470799872,"km_value":351890673470799.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5776148024164767744,"description":"Unknown IO ID 45"} 
[2026-07-19 01:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807595008001,"power":25093,"unknown_7":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5776148024164767744}} 
[2026-07-19 01:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":136209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:31:01] local.INFO: GPS data processed {"connection_id":136209,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:31:01] local.INFO: Acknowledgment sent {"connection_id":136209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:31:32] local.INFO: TCP Data received {"connection_id":136209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f76d06a30012d502340064e67d8001c00e929..."} 
[2026-07-19 01:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76d06a30012d502340064e67d8001c00e929..."} 
[2026-07-19 01:31:32] local.INFO: Processing buffer {"connection_id":136209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76d06a30012d502340064e67d8001c00e929..."} 
[2026-07-19 01:31:32] local.INFO: Packet analysis {"connection_id":136209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76d0"} 
[2026-07-19 01:31:32] local.INFO: Extracted packet for processing {"connection_id":136209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76d0"} 
[2026-07-19 01:31:32] local.INFO: GPS Element Parsed {"raw_longitude":760226624,"raw_latitude":105801688,"longitude_deg":76.0226624,"latitude_deg":10.5801688,"altitude":28,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d502340","hex_latitude":"064e67d8","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807628032001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351890673470799872,"note":"Value kept but may cause issues"} 
[2026-07-19 01:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5776148024164767744,"note":"Value kept but may cause issues"} 
[2026-07-19 01:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784404798000,"timestamp_ms":1784404798000,"timestamp_seconds":1784404798,"priority":1,"record_length":96,"hex_timestamp":"0000019f76d06a30"} 
[2026-07-19 01:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:31: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-07-19 01:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-19 01:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:31: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-07-19 01:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807628032001,"66":25060,"7":206,"78":62464,"24":0,"16":351890673470799872,"45":5776148024164767744},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-07-19 01:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807628032001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:31:32] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-19 01:31:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351890673470799872,"km_value":351890673470799.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5776148024164767744,"description":"Unknown IO ID 45"} 
[2026-07-19 01:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807628032001,"power":25060,"unknown_7":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5776148024164767744}} 
[2026-07-19 01:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":136209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:31:32] local.INFO: GPS data processed {"connection_id":136209,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:31:32] local.INFO: Acknowledgment sent {"connection_id":136209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:31:53] local.INFO: TCP Data received {"connection_id":136094,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136094,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:31:53] local.INFO: Processing buffer {"connection_id":136094,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:31:53] local.INFO: IMEI packet received {"connection_id":136094,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 01:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":136094,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:32:00] local.INFO: TCP Data received {"connection_id":136210,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:32:00] local.INFO: Processing buffer {"connection_id":136210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:32:00] local.INFO: IMEI packet received {"connection_id":136210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":136210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:32:01] local.INFO: TCP Data received {"connection_id":136210,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:32:01] local.INFO: Processing buffer {"connection_id":136210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:32:01] local.INFO: IMEI packet received {"connection_id":136210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":136210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:32:02] local.INFO: TCP Data received {"connection_id":136210,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f76d0bc38012d502340064e67d8001c00e929..."} 
[2026-07-19 01:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76d0bc38012d502340064e67d8001c00e929..."} 
[2026-07-19 01:32:02] local.INFO: Processing buffer {"connection_id":136210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76d0bc38012d502340064e67d8001c00e929..."} 
[2026-07-19 01:32:02] local.INFO: Packet analysis {"connection_id":136210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76d0"} 
[2026-07-19 01:32:02] local.INFO: Extracted packet for processing {"connection_id":136210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76d0"} 
[2026-07-19 01:32:02] local.INFO: GPS Element Parsed {"raw_longitude":760226624,"raw_latitude":105801688,"longitude_deg":76.0226624,"latitude_deg":10.5801688,"altitude":28,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d502340","hex_latitude":"064e67d8","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807628288001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351890673470799872,"note":"Value kept but may cause issues"} 
[2026-07-19 01:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5774529543048517632,"note":"Value kept but may cause issues"} 
[2026-07-19 01:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784404819000,"timestamp_ms":1784404819000,"timestamp_seconds":1784404819,"priority":1,"record_length":96,"hex_timestamp":"0000019f76d0bc38"} 
[2026-07-19 01:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:32: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-07-19 01: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-19 01:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807628288001,"66":27300,"7":206,"78":62464,"24":0,"16":351890673470799872,"45":5774529543048517632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-07-19 01:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807628288001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:32:02] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-19 01:32:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351890673470799872,"km_value":351890673470799.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5774529543048517632,"description":"Unknown IO ID 45"} 
[2026-07-19 01:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807628288001,"power":27300,"unknown_7":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5774529543048517632}} 
[2026-07-19 01:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":136210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:32:02] local.INFO: GPS data processed {"connection_id":136210,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:32:02] local.INFO: Acknowledgment sent {"connection_id":136210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:32:05] local.INFO: TCP Data received {"connection_id":136210,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f76d10e40012d502340064e67d8001c00e92b..."} 
[2026-07-19 01:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76d10e40012d502340064e67d8001c00e92b..."} 
[2026-07-19 01:32:05] local.INFO: Processing buffer {"connection_id":136210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76d10e40012d502340064e67d8001c00e92b..."} 
[2026-07-19 01:32:05] local.INFO: Packet analysis {"connection_id":136210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76d1"} 
[2026-07-19 01:32:05] local.INFO: Extracted packet for processing {"connection_id":136210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76d1"} 
[2026-07-19 01:32:05] local.INFO: GPS Element Parsed {"raw_longitude":760226624,"raw_latitude":105801688,"longitude_deg":76.0226624,"latitude_deg":10.5801688,"altitude":28,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d502340","hex_latitude":"064e67d8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 01:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807633664001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351890673470799872,"note":"Value kept but may cause issues"} 
[2026-07-19 01:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5774529543048517632,"note":"Value kept but may cause issues"} 
[2026-07-19 01:32:05] 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-07-19 01:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784404840000,"timestamp_ms":1784404840000,"timestamp_seconds":1784404840,"priority":1,"record_length":96,"hex_timestamp":"0000019f76d10e40"} 
[2026-07-19 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-07-19 01:32: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-07-19 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-19 01:32: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-07-19 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-07-19 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-07-19 01:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":136210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":136210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":136210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:32: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-07-19 01:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807633664001,"66":27115,"8":206,"78":62464,"24":0,"16":351890673470799872,"45":5774529543048517632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-07-19 01:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807633664001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:32:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-19 01:32:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351890673470799872,"km_value":351890673470799.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5774529543048517632,"description":"Unknown IO ID 45"} 
[2026-07-19 01:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807633664001,"power":27115,"unknown_8":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5774529543048517632}} 
[2026-07-19 01:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":136210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:32:05] local.INFO: GPS data processed {"connection_id":136210,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:32:05] local.INFO: Acknowledgment sent {"connection_id":136210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:32:28] local.INFO: TCP Data received {"connection_id":136095,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:32:28] local.INFO: Processing buffer {"connection_id":136095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:32:28] local.INFO: IMEI packet received {"connection_id":136095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 01:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":136095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:32:36] local.INFO: TCP Data received {"connection_id":136210,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f76d13168012d502080064e6818001501042a..."} 
[2026-07-19 01:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76d13168012d502080064e6818001501042a..."} 
[2026-07-19 01:32:36] local.INFO: Processing buffer {"connection_id":136210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76d13168012d502080064e6818001501042a..."} 
[2026-07-19 01:32:36] local.INFO: Packet analysis {"connection_id":136210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76d1"} 
[2026-07-19 01:32:36] local.INFO: Extracted packet for processing {"connection_id":136210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76d1"} 
[2026-07-19 01:32:36] local.INFO: GPS Element Parsed {"raw_longitude":760225920,"raw_latitude":105801752,"longitude_deg":76.022592,"latitude_deg":10.5801752,"altitude":21,"angle":260,"satellites":42,"speed":9,"hex_longitude":"2d502080","hex_latitude":"064e6818","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807639040001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351890707830538240,"note":"Value kept but may cause issues"} 
[2026-07-19 01:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5774529543048517632,"note":"Value kept but may cause issues"} 
[2026-07-19 01:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784404849000,"timestamp_ms":1784404849000,"timestamp_seconds":1784404849,"priority":1,"record_length":96,"hex_timestamp":"0000019f76d13168"} 
[2026-07-19 01:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-07-19 01:32:36] 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-07-19 01: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-07-19 01:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:32: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-07-19 01:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807639040001,"66":27223,"240":206,"78":62464,"24":9,"16":351890707830538240,"45":5774529543048517632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,78,24,16,45]} 
[2026-07-19 01:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807639040001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:32:36] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-19 01:32:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351890707830538240,"km_value":351890707830538.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5774529543048517632,"description":"Unknown IO ID 45"} 
[2026-07-19 01:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807639040001,"power":27223,"unknown_240":206,"unknown_78":62464,"ignition":9,"odometer":null,"unknown_45":5774529543048517632}} 
[2026-07-19 01:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":136210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:32:36] local.INFO: GPS data processed {"connection_id":136210,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:32:36] local.INFO: Acknowledgment sent {"connection_id":136210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:32:51] local.INFO: TCP Data received {"connection_id":137135,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:32:51] local.INFO: Processing buffer {"connection_id":137135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:32:51] local.INFO: IMEI packet received {"connection_id":137135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":137135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:32:52] local.INFO: TCP Data received {"connection_id":137135,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:32:52] local.INFO: Processing buffer {"connection_id":137135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:32:52] local.INFO: IMEI packet received {"connection_id":137135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":137135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:32:53] local.INFO: TCP Data received {"connection_id":137135,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:32:53] local.INFO: Processing buffer {"connection_id":137135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:32:53] local.INFO: IMEI packet received {"connection_id":137135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":137135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:32:55] local.INFO: TCP Data received {"connection_id":137135,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:32:55] local.INFO: Processing buffer {"connection_id":137135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:32:55] local.INFO: IMEI packet received {"connection_id":137135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":137135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:37:53] local.INFO: TCP Data received {"connection_id":138543,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138543,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:37:53] local.INFO: Processing buffer {"connection_id":138543,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:37:53] local.INFO: IMEI packet received {"connection_id":138543,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 01:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":138543,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:38:01] local.INFO: TCP Data received {"connection_id":138544,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:38:01] local.INFO: Processing buffer {"connection_id":138544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:38:01] local.INFO: IMEI packet received {"connection_id":138544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":138544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:38:02] local.INFO: TCP Data received {"connection_id":138544,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76d5f040012d4ddd800651a000000601522c..."} 
[2026-07-19 01:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76d5f040012d4ddd800651a000000601522c..."} 
[2026-07-19 01:38:02] local.INFO: Processing buffer {"connection_id":138544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76d5f040012d4ddd800651a000000601522c..."} 
[2026-07-19 01:38:02] local.INFO: Packet analysis {"connection_id":138544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76d5"} 
[2026-07-19 01:38:02] local.INFO: Extracted packet for processing {"connection_id":138544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76d5"} 
[2026-07-19 01:38:02] local.INFO: GPS Element Parsed {"raw_longitude":760077696,"raw_latitude":106012672,"longitude_deg":76.0077696,"latitude_deg":10.6012672,"altitude":6,"angle":338,"satellites":44,"speed":50,"hex_longitude":"2d4ddd80","hex_latitude":"0651a000","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807719168001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351905074496143360,"note":"Value kept but may cause issues"} 
[2026-07-19 01:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5614511018840352768,"note":"Value kept but may cause issues"} 
[2026-07-19 01:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784405160000,"timestamp_ms":1784405160000,"timestamp_seconds":1784405160,"priority":1,"record_length":96,"hex_timestamp":"0000019f76d5f040"} 
[2026-07-19 01:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:38: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-07-19 01: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":185,"data_length":795,"current_offset":136} 
[2026-07-19 01:38: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-07-19 01: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-07-19 01:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":138544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":138544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":138544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:38: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-07-19 01:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807719168001,"66":27463,"246":206,"78":62464,"24":50,"16":351905074496143360,"45":5614511018840352768},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,78,24,16,45]} 
[2026-07-19 01:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807719168001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:38:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351905074496143360,"km_value":351905074496143.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5614511018840352768,"description":"Unknown IO ID 45"} 
[2026-07-19 01:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807719168001,"power":27463,"main_input_voltage":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5614511018840352768}} 
[2026-07-19 01:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":138544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:38:02] local.INFO: GPS data processed {"connection_id":138544,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:38:02] local.INFO: Acknowledgment sent {"connection_id":138544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:38:28] local.INFO: TCP Data received {"connection_id":137139,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:38:28] local.INFO: Processing buffer {"connection_id":137139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:38:28] local.INFO: IMEI packet received {"connection_id":137139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 01:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":137139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:38:34] local.INFO: TCP Data received {"connection_id":138544,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76d776e0012d4ce28006536288000601422c..."} 
[2026-07-19 01:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76d776e0012d4ce28006536288000601422c..."} 
[2026-07-19 01:38:34] local.INFO: Processing buffer {"connection_id":138544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76d776e0012d4ce28006536288000601422c..."} 
[2026-07-19 01:38:34] local.INFO: Packet analysis {"connection_id":138544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76d7"} 
[2026-07-19 01:38:34] local.INFO: Extracted packet for processing {"connection_id":138544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76d7"} 
[2026-07-19 01:38:34] local.INFO: GPS Element Parsed {"raw_longitude":760013440,"raw_latitude":106128008,"longitude_deg":76.001344,"latitude_deg":10.6128008,"altitude":6,"angle":322,"satellites":44,"speed":53,"hex_longitude":"2d4ce280","hex_latitude":"06536288","is_valid_coordinates":true} 
[2026-07-19 01:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807744768001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351911465407479808,"note":"Value kept but may cause issues"} 
[2026-07-19 01:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5546253337017878528,"note":"Value kept but may cause issues"} 
[2026-07-19 01:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784405260000,"timestamp_ms":1784405260000,"timestamp_seconds":1784405260,"priority":1,"record_length":96,"hex_timestamp":"0000019f76d776e0"} 
[2026-07-19 01:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 01:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":138544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":138544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":138544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:38: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-07-19 01:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807744768001,"66":27267,"247":206,"78":62464,"24":53,"16":351911465407479808,"45":5546253337017878528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,78,24,16,45]} 
[2026-07-19 01:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807744768001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:38:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351911465407479808,"km_value":351911465407479.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5546253337017878528,"description":"Unknown IO ID 45"} 
[2026-07-19 01:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807744768001,"power":27267,"internal_battery_voltage":206,"unknown_78":62464,"ignition":53,"odometer":null,"unknown_45":5546253337017878528}} 
[2026-07-19 01:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":138544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:38:34] local.INFO: GPS data processed {"connection_id":138544,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:38:34] local.INFO: Acknowledgment sent {"connection_id":138544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:39:00] local.INFO: TCP Data received {"connection_id":137140,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:39:00] local.INFO: Processing buffer {"connection_id":137140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:39:00] local.INFO: IMEI packet received {"connection_id":137140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":137140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:39:02] local.INFO: TCP Data received {"connection_id":137140,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:39:02] local.INFO: Processing buffer {"connection_id":137140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:39:02] local.INFO: IMEI packet received {"connection_id":137140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":137140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:39:03] local.INFO: TCP Data received {"connection_id":137140,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76d79238012d4ccc0006537fe0000701432a..."} 
[2026-07-19 01:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76d79238012d4ccc0006537fe0000701432a..."} 
[2026-07-19 01:39:03] local.INFO: Processing buffer {"connection_id":137140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76d79238012d4ccc0006537fe0000701432a..."} 
[2026-07-19 01:39:03] local.INFO: Packet analysis {"connection_id":137140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76d7"} 
[2026-07-19 01:39:03] local.INFO: Extracted packet for processing {"connection_id":137140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76d7"} 
[2026-07-19 01:39:03] local.INFO: GPS Element Parsed {"raw_longitude":760007680,"raw_latitude":106135520,"longitude_deg":76.000768,"latitude_deg":10.613552,"altitude":7,"angle":323,"satellites":42,"speed":52,"hex_longitude":"2d4ccc00","hex_latitude":"06537fe0","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807746560001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351911920674013184,"note":"Value kept but may cause issues"} 
[2026-07-19 01:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540131256276256768,"note":"Value kept but may cause issues"} 
[2026-07-19 01:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784405267000,"timestamp_ms":1784405267000,"timestamp_seconds":1784405267,"priority":1,"record_length":96,"hex_timestamp":"0000019f76d79238"} 
[2026-07-19 01:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:39: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-07-19 01: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":131,"data_length":795,"current_offset":136} 
[2026-07-19 01:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":137140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":137140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":137140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:39: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-07-19 01:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807746560001,"66":27245,"247":206,"78":62464,"24":52,"16":351911920674013184,"45":5540131256276256768},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,78,24,16,45]} 
[2026-07-19 01:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807746560001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:39:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351911920674013184,"km_value":351911920674013.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540131256276256768,"description":"Unknown IO ID 45"} 
[2026-07-19 01:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807746560001,"power":27245,"internal_battery_voltage":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5540131256276256768}} 
[2026-07-19 01:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":137140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:39:03] local.INFO: GPS data processed {"connection_id":137140,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:39:03] local.INFO: Acknowledgment sent {"connection_id":137140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:39:05] local.INFO: TCP Data received {"connection_id":137140,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76d7ad90012d4cb74006539c70000a01432b..."} 
[2026-07-19 01:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76d7ad90012d4cb74006539c70000a01432b..."} 
[2026-07-19 01:39:05] local.INFO: Processing buffer {"connection_id":137140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76d7ad90012d4cb74006539c70000a01432b..."} 
[2026-07-19 01:39:05] local.INFO: Packet analysis {"connection_id":137140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76d7"} 
[2026-07-19 01:39:05] local.INFO: Extracted packet for processing {"connection_id":137140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76d7"} 
[2026-07-19 01:39:05] local.INFO: GPS Element Parsed {"raw_longitude":760002368,"raw_latitude":106142832,"longitude_deg":76.0002368,"latitude_deg":10.6142832,"altitude":10,"angle":323,"satellites":43,"speed":51,"hex_longitude":"2d4cb740","hex_latitude":"06539c70","is_valid_coordinates":true} 
[2026-07-19 01:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807748352001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351912358760677376,"note":"Value kept but may cause issues"} 
[2026-07-19 01:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533798069302190080,"note":"Value kept but may cause issues"} 
[2026-07-19 01:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784405274000,"timestamp_ms":1784405274000,"timestamp_seconds":1784405274,"priority":1,"record_length":96,"hex_timestamp":"0000019f76d7ad90"} 
[2026-07-19 01:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 01:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":137140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":137140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":137140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:39: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-07-19 01:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807748352001,"66":27332,"247":206,"78":62464,"24":51,"16":351912358760677376,"45":5533798069302190080},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,78,24,16,45]} 
[2026-07-19 01:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807748352001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:39:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351912358760677376,"km_value":351912358760677.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533798069302190080,"description":"Unknown IO ID 45"} 
[2026-07-19 01:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807748352001,"power":27332,"internal_battery_voltage":206,"unknown_78":62464,"ignition":51,"odometer":null,"unknown_45":5533798069302190080}} 
[2026-07-19 01:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":137140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:39:05] local.INFO: GPS data processed {"connection_id":137140,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:39:05] local.INFO: Acknowledgment sent {"connection_id":137140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:39:37] local.INFO: TCP Data received {"connection_id":137140,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76d7ccd0012d4ca0400653bcc0000c01492c..."} 
[2026-07-19 01:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76d7ccd0012d4ca0400653bcc0000c01492c..."} 
[2026-07-19 01:39:37] local.INFO: Processing buffer {"connection_id":137140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76d7ccd0012d4ca0400653bcc0000c01492c..."} 
[2026-07-19 01:39:37] local.INFO: Packet analysis {"connection_id":137140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76d7"} 
[2026-07-19 01:39:37] local.INFO: Extracted packet for processing {"connection_id":137140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76d7"} 
[2026-07-19 01:39:37] local.INFO: GPS Element Parsed {"raw_longitude":759996480,"raw_latitude":106151104,"longitude_deg":75.999648,"latitude_deg":10.6151104,"altitude":12,"angle":329,"satellites":44,"speed":50,"hex_longitude":"2d4ca040","hex_latitude":"0653bcc0","is_valid_coordinates":true} 
[2026-07-19 01:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807750144001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351912848386949120,"note":"Value kept but may cause issues"} 
[2026-07-19 01:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5527957463537315840,"note":"Value kept but may cause issues"} 
[2026-07-19 01:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784405282000,"timestamp_ms":1784405282000,"timestamp_seconds":1784405282,"priority":1,"record_length":96,"hex_timestamp":"0000019f76d7ccd0"} 
[2026-07-19 01:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:39: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-07-19 01:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-19 01:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807750144001,"66":27397,"247":206,"78":62464,"24":50,"16":351912848386949120,"45":5527957463537315840},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,78,24,16,45]} 
[2026-07-19 01:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807750144001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:39:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351912848386949120,"km_value":351912848386949.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5527957463537315840,"description":"Unknown IO ID 45"} 
[2026-07-19 01:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807750144001,"power":27397,"internal_battery_voltage":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5527957463537315840}} 
[2026-07-19 01:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":137140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:39:37] local.INFO: GPS data processed {"connection_id":137140,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:39:37] local.INFO: Acknowledgment sent {"connection_id":137140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:39:55] local.INFO: TCP Data received {"connection_id":138545,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:39:55] local.INFO: Processing buffer {"connection_id":138545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:39:55] local.INFO: IMEI packet received {"connection_id":138545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":138545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:39:57] local.INFO: TCP Data received {"connection_id":138545,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:39:57] local.INFO: Processing buffer {"connection_id":138545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:39:57] local.INFO: IMEI packet received {"connection_id":138545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":138545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:39:58] local.INFO: TCP Data received {"connection_id":138545,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76d7ec10012d4c8f000653e078000d01512b..."} 
[2026-07-19 01:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76d7ec10012d4c8f000653e078000d01512b..."} 
[2026-07-19 01:39:58] local.INFO: Processing buffer {"connection_id":138545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76d7ec10012d4c8f000653e078000d01512b..."} 
[2026-07-19 01:39:58] local.INFO: Packet analysis {"connection_id":138545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76d7"} 
[2026-07-19 01:39:58] local.INFO: Extracted packet for processing {"connection_id":138545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76d7"} 
[2026-07-19 01:39:58] local.INFO: GPS Element Parsed {"raw_longitude":759992064,"raw_latitude":106160248,"longitude_deg":75.9992064,"latitude_deg":10.6160248,"altitude":13,"angle":337,"satellites":43,"speed":51,"hex_longitude":"2d4c8f00","hex_latitude":"0653e078","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807752192001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351913338013220864,"note":"Value kept but may cause issues"} 
[2026-07-19 01:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5521483539075088384,"note":"Value kept but may cause issues"} 
[2026-07-19 01:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784405290000,"timestamp_ms":1784405290000,"timestamp_seconds":1784405290,"priority":1,"record_length":96,"hex_timestamp":"0000019f76d7ec10"} 
[2026-07-19 01:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01: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-07-19 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-19 01:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":138545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":138545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":138545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:39: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-07-19 01:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807752192001,"66":27463,"247":206,"78":62464,"24":51,"16":351913338013220864,"45":5521483539075088384},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,78,24,16,45]} 
[2026-07-19 01:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807752192001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:39:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351913338013220864,"km_value":351913338013220.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5521483539075088384,"description":"Unknown IO ID 45"} 
[2026-07-19 01:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807752192001,"power":27463,"internal_battery_voltage":206,"unknown_78":62464,"ignition":51,"odometer":null,"unknown_45":5521483539075088384}} 
[2026-07-19 01:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":138545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:39:58] local.INFO: GPS data processed {"connection_id":138545,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:39:58] local.INFO: Acknowledgment sent {"connection_id":138545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:40:30] local.INFO: TCP Data received {"connection_id":138545,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76d947b8012d4b9980065585300006014b2c..."} 
[2026-07-19 01:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76d947b8012d4b9980065585300006014b2c..."} 
[2026-07-19 01:40:30] local.INFO: Processing buffer {"connection_id":138545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76d947b8012d4b9980065585300006014b2c..."} 
[2026-07-19 01:40:30] local.INFO: Packet analysis {"connection_id":138545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76d9"} 
[2026-07-19 01:40:30] local.INFO: Extracted packet for processing {"connection_id":138545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76d9"} 
[2026-07-19 01:40:30] local.INFO: GPS Element Parsed {"raw_longitude":759929216,"raw_latitude":106267952,"longitude_deg":75.9929216,"latitude_deg":10.6267952,"altitude":6,"angle":331,"satellites":44,"speed":60,"hex_longitude":"2d4b9980","hex_latitude":"06558530","is_valid_coordinates":true} 
[2026-07-19 01:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807775488001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351919389622140928,"note":"Value kept but may cause issues"} 
[2026-07-19 01:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5452170326087979008,"note":"Value kept but may cause issues"} 
[2026-07-19 01:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784405379000,"timestamp_ms":1784405379000,"timestamp_seconds":1784405379,"priority":1,"record_length":96,"hex_timestamp":"0000019f76d947b8"} 
[2026-07-19 01:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:40: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-07-19 01:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-19 01:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":138545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":138545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":138545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:40: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-07-19 01:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807775488001,"66":27376,"145":206,"78":62464,"24":60,"16":351919389622140928,"45":5452170326087979008},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-07-19 01:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807775488001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:40:30] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-19 01:40:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351919389622140928,"km_value":351919389622140.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5452170326087979008,"description":"Unknown IO ID 45"} 
[2026-07-19 01:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807775488001,"power":27376,"unknown_145":206,"unknown_78":62464,"ignition":60,"odometer":null,"unknown_45":5452170326087979008}} 
[2026-07-19 01:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":138545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:40:30] local.INFO: GPS data processed {"connection_id":138545,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:40:30] local.INFO: Acknowledgment sent {"connection_id":138545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:40:56] local.INFO: TCP Data received {"connection_id":137142,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:40:56] local.INFO: Processing buffer {"connection_id":137142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:40:56] local.INFO: IMEI packet received {"connection_id":137142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":137142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:40:56] local.INFO: TCP Data received {"connection_id":137142,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:40:56] local.INFO: Processing buffer {"connection_id":137142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:40:56] local.INFO: IMEI packet received {"connection_id":137142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":137142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:41:00] local.INFO: TCP Data received {"connection_id":137142,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:41:00] local.INFO: Processing buffer {"connection_id":137142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:41:00] local.INFO: IMEI packet received {"connection_id":137142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":137142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:41:01] local.INFO: TCP Data received {"connection_id":137142,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76d95f28012d4b88c00655a4380007014b2c..."} 
[2026-07-19 01:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76d95f28012d4b88c00655a4380007014b2c..."} 
[2026-07-19 01:41:01] local.INFO: Processing buffer {"connection_id":137142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76d95f28012d4b88c00655a4380007014b2c..."} 
[2026-07-19 01:41:01] local.INFO: Packet analysis {"connection_id":137142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76d9"} 
[2026-07-19 01:41:01] local.INFO: Extracted packet for processing {"connection_id":137142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76d9"} 
[2026-07-19 01:41:01] local.INFO: GPS Element Parsed {"raw_longitude":759924928,"raw_latitude":106275896,"longitude_deg":75.9924928,"latitude_deg":10.6275896,"altitude":7,"angle":331,"satellites":44,"speed":59,"hex_longitude":"2d4b88c0","hex_latitude":"0655a438","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807777024001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351919823413837824,"note":"Value kept but may cause issues"} 
[2026-07-19 01:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5447525988974276608,"note":"Value kept but may cause issues"} 
[2026-07-19 01:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784405385000,"timestamp_ms":1784405385000,"timestamp_seconds":1784405385,"priority":1,"record_length":96,"hex_timestamp":"0000019f76d95f28"} 
[2026-07-19 01:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:41: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-07-19 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-19 01:41: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-07-19 01: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-07-19 01:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:41: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-07-19 01:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807777024001,"66":27397,"64":206,"78":62464,"24":59,"16":351919823413837824,"45":5447525988974276608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-07-19 01:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807777024001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:41:01] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-19 01:41:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351919823413837824,"km_value":351919823413837.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5447525988974276608,"description":"Unknown IO ID 45"} 
[2026-07-19 01:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807777024001,"power":27397,"unknown_64":206,"unknown_78":62464,"ignition":59,"odometer":null,"unknown_45":5447525988974276608}} 
[2026-07-19 01:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":137142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:41:01] local.INFO: GPS data processed {"connection_id":137142,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:41:01] local.INFO: Acknowledgment sent {"connection_id":137142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:41:32] local.INFO: TCP Data received {"connection_id":137142,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76d97698012d4b77800655c3180006014b2c..."} 
[2026-07-19 01:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76d97698012d4b77800655c3180006014b2c..."} 
[2026-07-19 01:41:32] local.INFO: Processing buffer {"connection_id":137142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76d97698012d4b77800655c3180006014b2c..."} 
[2026-07-19 01:41:32] local.INFO: Packet analysis {"connection_id":137142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76d9"} 
[2026-07-19 01:41:32] local.INFO: Extracted packet for processing {"connection_id":137142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76d9"} 
[2026-07-19 01:41:32] local.INFO: GPS Element Parsed {"raw_longitude":759920512,"raw_latitude":106283800,"longitude_deg":75.9920512,"latitude_deg":10.62838,"altitude":6,"angle":331,"satellites":44,"speed":59,"hex_longitude":"2d4b7780","hex_latitude":"0655c318","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807778560001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351920261500502016,"note":"Value kept but may cause issues"} 
[2026-07-19 01:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5442811283116406784,"note":"Value kept but may cause issues"} 
[2026-07-19 01:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784405391000,"timestamp_ms":1784405391000,"timestamp_seconds":1784405391,"priority":1,"record_length":96,"hex_timestamp":"0000019f76d97698"} 
[2026-07-19 01:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:41: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-07-19 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-19 01:41: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-07-19 01: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-07-19 01:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":137142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":137142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":137142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807778560001,"66":27484,"64":206,"78":62464,"24":59,"16":351920261500502016,"45":5442811283116406784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-07-19 01:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807778560001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:41:32] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-19 01:41:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351920261500502016,"km_value":351920261500502.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5442811283116406784,"description":"Unknown IO ID 45"} 
[2026-07-19 01:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807778560001,"power":27484,"unknown_64":206,"unknown_78":62464,"ignition":59,"odometer":null,"unknown_45":5442811283116406784}} 
[2026-07-19 01:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":137142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:41:32] local.INFO: GPS data processed {"connection_id":137142,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:41:32] local.INFO: Acknowledgment sent {"connection_id":137142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:41:55] local.INFO: TCP Data received {"connection_id":138546,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:41:55] local.INFO: Processing buffer {"connection_id":138546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:41:55] local.INFO: IMEI packet received {"connection_id":138546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":138546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:41:56] local.INFO: TCP Data received {"connection_id":138546,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:41:56] local.INFO: Processing buffer {"connection_id":138546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:41:56] local.INFO: IMEI packet received {"connection_id":138546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":138546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:42:00] local.INFO: TCP Data received {"connection_id":138546,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:42:00] local.INFO: Processing buffer {"connection_id":138546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:42:00] local.INFO: IMEI packet received {"connection_id":138546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":138546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:42:02] local.INFO: TCP Data received {"connection_id":138546,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76da7480012d4afb800656f458000b014e2c..."} 
[2026-07-19 01:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76da7480012d4afb800656f458000b014e2c..."} 
[2026-07-19 01:42:02] local.INFO: Processing buffer {"connection_id":138546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76da7480012d4afb800656f458000b014e2c..."} 
[2026-07-19 01:42:02] local.INFO: Packet analysis {"connection_id":138546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76da"} 
[2026-07-19 01:42:02] local.INFO: Extracted packet for processing {"connection_id":138546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76da"} 
[2026-07-19 01:42:02] local.INFO: GPS Element Parsed {"raw_longitude":759888768,"raw_latitude":106361944,"longitude_deg":75.9888768,"latitude_deg":10.6361944,"altitude":11,"angle":334,"satellites":44,"speed":46,"hex_longitude":"2d4afb80","hex_latitude":"0656f458","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807794688001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351924358899302400,"note":"Value kept but may cause issues"} 
[2026-07-19 01:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5407556542303315968,"note":"Value kept but may cause issues"} 
[2026-07-19 01:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784405456000,"timestamp_ms":1784405456000,"timestamp_seconds":1784405456,"priority":1,"record_length":96,"hex_timestamp":"0000019f76da7480"} 
[2026-07-19 01:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 01:42: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-07-19 01: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-07-19 01:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":138546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":138546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":138546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:42: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-07-19 01:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807794688001,"66":27245,"47":206,"78":62464,"24":46,"16":351924358899302400,"45":5407556542303315968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,78,24,16,45]} 
[2026-07-19 01:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807794688001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:42:02] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-19 01:42:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351924358899302400,"km_value":351924358899302.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5407556542303315968,"description":"Unknown IO ID 45"} 
[2026-07-19 01:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807794688001,"power":27245,"unknown_47":206,"unknown_78":62464,"ignition":46,"odometer":null,"unknown_45":5407556542303315968}} 
[2026-07-19 01:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":138546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:42:02] local.INFO: GPS data processed {"connection_id":138546,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:42:02] local.INFO: Acknowledgment sent {"connection_id":138546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:42:34] local.INFO: TCP Data received {"connection_id":138546,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76da93c0012d4aeac006571598000b014d2c..."} 
[2026-07-19 01:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76da93c0012d4aeac006571598000b014d2c..."} 
[2026-07-19 01:42:34] local.INFO: Processing buffer {"connection_id":138546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76da93c0012d4aeac006571598000b014d2c..."} 
[2026-07-19 01:42:34] local.INFO: Packet analysis {"connection_id":138546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76da"} 
[2026-07-19 01:42:34] local.INFO: Extracted packet for processing {"connection_id":138546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76da"} 
[2026-07-19 01:42:34] local.INFO: GPS Element Parsed {"raw_longitude":759884480,"raw_latitude":106370456,"longitude_deg":75.988448,"latitude_deg":10.6370456,"altitude":11,"angle":333,"satellites":44,"speed":48,"hex_longitude":"2d4aeac0","hex_latitude":"06571598","is_valid_coordinates":true} 
[2026-07-19 01:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807796736001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351924822755770368,"note":"Value kept but may cause issues"} 
[2026-07-19 01:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5403052942678054912,"note":"Value kept but may cause issues"} 
[2026-07-19 01:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784405464000,"timestamp_ms":1784405464000,"timestamp_seconds":1784405464,"priority":1,"record_length":96,"hex_timestamp":"0000019f76da93c0"} 
[2026-07-19 01:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 01:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":138546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":138546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":138546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:42: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-07-19 01:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807796736001,"66":27332,"130":206,"78":62464,"24":48,"16":351924822755770368,"45":5403052942678054912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,78,24,16,45]} 
[2026-07-19 01:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807796736001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:42:34] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-19 01:42:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351924822755770368,"km_value":351924822755770.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5403052942678054912,"description":"Unknown IO ID 45"} 
[2026-07-19 01:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807796736001,"power":27332,"unknown_130":206,"unknown_78":62464,"ignition":48,"odometer":null,"unknown_45":5403052942678054912}} 
[2026-07-19 01:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":138546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:42:34] local.INFO: GPS data processed {"connection_id":138546,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:42:34] local.INFO: Acknowledgment sent {"connection_id":138546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:42:55] local.INFO: TCP Data received {"connection_id":136216,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:42:55] local.INFO: Processing buffer {"connection_id":136216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:42:55] local.INFO: IMEI packet received {"connection_id":136216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":136216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:43:00] local.INFO: TCP Data received {"connection_id":136216,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:43:00] local.INFO: Processing buffer {"connection_id":136216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:43:00] local.INFO: IMEI packet received {"connection_id":136216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":136216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:43:01] local.INFO: TCP Data received {"connection_id":136216,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76daaf18012d4adb40065734c0000b014d2c..."} 
[2026-07-19 01:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76daaf18012d4adb40065734c0000b014d2c..."} 
[2026-07-19 01:43:01] local.INFO: Processing buffer {"connection_id":136216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76daaf18012d4adb40065734c0000b014d2c..."} 
[2026-07-19 01:43:01] local.INFO: Packet analysis {"connection_id":136216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76da"} 
[2026-07-19 01:43:01] local.INFO: Extracted packet for processing {"connection_id":136216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76da"} 
[2026-07-19 01:43:01] local.INFO: GPS Element Parsed {"raw_longitude":759880512,"raw_latitude":106378432,"longitude_deg":75.9880512,"latitude_deg":10.6378432,"altitude":11,"angle":333,"satellites":44,"speed":52,"hex_longitude":"2d4adb40","hex_latitude":"065734c0","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807798784001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351925252252499968,"note":"Value kept but may cause issues"} 
[2026-07-19 01:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5398338236820330496,"note":"Value kept but may cause issues"} 
[2026-07-19 01:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784405471000,"timestamp_ms":1784405471000,"timestamp_seconds":1784405471,"priority":1,"record_length":96,"hex_timestamp":"0000019f76daaf18"} 
[2026-07-19 01:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:43: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-07-19 01: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-19 01:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:43: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-07-19 01:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807798784001,"66":27376,"130":206,"78":62464,"24":52,"16":351925252252499968,"45":5398338236820330496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,78,24,16,45]} 
[2026-07-19 01:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807798784001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:43:01] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-19 01:43:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351925252252499968,"km_value":351925252252499.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5398338236820330496,"description":"Unknown IO ID 45"} 
[2026-07-19 01:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807798784001,"power":27376,"unknown_130":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5398338236820330496}} 
[2026-07-19 01:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":136216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:43:01] local.INFO: GPS data processed {"connection_id":136216,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:43:01] local.INFO: Acknowledgment sent {"connection_id":136216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:43:33] local.INFO: TCP Data received {"connection_id":136216,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76dbff08012d4a15c00658c9780007014c2c..."} 
[2026-07-19 01:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76dbff08012d4a15c00658c9780007014c2c..."} 
[2026-07-19 01:43:33] local.INFO: Processing buffer {"connection_id":136216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76dbff08012d4a15c00658c9780007014c2c..."} 
[2026-07-19 01:43:33] local.INFO: Packet analysis {"connection_id":136216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76db"} 
[2026-07-19 01:43:33] local.INFO: Extracted packet for processing {"connection_id":136216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76db"} 
[2026-07-19 01:43:33] local.INFO: GPS Element Parsed {"raw_longitude":759829952,"raw_latitude":106482040,"longitude_deg":75.9829952,"latitude_deg":10.648204,"altitude":7,"angle":332,"satellites":44,"speed":54,"hex_longitude":"2d4a15c0","hex_latitude":"0658c978","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807820800001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351930827120050176,"note":"Value kept but may cause issues"} 
[2026-07-19 01:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5343239510155628544,"note":"Value kept but may cause issues"} 
[2026-07-19 01:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784405557000,"timestamp_ms":1784405557000,"timestamp_seconds":1784405557,"priority":1,"record_length":96,"hex_timestamp":"0000019f76dbff08"} 
[2026-07-19 01:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:43: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-07-19 01: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 01:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":136216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":136216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":136216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:43: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-07-19 01:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807820800001,"66":27213,"131":206,"78":62464,"24":54,"16":351930827120050176,"45":5343239510155628544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-07-19 01:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807820800001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:43:33] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-19 01:43:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351930827120050176,"km_value":351930827120050.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5343239510155628544,"description":"Unknown IO ID 45"} 
[2026-07-19 01:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807820800001,"power":27213,"unknown_131":206,"unknown_78":62464,"ignition":54,"odometer":null,"unknown_45":5343239510155628544}} 
[2026-07-19 01:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":136216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:43:33] local.INFO: GPS data processed {"connection_id":136216,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:43:33] local.INFO: Acknowledgment sent {"connection_id":136216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:43:55] local.INFO: TCP Data received {"connection_id":137144,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:43:55] local.INFO: Processing buffer {"connection_id":137144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:43:55] local.INFO: IMEI packet received {"connection_id":137144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":137144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:43:58] local.INFO: TCP Data received {"connection_id":136097,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:43:58] local.INFO: Processing buffer {"connection_id":136097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:43:58] local.INFO: IMEI packet received {"connection_id":136097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 01:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":136097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:43:59] local.INFO: TCP Data received {"connection_id":137144,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:43:59] local.INFO: Processing buffer {"connection_id":137144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:43:59] local.INFO: IMEI packet received {"connection_id":137144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":137144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:44:01] local.INFO: TCP Data received {"connection_id":137144,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:44:01] local.INFO: Processing buffer {"connection_id":137144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:44:01] local.INFO: IMEI packet received {"connection_id":137144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":137144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:44:21] local.INFO: TCP Data received {"connection_id":137144,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76dc1a60012d4a05000658e9c00007014c2d..."} 
[2026-07-19 01:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76dc1a60012d4a05000658e9c00007014c2d..."} 
[2026-07-19 01:44:21] local.INFO: Processing buffer {"connection_id":137144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76dc1a60012d4a05000658e9c00007014c2d..."} 
[2026-07-19 01:44:21] local.INFO: Packet analysis {"connection_id":137144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76dc"} 
[2026-07-19 01:44:21] local.INFO: Extracted packet for processing {"connection_id":137144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76dc"} 
[2026-07-19 01:44:21] local.INFO: GPS Element Parsed {"raw_longitude":759825664,"raw_latitude":106490304,"longitude_deg":75.9825664,"latitude_deg":10.6490304,"altitude":7,"angle":332,"satellites":45,"speed":50,"hex_longitude":"2d4a0500","hex_latitude":"0658e9c0","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807822592001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351931273796648960,"note":"Value kept but may cause issues"} 
[2026-07-19 01:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5338384066809526272,"note":"Value kept but may cause issues"} 
[2026-07-19 01:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784405564000,"timestamp_ms":1784405564000,"timestamp_seconds":1784405564,"priority":1,"record_length":96,"hex_timestamp":"0000019f76dc1a60"} 
[2026-07-19 01:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-19 01:44:21] 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-07-19 01: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-07-19 01:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":137144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":137144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":137144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807822592001,"66":27321,"131":206,"78":62464,"24":50,"16":351931273796648960,"45":5338384066809526272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-07-19 01:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807822592001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:44:21] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-19 01:44:21] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351931273796648960,"km_value":351931273796648.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5338384066809526272,"description":"Unknown IO ID 45"} 
[2026-07-19 01:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807822592001,"power":27321,"unknown_131":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5338384066809526272}} 
[2026-07-19 01:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":137144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:44:21] local.INFO: GPS data processed {"connection_id":137144,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:44:21] local.INFO: Acknowledgment sent {"connection_id":137144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:44:28] local.INFO: TCP Data received {"connection_id":136098,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:44:28] local.INFO: Processing buffer {"connection_id":136098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:44:28] local.INFO: IMEI packet received {"connection_id":136098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 01:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":136098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:44:28] local.INFO: TCP Data received {"connection_id":137144,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76dc39a0012d49f28006590ca00007014b2c..."} 
[2026-07-19 01:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76dc39a0012d49f28006590ca00007014b2c..."} 
[2026-07-19 01:44:28] local.INFO: Processing buffer {"connection_id":137144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76dc39a0012d49f28006590ca00007014b2c..."} 
[2026-07-19 01:44:28] local.INFO: Packet analysis {"connection_id":137144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76dc"} 
[2026-07-19 01:44:28] local.INFO: Extracted packet for processing {"connection_id":137144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76dc"} 
[2026-07-19 01:44:28] local.INFO: GPS Element Parsed {"raw_longitude":759820928,"raw_latitude":106499232,"longitude_deg":75.9820928,"latitude_deg":10.6499232,"altitude":7,"angle":331,"satellites":44,"speed":51,"hex_longitude":"2d49f280","hex_latitude":"06590ca0","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807824384001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351931763422920704,"note":"Value kept but may cause issues"} 
[2026-07-19 01:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5333669360951738368,"note":"Value kept but may cause issues"} 
[2026-07-19 01:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784405572000,"timestamp_ms":1784405572000,"timestamp_seconds":1784405572,"priority":1,"record_length":96,"hex_timestamp":"0000019f76dc39a0"} 
[2026-07-19 01:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 01:44: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-07-19 01: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-07-19 01:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807824384001,"66":27267,"131":206,"78":62464,"24":51,"16":351931763422920704,"45":5333669360951738368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-07-19 01:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807824384001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:44:28] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-19 01:44:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351931763422920704,"km_value":351931763422920.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5333669360951738368,"description":"Unknown IO ID 45"} 
[2026-07-19 01:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807824384001,"power":27267,"unknown_131":206,"unknown_78":62464,"ignition":51,"odometer":null,"unknown_45":5333669360951738368}} 
[2026-07-19 01:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":137144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:44:28] local.INFO: GPS data processed {"connection_id":137144,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:44:28] local.INFO: Acknowledgment sent {"connection_id":137144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:45:00] local.INFO: TCP Data received {"connection_id":136217,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:45:00] local.INFO: Processing buffer {"connection_id":136217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:45:00] local.INFO: IMEI packet received {"connection_id":136217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":136217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:45:01] local.INFO: TCP Data received {"connection_id":136217,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:45:01] local.INFO: Processing buffer {"connection_id":136217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:45:01] local.INFO: IMEI packet received {"connection_id":136217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":136217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:45:05] local.INFO: TCP Data received {"connection_id":136217,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:45:05] local.INFO: Processing buffer {"connection_id":136217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:45:05] local.INFO: IMEI packet received {"connection_id":136217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":136217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:45:06] local.INFO: TCP Data received {"connection_id":136217,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76dd4ef8012d4948c0065a4bc00009015f2d..."} 
[2026-07-19 01:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76dd4ef8012d4948c0065a4bc00009015f2d..."} 
[2026-07-19 01:45:06] local.INFO: Processing buffer {"connection_id":136217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76dd4ef8012d4948c0065a4bc00009015f2d..."} 
[2026-07-19 01:45:06] local.INFO: Packet analysis {"connection_id":136217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76dd"} 
[2026-07-19 01:45:06] local.INFO: Extracted packet for processing {"connection_id":136217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76dd"} 
[2026-07-19 01:45:06] local.INFO: GPS Element Parsed {"raw_longitude":759777472,"raw_latitude":106580928,"longitude_deg":75.9777472,"latitude_deg":10.6580928,"altitude":9,"angle":351,"satellites":45,"speed":60,"hex_longitude":"2d4948c0","hex_latitude":"065a4bc0","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807843328001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351936247368777728,"note":"Value kept but may cause issues"} 
[2026-07-19 01:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5282722390188453888,"note":"Value kept but may cause issues"} 
[2026-07-19 01:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784405643000,"timestamp_ms":1784405643000,"timestamp_seconds":1784405643,"priority":1,"record_length":96,"hex_timestamp":"0000019f76dd4ef8"} 
[2026-07-19 01:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-19 01:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807843328001,"66":27267,"64":206,"78":62464,"24":60,"16":351936247368777728,"45":5282722390188453888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-07-19 01:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807843328001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:45:06] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-19 01:45:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351936247368777728,"km_value":351936247368777.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5282722390188453888,"description":"Unknown IO ID 45"} 
[2026-07-19 01:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807843328001,"power":27267,"unknown_64":206,"unknown_78":62464,"ignition":60,"odometer":null,"unknown_45":5282722390188453888}} 
[2026-07-19 01:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":136217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:45:06] local.INFO: GPS data processed {"connection_id":136217,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:45:06] local.INFO: Acknowledgment sent {"connection_id":136217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:45:07] local.INFO: TCP Data received {"connection_id":136217,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76dd6668012d494580065a6fd8000701632e..."} 
[2026-07-19 01:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76dd6668012d494580065a6fd8000701632e..."} 
[2026-07-19 01:45:07] local.INFO: Processing buffer {"connection_id":136217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76dd6668012d494580065a6fd8000701632e..."} 
[2026-07-19 01:45:07] local.INFO: Packet analysis {"connection_id":136217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76dd"} 
[2026-07-19 01:45:07] local.INFO: Extracted packet for processing {"connection_id":136217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76dd"} 
[2026-07-19 01:45:07] local.INFO: GPS Element Parsed {"raw_longitude":759776640,"raw_latitude":106590168,"longitude_deg":75.977664,"latitude_deg":10.6590168,"altitude":7,"angle":355,"satellites":46,"speed":61,"hex_longitude":"2d494580","hex_latitude":"065a6fd8","is_valid_coordinates":true} 
[2026-07-19 01:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807844608001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351936698340343808,"note":"Value kept but may cause issues"} 
[2026-07-19 01:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5280681696609157120,"note":"Value kept but may cause issues"} 
[2026-07-19 01:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784405649000,"timestamp_ms":1784405649000,"timestamp_seconds":1784405649,"priority":1,"record_length":96,"hex_timestamp":"0000019f76dd6668"} 
[2026-07-19 01:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 01:45: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-07-19 01:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:45: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-07-19 01:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807844608001,"66":27234,"64":206,"78":62464,"24":61,"16":351936698340343808,"45":5280681696609157120},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-07-19 01:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807844608001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:45:07] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-19 01:45:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351936698340343808,"km_value":351936698340343.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5280681696609157120,"description":"Unknown IO ID 45"} 
[2026-07-19 01:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807844608001,"power":27234,"unknown_64":206,"unknown_78":62464,"ignition":61,"odometer":null,"unknown_45":5280681696609157120}} 
[2026-07-19 01:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":136217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:45:07] local.INFO: GPS data processed {"connection_id":136217,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:45:07] local.INFO: Acknowledgment sent {"connection_id":136217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:45:38] local.INFO: TCP Data received {"connection_id":136217,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76dd7dd8012d494300065a93e8000501642d..."} 
[2026-07-19 01:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76dd7dd8012d494300065a93e8000501642d..."} 
[2026-07-19 01:45:38] local.INFO: Processing buffer {"connection_id":136217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76dd7dd8012d494300065a93e8000501642d..."} 
[2026-07-19 01:45:38] local.INFO: Packet analysis {"connection_id":136217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76dd"} 
[2026-07-19 01:45:38] local.INFO: Extracted packet for processing {"connection_id":136217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76dd"} 
[2026-07-19 01:45:38] local.INFO: GPS Element Parsed {"raw_longitude":759776000,"raw_latitude":106599400,"longitude_deg":75.9776,"latitude_deg":10.65994,"altitude":5,"angle":356,"satellites":45,"speed":60,"hex_longitude":"2d494300","hex_latitude":"065a93e8","is_valid_coordinates":true} 
[2026-07-19 01:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807846144001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351937149311909888,"note":"Value kept but may cause issues"} 
[2026-07-19 01:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5279766902937212928,"note":"Value kept but may cause issues"} 
[2026-07-19 01:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784405655000,"timestamp_ms":1784405655000,"timestamp_seconds":1784405655,"priority":1,"record_length":96,"hex_timestamp":"0000019f76dd7dd8"} 
[2026-07-19 01:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:45: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-07-19 01:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-19 01:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807846144001,"66":27234,"64":206,"78":62464,"24":60,"16":351937149311909888,"45":5279766902937212928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-07-19 01:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807846144001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:45:38] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-19 01:45:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-19 01:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351937149311909888,"km_value":351937149311909.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5279766902937212928,"description":"Unknown IO ID 45"} 
[2026-07-19 01:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807846144001,"power":27234,"unknown_64":206,"unknown_78":62464,"ignition":60,"odometer":null,"unknown_45":5279766902937212928}} 
[2026-07-19 01:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":136217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:45:38] local.INFO: GPS data processed {"connection_id":136217,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:45:38] local.INFO: Acknowledgment sent {"connection_id":136217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:45:55] local.INFO: TCP Data received {"connection_id":136099,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:45:55] local.INFO: Processing buffer {"connection_id":136099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:45:55] local.INFO: IMEI packet received {"connection_id":136099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":136099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:46:00] local.INFO: TCP Data received {"connection_id":136099,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:46:00] local.INFO: Processing buffer {"connection_id":136099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:46:00] local.INFO: IMEI packet received {"connection_id":136099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":136099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:46:00] local.INFO: TCP Data received {"connection_id":136099,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:46:00] local.INFO: Processing buffer {"connection_id":136099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:46:00] local.INFO: IMEI packet received {"connection_id":136099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":136099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:46:04] local.INFO: TCP Data received {"connection_id":136099,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:46:04] local.INFO: Processing buffer {"connection_id":136099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:46:04] local.INFO: IMEI packet received {"connection_id":136099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":136099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:49:53] local.INFO: TCP Data received {"connection_id":136219,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136219,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:49:53] local.INFO: Processing buffer {"connection_id":136219,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:49:53] local.INFO: IMEI packet received {"connection_id":136219,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 01:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":136219,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:50:28] local.INFO: TCP Data received {"connection_id":136100,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:50:28] local.INFO: Processing buffer {"connection_id":136100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:50:28] local.INFO: IMEI packet received {"connection_id":136100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 01:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":136100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:51:05] local.INFO: TCP Data received {"connection_id":138552,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:51:05] local.INFO: Processing buffer {"connection_id":138552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:51:05] local.INFO: IMEI packet received {"connection_id":138552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":138552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:51:06] local.INFO: TCP Data received {"connection_id":138552,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:51:06] local.INFO: Processing buffer {"connection_id":138552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:51:06] local.INFO: IMEI packet received {"connection_id":138552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":138552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:51:07] local.INFO: TCP Data received {"connection_id":138552,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76e211b8012d46c0c0065feaf8000701552f..."} 
[2026-07-19 01:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76e211b8012d46c0c0065feaf8000701552f..."} 
[2026-07-19 01:51:07] local.INFO: Processing buffer {"connection_id":138552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76e211b8012d46c0c0065feaf8000701552f..."} 
[2026-07-19 01:51:07] local.INFO: Packet analysis {"connection_id":138552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76e2"} 
[2026-07-19 01:51:07] local.INFO: Extracted packet for processing {"connection_id":138552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76e2"} 
[2026-07-19 01:51:07] local.INFO: GPS Element Parsed {"raw_longitude":759611584,"raw_latitude":106949368,"longitude_deg":75.9611584,"latitude_deg":10.6949368,"altitude":7,"angle":341,"satellites":47,"speed":56,"hex_longitude":"2d46c0c0","hex_latitude":"065feaf8","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807922688001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351955991333437440,"note":"Value kept but may cause issues"} 
[2026-07-19 01:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5102156192722376704,"note":"Value kept but may cause issues"} 
[2026-07-19 01:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784405955000,"timestamp_ms":1784405955000,"timestamp_seconds":1784405955,"priority":1,"record_length":96,"hex_timestamp":"0000019f76e211b8"} 
[2026-07-19 01:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:51: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-07-19 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 01:51: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-07-19 01: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-07-19 01:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":138552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":138552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":138552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:51: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-07-19 01:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807922688001,"66":27332,"113":206,"80":60416,"24":56,"16":351955991333437440,"45":5102156192722376704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-19 01:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807922688001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:51:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-19 01:51:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-19 01:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351955991333437440,"km_value":351955991333437.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5102156192722376704,"description":"Unknown IO ID 45"} 
[2026-07-19 01:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807922688001,"power":27332,"unknown_113":206,"unknown_80":60416,"ignition":56,"odometer":null,"unknown_45":5102156192722376704}} 
[2026-07-19 01:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":138552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:51:07] local.INFO: GPS data processed {"connection_id":138552,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:51:07] local.INFO: Acknowledgment sent {"connection_id":138552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:51:11] local.INFO: TCP Data received {"connection_id":138552,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76e22d10012d46b4c006600fd8000801572f..."} 
[2026-07-19 01:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76e22d10012d46b4c006600fd8000801572f..."} 
[2026-07-19 01:51:11] local.INFO: Processing buffer {"connection_id":138552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76e22d10012d46b4c006600fd8000801572f..."} 
[2026-07-19 01:51:11] local.INFO: Packet analysis {"connection_id":138552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76e2"} 
[2026-07-19 01:51:11] local.INFO: Extracted packet for processing {"connection_id":138552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76e2"} 
[2026-07-19 01:51:11] local.INFO: GPS Element Parsed {"raw_longitude":759608512,"raw_latitude":106958808,"longitude_deg":75.9608512,"latitude_deg":10.6958808,"altitude":8,"angle":343,"satellites":47,"speed":54,"hex_longitude":"2d46b4c0","hex_latitude":"06600fd8","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456807924480001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351956472369774592,"note":"Value kept but may cause issues"} 
[2026-07-19 01:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5098285911794972672,"note":"Value kept but may cause issues"} 
[2026-07-19 01:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784405962000,"timestamp_ms":1784405962000,"timestamp_seconds":1784405962,"priority":1,"record_length":96,"hex_timestamp":"0000019f76e22d10"} 
[2026-07-19 01:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:51: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-07-19 01: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-19 01:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":138552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":138552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":138552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456807924480001,"66":27365,"113":206,"80":60416,"24":54,"16":351956472369774592,"45":5098285911794972672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-19 01:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456807924480001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:51:11] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-19 01:51:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-19 01:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351956472369774592,"km_value":351956472369774.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5098285911794972672,"description":"Unknown IO ID 45"} 
[2026-07-19 01:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456807924480001,"power":27365,"unknown_113":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":5098285911794972672}} 
[2026-07-19 01:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":138552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:51:11] local.INFO: GPS data processed {"connection_id":138552,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:51:11] local.INFO: Acknowledgment sent {"connection_id":138552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:51:57] local.INFO: TCP Data received {"connection_id":136102,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:51:57] local.INFO: Processing buffer {"connection_id":136102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:51:57] local.INFO: IMEI packet received {"connection_id":136102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":136102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:52:16] local.INFO: TCP Data received {"connection_id":136102,"ip":"42.106.6.15","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 01:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136102,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 01:52:16] local.INFO: Processing buffer {"connection_id":136102,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 01:52:16] local.INFO: IMEI packet received {"connection_id":136102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":136102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:55:48] local.INFO: TCP Data received {"connection_id":136222,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:55:48] local.INFO: Processing buffer {"connection_id":136222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:55:48] local.INFO: IMEI packet received {"connection_id":136222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 01:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":136222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:56:27] local.INFO: TCP Data received {"connection_id":138553,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:56:27] local.INFO: Processing buffer {"connection_id":138553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 01:56:27] local.INFO: IMEI packet received {"connection_id":138553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 01:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":138553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:57:08] local.INFO: TCP Data received {"connection_id":136223,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:57:08] local.INFO: Processing buffer {"connection_id":136223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:57:08] local.INFO: IMEI packet received {"connection_id":136223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":136223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:57:09] local.INFO: TCP Data received {"connection_id":136223,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76e7baf0012d43dac0066710b80007014b2d..."} 
[2026-07-19 01:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76e7baf0012d43dac0066710b80007014b2d..."} 
[2026-07-19 01:57:09] local.INFO: Processing buffer {"connection_id":136223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76e7baf0012d43dac0066710b80007014b2d..."} 
[2026-07-19 01:57:09] local.INFO: Packet analysis {"connection_id":136223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76e7"} 
[2026-07-19 01:57:09] local.INFO: Extracted packet for processing {"connection_id":136223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76e7"} 
[2026-07-19 01:57:09] local.INFO: GPS Element Parsed {"raw_longitude":759421632,"raw_latitude":107417784,"longitude_deg":75.9421632,"latitude_deg":10.7417784,"altitude":7,"angle":331,"satellites":45,"speed":55,"hex_longitude":"2d43dac0","hex_latitude":"066710b8","is_valid_coordinates":true} 
[2026-07-19 01:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 01:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808017664001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351980519891664896,"note":"Value kept but may cause issues"} 
[2026-07-19 01:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4894427660030029824,"note":"Value kept but may cause issues"} 
[2026-07-19 01:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784406326000,"timestamp_ms":1784406326000,"timestamp_seconds":1784406326,"priority":1,"record_length":96,"hex_timestamp":"0000019f76e7baf0"} 
[2026-07-19 01:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 01:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 01:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808017664001,"66":27321,"18":206,"80":60416,"24":55,"16":351980519891664896,"45":4894427660030029824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-07-19 01:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808017664001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:57:09] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-19 01:57:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-19 01:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351980519891664896,"km_value":351980519891664.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4894427660030029824,"description":"Unknown IO ID 45"} 
[2026-07-19 01:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808017664001,"power":27321,"unknown_18":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4894427660030029824}} 
[2026-07-19 01:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":136223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:57:09] local.INFO: GPS data processed {"connection_id":136223,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:57:09] local.INFO: Acknowledgment sent {"connection_id":136223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:57:40] local.INFO: TCP Data received {"connection_id":136223,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76e8f758012d4270400667edd0000401532f..."} 
[2026-07-19 01:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76e8f758012d4270400667edd0000401532f..."} 
[2026-07-19 01:57:40] local.INFO: Processing buffer {"connection_id":136223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76e8f758012d4270400667edd0000401532f..."} 
[2026-07-19 01:57:40] local.INFO: Packet analysis {"connection_id":136223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76e8"} 
[2026-07-19 01:57:40] local.INFO: Extracted packet for processing {"connection_id":136223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76e8"} 
[2026-07-19 01:57:40] local.INFO: GPS Element Parsed {"raw_longitude":759328832,"raw_latitude":107474384,"longitude_deg":75.9328832,"latitude_deg":10.7474384,"altitude":4,"angle":339,"satellites":47,"speed":55,"hex_longitude":"2d427040","hex_latitude":"0667edd0","is_valid_coordinates":true} 
[2026-07-19 01:57: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-07-19 01:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808038400001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351986026039738368,"note":"Value kept but may cause issues"} 
[2026-07-19 01:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4791830031033274368,"note":"Value kept but may cause issues"} 
[2026-07-19 01:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784406407000,"timestamp_ms":1784406407000,"timestamp_seconds":1784406407,"priority":1,"record_length":96,"hex_timestamp":"0000019f76e8f758"} 
[2026-07-19 01:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 01:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01:57: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-07-19 01:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":136223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":136223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":136223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808038400001,"66":27376,"181":206,"80":60416,"24":55,"16":351986026039738368,"45":4791830031033274368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,80,24,16,45]} 
[2026-07-19 01:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808038400001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:57:40] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-07-19 01:57:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-19 01:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351986026039738368,"km_value":351986026039738.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":4791830031033274368,"description":"Unknown IO ID 45"} 
[2026-07-19 01:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808038400001,"power":27376,"unknown_181":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4791830031033274368}} 
[2026-07-19 01:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":136223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:57:40] local.INFO: GPS data processed {"connection_id":136223,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:57:40] local.INFO: Acknowledgment sent {"connection_id":136223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:58:05] local.INFO: TCP Data received {"connection_id":136107,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:58:05] local.INFO: Processing buffer {"connection_id":136107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:58:05] local.INFO: IMEI packet received {"connection_id":136107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":136107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:58:05] local.INFO: TCP Data received {"connection_id":136107,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:58:05] local.INFO: Processing buffer {"connection_id":136107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:58:05] local.INFO: IMEI packet received {"connection_id":136107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":136107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:58:10] local.INFO: TCP Data received {"connection_id":136107,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:58:10] local.INFO: Processing buffer {"connection_id":136107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:58:10] local.INFO: IMEI packet received {"connection_id":136107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":136107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:58:11] local.INFO: TCP Data received {"connection_id":136107,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76e912b0012d426340066810a8000401532f..."} 
[2026-07-19 01:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76e912b0012d426340066810a8000401532f..."} 
[2026-07-19 01:58:11] local.INFO: Processing buffer {"connection_id":136107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76e912b0012d426340066810a8000401532f..."} 
[2026-07-19 01:58:11] local.INFO: Packet analysis {"connection_id":136107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76e9"} 
[2026-07-19 01:58:11] local.INFO: Extracted packet for processing {"connection_id":136107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76e9"} 
[2026-07-19 01:58:11] local.INFO: GPS Element Parsed {"raw_longitude":759325504,"raw_latitude":107483304,"longitude_deg":75.9325504,"latitude_deg":10.7483304,"altitude":4,"angle":339,"satellites":47,"speed":52,"hex_longitude":"2d426340","hex_latitude":"066810a8","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808040192001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351986489896206336,"note":"Value kept but may cause issues"} 
[2026-07-19 01:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4787396800152457216,"note":"Value kept but may cause issues"} 
[2026-07-19 01:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784406414000,"timestamp_ms":1784406414000,"timestamp_seconds":1784406414,"priority":1,"record_length":96,"hex_timestamp":"0000019f76e912b0"} 
[2026-07-19 01:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01: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-07-19 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-19 01:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":136107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":136107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":136107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808040192001,"66":27343,"181":206,"80":60416,"24":52,"16":351986489896206336,"45":4787396800152457216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,80,24,16,45]} 
[2026-07-19 01:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808040192001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:58:11] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-07-19 01:58:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-19 01:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351986489896206336,"km_value":351986489896206.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4787396800152457216,"description":"Unknown IO ID 45"} 
[2026-07-19 01:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808040192001,"power":27343,"unknown_181":206,"unknown_80":60416,"ignition":52,"odometer":null,"unknown_45":4787396800152457216}} 
[2026-07-19 01:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":136107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:58:11] local.INFO: GPS data processed {"connection_id":136107,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:58:11] local.INFO: Acknowledgment sent {"connection_id":136107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:58:12] local.INFO: TCP Data received {"connection_id":136107,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76e92e08012d42560006683280000301522f..."} 
[2026-07-19 01:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76e92e08012d42560006683280000301522f..."} 
[2026-07-19 01:58:12] local.INFO: Processing buffer {"connection_id":136107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76e92e08012d42560006683280000301522f..."} 
[2026-07-19 01:58:12] local.INFO: Packet analysis {"connection_id":136107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76e9"} 
[2026-07-19 01:58:12] local.INFO: Extracted packet for processing {"connection_id":136107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76e9"} 
[2026-07-19 01:58:12] local.INFO: GPS Element Parsed {"raw_longitude":759322112,"raw_latitude":107491968,"longitude_deg":75.9322112,"latitude_deg":10.7491968,"altitude":3,"angle":338,"satellites":47,"speed":54,"hex_longitude":"2d425600","hex_latitude":"06683280","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808041984001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351986936572805120,"note":"Value kept but may cause issues"} 
[2026-07-19 01:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4783737625457502208,"note":"Value kept but may cause issues"} 
[2026-07-19 01:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784406421000,"timestamp_ms":1784406421000,"timestamp_seconds":1784406421,"priority":1,"record_length":96,"hex_timestamp":"0000019f76e92e08"} 
[2026-07-19 01:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 01:58: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-07-19 01: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-07-19 01:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":136107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":136107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":136107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808041984001,"66":27343,"181":206,"80":60416,"24":54,"16":351986936572805120,"45":4783737625457502208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,80,24,16,45]} 
[2026-07-19 01:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808041984001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:58:12] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-07-19 01:58:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-19 01:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351986936572805120,"km_value":351986936572805.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4783737625457502208,"description":"Unknown IO ID 45"} 
[2026-07-19 01:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808041984001,"power":27343,"unknown_181":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4783737625457502208}} 
[2026-07-19 01:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":136107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:58:12] local.INFO: GPS data processed {"connection_id":136107,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:58:12] local.INFO: Acknowledgment sent {"connection_id":136107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:58:55] local.INFO: TCP Data received {"connection_id":136224,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:58:55] local.INFO: Processing buffer {"connection_id":136224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:58:55] local.INFO: IMEI packet received {"connection_id":136224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 01:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":136224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 01:59:00] local.INFO: TCP Data received {"connection_id":136224,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:59:00] local.INFO: Processing buffer {"connection_id":136224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 01:59:00] local.INFO: IMEI packet received {"connection_id":136224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 01:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":136224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 01:59:01] local.INFO: TCP Data received {"connection_id":136224,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76e94960012d4248c0066856e8000201522e..."} 
[2026-07-19 01:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76e94960012d4248c0066856e8000201522e..."} 
[2026-07-19 01:59:01] local.INFO: Processing buffer {"connection_id":136224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76e94960012d4248c0066856e8000201522e..."} 
[2026-07-19 01:59:01] local.INFO: Packet analysis {"connection_id":136224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76e9"} 
[2026-07-19 01:59:01] local.INFO: Extracted packet for processing {"connection_id":136224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76e9"} 
[2026-07-19 01:59:01] local.INFO: GPS Element Parsed {"raw_longitude":759318720,"raw_latitude":107501288,"longitude_deg":75.931872,"latitude_deg":10.7501288,"altitude":2,"angle":338,"satellites":46,"speed":57,"hex_longitude":"2d4248c0","hex_latitude":"066856e8","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808043776001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351987417609142272,"note":"Value kept but may cause issues"} 
[2026-07-19 01:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4780008082018304000,"note":"Value kept but may cause issues"} 
[2026-07-19 01:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784406428000,"timestamp_ms":1784406428000,"timestamp_seconds":1784406428,"priority":1,"record_length":96,"hex_timestamp":"0000019f76e94960"} 
[2026-07-19 01:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 01:59: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-07-19 01: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-07-19 01:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:59: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-07-19 01:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808043776001,"66":27343,"181":206,"80":60416,"24":57,"16":351987417609142272,"45":4780008082018304000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,80,24,16,45]} 
[2026-07-19 01:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808043776001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:59:01] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-07-19 01:59:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-19 01:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351987417609142272,"km_value":351987417609142.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4780008082018304000,"description":"Unknown IO ID 45"} 
[2026-07-19 01:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808043776001,"power":27343,"unknown_181":206,"unknown_80":60416,"ignition":57,"odometer":null,"unknown_45":4780008082018304000}} 
[2026-07-19 01:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":136224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:59:01] local.INFO: GPS data processed {"connection_id":136224,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:59:01] local.INFO: Acknowledgment sent {"connection_id":136224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 01:59:33] local.INFO: TCP Data received {"connection_id":136224,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76eab890012d41bc00066a3f98000b00102f..."} 
[2026-07-19 01:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76eab890012d41bc00066a3f98000b00102f..."} 
[2026-07-19 01:59:33] local.INFO: Processing buffer {"connection_id":136224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76eab890012d41bc00066a3f98000b00102f..."} 
[2026-07-19 01:59:33] local.INFO: Packet analysis {"connection_id":136224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ea"} 
[2026-07-19 01:59:33] local.INFO: Extracted packet for processing {"connection_id":136224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ea"} 
[2026-07-19 01:59:33] local.INFO: GPS Element Parsed {"raw_longitude":759282688,"raw_latitude":107626392,"longitude_deg":75.9282688,"latitude_deg":10.7626392,"altitude":11,"angle":16,"satellites":47,"speed":54,"hex_longitude":"2d41bc00","hex_latitude":"066a3f98","is_valid_coordinates":true} 
[2026-07-19 01: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-07-19 01:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808067840001,"note":"Value kept but may cause issues"} 
[2026-07-19 01:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351993799930544128,"note":"Value kept but may cause issues"} 
[2026-07-19 01:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4734620242055794688,"note":"Value kept but may cause issues"} 
[2026-07-19 01:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 01:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784406522000,"timestamp_ms":1784406522000,"timestamp_seconds":1784406522,"priority":1,"record_length":96,"hex_timestamp":"0000019f76eab890"} 
[2026-07-19 01:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 01:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-19 01:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 01: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-07-19 01:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 01:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 01:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":136224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 01:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":136224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":136224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 01:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 01:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 01:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 01:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808067840001,"66":27332,"201":206,"80":60416,"24":54,"16":351993799930544128,"45":4734620242055794688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,80,24,16,45]} 
[2026-07-19 01:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 01:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 01:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808067840001,"description":"Unknown IO ID 0"} 
[2026-07-19 01:59:33] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-19 01:59:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-19 01:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351993799930544128,"km_value":351993799930544.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 01:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4734620242055794688,"description":"Unknown IO ID 45"} 
[2026-07-19 01:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808067840001,"power":27332,"unknown_201":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4734620242055794688}} 
[2026-07-19 01:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":136224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 01:59:33] local.INFO: GPS data processed {"connection_id":136224,"processed":1,"errors":0,"total":1} 
[2026-07-19 01:59:33] local.INFO: Acknowledgment sent {"connection_id":136224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:00:04] local.INFO: TCP Data received {"connection_id":138554,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:00:04] local.INFO: Processing buffer {"connection_id":138554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:00:04] local.INFO: IMEI packet received {"connection_id":138554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":138554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:00:05] local.INFO: TCP Data received {"connection_id":138554,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:00:05] local.INFO: Processing buffer {"connection_id":138554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:00:05] local.INFO: IMEI packet received {"connection_id":138554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":138554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:00:10] local.INFO: TCP Data received {"connection_id":138554,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:00:10] local.INFO: Processing buffer {"connection_id":138554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:00:10] local.INFO: IMEI packet received {"connection_id":138554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":138554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:00:14] local.INFO: TCP Data received {"connection_id":138554,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76eab890012d41bc00066a3f98000b00102f..."} 
[2026-07-19 02:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76eab890012d41bc00066a3f98000b00102f..."} 
[2026-07-19 02:00:14] local.INFO: Processing buffer {"connection_id":138554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76eab890012d41bc00066a3f98000b00102f..."} 
[2026-07-19 02:00:14] local.INFO: Packet analysis {"connection_id":138554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ea"} 
[2026-07-19 02:00:14] local.INFO: Extracted packet for processing {"connection_id":138554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ea"} 
[2026-07-19 02:00:14] local.INFO: GPS Element Parsed {"raw_longitude":759282688,"raw_latitude":107626392,"longitude_deg":75.9282688,"latitude_deg":10.7626392,"altitude":11,"angle":16,"satellites":47,"speed":54,"hex_longitude":"2d41bc00","hex_latitude":"066a3f98","is_valid_coordinates":true} 
[2026-07-19 02:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808069632001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351993799930544128,"note":"Value kept but may cause issues"} 
[2026-07-19 02:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4736660935639275520,"note":"Value kept but may cause issues"} 
[2026-07-19 02:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784406522000,"timestamp_ms":1784406522000,"timestamp_seconds":1784406522,"priority":1,"record_length":96,"hex_timestamp":"0000019f76eab890"} 
[2026-07-19 02:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-19 02:00:14] 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-07-19 02:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":138554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":138554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":138554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808069632001,"66":27332,"201":206,"80":60416,"24":54,"16":351993799930544128,"45":4736660935639275520},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,80,24,16,45]} 
[2026-07-19 02:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808069632001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:00:14] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-19 02:00:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-19 02:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351993799930544128,"km_value":351993799930544.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4736660935639275520,"description":"Unknown IO ID 45"} 
[2026-07-19 02:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808069632001,"power":27332,"unknown_201":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4736660935639275520}} 
[2026-07-19 02:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":138554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:00:14] local.INFO: GPS data processed {"connection_id":138554,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:00:14] local.INFO: Acknowledgment sent {"connection_id":138554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:00:55] local.INFO: TCP Data received {"connection_id":137151,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:00:55] local.INFO: Processing buffer {"connection_id":137151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:00:55] local.INFO: IMEI packet received {"connection_id":137151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":137151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:00:56] local.INFO: TCP Data received {"connection_id":137151,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:00:56] local.INFO: Processing buffer {"connection_id":137151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:00:56] local.INFO: IMEI packet received {"connection_id":137151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":137151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:01:00] local.INFO: TCP Data received {"connection_id":137151,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:01:00] local.INFO: Processing buffer {"connection_id":137151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:01:00] local.INFO: IMEI packet received {"connection_id":137151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":137151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:01:02] local.INFO: TCP Data received {"connection_id":137151,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76ebf4f8012d42b580066b89600004002b2f..."} 
[2026-07-19 02:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76ebf4f8012d42b580066b89600004002b2f..."} 
[2026-07-19 02:01:02] local.INFO: Processing buffer {"connection_id":137151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76ebf4f8012d42b580066b89600004002b2f..."} 
[2026-07-19 02:01:02] local.INFO: Packet analysis {"connection_id":137151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76eb"} 
[2026-07-19 02:01:02] local.INFO: Extracted packet for processing {"connection_id":137151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76eb"} 
[2026-07-19 02:01:02] local.INFO: GPS Element Parsed {"raw_longitude":759346560,"raw_latitude":107710816,"longitude_deg":75.934656,"latitude_deg":10.7710816,"altitude":4,"angle":43,"satellites":47,"speed":55,"hex_longitude":"2d42b580","hex_latitude":"066b8960","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808088576001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351998923826528256,"note":"Value kept but may cause issues"} 
[2026-07-19 02:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4799218749233004544,"note":"Value kept but may cause issues"} 
[2026-07-19 02:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784406603000,"timestamp_ms":1784406603000,"timestamp_seconds":1784406603,"priority":1,"record_length":96,"hex_timestamp":"0000019f76ebf4f8"} 
[2026-07-19 02:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 02:01: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-07-19 02: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-07-19 02:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":137151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":137151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":137151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:01: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-07-19 02:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808088576001,"66":27332,"148":206,"80":60416,"24":55,"16":351998923826528256,"45":4799218749233004544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-07-19 02:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808088576001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:01:02] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-19 02:01:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-19 02:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351998923826528256,"km_value":351998923826528.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4799218749233004544,"description":"Unknown IO ID 45"} 
[2026-07-19 02:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808088576001,"power":27332,"unknown_148":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4799218749233004544}} 
[2026-07-19 02:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":137151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:01:02] local.INFO: GPS data processed {"connection_id":137151,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:01:02] local.INFO: Acknowledgment sent {"connection_id":137151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:01:33] local.INFO: TCP Data received {"connection_id":137151,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76ec1050012d42d040066ba4a80004002d2e..."} 
[2026-07-19 02:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76ec1050012d42d040066ba4a80004002d2e..."} 
[2026-07-19 02:01:33] local.INFO: Processing buffer {"connection_id":137151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76ec1050012d42d040066ba4a80004002d2e..."} 
[2026-07-19 02:01:33] local.INFO: Packet analysis {"connection_id":137151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ec"} 
[2026-07-19 02:01:33] local.INFO: Extracted packet for processing {"connection_id":137151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ec"} 
[2026-07-19 02:01:33] local.INFO: GPS Element Parsed {"raw_longitude":759353408,"raw_latitude":107717800,"longitude_deg":75.9353408,"latitude_deg":10.77178,"altitude":4,"angle":45,"satellites":46,"speed":54,"hex_longitude":"2d42d040","hex_latitude":"066ba4a8","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808090368001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351999396272930816,"note":"Value kept but may cause issues"} 
[2026-07-19 02:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4806888942350196736,"note":"Value kept but may cause issues"} 
[2026-07-19 02:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784406610000,"timestamp_ms":1784406610000,"timestamp_seconds":1784406610,"priority":1,"record_length":96,"hex_timestamp":"0000019f76ec1050"} 
[2026-07-19 02:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:01: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-07-19 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-19 02:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":137151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":137151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":137151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808090368001,"66":27321,"148":206,"80":60416,"24":54,"16":351999396272930816,"45":4806888942350196736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-07-19 02:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808090368001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:01:33] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-19 02:01:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-19 02:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351999396272930816,"km_value":351999396272930.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4806888942350196736,"description":"Unknown IO ID 45"} 
[2026-07-19 02:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808090368001,"power":27321,"unknown_148":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4806888942350196736}} 
[2026-07-19 02:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":137151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:01:33] local.INFO: GPS data processed {"connection_id":137151,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:01:33] local.INFO: Acknowledgment sent {"connection_id":137151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:01:53] local.INFO: TCP Data received {"connection_id":137152,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137152,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:01:53] local.INFO: Processing buffer {"connection_id":137152,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:01:53] local.INFO: IMEI packet received {"connection_id":137152,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 02:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":137152,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:01:55] local.INFO: TCP Data received {"connection_id":136109,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:01:55] local.INFO: Processing buffer {"connection_id":136109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:01:55] local.INFO: IMEI packet received {"connection_id":136109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":136109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:01:57] local.INFO: TCP Data received {"connection_id":136109,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:01:57] local.INFO: Processing buffer {"connection_id":136109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:01:57] local.INFO: IMEI packet received {"connection_id":136109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":136109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:01:58] local.INFO: TCP Data received {"connection_id":136109,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76ec2ba8012d42eb00066bc0300005002c2f..."} 
[2026-07-19 02:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76ec2ba8012d42eb00066bc0300005002c2f..."} 
[2026-07-19 02:01:58] local.INFO: Processing buffer {"connection_id":136109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76ec2ba8012d42eb00066bc0300005002c2f..."} 
[2026-07-19 02:01:58] local.INFO: Packet analysis {"connection_id":136109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ec"} 
[2026-07-19 02:01:58] local.INFO: Extracted packet for processing {"connection_id":136109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ec"} 
[2026-07-19 02:01:58] local.INFO: GPS Element Parsed {"raw_longitude":759360256,"raw_latitude":107724848,"longitude_deg":75.9360256,"latitude_deg":10.7724848,"altitude":5,"angle":44,"satellites":47,"speed":56,"hex_longitude":"2d42eb00","hex_latitude":"066bc030","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808092160001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":351999868719333376,"note":"Value kept but may cause issues"} 
[2026-07-19 02:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4814418397978994688,"note":"Value kept but may cause issues"} 
[2026-07-19 02:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784406617000,"timestamp_ms":1784406617000,"timestamp_seconds":1784406617,"priority":1,"record_length":96,"hex_timestamp":"0000019f76ec2ba8"} 
[2026-07-19 02:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02: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-07-19 02:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 02:01: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-07-19 02: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-07-19 02:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:01: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-07-19 02:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808092160001,"66":27321,"148":206,"80":60416,"24":56,"16":351999868719333376,"45":4814418397978994688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-07-19 02:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808092160001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:01:58] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-19 02:01:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-19 02:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":351999868719333376,"km_value":351999868719333.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4814418397978994688,"description":"Unknown IO ID 45"} 
[2026-07-19 02:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808092160001,"power":27321,"unknown_148":206,"unknown_80":60416,"ignition":56,"odometer":null,"unknown_45":4814418397978994688}} 
[2026-07-19 02:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":136109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:01:58] local.INFO: GPS data processed {"connection_id":136109,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:01:58] local.INFO: Acknowledgment sent {"connection_id":136109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:02:28] local.INFO: TCP Data received {"connection_id":136225,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:02:28] local.INFO: Processing buffer {"connection_id":136225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:02:28] local.INFO: IMEI packet received {"connection_id":136225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 02:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":136225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:02:40] local.INFO: TCP Data received {"connection_id":136109,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76ed5488012d440380066d0398000400282e..."} 
[2026-07-19 02:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76ed5488012d440380066d0398000400282e..."} 
[2026-07-19 02:02:40] local.INFO: Processing buffer {"connection_id":136109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76ed5488012d440380066d0398000400282e..."} 
[2026-07-19 02:02:40] local.INFO: Packet analysis {"connection_id":136109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ed"} 
[2026-07-19 02:02:40] local.INFO: Extracted packet for processing {"connection_id":136109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ed"} 
[2026-07-19 02:02:40] local.INFO: GPS Element Parsed {"raw_longitude":759432064,"raw_latitude":107807640,"longitude_deg":75.9432064,"latitude_deg":10.780764,"altitude":4,"angle":40,"satellites":46,"speed":55,"hex_longitude":"2d440380","hex_latitude":"066d0398","is_valid_coordinates":true} 
[2026-07-19 02:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808111616001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352005142939172864,"note":"Value kept but may cause issues"} 
[2026-07-19 02:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4894146185153359872,"note":"Value kept but may cause issues"} 
[2026-07-19 02:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784406693000,"timestamp_ms":1784406693000,"timestamp_seconds":1784406693,"priority":1,"record_length":96,"hex_timestamp":"0000019f76ed5488"} 
[2026-07-19 02:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-19 02:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":136109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":136109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":136109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808111616001,"66":27343,"148":206,"80":60416,"24":55,"16":352005142939172864,"45":4894146185153359872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-07-19 02:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808111616001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:02:40] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-19 02:02:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-19 02:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352005142939172864,"km_value":352005142939172.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":4894146185153359872,"description":"Unknown IO ID 45"} 
[2026-07-19 02:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808111616001,"power":27343,"unknown_148":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4894146185153359872}} 
[2026-07-19 02:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":136109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:02:40] local.INFO: GPS data processed {"connection_id":136109,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:02:40] local.INFO: Acknowledgment sent {"connection_id":136109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:02:54] local.INFO: TCP Data received {"connection_id":136226,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:02:54] local.INFO: Processing buffer {"connection_id":136226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:02:54] local.INFO: IMEI packet received {"connection_id":136226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":136226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:02:55] local.INFO: TCP Data received {"connection_id":136226,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:02:55] local.INFO: Processing buffer {"connection_id":136226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:02:55] local.INFO: IMEI packet received {"connection_id":136226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":136226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:03:00] local.INFO: TCP Data received {"connection_id":136226,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:03:00] local.INFO: Processing buffer {"connection_id":136226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:03:00] local.INFO: IMEI packet received {"connection_id":136226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":136226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:03:02] local.INFO: TCP Data received {"connection_id":136226,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76ed6fe0012d441c40066d2100000400272d..."} 
[2026-07-19 02:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76ed6fe0012d441c40066d2100000400272d..."} 
[2026-07-19 02:03:02] local.INFO: Processing buffer {"connection_id":136226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76ed6fe0012d441c40066d2100000400272d..."} 
[2026-07-19 02:03:02] local.INFO: Packet analysis {"connection_id":136226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ed"} 
[2026-07-19 02:03:02] local.INFO: Extracted packet for processing {"connection_id":136226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ed"} 
[2026-07-19 02:03:02] local.INFO: GPS Element Parsed {"raw_longitude":759438400,"raw_latitude":107815168,"longitude_deg":75.94384,"latitude_deg":10.7815168,"altitude":4,"angle":39,"satellites":45,"speed":55,"hex_longitude":"2d441c40","hex_latitude":"066d2100","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808113408001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352005615385575424,"note":"Value kept but may cause issues"} 
[2026-07-19 02:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4900901584596342784,"note":"Value kept but may cause issues"} 
[2026-07-19 02:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784406700000,"timestamp_ms":1784406700000,"timestamp_seconds":1784406700,"priority":1,"record_length":96,"hex_timestamp":"0000019f76ed6fe0"} 
[2026-07-19 02:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 02:03: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-07-19 02: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-07-19 02:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:03: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-07-19 02:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808113408001,"66":27343,"148":206,"80":60416,"24":55,"16":352005615385575424,"45":4900901584596342784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-07-19 02:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808113408001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:03:02] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-19 02:03:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-19 02:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352005615385575424,"km_value":352005615385575.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4900901584596342784,"description":"Unknown IO ID 45"} 
[2026-07-19 02:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808113408001,"power":27343,"unknown_148":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4900901584596342784}} 
[2026-07-19 02:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":136226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:03:02] local.INFO: GPS data processed {"connection_id":136226,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:03:02] local.INFO: Acknowledgment sent {"connection_id":136226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:03:33] local.INFO: TCP Data received {"connection_id":136226,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f76ed8b38012d443480066d3e300006002730..."} 
[2026-07-19 02:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76ed8b38012d443480066d3e300006002730..."} 
[2026-07-19 02:03:33] local.INFO: Processing buffer {"connection_id":136226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76ed8b38012d443480066d3e300006002730..."} 
[2026-07-19 02:03:33] local.INFO: Packet analysis {"connection_id":136226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ed"} 
[2026-07-19 02:03:33] local.INFO: Extracted packet for processing {"connection_id":136226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ed"} 
[2026-07-19 02:03:33] local.INFO: GPS Element Parsed {"raw_longitude":759444608,"raw_latitude":107822640,"longitude_deg":75.9444608,"latitude_deg":10.782264,"altitude":6,"angle":39,"satellites":48,"speed":53,"hex_longitude":"2d443480","hex_latitude":"066d3e30","is_valid_coordinates":true} 
[2026-07-19 02:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808115200001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352006083537010688,"note":"Value kept but may cause issues"} 
[2026-07-19 02:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4907868090271858688,"note":"Value kept but may cause issues"} 
[2026-07-19 02:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784406707000,"timestamp_ms":1784406707000,"timestamp_seconds":1784406707,"priority":1,"record_length":96,"hex_timestamp":"0000019f76ed8b38"} 
[2026-07-19 02:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 02:03: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-07-19 02:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":136226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":136226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":136226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808115200001,"66":27310,"148":206,"80":60416,"24":53,"16":352006083537010688,"45":4907868090271858688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-07-19 02:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808115200001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:03:33] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-19 02:03:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-19 02:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352006083537010688,"km_value":352006083537010.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4907868090271858688,"description":"Unknown IO ID 45"} 
[2026-07-19 02:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808115200001,"power":27310,"unknown_148":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4907868090271858688}} 
[2026-07-19 02:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":136226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:03:33] local.INFO: GPS data processed {"connection_id":136226,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:03:33] local.INFO: Acknowledgment sent {"connection_id":136226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:03:55] local.INFO: TCP Data received {"connection_id":136110,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:03:55] local.INFO: Processing buffer {"connection_id":136110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:03:55] local.INFO: IMEI packet received {"connection_id":136110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":136110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:04:04] local.INFO: TCP Data received {"connection_id":136110,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:04:04] local.INFO: Processing buffer {"connection_id":136110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:04:04] local.INFO: IMEI packet received {"connection_id":136110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":136110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:04:05] local.INFO: TCP Data received {"connection_id":136110,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f76eeb418012d453e00066e77180004002630..."} 
[2026-07-19 02:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76eeb418012d453e00066e77180004002630..."} 
[2026-07-19 02:04:05] local.INFO: Processing buffer {"connection_id":136110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76eeb418012d453e00066e77180004002630..."} 
[2026-07-19 02:04:05] local.INFO: Packet analysis {"connection_id":136110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ee"} 
[2026-07-19 02:04:05] local.INFO: Extracted packet for processing {"connection_id":136110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ee"} 
[2026-07-19 02:04:05] local.INFO: GPS Element Parsed {"raw_longitude":759512576,"raw_latitude":107902744,"longitude_deg":75.9512576,"latitude_deg":10.7902744,"altitude":4,"angle":38,"satellites":48,"speed":59,"hex_longitude":"2d453e00","hex_latitude":"066e7718","is_valid_coordinates":true} 
[2026-07-19 02:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808134912001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352011138713518080,"note":"Value kept but may cause issues"} 
[2026-07-19 02:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4983233015306782720,"note":"Value kept but may cause issues"} 
[2026-07-19 02:04:05] 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-07-19 02:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784406783000,"timestamp_ms":1784406783000,"timestamp_seconds":1784406783,"priority":1,"record_length":96,"hex_timestamp":"0000019f76eeb418"} 
[2026-07-19 02:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:04: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-07-19 02:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-19 02:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":136110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":136110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":136110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:04: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-07-19 02:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808134912001,"66":27365,"146":206,"80":60416,"24":59,"16":352011138713518080,"45":4983233015306782720},"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-07-19 02:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808134912001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:04:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-19 02:04:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-19 02:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352011138713518080,"km_value":352011138713518.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4983233015306782720,"description":"Unknown IO ID 45"} 
[2026-07-19 02:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808134912001,"power":27365,"unknown_146":206,"unknown_80":60416,"ignition":59,"odometer":null,"unknown_45":4983233015306782720}} 
[2026-07-19 02:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":136110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:04:05] local.INFO: GPS data processed {"connection_id":136110,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:04:05] local.INFO: Acknowledgment sent {"connection_id":136110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:04:36] local.INFO: TCP Data received {"connection_id":136110,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f76eecb88012d455300066e9308000400242f..."} 
[2026-07-19 02:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76eecb88012d455300066e9308000400242f..."} 
[2026-07-19 02:04:36] local.INFO: Processing buffer {"connection_id":136110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76eecb88012d455300066e9308000400242f..."} 
[2026-07-19 02:04:36] local.INFO: Packet analysis {"connection_id":136110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ee"} 
[2026-07-19 02:04:36] local.INFO: Extracted packet for processing {"connection_id":136110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ee"} 
[2026-07-19 02:04:36] local.INFO: GPS Element Parsed {"raw_longitude":759517952,"raw_latitude":107909896,"longitude_deg":75.9517952,"latitude_deg":10.7909896,"altitude":4,"angle":36,"satellites":47,"speed":60,"hex_longitude":"2d455300","hex_latitude":"066e9308","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808136448001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352011572505214976,"note":"Value kept but may cause issues"} 
[2026-07-19 02:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4989425464796190720,"note":"Value kept but may cause issues"} 
[2026-07-19 02:04:36] 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-07-19 02:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784406789000,"timestamp_ms":1784406789000,"timestamp_seconds":1784406789,"priority":1,"record_length":96,"hex_timestamp":"0000019f76eecb88"} 
[2026-07-19 02:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:04: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-07-19 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 02:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:04: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-07-19 02:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808136448001,"66":27267,"146":206,"80":60416,"24":60,"16":352011572505214976,"45":4989425464796190720},"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-07-19 02:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808136448001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:04:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-19 02:04:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-19 02:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352011572505214976,"km_value":352011572505215.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4989425464796190720,"description":"Unknown IO ID 45"} 
[2026-07-19 02:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808136448001,"power":27267,"unknown_146":206,"unknown_80":60416,"ignition":60,"odometer":null,"unknown_45":4989425464796190720}} 
[2026-07-19 02:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":136110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:04:37] local.INFO: GPS data processed {"connection_id":136110,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:04:37] local.INFO: Acknowledgment sent {"connection_id":136110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:04:55] local.INFO: TCP Data received {"connection_id":138556,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:04:55] local.INFO: Processing buffer {"connection_id":138556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:04:55] local.INFO: IMEI packet received {"connection_id":138556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":138556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:05:00] local.INFO: TCP Data received {"connection_id":138556,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:05:00] local.INFO: Processing buffer {"connection_id":138556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:05:00] local.INFO: IMEI packet received {"connection_id":138556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":138556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:05:01] local.INFO: TCP Data received {"connection_id":138556,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f76eee2f8012d456840066eafe8000400212f..."} 
[2026-07-19 02:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76eee2f8012d456840066eafe8000400212f..."} 
[2026-07-19 02:05:01] local.INFO: Processing buffer {"connection_id":138556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76eee2f8012d456840066eafe8000400212f..."} 
[2026-07-19 02:05:01] local.INFO: Packet analysis {"connection_id":138556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ee"} 
[2026-07-19 02:05:01] local.INFO: Extracted packet for processing {"connection_id":138556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ee"} 
[2026-07-19 02:05:01] local.INFO: GPS Element Parsed {"raw_longitude":759523392,"raw_latitude":107917288,"longitude_deg":75.9523392,"latitude_deg":10.7917288,"altitude":4,"angle":33,"satellites":47,"speed":59,"hex_longitude":"2d456840","hex_latitude":"066eafe8","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808137984001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352012014886846464,"note":"Value kept but may cause issues"} 
[2026-07-19 02:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4995336439308945408,"note":"Value kept but may cause issues"} 
[2026-07-19 02:05: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-07-19 02:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784406795000,"timestamp_ms":1784406795000,"timestamp_seconds":1784406795,"priority":1,"record_length":96,"hex_timestamp":"0000019f76eee2f8"} 
[2026-07-19 02:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 02:05: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-07-19 02: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-07-19 02:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":138556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":138556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":138556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:05: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-07-19 02:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808137984001,"66":27321,"146":206,"80":60416,"24":59,"16":352012014886846464,"45":4995336439308945408},"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-07-19 02:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808137984001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:05:01] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-19 02:05:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-19 02:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352012014886846464,"km_value":352012014886846.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4995336439308945408,"description":"Unknown IO ID 45"} 
[2026-07-19 02:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808137984001,"power":27321,"unknown_146":206,"unknown_80":60416,"ignition":59,"odometer":null,"unknown_45":4995336439308945408}} 
[2026-07-19 02:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":138556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:05:01] local.INFO: GPS data processed {"connection_id":138556,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:05:01] local.INFO: Acknowledgment sent {"connection_id":138556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:05:34] local.INFO: TCP Data received {"connection_id":138556,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f76f01f60012d4687c0067005a8000600252f..."} 
[2026-07-19 02:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76f01f60012d4687c0067005a8000600252f..."} 
[2026-07-19 02:05:34] local.INFO: Processing buffer {"connection_id":138556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76f01f60012d4687c0067005a8000600252f..."} 
[2026-07-19 02:05:34] local.INFO: Packet analysis {"connection_id":138556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76f0"} 
[2026-07-19 02:05:34] local.INFO: Extracted packet for processing {"connection_id":138556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76f0"} 
[2026-07-19 02:05:34] local.INFO: GPS Element Parsed {"raw_longitude":759596992,"raw_latitude":108004776,"longitude_deg":75.9596992,"latitude_deg":10.8004776,"altitude":6,"angle":37,"satellites":47,"speed":53,"hex_longitude":"2d4687c0","hex_latitude":"067005a8","is_valid_coordinates":true} 
[2026-07-19 02:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808158464001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352017551099691008,"note":"Value kept but may cause issues"} 
[2026-07-19 02:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5075556807693924352,"note":"Value kept but may cause issues"} 
[2026-07-19 02:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784406876000,"timestamp_ms":1784406876000,"timestamp_seconds":1784406876,"priority":1,"record_length":96,"hex_timestamp":"0000019f76f01f60"} 
[2026-07-19 02:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 02:05: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-07-19 02:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":138556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":138556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":138556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02: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-07-19 02:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808158464001,"66":27463,"196":206,"80":60160,"24":53,"16":352017551099691008,"45":5075556807693924352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,80,24,16,45]} 
[2026-07-19 02:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808158464001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:05:34] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-19 02:05:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-19 02:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352017551099691008,"km_value":352017551099691.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5075556807693924352,"description":"Unknown IO ID 45"} 
[2026-07-19 02:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808158464001,"power":27463,"unknown_196":206,"unknown_80":60160,"ignition":53,"odometer":null,"unknown_45":5075556807693924352}} 
[2026-07-19 02:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":138556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:05:34] local.INFO: GPS data processed {"connection_id":138556,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:05:34] local.INFO: Acknowledgment sent {"connection_id":138556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:06:05] local.INFO: TCP Data received {"connection_id":136229,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:06:05] local.INFO: Processing buffer {"connection_id":136229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:06:05] local.INFO: IMEI packet received {"connection_id":136229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":136229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:06:06] local.INFO: TCP Data received {"connection_id":136229,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:06:06] local.INFO: Processing buffer {"connection_id":136229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:06:06] local.INFO: IMEI packet received {"connection_id":136229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":136229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:06:10] local.INFO: TCP Data received {"connection_id":136229,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:06:10] local.INFO: Processing buffer {"connection_id":136229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:06:10] local.INFO: IMEI packet received {"connection_id":136229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":136229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:06:12] local.INFO: TCP Data received {"connection_id":136229,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f76f03ab8012d469e8006702390000800242f..."} 
[2026-07-19 02:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76f03ab8012d469e8006702390000800242f..."} 
[2026-07-19 02:06:12] local.INFO: Processing buffer {"connection_id":136229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76f03ab8012d469e8006702390000800242f..."} 
[2026-07-19 02:06:12] local.INFO: Packet analysis {"connection_id":136229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76f0"} 
[2026-07-19 02:06:12] local.INFO: Extracted packet for processing {"connection_id":136229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76f0"} 
[2026-07-19 02:06:12] local.INFO: GPS Element Parsed {"raw_longitude":759602816,"raw_latitude":108012432,"longitude_deg":75.9602816,"latitude_deg":10.8012432,"altitude":8,"angle":36,"satellites":47,"speed":54,"hex_longitude":"2d469e80","hex_latitude":"06702390","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808160256001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352018010661191680,"note":"Value kept but may cause issues"} 
[2026-07-19 02:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5082241838392649728,"note":"Value kept but may cause issues"} 
[2026-07-19 02:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784406883000,"timestamp_ms":1784406883000,"timestamp_seconds":1784406883,"priority":1,"record_length":96,"hex_timestamp":"0000019f76f03ab8"} 
[2026-07-19 02:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:06: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-07-19 02: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-19 02:06:12] 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-07-19 02: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-07-19 02:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":136229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":136229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":136229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:06: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-07-19 02:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808160256001,"66":27463,"196":206,"80":60160,"24":54,"16":352018010661191680,"45":5082241838392649728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,80,24,16,45]} 
[2026-07-19 02:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808160256001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:06:12] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-19 02:06:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-19 02:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352018010661191680,"km_value":352018010661191.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5082241838392649728,"description":"Unknown IO ID 45"} 
[2026-07-19 02:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808160256001,"power":27463,"unknown_196":206,"unknown_80":60160,"ignition":54,"odometer":null,"unknown_45":5082241838392649728}} 
[2026-07-19 02:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":136229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:06:12] local.INFO: GPS data processed {"connection_id":136229,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:06:12] local.INFO: Acknowledgment sent {"connection_id":136229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:06:55] local.INFO: TCP Data received {"connection_id":138557,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:06:55] local.INFO: Processing buffer {"connection_id":138557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:06:55] local.INFO: IMEI packet received {"connection_id":138557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":138557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:07:00] local.INFO: TCP Data received {"connection_id":138557,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:07:00] local.INFO: Processing buffer {"connection_id":138557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:07:00] local.INFO: IMEI packet received {"connection_id":138557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":138557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:07:01] local.INFO: TCP Data received {"connection_id":138557,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f76f15fb0012d47a68006715ab80004002b30..."} 
[2026-07-19 02:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76f15fb0012d47a68006715ab80004002b30..."} 
[2026-07-19 02:07:01] local.INFO: Processing buffer {"connection_id":138557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76f15fb0012d47a68006715ab80004002b30..."} 
[2026-07-19 02:07:01] local.INFO: Packet analysis {"connection_id":138557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76f1"} 
[2026-07-19 02:07:01] local.INFO: Extracted packet for processing {"connection_id":138557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76f1"} 
[2026-07-19 02:07:01] local.INFO: GPS Element Parsed {"raw_longitude":759670400,"raw_latitude":108092088,"longitude_deg":75.96704,"latitude_deg":10.8092088,"altitude":4,"angle":43,"satellites":48,"speed":48,"hex_longitude":"2d47a680","hex_latitude":"06715ab8","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808179200001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352023044362862592,"note":"Value kept but may cause issues"} 
[2026-07-19 02:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5155566069846310912,"note":"Value kept but may cause issues"} 
[2026-07-19 02:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784406958000,"timestamp_ms":1784406958000,"timestamp_seconds":1784406958,"priority":1,"record_length":96,"hex_timestamp":"0000019f76f15fb0"} 
[2026-07-19 02:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02: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-07-19 02:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 02:07: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-07-19 02: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-07-19 02:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":138557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":138557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":138557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:07: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-07-19 02:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808179200001,"66":27245,"248":206,"80":60160,"24":48,"16":352023044362862592,"45":5155566069846310912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,80,24,16,45]} 
[2026-07-19 02:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808179200001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:07:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-19 02:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352023044362862592,"km_value":352023044362862.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5155566069846310912,"description":"Unknown IO ID 45"} 
[2026-07-19 02:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808179200001,"power":27245,"tamper_alert":206,"unknown_80":60160,"ignition":48,"odometer":null,"unknown_45":5155566069846310912}} 
[2026-07-19 02:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":138557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:07:01] local.INFO: GPS data processed {"connection_id":138557,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:07:01] local.INFO: Acknowledgment sent {"connection_id":138557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:07:32] local.INFO: TCP Data received {"connection_id":138557,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f76f17ef0012d47c100067176b00004002a2f..."} 
[2026-07-19 02:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76f17ef0012d47c100067176b00004002a2f..."} 
[2026-07-19 02:07:32] local.INFO: Processing buffer {"connection_id":138557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76f17ef0012d47c100067176b00004002a2f..."} 
[2026-07-19 02:07:32] local.INFO: Packet analysis {"connection_id":138557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76f1"} 
[2026-07-19 02:07:32] local.INFO: Extracted packet for processing {"connection_id":138557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76f1"} 
[2026-07-19 02:07:32] local.INFO: GPS Element Parsed {"raw_longitude":759677184,"raw_latitude":108099248,"longitude_deg":75.9677184,"latitude_deg":10.8099248,"altitude":4,"angle":42,"satellites":47,"speed":49,"hex_longitude":"2d47c100","hex_latitude":"067176b0","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808181248001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352023521104232448,"note":"Value kept but may cause issues"} 
[2026-07-19 02:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5162954787986782208,"note":"Value kept but may cause issues"} 
[2026-07-19 02:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784406966000,"timestamp_ms":1784406966000,"timestamp_seconds":1784406966,"priority":1,"record_length":96,"hex_timestamp":"0000019f76f17ef0"} 
[2026-07-19 02:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:07: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-07-19 02: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 02:07: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-07-19 02: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-07-19 02:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":138557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":138557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":138557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:07: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-07-19 02:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808181248001,"66":27267,"248":206,"80":60160,"24":49,"16":352023521104232448,"45":5162954787986782208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,80,24,16,45]} 
[2026-07-19 02:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808181248001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:07:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-19 02:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352023521104232448,"km_value":352023521104232.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5162954787986782208,"description":"Unknown IO ID 45"} 
[2026-07-19 02:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808181248001,"power":27267,"tamper_alert":206,"unknown_80":60160,"ignition":49,"odometer":null,"unknown_45":5162954787986782208}} 
[2026-07-19 02:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":138557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:07:33] local.INFO: GPS data processed {"connection_id":138557,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:07:33] local.INFO: Acknowledgment sent {"connection_id":138557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:07:53] local.INFO: TCP Data received {"connection_id":137153,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:07:53] local.INFO: Processing buffer {"connection_id":137153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:07:53] local.INFO: IMEI packet received {"connection_id":137153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 02:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":137153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:07:55] local.INFO: TCP Data received {"connection_id":136231,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:07:55] local.INFO: Processing buffer {"connection_id":136231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:07:55] local.INFO: IMEI packet received {"connection_id":136231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":136231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:07:55] local.INFO: TCP Data received {"connection_id":136231,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:07:55] local.INFO: Processing buffer {"connection_id":136231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:07:55] local.INFO: IMEI packet received {"connection_id":136231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":136231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:08:00] local.INFO: TCP Data received {"connection_id":136231,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:08:00] local.INFO: Processing buffer {"connection_id":136231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:08:00] local.INFO: IMEI packet received {"connection_id":136231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":136231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:08:01] local.INFO: TCP Data received {"connection_id":136231,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f76f19e30012d47db80067192980004002b2f..."} 
[2026-07-19 02:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76f19e30012d47db80067192980004002b2f..."} 
[2026-07-19 02:08:01] local.INFO: Processing buffer {"connection_id":136231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76f19e30012d47db80067192980004002b2f..."} 
[2026-07-19 02:08:01] local.INFO: Packet analysis {"connection_id":136231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76f1"} 
[2026-07-19 02:08:01] local.INFO: Extracted packet for processing {"connection_id":136231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76f1"} 
[2026-07-19 02:08:01] local.INFO: GPS Element Parsed {"raw_longitude":759683968,"raw_latitude":108106392,"longitude_deg":75.9683968,"latitude_deg":10.8106392,"altitude":4,"angle":43,"satellites":47,"speed":48,"hex_longitude":"2d47db80","hex_latitude":"06719298","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808183296001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352023993550635008,"note":"Value kept but may cause issues"} 
[2026-07-19 02:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5170413874871447552,"note":"Value kept but may cause issues"} 
[2026-07-19 02:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784406974000,"timestamp_ms":1784406974000,"timestamp_seconds":1784406974,"priority":1,"record_length":96,"hex_timestamp":"0000019f76f19e30"} 
[2026-07-19 02:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:08: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-07-19 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 02:08: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-07-19 02: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-07-19 02:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:08: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-07-19 02:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808183296001,"66":27397,"248":206,"80":60160,"24":48,"16":352023993550635008,"45":5170413874871447552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,80,24,16,45]} 
[2026-07-19 02:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808183296001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:08:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-19 02:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352023993550635008,"km_value":352023993550635.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5170413874871447552,"description":"Unknown IO ID 45"} 
[2026-07-19 02:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808183296001,"power":27397,"tamper_alert":206,"unknown_80":60160,"ignition":48,"odometer":null,"unknown_45":5170413874871447552}} 
[2026-07-19 02:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":136231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:08:01] local.INFO: GPS data processed {"connection_id":136231,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:08:01] local.INFO: Acknowledgment sent {"connection_id":136231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:08:31] local.INFO: TCP Data received {"connection_id":138558,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:08:31] local.INFO: Processing buffer {"connection_id":138558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:08:31] local.INFO: IMEI packet received {"connection_id":138558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 02:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":138558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:08:32] local.INFO: TCP Data received {"connection_id":136231,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f76f2e268012d48f3800672c8480008002630..."} 
[2026-07-19 02:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76f2e268012d48f3800672c8480008002630..."} 
[2026-07-19 02:08:32] local.INFO: Processing buffer {"connection_id":136231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76f2e268012d48f3800672c8480008002630..."} 
[2026-07-19 02:08:32] local.INFO: Packet analysis {"connection_id":136231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76f2"} 
[2026-07-19 02:08:32] local.INFO: Extracted packet for processing {"connection_id":136231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76f2"} 
[2026-07-19 02:08:32] local.INFO: GPS Element Parsed {"raw_longitude":759755648,"raw_latitude":108185672,"longitude_deg":75.9755648,"latitude_deg":10.8185672,"altitude":8,"angle":38,"satellites":48,"speed":56,"hex_longitude":"2d48f380","hex_latitude":"0672c848","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808204800001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352029134626488320,"note":"Value kept but may cause issues"} 
[2026-07-19 02:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5249649080835598336,"note":"Value kept but may cause issues"} 
[2026-07-19 02:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784407057000,"timestamp_ms":1784407057000,"timestamp_seconds":1784407057,"priority":1,"record_length":96,"hex_timestamp":"0000019f76f2e268"} 
[2026-07-19 02:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:08: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-07-19 02: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-19 02:08: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-07-19 02: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-07-19 02:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:08: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-07-19 02:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808204800001,"66":27376,"83":206,"80":60160,"24":56,"16":352029134626488320,"45":5249649080835598336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-19 02:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808204800001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:08:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-19 02:08:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-19 02:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352029134626488320,"km_value":352029134626488.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5249649080835598336,"description":"Unknown IO ID 45"} 
[2026-07-19 02:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808204800001,"power":27376,"unknown_83":206,"unknown_80":60160,"ignition":56,"odometer":null,"unknown_45":5249649080835598336}} 
[2026-07-19 02:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":136231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:08:32] local.INFO: GPS data processed {"connection_id":136231,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:08:32] local.INFO: Acknowledgment sent {"connection_id":136231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:08:55] local.INFO: TCP Data received {"connection_id":137154,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:08:55] local.INFO: Processing buffer {"connection_id":137154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:08:55] local.INFO: IMEI packet received {"connection_id":137154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":137154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:08:57] local.INFO: TCP Data received {"connection_id":137154,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:08:57] local.INFO: Processing buffer {"connection_id":137154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:08:57] local.INFO: IMEI packet received {"connection_id":137154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":137154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:09:00] local.INFO: TCP Data received {"connection_id":137154,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:09:00] local.INFO: Processing buffer {"connection_id":137154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:09:00] local.INFO: IMEI packet received {"connection_id":137154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":137154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:09:01] local.INFO: TCP Data received {"connection_id":137154,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f76f2fdc0012d490bc00672e640000a002630..."} 
[2026-07-19 02:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76f2fdc0012d490bc00672e640000a002630..."} 
[2026-07-19 02:09:01] local.INFO: Processing buffer {"connection_id":137154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76f2fdc0012d490bc00672e640000a002630..."} 
[2026-07-19 02:09:01] local.INFO: Packet analysis {"connection_id":137154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76f2"} 
[2026-07-19 02:09:01] local.INFO: Extracted packet for processing {"connection_id":137154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76f2"} 
[2026-07-19 02:09:01] local.INFO: GPS Element Parsed {"raw_longitude":759761856,"raw_latitude":108193344,"longitude_deg":75.9761856,"latitude_deg":10.8193344,"altitude":10,"angle":38,"satellites":48,"speed":55,"hex_longitude":"2d490bc0","hex_latitude":"0672e640","is_valid_coordinates":true} 
[2026-07-19 02:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808206592001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352029611367858176,"note":"Value kept but may cause issues"} 
[2026-07-19 02:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5256685955255388160,"note":"Value kept but may cause issues"} 
[2026-07-19 02:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784407064000,"timestamp_ms":1784407064000,"timestamp_seconds":1784407064,"priority":1,"record_length":96,"hex_timestamp":"0000019f76f2fdc0"} 
[2026-07-19 02:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:09: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-07-19 02:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-19 02:09: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-07-19 02:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:09: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-07-19 02:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808206592001,"66":27365,"83":206,"80":60160,"24":55,"16":352029611367858176,"45":5256685955255388160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-19 02:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808206592001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:09:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-19 02:09:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-19 02:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352029611367858176,"km_value":352029611367858.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5256685955255388160,"description":"Unknown IO ID 45"} 
[2026-07-19 02:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808206592001,"power":27365,"unknown_83":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5256685955255388160}} 
[2026-07-19 02:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":137154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:09:01] local.INFO: GPS data processed {"connection_id":137154,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:09:01] local.INFO: Acknowledgment sent {"connection_id":137154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:09:32] local.INFO: TCP Data received {"connection_id":137154,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f76f31918012d49240006730390000a002730..."} 
[2026-07-19 02:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76f31918012d49240006730390000a002730..."} 
[2026-07-19 02:09:32] local.INFO: Processing buffer {"connection_id":137154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76f31918012d49240006730390000a002730..."} 
[2026-07-19 02:09:32] local.INFO: Packet analysis {"connection_id":137154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76f3"} 
[2026-07-19 02:09:32] local.INFO: Extracted packet for processing {"connection_id":137154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76f3"} 
[2026-07-19 02:09:32] local.INFO: GPS Element Parsed {"raw_longitude":759768064,"raw_latitude":108200848,"longitude_deg":75.9768064,"latitude_deg":10.8200848,"altitude":10,"angle":39,"satellites":48,"speed":54,"hex_longitude":"2d492400","hex_latitude":"06730390","is_valid_coordinates":true} 
[2026-07-19 02:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808208384001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352030079519293440,"note":"Value kept but may cause issues"} 
[2026-07-19 02:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5263511723442585600,"note":"Value kept but may cause issues"} 
[2026-07-19 02:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784407071000,"timestamp_ms":1784407071000,"timestamp_seconds":1784407071,"priority":1,"record_length":96,"hex_timestamp":"0000019f76f31918"} 
[2026-07-19 02:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:09: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-07-19 02:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 02:09: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-07-19 02:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":137154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":137154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":137154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:09: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-07-19 02:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808208384001,"66":27245,"83":206,"80":60160,"24":54,"16":352030079519293440,"45":5263511723442585600},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-19 02:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808208384001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:09:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-19 02:09:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-19 02:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352030079519293440,"km_value":352030079519293.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5263511723442585600,"description":"Unknown IO ID 45"} 
[2026-07-19 02:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808208384001,"power":27245,"unknown_83":206,"unknown_80":60160,"ignition":54,"odometer":null,"unknown_45":5263511723442585600}} 
[2026-07-19 02:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":137154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:09:32] local.INFO: GPS data processed {"connection_id":137154,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:09:32] local.INFO: Acknowledgment sent {"connection_id":137154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:10:00] local.INFO: TCP Data received {"connection_id":136232,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:10:00] local.INFO: Processing buffer {"connection_id":136232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:10:00] local.INFO: IMEI packet received {"connection_id":136232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":136232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:13:58] local.INFO: TCP Data received {"connection_id":138561,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:13:58] local.INFO: Processing buffer {"connection_id":138561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:13:58] local.INFO: IMEI packet received {"connection_id":138561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 02:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":138561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:14:27] local.INFO: TCP Data received {"connection_id":136234,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:14:27] local.INFO: Processing buffer {"connection_id":136234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:14:27] local.INFO: IMEI packet received {"connection_id":136234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 02:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":136234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:14:33] local.INFO: TCP Data received {"connection_id":136234,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:14:33] local.INFO: Processing buffer {"connection_id":136234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:14:33] local.INFO: IMEI packet received {"connection_id":136234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-19 02:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":136234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:14:34] local.INFO: TCP Data received {"connection_id":136234,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f76ea5eb8012d17124006d65d600005006426..."} 
[2026-07-19 02:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76ea5eb8012d17124006d65d600005006426..."} 
[2026-07-19 02:14:34] local.INFO: Processing buffer {"connection_id":136234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76ea5eb8012d17124006d65d600005006426..."} 
[2026-07-19 02:14:34] local.INFO: Packet analysis {"connection_id":136234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ea"} 
[2026-07-19 02:14:34] local.INFO: Extracted packet for processing {"connection_id":136234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ea"} 
[2026-07-19 02:14:34] local.INFO: GPS Element Parsed {"raw_longitude":756486720,"raw_latitude":114711904,"longitude_deg":75.648672,"latitude_deg":11.4711904,"altitude":5,"angle":100,"satellites":38,"speed":0,"hex_longitude":"2d171240","hex_latitude":"06d65d60","is_valid_coordinates":true} 
[2026-07-19 02:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808058368001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":137892630867476480,"note":"Value kept but may cause issues"} 
[2026-07-19 02:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1662461610563559424,"note":"Value kept but may cause issues"} 
[2026-07-19 02:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784406499000,"timestamp_ms":1784406499000,"timestamp_seconds":1784406499,"priority":1,"record_length":96,"hex_timestamp":"0000019f76ea5eb8"} 
[2026-07-19 02:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:14: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-07-19 02:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-19 02:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":136234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":136234,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-19 02:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":136234,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-19 02:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-19 02:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-19 02:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808058368001,"66":25093,"160":206,"81":20480,"24":0,"16":137892630867476480,"45":1662461610563559424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-07-19 02:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-19 02:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-19 02:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808058368001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:14:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-19 02:14:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-19 02:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":137892630867476480,"km_value":137892630867476.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1662461610563559424,"description":"Unknown IO ID 45"} 
[2026-07-19 02:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808058368001,"power":25093,"unknown_160":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1662461610563559424}} 
[2026-07-19 02:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":136234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510398,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:14:34] local.INFO: GPS data processed {"connection_id":136234,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:14:34] local.INFO: Acknowledgment sent {"connection_id":136234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:15:18] local.INFO: TCP Data received {"connection_id":136235,"ip":"42.106.6.14","data_length":18,"data_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-19 02:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136235,"packet_length":18,"packet_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-19 02:15:18] local.INFO: Processing buffer {"connection_id":136235,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-19 02:15:18] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":136235,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800be64bc2"} 
[2026-07-19 02:15:20] local.INFO: TCP Data received {"connection_id":137158,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:15:20] local.INFO: Processing buffer {"connection_id":137158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:15:20] local.INFO: IMEI packet received {"connection_id":137158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":137158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:15:22] local.INFO: TCP Data received {"connection_id":137158,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f76f8be68012d4e828006764010001600492e..."} 
[2026-07-19 02:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76f8be68012d4e828006764010001600492e..."} 
[2026-07-19 02:15:22] local.INFO: Processing buffer {"connection_id":137158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76f8be68012d4e828006764010001600492e..."} 
[2026-07-19 02:15:22] local.INFO: Packet analysis {"connection_id":137158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76f8"} 
[2026-07-19 02:15:22] local.INFO: Extracted packet for processing {"connection_id":137158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76f8"} 
[2026-07-19 02:15:22] local.INFO: GPS Element Parsed {"raw_longitude":760119936,"raw_latitude":108412944,"longitude_deg":76.0119936,"latitude_deg":10.8412944,"altitude":22,"angle":73,"satellites":46,"speed":44,"hex_longitude":"2d4e8280","hex_latitude":"06764010","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808302592001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352052469183807488,"note":"Value kept but may cause issues"} 
[2026-07-19 02:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5646669535545612288,"note":"Value kept but may cause issues"} 
[2026-07-19 02:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784407441000,"timestamp_ms":1784407441000,"timestamp_seconds":1784407441,"priority":1,"record_length":96,"hex_timestamp":"0000019f76f8be68"} 
[2026-07-19 02:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-19 02:15:22] 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-07-19 02: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-07-19 02:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":137158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":137158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":137158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:15:22] 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-07-19 02:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808302592001,"66":27376,"168":206,"80":60160,"24":44,"16":352052469183807488,"45":5646669535545612288},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,80,24,16,45]} 
[2026-07-19 02:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808302592001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:15:22] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-19 02:15:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-19 02:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352052469183807488,"km_value":352052469183807.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5646669535545612288,"description":"Unknown IO ID 45"} 
[2026-07-19 02:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808302592001,"power":27376,"unknown_168":206,"unknown_80":60160,"ignition":44,"odometer":null,"unknown_45":5646669535545612288}} 
[2026-07-19 02:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":137158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:15:22] local.INFO: GPS data processed {"connection_id":137158,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:15:22] local.INFO: Acknowledgment sent {"connection_id":137158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:15:23] local.INFO: TCP Data received {"connection_id":136235,"ip":"42.106.6.14","data_length":18,"data_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-19 02:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136235,"packet_length":18,"packet_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-19 02:15:23] local.INFO: Processing buffer {"connection_id":136235,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-19 02:15:23] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":136235,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800be64bc2"} 
[2026-07-19 02:15:28] local.INFO: TCP Data received {"connection_id":137159,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:15:28] local.INFO: Processing buffer {"connection_id":137159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:15:28] local.INFO: IMEI packet received {"connection_id":137159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 02:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":137159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:15:53] local.INFO: TCP Data received {"connection_id":136235,"ip":"42.106.6.14","data_length":18,"data_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-19 02:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136235,"packet_length":18,"packet_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-19 02:15:53] local.INFO: Processing buffer {"connection_id":136235,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-19 02:15:53] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":136235,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800be64bc2"} 
[2026-07-19 02:15:55] local.INFO: TCP Data received {"connection_id":138563,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:15:55] local.INFO: Processing buffer {"connection_id":138563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:15:55] local.INFO: IMEI packet received {"connection_id":138563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":138563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:15:56] local.INFO: TCP Data received {"connection_id":138563,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:15:56] local.INFO: Processing buffer {"connection_id":138563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:15:56] local.INFO: IMEI packet received {"connection_id":138563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":138563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:16:01] local.INFO: TCP Data received {"connection_id":138563,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:16:01] local.INFO: Processing buffer {"connection_id":138563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:16:01] local.INFO: IMEI packet received {"connection_id":138563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":138563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:16:02] local.INFO: TCP Data received {"connection_id":138563,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f76f8e190012d4ea5c006764dc8001700402f..."} 
[2026-07-19 02:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76f8e190012d4ea5c006764dc8001700402f..."} 
[2026-07-19 02:16:02] local.INFO: Processing buffer {"connection_id":138563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76f8e190012d4ea5c006764dc8001700402f..."} 
[2026-07-19 02:16:02] local.INFO: Packet analysis {"connection_id":138563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76f8"} 
[2026-07-19 02:16:02] local.INFO: Extracted packet for processing {"connection_id":138563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76f8"} 
[2026-07-19 02:16:02] local.INFO: GPS Element Parsed {"raw_longitude":760128960,"raw_latitude":108416456,"longitude_deg":76.012896,"latitude_deg":10.8416456,"altitude":23,"angle":64,"satellites":47,"speed":41,"hex_longitude":"2d4ea5c0","hex_latitude":"06764dc8","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808304896001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352052928745308160,"note":"Value kept but may cause issues"} 
[2026-07-19 02:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5657224847172833280,"note":"Value kept but may cause issues"} 
[2026-07-19 02:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784407450000,"timestamp_ms":1784407450000,"timestamp_seconds":1784407450,"priority":1,"record_length":96,"hex_timestamp":"0000019f76f8e190"} 
[2026-07-19 02:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-19 02:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":138563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":138563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":138563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:16: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-07-19 02:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808304896001,"66":27213,"168":206,"80":60160,"24":41,"16":352052928745308160,"45":5657224847172833280},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,80,24,16,45]} 
[2026-07-19 02:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808304896001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:16:02] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-19 02:16:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-19 02:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352052928745308160,"km_value":352052928745308.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5657224847172833280,"description":"Unknown IO ID 45"} 
[2026-07-19 02:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808304896001,"power":27213,"unknown_168":206,"unknown_80":60160,"ignition":41,"odometer":null,"unknown_45":5657224847172833280}} 
[2026-07-19 02:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":138563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:16:02] local.INFO: GPS data processed {"connection_id":138563,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:16:02] local.INFO: Acknowledgment sent {"connection_id":138563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:16:23] local.INFO: TCP Data received {"connection_id":136235,"ip":"42.106.6.14","data_length":18,"data_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-19 02:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136235,"packet_length":18,"packet_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-19 02:16:23] local.INFO: Processing buffer {"connection_id":136235,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-19 02:16:23] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":136235,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800be64bc2"} 
[2026-07-19 02:16:57] local.INFO: TCP Data received {"connection_id":137161,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:16:57] local.INFO: Processing buffer {"connection_id":137161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:16:57] local.INFO: IMEI packet received {"connection_id":137161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":137161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:17:00] local.INFO: TCP Data received {"connection_id":137161,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:17:00] local.INFO: Processing buffer {"connection_id":137161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:17:00] local.INFO: IMEI packet received {"connection_id":137161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":137161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:17:03] local.INFO: TCP Data received {"connection_id":137161,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:17:03] local.INFO: Processing buffer {"connection_id":137161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:17:03] local.INFO: IMEI packet received {"connection_id":137161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":137161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:17:04] local.INFO: TCP Data received {"connection_id":137161,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f76fa4120012d50208006762b380011005a2d..."} 
[2026-07-19 02:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76fa4120012d50208006762b380011005a2d..."} 
[2026-07-19 02:17:04] local.INFO: Processing buffer {"connection_id":137161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76fa4120012d50208006762b380011005a2d..."} 
[2026-07-19 02:17:04] local.INFO: Packet analysis {"connection_id":137161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76fa"} 
[2026-07-19 02:17:04] local.INFO: Extracted packet for processing {"connection_id":137161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76fa"} 
[2026-07-19 02:17:04] local.INFO: GPS Element Parsed {"raw_longitude":760225920,"raw_latitude":108407608,"longitude_deg":76.022592,"latitude_deg":10.8407608,"altitude":17,"angle":90,"satellites":45,"speed":50,"hex_longitude":"2d502080","hex_latitude":"06762b38","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808328448001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352057764878483456,"note":"Value kept but may cause issues"} 
[2026-07-19 02:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5763763125856481280,"note":"Value kept but may cause issues"} 
[2026-07-19 02:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784407540000,"timestamp_ms":1784407540000,"timestamp_seconds":1784407540,"priority":1,"record_length":96,"hex_timestamp":"0000019f76fa4120"} 
[2026-07-19 02:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-19 02:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":137161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":137161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":137161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:17: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-07-19 02:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808328448001,"66":27332,"7":206,"80":60160,"24":50,"16":352057764878483456,"45":5763763125856481280},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-07-19 02:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808328448001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:17:04] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-19 02:17:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-19 02:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352057764878483456,"km_value":352057764878483.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5763763125856481280,"description":"Unknown IO ID 45"} 
[2026-07-19 02:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808328448001,"power":27332,"unknown_7":206,"unknown_80":60160,"ignition":50,"odometer":null,"unknown_45":5763763125856481280}} 
[2026-07-19 02:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":137161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:17:04] local.INFO: GPS data processed {"connection_id":137161,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:17:04] local.INFO: Acknowledgment sent {"connection_id":137161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:17:36] local.INFO: TCP Data received {"connection_id":137161,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f76fa6060012d50480006762b180013005a30..."} 
[2026-07-19 02:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76fa6060012d50480006762b180013005a30..."} 
[2026-07-19 02:17:36] local.INFO: Processing buffer {"connection_id":137161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76fa6060012d50480006762b180013005a30..."} 
[2026-07-19 02:17:36] local.INFO: Packet analysis {"connection_id":137161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76fa"} 
[2026-07-19 02:17:36] local.INFO: Extracted packet for processing {"connection_id":137161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76fa"} 
[2026-07-19 02:17:36] local.INFO: GPS Element Parsed {"raw_longitude":760236032,"raw_latitude":108407576,"longitude_deg":76.0236032,"latitude_deg":10.8407576,"altitude":19,"angle":90,"satellites":48,"speed":49,"hex_longitude":"2d504800","hex_latitude":"06762b18","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808330240001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352058250209787904,"note":"Value kept but may cause issues"} 
[2026-07-19 02:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5773755487529678848,"note":"Value kept but may cause issues"} 
[2026-07-19 02:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784407548000,"timestamp_ms":1784407548000,"timestamp_seconds":1784407548,"priority":1,"record_length":96,"hex_timestamp":"0000019f76fa6060"} 
[2026-07-19 02:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-19 02:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:17: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-07-19 02:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808330240001,"66":27267,"167":206,"80":60160,"24":49,"16":352058250209787904,"45":5773755487529678848},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-07-19 02:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808330240001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:17:36] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-19 02:17:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-19 02:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352058250209787904,"km_value":352058250209787.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5773755487529678848,"description":"Unknown IO ID 45"} 
[2026-07-19 02:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808330240001,"power":27267,"unknown_167":206,"unknown_80":60160,"ignition":49,"odometer":null,"unknown_45":5773755487529678848}} 
[2026-07-19 02:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":137161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:17:36] local.INFO: GPS data processed {"connection_id":137161,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:17:36] local.INFO: Acknowledgment sent {"connection_id":137161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:18:05] local.INFO: TCP Data received {"connection_id":138564,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:18:05] local.INFO: Processing buffer {"connection_id":138564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:18:05] local.INFO: IMEI packet received {"connection_id":138564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":138564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:18:05] local.INFO: TCP Data received {"connection_id":138564,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:18:05] local.INFO: Processing buffer {"connection_id":138564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:18:05] local.INFO: IMEI packet received {"connection_id":138564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":138564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:18:10] local.INFO: TCP Data received {"connection_id":138564,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:18:10] local.INFO: Processing buffer {"connection_id":138564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:18:10] local.INFO: IMEI packet received {"connection_id":138564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":138564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:18:11] local.INFO: TCP Data received {"connection_id":138564,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f76fb9cc8012d5165400676d8a8001400142e..."} 
[2026-07-19 02:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76fb9cc8012d5165400676d8a8001400142e..."} 
[2026-07-19 02:18:11] local.INFO: Processing buffer {"connection_id":138564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76fb9cc8012d5165400676d8a8001400142e..."} 
[2026-07-19 02:18:11] local.INFO: Packet analysis {"connection_id":138564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76fb"} 
[2026-07-19 02:18:11] local.INFO: Extracted packet for processing {"connection_id":138564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76fb"} 
[2026-07-19 02:18:11] local.INFO: GPS Element Parsed {"raw_longitude":760309056,"raw_latitude":108452008,"longitude_deg":76.0309056,"latitude_deg":10.8452008,"altitude":20,"angle":20,"satellites":46,"speed":44,"hex_longitude":"2d516540","hex_latitude":"0676d8a8","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808350976001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352062893069434880,"note":"Value kept but may cause issues"} 
[2026-07-19 02:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5861153467807479808,"note":"Value kept but may cause issues"} 
[2026-07-19 02:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784407629000,"timestamp_ms":1784407629000,"timestamp_seconds":1784407629,"priority":1,"record_length":96,"hex_timestamp":"0000019f76fb9cc8"} 
[2026-07-19 02:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:18: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-07-19 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-19 02:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":138564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":138564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":138564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808350976001,"66":27234,"147":206,"80":60160,"24":44,"16":352062893069434880,"45":5861153467807479808},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-07-19 02:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808350976001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:18:11] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-19 02:18:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-19 02:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352062893069434880,"km_value":352062893069434.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5861153467807479808,"description":"Unknown IO ID 45"} 
[2026-07-19 02:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808350976001,"power":27234,"unknown_147":206,"unknown_80":60160,"ignition":44,"odometer":null,"unknown_45":5861153467807479808}} 
[2026-07-19 02:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":138564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:18:11] local.INFO: GPS data processed {"connection_id":138564,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:18:11] local.INFO: Acknowledgment sent {"connection_id":138564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:18:55] local.INFO: TCP Data received {"connection_id":138566,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:18:55] local.INFO: Processing buffer {"connection_id":138566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:18:55] local.INFO: IMEI packet received {"connection_id":138566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":138566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:19:00] local.INFO: TCP Data received {"connection_id":138566,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:19:00] local.INFO: Processing buffer {"connection_id":138566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:19:00] local.INFO: IMEI packet received {"connection_id":138566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":138566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:19:01] local.INFO: TCP Data received {"connection_id":138566,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f76fbbff0012d5173000676fbd8001600152f..."} 
[2026-07-19 02:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76fbbff0012d5173000676fbd8001600152f..."} 
[2026-07-19 02:19:01] local.INFO: Processing buffer {"connection_id":138566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76fbbff0012d5173000676fbd8001600152f..."} 
[2026-07-19 02:19:01] local.INFO: Packet analysis {"connection_id":138566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76fb"} 
[2026-07-19 02:19:01] local.INFO: Extracted packet for processing {"connection_id":138566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76fb"} 
[2026-07-19 02:19:01] local.INFO: GPS Element Parsed {"raw_longitude":760312576,"raw_latitude":108461016,"longitude_deg":76.0312576,"latitude_deg":10.8461016,"altitude":22,"angle":21,"satellites":47,"speed":42,"hex_longitude":"2d517300","hex_latitude":"0676fbd8","is_valid_coordinates":true} 
[2026-07-19 02:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808353024001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352063361220870144,"note":"Value kept but may cause issues"} 
[2026-07-19 02:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5865164486227830784,"note":"Value kept but may cause issues"} 
[2026-07-19 02:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784407638000,"timestamp_ms":1784407638000,"timestamp_seconds":1784407638,"priority":1,"record_length":96,"hex_timestamp":"0000019f76fbbff0"} 
[2026-07-19 02:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:19: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-07-19 02:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-19 02:19: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-07-19 02:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":138566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":138566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":138566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:19: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-07-19 02:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808353024001,"66":27267,"147":206,"80":60160,"24":42,"16":352063361220870144,"45":5865164486227830784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-07-19 02:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808353024001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:19:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-19 02:19:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-19 02:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352063361220870144,"km_value":352063361220870.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5865164486227830784,"description":"Unknown IO ID 45"} 
[2026-07-19 02:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808353024001,"power":27267,"unknown_147":206,"unknown_80":60160,"ignition":42,"odometer":null,"unknown_45":5865164486227830784}} 
[2026-07-19 02:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":138566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:19:01] local.INFO: GPS data processed {"connection_id":138566,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:19:01] local.INFO: Acknowledgment sent {"connection_id":138566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:19:32] local.INFO: TCP Data received {"connection_id":138566,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f76fbe318012d51818006772038001700162f..."} 
[2026-07-19 02:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76fbe318012d51818006772038001700162f..."} 
[2026-07-19 02:19:32] local.INFO: Processing buffer {"connection_id":138566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76fbe318012d51818006772038001700162f..."} 
[2026-07-19 02:19:32] local.INFO: Packet analysis {"connection_id":138566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76fb"} 
[2026-07-19 02:19:32] local.INFO: Extracted packet for processing {"connection_id":138566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76fb"} 
[2026-07-19 02:19:32] local.INFO: GPS Element Parsed {"raw_longitude":760316288,"raw_latitude":108470328,"longitude_deg":76.0316288,"latitude_deg":10.8470328,"altitude":23,"angle":22,"satellites":47,"speed":46,"hex_longitude":"2d518180","hex_latitude":"06772038","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808355328001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352063846552174592,"note":"Value kept but may cause issues"} 
[2026-07-19 02:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5869034767159908352,"note":"Value kept but may cause issues"} 
[2026-07-19 02:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784407647000,"timestamp_ms":1784407647000,"timestamp_seconds":1784407647,"priority":1,"record_length":96,"hex_timestamp":"0000019f76fbe318"} 
[2026-07-19 02:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:19: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-07-19 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 02:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":138566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":138566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":138566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:19: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-07-19 02:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808355328001,"66":27267,"147":206,"80":60160,"24":46,"16":352063846552174592,"45":5869034767159908352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-07-19 02:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808355328001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:19:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-19 02:19:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-19 02:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352063846552174592,"km_value":352063846552174.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5869034767159908352,"description":"Unknown IO ID 45"} 
[2026-07-19 02:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808355328001,"power":27267,"unknown_147":206,"unknown_80":60160,"ignition":46,"odometer":null,"unknown_45":5869034767159908352}} 
[2026-07-19 02:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":138566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:19:32] local.INFO: GPS data processed {"connection_id":138566,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:19:32] local.INFO: Acknowledgment sent {"connection_id":138566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:19:55] local.INFO: TCP Data received {"connection_id":136236,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:19:55] local.INFO: Processing buffer {"connection_id":136236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:19:55] local.INFO: IMEI packet received {"connection_id":136236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":136236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:19:59] local.INFO: TCP Data received {"connection_id":136236,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:19:59] local.INFO: Processing buffer {"connection_id":136236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:19:59] local.INFO: IMEI packet received {"connection_id":136236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":136236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:20:00] local.INFO: TCP Data received {"connection_id":136236,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:20:00] local.INFO: Processing buffer {"connection_id":136236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:20:00] local.INFO: IMEI packet received {"connection_id":136236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":136236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:20:01] local.INFO: TCP Data received {"connection_id":136236,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f76fc0258012d519000067741980018001730..."} 
[2026-07-19 02:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76fc0258012d519000067741980018001730..."} 
[2026-07-19 02:20:01] local.INFO: Processing buffer {"connection_id":136236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76fc0258012d519000067741980018001730..."} 
[2026-07-19 02:20:01] local.INFO: Packet analysis {"connection_id":136236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76fc"} 
[2026-07-19 02:20:01] local.INFO: Extracted packet for processing {"connection_id":136236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76fc"} 
[2026-07-19 02:20:01] local.INFO: GPS Element Parsed {"raw_longitude":760320000,"raw_latitude":108478872,"longitude_deg":76.032,"latitude_deg":10.8478872,"altitude":24,"angle":23,"satellites":48,"speed":46,"hex_longitude":"2d519000","hex_latitude":"06774198","is_valid_coordinates":true} 
[2026-07-19 02:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808357632001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352064293228773376,"note":"Value kept but may cause issues"} 
[2026-07-19 02:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5873116154324596736,"note":"Value kept but may cause issues"} 
[2026-07-19 02:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784407655000,"timestamp_ms":1784407655000,"timestamp_seconds":1784407655,"priority":1,"record_length":96,"hex_timestamp":"0000019f76fc0258"} 
[2026-07-19 02:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:20: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-07-19 02:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 02:20: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-07-19 02:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:20: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-07-19 02:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808357632001,"66":27289,"18":206,"80":60160,"24":46,"16":352064293228773376,"45":5873116154324596736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-07-19 02:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808357632001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:20:01] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-19 02:20:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-19 02:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352064293228773376,"km_value":352064293228773.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5873116154324596736,"description":"Unknown IO ID 45"} 
[2026-07-19 02:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808357632001,"power":27289,"unknown_18":206,"unknown_80":60160,"ignition":46,"odometer":null,"unknown_45":5873116154324596736}} 
[2026-07-19 02:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":136236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:20:01] local.INFO: GPS data processed {"connection_id":136236,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:20:01] local.INFO: Acknowledgment sent {"connection_id":136236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:20:06] local.INFO: TCP Data received {"connection_id":136236,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f76fc2198012d519f80067762c8001b001a2e..."} 
[2026-07-19 02:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76fc2198012d519f80067762c8001b001a2e..."} 
[2026-07-19 02:20:06] local.INFO: Processing buffer {"connection_id":136236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76fc2198012d519f80067762c8001b001a2e..."} 
[2026-07-19 02:20:06] local.INFO: Packet analysis {"connection_id":136236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76fc"} 
[2026-07-19 02:20:06] local.INFO: Extracted packet for processing {"connection_id":136236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76fc"} 
[2026-07-19 02:20:06] local.INFO: GPS Element Parsed {"raw_longitude":760323968,"raw_latitude":108487368,"longitude_deg":76.0323968,"latitude_deg":10.8487368,"altitude":27,"angle":26,"satellites":46,"speed":45,"hex_longitude":"2d519f80","hex_latitude":"067762c8","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808359680001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352064748495306752,"note":"Value kept but may cause issues"} 
[2026-07-19 02:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5877197541489088512,"note":"Value kept but may cause issues"} 
[2026-07-19 02:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784407663000,"timestamp_ms":1784407663000,"timestamp_seconds":1784407663,"priority":1,"record_length":96,"hex_timestamp":"0000019f76fc2198"} 
[2026-07-19 02:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02: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":153,"data_length":795,"current_offset":136} 
[2026-07-19 02:20:06] 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-07-19 02: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-07-19 02:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:20:06] 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-07-19 02:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808359680001,"66":27397,"18":206,"80":60160,"24":45,"16":352064748495306752,"45":5877197541489088512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-07-19 02:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808359680001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:20:06] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-19 02:20:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-19 02:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352064748495306752,"km_value":352064748495306.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5877197541489088512,"description":"Unknown IO ID 45"} 
[2026-07-19 02:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808359680001,"power":27397,"unknown_18":206,"unknown_80":60160,"ignition":45,"odometer":null,"unknown_45":5877197541489088512}} 
[2026-07-19 02:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":136236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:20:06] local.INFO: GPS data processed {"connection_id":136236,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:20:06] local.INFO: Acknowledgment sent {"connection_id":136236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:20:37] local.INFO: TCP Data received {"connection_id":136236,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f76fc44c0012d51b300067782a0002000262c..."} 
[2026-07-19 02:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76fc44c0012d51b300067782a0002000262c..."} 
[2026-07-19 02:20:37] local.INFO: Processing buffer {"connection_id":136236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76fc44c0012d51b300067782a0002000262c..."} 
[2026-07-19 02:20:37] local.INFO: Packet analysis {"connection_id":136236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76fc"} 
[2026-07-19 02:20:37] local.INFO: Extracted packet for processing {"connection_id":136236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76fc"} 
[2026-07-19 02:20:37] local.INFO: GPS Element Parsed {"raw_longitude":760328960,"raw_latitude":108495520,"longitude_deg":76.032896,"latitude_deg":10.849552,"altitude":32,"angle":38,"satellites":44,"speed":40,"hex_longitude":"2d51b300","hex_latitude":"067782a0","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808361728001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352065212351774720,"note":"Value kept but may cause issues"} 
[2026-07-19 02:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5881560403630278656,"note":"Value kept but may cause issues"} 
[2026-07-19 02:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784407672000,"timestamp_ms":1784407672000,"timestamp_seconds":1784407672,"priority":1,"record_length":96,"hex_timestamp":"0000019f76fc44c0"} 
[2026-07-19 02:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:20: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-07-19 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-19 02:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:20:37] 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-07-19 02:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808361728001,"66":27343,"18":206,"80":60160,"24":40,"16":352065212351774720,"45":5881560403630278656},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-07-19 02:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808361728001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:20:37] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-19 02:20:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-19 02:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352065212351774720,"km_value":352065212351774.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5881560403630278656,"description":"Unknown IO ID 45"} 
[2026-07-19 02:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808361728001,"power":27343,"unknown_18":206,"unknown_80":60160,"ignition":40,"odometer":null,"unknown_45":5881560403630278656}} 
[2026-07-19 02:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":136236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:20:37] local.INFO: GPS data processed {"connection_id":136236,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:20:37] local.INFO: Acknowledgment sent {"connection_id":136236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:20:48] local.INFO: TCP Data received {"connection_id":137162,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:20:48] local.INFO: Processing buffer {"connection_id":137162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:20:48] local.INFO: IMEI packet received {"connection_id":137162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 02:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":137162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:21:00] local.INFO: TCP Data received {"connection_id":136114,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:21:00] local.INFO: Processing buffer {"connection_id":136114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:21:00] local.INFO: IMEI packet received {"connection_id":136114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":136114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:21:05] local.INFO: TCP Data received {"connection_id":136114,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:21:05] local.INFO: Processing buffer {"connection_id":136114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:21:05] local.INFO: IMEI packet received {"connection_id":136114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":136114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:21:06] local.INFO: TCP Data received {"connection_id":136114,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f76fc44c0012d51b300067782a0002000262c..."} 
[2026-07-19 02:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76fc44c0012d51b300067782a0002000262c..."} 
[2026-07-19 02:21:06] local.INFO: Processing buffer {"connection_id":136114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76fc44c0012d51b300067782a0002000262c..."} 
[2026-07-19 02:21:06] local.INFO: Packet analysis {"connection_id":136114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76fc"} 
[2026-07-19 02:21:06] local.INFO: Extracted packet for processing {"connection_id":136114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76fc"} 
[2026-07-19 02:21:06] local.INFO: GPS Element Parsed {"raw_longitude":760328960,"raw_latitude":108495520,"longitude_deg":76.032896,"latitude_deg":10.849552,"altitude":32,"angle":38,"satellites":44,"speed":40,"hex_longitude":"2d51b300","hex_latitude":"067782a0","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808364032001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352065212351774720,"note":"Value kept but may cause issues"} 
[2026-07-19 02:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5887049165678223360,"note":"Value kept but may cause issues"} 
[2026-07-19 02:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784407672000,"timestamp_ms":1784407672000,"timestamp_seconds":1784407672,"priority":1,"record_length":96,"hex_timestamp":"0000019f76fc44c0"} 
[2026-07-19 02:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:21: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-07-19 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 02:21: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-07-19 02: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-07-19 02:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:21:06] 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-07-19 02:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808364032001,"66":27343,"18":206,"80":60160,"24":40,"16":352065212351774720,"45":5887049165678223360},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-07-19 02:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808364032001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:21:06] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-19 02:21:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-19 02:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352065212351774720,"km_value":352065212351774.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5887049165678223360,"description":"Unknown IO ID 45"} 
[2026-07-19 02:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808364032001,"power":27343,"unknown_18":206,"unknown_80":60160,"ignition":40,"odometer":null,"unknown_45":5887049165678223360}} 
[2026-07-19 02:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":136114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:21:06] local.INFO: GPS data processed {"connection_id":136114,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:21:06] local.INFO: Acknowledgment sent {"connection_id":136114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:21:07] local.INFO: TCP Data received {"connection_id":136114,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f76fc6bd0012d51cd4006779d38002300312c..."} 
[2026-07-19 02:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76fc6bd0012d51cd4006779d38002300312c..."} 
[2026-07-19 02:21:07] local.INFO: Processing buffer {"connection_id":136114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76fc6bd0012d51cd4006779d38002300312c..."} 
[2026-07-19 02:21:07] local.INFO: Packet analysis {"connection_id":136114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76fc"} 
[2026-07-19 02:21:07] local.INFO: Extracted packet for processing {"connection_id":136114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76fc"} 
[2026-07-19 02:21:07] local.INFO: GPS Element Parsed {"raw_longitude":760335680,"raw_latitude":108502328,"longitude_deg":76.033568,"latitude_deg":10.8502328,"altitude":35,"angle":49,"satellites":44,"speed":35,"hex_longitude":"2d51cd40","hex_latitude":"06779d38","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808364032001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352065671913275392,"note":"Value kept but may cause issues"} 
[2026-07-19 02:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5887049165678223360,"note":"Value kept but may cause issues"} 
[2026-07-19 02:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784407682000,"timestamp_ms":1784407682000,"timestamp_seconds":1784407682,"priority":1,"record_length":96,"hex_timestamp":"0000019f76fc6bd0"} 
[2026-07-19 02:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:21: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-07-19 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 02:21: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-07-19 02: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-07-19 02:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:21:07] 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-07-19 02:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808364032001,"66":27376,"18":206,"80":60160,"24":35,"16":352065671913275392,"45":5887049165678223360},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-07-19 02:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808364032001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:21:07] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-19 02:21:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-19 02:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352065671913275392,"km_value":352065671913275.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5887049165678223360,"description":"Unknown IO ID 45"} 
[2026-07-19 02:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808364032001,"power":27376,"unknown_18":206,"unknown_80":60160,"ignition":35,"odometer":null,"unknown_45":5887049165678223360}} 
[2026-07-19 02:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":136114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:21:07] local.INFO: GPS data processed {"connection_id":136114,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:21:07] local.INFO: Acknowledgment sent {"connection_id":136114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:21:28] local.INFO: TCP Data received {"connection_id":136115,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:21:28] local.INFO: Processing buffer {"connection_id":136115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:21:28] local.INFO: IMEI packet received {"connection_id":136115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 02:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":136115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:21:38] local.INFO: TCP Data received {"connection_id":136114,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f76fc9ab0012d51ea800677b4a0002600332a..."} 
[2026-07-19 02:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76fc9ab0012d51ea800677b4a0002600332a..."} 
[2026-07-19 02:21:38] local.INFO: Processing buffer {"connection_id":136114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76fc9ab0012d51ea800677b4a0002600332a..."} 
[2026-07-19 02:21:38] local.INFO: Packet analysis {"connection_id":136114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76fc"} 
[2026-07-19 02:21:38] local.INFO: Extracted packet for processing {"connection_id":136114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76fc"} 
[2026-07-19 02:21:38] local.INFO: GPS Element Parsed {"raw_longitude":760343168,"raw_latitude":108508320,"longitude_deg":76.0343168,"latitude_deg":10.850832,"altitude":38,"angle":51,"satellites":42,"speed":29,"hex_longitude":"2d51ea80","hex_latitude":"0677b4a0","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808366592001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352066131474776064,"note":"Value kept but may cause issues"} 
[2026-07-19 02:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5894437883818620928,"note":"Value kept but may cause issues"} 
[2026-07-19 02:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784407694000,"timestamp_ms":1784407694000,"timestamp_seconds":1784407694,"priority":1,"record_length":96,"hex_timestamp":"0000019f76fc9ab0"} 
[2026-07-19 02:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:21: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-07-19 02: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-19 02:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808366592001,"66":27365,"18":206,"80":60160,"24":29,"16":352066131474776064,"45":5894437883818620928},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-07-19 02:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808366592001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:21:38] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-19 02:21:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-19 02:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352066131474776064,"km_value":352066131474776.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5894437883818620928,"description":"Unknown IO ID 45"} 
[2026-07-19 02:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808366592001,"power":27365,"unknown_18":206,"unknown_80":60160,"ignition":29,"odometer":null,"unknown_45":5894437883818620928}} 
[2026-07-19 02:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":136114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:21:38] local.INFO: GPS data processed {"connection_id":136114,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:21:38] local.INFO: Acknowledgment sent {"connection_id":136114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:22:30] local.INFO: TCP Data received {"connection_id":136237,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:22:30] local.INFO: Processing buffer {"connection_id":136237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:22:30] local.INFO: IMEI packet received {"connection_id":136237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":136237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:22:32] local.INFO: TCP Data received {"connection_id":136237,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:22:32] local.INFO: Processing buffer {"connection_id":136237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:22:32] local.INFO: IMEI packet received {"connection_id":136237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":136237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:22:38] local.INFO: TCP Data received {"connection_id":136237,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f76fee4a0012d524e000678eb10004e00072f..."} 
[2026-07-19 02:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76fee4a0012d524e000678eb10004e00072f..."} 
[2026-07-19 02:22:38] local.INFO: Processing buffer {"connection_id":136237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76fee4a0012d524e000678eb10004e00072f..."} 
[2026-07-19 02:22:38] local.INFO: Packet analysis {"connection_id":136237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76fe"} 
[2026-07-19 02:22:38] local.INFO: Extracted packet for processing {"connection_id":136237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76fe"} 
[2026-07-19 02:22:38] local.INFO: GPS Element Parsed {"raw_longitude":760368640,"raw_latitude":108587792,"longitude_deg":76.036864,"latitude_deg":10.8587792,"altitude":78,"angle":7,"satellites":47,"speed":22,"hex_longitude":"2d524e00","hex_latitude":"0678eb10","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808403968001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352070344837693440,"note":"Value kept but may cause issues"} 
[2026-07-19 02:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5929411149694451712,"note":"Value kept but may cause issues"} 
[2026-07-19 02:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784407844000,"timestamp_ms":1784407844000,"timestamp_seconds":1784407844,"priority":1,"record_length":96,"hex_timestamp":"0000019f76fee4a0"} 
[2026-07-19 02:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 02:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808403968001,"66":27441,"52":206,"80":60928,"24":22,"16":352070344837693440,"45":5929411149694451712},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,80,24,16,45]} 
[2026-07-19 02:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808403968001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:22:38] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-19 02:22:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352070344837693440,"km_value":352070344837693.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5929411149694451712,"description":"Unknown IO ID 45"} 
[2026-07-19 02:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808403968001,"power":27441,"unknown_52":206,"unknown_80":60928,"ignition":22,"odometer":null,"unknown_45":5929411149694451712}} 
[2026-07-19 02:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":136237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:22:38] local.INFO: GPS data processed {"connection_id":136237,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:22:38] local.INFO: Acknowledgment sent {"connection_id":136237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:22:38] local.INFO: TCP Data received {"connection_id":136237,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f76ff2320012d52558006790f000051000e2c..."} 
[2026-07-19 02:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76ff2320012d52558006790f000051000e2c..."} 
[2026-07-19 02:22:38] local.INFO: Processing buffer {"connection_id":136237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76ff2320012d52558006790f000051000e2c..."} 
[2026-07-19 02:22:38] local.INFO: Packet analysis {"connection_id":136237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ff"} 
[2026-07-19 02:22:38] local.INFO: Extracted packet for processing {"connection_id":136237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ff"} 
[2026-07-19 02:22:38] local.INFO: GPS Element Parsed {"raw_longitude":760370560,"raw_latitude":108596992,"longitude_deg":76.037056,"latitude_deg":10.8596992,"altitude":81,"angle":14,"satellites":44,"speed":25,"hex_longitude":"2d525580","hex_latitude":"06790f00","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808408064001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352070800104226816,"note":"Value kept but may cause issues"} 
[2026-07-19 02:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5930677787091996672,"note":"Value kept but may cause issues"} 
[2026-07-19 02:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784407860000,"timestamp_ms":1784407860000,"timestamp_seconds":1784407860,"priority":1,"record_length":96,"hex_timestamp":"0000019f76ff2320"} 
[2026-07-19 02:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02: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":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-07-19 02:22:38] 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-07-19 02: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-07-19 02:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808408064001,"66":27321,"54":206,"80":60928,"24":25,"16":352070800104226816,"45":5930677787091996672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,80,24,16,45]} 
[2026-07-19 02:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808408064001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:22:38] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-19 02:22:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352070800104226816,"km_value":352070800104226.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5930677787091996672,"description":"Unknown IO ID 45"} 
[2026-07-19 02:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808408064001,"power":27321,"unknown_54":206,"unknown_80":60928,"ignition":25,"odometer":null,"unknown_45":5930677787091996672}} 
[2026-07-19 02:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":136237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:22:38] local.INFO: GPS data processed {"connection_id":136237,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:22:38] local.INFO: Acknowledgment sent {"connection_id":136237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:23:00] local.INFO: TCP Data received {"connection_id":137164,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:23:00] local.INFO: Processing buffer {"connection_id":137164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:23:00] local.INFO: IMEI packet received {"connection_id":137164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":137164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:23:02] local.INFO: TCP Data received {"connection_id":137164,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:23:02] local.INFO: Processing buffer {"connection_id":137164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:23:02] local.INFO: IMEI packet received {"connection_id":137164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":137164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:23:03] local.INFO: TCP Data received {"connection_id":137164,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f76ff5db8012d526100067930d0005100112b..."} 
[2026-07-19 02:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76ff5db8012d526100067930d0005100112b..."} 
[2026-07-19 02:23:03] local.INFO: Processing buffer {"connection_id":137164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76ff5db8012d526100067930d0005100112b..."} 
[2026-07-19 02:23:03] local.INFO: Packet analysis {"connection_id":137164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ff"} 
[2026-07-19 02:23:03] local.INFO: Extracted packet for processing {"connection_id":137164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ff"} 
[2026-07-19 02:23:03] local.INFO: GPS Element Parsed {"raw_longitude":760373504,"raw_latitude":108605648,"longitude_deg":76.0373504,"latitude_deg":10.8605648,"altitude":81,"angle":17,"satellites":43,"speed":22,"hex_longitude":"2d526100","hex_latitude":"067930d0","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808412160001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352071246780825600,"note":"Value kept but may cause issues"} 
[2026-07-19 02:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5932788849419681792,"note":"Value kept but may cause issues"} 
[2026-07-19 02:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784407875000,"timestamp_ms":1784407875000,"timestamp_seconds":1784407875,"priority":1,"record_length":96,"hex_timestamp":"0000019f76ff5db8"} 
[2026-07-19 02:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02: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-07-19 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 02:23: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-07-19 02: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-07-19 02:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":137164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":137164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":137164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:23: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-07-19 02:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808412160001,"66":27300,"54":206,"80":60928,"24":22,"16":352071246780825600,"45":5932788849419681792},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,80,24,16,45]} 
[2026-07-19 02:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808412160001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:23:03] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-19 02:23:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352071246780825600,"km_value":352071246780825.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5932788849419681792,"description":"Unknown IO ID 45"} 
[2026-07-19 02:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808412160001,"power":27300,"unknown_54":206,"unknown_80":60928,"ignition":22,"odometer":null,"unknown_45":5932788849419681792}} 
[2026-07-19 02:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":137164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:23:03] local.INFO: GPS data processed {"connection_id":137164,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:23:03] local.INFO: Acknowledgment sent {"connection_id":137164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:23:05] local.INFO: TCP Data received {"connection_id":137164,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f76ff9468012d526e00067953f8005400132c..."} 
[2026-07-19 02:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76ff9468012d526e00067953f8005400132c..."} 
[2026-07-19 02:23:05] local.INFO: Processing buffer {"connection_id":137164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76ff9468012d526e00067953f8005400132c..."} 
[2026-07-19 02:23:05] local.INFO: Packet analysis {"connection_id":137164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ff"} 
[2026-07-19 02:23:05] local.INFO: Extracted packet for processing {"connection_id":137164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ff"} 
[2026-07-19 02:23:05] local.INFO: GPS Element Parsed {"raw_longitude":760376832,"raw_latitude":108614648,"longitude_deg":76.0376832,"latitude_deg":10.8614648,"altitude":84,"angle":19,"satellites":44,"speed":28,"hex_longitude":"2d526e00","hex_latitude":"067953f8","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808416000001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352071706342326272,"note":"Value kept but may cause issues"} 
[2026-07-19 02:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5936025811654070272,"note":"Value kept but may cause issues"} 
[2026-07-19 02:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784407889000,"timestamp_ms":1784407889000,"timestamp_seconds":1784407889,"priority":1,"record_length":96,"hex_timestamp":"0000019f76ff9468"} 
[2026-07-19 02:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:23: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-07-19 02:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-19 02:23: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-07-19 02: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-07-19 02:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":137164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":137164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":137164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:23: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-07-19 02:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808416000001,"66":27517,"54":206,"80":60928,"24":28,"16":352071706342326272,"45":5936025811654070272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,80,24,16,45]} 
[2026-07-19 02:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808416000001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:23:05] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-19 02:23:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352071706342326272,"km_value":352071706342326.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5936025811654070272,"description":"Unknown IO ID 45"} 
[2026-07-19 02:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808416000001,"power":27517,"unknown_54":206,"unknown_80":60928,"ignition":28,"odometer":null,"unknown_45":5936025811654070272}} 
[2026-07-19 02:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":137164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:23:05] local.INFO: GPS data processed {"connection_id":137164,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:23:05] local.INFO: Acknowledgment sent {"connection_id":137164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:23:37] local.INFO: TCP Data received {"connection_id":137164,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f76ffc730012d527a4006797700005400112f..."} 
[2026-07-19 02:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76ffc730012d527a4006797700005400112f..."} 
[2026-07-19 02:23:37] local.INFO: Processing buffer {"connection_id":137164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76ffc730012d527a4006797700005400112f..."} 
[2026-07-19 02:23:37] local.INFO: Packet analysis {"connection_id":137164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ff"} 
[2026-07-19 02:23:37] local.INFO: Extracted packet for processing {"connection_id":137164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ff"} 
[2026-07-19 02:23:37] local.INFO: GPS Element Parsed {"raw_longitude":760379968,"raw_latitude":108623616,"longitude_deg":76.0379968,"latitude_deg":10.8623616,"altitude":84,"angle":17,"satellites":47,"speed":27,"hex_longitude":"2d527a40","hex_latitude":"06797700","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808419584001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352072170198794240,"note":"Value kept but may cause issues"} 
[2026-07-19 02:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5939684986353612800,"note":"Value kept but may cause issues"} 
[2026-07-19 02:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784407902000,"timestamp_ms":1784407902000,"timestamp_seconds":1784407902,"priority":1,"record_length":96,"hex_timestamp":"0000019f76ffc730"} 
[2026-07-19 02:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-19 02:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:23:37] 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-07-19 02:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808419584001,"66":27267,"54":206,"80":60928,"24":27,"16":352072170198794240,"45":5939684986353612800},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,80,24,16,45]} 
[2026-07-19 02:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808419584001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:23:37] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-19 02:23:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352072170198794240,"km_value":352072170198794.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5939684986353612800,"description":"Unknown IO ID 45"} 
[2026-07-19 02:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808419584001,"power":27267,"unknown_54":206,"unknown_80":60928,"ignition":27,"odometer":null,"unknown_45":5939684986353612800}} 
[2026-07-19 02:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":137164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:23:37] local.INFO: GPS data processed {"connection_id":137164,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:23:37] local.INFO: Acknowledgment sent {"connection_id":137164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:23:55] local.INFO: TCP Data received {"connection_id":138568,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:23:55] local.INFO: Processing buffer {"connection_id":138568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:23:55] local.INFO: IMEI packet received {"connection_id":138568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":138568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:23:59] local.INFO: TCP Data received {"connection_id":138568,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:23:59] local.INFO: Processing buffer {"connection_id":138568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:23:59] local.INFO: IMEI packet received {"connection_id":138568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":138568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:24:00] local.INFO: TCP Data received {"connection_id":138568,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f76fff610012d52860006799988005300112f..."} 
[2026-07-19 02:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76fff610012d52860006799988005300112f..."} 
[2026-07-19 02:24:00] local.INFO: Processing buffer {"connection_id":138568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76fff610012d52860006799988005300112f..."} 
[2026-07-19 02:24:00] local.INFO: Packet analysis {"connection_id":138568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76ff"} 
[2026-07-19 02:24:00] local.INFO: Extracted packet for processing {"connection_id":138568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76ff"} 
[2026-07-19 02:24:00] local.INFO: GPS Element Parsed {"raw_longitude":760382976,"raw_latitude":108632456,"longitude_deg":76.0382976,"latitude_deg":10.8632456,"altitude":83,"angle":17,"satellites":47,"speed":33,"hex_longitude":"2d528600","hex_latitude":"06799988","is_valid_coordinates":true} 
[2026-07-19 02:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808422912001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352072621170360320,"note":"Value kept but may cause issues"} 
[2026-07-19 02:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5943133054820614144,"note":"Value kept but may cause issues"} 
[2026-07-19 02:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784407914000,"timestamp_ms":1784407914000,"timestamp_seconds":1784407914,"priority":1,"record_length":96,"hex_timestamp":"0000019f76fff610"} 
[2026-07-19 02:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 02:24: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-07-19 02:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":138568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":138568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":138568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808422912001,"66":27332,"53":206,"80":60928,"24":33,"16":352072621170360320,"45":5943133054820614144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,80,24,16,45]} 
[2026-07-19 02:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808422912001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:24:01] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-19 02:24:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352072621170360320,"km_value":352072621170360.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5943133054820614144,"description":"Unknown IO ID 45"} 
[2026-07-19 02:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808422912001,"power":27332,"unknown_53":206,"unknown_80":60928,"ignition":33,"odometer":null,"unknown_45":5943133054820614144}} 
[2026-07-19 02:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":138568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:24:01] local.INFO: GPS data processed {"connection_id":138568,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:24:01] local.INFO: Acknowledgment sent {"connection_id":138568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:24:37] local.INFO: TCP Data received {"connection_id":138568,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7701a3c0012d541c40067a5500004e005b30..."} 
[2026-07-19 02:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7701a3c0012d541c40067a5500004e005b30..."} 
[2026-07-19 02:24:37] local.INFO: Processing buffer {"connection_id":138568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7701a3c0012d541c40067a5500004e005b30..."} 
[2026-07-19 02:24:37] local.INFO: Packet analysis {"connection_id":138568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7701"} 
[2026-07-19 02:24:37] local.INFO: Extracted packet for processing {"connection_id":138568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7701"} 
[2026-07-19 02:24:37] local.INFO: GPS Element Parsed {"raw_longitude":760486976,"raw_latitude":108680448,"longitude_deg":76.0486976,"latitude_deg":10.8680448,"altitude":78,"angle":91,"satellites":48,"speed":55,"hex_longitude":"2d541c40","hex_latitude":"067a5500","is_valid_coordinates":true} 
[2026-07-19 02:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808452352001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352078715728953344,"note":"Value kept but may cause issues"} 
[2026-07-19 02:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6050163914729500672,"note":"Value kept but may cause issues"} 
[2026-07-19 02:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784408024000,"timestamp_ms":1784408024000,"timestamp_seconds":1784408024,"priority":1,"record_length":96,"hex_timestamp":"0000019f7701a3c0"} 
[2026-07-19 02:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:24: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-07-19 02:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 02:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:24:37] 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-07-19 02:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808452352001,"66":27213,"250":206,"80":60928,"24":55,"16":352078715728953344,"45":6050163914729500672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-07-19 02:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808452352001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:24:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-19 02:24:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352078715728953344,"km_value":352078715728953.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6050163914729500672,"description":"Unknown IO ID 45"} 
[2026-07-19 02:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808452352001,"power":27213,"unknown_250":206,"unknown_80":60928,"ignition":55,"odometer":null,"unknown_45":6050163914729500672}} 
[2026-07-19 02:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":138568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:24:37] local.INFO: GPS data processed {"connection_id":138568,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:24:37] local.INFO: Acknowledgment sent {"connection_id":138568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:24:55] local.INFO: TCP Data received {"connection_id":138569,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:24:55] local.INFO: Processing buffer {"connection_id":138569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:24:55] local.INFO: IMEI packet received {"connection_id":138569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":138569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:24:56] local.INFO: TCP Data received {"connection_id":138569,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:24:56] local.INFO: Processing buffer {"connection_id":138569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:24:56] local.INFO: IMEI packet received {"connection_id":138569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":138569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:25:00] local.INFO: TCP Data received {"connection_id":138569,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:25:00] local.INFO: Processing buffer {"connection_id":138569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:25:00] local.INFO: IMEI packet received {"connection_id":138569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":138569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:25:01] local.INFO: TCP Data received {"connection_id":138569,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7701bf18012d544580067a5360004a005c2d..."} 
[2026-07-19 02:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7701bf18012d544580067a5360004a005c2d..."} 
[2026-07-19 02:25:01] local.INFO: Processing buffer {"connection_id":138569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7701bf18012d544580067a5360004a005c2d..."} 
[2026-07-19 02:25:01] local.INFO: Packet analysis {"connection_id":138569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7701"} 
[2026-07-19 02:25:01] local.INFO: Extracted packet for processing {"connection_id":138569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7701"} 
[2026-07-19 02:25:01] local.INFO: GPS Element Parsed {"raw_longitude":760497536,"raw_latitude":108680032,"longitude_deg":76.0497536,"latitude_deg":10.8680032,"altitude":74,"angle":92,"satellites":45,"speed":62,"hex_longitude":"2d544580","hex_latitude":"067a5360","is_valid_coordinates":true} 
[2026-07-19 02:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808454144001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352079218240126976,"note":"Value kept but may cause issues"} 
[2026-07-19 02:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6060789595100217344,"note":"Value kept but may cause issues"} 
[2026-07-19 02:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784408031000,"timestamp_ms":1784408031000,"timestamp_seconds":1784408031,"priority":1,"record_length":96,"hex_timestamp":"0000019f7701bf18"} 
[2026-07-19 02:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:25: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-07-19 02:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-19 02:25: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-07-19 02:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":138569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":138569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":138569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:25: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-07-19 02:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808454144001,"66":27289,"250":206,"80":60928,"24":62,"16":352079218240126976,"45":6060789595100217344},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-07-19 02:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808454144001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:25:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-19 02:25:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352079218240126976,"km_value":352079218240127.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6060789595100217344,"description":"Unknown IO ID 45"} 
[2026-07-19 02:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808454144001,"power":27289,"unknown_250":206,"unknown_80":60928,"ignition":62,"odometer":null,"unknown_45":6060789595100217344}} 
[2026-07-19 02:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":138569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:25:01] local.INFO: GPS data processed {"connection_id":138569,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:25:01] local.INFO: Acknowledgment sent {"connection_id":138569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:25:32] local.INFO: TCP Data received {"connection_id":138569,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f77028a38012d55a380067b0b10001d003f2c..."} 
[2026-07-19 02:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77028a38012d55a380067b0b10001d003f2c..."} 
[2026-07-19 02:25:32] local.INFO: Processing buffer {"connection_id":138569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77028a38012d55a380067b0b10001d003f2c..."} 
[2026-07-19 02:25:32] local.INFO: Packet analysis {"connection_id":138569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7702"} 
[2026-07-19 02:25:32] local.INFO: Extracted packet for processing {"connection_id":138569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7702"} 
[2026-07-19 02:25:32] local.INFO: GPS Element Parsed {"raw_longitude":760587136,"raw_latitude":108727056,"longitude_deg":76.0587136,"latitude_deg":10.8727056,"altitude":29,"angle":63,"satellites":44,"speed":80,"hex_longitude":"2d55a380","hex_latitude":"067b0b10","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808467968001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352084144567615488,"note":"Value kept but may cause issues"} 
[2026-07-19 02:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6161276161796485120,"note":"Value kept but may cause issues"} 
[2026-07-19 02:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784408083000,"timestamp_ms":1784408083000,"timestamp_seconds":1784408083,"priority":1,"record_length":96,"hex_timestamp":"0000019f77028a38"} 
[2026-07-19 02:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:25: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-07-19 02:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 02:25: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-07-19 02: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-07-19 02:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":138569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":138569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":138569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:25: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-07-19 02:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808467968001,"66":27267,"250":206,"80":60928,"24":80,"16":352084144567615488,"45":6161276161796485120},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-07-19 02:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808467968001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:25:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-19 02:25:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352084144567615488,"km_value":352084144567615.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6161276161796485120,"description":"Unknown IO ID 45"} 
[2026-07-19 02:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808467968001,"power":27267,"unknown_250":206,"unknown_80":60928,"ignition":80,"odometer":null,"unknown_45":6161276161796485120}} 
[2026-07-19 02:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":138569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:25:32] local.INFO: GPS data processed {"connection_id":138569,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:25:32] local.INFO: Acknowledgment sent {"connection_id":138569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:26:00] local.INFO: TCP Data received {"connection_id":136238,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:26:00] local.INFO: Processing buffer {"connection_id":136238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:26:00] local.INFO: IMEI packet received {"connection_id":136238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":136238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:26:01] local.INFO: TCP Data received {"connection_id":136238,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:26:01] local.INFO: Processing buffer {"connection_id":136238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:26:01] local.INFO: IMEI packet received {"connection_id":136238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":136238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:26:05] local.INFO: TCP Data received {"connection_id":136238,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:26:05] local.INFO: Processing buffer {"connection_id":136238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:26:05] local.INFO: IMEI packet received {"connection_id":136238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":136238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:26:07] local.INFO: TCP Data received {"connection_id":136238,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f77029dc0012d55c800067b19c8001b00482e..."} 
[2026-07-19 02:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77029dc0012d55c800067b19c8001b00482e..."} 
[2026-07-19 02:26:07] local.INFO: Processing buffer {"connection_id":136238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77029dc0012d55c800067b19c8001b00482e..."} 
[2026-07-19 02:26:07] local.INFO: Packet analysis {"connection_id":136238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7702"} 
[2026-07-19 02:26:07] local.INFO: Extracted packet for processing {"connection_id":136238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7702"} 
[2026-07-19 02:26:07] local.INFO: GPS Element Parsed {"raw_longitude":760596480,"raw_latitude":108730824,"longitude_deg":76.059648,"latitude_deg":10.8730824,"altitude":27,"angle":72,"satellites":46,"speed":76,"hex_longitude":"2d55c800","hex_latitude":"067b19c8","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808469248001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352084621308985344,"note":"Value kept but may cause issues"} 
[2026-07-19 02:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6170916679750193152,"note":"Value kept but may cause issues"} 
[2026-07-19 02:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784408088000,"timestamp_ms":1784408088000,"timestamp_seconds":1784408088,"priority":1,"record_length":96,"hex_timestamp":"0000019f77029dc0"} 
[2026-07-19 02:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:26: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-07-19 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 02:26: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-07-19 02: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-07-19 02:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:26:07] 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-07-19 02:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808469248001,"66":27267,"250":206,"80":60928,"24":76,"16":352084621308985344,"45":6170916679750193152},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-07-19 02:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808469248001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:26:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-19 02:26:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352084621308985344,"km_value":352084621308985.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6170916679750193152,"description":"Unknown IO ID 45"} 
[2026-07-19 02:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808469248001,"power":27267,"unknown_250":206,"unknown_80":60928,"ignition":76,"odometer":null,"unknown_45":6170916679750193152}} 
[2026-07-19 02:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":136238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:26:07] local.INFO: GPS data processed {"connection_id":136238,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:26:07] local.INFO: Acknowledgment sent {"connection_id":136238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:26:39] local.INFO: TCP Data received {"connection_id":136238,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f77038c08012d570ac0067baf18001a002026..."} 
[2026-07-19 02:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77038c08012d570ac0067baf18001a002026..."} 
[2026-07-19 02:26:39] local.INFO: Processing buffer {"connection_id":136238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77038c08012d570ac0067baf18001a002026..."} 
[2026-07-19 02:26:39] local.INFO: Packet analysis {"connection_id":136238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7703"} 
[2026-07-19 02:26:39] local.INFO: Extracted packet for processing {"connection_id":136238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7703"} 
[2026-07-19 02:26:39] local.INFO: GPS Element Parsed {"raw_longitude":760679104,"raw_latitude":108769048,"longitude_deg":76.0679104,"latitude_deg":10.8769048,"altitude":26,"angle":32,"satellites":38,"speed":50,"hex_longitude":"2d570ac0","hex_latitude":"067baf18","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808484864001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352089040830332928,"note":"Value kept but may cause issues"} 
[2026-07-19 02:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6267392228027271168,"note":"Value kept but may cause issues"} 
[2026-07-19 02:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784408149000,"timestamp_ms":1784408149000,"timestamp_seconds":1784408149,"priority":1,"record_length":96,"hex_timestamp":"0000019f77038c08"} 
[2026-07-19 02:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:26: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-07-19 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 02:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808484864001,"66":27463,"35":206,"80":60928,"24":50,"16":352089040830332928,"45":6267392228027271168},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-07-19 02:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808484864001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:26:39] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-19 02:26:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352089040830332928,"km_value":352089040830332.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6267392228027271168,"description":"Unknown IO ID 45"} 
[2026-07-19 02:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808484864001,"power":27463,"unknown_35":206,"unknown_80":60928,"ignition":50,"odometer":null,"unknown_45":6267392228027271168}} 
[2026-07-19 02:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":136238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:26:39] local.INFO: GPS data processed {"connection_id":136238,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:26:39] local.INFO: Acknowledgment sent {"connection_id":136238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:26:56] local.INFO: TCP Data received {"connection_id":137166,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:26:56] local.INFO: Processing buffer {"connection_id":137166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:26:56] local.INFO: IMEI packet received {"connection_id":137166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":137166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:27:00] local.INFO: TCP Data received {"connection_id":137166,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:27:00] local.INFO: Processing buffer {"connection_id":137166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:27:00] local.INFO: IMEI packet received {"connection_id":137166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":137166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:27:02] local.INFO: TCP Data received {"connection_id":136117,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:27:02] local.INFO: Processing buffer {"connection_id":136117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:27:02] local.INFO: IMEI packet received {"connection_id":136117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 02:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":136117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:27:03] local.INFO: TCP Data received {"connection_id":137166,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:27:03] local.INFO: Processing buffer {"connection_id":137166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:27:03] local.INFO: IMEI packet received {"connection_id":137166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":137166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:27:04] local.INFO: TCP Data received {"connection_id":137166,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f770397c0012d571180067bbc780019001529..."} 
[2026-07-19 02:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f770397c0012d571180067bbc780019001529..."} 
[2026-07-19 02:27:04] local.INFO: Processing buffer {"connection_id":137166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f770397c0012d571180067bbc780019001529..."} 
[2026-07-19 02:27:04] local.INFO: Packet analysis {"connection_id":137166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7703"} 
[2026-07-19 02:27:04] local.INFO: Extracted packet for processing {"connection_id":137166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7703"} 
[2026-07-19 02:27:04] local.INFO: GPS Element Parsed {"raw_longitude":760680832,"raw_latitude":108772472,"longitude_deg":76.0680832,"latitude_deg":10.8772472,"altitude":25,"angle":21,"satellites":41,"speed":50,"hex_longitude":"2d571180","hex_latitude":"067bbc78","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808486144001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352089225513926656,"note":"Value kept but may cause issues"} 
[2026-07-19 02:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6272036565144246272,"note":"Value kept but may cause issues"} 
[2026-07-19 02:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784408152000,"timestamp_ms":1784408152000,"timestamp_seconds":1784408152,"priority":1,"record_length":96,"hex_timestamp":"0000019f770397c0"} 
[2026-07-19 02:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-19 02:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":137166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":137166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":137166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:27: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-07-19 02:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808486144001,"66":27213,"35":206,"80":60928,"24":50,"16":352089225513926656,"45":6272036565144246272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-07-19 02:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808486144001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:27:04] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-19 02:27:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352089225513926656,"km_value":352089225513926.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6272036565144246272,"description":"Unknown IO ID 45"} 
[2026-07-19 02:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808486144001,"power":27213,"unknown_35":206,"unknown_80":60928,"ignition":50,"odometer":null,"unknown_45":6272036565144246272}} 
[2026-07-19 02:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":137166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:27:04] local.INFO: GPS data processed {"connection_id":137166,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:27:04] local.INFO: Acknowledgment sent {"connection_id":137166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:27:04] local.INFO: TCP Data received {"connection_id":137166,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7703a760012d571700067bcf500019000a2b..."} 
[2026-07-19 02:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7703a760012d571700067bcf500019000a2b..."} 
[2026-07-19 02:27:04] local.INFO: Processing buffer {"connection_id":137166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7703a760012d571700067bcf500019000a2b..."} 
[2026-07-19 02:27:04] local.INFO: Packet analysis {"connection_id":137166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7703"} 
[2026-07-19 02:27:04] local.INFO: Extracted packet for processing {"connection_id":137166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7703"} 
[2026-07-19 02:27:04] local.INFO: GPS Element Parsed {"raw_longitude":760682240,"raw_latitude":108777296,"longitude_deg":76.068224,"latitude_deg":10.8777296,"altitude":25,"angle":10,"satellites":43,"speed":46,"hex_longitude":"2d571700","hex_latitude":"067bcf50","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808486912001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352089470327062528,"note":"Value kept but may cause issues"} 
[2026-07-19 02:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6273936521237919744,"note":"Value kept but may cause issues"} 
[2026-07-19 02:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784408156000,"timestamp_ms":1784408156000,"timestamp_seconds":1784408156,"priority":1,"record_length":96,"hex_timestamp":"0000019f7703a760"} 
[2026-07-19 02:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-19 02:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":137166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":137166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":137166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:27: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-07-19 02:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808486912001,"66":27267,"35":206,"80":60928,"24":46,"16":352089470327062528,"45":6273936521237919744},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-07-19 02:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808486912001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:27:04] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-19 02:27:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352089470327062528,"km_value":352089470327062.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6273936521237919744,"description":"Unknown IO ID 45"} 
[2026-07-19 02:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808486912001,"power":27267,"unknown_35":206,"unknown_80":60928,"ignition":46,"odometer":null,"unknown_45":6273936521237919744}} 
[2026-07-19 02:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":137166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:27:04] local.INFO: GPS data processed {"connection_id":137166,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:27:04] local.INFO: Acknowledgment sent {"connection_id":137166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:27:32] local.INFO: TCP Data received {"connection_id":138571,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:27:32] local.INFO: Processing buffer {"connection_id":138571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:27:32] local.INFO: IMEI packet received {"connection_id":138571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 02:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":138571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:27:37] local.INFO: TCP Data received {"connection_id":137166,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7703bed0012d571900067bea40001901662c..."} 
[2026-07-19 02:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7703bed0012d571900067bea40001901662c..."} 
[2026-07-19 02:27:37] local.INFO: Processing buffer {"connection_id":137166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7703bed0012d571900067bea40001901662c..."} 
[2026-07-19 02:27:37] local.INFO: Packet analysis {"connection_id":137166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7703"} 
[2026-07-19 02:27:37] local.INFO: Extracted packet for processing {"connection_id":137166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7703"} 
[2026-07-19 02:27:37] local.INFO: GPS Element Parsed {"raw_longitude":760682752,"raw_latitude":108784192,"longitude_deg":76.0682752,"latitude_deg":10.8784192,"altitude":25,"angle":358,"satellites":44,"speed":44,"hex_longitude":"2d571900","hex_latitude":"067bea40","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808487936001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352089805334511616,"note":"Value kept but may cause issues"} 
[2026-07-19 02:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6275484633611063296,"note":"Value kept but may cause issues"} 
[2026-07-19 02:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784408162000,"timestamp_ms":1784408162000,"timestamp_seconds":1784408162,"priority":1,"record_length":96,"hex_timestamp":"0000019f7703bed0"} 
[2026-07-19 02:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:27: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-07-19 02:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 02:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:27:37] 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-07-19 02:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808487936001,"66":27180,"35":206,"80":60928,"24":44,"16":352089805334511616,"45":6275484633611063296},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-07-19 02:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808487936001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:27:37] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-19 02:27:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352089805334511616,"km_value":352089805334511.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6275484633611063296,"description":"Unknown IO ID 45"} 
[2026-07-19 02:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808487936001,"power":27180,"unknown_35":206,"unknown_80":60928,"ignition":44,"odometer":null,"unknown_45":6275484633611063296}} 
[2026-07-19 02:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":137166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:27:37] local.INFO: GPS data processed {"connection_id":137166,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:27:37] local.INFO: Acknowledgment sent {"connection_id":137166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:27:37] local.INFO: TCP Data received {"connection_id":138571,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:27:37] local.INFO: Processing buffer {"connection_id":138571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:27:37] local.INFO: IMEI packet received {"connection_id":138571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-19 02:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":138571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:27:38] local.INFO: TCP Data received {"connection_id":138571,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f76fcd548012d1711c006d65d600005006426..."} 
[2026-07-19 02:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f76fcd548012d1711c006d65d600005006426..."} 
[2026-07-19 02:27:38] local.INFO: Processing buffer {"connection_id":138571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f76fcd548012d1711c006d65d600005006426..."} 
[2026-07-19 02:27:38] local.INFO: Packet analysis {"connection_id":138571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f76fc"} 
[2026-07-19 02:27:38] local.INFO: Extracted packet for processing {"connection_id":138571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f76fc"} 
[2026-07-19 02:27:38] local.INFO: GPS Element Parsed {"raw_longitude":756486592,"raw_latitude":114711904,"longitude_deg":75.6486592,"latitude_deg":11.4711904,"altitude":5,"angle":100,"satellites":38,"speed":0,"hex_longitude":"2d1711c0","hex_latitude":"06d65d60","is_valid_coordinates":true} 
[2026-07-19 02:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808296448001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":137892630867476480,"note":"Value kept but may cause issues"} 
[2026-07-19 02:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1662320873075204096,"note":"Value kept but may cause issues"} 
[2026-07-19 02:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784407709000,"timestamp_ms":1784407709000,"timestamp_seconds":1784407709,"priority":1,"record_length":96,"hex_timestamp":"0000019f76fcd548"} 
[2026-07-19 02:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 02:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-19 02:27:38] 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-07-19 02:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-19 02:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-19 02:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-19 02:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-19 02:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808296448001,"66":25191,"160":206,"81":20480,"24":0,"16":137892630867476480,"45":1662320873075204096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-07-19 02:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-19 02:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-19 02:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808296448001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:27:38] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-19 02:27:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-19 02:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":137892630867476480,"km_value":137892630867476.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1662320873075204096,"description":"Unknown IO ID 45"} 
[2026-07-19 02:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808296448001,"power":25191,"unknown_160":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1662320873075204096}} 
[2026-07-19 02:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":138571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510426,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:27:38] local.INFO: GPS data processed {"connection_id":138571,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:27:38] local.INFO: Acknowledgment sent {"connection_id":138571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:27:52] local.INFO: TCP Data received {"connection_id":136239,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:27:52] local.INFO: Processing buffer {"connection_id":136239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:27:52] local.INFO: IMEI packet received {"connection_id":136239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":136239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:27:55] local.INFO: TCP Data received {"connection_id":136239,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:27:55] local.INFO: Processing buffer {"connection_id":136239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:27:55] local.INFO: IMEI packet received {"connection_id":136239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":136239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:28:00] local.INFO: TCP Data received {"connection_id":136239,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:28:00] local.INFO: Processing buffer {"connection_id":136239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:28:00] local.INFO: IMEI packet received {"connection_id":136239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":136239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:28:01] local.INFO: TCP Data received {"connection_id":136239,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7703de10012d571480067c0db80018015f2c..."} 
[2026-07-19 02:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7703de10012d571480067c0db80018015f2c..."} 
[2026-07-19 02:28:01] local.INFO: Processing buffer {"connection_id":136239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7703de10012d571480067c0db80018015f2c..."} 
[2026-07-19 02:28:01] local.INFO: Packet analysis {"connection_id":136239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7703"} 
[2026-07-19 02:28:01] local.INFO: Extracted packet for processing {"connection_id":136239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7703"} 
[2026-07-19 02:28:01] local.INFO: GPS Element Parsed {"raw_longitude":760681600,"raw_latitude":108793272,"longitude_deg":76.06816,"latitude_deg":10.8793272,"altitude":24,"angle":351,"satellites":44,"speed":47,"hex_longitude":"2d571480","hex_latitude":"067c0db8","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808489472001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352090247716143104,"note":"Value kept but may cause issues"} 
[2026-07-19 02:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6276047583566249984,"note":"Value kept but may cause issues"} 
[2026-07-19 02:28:01] 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-07-19 02:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784408170000,"timestamp_ms":1784408170000,"timestamp_seconds":1784408170,"priority":1,"record_length":96,"hex_timestamp":"0000019f7703de10"} 
[2026-07-19 02:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:28: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-07-19 02: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":44,"data_length":795,"current_offset":136} 
[2026-07-19 02:28: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-07-19 02: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-07-19 02:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:28: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-07-19 02:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808489472001,"66":27234,"110":206,"80":60928,"24":47,"16":352090247716143104,"45":6276047583566249984},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-07-19 02:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808489472001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:28:01] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-19 02:28:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352090247716143104,"km_value":352090247716143.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6276047583566249984,"description":"Unknown IO ID 45"} 
[2026-07-19 02:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808489472001,"power":27234,"unknown_110":206,"unknown_80":60928,"ignition":47,"odometer":null,"unknown_45":6276047583566249984}} 
[2026-07-19 02:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":136239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:28:01] local.INFO: GPS data processed {"connection_id":136239,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:28:01] local.INFO: Acknowledgment sent {"connection_id":136239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:28:32] local.INFO: TCP Data received {"connection_id":136240,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136240,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:28:32] local.INFO: Processing buffer {"connection_id":136240,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:28:32] local.INFO: IMEI packet received {"connection_id":136240,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 02:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":136240,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:28:32] local.INFO: TCP Data received {"connection_id":136239,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f770535d0012d55f8c0067d5fd8000f013d2d..."} 
[2026-07-19 02:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f770535d0012d55f8c0067d5fd8000f013d2d..."} 
[2026-07-19 02:28:32] local.INFO: Processing buffer {"connection_id":136239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f770535d0012d55f8c0067d5fd8000f013d2d..."} 
[2026-07-19 02:28:32] local.INFO: Packet analysis {"connection_id":136239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7705"} 
[2026-07-19 02:28:32] local.INFO: Extracted packet for processing {"connection_id":136239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7705"} 
[2026-07-19 02:28:32] local.INFO: GPS Element Parsed {"raw_longitude":760608960,"raw_latitude":108879832,"longitude_deg":76.060896,"latitude_deg":10.8879832,"altitude":15,"angle":317,"satellites":45,"speed":49,"hex_longitude":"2d55f8c0","hex_latitude":"067d5fd8","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808512000001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352095779634020352,"note":"Value kept but may cause issues"} 
[2026-07-19 02:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6202582614667421696,"note":"Value kept but may cause issues"} 
[2026-07-19 02:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784408258000,"timestamp_ms":1784408258000,"timestamp_seconds":1784408258,"priority":1,"record_length":96,"hex_timestamp":"0000019f770535d0"} 
[2026-07-19 02:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:28: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-07-19 02: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":131,"data_length":795,"current_offset":136} 
[2026-07-19 02:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:28: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-07-19 02:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808512000001,"66":27321,"98":206,"80":60928,"24":49,"16":352095779634020352,"45":6202582614667421696},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,80,24,16,45]} 
[2026-07-19 02:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808512000001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:28:32] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-07-19 02:28:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352095779634020352,"km_value":352095779634020.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6202582614667421696,"description":"Unknown IO ID 45"} 
[2026-07-19 02:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808512000001,"power":27321,"unknown_98":206,"unknown_80":60928,"ignition":49,"odometer":null,"unknown_45":6202582614667421696}} 
[2026-07-19 02:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":136239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:28:33] local.INFO: GPS data processed {"connection_id":136239,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:28:33] local.INFO: Acknowledgment sent {"connection_id":136239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:29:17] local.INFO: TCP Data received {"connection_id":136241,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:29:17] local.INFO: Processing buffer {"connection_id":136241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:29:17] local.INFO: IMEI packet received {"connection_id":136241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":136241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:29:25] local.INFO: TCP Data received {"connection_id":136241,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:29:25] local.INFO: Processing buffer {"connection_id":136241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:29:25] local.INFO: IMEI packet received {"connection_id":136241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":136241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:29:25] local.INFO: TCP Data received {"connection_id":136241,"ip":"42.106.6.30","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 02:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136241,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 02:29:25] local.INFO: Processing buffer {"connection_id":136241,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 02:29:25] local.INFO: IMEI packet received {"connection_id":136241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":136241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:33:52] local.INFO: TCP Data received {"connection_id":136243,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:33:52] local.INFO: Processing buffer {"connection_id":136243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:33:52] local.INFO: IMEI packet received {"connection_id":136243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 02:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":136243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:34:25] local.INFO: TCP Data received {"connection_id":138574,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:34:25] local.INFO: Processing buffer {"connection_id":138574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:34:25] local.INFO: IMEI packet received {"connection_id":138574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":138574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:34:25] local.INFO: TCP Data received {"connection_id":138574,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7708f6c0012d54bac0068005f8003c01492e..."} 
[2026-07-19 02:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7708f6c0012d54bac0068005f8003c01492e..."} 
[2026-07-19 02:34:26] local.INFO: Processing buffer {"connection_id":138574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7708f6c0012d54bac0068005f8003c01492e..."} 
[2026-07-19 02:34:26] local.INFO: Packet analysis {"connection_id":138574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7708"} 
[2026-07-19 02:34:26] local.INFO: Extracted packet for processing {"connection_id":138574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7708"} 
[2026-07-19 02:34:26] local.INFO: GPS Element Parsed {"raw_longitude":760527552,"raw_latitude":109053432,"longitude_deg":76.0527552,"latitude_deg":10.9053432,"altitude":60,"angle":329,"satellites":46,"speed":15,"hex_longitude":"2d54bac0","hex_latitude":"068005f8","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808572416001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352105142662725632,"note":"Value kept but may cause issues"} 
[2026-07-19 02:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6110188453606428672,"note":"Value kept but may cause issues"} 
[2026-07-19 02:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784408504000,"timestamp_ms":1784408504000,"timestamp_seconds":1784408504,"priority":1,"record_length":96,"hex_timestamp":"0000019f7708f6c0"} 
[2026-07-19 02:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02: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":87,"data_length":795,"current_offset":136} 
[2026-07-19 02:34:26] 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-07-19 02: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-07-19 02:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":138574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":138574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":138574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808572416001,"66":27376,"152":206,"80":60928,"24":15,"16":352105142662725632,"45":6110188453606428672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-07-19 02:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808572416001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:34:26] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-19 02:34:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352105142662725632,"km_value":352105142662725.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6110188453606428672,"description":"Unknown IO ID 45"} 
[2026-07-19 02:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808572416001,"power":27376,"unknown_152":206,"unknown_80":60928,"ignition":15,"odometer":null,"unknown_45":6110188453606428672}} 
[2026-07-19 02:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":138574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:34:26] local.INFO: GPS data processed {"connection_id":138574,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:34:26] local.INFO: Acknowledgment sent {"connection_id":138574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:34:32] local.INFO: TCP Data received {"connection_id":136244,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:34:32] local.INFO: Processing buffer {"connection_id":136244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:34:32] local.INFO: IMEI packet received {"connection_id":136244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 02:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":136244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:34:55] local.INFO: TCP Data received {"connection_id":136120,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:34:55] local.INFO: Processing buffer {"connection_id":136120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:34:55] local.INFO: IMEI packet received {"connection_id":136120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":136120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:35:01] local.INFO: TCP Data received {"connection_id":136120,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:35:01] local.INFO: Processing buffer {"connection_id":136120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:35:01] local.INFO: IMEI packet received {"connection_id":136120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":136120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:35:18] local.INFO: TCP Data received {"connection_id":136120,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f770948c8012d54a9c0068025680041014b2e..."} 
[2026-07-19 02:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f770948c8012d54a9c0068025680041014b2e..."} 
[2026-07-19 02:35:18] local.INFO: Processing buffer {"connection_id":136120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f770948c8012d54a9c0068025680041014b2e..."} 
[2026-07-19 02:35:18] local.INFO: Packet analysis {"connection_id":136120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7709"} 
[2026-07-19 02:35:18] local.INFO: Extracted packet for processing {"connection_id":136120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7709"} 
[2026-07-19 02:35:18] local.INFO: GPS Element Parsed {"raw_longitude":760523200,"raw_latitude":109061480,"longitude_deg":76.05232,"latitude_deg":10.906148,"altitude":65,"angle":331,"satellites":46,"speed":18,"hex_longitude":"2d54a9c0","hex_latitude":"06802568","is_valid_coordinates":true} 
[2026-07-19 02:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808577024001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352105585044357120,"note":"Value kept but may cause issues"} 
[2026-07-19 02:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6105403379004340224,"note":"Value kept but may cause issues"} 
[2026-07-19 02:35:18] 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-07-19 02:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784408525000,"timestamp_ms":1784408525000,"timestamp_seconds":1784408525,"priority":1,"record_length":96,"hex_timestamp":"0000019f770948c8"} 
[2026-07-19 02:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-19 02:35:18] 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-07-19 02:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":136120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":136120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":136120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808577024001,"66":27213,"152":206,"80":60928,"24":18,"16":352105585044357120,"45":6105403379004340224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-07-19 02:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808577024001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:35:18] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-19 02:35:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352105585044357120,"km_value":352105585044357.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6105403379004340224,"description":"Unknown IO ID 45"} 
[2026-07-19 02:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808577024001,"power":27213,"unknown_152":206,"unknown_80":60928,"ignition":18,"odometer":null,"unknown_45":6105403379004340224}} 
[2026-07-19 02:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":136120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:35:18] local.INFO: GPS data processed {"connection_id":136120,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:35:18] local.INFO: Acknowledgment sent {"connection_id":136120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:36:00] local.INFO: TCP Data received {"connection_id":136121,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:36:00] local.INFO: Processing buffer {"connection_id":136121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:36:00] local.INFO: IMEI packet received {"connection_id":136121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":136121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:36:05] local.INFO: TCP Data received {"connection_id":136121,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:36:05] local.INFO: Processing buffer {"connection_id":136121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:36:05] local.INFO: IMEI packet received {"connection_id":136121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":136121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:36:06] local.INFO: TCP Data received {"connection_id":136121,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f770948c8012d54a9c0068025680041014b2e..."} 
[2026-07-19 02:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f770948c8012d54a9c0068025680041014b2e..."} 
[2026-07-19 02:36:06] local.INFO: Processing buffer {"connection_id":136121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f770948c8012d54a9c0068025680041014b2e..."} 
[2026-07-19 02:36:06] local.INFO: Packet analysis {"connection_id":136121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7709"} 
[2026-07-19 02:36:06] local.INFO: Extracted packet for processing {"connection_id":136121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7709"} 
[2026-07-19 02:36:06] local.INFO: GPS Element Parsed {"raw_longitude":760523200,"raw_latitude":109061480,"longitude_deg":76.05232,"latitude_deg":10.906148,"altitude":65,"angle":331,"satellites":46,"speed":18,"hex_longitude":"2d54a9c0","hex_latitude":"06802568","is_valid_coordinates":true} 
[2026-07-19 02:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808582400001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352105585044357120,"note":"Value kept but may cause issues"} 
[2026-07-19 02:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6100618304402319360,"note":"Value kept but may cause issues"} 
[2026-07-19 02:36:06] 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-07-19 02:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784408525000,"timestamp_ms":1784408525000,"timestamp_seconds":1784408525,"priority":1,"record_length":96,"hex_timestamp":"0000019f770948c8"} 
[2026-07-19 02:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:36: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-07-19 02: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-19 02:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808582400001,"66":27213,"152":206,"80":60928,"24":18,"16":352105585044357120,"45":6100618304402319360},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-07-19 02:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808582400001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:36:06] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-19 02:36:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352105585044357120,"km_value":352105585044357.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6100618304402319360,"description":"Unknown IO ID 45"} 
[2026-07-19 02:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808582400001,"power":27213,"unknown_152":206,"unknown_80":60928,"ignition":18,"odometer":null,"unknown_45":6100618304402319360}} 
[2026-07-19 02:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":136121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:36:06] local.INFO: GPS data processed {"connection_id":136121,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:36:06] local.INFO: Acknowledgment sent {"connection_id":136121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:36:10] local.INFO: TCP Data received {"connection_id":136121,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f770996e8012d5498c0068043b00046014a2e..."} 
[2026-07-19 02:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f770996e8012d5498c0068043b00046014a2e..."} 
[2026-07-19 02:36:10] local.INFO: Processing buffer {"connection_id":136121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f770996e8012d5498c0068043b00046014a2e..."} 
[2026-07-19 02:36:10] local.INFO: Packet analysis {"connection_id":136121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7709"} 
[2026-07-19 02:36:10] local.INFO: Extracted packet for processing {"connection_id":136121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7709"} 
[2026-07-19 02:36:10] local.INFO: GPS Element Parsed {"raw_longitude":760518848,"raw_latitude":109069232,"longitude_deg":76.0518848,"latitude_deg":10.9069232,"altitude":70,"angle":330,"satellites":46,"speed":16,"hex_longitude":"2d5498c0","hex_latitude":"068043b0","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808582400001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352106014541086720,"note":"Value kept but may cause issues"} 
[2026-07-19 02:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6100618304402319360,"note":"Value kept but may cause issues"} 
[2026-07-19 02:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784408545000,"timestamp_ms":1784408545000,"timestamp_seconds":1784408545,"priority":1,"record_length":96,"hex_timestamp":"0000019f770996e8"} 
[2026-07-19 02:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:36: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-07-19 02: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-19 02:36:10] 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-07-19 02: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-07-19 02:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808582400001,"66":27332,"149":206,"80":60928,"24":16,"16":352106014541086720,"45":6100618304402319360},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-19 02:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808582400001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:36:10] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-19 02:36:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352106014541086720,"km_value":352106014541086.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6100618304402319360,"description":"Unknown IO ID 45"} 
[2026-07-19 02:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808582400001,"power":27332,"unknown_149":206,"unknown_80":60928,"ignition":16,"odometer":null,"unknown_45":6100618304402319360}} 
[2026-07-19 02:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":136121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:36:10] local.INFO: GPS data processed {"connection_id":136121,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:36:10] local.INFO: Acknowledgment sent {"connection_id":136121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:36:55] local.INFO: TCP Data received {"connection_id":136247,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:36:55] local.INFO: Processing buffer {"connection_id":136247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:36:55] local.INFO: IMEI packet received {"connection_id":136247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":136247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:36:56] local.INFO: TCP Data received {"connection_id":136247,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:36:56] local.INFO: Processing buffer {"connection_id":136247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:36:56] local.INFO: IMEI packet received {"connection_id":136247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":136247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:36:56] local.INFO: TCP Data received {"connection_id":136247,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:36:56] local.INFO: Processing buffer {"connection_id":136247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:36:56] local.INFO: IMEI packet received {"connection_id":136247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":136247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:37:00] local.INFO: TCP Data received {"connection_id":136247,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:37:00] local.INFO: Processing buffer {"connection_id":136247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:37:00] local.INFO: IMEI packet received {"connection_id":136247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":136247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:37:01] local.INFO: TCP Data received {"connection_id":136247,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f770c8100012d537e0006814d90007d01392e..."} 
[2026-07-19 02:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f770c8100012d537e0006814d90007d01392e..."} 
[2026-07-19 02:37:01] local.INFO: Processing buffer {"connection_id":136247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f770c8100012d537e0006814d90007d01392e..."} 
[2026-07-19 02:37:01] local.INFO: Packet analysis {"connection_id":136247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f770c"} 
[2026-07-19 02:37:01] local.INFO: Extracted packet for processing {"connection_id":136247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f770c"} 
[2026-07-19 02:37:01] local.INFO: GPS Element Parsed {"raw_longitude":760446464,"raw_latitude":109137296,"longitude_deg":76.0446464,"latitude_deg":10.9137296,"altitude":125,"angle":313,"satellites":46,"speed":18,"hex_longitude":"2d537e00","hex_latitude":"06814d90","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808631552001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352110816314523648,"note":"Value kept but may cause issues"} 
[2026-07-19 02:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6023705267033884672,"note":"Value kept but may cause issues"} 
[2026-07-19 02:37:01] 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-07-19 02:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784408736000,"timestamp_ms":1784408736000,"timestamp_seconds":1784408736,"priority":1,"record_length":96,"hex_timestamp":"0000019f770c8100"} 
[2026-07-19 02:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:37: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-07-19 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 02:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:37: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-07-19 02:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808631552001,"66":27300,"153":206,"80":60928,"24":18,"16":352110816314523648,"45":6023705267033884672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-07-19 02:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808631552001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:37:01] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-19 02:37:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352110816314523648,"km_value":352110816314523.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6023705267033884672,"description":"Unknown IO ID 45"} 
[2026-07-19 02:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808631552001,"power":27300,"unknown_153":206,"unknown_80":60928,"ignition":18,"odometer":null,"unknown_45":6023705267033884672}} 
[2026-07-19 02:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":136247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:37:01] local.INFO: GPS data processed {"connection_id":136247,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:37:01] local.INFO: Acknowledgment sent {"connection_id":136247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:37:05] local.INFO: TCP Data received {"connection_id":136247,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f770cd308012d536380068165c8008001392c..."} 
[2026-07-19 02:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f770cd308012d536380068165c8008001392c..."} 
[2026-07-19 02:37:05] local.INFO: Processing buffer {"connection_id":136247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f770cd308012d536380068165c8008001392c..."} 
[2026-07-19 02:37:05] local.INFO: Packet analysis {"connection_id":136247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f770c"} 
[2026-07-19 02:37:05] local.INFO: Extracted packet for processing {"connection_id":136247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f770c"} 
[2026-07-19 02:37:05] local.INFO: GPS Element Parsed {"raw_longitude":760439680,"raw_latitude":109143496,"longitude_deg":76.043968,"latitude_deg":10.9143496,"altitude":128,"angle":313,"satellites":44,"speed":17,"hex_longitude":"2d536380","hex_latitude":"068165c8","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808636416001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352111258696155136,"note":"Value kept but may cause issues"} 
[2026-07-19 02:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6016246180152709120,"note":"Value kept but may cause issues"} 
[2026-07-19 02:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784408757000,"timestamp_ms":1784408757000,"timestamp_seconds":1784408757,"priority":1,"record_length":96,"hex_timestamp":"0000019f770cd308"} 
[2026-07-19 02:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-19 02:37: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-07-19 02: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-07-19 02:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":136247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":136247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":136247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:37: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-07-19 02:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808636416001,"66":26941,"153":206,"80":60928,"24":17,"16":352111258696155136,"45":6016246180152709120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-07-19 02:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808636416001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:37:05] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-19 02:37:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352111258696155136,"km_value":352111258696155.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6016246180152709120,"description":"Unknown IO ID 45"} 
[2026-07-19 02:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808636416001,"power":26941,"unknown_153":206,"unknown_80":60928,"ignition":17,"odometer":null,"unknown_45":6016246180152709120}} 
[2026-07-19 02:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":136247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:37:05] local.INFO: GPS data processed {"connection_id":136247,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:37:05] local.INFO: Acknowledgment sent {"connection_id":136247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:37:36] local.INFO: TCP Data received {"connection_id":136247,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f770cd308012d536380068165c8008001392c..."} 
[2026-07-19 02:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f770cd308012d536380068165c8008001392c..."} 
[2026-07-19 02:37:36] local.INFO: Processing buffer {"connection_id":136247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f770cd308012d536380068165c8008001392c..."} 
[2026-07-19 02:37:36] local.INFO: Packet analysis {"connection_id":136247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f770c"} 
[2026-07-19 02:37:36] local.INFO: Extracted packet for processing {"connection_id":136247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f770c"} 
[2026-07-19 02:37:36] local.INFO: GPS Element Parsed {"raw_longitude":760439680,"raw_latitude":109143496,"longitude_deg":76.043968,"latitude_deg":10.9143496,"altitude":128,"angle":313,"satellites":44,"speed":17,"hex_longitude":"2d536380","hex_latitude":"068165c8","is_valid_coordinates":true} 
[2026-07-19 02:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808641792001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352111258696155136,"note":"Value kept but may cause issues"} 
[2026-07-19 02:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6008787093271463936,"note":"Value kept but may cause issues"} 
[2026-07-19 02:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784408757000,"timestamp_ms":1784408757000,"timestamp_seconds":1784408757,"priority":1,"record_length":96,"hex_timestamp":"0000019f770cd308"} 
[2026-07-19 02:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-07-19 02:37:36] 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-07-19 02:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:37: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-07-19 02:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808641792001,"66":26941,"153":206,"80":60928,"24":17,"16":352111258696155136,"45":6008787093271463936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-07-19 02:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808641792001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:37:36] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-19 02:37:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352111258696155136,"km_value":352111258696155.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6008787093271463936,"description":"Unknown IO ID 45"} 
[2026-07-19 02:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808641792001,"power":26941,"unknown_153":206,"unknown_80":60928,"ignition":17,"odometer":null,"unknown_45":6008787093271463936}} 
[2026-07-19 02:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":136247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:37:36] local.INFO: GPS data processed {"connection_id":136247,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:37:36] local.INFO: Acknowledgment sent {"connection_id":136247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:37:55] local.INFO: TCP Data received {"connection_id":137170,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:37:55] local.INFO: Processing buffer {"connection_id":137170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:37:55] local.INFO: IMEI packet received {"connection_id":137170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":137170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:38:00] local.INFO: TCP Data received {"connection_id":137170,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:38:00] local.INFO: Processing buffer {"connection_id":137170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:38:00] local.INFO: IMEI packet received {"connection_id":137170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":137170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:38:03] local.INFO: TCP Data received {"connection_id":137170,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f770d2510012d5348c006817ea80082013830..."} 
[2026-07-19 02:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f770d2510012d5348c006817ea80082013830..."} 
[2026-07-19 02:38:03] local.INFO: Processing buffer {"connection_id":137170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f770d2510012d5348c006817ea80082013830..."} 
[2026-07-19 02:38:03] local.INFO: Packet analysis {"connection_id":137170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f770d"} 
[2026-07-19 02:38:03] local.INFO: Extracted packet for processing {"connection_id":137170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f770d"} 
[2026-07-19 02:38:03] local.INFO: GPS Element Parsed {"raw_longitude":760432832,"raw_latitude":109149864,"longitude_deg":76.0432832,"latitude_deg":10.9149864,"altitude":130,"angle":312,"satellites":48,"speed":18,"hex_longitude":"2d5348c0","hex_latitude":"06817ea8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 02:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808641792001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352111709667721216,"note":"Value kept but may cause issues"} 
[2026-07-19 02:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6008787093271463936,"note":"Value kept but may cause issues"} 
[2026-07-19 02:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784408778000,"timestamp_ms":1784408778000,"timestamp_seconds":1784408778,"priority":1,"record_length":96,"hex_timestamp":"0000019f770d2510"} 
[2026-07-19 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-07-19 02:38: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-07-19 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":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-07-19 02:38:03] 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-07-19 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-07-19 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-07-19 02:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":137170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":137170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":137170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02: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-07-19 02:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808641792001,"66":27234,"61":206,"80":60928,"24":18,"16":352111709667721216,"45":6008787093271463936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,80,24,16,45]} 
[2026-07-19 02:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808641792001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:38:03] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-19 02:38:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352111709667721216,"km_value":352111709667721.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6008787093271463936,"description":"Unknown IO ID 45"} 
[2026-07-19 02:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808641792001,"power":27234,"unknown_61":206,"unknown_80":60928,"ignition":18,"odometer":null,"unknown_45":6008787093271463936}} 
[2026-07-19 02:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":137170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:38:03] local.INFO: GPS data processed {"connection_id":137170,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:38:03] local.INFO: Acknowledgment sent {"connection_id":137170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:38:41] local.INFO: TCP Data received {"connection_id":137170,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f770d2510012d5348c006817ea80082013830..."} 
[2026-07-19 02:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f770d2510012d5348c006817ea80082013830..."} 
[2026-07-19 02:38:41] local.INFO: Processing buffer {"connection_id":137170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f770d2510012d5348c006817ea80082013830..."} 
[2026-07-19 02:38:41] local.INFO: Packet analysis {"connection_id":137170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f770d"} 
[2026-07-19 02:38:41] local.INFO: Extracted packet for processing {"connection_id":137170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f770d"} 
[2026-07-19 02:38:41] local.INFO: GPS Element Parsed {"raw_longitude":760432832,"raw_latitude":109149864,"longitude_deg":76.0432832,"latitude_deg":10.9149864,"altitude":130,"angle":312,"satellites":48,"speed":18,"hex_longitude":"2d5348c0","hex_latitude":"06817ea8","is_valid_coordinates":true} 
[2026-07-19 02:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808647168001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352111709667721216,"note":"Value kept but may cause issues"} 
[2026-07-19 02:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6001257637646084096,"note":"Value kept but may cause issues"} 
[2026-07-19 02:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784408778000,"timestamp_ms":1784408778000,"timestamp_seconds":1784408778,"priority":1,"record_length":96,"hex_timestamp":"0000019f770d2510"} 
[2026-07-19 02:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-19 02:38:41] 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-07-19 02:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":137170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":137170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":137170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808647168001,"66":27234,"61":206,"80":60928,"24":18,"16":352111709667721216,"45":6001257637646084096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,80,24,16,45]} 
[2026-07-19 02:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808647168001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:38:41] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-19 02:38:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352111709667721216,"km_value":352111709667721.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6001257637646084096,"description":"Unknown IO ID 45"} 
[2026-07-19 02:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808647168001,"power":27234,"unknown_61":206,"unknown_80":60928,"ignition":18,"odometer":null,"unknown_45":6001257637646084096}} 
[2026-07-19 02:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":137170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:38:41] local.INFO: GPS data processed {"connection_id":137170,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:38:41] local.INFO: Acknowledgment sent {"connection_id":137170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:38:55] local.INFO: TCP Data received {"connection_id":137171,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:38:55] local.INFO: Processing buffer {"connection_id":137171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:38:55] local.INFO: IMEI packet received {"connection_id":137171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":137171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:38:58] local.INFO: TCP Data received {"connection_id":137171,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:38:58] local.INFO: Processing buffer {"connection_id":137171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:38:58] local.INFO: IMEI packet received {"connection_id":137171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":137171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:39:00] local.INFO: TCP Data received {"connection_id":137171,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:39:00] local.INFO: Processing buffer {"connection_id":137171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:39:00] local.INFO: IMEI packet received {"connection_id":137171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":137171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:39:01] local.INFO: TCP Data received {"connection_id":137171,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f770d7330012d532e80068197380083013831..."} 
[2026-07-19 02:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f770d7330012d532e80068197380083013831..."} 
[2026-07-19 02:39:01] local.INFO: Processing buffer {"connection_id":137171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f770d7330012d532e80068197380083013831..."} 
[2026-07-19 02:39:01] local.INFO: Packet analysis {"connection_id":137171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f770d"} 
[2026-07-19 02:39:01] local.INFO: Extracted packet for processing {"connection_id":137171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f770d"} 
[2026-07-19 02:39:01] local.INFO: GPS Element Parsed {"raw_longitude":760426112,"raw_latitude":109156152,"longitude_deg":76.0426112,"latitude_deg":10.9156152,"altitude":131,"angle":312,"satellites":49,"speed":17,"hex_longitude":"2d532e80","hex_latitude":"06819738","is_valid_coordinates":true} 
[2026-07-19 02:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808647168001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352112152049352704,"note":"Value kept but may cause issues"} 
[2026-07-19 02:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6001257637646084096,"note":"Value kept but may cause issues"} 
[2026-07-19 02:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784408798000,"timestamp_ms":1784408798000,"timestamp_seconds":1784408798,"priority":1,"record_length":96,"hex_timestamp":"0000019f770d7330"} 
[2026-07-19 02:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:39: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-07-19 02:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-19 02:39: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-07-19 02:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:39: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-07-19 02:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808647168001,"66":27321,"61":206,"80":60928,"24":17,"16":352112152049352704,"45":6001257637646084096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,80,24,16,45]} 
[2026-07-19 02:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808647168001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:39:01] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-19 02:39:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352112152049352704,"km_value":352112152049352.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6001257637646084096,"description":"Unknown IO ID 45"} 
[2026-07-19 02:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808647168001,"power":27321,"unknown_61":206,"unknown_80":60928,"ignition":17,"odometer":null,"unknown_45":6001257637646084096}} 
[2026-07-19 02:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":137171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:39:01] local.INFO: GPS data processed {"connection_id":137171,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:39:01] local.INFO: Acknowledgment sent {"connection_id":137171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:39:05] local.INFO: TCP Data received {"connection_id":137171,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f770dc538012d5317400681ad380084013a30..."} 
[2026-07-19 02:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f770dc538012d5317400681ad380084013a30..."} 
[2026-07-19 02:39:05] local.INFO: Processing buffer {"connection_id":137171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f770dc538012d5317400681ad380084013a30..."} 
[2026-07-19 02:39:05] local.INFO: Packet analysis {"connection_id":137171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f770d"} 
[2026-07-19 02:39:05] local.INFO: Extracted packet for processing {"connection_id":137171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f770d"} 
[2026-07-19 02:39:05] local.INFO: GPS Element Parsed {"raw_longitude":760420160,"raw_latitude":109161784,"longitude_deg":76.042016,"latitude_deg":10.9161784,"altitude":132,"angle":314,"satellites":48,"speed":16,"hex_longitude":"2d531740","hex_latitude":"0681ad38","is_valid_coordinates":true} 
[2026-07-19 02:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808652288001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352112547186343936,"note":"Value kept but may cause issues"} 
[2026-07-19 02:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993868919509039104,"note":"Value kept but may cause issues"} 
[2026-07-19 02:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784408819000,"timestamp_ms":1784408819000,"timestamp_seconds":1784408819,"priority":1,"record_length":96,"hex_timestamp":"0000019f770dc538"} 
[2026-07-19 02:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:39: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-07-19 02:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 02:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":137171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":137171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":137171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:39: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-07-19 02:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808652288001,"66":27365,"61":206,"80":60928,"24":16,"16":352112547186343936,"45":5993868919509039104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,80,24,16,45]} 
[2026-07-19 02:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808652288001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:39:05] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-19 02:39:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352112547186343936,"km_value":352112547186343.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993868919509039104,"description":"Unknown IO ID 45"} 
[2026-07-19 02:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808652288001,"power":27365,"unknown_61":206,"unknown_80":60928,"ignition":16,"odometer":null,"unknown_45":5993868919509039104}} 
[2026-07-19 02:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":137171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:39:05] local.INFO: GPS data processed {"connection_id":137171,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:39:05] local.INFO: Acknowledgment sent {"connection_id":137171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:39:36] local.INFO: TCP Data received {"connection_id":137171,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f770dffd0012d52fbc00681c6280085013a31..."} 
[2026-07-19 02:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f770dffd0012d52fbc00681c6280085013a31..."} 
[2026-07-19 02:39:36] local.INFO: Processing buffer {"connection_id":137171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f770dffd0012d52fbc00681c6280085013a31..."} 
[2026-07-19 02:39:36] local.INFO: Packet analysis {"connection_id":137171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f770d"} 
[2026-07-19 02:39:36] local.INFO: Extracted packet for processing {"connection_id":137171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f770d"} 
[2026-07-19 02:39:36] local.INFO: GPS Element Parsed {"raw_longitude":760413120,"raw_latitude":109168168,"longitude_deg":76.041312,"latitude_deg":10.9168168,"altitude":133,"angle":314,"satellites":49,"speed":26,"hex_longitude":"2d52fbc0","hex_latitude":"0681c628","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808657664001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352113002452877312,"note":"Value kept but may cause issues"} 
[2026-07-19 02:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5987324626301958144,"note":"Value kept but may cause issues"} 
[2026-07-19 02:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784408834000,"timestamp_ms":1784408834000,"timestamp_seconds":1784408834,"priority":1,"record_length":96,"hex_timestamp":"0000019f770dffd0"} 
[2026-07-19 02:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:39: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-07-19 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 02:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:39: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-07-19 02:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808657664001,"66":27267,"63":206,"80":60928,"24":26,"16":352113002452877312,"45":5987324626301958144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,80,24,16,45]} 
[2026-07-19 02:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808657664001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:39:36] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-19 02:39:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352113002452877312,"km_value":352113002452877.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5987324626301958144,"description":"Unknown IO ID 45"} 
[2026-07-19 02:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808657664001,"power":27267,"unknown_63":206,"unknown_80":60928,"ignition":26,"odometer":null,"unknown_45":5987324626301958144}} 
[2026-07-19 02:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":137171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:39:36] local.INFO: GPS data processed {"connection_id":137171,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:39:36] local.INFO: Acknowledgment sent {"connection_id":137171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:39:53] local.INFO: TCP Data received {"connection_id":138575,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:39:53] local.INFO: Processing buffer {"connection_id":138575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:39:53] local.INFO: IMEI packet received {"connection_id":138575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 02:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":138575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:39:55] local.INFO: TCP Data received {"connection_id":136123,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:39:55] local.INFO: Processing buffer {"connection_id":136123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:39:55] local.INFO: IMEI packet received {"connection_id":136123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":136123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:39:56] local.INFO: TCP Data received {"connection_id":136123,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:39:56] local.INFO: Processing buffer {"connection_id":136123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:39:56] local.INFO: IMEI packet received {"connection_id":136123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":136123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:40:00] local.INFO: TCP Data received {"connection_id":136123,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:40:00] local.INFO: Processing buffer {"connection_id":136123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:40:00] local.INFO: IMEI packet received {"connection_id":136123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":136123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:40:01] local.INFO: TCP Data received {"connection_id":136123,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f770e3680012d52df800681ded00085013730..."} 
[2026-07-19 02:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f770e3680012d52df800681ded00085013730..."} 
[2026-07-19 02:40:01] local.INFO: Processing buffer {"connection_id":136123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f770e3680012d52df800681ded00085013730..."} 
[2026-07-19 02:40:01] local.INFO: Packet analysis {"connection_id":136123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f770e"} 
[2026-07-19 02:40:01] local.INFO: Extracted packet for processing {"connection_id":136123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f770e"} 
[2026-07-19 02:40:01] local.INFO: GPS Element Parsed {"raw_longitude":760405888,"raw_latitude":109174480,"longitude_deg":76.0405888,"latitude_deg":10.917448,"altitude":133,"angle":311,"satellites":48,"speed":27,"hex_longitude":"2d52df80","hex_latitude":"0681ded0","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808661504001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352113462014377984,"note":"Value kept but may cause issues"} 
[2026-07-19 02:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5979584064444049408,"note":"Value kept but may cause issues"} 
[2026-07-19 02:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784408848000,"timestamp_ms":1784408848000,"timestamp_seconds":1784408848,"priority":1,"record_length":96,"hex_timestamp":"0000019f770e3680"} 
[2026-07-19 02:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 02:40: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-07-19 02: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-07-19 02:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:40: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-07-19 02:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808661504001,"66":27517,"63":206,"80":60928,"24":27,"16":352113462014377984,"45":5979584064444049408},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,80,24,16,45]} 
[2026-07-19 02:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808661504001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:40:01] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-19 02:40:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352113462014377984,"km_value":352113462014378.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5979584064444049408,"description":"Unknown IO ID 45"} 
[2026-07-19 02:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808661504001,"power":27517,"unknown_63":206,"unknown_80":60928,"ignition":27,"odometer":null,"unknown_45":5979584064444049408}} 
[2026-07-19 02:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":136123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:40:01] local.INFO: GPS data processed {"connection_id":136123,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:40:01] local.INFO: Acknowledgment sent {"connection_id":136123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:40:28] local.INFO: TCP Data received {"connection_id":136249,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136249,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:40:28] local.INFO: Processing buffer {"connection_id":136249,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:40:28] local.INFO: IMEI packet received {"connection_id":136249,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 02:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":136249,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:40:32] local.INFO: TCP Data received {"connection_id":136123,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f770fe430012d519f800682d0b00086013c2c..."} 
[2026-07-19 02:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f770fe430012d519f800682d0b00086013c2c..."} 
[2026-07-19 02:40:32] local.INFO: Processing buffer {"connection_id":136123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f770fe430012d519f800682d0b00086013c2c..."} 
[2026-07-19 02:40:32] local.INFO: Packet analysis {"connection_id":136123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f770f"} 
[2026-07-19 02:40:32] local.INFO: Extracted packet for processing {"connection_id":136123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f770f"} 
[2026-07-19 02:40:32] local.INFO: GPS Element Parsed {"raw_longitude":760323968,"raw_latitude":109236400,"longitude_deg":76.0323968,"latitude_deg":10.92364,"altitude":134,"angle":316,"satellites":44,"speed":32,"hex_longitude":"2d519f80","hex_latitude":"0682d0b0","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808690432001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352118401226768384,"note":"Value kept but may cause issues"} 
[2026-07-19 02:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5889230596935813120,"note":"Value kept but may cause issues"} 
[2026-07-19 02:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784408958000,"timestamp_ms":1784408958000,"timestamp_seconds":1784408958,"priority":1,"record_length":96,"hex_timestamp":"0000019f770fe430"} 
[2026-07-19 02:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:40: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-07-19 02:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 02:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:40: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-07-19 02:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808690432001,"66":26930,"177":206,"80":60928,"24":32,"16":352118401226768384,"45":5889230596935813120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-19 02:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808690432001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:40:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-19 02:40:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352118401226768384,"km_value":352118401226768.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5889230596935813120,"description":"Unknown IO ID 45"} 
[2026-07-19 02:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808690432001,"power":26930,"unknown_177":206,"unknown_80":60928,"ignition":32,"odometer":null,"unknown_45":5889230596935813120}} 
[2026-07-19 02:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":136123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:40:32] local.INFO: GPS data processed {"connection_id":136123,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:40:32] local.INFO: Acknowledgment sent {"connection_id":136123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:40:55] local.INFO: TCP Data received {"connection_id":138576,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:40:55] local.INFO: Processing buffer {"connection_id":138576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:40:55] local.INFO: IMEI packet received {"connection_id":138576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":138576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:40:59] local.INFO: TCP Data received {"connection_id":138576,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:40:59] local.INFO: Processing buffer {"connection_id":138576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:40:59] local.INFO: IMEI packet received {"connection_id":138576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":138576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:41:00] local.INFO: TCP Data received {"connection_id":138576,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:41:00] local.INFO: Processing buffer {"connection_id":138576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:41:00] local.INFO: IMEI packet received {"connection_id":138576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":138576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:41:00] local.INFO: TCP Data received {"connection_id":138576,"ip":"42.106.6.14","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f77..."} 
[2026-07-19 02:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138576,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f77..."} 
[2026-07-19 02:41:00] local.INFO: Processing buffer {"connection_id":138576,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f77..."} 
[2026-07-19 02:41:00] local.INFO: IMEI packet received {"connection_id":138576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":138576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:41:05] local.INFO: TCP Data received {"connection_id":138576,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f771041f0012d516f80068307c8008b013f2b..."} 
[2026-07-19 02:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f771041f0012d516f80068307c8008b013f2b..."} 
[2026-07-19 02:41:05] local.INFO: Processing buffer {"connection_id":138576,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f77101310012d5186000682ec580089013f29..."} 
[2026-07-19 02:41:05] local.INFO: Packet analysis {"connection_id":138576,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f7710"} 
[2026-07-19 02:41:05] local.INFO: Extracted packet for processing {"connection_id":138576,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7710"} 
[2026-07-19 02:41:05] local.INFO: GPS Element Parsed {"raw_longitude":760317440,"raw_latitude":109243480,"longitude_deg":76.031744,"latitude_deg":10.924348,"altitude":137,"angle":319,"satellites":41,"speed":30,"hex_longitude":"2d518600","hex_latitude":"0682ec58","is_valid_coordinates":true} 
[2026-07-19 02:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808693248001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352118865083236352,"note":"Value kept but may cause issues"} 
[2026-07-19 02:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5881560403822030848,"note":"Value kept but may cause issues"} 
[2026-07-19 02:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784408970000,"timestamp_ms":1784408970000,"timestamp_seconds":1784408970,"priority":1,"record_length":96,"hex_timestamp":"0000019f77101310"} 
[2026-07-19 02:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-07-19 02:41:05] 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-07-19 02:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":138576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":138576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":138576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:41: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-07-19 02:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808693248001,"66":27213,"177":206,"80":60928,"24":30,"16":352118865083236352,"45":5881560403822030848},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-19 02:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808693248001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:41:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-19 02:41:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352118865083236352,"km_value":352118865083236.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5881560403822030848,"description":"Unknown IO ID 45"} 
[2026-07-19 02:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808693248001,"power":27213,"unknown_177":206,"unknown_80":60928,"ignition":30,"odometer":null,"unknown_45":5881560403822030848}} 
[2026-07-19 02:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":138576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:41:05] local.INFO: GPS data processed {"connection_id":138576,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:41:05] local.INFO: Acknowledgment sent {"connection_id":138576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:41:05] local.INFO: Packet analysis {"connection_id":138576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7710"} 
[2026-07-19 02:41:05] local.INFO: Extracted packet for processing {"connection_id":138576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7710"} 
[2026-07-19 02:41:05] local.INFO: GPS Element Parsed {"raw_longitude":760311680,"raw_latitude":109250504,"longitude_deg":76.031168,"latitude_deg":10.9250504,"altitude":139,"angle":319,"satellites":43,"speed":29,"hex_longitude":"2d516f80","hex_latitude":"068307c8","is_valid_coordinates":true} 
[2026-07-19 02:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808696320001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352119303169900544,"note":"Value kept but may cause issues"} 
[2026-07-19 02:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5874382791917721600,"note":"Value kept but may cause issues"} 
[2026-07-19 02:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784408982000,"timestamp_ms":1784408982000,"timestamp_seconds":1784408982,"priority":1,"record_length":96,"hex_timestamp":"0000019f771041f0"} 
[2026-07-19 02:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-19 02:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":138576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":138576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":138576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:41: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-07-19 02:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808696320001,"66":27343,"177":206,"80":60928,"24":29,"16":352119303169900544,"45":5874382791917721600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-19 02:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808696320001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:41:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-19 02:41:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352119303169900544,"km_value":352119303169900.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5874382791917721600,"description":"Unknown IO ID 45"} 
[2026-07-19 02:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808696320001,"power":27343,"unknown_177":206,"unknown_80":60928,"ignition":29,"odometer":null,"unknown_45":5874382791917721600}} 
[2026-07-19 02:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":138576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:41:05] local.INFO: GPS data processed {"connection_id":138576,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:41:05] local.INFO: Acknowledgment sent {"connection_id":138576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:41:38] local.INFO: TCP Data received {"connection_id":138576,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f771070d0012d51584006832278008e013d2f..."} 
[2026-07-19 02:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f771070d0012d51584006832278008e013d2f..."} 
[2026-07-19 02:41:38] local.INFO: Processing buffer {"connection_id":138576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f771070d0012d51584006832278008e013d2f..."} 
[2026-07-19 02:41:38] local.INFO: Packet analysis {"connection_id":138576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7710"} 
[2026-07-19 02:41:38] local.INFO: Extracted packet for processing {"connection_id":138576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7710"} 
[2026-07-19 02:41:38] local.INFO: GPS Element Parsed {"raw_longitude":760305728,"raw_latitude":109257336,"longitude_deg":76.0305728,"latitude_deg":10.9257336,"altitude":142,"angle":317,"satellites":47,"speed":29,"hex_longitude":"2d515840","hex_latitude":"06832278","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808699392001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352119741256564736,"note":"Value kept but may cause issues"} 
[2026-07-19 02:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868049604943529984,"note":"Value kept but may cause issues"} 
[2026-07-19 02:41:38] 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-07-19 02:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784408994000,"timestamp_ms":1784408994000,"timestamp_seconds":1784408994,"priority":1,"record_length":96,"hex_timestamp":"0000019f771070d0"} 
[2026-07-19 02:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 02:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02: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-07-19 02:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808699392001,"66":27180,"48":206,"80":60928,"24":29,"16":352119741256564736,"45":5868049604943529984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-07-19 02:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808699392001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:41:38] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-19 02:41:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352119741256564736,"km_value":352119741256564.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868049604943529984,"description":"Unknown IO ID 45"} 
[2026-07-19 02:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808699392001,"power":27180,"unknown_48":206,"unknown_80":60928,"ignition":29,"odometer":null,"unknown_45":5868049604943529984}} 
[2026-07-19 02:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":138576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:41:38] local.INFO: GPS data processed {"connection_id":138576,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:41:38] local.INFO: Acknowledgment sent {"connection_id":138576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:42:00] local.INFO: TCP Data received {"connection_id":136250,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:42:00] local.INFO: Processing buffer {"connection_id":136250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:42:00] local.INFO: IMEI packet received {"connection_id":136250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":136250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:42:02] local.INFO: TCP Data received {"connection_id":136250,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:42:02] local.INFO: Processing buffer {"connection_id":136250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:42:02] local.INFO: IMEI packet received {"connection_id":136250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":136250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:42:03] local.INFO: TCP Data received {"connection_id":136250,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7710a398012d513e4006833ca8008d013730..."} 
[2026-07-19 02:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7710a398012d513e4006833ca8008d013730..."} 
[2026-07-19 02:42:03] local.INFO: Processing buffer {"connection_id":136250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7710a398012d513e4006833ca8008d013730..."} 
[2026-07-19 02:42:03] local.INFO: Packet analysis {"connection_id":136250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7710"} 
[2026-07-19 02:42:03] local.INFO: Extracted packet for processing {"connection_id":136250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7710"} 
[2026-07-19 02:42:03] local.INFO: GPS Element Parsed {"raw_longitude":760299072,"raw_latitude":109264040,"longitude_deg":76.0299072,"latitude_deg":10.926404,"altitude":141,"angle":311,"satellites":48,"speed":26,"hex_longitude":"2d513e40","hex_latitude":"06833ca8","is_valid_coordinates":true} 
[2026-07-19 02:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808702464001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352120192228130816,"note":"Value kept but may cause issues"} 
[2026-07-19 02:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5861505311736756224,"note":"Value kept but may cause issues"} 
[2026-07-19 02:42:03] 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-07-19 02:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784409007000,"timestamp_ms":1784409007000,"timestamp_seconds":1784409007,"priority":1,"record_length":96,"hex_timestamp":"0000019f7710a398"} 
[2026-07-19 02:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-19 02:42: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-07-19 02:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":136250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":136250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":136250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02: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-07-19 02:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808702464001,"66":27267,"48":206,"80":60928,"24":26,"16":352120192228130816,"45":5861505311736756224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-07-19 02:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808702464001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:42:03] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-19 02:42:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352120192228130816,"km_value":352120192228130.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5861505311736756224,"description":"Unknown IO ID 45"} 
[2026-07-19 02:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808702464001,"power":27267,"unknown_48":206,"unknown_80":60928,"ignition":26,"odometer":null,"unknown_45":5861505311736756224}} 
[2026-07-19 02:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":136250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:42:03] local.INFO: GPS data processed {"connection_id":136250,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:42:03] local.INFO: Acknowledgment sent {"connection_id":136250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:42:05] local.INFO: TCP Data received {"connection_id":136250,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7710da48012d51210006835328008d012c31..."} 
[2026-07-19 02:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7710da48012d51210006835328008d012c31..."} 
[2026-07-19 02:42:05] local.INFO: Processing buffer {"connection_id":136250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7710da48012d51210006835328008d012c31..."} 
[2026-07-19 02:42:05] local.INFO: Packet analysis {"connection_id":136250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7710"} 
[2026-07-19 02:42:05] local.INFO: Extracted packet for processing {"connection_id":136250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7710"} 
[2026-07-19 02:42:05] local.INFO: GPS Element Parsed {"raw_longitude":760291584,"raw_latitude":109269800,"longitude_deg":76.0291584,"latitude_deg":10.92698,"altitude":141,"angle":300,"satellites":49,"speed":26,"hex_longitude":"2d512100","hex_latitude":"06835328","is_valid_coordinates":true} 
[2026-07-19 02:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808705792001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352120647494664192,"note":"Value kept but may cause issues"} 
[2026-07-19 02:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5854186962343995392,"note":"Value kept but may cause issues"} 
[2026-07-19 02:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784409021000,"timestamp_ms":1784409021000,"timestamp_seconds":1784409021,"priority":1,"record_length":96,"hex_timestamp":"0000019f7710da48"} 
[2026-07-19 02:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 02:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":136250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":136250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":136250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808705792001,"66":27332,"48":206,"80":60928,"24":26,"16":352120647494664192,"45":5854186962343995392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-07-19 02:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808705792001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:42:05] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-19 02:42:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352120647494664192,"km_value":352120647494664.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5854186962343995392,"description":"Unknown IO ID 45"} 
[2026-07-19 02:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808705792001,"power":27332,"unknown_48":206,"unknown_80":60928,"ignition":26,"odometer":null,"unknown_45":5854186962343995392}} 
[2026-07-19 02:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":136250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:42:05] local.INFO: GPS data processed {"connection_id":136250,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:42:05] local.INFO: Acknowledgment sent {"connection_id":136250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:42:39] local.INFO: TCP Data received {"connection_id":136250,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7711f770012d509400068388e0008d01162f..."} 
[2026-07-19 02:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7711f770012d509400068388e0008d01162f..."} 
[2026-07-19 02:42:39] local.INFO: Processing buffer {"connection_id":136250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7711f770012d509400068388e0008d01162f..."} 
[2026-07-19 02:42:39] local.INFO: Packet analysis {"connection_id":136250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7711"} 
[2026-07-19 02:42:39] local.INFO: Extracted packet for processing {"connection_id":136250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7711"} 
[2026-07-19 02:42:39] local.INFO: GPS Element Parsed {"raw_longitude":760255488,"raw_latitude":109283552,"longitude_deg":76.0255488,"latitude_deg":10.9283552,"altitude":141,"angle":278,"satellites":47,"speed":40,"hex_longitude":"2d509400","hex_latitude":"068388e0","is_valid_coordinates":true} 
[2026-07-19 02:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808725504001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352122520100405248,"note":"Value kept but may cause issues"} 
[2026-07-19 02:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5816891527934404608,"note":"Value kept but may cause issues"} 
[2026-07-19 02:42:39] 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-07-19 02:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784409094000,"timestamp_ms":1784409094000,"timestamp_seconds":1784409094,"priority":1,"record_length":96,"hex_timestamp":"0000019f7711f770"} 
[2026-07-19 02:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:42: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-07-19 02:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 02:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:42: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-07-19 02:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808725504001,"66":27180,"49":206,"80":60928,"24":40,"16":352122520100405248,"45":5816891527934404608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-19 02:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808725504001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:42:39] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-19 02:42:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352122520100405248,"km_value":352122520100405.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5816891527934404608,"description":"Unknown IO ID 45"} 
[2026-07-19 02:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808725504001,"power":27180,"unknown_49":206,"unknown_80":60928,"ignition":40,"odometer":null,"unknown_45":5816891527934404608}} 
[2026-07-19 02:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":136250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:42:39] local.INFO: GPS data processed {"connection_id":136250,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:42:39] local.INFO: Acknowledgment sent {"connection_id":136250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:42:55] local.INFO: TCP Data received {"connection_id":136124,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:42:55] local.INFO: Processing buffer {"connection_id":136124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:42:55] local.INFO: IMEI packet received {"connection_id":136124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":136124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:42:56] local.INFO: TCP Data received {"connection_id":136124,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:42:56] local.INFO: Processing buffer {"connection_id":136124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:42:56] local.INFO: IMEI packet received {"connection_id":136124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":136124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:43:04] local.INFO: TCP Data received {"connection_id":136124,"ip":"42.106.6.14","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f77..."} 
[2026-07-19 02:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136124,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f77..."} 
[2026-07-19 02:43:04] local.INFO: Processing buffer {"connection_id":136124,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f77..."} 
[2026-07-19 02:43:04] local.INFO: IMEI packet received {"connection_id":136124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":136124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:43:05] local.INFO: TCP Data received {"connection_id":136124,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77123dc0012d504a4006839390008a01162e..."} 
[2026-07-19 02:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77123dc0012d504a4006839390008a01162e..."} 
[2026-07-19 02:43:05] local.INFO: Processing buffer {"connection_id":136124,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f77121a98012d506e8006838e28008c01162e..."} 
[2026-07-19 02:43:05] local.INFO: Packet analysis {"connection_id":136124,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f7712"} 
[2026-07-19 02:43:05] local.INFO: Extracted packet for processing {"connection_id":136124,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7712"} 
[2026-07-19 02:43:05] local.INFO: GPS Element Parsed {"raw_longitude":760245888,"raw_latitude":109284904,"longitude_deg":76.0245888,"latitude_deg":10.9284904,"altitude":140,"angle":278,"satellites":46,"speed":41,"hex_longitude":"2d506e80","hex_latitude":"06838e28","is_valid_coordinates":true} 
[2026-07-19 02:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808728064001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352122983956873216,"note":"Value kept but may cause issues"} 
[2026-07-19 02:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5806265847564001280,"note":"Value kept but may cause issues"} 
[2026-07-19 02:43:05] 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-07-19 02:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784409103000,"timestamp_ms":1784409103000,"timestamp_seconds":1784409103,"priority":1,"record_length":96,"hex_timestamp":"0000019f77121a98"} 
[2026-07-19 02:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:43: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-07-19 02:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-19 02:43: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-07-19 02:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":136124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":136124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":136124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:43: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-07-19 02:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808728064001,"66":26495,"49":206,"80":60928,"24":41,"16":352122983956873216,"45":5806265847564001280},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-19 02:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808728064001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:43:05] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-19 02:43:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352122983956873216,"km_value":352122983956873.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5806265847564001280,"description":"Unknown IO ID 45"} 
[2026-07-19 02:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808728064001,"power":26495,"unknown_49":206,"unknown_80":60928,"ignition":41,"odometer":null,"unknown_45":5806265847564001280}} 
[2026-07-19 02:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":136124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:43:05] local.INFO: GPS data processed {"connection_id":136124,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:43:05] local.INFO: Acknowledgment sent {"connection_id":136124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:43:05] local.INFO: Packet analysis {"connection_id":136124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7712"} 
[2026-07-19 02:43:05] local.INFO: Extracted packet for processing {"connection_id":136124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7712"} 
[2026-07-19 02:43:05] local.INFO: GPS Element Parsed {"raw_longitude":760236608,"raw_latitude":109286288,"longitude_deg":76.0236608,"latitude_deg":10.9286288,"altitude":138,"angle":278,"satellites":46,"speed":40,"hex_longitude":"2d504a40","hex_latitude":"06839390","is_valid_coordinates":true} 
[2026-07-19 02:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808730368001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352123430633472000,"note":"Value kept but may cause issues"} 
[2026-07-19 02:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5795710535937697792,"note":"Value kept but may cause issues"} 
[2026-07-19 02:43:05] 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-07-19 02:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784409112000,"timestamp_ms":1784409112000,"timestamp_seconds":1784409112,"priority":1,"record_length":96,"hex_timestamp":"0000019f77123dc0"} 
[2026-07-19 02:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:43: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-07-19 02:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-07-19 02:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":136124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":136124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":136124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:43: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-07-19 02:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808730368001,"66":27267,"49":206,"80":60928,"24":40,"16":352123430633472000,"45":5795710535937697792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-19 02:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808730368001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:43:05] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-19 02:43:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352123430633472000,"km_value":352123430633472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5795710535937697792,"description":"Unknown IO ID 45"} 
[2026-07-19 02:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808730368001,"power":27267,"unknown_49":206,"unknown_80":60928,"ignition":40,"odometer":null,"unknown_45":5795710535937697792}} 
[2026-07-19 02:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":136124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:43:05] local.INFO: GPS data processed {"connection_id":136124,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:43:05] local.INFO: Acknowledgment sent {"connection_id":136124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:43:05] local.INFO: TCP Data received {"connection_id":136124,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f771260e8012d5025c006839868008901162f..."} 
[2026-07-19 02:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f771260e8012d5025c006839868008901162f..."} 
[2026-07-19 02:43:05] local.INFO: Processing buffer {"connection_id":136124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f771260e8012d5025c006839868008901162f..."} 
[2026-07-19 02:43:05] local.INFO: Packet analysis {"connection_id":136124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7712"} 
[2026-07-19 02:43:05] local.INFO: Extracted packet for processing {"connection_id":136124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7712"} 
[2026-07-19 02:43:05] local.INFO: GPS Element Parsed {"raw_longitude":760227264,"raw_latitude":109287528,"longitude_deg":76.0227264,"latitude_deg":10.9287528,"altitude":137,"angle":278,"satellites":47,"speed":42,"hex_longitude":"2d5025c0","hex_latitude":"06839868","is_valid_coordinates":true} 
[2026-07-19 02:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808732672001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352123877310070784,"note":"Value kept but may cause issues"} 
[2026-07-19 02:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5785507068032290816,"note":"Value kept but may cause issues"} 
[2026-07-19 02:43:05] 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-07-19 02:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784409121000,"timestamp_ms":1784409121000,"timestamp_seconds":1784409121,"priority":1,"record_length":96,"hex_timestamp":"0000019f771260e8"} 
[2026-07-19 02:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:43: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-07-19 02:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 02:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":136124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":136124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":136124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:43: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-07-19 02:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808732672001,"66":27245,"49":206,"80":60928,"24":42,"16":352123877310070784,"45":5785507068032290816},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-19 02:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808732672001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:43:05] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-19 02:43:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352123877310070784,"km_value":352123877310070.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5785507068032290816,"description":"Unknown IO ID 45"} 
[2026-07-19 02:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808732672001,"power":27245,"unknown_49":206,"unknown_80":60928,"ignition":42,"odometer":null,"unknown_45":5785507068032290816}} 
[2026-07-19 02:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":136124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:43:06] local.INFO: GPS data processed {"connection_id":136124,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:43:06] local.INFO: Acknowledgment sent {"connection_id":136124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:44:00] local.INFO: TCP Data received {"connection_id":137172,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:44:00] local.INFO: Processing buffer {"connection_id":137172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:44:00] local.INFO: IMEI packet received {"connection_id":137172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":137172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:44:01] local.INFO: TCP Data received {"connection_id":137172,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:44:01] local.INFO: Processing buffer {"connection_id":137172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:44:01] local.INFO: IMEI packet received {"connection_id":137172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":137172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:44:04] local.INFO: TCP Data received {"connection_id":137172,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:44:04] local.INFO: Processing buffer {"connection_id":137172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:44:04] local.INFO: IMEI packet received {"connection_id":137172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":137172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:44:05] local.INFO: TCP Data received {"connection_id":137172,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:44:05] local.INFO: Processing buffer {"connection_id":137172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:44:05] local.INFO: IMEI packet received {"connection_id":137172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":137172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:44:05] local.INFO: TCP Data received {"connection_id":137172,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77139198012d4e93400683d9f8006c01282f..."} 
[2026-07-19 02:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77139198012d4e93400683d9f8006c01282f..."} 
[2026-07-19 02:44:05] local.INFO: Processing buffer {"connection_id":137172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77139198012d4e93400683d9f8006c01282f..."} 
[2026-07-19 02:44:05] local.INFO: Packet analysis {"connection_id":137172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7713"} 
[2026-07-19 02:44:05] local.INFO: Extracted packet for processing {"connection_id":137172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7713"} 
[2026-07-19 02:44:05] local.INFO: GPS Element Parsed {"raw_longitude":760124224,"raw_latitude":109304312,"longitude_deg":76.0124224,"latitude_deg":10.9304312,"altitude":108,"angle":296,"satellites":47,"speed":59,"hex_longitude":"2d4e9340","hex_latitude":"0683d9f8","is_valid_coordinates":true} 
[2026-07-19 02:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808753664001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352128855177166848,"note":"Value kept but may cause issues"} 
[2026-07-19 02:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5669820852608196608,"note":"Value kept but may cause issues"} 
[2026-07-19 02:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784409199000,"timestamp_ms":1784409199000,"timestamp_seconds":1784409199,"priority":1,"record_length":96,"hex_timestamp":"0000019f77139198"} 
[2026-07-19 02:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 02:44: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-07-19 02:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":137172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":137172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":137172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:44: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-07-19 02:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808753664001,"66":27321,"217":206,"80":60928,"24":59,"16":352128855177166848,"45":5669820852608196608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,80,24,16,45]} 
[2026-07-19 02:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808753664001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:44:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-19 02:44:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352128855177166848,"km_value":352128855177166.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5669820852608196608,"description":"Unknown IO ID 45"} 
[2026-07-19 02:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808753664001,"power":27321,"unknown_217":206,"unknown_80":60928,"ignition":59,"odometer":null,"unknown_45":5669820852608196608}} 
[2026-07-19 02:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":137172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:44:05] local.INFO: GPS data processed {"connection_id":137172,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:44:05] local.INFO: Acknowledgment sent {"connection_id":137172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:44:36] local.INFO: TCP Data received {"connection_id":137172,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77139d50012d4e84800683e378006c013431..."} 
[2026-07-19 02:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77139d50012d4e84800683e378006c013431..."} 
[2026-07-19 02:44:36] local.INFO: Processing buffer {"connection_id":137172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77139d50012d4e84800683e378006c013431..."} 
[2026-07-19 02:44:36] local.INFO: Packet analysis {"connection_id":137172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7713"} 
[2026-07-19 02:44:36] local.INFO: Extracted packet for processing {"connection_id":137172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7713"} 
[2026-07-19 02:44:36] local.INFO: GPS Element Parsed {"raw_longitude":760120448,"raw_latitude":109306744,"longitude_deg":76.0120448,"latitude_deg":10.9306744,"altitude":108,"angle":308,"satellites":49,"speed":58,"hex_longitude":"2d4e8480","hex_latitude":"0683e378","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808754944001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352129069925531648,"note":"Value kept but may cause issues"} 
[2026-07-19 02:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5661939553260926976,"note":"Value kept but may cause issues"} 
[2026-07-19 02:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784409202000,"timestamp_ms":1784409202000,"timestamp_seconds":1784409202,"priority":1,"record_length":96,"hex_timestamp":"0000019f77139d50"} 
[2026-07-19 02:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 02:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:44: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-07-19 02:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808754944001,"66":27180,"217":206,"80":60928,"24":58,"16":352129069925531648,"45":5661939553260926976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,80,24,16,45]} 
[2026-07-19 02:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808754944001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:44:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-19 02:44:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352129069925531648,"km_value":352129069925531.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5661939553260926976,"description":"Unknown IO ID 45"} 
[2026-07-19 02:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808754944001,"power":27180,"unknown_217":206,"unknown_80":60928,"ignition":58,"odometer":null,"unknown_45":5661939553260926976}} 
[2026-07-19 02:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":137172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:44:36] local.INFO: GPS data processed {"connection_id":137172,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:44:36] local.INFO: Acknowledgment sent {"connection_id":137172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:44:59] local.INFO: TCP Data received {"connection_id":136126,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:44:59] local.INFO: Processing buffer {"connection_id":136126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:44:59] local.INFO: IMEI packet received {"connection_id":136126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":136126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:45:00] local.INFO: TCP Data received {"connection_id":136126,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:45:00] local.INFO: Processing buffer {"connection_id":136126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:45:00] local.INFO: IMEI packet received {"connection_id":136126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":136126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:45:05] local.INFO: TCP Data received {"connection_id":136126,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:45:05] local.INFO: Processing buffer {"connection_id":136126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:45:05] local.INFO: IMEI packet received {"connection_id":136126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":136126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:45:05] local.INFO: TCP Data received {"connection_id":136126,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7713acf0012d4e74400683f2e0006d014030..."} 
[2026-07-19 02:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7713acf0012d4e74400683f2e0006d014030..."} 
[2026-07-19 02:45:05] local.INFO: Processing buffer {"connection_id":136126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7713acf0012d4e74400683f2e0006d014030..."} 
[2026-07-19 02:45:05] local.INFO: Packet analysis {"connection_id":136126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7713"} 
[2026-07-19 02:45:05] local.INFO: Extracted packet for processing {"connection_id":136126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7713"} 
[2026-07-19 02:45:05] local.INFO: GPS Element Parsed {"raw_longitude":760116288,"raw_latitude":109310688,"longitude_deg":76.0116288,"latitude_deg":10.9310688,"altitude":109,"angle":320,"satellites":48,"speed":55,"hex_longitude":"2d4e7440","hex_latitude":"0683f2e0","is_valid_coordinates":true} 
[2026-07-19 02:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808755712001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352129349098405888,"note":"Value kept but may cause issues"} 
[2026-07-19 02:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5657787797355067392,"note":"Value kept but may cause issues"} 
[2026-07-19 02:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784409206000,"timestamp_ms":1784409206000,"timestamp_seconds":1784409206,"priority":1,"record_length":96,"hex_timestamp":"0000019f7713acf0"} 
[2026-07-19 02:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-19 02:45: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-07-19 02:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":136126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":136126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":136126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:45: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-07-19 02:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808755712001,"66":27321,"104":206,"80":60928,"24":55,"16":352129349098405888,"45":5657787797355067392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-07-19 02:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808755712001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:45:05] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-19 02:45:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352129349098405888,"km_value":352129349098405.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5657787797355067392,"description":"Unknown IO ID 45"} 
[2026-07-19 02:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808755712001,"power":27321,"unknown_104":206,"unknown_80":60928,"ignition":55,"odometer":null,"unknown_45":5657787797355067392}} 
[2026-07-19 02:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":136126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:45:05] local.INFO: GPS data processed {"connection_id":136126,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:45:05] local.INFO: Acknowledgment sent {"connection_id":136126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:45:36] local.INFO: TCP Data received {"connection_id":136126,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7714e958012d4d06800684da10006f01412a..."} 
[2026-07-19 02:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7714e958012d4d06800684da10006f01412a..."} 
[2026-07-19 02:45:36] local.INFO: Processing buffer {"connection_id":136126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7714e958012d4d06800684da10006f01412a..."} 
[2026-07-19 02:45:36] local.INFO: Packet analysis {"connection_id":136126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7714"} 
[2026-07-19 02:45:36] local.INFO: Extracted packet for processing {"connection_id":136126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7714"} 
[2026-07-19 02:45:36] local.INFO: GPS Element Parsed {"raw_longitude":760022656,"raw_latitude":109369872,"longitude_deg":76.0022656,"latitude_deg":10.9369872,"altitude":111,"angle":321,"satellites":42,"speed":62,"hex_longitude":"2d4d0680","hex_latitude":"0684da10","is_valid_coordinates":true} 
[2026-07-19 02:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808775936001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352134885311250432,"note":"Value kept but may cause issues"} 
[2026-07-19 02:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5557512336916344832,"note":"Value kept but may cause issues"} 
[2026-07-19 02:45:36] 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-07-19 02:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784409287000,"timestamp_ms":1784409287000,"timestamp_seconds":1784409287,"priority":1,"record_length":96,"hex_timestamp":"0000019f7714e958"} 
[2026-07-19 02:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-19 02:45:36] 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-07-19 02:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:45: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-07-19 02:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808775936001,"66":27343,"103":206,"80":60928,"24":62,"16":352134885311250432,"45":5557512336916344832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-07-19 02:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808775936001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:45:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 02:45:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352134885311250432,"km_value":352134885311250.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5557512336916344832,"description":"Unknown IO ID 45"} 
[2026-07-19 02:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808775936001,"power":27343,"unknown_103":206,"unknown_80":60928,"ignition":62,"odometer":null,"unknown_45":5557512336916344832}} 
[2026-07-19 02:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":136126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:45:36] local.INFO: GPS data processed {"connection_id":136126,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:45:36] local.INFO: Acknowledgment sent {"connection_id":136126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:45:54] local.INFO: TCP Data received {"connection_id":136253,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:45:54] local.INFO: Processing buffer {"connection_id":136253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:45:54] local.INFO: IMEI packet received {"connection_id":136253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":136253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:45:58] local.INFO: TCP Data received {"connection_id":136252,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:45:58] local.INFO: Processing buffer {"connection_id":136252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:45:58] local.INFO: IMEI packet received {"connection_id":136252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 02:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":136252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:46:22] local.INFO: TCP Data received {"connection_id":136253,"ip":"42.106.6.14","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 02:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136253,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 02:46:22] local.INFO: Processing buffer {"connection_id":136253,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 02:46:22] local.INFO: IMEI packet received {"connection_id":136253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":136253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:46:28] local.INFO: TCP Data received {"connection_id":137173,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137173,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:46:28] local.INFO: Processing buffer {"connection_id":137173,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:46:28] local.INFO: IMEI packet received {"connection_id":137173,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 02:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":137173,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:46:28] local.INFO: TCP Data received {"connection_id":136253,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:46:28] local.INFO: Processing buffer {"connection_id":136253,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 02:46:28] local.INFO: IMEI packet received {"connection_id":136253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":136253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:46:38] local.INFO: TCP Data received {"connection_id":136253,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7714fce0012d4cf6000684f408006c014d2d..."} 
[2026-07-19 02:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7714fce0012d4cf6000684f408006c014d2d..."} 
[2026-07-19 02:46:38] local.INFO: Processing buffer {"connection_id":136253,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f77..."} 
[2026-07-19 02:46:38] local.INFO: IMEI packet received {"connection_id":136253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":136253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:46:39] local.INFO: TCP Data received {"connection_id":136253,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77151450012d4ce600068516600069014e2c..."} 
[2026-07-19 02:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77151450012d4ce600068516600069014e2c..."} 
[2026-07-19 02:46:39] local.INFO: Processing buffer {"connection_id":136253,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f7714fce0012d4cf6000684f408006c014d2d..."} 
[2026-07-19 02:46:39] local.INFO: Packet analysis {"connection_id":136253,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f7714"} 
[2026-07-19 02:46:39] local.INFO: Extracted packet for processing {"connection_id":136253,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7714"} 
[2026-07-19 02:46:39] local.INFO: GPS Element Parsed {"raw_longitude":760018432,"raw_latitude":109376520,"longitude_deg":76.0018432,"latitude_deg":10.937652,"altitude":108,"angle":333,"satellites":45,"speed":63,"hex_longitude":"2d4cf600","hex_latitude":"0684f408","is_valid_coordinates":true} 
[2026-07-19 02:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808777472001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352135267563339776,"note":"Value kept but may cause issues"} 
[2026-07-19 02:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5550264356267757568,"note":"Value kept but may cause issues"} 
[2026-07-19 02:46:39] 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-07-19 02:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784409292000,"timestamp_ms":1784409292000,"timestamp_seconds":1784409292,"priority":1,"record_length":96,"hex_timestamp":"0000019f7714fce0"} 
[2026-07-19 02:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:46: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-07-19 02:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 02:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:46: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-07-19 02:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808777472001,"66":27397,"103":206,"80":60928,"24":63,"16":352135267563339776,"45":5550264356267757568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-07-19 02:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808777472001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:46:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 02:46:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352135267563339776,"km_value":352135267563339.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5550264356267757568,"description":"Unknown IO ID 45"} 
[2026-07-19 02:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808777472001,"power":27397,"unknown_103":206,"unknown_80":60928,"ignition":63,"odometer":null,"unknown_45":5550264356267757568}} 
[2026-07-19 02:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":136253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:46:39] local.INFO: GPS data processed {"connection_id":136253,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:46:39] local.INFO: Acknowledgment sent {"connection_id":136253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:46:39] local.INFO: Packet analysis {"connection_id":136253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7715"} 
[2026-07-19 02:46:39] local.INFO: Extracted packet for processing {"connection_id":136253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7715"} 
[2026-07-19 02:46:39] local.INFO: GPS Element Parsed {"raw_longitude":760014336,"raw_latitude":109385312,"longitude_deg":76.0014336,"latitude_deg":10.9385312,"altitude":105,"angle":334,"satellites":44,"speed":64,"hex_longitude":"2d4ce600","hex_latitude":"06851660","is_valid_coordinates":true} 
[2026-07-19 02:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808778752001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352135735714775040,"note":"Value kept but may cause issues"} 
[2026-07-19 02:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5545620019153733632,"note":"Value kept but may cause issues"} 
[2026-07-19 02:46:39] 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-07-19 02:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784409298000,"timestamp_ms":1784409298000,"timestamp_seconds":1784409298,"priority":1,"record_length":96,"hex_timestamp":"0000019f77151450"} 
[2026-07-19 02:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:46: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-07-19 02:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-19 02:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:46: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-07-19 02:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808778752001,"66":27343,"103":206,"80":60928,"24":64,"16":352135735714775040,"45":5545620019153733632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-07-19 02:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808778752001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:46:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 02:46:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352135735714775040,"km_value":352135735714775.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5545620019153733632,"description":"Unknown IO ID 45"} 
[2026-07-19 02:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808778752001,"power":27343,"unknown_103":206,"unknown_80":60928,"ignition":64,"odometer":null,"unknown_45":5545620019153733632}} 
[2026-07-19 02:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":136253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:46:39] local.INFO: GPS data processed {"connection_id":136253,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:46:39] local.INFO: Acknowledgment sent {"connection_id":136253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:46:40] local.INFO: TCP Data received {"connection_id":136253,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77152bc0012d4cd5c0068538280067014e2e..."} 
[2026-07-19 02:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77152bc0012d4cd5c0068538280067014e2e..."} 
[2026-07-19 02:46:40] local.INFO: Processing buffer {"connection_id":136253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77152bc0012d4cd5c0068538280067014e2e..."} 
[2026-07-19 02:46:40] local.INFO: Packet analysis {"connection_id":136253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7715"} 
[2026-07-19 02:46:40] local.INFO: Extracted packet for processing {"connection_id":136253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7715"} 
[2026-07-19 02:46:40] local.INFO: GPS Element Parsed {"raw_longitude":760010176,"raw_latitude":109393960,"longitude_deg":76.0010176,"latitude_deg":10.939396,"altitude":103,"angle":334,"satellites":46,"speed":62,"hex_longitude":"2d4cd5c0","hex_latitude":"06853828","is_valid_coordinates":true} 
[2026-07-19 02:46: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-07-19 02:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808780288001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352136199571243008,"note":"Value kept but may cause issues"} 
[2026-07-19 02:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5541116419528613888,"note":"Value kept but may cause issues"} 
[2026-07-19 02:46:40] 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-07-19 02:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784409304000,"timestamp_ms":1784409304000,"timestamp_seconds":1784409304,"priority":1,"record_length":96,"hex_timestamp":"0000019f77152bc0"} 
[2026-07-19 02:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 02:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02:46: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-07-19 02:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":136253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":136253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":136253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:46: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-07-19 02:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808780288001,"66":27376,"103":206,"80":60928,"24":62,"16":352136199571243008,"45":5541116419528613888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-07-19 02:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808780288001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:46:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 02:46:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352136199571243008,"km_value":352136199571243.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5541116419528613888,"description":"Unknown IO ID 45"} 
[2026-07-19 02:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808780288001,"power":27376,"unknown_103":206,"unknown_80":60928,"ignition":62,"odometer":null,"unknown_45":5541116419528613888}} 
[2026-07-19 02:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":136253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:46:40] local.INFO: GPS data processed {"connection_id":136253,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:46:40] local.INFO: Acknowledgment sent {"connection_id":136253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:46:55] local.INFO: TCP Data received {"connection_id":136127,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:46:55] local.INFO: Processing buffer {"connection_id":136127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:46:55] local.INFO: IMEI packet received {"connection_id":136127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":136127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:47:00] local.INFO: TCP Data received {"connection_id":136127,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:47:00] local.INFO: Processing buffer {"connection_id":136127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:47:00] local.INFO: IMEI packet received {"connection_id":136127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":136127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:47:00] local.INFO: TCP Data received {"connection_id":136127,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77154330012d4cc580068557f80068014c2d..."} 
[2026-07-19 02:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77154330012d4cc580068557f80068014c2d..."} 
[2026-07-19 02:47:00] local.INFO: Processing buffer {"connection_id":136127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77154330012d4cc580068557f80068014c2d..."} 
[2026-07-19 02:47:00] local.INFO: Packet analysis {"connection_id":136127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7715"} 
[2026-07-19 02:47:00] local.INFO: Extracted packet for processing {"connection_id":136127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7715"} 
[2026-07-19 02:47:00] local.INFO: GPS Element Parsed {"raw_longitude":760006016,"raw_latitude":109402104,"longitude_deg":76.0006016,"latitude_deg":10.9402104,"altitude":104,"angle":332,"satellites":45,"speed":57,"hex_longitude":"2d4cc580","hex_latitude":"068557f8","is_valid_coordinates":true} 
[2026-07-19 02:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808781824001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352136641952874496,"note":"Value kept but may cause issues"} 
[2026-07-19 02:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5536542451159279616,"note":"Value kept but may cause issues"} 
[2026-07-19 02:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784409310000,"timestamp_ms":1784409310000,"timestamp_seconds":1784409310,"priority":1,"record_length":96,"hex_timestamp":"0000019f77154330"} 
[2026-07-19 02:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:47: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-07-19 02:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-19 02:47: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-07-19 02:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":136127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":136127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":136127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:47: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-07-19 02:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808781824001,"66":27397,"103":206,"80":60928,"24":57,"16":352136641952874496,"45":5536542451159279616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-07-19 02:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808781824001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:47:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 02:47:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-19 02:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352136641952874496,"km_value":352136641952874.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5536542451159279616,"description":"Unknown IO ID 45"} 
[2026-07-19 02:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808781824001,"power":27397,"unknown_103":206,"unknown_80":60928,"ignition":57,"odometer":null,"unknown_45":5536542451159279616}} 
[2026-07-19 02:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":136127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:47:00] local.INFO: GPS data processed {"connection_id":136127,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:47:00] local.INFO: Acknowledgment sent {"connection_id":136127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:47:32] local.INFO: TCP Data received {"connection_id":136127,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77168380012d4d568006866b68006c00272b..."} 
[2026-07-19 02:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77168380012d4d568006866b68006c00272b..."} 
[2026-07-19 02:47:32] local.INFO: Processing buffer {"connection_id":136127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77168380012d4d568006866b68006c00272b..."} 
[2026-07-19 02:47:32] local.INFO: Packet analysis {"connection_id":136127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7716"} 
[2026-07-19 02:47:32] local.INFO: Extracted packet for processing {"connection_id":136127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7716"} 
[2026-07-19 02:47:32] local.INFO: GPS Element Parsed {"raw_longitude":760043136,"raw_latitude":109472616,"longitude_deg":76.0043136,"latitude_deg":10.9472616,"altitude":108,"angle":39,"satellites":43,"speed":43,"hex_longitude":"2d4d5680","hex_latitude":"06866b68","is_valid_coordinates":true} 
[2026-07-19 02:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808801792001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352140765121478656,"note":"Value kept but may cause issues"} 
[2026-07-19 02:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5565604742522841088,"note":"Value kept but may cause issues"} 
[2026-07-19 02:47:32] 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-07-19 02:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784409392000,"timestamp_ms":1784409392000,"timestamp_seconds":1784409392,"priority":1,"record_length":96,"hex_timestamp":"0000019f77168380"} 
[2026-07-19 02:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:47: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-07-19 02:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-19 02:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808801792001,"66":27463,"239":206,"86":48896,"24":43,"16":352140765121478656,"45":5565604742522841088},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,86,24,16,45]} 
[2026-07-19 02:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808801792001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:47:32] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-19 02:47:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352140765121478656,"km_value":352140765121478.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5565604742522841088,"description":"Unknown IO ID 45"} 
[2026-07-19 02:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808801792001,"power":27463,"unknown_239":206,"unknown_86":48896,"ignition":43,"odometer":null,"unknown_45":5565604742522841088}} 
[2026-07-19 02:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":136127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:47:32] local.INFO: GPS data processed {"connection_id":136127,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:47:32] local.INFO: Acknowledgment sent {"connection_id":136127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:47:55] local.INFO: TCP Data received {"connection_id":137174,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:47:55] local.INFO: Processing buffer {"connection_id":137174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:47:55] local.INFO: IMEI packet received {"connection_id":137174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":137174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:47:57] local.INFO: TCP Data received {"connection_id":137174,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:47:57] local.INFO: Processing buffer {"connection_id":137174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:47:57] local.INFO: IMEI packet received {"connection_id":137174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":137174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:48:00] local.INFO: TCP Data received {"connection_id":137174,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:48:00] local.INFO: Processing buffer {"connection_id":137174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:48:00] local.INFO: IMEI packet received {"connection_id":137174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":137174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:48:00] local.INFO: TCP Data received {"connection_id":137174,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7716a2c0012d4d6c80068689a80068001f2d..."} 
[2026-07-19 02:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7716a2c0012d4d6c80068689a80068001f2d..."} 
[2026-07-19 02:48:00] local.INFO: Processing buffer {"connection_id":137174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7716a2c0012d4d6c80068689a80068001f2d..."} 
[2026-07-19 02:48:00] local.INFO: Packet analysis {"connection_id":137174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7716"} 
[2026-07-19 02:48:00] local.INFO: Extracted packet for processing {"connection_id":137174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7716"} 
[2026-07-19 02:48:00] local.INFO: GPS Element Parsed {"raw_longitude":760048768,"raw_latitude":109480360,"longitude_deg":76.0048768,"latitude_deg":10.948036,"altitude":104,"angle":31,"satellites":45,"speed":50,"hex_longitude":"2d4d6c80","hex_latitude":"068689a8","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808804352001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352141224682979328,"note":"Value kept but may cause issues"} 
[2026-07-19 02:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5572782354430912512,"note":"Value kept but may cause issues"} 
[2026-07-19 02:48:00] 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-07-19 02:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784409400000,"timestamp_ms":1784409400000,"timestamp_seconds":1784409400,"priority":1,"record_length":96,"hex_timestamp":"0000019f7716a2c0"} 
[2026-07-19 02:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-19 02:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":137174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":137174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":137174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:48: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-07-19 02:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808804352001,"66":27213,"239":206,"86":48896,"24":50,"16":352141224682979328,"45":5572782354430912512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,86,24,16,45]} 
[2026-07-19 02:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808804352001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:48:00] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-19 02:48:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352141224682979328,"km_value":352141224682979.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5572782354430912512,"description":"Unknown IO ID 45"} 
[2026-07-19 02:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808804352001,"power":27213,"unknown_239":206,"unknown_86":48896,"ignition":50,"odometer":null,"unknown_45":5572782354430912512}} 
[2026-07-19 02:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":137174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:48:00] local.INFO: GPS data processed {"connection_id":137174,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:48:00] local.INFO: Acknowledgment sent {"connection_id":137174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:48:03] local.INFO: TCP Data received {"connection_id":137174,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7716be18012d4d7c400686a9a80066001528..."} 
[2026-07-19 02:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7716be18012d4d7c400686a9a80066001528..."} 
[2026-07-19 02:48:03] local.INFO: Processing buffer {"connection_id":137174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7716be18012d4d7c400686a9a80066001528..."} 
[2026-07-19 02:48:03] local.INFO: Packet analysis {"connection_id":137174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7716"} 
[2026-07-19 02:48:03] local.INFO: Extracted packet for processing {"connection_id":137174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7716"} 
[2026-07-19 02:48:03] local.INFO: GPS Element Parsed {"raw_longitude":760052800,"raw_latitude":109488552,"longitude_deg":76.00528,"latitude_deg":10.9488552,"altitude":102,"angle":21,"satellites":40,"speed":53,"hex_longitude":"2d4d7c40","hex_latitude":"0686a9a8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 02:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808806400001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352141667064610816,"note":"Value kept but may cause issues"} 
[2026-07-19 02:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5578974803920529408,"note":"Value kept but may cause issues"} 
[2026-07-19 02:48:03] 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-07-19 02:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784409407000,"timestamp_ms":1784409407000,"timestamp_seconds":1784409407,"priority":1,"record_length":96,"hex_timestamp":"0000019f7716be18"} 
[2026-07-19 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-07-19 02:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-19 02:48:03] 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-07-19 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-07-19 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-07-19 02:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":137174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":137174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":137174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02: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-07-19 02:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808806400001,"66":27267,"239":206,"86":48896,"24":53,"16":352141667064610816,"45":5578974803920529408},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,86,24,16,45]} 
[2026-07-19 02:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808806400001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:48:03] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-19 02:48:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352141667064610816,"km_value":352141667064610.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5578974803920529408,"description":"Unknown IO ID 45"} 
[2026-07-19 02:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808806400001,"power":27267,"unknown_239":206,"unknown_86":48896,"ignition":53,"odometer":null,"unknown_45":5578974803920529408}} 
[2026-07-19 02:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":137174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:48:03] local.INFO: GPS data processed {"connection_id":137174,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:48:03] local.INFO: Acknowledgment sent {"connection_id":137174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:48:34] local.INFO: TCP Data received {"connection_id":137174,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7716d970012d4d87800686cde00063001028..."} 
[2026-07-19 02:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7716d970012d4d87800686cde00063001028..."} 
[2026-07-19 02:48:34] local.INFO: Processing buffer {"connection_id":137174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7716d970012d4d87800686cde00063001028..."} 
[2026-07-19 02:48:34] local.INFO: Packet analysis {"connection_id":137174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7716"} 
[2026-07-19 02:48:34] local.INFO: Extracted packet for processing {"connection_id":137174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7716"} 
[2026-07-19 02:48:34] local.INFO: GPS Element Parsed {"raw_longitude":760055680,"raw_latitude":109497824,"longitude_deg":76.005568,"latitude_deg":10.9497824,"altitude":99,"angle":16,"satellites":40,"speed":55,"hex_longitude":"2d4d8780","hex_latitude":"0686cde0","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808808192001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352142139511013376,"note":"Value kept but may cause issues"} 
[2026-07-19 02:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5583408034805819392,"note":"Value kept but may cause issues"} 
[2026-07-19 02:48:34] 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-07-19 02:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784409414000,"timestamp_ms":1784409414000,"timestamp_seconds":1784409414,"priority":1,"record_length":96,"hex_timestamp":"0000019f7716d970"} 
[2026-07-19 02:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02: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":131,"data_length":795,"current_offset":136} 
[2026-07-19 02:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":137174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":137174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":137174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02: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-07-19 02:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808808192001,"66":27463,"239":206,"86":48896,"24":55,"16":352142139511013376,"45":5583408034805819392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,86,24,16,45]} 
[2026-07-19 02:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808808192001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:48:34] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-19 02:48:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352142139511013376,"km_value":352142139511013.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5583408034805819392,"description":"Unknown IO ID 45"} 
[2026-07-19 02:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808808192001,"power":27463,"unknown_239":206,"unknown_86":48896,"ignition":55,"odometer":null,"unknown_45":5583408034805819392}} 
[2026-07-19 02:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":137174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:48:34] local.INFO: GPS data processed {"connection_id":137174,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:48:34] local.INFO: Acknowledgment sent {"connection_id":137174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:48:53] local.INFO: TCP Data received {"connection_id":136128,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:48:53] local.INFO: Processing buffer {"connection_id":136128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:48:53] local.INFO: IMEI packet received {"connection_id":136128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":136128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:48:55] local.INFO: TCP Data received {"connection_id":136128,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:48:55] local.INFO: Processing buffer {"connection_id":136128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:48:55] local.INFO: IMEI packet received {"connection_id":136128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":136128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:49:00] local.INFO: TCP Data received {"connection_id":136128,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:49:00] local.INFO: Processing buffer {"connection_id":136128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:49:00] local.INFO: IMEI packet received {"connection_id":136128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":136128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:49:01] local.INFO: TCP Data received {"connection_id":136128,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7717e310012d4dee0006885338004900082c..."} 
[2026-07-19 02:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7717e310012d4dee0006885338004900082c..."} 
[2026-07-19 02:49:01] local.INFO: Processing buffer {"connection_id":136128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7717e310012d4dee0006885338004900082c..."} 
[2026-07-19 02:49:01] local.INFO: Packet analysis {"connection_id":136128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7717"} 
[2026-07-19 02:49:01] local.INFO: Extracted packet for processing {"connection_id":136128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7717"} 
[2026-07-19 02:49:01] local.INFO: GPS Element Parsed {"raw_longitude":760081920,"raw_latitude":109597496,"longitude_deg":76.008192,"latitude_deg":10.9597496,"altitude":73,"angle":8,"satellites":44,"speed":60,"hex_longitude":"2d4dee00","hex_latitude":"06885338","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808825856001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352147130263011328,"note":"Value kept but may cause issues"} 
[2026-07-19 02:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5613385119851098112,"note":"Value kept but may cause issues"} 
[2026-07-19 02:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784409482000,"timestamp_ms":1784409482000,"timestamp_seconds":1784409482,"priority":1,"record_length":96,"hex_timestamp":"0000019f7717e310"} 
[2026-07-19 02:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:49: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-07-19 02: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-19 02:49: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-07-19 02: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-07-19 02:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:49: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-07-19 02:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808825856001,"66":27343,"122":206,"86":48896,"24":60,"16":352147130263011328,"45":5613385119851098112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,86,24,16,45]} 
[2026-07-19 02:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808825856001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:49:01] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-19 02:49:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352147130263011328,"km_value":352147130263011.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5613385119851098112,"description":"Unknown IO ID 45"} 
[2026-07-19 02:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808825856001,"power":27343,"unknown_122":206,"unknown_86":48896,"ignition":60,"odometer":null,"unknown_45":5613385119851098112}} 
[2026-07-19 02:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":136128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:49:01] local.INFO: GPS data processed {"connection_id":136128,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:49:01] local.INFO: Acknowledgment sent {"connection_id":136128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:49:31] local.INFO: TCP Data received {"connection_id":136128,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7717fa80012d4df24006887600004900032c..."} 
[2026-07-19 02:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7717fa80012d4df24006887600004900032c..."} 
[2026-07-19 02:49:31] local.INFO: Processing buffer {"connection_id":136128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7717fa80012d4df24006887600004900032c..."} 
[2026-07-19 02:49:31] local.INFO: Packet analysis {"connection_id":136128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7717"} 
[2026-07-19 02:49:31] local.INFO: Extracted packet for processing {"connection_id":136128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7717"} 
[2026-07-19 02:49:31] local.INFO: GPS Element Parsed {"raw_longitude":760083008,"raw_latitude":109606400,"longitude_deg":76.0083008,"latitude_deg":10.96064,"altitude":73,"angle":3,"satellites":44,"speed":57,"hex_longitude":"2d4df240","hex_latitude":"06887600","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808827392001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352147564054708224,"note":"Value kept but may cause issues"} 
[2026-07-19 02:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5615425813434546176,"note":"Value kept but may cause issues"} 
[2026-07-19 02:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784409488000,"timestamp_ms":1784409488000,"timestamp_seconds":1784409488,"priority":1,"record_length":96,"hex_timestamp":"0000019f7717fa80"} 
[2026-07-19 02:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02: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-07-19 02: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":207,"data_length":795,"current_offset":136} 
[2026-07-19 02:49: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-07-19 02: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-07-19 02:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":136128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":136128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":136128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808827392001,"66":27234,"122":206,"86":48896,"24":57,"16":352147564054708224,"45":5615425813434546176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,86,24,16,45]} 
[2026-07-19 02:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808827392001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:49:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-19 02:49:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352147564054708224,"km_value":352147564054708.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5615425813434546176,"description":"Unknown IO ID 45"} 
[2026-07-19 02:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808827392001,"power":27234,"unknown_122":206,"unknown_86":48896,"ignition":57,"odometer":null,"unknown_45":5615425813434546176}} 
[2026-07-19 02:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":136128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:49:31] local.INFO: GPS data processed {"connection_id":136128,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:49:31] local.INFO: Acknowledgment sent {"connection_id":136128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:49:55] local.INFO: TCP Data received {"connection_id":137177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:49:55] local.INFO: Processing buffer {"connection_id":137177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:49:55] local.INFO: IMEI packet received {"connection_id":137177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":137177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:50:00] local.INFO: TCP Data received {"connection_id":137177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:50:00] local.INFO: Processing buffer {"connection_id":137177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:50:00] local.INFO: IMEI packet received {"connection_id":137177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":137177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:50:01] local.INFO: TCP Data received {"connection_id":137177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f771815d8012d4df1c006889b68004a01622c..."} 
[2026-07-19 02:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f771815d8012d4df1c006889b68004a01622c..."} 
[2026-07-19 02:50:01] local.INFO: Processing buffer {"connection_id":137177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f771815d8012d4df1c006889b68004a01622c..."} 
[2026-07-19 02:50:01] local.INFO: Packet analysis {"connection_id":137177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7718"} 
[2026-07-19 02:50:01] local.INFO: Extracted packet for processing {"connection_id":137177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7718"} 
[2026-07-19 02:50:01] local.INFO: GPS Element Parsed {"raw_longitude":760082880,"raw_latitude":109615976,"longitude_deg":76.008288,"latitude_deg":10.9615976,"altitude":74,"angle":354,"satellites":44,"speed":50,"hex_longitude":"2d4df1c0","hex_latitude":"06889b68","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808828928001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352148027911176192,"note":"Value kept but may cause issues"} 
[2026-07-19 02:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5616622082087845888,"note":"Value kept but may cause issues"} 
[2026-07-19 02:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784409495000,"timestamp_ms":1784409495000,"timestamp_seconds":1784409495,"priority":1,"record_length":96,"hex_timestamp":"0000019f771815d8"} 
[2026-07-19 02:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:50: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-07-19 02:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-19 02:50: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-07-19 02: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-07-19 02:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:50: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-07-19 02:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808828928001,"66":27310,"122":206,"86":48896,"24":50,"16":352148027911176192,"45":5616622082087845888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,86,24,16,45]} 
[2026-07-19 02:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808828928001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:50:01] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-19 02:50:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352148027911176192,"km_value":352148027911176.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5616622082087845888,"description":"Unknown IO ID 45"} 
[2026-07-19 02:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808828928001,"power":27310,"unknown_122":206,"unknown_86":48896,"ignition":50,"odometer":null,"unknown_45":5616622082087845888}} 
[2026-07-19 02:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":137177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:50:01] local.INFO: GPS data processed {"connection_id":137177,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:50:01] local.INFO: Acknowledgment sent {"connection_id":137177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:50:32] local.INFO: TCP Data received {"connection_id":137177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77183518012d4ded000688be78004c015f2b..."} 
[2026-07-19 02:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77183518012d4ded000688be78004c015f2b..."} 
[2026-07-19 02:50:32] local.INFO: Processing buffer {"connection_id":137177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77183518012d4ded000688be78004c015f2b..."} 
[2026-07-19 02:50:32] local.INFO: Packet analysis {"connection_id":137177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7718"} 
[2026-07-19 02:50:32] local.INFO: Extracted packet for processing {"connection_id":137177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7718"} 
[2026-07-19 02:50:32] local.INFO: GPS Element Parsed {"raw_longitude":760081664,"raw_latitude":109624952,"longitude_deg":76.0081664,"latitude_deg":10.9624952,"altitude":76,"angle":351,"satellites":43,"speed":40,"hex_longitude":"2d4ded00","hex_latitude":"0688be78","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808830720001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352148465997840384,"note":"Value kept but may cause issues"} 
[2026-07-19 02:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5616481344601942016,"note":"Value kept but may cause issues"} 
[2026-07-19 02:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784409503000,"timestamp_ms":1784409503000,"timestamp_seconds":1784409503,"priority":1,"record_length":96,"hex_timestamp":"0000019f77183518"} 
[2026-07-19 02:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-19 02:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":137177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":137177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":137177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:50: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-07-19 02:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808830720001,"66":27343,"122":206,"86":48896,"24":40,"16":352148465997840384,"45":5616481344601942016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,86,24,16,45]} 
[2026-07-19 02:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808830720001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:50:32] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-19 02:50:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352148465997840384,"km_value":352148465997840.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5616481344601942016,"description":"Unknown IO ID 45"} 
[2026-07-19 02:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808830720001,"power":27343,"unknown_122":206,"unknown_86":48896,"ignition":40,"odometer":null,"unknown_45":5616481344601942016}} 
[2026-07-19 02:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":137177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:50:32] local.INFO: GPS data processed {"connection_id":137177,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:50:32] local.INFO: Acknowledgment sent {"connection_id":137177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:50:55] local.INFO: TCP Data received {"connection_id":136255,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:50:55] local.INFO: Processing buffer {"connection_id":136255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:50:55] local.INFO: IMEI packet received {"connection_id":136255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":136255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:51:00] local.INFO: TCP Data received {"connection_id":136255,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:51:00] local.INFO: Processing buffer {"connection_id":136255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:51:00] local.INFO: IMEI packet received {"connection_id":136255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":136255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:51:00] local.INFO: TCP Data received {"connection_id":136255,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77185c28012d4de8000688e328004e016029..."} 
[2026-07-19 02:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77185c28012d4de8000688e328004e016029..."} 
[2026-07-19 02:51:00] local.INFO: Processing buffer {"connection_id":136255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77185c28012d4de8000688e328004e016029..."} 
[2026-07-19 02:51:00] local.INFO: Packet analysis {"connection_id":136255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7718"} 
[2026-07-19 02:51:00] local.INFO: Extracted packet for processing {"connection_id":136255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7718"} 
[2026-07-19 02:51:00] local.INFO: GPS Element Parsed {"raw_longitude":760080384,"raw_latitude":109634344,"longitude_deg":76.0080384,"latitude_deg":10.9634344,"altitude":78,"angle":352,"satellites":41,"speed":36,"hex_longitude":"2d4de800","hex_latitude":"0688e328","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808832768001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352148925559341056,"note":"Value kept but may cause issues"} 
[2026-07-19 02:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5615144338464864256,"note":"Value kept but may cause issues"} 
[2026-07-19 02:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784409513000,"timestamp_ms":1784409513000,"timestamp_seconds":1784409513,"priority":1,"record_length":96,"hex_timestamp":"0000019f77185c28"} 
[2026-07-19 02:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:51: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-07-19 02: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":207,"data_length":795,"current_offset":136} 
[2026-07-19 02:51: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-07-19 02: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-07-19 02:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":136255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":136255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":136255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:51: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-07-19 02:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808832768001,"66":27321,"122":206,"86":48896,"24":36,"16":352148925559341056,"45":5615144338464864256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,86,24,16,45]} 
[2026-07-19 02:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808832768001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:51:00] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-19 02:51:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352148925559341056,"km_value":352148925559341.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5615144338464864256,"description":"Unknown IO ID 45"} 
[2026-07-19 02:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808832768001,"power":27321,"unknown_122":206,"unknown_86":48896,"ignition":36,"odometer":null,"unknown_45":5615144338464864256}} 
[2026-07-19 02:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":136255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:51:00] local.INFO: GPS data processed {"connection_id":136255,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:51:00] local.INFO: Acknowledgment sent {"connection_id":136255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:51:31] local.INFO: TCP Data received {"connection_id":136255,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77188720012d4de3c0068906480051016028..."} 
[2026-07-19 02:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77188720012d4de3c0068906480051016028..."} 
[2026-07-19 02:51:31] local.INFO: Processing buffer {"connection_id":136255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77188720012d4de3c0068906480051016028..."} 
[2026-07-19 02:51:31] local.INFO: Packet analysis {"connection_id":136255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7718"} 
[2026-07-19 02:51:31] local.INFO: Extracted packet for processing {"connection_id":136255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7718"} 
[2026-07-19 02:51:31] local.INFO: GPS Element Parsed {"raw_longitude":760079296,"raw_latitude":109643336,"longitude_deg":76.0079296,"latitude_deg":10.9643336,"altitude":81,"angle":352,"satellites":40,"speed":29,"hex_longitude":"2d4de3c0","hex_latitude":"06890648","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808835328001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352149367940972544,"note":"Value kept but may cause issues"} 
[2026-07-19 02:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5613736963583715328,"note":"Value kept but may cause issues"} 
[2026-07-19 02:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784409524000,"timestamp_ms":1784409524000,"timestamp_seconds":1784409524,"priority":1,"record_length":96,"hex_timestamp":"0000019f77188720"} 
[2026-07-19 02:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:51: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-07-19 02:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 02:51: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-07-19 02: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-07-19 02:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":136255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":136255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":136255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808835328001,"66":27267,"122":206,"86":48896,"24":29,"16":352149367940972544,"45":5613736963583715328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,86,24,16,45]} 
[2026-07-19 02:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808835328001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:51:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-19 02:51:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352149367940972544,"km_value":352149367940972.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5613736963583715328,"description":"Unknown IO ID 45"} 
[2026-07-19 02:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808835328001,"power":27267,"unknown_122":206,"unknown_86":48896,"ignition":29,"odometer":null,"unknown_45":5613736963583715328}} 
[2026-07-19 02:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":136255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:51:31] local.INFO: GPS data processed {"connection_id":136255,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:51:31] local.INFO: Acknowledgment sent {"connection_id":136255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:51:53] local.INFO: TCP Data received {"connection_id":136256,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:51:53] local.INFO: Processing buffer {"connection_id":136256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:51:53] local.INFO: IMEI packet received {"connection_id":136256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 02:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":136256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:51:55] local.INFO: TCP Data received {"connection_id":138579,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:51:55] local.INFO: Processing buffer {"connection_id":138579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:51:55] local.INFO: IMEI packet received {"connection_id":138579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":138579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:52:00] local.INFO: TCP Data received {"connection_id":138579,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:52:00] local.INFO: Processing buffer {"connection_id":138579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:52:00] local.INFO: IMEI packet received {"connection_id":138579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":138579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:52:01] local.INFO: TCP Data received {"connection_id":138579,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f771a9290012d4e0600068a4ef80069015324..."} 
[2026-07-19 02:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f771a9290012d4e0600068a4ef80069015324..."} 
[2026-07-19 02:52:01] local.INFO: Processing buffer {"connection_id":138579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f771a9290012d4e0600068a4ef80069015324..."} 
[2026-07-19 02:52:01] local.INFO: Packet analysis {"connection_id":138579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f771a"} 
[2026-07-19 02:52:01] local.INFO: Extracted packet for processing {"connection_id":138579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f771a"} 
[2026-07-19 02:52:01] local.INFO: GPS Element Parsed {"raw_longitude":760088064,"raw_latitude":109727480,"longitude_deg":76.0088064,"latitude_deg":10.972748,"altitude":105,"angle":339,"satellites":36,"speed":33,"hex_longitude":"2d4e0600","hex_latitude":"068a4ef8","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808870912001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352153525469315072,"note":"Value kept but may cause issues"} 
[2026-07-19 02:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5623518219046993920,"note":"Value kept but may cause issues"} 
[2026-07-19 02:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784409658000,"timestamp_ms":1784409658000,"timestamp_seconds":1784409658,"priority":1,"record_length":96,"hex_timestamp":"0000019f771a9290"} 
[2026-07-19 02:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 02:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":138579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":138579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":138579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:52: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-07-19 02:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808870912001,"66":27234,"94":206,"86":48896,"24":33,"16":352153525469315072,"45":5623518219046993920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,86,24,16,45]} 
[2026-07-19 02:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808870912001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:52:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-19 02:52:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352153525469315072,"km_value":352153525469315.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5623518219046993920,"description":"Unknown IO ID 45"} 
[2026-07-19 02:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808870912001,"power":27234,"unknown_94":206,"unknown_86":48896,"ignition":33,"odometer":null,"unknown_45":5623518219046993920}} 
[2026-07-19 02:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":138579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:52:01] local.INFO: GPS data processed {"connection_id":138579,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:52:01] local.INFO: Acknowledgment sent {"connection_id":138579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:52:27] local.INFO: TCP Data received {"connection_id":137179,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:52:27] local.INFO: Processing buffer {"connection_id":137179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:52:27] local.INFO: IMEI packet received {"connection_id":137179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 02:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":137179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:52:32] local.INFO: TCP Data received {"connection_id":138579,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f771aaa00012d4dfdc0068a5f500068014826..."} 
[2026-07-19 02:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f771aaa00012d4dfdc0068a5f500068014826..."} 
[2026-07-19 02:52:32] local.INFO: Processing buffer {"connection_id":138579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f771aaa00012d4dfdc0068a5f500068014826..."} 
[2026-07-19 02:52:32] local.INFO: Packet analysis {"connection_id":138579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f771a"} 
[2026-07-19 02:52:32] local.INFO: Extracted packet for processing {"connection_id":138579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f771a"} 
[2026-07-19 02:52:32] local.INFO: GPS Element Parsed {"raw_longitude":760085952,"raw_latitude":109731664,"longitude_deg":76.0085952,"latitude_deg":10.9731664,"altitude":104,"angle":328,"satellites":38,"speed":26,"hex_longitude":"2d4dfdc0","hex_latitude":"068a5f50","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808872448001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352153748807614464,"note":"Value kept but may cause issues"} 
[2026-07-19 02:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5622181212908877824,"note":"Value kept but may cause issues"} 
[2026-07-19 02:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784409664000,"timestamp_ms":1784409664000,"timestamp_seconds":1784409664,"priority":1,"record_length":96,"hex_timestamp":"0000019f771aaa00"} 
[2026-07-19 02:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:52: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-07-19 02: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-19 02:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":138579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":138579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":138579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808872448001,"66":27376,"94":206,"86":48896,"24":26,"16":352153748807614464,"45":5622181212908877824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,86,24,16,45]} 
[2026-07-19 02:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808872448001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:52:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-19 02:52:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352153748807614464,"km_value":352153748807614.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5622181212908877824,"description":"Unknown IO ID 45"} 
[2026-07-19 02:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808872448001,"power":27376,"unknown_94":206,"unknown_86":48896,"ignition":26,"odometer":null,"unknown_45":5622181212908877824}} 
[2026-07-19 02:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":138579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:52:32] local.INFO: GPS data processed {"connection_id":138579,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:52:32] local.INFO: Acknowledgment sent {"connection_id":138579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:52:59] local.INFO: TCP Data received {"connection_id":136129,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:52:59] local.INFO: Processing buffer {"connection_id":136129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:52:59] local.INFO: IMEI packet received {"connection_id":136129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":136129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:53:00] local.INFO: TCP Data received {"connection_id":136129,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:53:00] local.INFO: Processing buffer {"connection_id":136129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:53:00] local.INFO: IMEI packet received {"connection_id":136129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":136129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:53:05] local.INFO: TCP Data received {"connection_id":136129,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:53:05] local.INFO: Processing buffer {"connection_id":136129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:53:05] local.INFO: IMEI packet received {"connection_id":136129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":136129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:53:06] local.INFO: TCP Data received {"connection_id":136129,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f771ad8e0012d4deb00068a77f00069013d1a..."} 
[2026-07-19 02:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f771ad8e0012d4deb00068a77f00069013d1a..."} 
[2026-07-19 02:53:06] local.INFO: Processing buffer {"connection_id":136129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f771ad8e0012d4deb00068a77f00069013d1a..."} 
[2026-07-19 02:53:06] local.INFO: Packet analysis {"connection_id":136129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f771a"} 
[2026-07-19 02:53:06] local.INFO: Extracted packet for processing {"connection_id":136129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f771a"} 
[2026-07-19 02:53:06] local.INFO: GPS Element Parsed {"raw_longitude":760081152,"raw_latitude":109737968,"longitude_deg":76.0081152,"latitude_deg":10.9737968,"altitude":105,"angle":317,"satellites":26,"speed":27,"hex_longitude":"2d4deb00","hex_latitude":"068a77f0","is_valid_coordinates":true} 
[2026-07-19 02:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808873984001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352154131059703808,"note":"Value kept but may cause issues"} 
[2026-07-19 02:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5619859044352086016,"note":"Value kept but may cause issues"} 
[2026-07-19 02:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784409676000,"timestamp_ms":1784409676000,"timestamp_seconds":1784409676,"priority":1,"record_length":96,"hex_timestamp":"0000019f771ad8e0"} 
[2026-07-19 02:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-19 02:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808873984001,"66":27245,"94":206,"86":48896,"24":27,"16":352154131059703808,"45":5619859044352086016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,86,24,16,45]} 
[2026-07-19 02:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808873984001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:53:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-19 02:53:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352154131059703808,"km_value":352154131059703.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5619859044352086016,"description":"Unknown IO ID 45"} 
[2026-07-19 02:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808873984001,"power":27245,"unknown_94":206,"unknown_86":48896,"ignition":27,"odometer":null,"unknown_45":5619859044352086016}} 
[2026-07-19 02:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":136129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:53:06] local.INFO: GPS data processed {"connection_id":136129,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:53:06] local.INFO: Acknowledgment sent {"connection_id":136129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:53:38] local.INFO: TCP Data received {"connection_id":136129,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f771c3c58012d4c42c0068afb60003a01172a..."} 
[2026-07-19 02:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f771c3c58012d4c42c0068afb60003a01172a..."} 
[2026-07-19 02:53:38] local.INFO: Processing buffer {"connection_id":136129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f771c3c58012d4c42c0068afb60003a01172a..."} 
[2026-07-19 02:53:38] local.INFO: Packet analysis {"connection_id":136129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f771c"} 
[2026-07-19 02:53:38] local.INFO: Extracted packet for processing {"connection_id":136129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f771c"} 
[2026-07-19 02:53:38] local.INFO: GPS Element Parsed {"raw_longitude":759972544,"raw_latitude":109771616,"longitude_deg":75.9972544,"latitude_deg":10.9771616,"altitude":58,"angle":279,"satellites":42,"speed":68,"hex_longitude":"2d4c42c0","hex_latitude":"068afb60","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808898816001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352159688747384832,"note":"Value kept but may cause issues"} 
[2026-07-19 02:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5506424628747491328,"note":"Value kept but may cause issues"} 
[2026-07-19 02:53:38] 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-07-19 02:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784409767000,"timestamp_ms":1784409767000,"timestamp_seconds":1784409767,"priority":1,"record_length":96,"hex_timestamp":"0000019f771c3c58"} 
[2026-07-19 02:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-19 02:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808898816001,"66":27343,"187":206,"86":48896,"24":68,"16":352159688747384832,"45":5506424628747491328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-07-19 02:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808898816001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:53:38] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-19 02:53:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352159688747384832,"km_value":352159688747384.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5506424628747491328,"description":"Unknown IO ID 45"} 
[2026-07-19 02:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808898816001,"power":27343,"unknown_187":206,"unknown_86":48896,"ignition":68,"odometer":null,"unknown_45":5506424628747491328}} 
[2026-07-19 02:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":136129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:53:38] local.INFO: GPS data processed {"connection_id":136129,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:53:38] local.INFO: Acknowledgment sent {"connection_id":136129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:53:55] local.INFO: TCP Data received {"connection_id":137180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:53:55] local.INFO: Processing buffer {"connection_id":137180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:53:55] local.INFO: IMEI packet received {"connection_id":137180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":137180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:53:55] local.INFO: TCP Data received {"connection_id":137180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:53:55] local.INFO: Processing buffer {"connection_id":137180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:53:55] local.INFO: IMEI packet received {"connection_id":137180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":137180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:54:00] local.INFO: TCP Data received {"connection_id":137180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:54:00] local.INFO: Processing buffer {"connection_id":137180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:54:00] local.INFO: IMEI packet received {"connection_id":137180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":137180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:54:01] local.INFO: TCP Data received {"connection_id":137180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f771c53c8012d4c1980068b01f00035011729..."} 
[2026-07-19 02:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f771c53c8012d4c1980068b01f00035011729..."} 
[2026-07-19 02:54:01] local.INFO: Processing buffer {"connection_id":137180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f771c53c8012d4c1980068b01f00035011729..."} 
[2026-07-19 02:54:01] local.INFO: Packet analysis {"connection_id":137180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f771c"} 
[2026-07-19 02:54:01] local.INFO: Extracted packet for processing {"connection_id":137180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f771c"} 
[2026-07-19 02:54:01] local.INFO: GPS Element Parsed {"raw_longitude":759961984,"raw_latitude":109773296,"longitude_deg":75.9961984,"latitude_deg":10.9773296,"altitude":53,"angle":279,"satellites":41,"speed":71,"hex_longitude":"2d4c1980","hex_latitude":"068b01f0","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808900352001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352160195553525760,"note":"Value kept but may cause issues"} 
[2026-07-19 02:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5495165629679493120,"note":"Value kept but may cause issues"} 
[2026-07-19 02:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784409773000,"timestamp_ms":1784409773000,"timestamp_seconds":1784409773,"priority":1,"record_length":96,"hex_timestamp":"0000019f771c53c8"} 
[2026-07-19 02:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:54: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-07-19 02:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 02:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:54: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-07-19 02:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808900352001,"66":27397,"187":206,"86":48896,"24":71,"16":352160195553525760,"45":5495165629679493120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-07-19 02:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808900352001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:54:01] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-19 02:54:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352160195553525760,"km_value":352160195553525.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5495165629679493120,"description":"Unknown IO ID 45"} 
[2026-07-19 02:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808900352001,"power":27397,"unknown_187":206,"unknown_86":48896,"ignition":71,"odometer":null,"unknown_45":5495165629679493120}} 
[2026-07-19 02:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":137180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:54:01] local.INFO: GPS data processed {"connection_id":137180,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:54:01] local.INFO: Acknowledgment sent {"connection_id":137180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:54:32] local.INFO: TCP Data received {"connection_id":137180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f771c6b38012d4bf0c0068b0890003001172a..."} 
[2026-07-19 02:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f771c6b38012d4bf0c0068b0890003001172a..."} 
[2026-07-19 02:54:32] local.INFO: Processing buffer {"connection_id":137180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f771c6b38012d4bf0c0068b0890003001172a..."} 
[2026-07-19 02:54:32] local.INFO: Packet analysis {"connection_id":137180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f771c"} 
[2026-07-19 02:54:32] local.INFO: Extracted packet for processing {"connection_id":137180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f771c"} 
[2026-07-19 02:54:32] local.INFO: GPS Element Parsed {"raw_longitude":759951552,"raw_latitude":109774992,"longitude_deg":75.9951552,"latitude_deg":10.9774992,"altitude":48,"angle":279,"satellites":42,"speed":68,"hex_longitude":"2d4bf0c0","hex_latitude":"068b0890","is_valid_coordinates":true} 
[2026-07-19 02:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808901888001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352160698064699392,"note":"Value kept but may cause issues"} 
[2026-07-19 02:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5483554786890608640,"note":"Value kept but may cause issues"} 
[2026-07-19 02:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784409779000,"timestamp_ms":1784409779000,"timestamp_seconds":1784409779,"priority":1,"record_length":96,"hex_timestamp":"0000019f771c6b38"} 
[2026-07-19 02:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-19 02:54: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-07-19 02:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":137180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":137180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":137180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808901888001,"66":27332,"82":206,"86":48896,"24":68,"16":352160698064699392,"45":5483554786890608640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-19 02:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808901888001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:54:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-19 02:54:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352160698064699392,"km_value":352160698064699.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5483554786890608640,"description":"Unknown IO ID 45"} 
[2026-07-19 02:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808901888001,"power":27332,"unknown_82":206,"unknown_86":48896,"ignition":68,"odometer":null,"unknown_45":5483554786890608640}} 
[2026-07-19 02:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":137180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:54:32] local.INFO: GPS data processed {"connection_id":137180,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:54:32] local.INFO: Acknowledgment sent {"connection_id":137180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:54:55] local.INFO: TCP Data received {"connection_id":137181,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:54:55] local.INFO: Processing buffer {"connection_id":137181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:54:55] local.INFO: IMEI packet received {"connection_id":137181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":137181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:55:00] local.INFO: TCP Data received {"connection_id":137181,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:55:00] local.INFO: Processing buffer {"connection_id":137181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:55:00] local.INFO: IMEI packet received {"connection_id":137181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":137181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:55:01] local.INFO: TCP Data received {"connection_id":137181,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f771d5d68012d4a8200068b6180001101382b..."} 
[2026-07-19 02:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f771d5d68012d4a8200068b6180001101382b..."} 
[2026-07-19 02:55:01] local.INFO: Processing buffer {"connection_id":137181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f771d5d68012d4a8200068b6180001101382b..."} 
[2026-07-19 02:55:01] local.INFO: Packet analysis {"connection_id":137181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f771d"} 
[2026-07-19 02:55:01] local.INFO: Extracted packet for processing {"connection_id":137181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f771d"} 
[2026-07-19 02:55:01] local.INFO: GPS Element Parsed {"raw_longitude":759857664,"raw_latitude":109797760,"longitude_deg":75.9857664,"latitude_deg":10.979776,"altitude":17,"angle":312,"satellites":43,"speed":50,"hex_longitude":"2d4a8200","hex_latitude":"068b6180","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808919296001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352165362399182848,"note":"Value kept but may cause issues"} 
[2026-07-19 02:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5368853733887279104,"note":"Value kept but may cause issues"} 
[2026-07-19 02:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784409841000,"timestamp_ms":1784409841000,"timestamp_seconds":1784409841,"priority":1,"record_length":96,"hex_timestamp":"0000019f771d5d68"} 
[2026-07-19 02:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:55: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-07-19 02: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 02:55: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-07-19 02: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-07-19 02:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:55: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-07-19 02:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808919296001,"66":27908,"91":206,"86":48896,"24":50,"16":352165362399182848,"45":5368853733887279104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,86,24,16,45]} 
[2026-07-19 02:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808919296001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:55:01] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-19 02:55:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352165362399182848,"km_value":352165362399182.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5368853733887279104,"description":"Unknown IO ID 45"} 
[2026-07-19 02:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808919296001,"power":27908,"unknown_91":206,"unknown_86":48896,"ignition":50,"odometer":null,"unknown_45":5368853733887279104}} 
[2026-07-19 02:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":137181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:55:01] local.INFO: GPS data processed {"connection_id":137181,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:55:01] local.INFO: Acknowledgment sent {"connection_id":137181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:55:32] local.INFO: TCP Data received {"connection_id":137181,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f771d7ca8012d4a69c0068b7d38001001442d..."} 
[2026-07-19 02:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f771d7ca8012d4a69c0068b7d38001001442d..."} 
[2026-07-19 02:55:32] local.INFO: Processing buffer {"connection_id":137181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f771d7ca8012d4a69c0068b7d38001001442d..."} 
[2026-07-19 02:55:32] local.INFO: Packet analysis {"connection_id":137181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f771d"} 
[2026-07-19 02:55:32] local.INFO: Extracted packet for processing {"connection_id":137181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f771d"} 
[2026-07-19 02:55:32] local.INFO: GPS Element Parsed {"raw_longitude":759851456,"raw_latitude":109804856,"longitude_deg":75.9851456,"latitude_deg":10.9804856,"altitude":16,"angle":324,"satellites":45,"speed":41,"hex_longitude":"2d4a69c0","hex_latitude":"068b7d38","is_valid_coordinates":true} 
[2026-07-19 02:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808919296001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352165817665716224,"note":"Value kept but may cause issues"} 
[2026-07-19 02:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5368853733887279104,"note":"Value kept but may cause issues"} 
[2026-07-19 02:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784409849000,"timestamp_ms":1784409849000,"timestamp_seconds":1784409849,"priority":1,"record_length":96,"hex_timestamp":"0000019f771d7ca8"} 
[2026-07-19 02:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:55: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-07-19 02:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 02:55:32] 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-07-19 02:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":137181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":137181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":137181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:55: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-07-19 02:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808919296001,"66":27691,"91":206,"86":48896,"24":41,"16":352165817665716224,"45":5368853733887279104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,86,24,16,45]} 
[2026-07-19 02:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808919296001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:55:32] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-19 02:55:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352165817665716224,"km_value":352165817665716.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5368853733887279104,"description":"Unknown IO ID 45"} 
[2026-07-19 02:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808919296001,"power":27691,"unknown_91":206,"unknown_86":48896,"ignition":41,"odometer":null,"unknown_45":5368853733887279104}} 
[2026-07-19 02:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":137181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:55:32] local.INFO: GPS data processed {"connection_id":137181,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:55:32] local.INFO: Acknowledgment sent {"connection_id":137181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:55:55] local.INFO: TCP Data received {"connection_id":136132,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:55:55] local.INFO: Processing buffer {"connection_id":136132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:55:55] local.INFO: IMEI packet received {"connection_id":136132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":136132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:56:00] local.INFO: TCP Data received {"connection_id":136132,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:56:00] local.INFO: Processing buffer {"connection_id":136132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:56:00] local.INFO: IMEI packet received {"connection_id":136132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":136132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:56:01] local.INFO: TCP Data received {"connection_id":136132,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f771d7ca8012d4a69c0068b7d38001001442d..."} 
[2026-07-19 02:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f771d7ca8012d4a69c0068b7d38001001442d..."} 
[2026-07-19 02:56:01] local.INFO: Processing buffer {"connection_id":136132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f771d7ca8012d4a69c0068b7d38001001442d..."} 
[2026-07-19 02:56:01] local.INFO: Packet analysis {"connection_id":136132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f771d"} 
[2026-07-19 02:56:01] local.INFO: Extracted packet for processing {"connection_id":136132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f771d"} 
[2026-07-19 02:56:01] local.INFO: GPS Element Parsed {"raw_longitude":759851456,"raw_latitude":109804856,"longitude_deg":75.9851456,"latitude_deg":10.9804856,"altitude":16,"angle":324,"satellites":45,"speed":41,"hex_longitude":"2d4a69c0","hex_latitude":"068b7d38","is_valid_coordinates":true} 
[2026-07-19 02:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808921344001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352165817665716224,"note":"Value kept but may cause issues"} 
[2026-07-19 02:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5362027965703862272,"note":"Value kept but may cause issues"} 
[2026-07-19 02:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784409849000,"timestamp_ms":1784409849000,"timestamp_seconds":1784409849,"priority":1,"record_length":96,"hex_timestamp":"0000019f771d7ca8"} 
[2026-07-19 02:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:56: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-07-19 02:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-19 02:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:56: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-07-19 02:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808921344001,"66":27691,"91":206,"86":48896,"24":41,"16":352165817665716224,"45":5362027965703862272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,86,24,16,45]} 
[2026-07-19 02:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808921344001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:56:01] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-19 02:56:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352165817665716224,"km_value":352165817665716.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5362027965703862272,"description":"Unknown IO ID 45"} 
[2026-07-19 02:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808921344001,"power":27691,"unknown_91":206,"unknown_86":48896,"ignition":41,"odometer":null,"unknown_45":5362027965703862272}} 
[2026-07-19 02:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":136132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:56:01] local.INFO: GPS data processed {"connection_id":136132,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:56:01] local.INFO: Acknowledgment sent {"connection_id":136132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:56:44] local.INFO: TCP Data received {"connection_id":136132,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f771db740012d4a5600068b99f0000f014b2e..."} 
[2026-07-19 02:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f771db740012d4a5600068b99f0000f014b2e..."} 
[2026-07-19 02:56:44] local.INFO: Processing buffer {"connection_id":136132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f771db740012d4a5600068b99f0000f014b2e..."} 
[2026-07-19 02:56:44] local.INFO: Packet analysis {"connection_id":136132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f771d"} 
[2026-07-19 02:56:44] local.INFO: Extracted packet for processing {"connection_id":136132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f771d"} 
[2026-07-19 02:56:44] local.INFO: GPS Element Parsed {"raw_longitude":759846400,"raw_latitude":109812208,"longitude_deg":75.98464,"latitude_deg":10.9812208,"altitude":15,"angle":331,"satellites":46,"speed":7,"hex_longitude":"2d4a5600","hex_latitude":"068b99f0","is_valid_coordinates":true} 
[2026-07-19 02:56: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-07-19 02:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808921344001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352166247162445824,"note":"Value kept but may cause issues"} 
[2026-07-19 02:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5362027965703862272,"note":"Value kept but may cause issues"} 
[2026-07-19 02:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784409864000,"timestamp_ms":1784409864000,"timestamp_seconds":1784409864,"priority":1,"record_length":96,"hex_timestamp":"0000019f771db740"} 
[2026-07-19 02:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-19 02:56:44] 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-07-19 02:56: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-07-19 02:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":136132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":136132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":136132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808921344001,"66":27767,"91":206,"86":48896,"24":7,"16":352166247162445824,"45":5362027965703862272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,86,24,16,45]} 
[2026-07-19 02:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808921344001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:56:44] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-19 02:56:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352166247162445824,"km_value":352166247162445.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5362027965703862272,"description":"Unknown IO ID 45"} 
[2026-07-19 02:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808921344001,"power":27767,"unknown_91":206,"unknown_86":48896,"ignition":7,"odometer":null,"unknown_45":5362027965703862272}} 
[2026-07-19 02:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":136132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:56:44] local.INFO: GPS data processed {"connection_id":136132,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:56:44] local.INFO: Acknowledgment sent {"connection_id":136132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:56:55] local.INFO: TCP Data received {"connection_id":136257,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:56:55] local.INFO: Processing buffer {"connection_id":136257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:56:55] local.INFO: IMEI packet received {"connection_id":136257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":136257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:57:00] local.INFO: TCP Data received {"connection_id":136257,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:57:00] local.INFO: Processing buffer {"connection_id":136257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:57:00] local.INFO: IMEI packet received {"connection_id":136257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":136257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:57:01] local.INFO: TCP Data received {"connection_id":136257,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f771e0948012d4a5540068b9b98000f014b2e..."} 
[2026-07-19 02:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f771e0948012d4a5540068b9b98000f014b2e..."} 
[2026-07-19 02:57:01] local.INFO: Processing buffer {"connection_id":136257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f771e0948012d4a5540068b9b98000f014b2e..."} 
[2026-07-19 02:57:01] local.INFO: Packet analysis {"connection_id":136257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f771e"} 
[2026-07-19 02:57:01] local.INFO: Extracted packet for processing {"connection_id":136257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f771e"} 
[2026-07-19 02:57:01] local.INFO: GPS Element Parsed {"raw_longitude":759846208,"raw_latitude":109812632,"longitude_deg":75.9846208,"latitude_deg":10.9812632,"altitude":15,"angle":331,"satellites":46,"speed":0,"hex_longitude":"2d4a5540","hex_latitude":"068b9b98","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808925184001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352166268637282304,"note":"Value kept but may cause issues"} 
[2026-07-19 02:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5356468834915708928,"note":"Value kept but may cause issues"} 
[2026-07-19 02:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784409885000,"timestamp_ms":1784409885000,"timestamp_seconds":1784409885,"priority":1,"record_length":96,"hex_timestamp":"0000019f771e0948"} 
[2026-07-19 02:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:57: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-07-19 02: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-19 02:57: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-07-19 02: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-07-19 02:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:57: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-07-19 02:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808925184001,"66":27745,"91":206,"86":48896,"24":0,"16":352166268637282304,"45":5356468834915708928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,86,24,16,45]} 
[2026-07-19 02:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808925184001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:57:01] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-19 02:57:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352166268637282304,"km_value":352166268637282.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5356468834915708928,"description":"Unknown IO ID 45"} 
[2026-07-19 02:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808925184001,"power":27745,"unknown_91":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5356468834915708928}} 
[2026-07-19 02:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":136257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:57:01] local.INFO: GPS data processed {"connection_id":136257,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:57:01] local.INFO: Acknowledgment sent {"connection_id":136257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:57:31] local.INFO: TCP Data received {"connection_id":136257,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f771e5b50012d4a5540068b9b98000f014b2d..."} 
[2026-07-19 02:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f771e5b50012d4a5540068b9b98000f014b2d..."} 
[2026-07-19 02:57:31] local.INFO: Processing buffer {"connection_id":136257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f771e5b50012d4a5540068b9b98000f014b2d..."} 
[2026-07-19 02:57:31] local.INFO: Packet analysis {"connection_id":136257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f771e"} 
[2026-07-19 02:57:31] local.INFO: Extracted packet for processing {"connection_id":136257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f771e"} 
[2026-07-19 02:57:31] local.INFO: GPS Element Parsed {"raw_longitude":759846208,"raw_latitude":109812632,"longitude_deg":75.9846208,"latitude_deg":10.9812632,"altitude":15,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d4a5540","hex_latitude":"068b9b98","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808930560001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352166268637282304,"note":"Value kept but may cause issues"} 
[2026-07-19 02:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5356257728683284480,"note":"Value kept but may cause issues"} 
[2026-07-19 02:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784409906000,"timestamp_ms":1784409906000,"timestamp_seconds":1784409906,"priority":1,"record_length":96,"hex_timestamp":"0000019f771e5b50"} 
[2026-07-19 02:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 02:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":136257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":136257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":136257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808930560001,"66":27800,"91":206,"86":48896,"24":0,"16":352166268637282304,"45":5356257728683284480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,86,24,16,45]} 
[2026-07-19 02:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808930560001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:57:31] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-19 02:57:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352166268637282304,"km_value":352166268637282.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5356257728683284480,"description":"Unknown IO ID 45"} 
[2026-07-19 02:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808930560001,"power":27800,"unknown_91":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5356257728683284480}} 
[2026-07-19 02:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":136257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:57:31] local.INFO: GPS data processed {"connection_id":136257,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:57:31] local.INFO: Acknowledgment sent {"connection_id":136257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:57:43] local.INFO: TCP Data received {"connection_id":137182,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:57:43] local.INFO: Processing buffer {"connection_id":137182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:57:43] local.INFO: IMEI packet received {"connection_id":137182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 02:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":137182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:57:55] local.INFO: TCP Data received {"connection_id":136133,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:57:55] local.INFO: Processing buffer {"connection_id":136133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:57:55] local.INFO: IMEI packet received {"connection_id":136133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":136133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:58:00] local.INFO: TCP Data received {"connection_id":136133,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:58:00] local.INFO: Processing buffer {"connection_id":136133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:58:00] local.INFO: IMEI packet received {"connection_id":136133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":136133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:58:01] local.INFO: TCP Data received {"connection_id":136133,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f771ead58012d4a5540068b9b98000f014b2c..."} 
[2026-07-19 02:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f771ead58012d4a5540068b9b98000f014b2c..."} 
[2026-07-19 02:58:01] local.INFO: Processing buffer {"connection_id":136133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f771ead58012d4a5540068b9b98000f014b2c..."} 
[2026-07-19 02:58:01] local.INFO: Packet analysis {"connection_id":136133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f771e"} 
[2026-07-19 02:58:01] local.INFO: Extracted packet for processing {"connection_id":136133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f771e"} 
[2026-07-19 02:58:01] local.INFO: GPS Element Parsed {"raw_longitude":759846208,"raw_latitude":109812632,"longitude_deg":75.9846208,"latitude_deg":10.9812632,"altitude":15,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2d4a5540","hex_latitude":"068b9b98","is_valid_coordinates":true} 
[2026-07-19 02:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808935936001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352166268637282304,"note":"Value kept but may cause issues"} 
[2026-07-19 02:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5356257728683284480,"note":"Value kept but may cause issues"} 
[2026-07-19 02:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784409927000,"timestamp_ms":1784409927000,"timestamp_seconds":1784409927,"priority":1,"record_length":96,"hex_timestamp":"0000019f771ead58"} 
[2026-07-19 02:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-19 02:58: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-07-19 02:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:58: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-07-19 02:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808935936001,"66":27245,"91":206,"86":48896,"24":0,"16":352166268637282304,"45":5356257728683284480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,86,24,16,45]} 
[2026-07-19 02:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808935936001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:58:01] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-19 02:58:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352166268637282304,"km_value":352166268637282.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5356257728683284480,"description":"Unknown IO ID 45"} 
[2026-07-19 02:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808935936001,"power":27245,"unknown_91":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5356257728683284480}} 
[2026-07-19 02:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":136133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:58:01] local.INFO: GPS data processed {"connection_id":136133,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:58:01] local.INFO: Acknowledgment sent {"connection_id":136133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:58:32] local.INFO: TCP Data received {"connection_id":136133,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7720b8c8012d4939c0068c9240001101452d..."} 
[2026-07-19 02:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7720b8c8012d4939c0068c9240001101452d..."} 
[2026-07-19 02:58:32] local.INFO: Processing buffer {"connection_id":136133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7720b8c8012d4939c0068c9240001101452d..."} 
[2026-07-19 02:58:32] local.INFO: Packet analysis {"connection_id":136133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7720"} 
[2026-07-19 02:58:32] local.INFO: Extracted packet for processing {"connection_id":136133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7720"} 
[2026-07-19 02:58:32] local.INFO: GPS Element Parsed {"raw_longitude":759773632,"raw_latitude":109875776,"longitude_deg":75.9773632,"latitude_deg":10.9875776,"altitude":17,"angle":325,"satellites":45,"speed":43,"hex_longitude":"2d4939c0","hex_latitude":"068c9240","is_valid_coordinates":true} 
[2026-07-19 02:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808973312001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352171031756013568,"note":"Value kept but may cause issues"} 
[2026-07-19 02:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5283285340985327616,"note":"Value kept but may cause issues"} 
[2026-07-19 02:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784410061000,"timestamp_ms":1784410061000,"timestamp_seconds":1784410061,"priority":1,"record_length":96,"hex_timestamp":"0000019f7720b8c8"} 
[2026-07-19 02:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-19 02:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808973312001,"66":27484,"61":206,"86":48896,"24":43,"16":352171031756013568,"45":5283285340985327616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-07-19 02:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808973312001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:58:32] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-19 02:58:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352171031756013568,"km_value":352171031756013.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5283285340985327616,"description":"Unknown IO ID 45"} 
[2026-07-19 02:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808973312001,"power":27484,"unknown_61":206,"unknown_86":48896,"ignition":43,"odometer":null,"unknown_45":5283285340985327616}} 
[2026-07-19 02:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":136133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:58:32] local.INFO: GPS data processed {"connection_id":136133,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:58:32] local.INFO: Acknowledgment sent {"connection_id":136133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:58:33] local.INFO: TCP Data received {"connection_id":136258,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136258,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:58:33] local.INFO: Processing buffer {"connection_id":136258,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 02:58:33] local.INFO: IMEI packet received {"connection_id":136258,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 02:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":136258,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:58:55] local.INFO: TCP Data received {"connection_id":136134,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:58:55] local.INFO: Processing buffer {"connection_id":136134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:58:55] local.INFO: IMEI packet received {"connection_id":136134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":136134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 02:58:59] local.INFO: TCP Data received {"connection_id":136134,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:58:59] local.INFO: Processing buffer {"connection_id":136134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:58:59] local.INFO: IMEI packet received {"connection_id":136134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":136134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:59:00] local.INFO: TCP Data received {"connection_id":136134,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:59:00] local.INFO: Processing buffer {"connection_id":136134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:59:00] local.INFO: IMEI packet received {"connection_id":136134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 02:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":136134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 02:59:01] local.INFO: TCP Data received {"connection_id":136134,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7720b8c8012d4939c0068c9240001101452d..."} 
[2026-07-19 02:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7720b8c8012d4939c0068c9240001101452d..."} 
[2026-07-19 02:59:01] local.INFO: Processing buffer {"connection_id":136134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7720b8c8012d4939c0068c9240001101452d..."} 
[2026-07-19 02:59:01] local.INFO: Packet analysis {"connection_id":136134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7720"} 
[2026-07-19 02:59:01] local.INFO: Extracted packet for processing {"connection_id":136134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7720"} 
[2026-07-19 02:59:01] local.INFO: GPS Element Parsed {"raw_longitude":759773632,"raw_latitude":109875776,"longitude_deg":75.9773632,"latitude_deg":10.9875776,"altitude":17,"angle":325,"satellites":45,"speed":43,"hex_longitude":"2d4939c0","hex_latitude":"068c9240","is_valid_coordinates":true} 
[2026-07-19 02: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-07-19 02:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808975616001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352171031756013568,"note":"Value kept but may cause issues"} 
[2026-07-19 02:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5276459572801978368,"note":"Value kept but may cause issues"} 
[2026-07-19 02:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784410061000,"timestamp_ms":1784410061000,"timestamp_seconds":1784410061,"priority":1,"record_length":96,"hex_timestamp":"0000019f7720b8c8"} 
[2026-07-19 02:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-19 02:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02: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-07-19 02:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808975616001,"66":27484,"61":206,"86":48896,"24":43,"16":352171031756013568,"45":5276459572801978368},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-07-19 02:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808975616001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:59:01] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-19 02:59:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352171031756013568,"km_value":352171031756013.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5276459572801978368,"description":"Unknown IO ID 45"} 
[2026-07-19 02:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808975616001,"power":27484,"unknown_61":206,"unknown_86":48896,"ignition":43,"odometer":null,"unknown_45":5276459572801978368}} 
[2026-07-19 02:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":136134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:59:01] local.INFO: GPS data processed {"connection_id":136134,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:59:01] local.INFO: Acknowledgment sent {"connection_id":136134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:59:06] local.INFO: TCP Data received {"connection_id":136134,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7720d808012d492940068cb1280011014f2e..."} 
[2026-07-19 02:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7720d808012d492940068cb1280011014f2e..."} 
[2026-07-19 02:59:06] local.INFO: Processing buffer {"connection_id":136134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7720d808012d492940068cb1280011014f2e..."} 
[2026-07-19 02:59:06] local.INFO: Packet analysis {"connection_id":136134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7720"} 
[2026-07-19 02:59:06] local.INFO: Extracted packet for processing {"connection_id":136134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7720"} 
[2026-07-19 02:59:06] local.INFO: GPS Element Parsed {"raw_longitude":759769408,"raw_latitude":109883688,"longitude_deg":75.9769408,"latitude_deg":10.9883688,"altitude":17,"angle":335,"satellites":46,"speed":46,"hex_longitude":"2d492940","hex_latitude":"068cb128","is_valid_coordinates":true} 
[2026-07-19 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-07-19 02:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808975616001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352171465547710464,"note":"Value kept but may cause issues"} 
[2026-07-19 02:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5276459572801978368,"note":"Value kept but may cause issues"} 
[2026-07-19 02:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784410069000,"timestamp_ms":1784410069000,"timestamp_seconds":1784410069,"priority":1,"record_length":96,"hex_timestamp":"0000019f7720d808"} 
[2026-07-19 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-07-19 02:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-19 02:59: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-07-19 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-07-19 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-07-19 02:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 02:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808975616001,"66":27397,"61":206,"86":48896,"24":46,"16":352171465547710464,"45":5276459572801978368},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-07-19 02:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808975616001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:59:06] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-19 02:59:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352171465547710464,"km_value":352171465547710.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5276459572801978368,"description":"Unknown IO ID 45"} 
[2026-07-19 02:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808975616001,"power":27397,"unknown_61":206,"unknown_86":48896,"ignition":46,"odometer":null,"unknown_45":5276459572801978368}} 
[2026-07-19 02:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":136134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:59:06] local.INFO: GPS data processed {"connection_id":136134,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:59:06] local.INFO: Acknowledgment sent {"connection_id":136134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:59:37] local.INFO: TCP Data received {"connection_id":136134,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7720f748012d491b00068cd430000f01522e..."} 
[2026-07-19 02:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7720f748012d491b00068cd430000f01522e..."} 
[2026-07-19 02:59:37] local.INFO: Processing buffer {"connection_id":136134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7720f748012d491b00068cd430000f01522e..."} 
[2026-07-19 02:59:37] local.INFO: Packet analysis {"connection_id":136134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7720"} 
[2026-07-19 02:59:37] local.INFO: Extracted packet for processing {"connection_id":136134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7720"} 
[2026-07-19 02:59:37] local.INFO: GPS Element Parsed {"raw_longitude":759765760,"raw_latitude":109892656,"longitude_deg":75.976576,"latitude_deg":10.9892656,"altitude":15,"angle":338,"satellites":46,"speed":48,"hex_longitude":"2d491b00","hex_latitude":"068cd430","is_valid_coordinates":true} 
[2026-07-19 02:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 02:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808977664001,"note":"Value kept but may cause issues"} 
[2026-07-19 02:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352171933699145728,"note":"Value kept but may cause issues"} 
[2026-07-19 02:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5271815235688278016,"note":"Value kept but may cause issues"} 
[2026-07-19 02:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 02:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784410077000,"timestamp_ms":1784410077000,"timestamp_seconds":1784410077,"priority":1,"record_length":96,"hex_timestamp":"0000019f7720f748"} 
[2026-07-19 02:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 02:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 02:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-19 02:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 02:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 02:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 02:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 02:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 02:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 02:59: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-07-19 02:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 02:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 02:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808977664001,"66":27376,"61":206,"86":48896,"24":48,"16":352171933699145728,"45":5271815235688278016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-07-19 02:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 02:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 02:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808977664001,"description":"Unknown IO ID 0"} 
[2026-07-19 02:59:37] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-19 02:59:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 02:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352171933699145728,"km_value":352171933699145.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 02:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5271815235688278016,"description":"Unknown IO ID 45"} 
[2026-07-19 02:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808977664001,"power":27376,"unknown_61":206,"unknown_86":48896,"ignition":48,"odometer":null,"unknown_45":5271815235688278016}} 
[2026-07-19 02:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":136134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 02:59:37] local.INFO: GPS data processed {"connection_id":136134,"processed":1,"errors":0,"total":1} 
[2026-07-19 02:59:37] local.INFO: Acknowledgment sent {"connection_id":136134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 02:59:55] local.INFO: TCP Data received {"connection_id":136260,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:59:55] local.INFO: Processing buffer {"connection_id":136260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 02:59:55] local.INFO: IMEI packet received {"connection_id":136260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 02:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":136260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:00:00] local.INFO: TCP Data received {"connection_id":136260,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:00:00] local.INFO: Processing buffer {"connection_id":136260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:00:00] local.INFO: IMEI packet received {"connection_id":136260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":136260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:00:01] local.INFO: TCP Data received {"connection_id":136260,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77211688012d490c80068cf818000d01522d..."} 
[2026-07-19 03:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77211688012d490c80068cf818000d01522d..."} 
[2026-07-19 03:00:01] local.INFO: Processing buffer {"connection_id":136260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77211688012d490c80068cf818000d01522d..."} 
[2026-07-19 03:00:01] local.INFO: Packet analysis {"connection_id":136260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7721"} 
[2026-07-19 03:00:01] local.INFO: Extracted packet for processing {"connection_id":136260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7721"} 
[2026-07-19 03:00:01] local.INFO: GPS Element Parsed {"raw_longitude":759762048,"raw_latitude":109901848,"longitude_deg":75.9762048,"latitude_deg":10.9901848,"altitude":13,"angle":338,"satellites":45,"speed":49,"hex_longitude":"2d490c80","hex_latitude":"068cf818","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808979712001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352172414735482880,"note":"Value kept but may cause issues"} 
[2026-07-19 03:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5267804217272446976,"note":"Value kept but may cause issues"} 
[2026-07-19 03:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784410085000,"timestamp_ms":1784410085000,"timestamp_seconds":1784410085,"priority":1,"record_length":96,"hex_timestamp":"0000019f77211688"} 
[2026-07-19 03:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-19 03:00: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-07-19 03: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-07-19 03:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:00: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-07-19 03:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808979712001,"66":27365,"61":206,"86":48896,"24":49,"16":352172414735482880,"45":5267804217272446976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-07-19 03:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808979712001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:00:01] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-19 03:00:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 03:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352172414735482880,"km_value":352172414735482.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5267804217272446976,"description":"Unknown IO ID 45"} 
[2026-07-19 03:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808979712001,"power":27365,"unknown_61":206,"unknown_86":48896,"ignition":49,"odometer":null,"unknown_45":5267804217272446976}} 
[2026-07-19 03:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":136260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:00:01] local.INFO: GPS data processed {"connection_id":136260,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:00:01] local.INFO: Acknowledgment sent {"connection_id":136260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:00:33] local.INFO: TCP Data received {"connection_id":136260,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f772135c8012d48fdc0068d1cc8000c01502e..."} 
[2026-07-19 03:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f772135c8012d48fdc0068d1cc8000c01502e..."} 
[2026-07-19 03:00:33] local.INFO: Processing buffer {"connection_id":136260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f772135c8012d48fdc0068d1cc8000c01502e..."} 
[2026-07-19 03:00:33] local.INFO: Packet analysis {"connection_id":136260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7721"} 
[2026-07-19 03:00:33] local.INFO: Extracted packet for processing {"connection_id":136260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7721"} 
[2026-07-19 03:00:33] local.INFO: GPS Element Parsed {"raw_longitude":759758272,"raw_latitude":109911240,"longitude_deg":75.9758272,"latitude_deg":10.991124,"altitude":12,"angle":336,"satellites":46,"speed":49,"hex_longitude":"2d48fdc0","hex_latitude":"068d1cc8","is_valid_coordinates":true} 
[2026-07-19 03:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456808981760001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352172900066787328,"note":"Value kept but may cause issues"} 
[2026-07-19 03:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5263722830112495616,"note":"Value kept but may cause issues"} 
[2026-07-19 03:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784410093000,"timestamp_ms":1784410093000,"timestamp_seconds":1784410093,"priority":1,"record_length":96,"hex_timestamp":"0000019f772135c8"} 
[2026-07-19 03:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:00: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-07-19 03:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 03:00: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-07-19 03:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":136260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":136260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":136260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456808981760001,"66":27397,"61":206,"86":48896,"24":49,"16":352172900066787328,"45":5263722830112495616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-07-19 03:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456808981760001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:00:33] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-19 03:00:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 03:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352172900066787328,"km_value":352172900066787.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5263722830112495616,"description":"Unknown IO ID 45"} 
[2026-07-19 03:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456808981760001,"power":27397,"unknown_61":206,"unknown_86":48896,"ignition":49,"odometer":null,"unknown_45":5263722830112495616}} 
[2026-07-19 03:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":136260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:00:33] local.INFO: GPS data processed {"connection_id":136260,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:00:33] local.INFO: Acknowledgment sent {"connection_id":136260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:01:00] local.INFO: TCP Data received {"connection_id":137184,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:01:00] local.INFO: Processing buffer {"connection_id":137184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:01:00] local.INFO: IMEI packet received {"connection_id":137184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":137184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:01:05] local.INFO: TCP Data received {"connection_id":137184,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:01:05] local.INFO: Processing buffer {"connection_id":137184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:01:05] local.INFO: IMEI packet received {"connection_id":137184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":137184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:01:52] local.INFO: TCP Data received {"connection_id":136261,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:01:52] local.INFO: Processing buffer {"connection_id":136261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:01:52] local.INFO: IMEI packet received {"connection_id":136261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":136261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:01:56] local.INFO: TCP Data received {"connection_id":136261,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:01:56] local.INFO: Processing buffer {"connection_id":136261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:01:56] local.INFO: IMEI packet received {"connection_id":136261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":136261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:01:57] local.INFO: TCP Data received {"connection_id":136261,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f77238b70012d47b600068df1e8003c00ff1f..."} 
[2026-07-19 03:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77238b70012d47b600068df1e8003c00ff1f..."} 
[2026-07-19 03:01:57] local.INFO: Processing buffer {"connection_id":136261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77238b70012d47b600068df1e8003c00ff1f..."} 
[2026-07-19 03:01:57] local.INFO: Packet analysis {"connection_id":136261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7723"} 
[2026-07-19 03:01:57] local.INFO: Extracted packet for processing {"connection_id":136261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7723"} 
[2026-07-19 03:01:57] local.INFO: GPS Element Parsed {"raw_longitude":759674368,"raw_latitude":109965800,"longitude_deg":75.9674368,"latitude_deg":10.99658,"altitude":60,"angle":255,"satellites":31,"speed":21,"hex_longitude":"2d47b600","hex_latitude":"068df1e8","is_valid_coordinates":true} 
[2026-07-19 03:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352177684660355072,"note":"Value kept but may cause issues"} 
[2026-07-19 03:01:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,73,86,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-19 03:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784410246000,"timestamp_ms":1784410246000,"timestamp_seconds":1784410246,"priority":1,"record_length":96,"hex_timestamp":"0000019f77238b70"} 
[2026-07-19 03:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:01:57] 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-07-19 03:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-19 03:01:57] 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-07-19 03:01:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27343,"73":206,"86":48896,"24":21,"16":352177684660355072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,86,24,16]} 
[2026-07-19 03:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-19 03:01:57] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-19 03:01:57] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 03:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352177684660355072,"km_value":352177684660355.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:01:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27343,"unknown_73":206,"unknown_86":48896,"ignition":21,"odometer":null}} 
[2026-07-19 03:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":136261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:01:57] local.INFO: GPS data processed {"connection_id":136261,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:01:57] local.INFO: Acknowledgment sent {"connection_id":136261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:02:29] local.INFO: TCP Data received {"connection_id":136261,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7723d1c0012d4792c0068de918004100fa22..."} 
[2026-07-19 03:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7723d1c0012d4792c0068de918004100fa22..."} 
[2026-07-19 03:02:29] local.INFO: Processing buffer {"connection_id":136261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7723d1c0012d4792c0068de918004100fa22..."} 
[2026-07-19 03:02:29] local.INFO: Packet analysis {"connection_id":136261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7723"} 
[2026-07-19 03:02:29] local.INFO: Extracted packet for processing {"connection_id":136261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7723"} 
[2026-07-19 03:02:29] local.INFO: GPS Element Parsed {"raw_longitude":759665344,"raw_latitude":109963544,"longitude_deg":75.9665344,"latitude_deg":10.9963544,"altitude":65,"angle":250,"satellites":34,"speed":21,"hex_longitude":"2d4792c0","hex_latitude":"068de918","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809022976001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352178131336953856,"note":"Value kept but may cause issues"} 
[2026-07-19 03:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5167317650605467648,"note":"Value kept but may cause issues"} 
[2026-07-19 03:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784410264000,"timestamp_ms":1784410264000,"timestamp_seconds":1784410264,"priority":1,"record_length":96,"hex_timestamp":"0000019f7723d1c0"} 
[2026-07-19 03:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 03:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03: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-07-19 03:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":136261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":136261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":136261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:02:29] 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-07-19 03:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809022976001,"66":27343,"73":206,"86":48896,"24":21,"16":352178131336953856,"45":5167317650605467648},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,86,24,16,45]} 
[2026-07-19 03:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809022976001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:02:29] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-19 03:02:29] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 03:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352178131336953856,"km_value":352178131336953.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5167317650605467648,"description":"Unknown IO ID 45"} 
[2026-07-19 03:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809022976001,"power":27343,"unknown_73":206,"unknown_86":48896,"ignition":21,"odometer":null,"unknown_45":5167317650605467648}} 
[2026-07-19 03:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":136261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:02:29] local.INFO: GPS data processed {"connection_id":136261,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:02:29] local.INFO: Acknowledgment sent {"connection_id":136261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:03:00] local.INFO: TCP Data received {"connection_id":136261,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f77240c58012d477000068dde50004600fc20..."} 
[2026-07-19 03:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77240c58012d477000068dde50004600fc20..."} 
[2026-07-19 03:03:00] local.INFO: Processing buffer {"connection_id":136261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77240c58012d477000068dde50004600fc20..."} 
[2026-07-19 03:03:00] local.INFO: Packet analysis {"connection_id":136261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7724"} 
[2026-07-19 03:03:00] local.INFO: Extracted packet for processing {"connection_id":136261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7724"} 
[2026-07-19 03:03:00] local.INFO: GPS Element Parsed {"raw_longitude":759656448,"raw_latitude":109960784,"longitude_deg":75.9656448,"latitude_deg":10.9960784,"altitude":70,"angle":252,"satellites":32,"speed":23,"hex_longitude":"2d477000","hex_latitude":"068dde50","is_valid_coordinates":true} 
[2026-07-19 03:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809027584001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352178573718585344,"note":"Value kept but may cause issues"} 
[2026-07-19 03:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5157395657675839488,"note":"Value kept but may cause issues"} 
[2026-07-19 03:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784410279000,"timestamp_ms":1784410279000,"timestamp_seconds":1784410279,"priority":1,"record_length":96,"hex_timestamp":"0000019f77240c58"} 
[2026-07-19 03:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03: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-07-19 03:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 03:03: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-07-19 03:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":136261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":136261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":136261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:03:00] 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-07-19 03:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809027584001,"66":27234,"73":206,"86":48896,"24":23,"16":352178573718585344,"45":5157395657675839488},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,86,24,16,45]} 
[2026-07-19 03:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809027584001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:03:00] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-19 03:03:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 03:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352178573718585344,"km_value":352178573718585.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5157395657675839488,"description":"Unknown IO ID 45"} 
[2026-07-19 03:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809027584001,"power":27234,"unknown_73":206,"unknown_86":48896,"ignition":23,"odometer":null,"unknown_45":5157395657675839488}} 
[2026-07-19 03:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":136261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:03:00] local.INFO: GPS data processed {"connection_id":136261,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:03:00] local.INFO: Acknowledgment sent {"connection_id":136261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:03:33] local.INFO: TCP Data received {"connection_id":136261,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f772446f0012d474c40068dd3d8004900fe22..."} 
[2026-07-19 03:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f772446f0012d474c40068dd3d8004900fe22..."} 
[2026-07-19 03:03:33] local.INFO: Processing buffer {"connection_id":136261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f772446f0012d474c40068dd3d8004900fe22..."} 
[2026-07-19 03:03:33] local.INFO: Packet analysis {"connection_id":136261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7724"} 
[2026-07-19 03:03:33] local.INFO: Extracted packet for processing {"connection_id":136261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7724"} 
[2026-07-19 03:03:33] local.INFO: GPS Element Parsed {"raw_longitude":759647296,"raw_latitude":109958104,"longitude_deg":75.9647296,"latitude_deg":10.9958104,"altitude":73,"angle":254,"satellites":34,"speed":25,"hex_longitude":"2d474c40","hex_latitude":"068dd3d8","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809031424001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352179028985118720,"note":"Value kept but may cause issues"} 
[2026-07-19 03:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5147614402234437632,"note":"Value kept but may cause issues"} 
[2026-07-19 03:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784410294000,"timestamp_ms":1784410294000,"timestamp_seconds":1784410294,"priority":1,"record_length":96,"hex_timestamp":"0000019f772446f0"} 
[2026-07-19 03:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:03: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-07-19 03: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-19 03:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03: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-07-19 03:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":136261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":136261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":136261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:03: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-07-19 03:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809031424001,"66":27365,"73":206,"86":48896,"24":25,"16":352179028985118720,"45":5147614402234437632},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,86,24,16,45]} 
[2026-07-19 03:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809031424001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:03:33] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-19 03:03:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 03:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352179028985118720,"km_value":352179028985118.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5147614402234437632,"description":"Unknown IO ID 45"} 
[2026-07-19 03:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809031424001,"power":27365,"unknown_73":206,"unknown_86":48896,"ignition":25,"odometer":null,"unknown_45":5147614402234437632}} 
[2026-07-19 03:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":136261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:03:33] local.INFO: GPS data processed {"connection_id":136261,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:03:33] local.INFO: Acknowledgment sent {"connection_id":136261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:04:03] local.INFO: TCP Data received {"connection_id":138583,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:04:03] local.INFO: Processing buffer {"connection_id":138583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:04:03] local.INFO: IMEI packet received {"connection_id":138583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 03:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":138583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:04:04] local.INFO: TCP Data received {"connection_id":136261,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7725b238012d463f80068e6568004f015e26..."} 
[2026-07-19 03:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7725b238012d463f80068e6568004f015e26..."} 
[2026-07-19 03:04:04] local.INFO: Processing buffer {"connection_id":136261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7725b238012d463f80068e6568004f015e26..."} 
[2026-07-19 03:04:04] local.INFO: Packet analysis {"connection_id":136261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7725"} 
[2026-07-19 03:04:04] local.INFO: Extracted packet for processing {"connection_id":136261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7725"} 
[2026-07-19 03:04:04] local.INFO: GPS Element Parsed {"raw_longitude":759578496,"raw_latitude":109995368,"longitude_deg":75.9578496,"latitude_deg":10.9995368,"altitude":79,"angle":350,"satellites":38,"speed":59,"hex_longitude":"2d463f80","hex_latitude":"068e6568","is_valid_coordinates":true} 
[2026-07-19 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-07-19 03:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809058304001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352183173628559360,"note":"Value kept but may cause issues"} 
[2026-07-19 03:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5063171909228994560,"note":"Value kept but may cause issues"} 
[2026-07-19 03:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784410387000,"timestamp_ms":1784410387000,"timestamp_seconds":1784410387,"priority":1,"record_length":96,"hex_timestamp":"0000019f7725b238"} 
[2026-07-19 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-07-19 03:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-19 03:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 03:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":136261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":136261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":136261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:04: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-07-19 03:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809058304001,"66":27267,"170":206,"86":48896,"24":59,"16":352183173628559360,"45":5063171909228994560},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,86,24,16,45]} 
[2026-07-19 03:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809058304001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:04:04] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-19 03:04:04] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 03:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352183173628559360,"km_value":352183173628559.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5063171909228994560,"description":"Unknown IO ID 45"} 
[2026-07-19 03:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809058304001,"power":27267,"unknown_170":206,"unknown_86":48896,"ignition":59,"odometer":null,"unknown_45":5063171909228994560}} 
[2026-07-19 03:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":136261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:04:04] local.INFO: GPS data processed {"connection_id":136261,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:04:04] local.INFO: Acknowledgment sent {"connection_id":136261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:04:29] local.INFO: TCP Data received {"connection_id":138584,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:04:29] local.INFO: Processing buffer {"connection_id":138584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:04:29] local.INFO: IMEI packet received {"connection_id":138584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 03:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":138584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:04:44] local.INFO: TCP Data received {"connection_id":136261,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7725c9a8012d463dc0068e89e0004b01672a..."} 
[2026-07-19 03:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7725c9a8012d463dc0068e89e0004b01672a..."} 
[2026-07-19 03:04:44] local.INFO: Processing buffer {"connection_id":136261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7725c9a8012d463dc0068e89e0004b01672a..."} 
[2026-07-19 03:04:44] local.INFO: Packet analysis {"connection_id":136261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7725"} 
[2026-07-19 03:04:44] local.INFO: Extracted packet for processing {"connection_id":136261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7725"} 
[2026-07-19 03:04:44] local.INFO: GPS Element Parsed {"raw_longitude":759578048,"raw_latitude":110004704,"longitude_deg":75.9578048,"latitude_deg":11.0004704,"altitude":75,"angle":359,"satellites":42,"speed":63,"hex_longitude":"2d463dc0","hex_latitude":"068e89e0","is_valid_coordinates":true} 
[2026-07-19 03:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809059072001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352183628895092736,"note":"Value kept but may cause issues"} 
[2026-07-19 03:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5061905271834896384,"note":"Value kept but may cause issues"} 
[2026-07-19 03:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784410393000,"timestamp_ms":1784410393000,"timestamp_seconds":1784410393,"priority":1,"record_length":96,"hex_timestamp":"0000019f7725c9a8"} 
[2026-07-19 03:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 03:04:44] 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-07-19 03:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":136261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":136261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":136261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809059072001,"66":27245,"170":206,"86":48896,"24":63,"16":352183628895092736,"45":5061905271834896384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,86,24,16,45]} 
[2026-07-19 03:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809059072001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:04:44] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-19 03:04:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 03:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352183628895092736,"km_value":352183628895092.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5061905271834896384,"description":"Unknown IO ID 45"} 
[2026-07-19 03:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809059072001,"power":27245,"unknown_170":206,"unknown_86":48896,"ignition":63,"odometer":null,"unknown_45":5061905271834896384}} 
[2026-07-19 03:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":136261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:04:44] local.INFO: GPS data processed {"connection_id":136261,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:04:44] local.INFO: Acknowledgment sent {"connection_id":136261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:05:15] local.INFO: TCP Data received {"connection_id":136261,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7725e118012d463cc0068eb060004701672c..."} 
[2026-07-19 03:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7725e118012d463cc0068eb060004701672c..."} 
[2026-07-19 03:05:15] local.INFO: Processing buffer {"connection_id":136261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7725e118012d463cc0068eb060004701672c..."} 
[2026-07-19 03:05:15] local.INFO: Packet analysis {"connection_id":136261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7725"} 
[2026-07-19 03:05:15] local.INFO: Extracted packet for processing {"connection_id":136261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7725"} 
[2026-07-19 03:05:15] local.INFO: GPS Element Parsed {"raw_longitude":759577792,"raw_latitude":110014560,"longitude_deg":75.9577792,"latitude_deg":11.001456,"altitude":71,"angle":359,"satellites":44,"speed":67,"hex_longitude":"2d463cc0","hex_latitude":"068eb060","is_valid_coordinates":true} 
[2026-07-19 03:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809060608001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352184105636462592,"note":"Value kept but may cause issues"} 
[2026-07-19 03:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5061412690628042752,"note":"Value kept but may cause issues"} 
[2026-07-19 03:05:15] 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-07-19 03:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784410399000,"timestamp_ms":1784410399000,"timestamp_seconds":1784410399,"priority":1,"record_length":96,"hex_timestamp":"0000019f7725e118"} 
[2026-07-19 03:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 03:05:15] 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-07-19 03:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":136261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":136261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":136261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:05:15] 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-07-19 03:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809060608001,"66":27234,"48":206,"86":48896,"24":67,"16":352184105636462592,"45":5061412690628042752},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-07-19 03:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809060608001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:05:15] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-19 03:05:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 03:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352184105636462592,"km_value":352184105636462.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5061412690628042752,"description":"Unknown IO ID 45"} 
[2026-07-19 03:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809060608001,"power":27234,"unknown_48":206,"unknown_86":48896,"ignition":67,"odometer":null,"unknown_45":5061412690628042752}} 
[2026-07-19 03:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":136261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:05:15] local.INFO: GPS data processed {"connection_id":136261,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:05:15] local.INFO: Acknowledgment sent {"connection_id":136261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:05:49] local.INFO: TCP Data received {"connection_id":136261,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f77272938012d45928006903e70003e01382f..."} 
[2026-07-19 03:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77272938012d45928006903e70003e01382f..."} 
[2026-07-19 03:05:49] local.INFO: Processing buffer {"connection_id":136261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77272938012d45928006903e70003e01382f..."} 
[2026-07-19 03:05:49] local.INFO: Packet analysis {"connection_id":136261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7727"} 
[2026-07-19 03:05:49] local.INFO: Extracted packet for processing {"connection_id":136261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7727"} 
[2026-07-19 03:05:49] local.INFO: GPS Element Parsed {"raw_longitude":759534208,"raw_latitude":110116464,"longitude_deg":75.9534208,"latitude_deg":11.0116464,"altitude":62,"angle":312,"satellites":47,"speed":43,"hex_longitude":"2d459280","hex_latitude":"06903e70","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809081600001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352189598899634176,"note":"Value kept but may cause issues"} 
[2026-07-19 03:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5020458081543591936,"note":"Value kept but may cause issues"} 
[2026-07-19 03:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784410483000,"timestamp_ms":1784410483000,"timestamp_seconds":1784410483,"priority":1,"record_length":96,"hex_timestamp":"0000019f77272938"} 
[2026-07-19 03:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 03:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03: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-07-19 03:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":136261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":136261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":136261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:05:49] 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-07-19 03:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809081600001,"66":27310,"171":206,"86":48896,"24":43,"16":352189598899634176,"45":5020458081543591936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,86,24,16,45]} 
[2026-07-19 03:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809081600001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:05:49] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-19 03:05:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 03:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352189598899634176,"km_value":352189598899634.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5020458081543591936,"description":"Unknown IO ID 45"} 
[2026-07-19 03:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809081600001,"power":27310,"unknown_171":206,"unknown_86":48896,"ignition":43,"odometer":null,"unknown_45":5020458081543591936}} 
[2026-07-19 03:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":136261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:05:49] local.INFO: GPS data processed {"connection_id":136261,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:05:49] local.INFO: Acknowledgment sent {"connection_id":136261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:06:42] local.INFO: TCP Data received {"connection_id":137187,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:06:42] local.INFO: Processing buffer {"connection_id":137187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:06:42] local.INFO: IMEI packet received {"connection_id":137187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":137187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:06:50] local.INFO: TCP Data received {"connection_id":137187,"ip":"42.106.6.27","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 03:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137187,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 03:06:50] local.INFO: Processing buffer {"connection_id":137187,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 03:06:50] local.INFO: IMEI packet received {"connection_id":137187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":137187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:06:52] local.INFO: TCP Data received {"connection_id":137187,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:06:52] local.INFO: Processing buffer {"connection_id":137187,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 03:06:52] local.INFO: IMEI packet received {"connection_id":137187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":137187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:06:53] local.INFO: TCP Data received {"connection_id":137187,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f77274c60012d45768006905600003e01362d..."} 
[2026-07-19 03:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77274c60012d45768006905600003e01362d..."} 
[2026-07-19 03:06:53] local.INFO: Processing buffer {"connection_id":137187,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f77..."} 
[2026-07-19 03:06:53] local.INFO: IMEI packet received {"connection_id":137187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":137187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:06:54] local.INFO: TCP Data received {"connection_id":137187,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f77277370012d455a8006906f58003f013a2d..."} 
[2026-07-19 03:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77277370012d455a8006906f58003f013a2d..."} 
[2026-07-19 03:06:54] local.INFO: Processing buffer {"connection_id":137187,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f77274c60012d45768006905600003e01362d..."} 
[2026-07-19 03:06:54] local.INFO: Packet analysis {"connection_id":137187,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f7727"} 
[2026-07-19 03:06:54] local.INFO: Extracted packet for processing {"connection_id":137187,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7727"} 
[2026-07-19 03:06:54] local.INFO: GPS Element Parsed {"raw_longitude":759527040,"raw_latitude":110122496,"longitude_deg":75.952704,"latitude_deg":11.0122496,"altitude":62,"angle":310,"satellites":45,"speed":39,"hex_longitude":"2d457680","hex_latitude":"06905600","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809083648001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352190049871200256,"note":"Value kept but may cause issues"} 
[2026-07-19 03:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5013210100894953472,"note":"Value kept but may cause issues"} 
[2026-07-19 03:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784410492000,"timestamp_ms":1784410492000,"timestamp_seconds":1784410492,"priority":1,"record_length":96,"hex_timestamp":"0000019f77274c60"} 
[2026-07-19 03:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-19 03:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03: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-07-19 03:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":137187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":137187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":137187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809083648001,"66":27397,"171":206,"86":48896,"24":39,"16":352190049871200256,"45":5013210100894953472},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,86,24,16,45]} 
[2026-07-19 03:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809083648001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:06:54] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-19 03:06:54] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 03:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352190049871200256,"km_value":352190049871200.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5013210100894953472,"description":"Unknown IO ID 45"} 
[2026-07-19 03:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809083648001,"power":27397,"unknown_171":206,"unknown_86":48896,"ignition":39,"odometer":null,"unknown_45":5013210100894953472}} 
[2026-07-19 03:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":137187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:06:54] local.INFO: GPS data processed {"connection_id":137187,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:06:54] local.INFO: Acknowledgment sent {"connection_id":137187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:06:54] local.INFO: Packet analysis {"connection_id":137187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7727"} 
[2026-07-19 03:06:54] local.INFO: Extracted packet for processing {"connection_id":137187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7727"} 
[2026-07-19 03:06:54] local.INFO: GPS Element Parsed {"raw_longitude":759519872,"raw_latitude":110128984,"longitude_deg":75.9519872,"latitude_deg":11.0128984,"altitude":63,"angle":314,"satellites":45,"speed":37,"hex_longitude":"2d455a80","hex_latitude":"06906f58","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809085952001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352190513727668224,"note":"Value kept but may cause issues"} 
[2026-07-19 03:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5005328801548599296,"note":"Value kept but may cause issues"} 
[2026-07-19 03:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784410502000,"timestamp_ms":1784410502000,"timestamp_seconds":1784410502,"priority":1,"record_length":96,"hex_timestamp":"0000019f77277370"} 
[2026-07-19 03:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-19 03:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03: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-07-19 03:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":137187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":137187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":137187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809085952001,"66":27300,"171":206,"86":48896,"24":37,"16":352190513727668224,"45":5005328801548599296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,86,24,16,45]} 
[2026-07-19 03:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809085952001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:06:54] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-19 03:06:54] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-19 03:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352190513727668224,"km_value":352190513727668.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5005328801548599296,"description":"Unknown IO ID 45"} 
[2026-07-19 03:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809085952001,"power":27300,"unknown_171":206,"unknown_86":48896,"ignition":37,"odometer":null,"unknown_45":5005328801548599296}} 
[2026-07-19 03:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":137187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:06:54] local.INFO: GPS data processed {"connection_id":137187,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:06:54] local.INFO: Acknowledgment sent {"connection_id":137187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:07:26] local.INFO: TCP Data received {"connection_id":138586,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:07:26] local.INFO: Processing buffer {"connection_id":138586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:07:26] local.INFO: IMEI packet received {"connection_id":138586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":138586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:07:27] local.INFO: TCP Data received {"connection_id":138586,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:07:27] local.INFO: Processing buffer {"connection_id":138586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:07:27] local.INFO: IMEI packet received {"connection_id":138586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":138586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:07:30] local.INFO: TCP Data received {"connection_id":138586,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:07:30] local.INFO: Processing buffer {"connection_id":138586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:07:30] local.INFO: IMEI packet received {"connection_id":138586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":138586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:07:32] local.INFO: TCP Data received {"connection_id":138586,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f772905c8012d44a00006926d580026014a2d..."} 
[2026-07-19 03:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f772905c8012d44a00006926d580026014a2d..."} 
[2026-07-19 03:07:32] local.INFO: Processing buffer {"connection_id":138586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f772905c8012d44a00006926d580026014a2d..."} 
[2026-07-19 03:07:32] local.INFO: Packet analysis {"connection_id":138586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7729"} 
[2026-07-19 03:07:32] local.INFO: Extracted packet for processing {"connection_id":138586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7729"} 
[2026-07-19 03:07:32] local.INFO: GPS Element Parsed {"raw_longitude":759472128,"raw_latitude":110259544,"longitude_deg":75.9472128,"latitude_deg":11.0259544,"altitude":38,"angle":330,"satellites":45,"speed":60,"hex_longitude":"2d44a000","hex_latitude":"06926d58","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809113856001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352197420035080192,"note":"Value kept but may cause issues"} 
[2026-07-19 03:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4947696800100739072,"note":"Value kept but may cause issues"} 
[2026-07-19 03:07:32] 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-07-19 03:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784410605000,"timestamp_ms":1784410605000,"timestamp_seconds":1784410605,"priority":1,"record_length":96,"hex_timestamp":"0000019f772905c8"} 
[2026-07-19 03:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:07: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-07-19 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 03:07: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-07-19 03: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-07-19 03:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":138586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":138586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":138586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:07: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-07-19 03:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809113856001,"66":27376,"142":206,"86":48640,"24":60,"16":352197420035080192,"45":4947696800100739072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-07-19 03:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809113856001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:07:32] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-19 03:07:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-07-19 03:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352197420035080192,"km_value":352197420035080.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4947696800100739072,"description":"Unknown IO ID 45"} 
[2026-07-19 03:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809113856001,"power":27376,"unknown_142":206,"unknown_86":48640,"ignition":60,"odometer":null,"unknown_45":4947696800100739072}} 
[2026-07-19 03:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":138586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:07:32] local.INFO: GPS data processed {"connection_id":138586,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:07:32] local.INFO: Acknowledgment sent {"connection_id":138586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:07:33] local.INFO: TCP Data received {"connection_id":138586,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77291180012d44958006927bd80025013f2e..."} 
[2026-07-19 03:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77291180012d44958006927bd80025013f2e..."} 
[2026-07-19 03:07:33] local.INFO: Processing buffer {"connection_id":138586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77291180012d44958006927bd80025013f2e..."} 
[2026-07-19 03:07:33] local.INFO: Packet analysis {"connection_id":138586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7729"} 
[2026-07-19 03:07:33] local.INFO: Extracted packet for processing {"connection_id":138586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7729"} 
[2026-07-19 03:07:33] local.INFO: GPS Element Parsed {"raw_longitude":759469440,"raw_latitude":110263256,"longitude_deg":75.946944,"latitude_deg":11.0263256,"altitude":37,"angle":319,"satellites":46,"speed":60,"hex_longitude":"2d449580","hex_latitude":"06927bd8","is_valid_coordinates":true} 
[2026-07-19 03:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809114880001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352197639078412288,"note":"Value kept but may cause issues"} 
[2026-07-19 03:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4944952419079247872,"note":"Value kept but may cause issues"} 
[2026-07-19 03:07:33] 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-07-19 03:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784410608000,"timestamp_ms":1784410608000,"timestamp_seconds":1784410608,"priority":1,"record_length":96,"hex_timestamp":"0000019f77291180"} 
[2026-07-19 03:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03: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-07-19 03:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-19 03:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":138586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":138586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":138586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:07: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-07-19 03:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809114880001,"66":27321,"142":206,"86":48640,"24":60,"16":352197639078412288,"45":4944952419079247872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-07-19 03:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809114880001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:07:33] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-19 03:07:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-07-19 03:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352197639078412288,"km_value":352197639078412.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4944952419079247872,"description":"Unknown IO ID 45"} 
[2026-07-19 03:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809114880001,"power":27321,"unknown_142":206,"unknown_86":48640,"ignition":60,"odometer":null,"unknown_45":4944952419079247872}} 
[2026-07-19 03:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":138586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:07:33] local.INFO: GPS data processed {"connection_id":138586,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:07:33] local.INFO: Acknowledgment sent {"connection_id":138586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:08:05] local.INFO: TCP Data received {"connection_id":138586,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77292120012d44840006928b70002401312e..."} 
[2026-07-19 03:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77292120012d44840006928b70002401312e..."} 
[2026-07-19 03:08:05] local.INFO: Processing buffer {"connection_id":138586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77292120012d44840006928b70002401312e..."} 
[2026-07-19 03:08:05] local.INFO: Packet analysis {"connection_id":138586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7729"} 
[2026-07-19 03:08:05] local.INFO: Extracted packet for processing {"connection_id":138586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7729"} 
[2026-07-19 03:08:05] local.INFO: GPS Element Parsed {"raw_longitude":759464960,"raw_latitude":110267248,"longitude_deg":75.946496,"latitude_deg":11.0267248,"altitude":36,"angle":305,"satellites":46,"speed":59,"hex_longitude":"2d448400","hex_latitude":"06928b70","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809115648001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352197931136188416,"note":"Value kept but may cause issues"} 
[2026-07-19 03:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4941996931824736256,"note":"Value kept but may cause issues"} 
[2026-07-19 03:08:05] 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-07-19 03:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784410612000,"timestamp_ms":1784410612000,"timestamp_seconds":1784410612,"priority":1,"record_length":96,"hex_timestamp":"0000019f77292120"} 
[2026-07-19 03:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:08: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-07-19 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 03:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03: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-07-19 03:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":138586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":138586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":138586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:08: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-07-19 03:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809115648001,"66":27332,"142":206,"86":48640,"24":59,"16":352197931136188416,"45":4941996931824736256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-07-19 03:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809115648001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:08:05] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-19 03:08:05] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-07-19 03:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352197931136188416,"km_value":352197931136188.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4941996931824736256,"description":"Unknown IO ID 45"} 
[2026-07-19 03:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809115648001,"power":27332,"unknown_142":206,"unknown_86":48640,"ignition":59,"odometer":null,"unknown_45":4941996931824736256}} 
[2026-07-19 03:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":138586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:08:05] local.INFO: GPS data processed {"connection_id":138586,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:08:05] local.INFO: Acknowledgment sent {"connection_id":138586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:08:32] local.INFO: TCP Data received {"connection_id":138588,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:08:32] local.INFO: Processing buffer {"connection_id":138588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:08:32] local.INFO: IMEI packet received {"connection_id":138588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":138588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:08:35] local.INFO: TCP Data received {"connection_id":138588,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:08:35] local.INFO: Processing buffer {"connection_id":138588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:08:35] local.INFO: IMEI packet received {"connection_id":138588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":138588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:08:36] local.INFO: TCP Data received {"connection_id":138588,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f772934a8012d446ac006929938002401242b..."} 
[2026-07-19 03:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f772934a8012d446ac006929938002401242b..."} 
[2026-07-19 03:08:36] local.INFO: Processing buffer {"connection_id":138588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f772934a8012d446ac006929938002401242b..."} 
[2026-07-19 03:08:36] local.INFO: Packet analysis {"connection_id":138588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7729"} 
[2026-07-19 03:08:36] local.INFO: Extracted packet for processing {"connection_id":138588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7729"} 
[2026-07-19 03:08:36] local.INFO: GPS Element Parsed {"raw_longitude":759458496,"raw_latitude":110270776,"longitude_deg":75.9458496,"latitude_deg":11.0270776,"altitude":36,"angle":292,"satellites":43,"speed":56,"hex_longitude":"2d446ac0","hex_latitude":"06929938","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809116672001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352198283323506688,"note":"Value kept but may cause issues"} 
[2026-07-19 03:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4937071119733321728,"note":"Value kept but may cause issues"} 
[2026-07-19 03:08:36] 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-07-19 03:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784410617000,"timestamp_ms":1784410617000,"timestamp_seconds":1784410617,"priority":1,"record_length":96,"hex_timestamp":"0000019f772934a8"} 
[2026-07-19 03:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-19 03:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03: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-07-19 03:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":138588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":138588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":138588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:08: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-07-19 03:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809116672001,"66":27332,"142":206,"86":48640,"24":56,"16":352198283323506688,"45":4937071119733321728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-07-19 03:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809116672001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:08:36] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-19 03:08:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-07-19 03:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352198283323506688,"km_value":352198283323506.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4937071119733321728,"description":"Unknown IO ID 45"} 
[2026-07-19 03:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809116672001,"power":27332,"unknown_142":206,"unknown_86":48640,"ignition":56,"odometer":null,"unknown_45":4937071119733321728}} 
[2026-07-19 03:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":138588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:08:36] local.INFO: GPS data processed {"connection_id":138588,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:08:36] local.INFO: Acknowledgment sent {"connection_id":138588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:09:07] local.INFO: TCP Data received {"connection_id":138588,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77295000012d4447400692a750002401232c..."} 
[2026-07-19 03:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77295000012d4447400692a750002401232c..."} 
[2026-07-19 03:09:07] local.INFO: Processing buffer {"connection_id":138588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77295000012d4447400692a750002401232c..."} 
[2026-07-19 03:09:07] local.INFO: Packet analysis {"connection_id":138588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7729"} 
[2026-07-19 03:09:07] local.INFO: Extracted packet for processing {"connection_id":138588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7729"} 
[2026-07-19 03:09:07] local.INFO: GPS Element Parsed {"raw_longitude":759449408,"raw_latitude":110274384,"longitude_deg":75.9449408,"latitude_deg":11.0274384,"altitude":36,"angle":291,"satellites":44,"speed":54,"hex_longitude":"2d444740","hex_latitude":"0692a750","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809117952001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352198751474941952,"note":"Value kept but may cause issues"} 
[2026-07-19 03:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4929963876572280832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784410624000,"timestamp_ms":1784410624000,"timestamp_seconds":1784410624,"priority":1,"record_length":96,"hex_timestamp":"0000019f77295000"} 
[2026-07-19 03:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:09: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-07-19 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-19 03:09:07] 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-07-19 03: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-07-19 03:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":138588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":138588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":138588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:09: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-07-19 03:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809117952001,"66":27332,"143":206,"86":48640,"24":54,"16":352198751474941952,"45":4929963876572280832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,86,24,16,45]} 
[2026-07-19 03:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809117952001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:09:07] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-19 03:09:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-07-19 03:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352198751474941952,"km_value":352198751474941.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4929963876572280832,"description":"Unknown IO ID 45"} 
[2026-07-19 03:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809117952001,"power":27332,"unknown_143":206,"unknown_86":48640,"ignition":54,"odometer":null,"unknown_45":4929963876572280832}} 
[2026-07-19 03:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":138588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:09:07] local.INFO: GPS data processed {"connection_id":138588,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:09:07] local.INFO: Acknowledgment sent {"connection_id":138588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:09:32] local.INFO: TCP Data received {"connection_id":137190,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:09:32] local.INFO: Processing buffer {"connection_id":137190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:09:32] local.INFO: IMEI packet received {"connection_id":137190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":137190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:09:33] local.INFO: TCP Data received {"connection_id":137190,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:09:33] local.INFO: Processing buffer {"connection_id":137190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:09:33] local.INFO: IMEI packet received {"connection_id":137190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":137190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:09:37] local.INFO: TCP Data received {"connection_id":137190,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:09:37] local.INFO: Processing buffer {"connection_id":137190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:09:37] local.INFO: IMEI packet received {"connection_id":137190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":137190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:09:38] local.INFO: TCP Data received {"connection_id":137190,"ip":"42.106.6.14","data_length":93,"data_hex":"00000000000000518e010000019f772a9438012d434bc00693b9a0001e01442c..."} 
[2026-07-19 03:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137190,"packet_length":93,"packet_hex":"00000000000000518e010000019f772a9438012d434bc00693b9a0001e01442c..."} 
[2026-07-19 03:09:38] local.INFO: Processing buffer {"connection_id":137190,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f772a9438012d434bc00693b9a0001e01442c..."} 
[2026-07-19 03:09:38] local.INFO: Packet analysis {"connection_id":137190,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f772a"} 
[2026-07-19 03:09:38] local.INFO: Extracted packet for processing {"connection_id":137190,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f772a"} 
[2026-07-19 03:09:38] local.INFO: GPS Element Parsed {"raw_longitude":759385024,"raw_latitude":110344608,"longitude_deg":75.9385024,"latitude_deg":11.0344608,"altitude":30,"angle":324,"satellites":44,"speed":62,"hex_longitude":"2d434bc0","hex_latitude":"0693b9a0","is_valid_coordinates":true} 
[2026-07-19 03:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-19 03:09:38] 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-07-19 03:09:38] 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-07-19 03:09:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:09:38] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-19 03:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137190,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-19 03:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137190,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-19 03:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137190,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-19 03:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-19 03:09:38] local.WARNING: DEBUG: No valid data to process  
[2026-07-19 03:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":137190,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-19 03:09:38] local.ERROR: GPS data processing failed {"connection_id":137190,"error":"No valid data to process"} 
[2026-07-19 03:09:38] local.INFO: Acknowledgment sent {"connection_id":137190,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-19 03:09:58] local.INFO: TCP Data received {"connection_id":137189,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:09:58] local.INFO: Processing buffer {"connection_id":137189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:09:58] local.INFO: IMEI packet received {"connection_id":137189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 03:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":137189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:10:09] local.INFO: TCP Data received {"connection_id":137190,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f772aaba8012d4336000693d840001c01462c..."} 
[2026-07-19 03:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f772aaba8012d4336000693d840001c01462c..."} 
[2026-07-19 03:10:09] local.INFO: Processing buffer {"connection_id":137190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f772aaba8012d4336000693d840001c01462c..."} 
[2026-07-19 03:10:09] local.INFO: Packet analysis {"connection_id":137190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f772a"} 
[2026-07-19 03:10:09] local.INFO: Extracted packet for processing {"connection_id":137190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f772a"} 
[2026-07-19 03:10:09] local.INFO: GPS Element Parsed {"raw_longitude":759379456,"raw_latitude":110352448,"longitude_deg":75.9379456,"latitude_deg":11.0352448,"altitude":28,"angle":326,"satellites":44,"speed":63,"hex_longitude":"2d433600","hex_latitude":"0693d840","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809140992001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352203935500468224,"note":"Value kept but may cause issues"} 
[2026-07-19 03:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4849180558275223552,"note":"Value kept but may cause issues"} 
[2026-07-19 03:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784410713000,"timestamp_ms":1784410713000,"timestamp_seconds":1784410713,"priority":1,"record_length":96,"hex_timestamp":"0000019f772aaba8"} 
[2026-07-19 03:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-19 03:10:09] 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-07-19 03: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-07-19 03:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:10: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-07-19 03:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809140992001,"66":27267,"197":206,"86":48640,"24":63,"16":352203935500468224,"45":4849180558275223552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,86,24,16,45]} 
[2026-07-19 03:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809140992001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:10:09] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 03:10:09] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-07-19 03:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352203935500468224,"km_value":352203935500468.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4849180558275223552,"description":"Unknown IO ID 45"} 
[2026-07-19 03:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809140992001,"power":27267,"unknown_197":206,"unknown_86":48640,"ignition":63,"odometer":null,"unknown_45":4849180558275223552}} 
[2026-07-19 03:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":137190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:10:09] local.INFO: GPS data processed {"connection_id":137190,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:10:09] local.INFO: Acknowledgment sent {"connection_id":137190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:10:28] local.INFO: TCP Data received {"connection_id":136136,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:10:28] local.INFO: Processing buffer {"connection_id":136136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:10:28] local.INFO: IMEI packet received {"connection_id":136136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 03:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":136136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:10:32] local.INFO: TCP Data received {"connection_id":136262,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:10:32] local.INFO: Processing buffer {"connection_id":136262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:10:32] local.INFO: IMEI packet received {"connection_id":136262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":136262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:10:37] local.INFO: TCP Data received {"connection_id":136262,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:10:37] local.INFO: Processing buffer {"connection_id":136262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:10:37] local.INFO: IMEI packet received {"connection_id":136262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":136262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:10:38] local.INFO: TCP Data received {"connection_id":136262,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f772b9220012d43840006951ff8000f00112e..."} 
[2026-07-19 03:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f772b9220012d43840006951ff8000f00112e..."} 
[2026-07-19 03:10:38] local.INFO: Processing buffer {"connection_id":136262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f772b9220012d43840006951ff8000f00112e..."} 
[2026-07-19 03:10:38] local.INFO: Packet analysis {"connection_id":136262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f772b"} 
[2026-07-19 03:10:38] local.INFO: Extracted packet for processing {"connection_id":136262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f772b"} 
[2026-07-19 03:10:38] local.INFO: GPS Element Parsed {"raw_longitude":759399424,"raw_latitude":110436344,"longitude_deg":75.9399424,"latitude_deg":11.0436344,"altitude":15,"angle":17,"satellites":46,"speed":53,"hex_longitude":"2d438400","hex_latitude":"06951ff8","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809155840001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352208264827502592,"note":"Value kept but may cause issues"} 
[2026-07-19 03:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4861706194759981056,"note":"Value kept but may cause issues"} 
[2026-07-19 03:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784410772000,"timestamp_ms":1784410772000,"timestamp_seconds":1784410772,"priority":1,"record_length":96,"hex_timestamp":"0000019f772b9220"} 
[2026-07-19 03:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-19 03:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03: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-07-19 03:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:10: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-07-19 03:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809155840001,"66":27365,"197":206,"86":48640,"24":53,"16":352208264827502592,"45":4861706194759981056},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,86,24,16,45]} 
[2026-07-19 03:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809155840001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:10:38] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 03:10:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-07-19 03:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352208264827502592,"km_value":352208264827502.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4861706194759981056,"description":"Unknown IO ID 45"} 
[2026-07-19 03:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809155840001,"power":27365,"unknown_197":206,"unknown_86":48640,"ignition":53,"odometer":null,"unknown_45":4861706194759981056}} 
[2026-07-19 03:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":136262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:10:38] local.INFO: GPS data processed {"connection_id":136262,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:10:38] local.INFO: Acknowledgment sent {"connection_id":136262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:11:32] local.INFO: TCP Data received {"connection_id":136263,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:11:32] local.INFO: Processing buffer {"connection_id":136263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:11:32] local.INFO: IMEI packet received {"connection_id":136263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":136263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:11:32] local.INFO: TCP Data received {"connection_id":136263,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:11:32] local.INFO: Processing buffer {"connection_id":136263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:11:32] local.INFO: IMEI packet received {"connection_id":136263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":136263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:11:38] local.INFO: TCP Data received {"connection_id":136263,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:11:38] local.INFO: Processing buffer {"connection_id":136263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:11:38] local.INFO: IMEI packet received {"connection_id":136263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":136263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:11:39] local.INFO: TCP Data received {"connection_id":136263,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f772c4da0012d4368400695c9f8001501412d..."} 
[2026-07-19 03:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f772c4da0012d4368400695c9f8001501412d..."} 
[2026-07-19 03:11:39] local.INFO: Processing buffer {"connection_id":136263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f772c4da0012d4368400695c9f8001501412d..."} 
[2026-07-19 03:11:39] local.INFO: Packet analysis {"connection_id":136263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f772c"} 
[2026-07-19 03:11:39] local.INFO: Extracted packet for processing {"connection_id":136263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f772c"} 
[2026-07-19 03:11:39] local.INFO: GPS Element Parsed {"raw_longitude":759392320,"raw_latitude":110479864,"longitude_deg":75.939232,"latitude_deg":11.0479864,"altitude":21,"angle":321,"satellites":45,"speed":34,"hex_longitude":"2d436840","hex_latitude":"0695c9f8","is_valid_coordinates":true} 
[2026-07-19 03:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809167104001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352210528275267584,"note":"Value kept but may cause issues"} 
[2026-07-19 03:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4862972832166774784,"note":"Value kept but may cause issues"} 
[2026-07-19 03:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784410820000,"timestamp_ms":1784410820000,"timestamp_seconds":1784410820,"priority":1,"record_length":96,"hex_timestamp":"0000019f772c4da0"} 
[2026-07-19 03:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:11: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-07-19 03:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-19 03:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809167104001,"66":27463,"28":206,"81":47616,"24":34,"16":352210528275267584,"45":4862972832166774784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-07-19 03:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809167104001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:11:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-19 03:11:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352210528275267584,"km_value":352210528275267.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4862972832166774784,"description":"Unknown IO ID 45"} 
[2026-07-19 03:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809167104001,"power":27463,"unknown_28":206,"unknown_81":47616,"ignition":34,"odometer":null,"unknown_45":4862972832166774784}} 
[2026-07-19 03:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":136263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:11:39] local.INFO: GPS data processed {"connection_id":136263,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:11:39] local.INFO: Acknowledgment sent {"connection_id":136263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:11:40] local.INFO: TCP Data received {"connection_id":136263,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f772c74b0012d4351800695e880001301442f..."} 
[2026-07-19 03:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f772c74b0012d4351800695e880001301442f..."} 
[2026-07-19 03:11:40] local.INFO: Processing buffer {"connection_id":136263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f772c74b0012d4351800695e880001301442f..."} 
[2026-07-19 03:11:40] local.INFO: Packet analysis {"connection_id":136263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f772c"} 
[2026-07-19 03:11:40] local.INFO: Extracted packet for processing {"connection_id":136263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f772c"} 
[2026-07-19 03:11:40] local.INFO: GPS Element Parsed {"raw_longitude":759386496,"raw_latitude":110487680,"longitude_deg":75.9386496,"latitude_deg":11.048768,"altitude":19,"angle":324,"satellites":47,"speed":42,"hex_longitude":"2d435180","hex_latitude":"0695e880","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809169920001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352210996426702848,"note":"Value kept but may cause issues"} 
[2026-07-19 03:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4857202595146102784,"note":"Value kept but may cause issues"} 
[2026-07-19 03:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784410830000,"timestamp_ms":1784410830000,"timestamp_seconds":1784410830,"priority":1,"record_length":96,"hex_timestamp":"0000019f772c74b0"} 
[2026-07-19 03:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-19 03:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03: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-07-19 03:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":136263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":136263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":136263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809169920001,"66":27180,"28":206,"81":47616,"24":42,"16":352210996426702848,"45":4857202595146102784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-07-19 03:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809169920001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:11:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-19 03:11:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352210996426702848,"km_value":352210996426702.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":4857202595146102784,"description":"Unknown IO ID 45"} 
[2026-07-19 03:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809169920001,"power":27180,"unknown_28":206,"unknown_81":47616,"ignition":42,"odometer":null,"unknown_45":4857202595146102784}} 
[2026-07-19 03:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":136263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:11:40] local.INFO: GPS data processed {"connection_id":136263,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:11:40] local.INFO: Acknowledgment sent {"connection_id":136263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:12:12] local.INFO: TCP Data received {"connection_id":136263,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f772c93f0012d433b0006960628001101432e..."} 
[2026-07-19 03:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f772c93f0012d433b0006960628001101432e..."} 
[2026-07-19 03:12:12] local.INFO: Processing buffer {"connection_id":136263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f772c93f0012d433b0006960628001101432e..."} 
[2026-07-19 03:12:12] local.INFO: Packet analysis {"connection_id":136263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f772c"} 
[2026-07-19 03:12:12] local.INFO: Extracted packet for processing {"connection_id":136263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f772c"} 
[2026-07-19 03:12:12] local.INFO: GPS Element Parsed {"raw_longitude":759380736,"raw_latitude":110495272,"longitude_deg":75.9380736,"latitude_deg":11.0495272,"altitude":17,"angle":323,"satellites":46,"speed":53,"hex_longitude":"2d433b00","hex_latitude":"06960628","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809172480001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352211455988203520,"note":"Value kept but may cause issues"} 
[2026-07-19 03:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4850799039427936256,"note":"Value kept but may cause issues"} 
[2026-07-19 03:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784410838000,"timestamp_ms":1784410838000,"timestamp_seconds":1784410838,"priority":1,"record_length":96,"hex_timestamp":"0000019f772c93f0"} 
[2026-07-19 03:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-19 03:12:12] 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-07-19 03: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-07-19 03:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":136263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":136263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":136263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809172480001,"66":27234,"28":206,"81":47616,"24":53,"16":352211455988203520,"45":4850799039427936256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-07-19 03:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809172480001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:12:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-19 03:12:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352211455988203520,"km_value":352211455988203.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4850799039427936256,"description":"Unknown IO ID 45"} 
[2026-07-19 03:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809172480001,"power":27234,"unknown_28":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4850799039427936256}} 
[2026-07-19 03:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":136263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:12:12] local.INFO: GPS data processed {"connection_id":136263,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:12:12] local.INFO: Acknowledgment sent {"connection_id":136263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:12:32] local.INFO: TCP Data received {"connection_id":138590,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:12:32] local.INFO: Processing buffer {"connection_id":138590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:12:32] local.INFO: IMEI packet received {"connection_id":138590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":138590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:12:33] local.INFO: TCP Data received {"connection_id":138590,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:12:33] local.INFO: Processing buffer {"connection_id":138590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:12:33] local.INFO: IMEI packet received {"connection_id":138590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":138590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:12:37] local.INFO: TCP Data received {"connection_id":138590,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:12:37] local.INFO: Processing buffer {"connection_id":138590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:12:37] local.INFO: IMEI packet received {"connection_id":138590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":138590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:12:38] local.INFO: TCP Data received {"connection_id":138590,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f772caf48012d43244006962460000e01432f..."} 
[2026-07-19 03:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f772caf48012d43244006962460000e01432f..."} 
[2026-07-19 03:12:38] local.INFO: Processing buffer {"connection_id":138590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f772caf48012d43244006962460000e01432f..."} 
[2026-07-19 03:12:38] local.INFO: Packet analysis {"connection_id":138590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f772c"} 
[2026-07-19 03:12:38] local.INFO: Extracted packet for processing {"connection_id":138590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f772c"} 
[2026-07-19 03:12:38] local.INFO: GPS Element Parsed {"raw_longitude":759374912,"raw_latitude":110503008,"longitude_deg":75.9374912,"latitude_deg":11.0503008,"altitude":14,"angle":323,"satellites":47,"speed":55,"hex_longitude":"2d432440","hex_latitude":"06962460","is_valid_coordinates":true} 
[2026-07-19 03:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809174528001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352211919844671488,"note":"Value kept but may cause issues"} 
[2026-07-19 03:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4844465852453890048,"note":"Value kept but may cause issues"} 
[2026-07-19 03:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784410845000,"timestamp_ms":1784410845000,"timestamp_seconds":1784410845,"priority":1,"record_length":96,"hex_timestamp":"0000019f772caf48"} 
[2026-07-19 03:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:12: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-07-19 03:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-19 03:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809174528001,"66":27267,"28":206,"81":47616,"24":55,"16":352211919844671488,"45":4844465852453890048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-07-19 03:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809174528001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:12:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-19 03:12:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352211919844671488,"km_value":352211919844671.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4844465852453890048,"description":"Unknown IO ID 45"} 
[2026-07-19 03:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809174528001,"power":27267,"unknown_28":206,"unknown_81":47616,"ignition":55,"odometer":null,"unknown_45":4844465852453890048}} 
[2026-07-19 03:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":138590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:12:38] local.INFO: GPS data processed {"connection_id":138590,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:12:38] local.INFO: Acknowledgment sent {"connection_id":138590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:12:43] local.INFO: TCP Data received {"connection_id":138590,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f772ccaa0012d430e40069642b0000c01462d..."} 
[2026-07-19 03:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f772ccaa0012d430e40069642b0000c01462d..."} 
[2026-07-19 03:12:43] local.INFO: Processing buffer {"connection_id":138590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f772ccaa0012d430e40069642b0000c01462d..."} 
[2026-07-19 03:12:43] local.INFO: Packet analysis {"connection_id":138590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f772c"} 
[2026-07-19 03:12:43] local.INFO: Extracted packet for processing {"connection_id":138590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f772c"} 
[2026-07-19 03:12:43] local.INFO: GPS Element Parsed {"raw_longitude":759369280,"raw_latitude":110510768,"longitude_deg":75.936928,"latitude_deg":11.0510768,"altitude":12,"angle":326,"satellites":45,"speed":53,"hex_longitude":"2d430e40","hex_latitude":"069642b0","is_valid_coordinates":true} 
[2026-07-19 03:12: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-07-19 03:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809176320001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352212383701139456,"note":"Value kept but may cause issues"} 
[2026-07-19 03:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4838062296735703040,"note":"Value kept but may cause issues"} 
[2026-07-19 03:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784410852000,"timestamp_ms":1784410852000,"timestamp_seconds":1784410852,"priority":1,"record_length":96,"hex_timestamp":"0000019f772ccaa0"} 
[2026-07-19 03:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 03:12:43] 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-07-19 03:12: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-07-19 03:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":138590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":138590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":138590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809176320001,"66":27300,"28":206,"81":47616,"24":53,"16":352212383701139456,"45":4838062296735703040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-07-19 03:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809176320001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:12:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-19 03:12:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352212383701139456,"km_value":352212383701139.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4838062296735703040,"description":"Unknown IO ID 45"} 
[2026-07-19 03:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809176320001,"power":27300,"unknown_28":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4838062296735703040}} 
[2026-07-19 03:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":138590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:12:43] local.INFO: GPS data processed {"connection_id":138590,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:12:43] local.INFO: Acknowledgment sent {"connection_id":138590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:13:15] local.INFO: TCP Data received {"connection_id":138590,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f772ce5f8012d42fd8006966148000d01512e..."} 
[2026-07-19 03:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f772ce5f8012d42fd8006966148000d01512e..."} 
[2026-07-19 03:13:15] local.INFO: Processing buffer {"connection_id":138590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f772ce5f8012d42fd8006966148000d01512e..."} 
[2026-07-19 03:13:15] local.INFO: Packet analysis {"connection_id":138590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f772c"} 
[2026-07-19 03:13:15] local.INFO: Extracted packet for processing {"connection_id":138590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f772c"} 
[2026-07-19 03:13:15] local.INFO: GPS Element Parsed {"raw_longitude":759364992,"raw_latitude":110518600,"longitude_deg":75.9364992,"latitude_deg":11.05186,"altitude":13,"angle":337,"satellites":46,"speed":48,"hex_longitude":"2d42fd80","hex_latitude":"06966148","is_valid_coordinates":true} 
[2026-07-19 03:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809178112001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352212817492836352,"note":"Value kept but may cause issues"} 
[2026-07-19 03:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4831869847250055168,"note":"Value kept but may cause issues"} 
[2026-07-19 03:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784410859000,"timestamp_ms":1784410859000,"timestamp_seconds":1784410859,"priority":1,"record_length":96,"hex_timestamp":"0000019f772ce5f8"} 
[2026-07-19 03:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-19 03:13:15] 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-07-19 03:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":138590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":138590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":138590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809178112001,"66":27213,"28":206,"81":47616,"24":48,"16":352212817492836352,"45":4831869847250055168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-07-19 03:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809178112001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:13:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-19 03:13:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352212817492836352,"km_value":352212817492836.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4831869847250055168,"description":"Unknown IO ID 45"} 
[2026-07-19 03:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809178112001,"power":27213,"unknown_28":206,"unknown_81":47616,"ignition":48,"odometer":null,"unknown_45":4831869847250055168}} 
[2026-07-19 03:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":138590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:13:15] local.INFO: GPS data processed {"connection_id":138590,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:13:15] local.INFO: Acknowledgment sent {"connection_id":138590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:13:32] local.INFO: TCP Data received {"connection_id":137191,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:13:32] local.INFO: Processing buffer {"connection_id":137191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:13:32] local.INFO: IMEI packet received {"connection_id":137191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":137191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:13:36] local.INFO: TCP Data received {"connection_id":137191,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:13:36] local.INFO: Processing buffer {"connection_id":137191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:13:36] local.INFO: IMEI packet received {"connection_id":137191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":137191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:13:37] local.INFO: TCP Data received {"connection_id":137191,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f772d0538012d42f30006968278000e01582e..."} 
[2026-07-19 03:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f772d0538012d42f30006968278000e01582e..."} 
[2026-07-19 03:13:37] local.INFO: Processing buffer {"connection_id":137191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f772d0538012d42f30006968278000e01582e..."} 
[2026-07-19 03:13:37] local.INFO: Packet analysis {"connection_id":137191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f772d"} 
[2026-07-19 03:13:37] local.INFO: Extracted packet for processing {"connection_id":137191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f772d"} 
[2026-07-19 03:13:37] local.INFO: GPS Element Parsed {"raw_longitude":759362304,"raw_latitude":110527096,"longitude_deg":75.9362304,"latitude_deg":11.0527096,"altitude":14,"angle":344,"satellites":46,"speed":41,"hex_longitude":"2d42f300","hex_latitude":"06968278","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809179904001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352213246989565952,"note":"Value kept but may cause issues"} 
[2026-07-19 03:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4827155141392156672,"note":"Value kept but may cause issues"} 
[2026-07-19 03:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784410867000,"timestamp_ms":1784410867000,"timestamp_seconds":1784410867,"priority":1,"record_length":96,"hex_timestamp":"0000019f772d0538"} 
[2026-07-19 03:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-19 03:13:37] 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-07-19 03: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-07-19 03:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809179904001,"66":27332,"28":206,"81":47616,"24":41,"16":352213246989565952,"45":4827155141392156672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-07-19 03:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809179904001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:13:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-19 03:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352213246989565952,"km_value":352213246989565.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4827155141392156672,"description":"Unknown IO ID 45"} 
[2026-07-19 03:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809179904001,"power":27332,"unknown_28":206,"unknown_81":47616,"ignition":41,"odometer":null,"unknown_45":4827155141392156672}} 
[2026-07-19 03:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":137191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:13:37] local.INFO: GPS data processed {"connection_id":137191,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:13:37] local.INFO: Acknowledgment sent {"connection_id":137191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:14:08] local.INFO: TCP Data received {"connection_id":137191,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f772ee1c8012d428f400697e090002d01242d..."} 
[2026-07-19 03:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f772ee1c8012d428f400697e090002d01242d..."} 
[2026-07-19 03:14:08] local.INFO: Processing buffer {"connection_id":137191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f772ee1c8012d428f400697e090002d01242d..."} 
[2026-07-19 03:14:08] local.INFO: Packet analysis {"connection_id":137191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f772e"} 
[2026-07-19 03:14:08] local.INFO: Extracted packet for processing {"connection_id":137191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f772e"} 
[2026-07-19 03:14:08] local.INFO: GPS Element Parsed {"raw_longitude":759336768,"raw_latitude":110616720,"longitude_deg":75.9336768,"latitude_deg":11.061672,"altitude":45,"angle":292,"satellites":45,"speed":37,"hex_longitude":"2d428f40","hex_latitude":"0697e090","is_valid_coordinates":true} 
[2026-07-19 03:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809211392001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352217971453591552,"note":"Value kept but may cause issues"} 
[2026-07-19 03:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4802526080954355712,"note":"Value kept but may cause issues"} 
[2026-07-19 03:14:08] 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-07-19 03:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784410989000,"timestamp_ms":1784410989000,"timestamp_seconds":1784410989,"priority":1,"record_length":96,"hex_timestamp":"0000019f772ee1c8"} 
[2026-07-19 03:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-19 03:14: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-07-19 03:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809211392001,"66":27463,"29":206,"81":47616,"24":37,"16":352217971453591552,"45":4802526080954355712},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-07-19 03:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809211392001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:14:08] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-19 03:14:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352217971453591552,"km_value":352217971453591.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4802526080954355712,"description":"Unknown IO ID 45"} 
[2026-07-19 03:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809211392001,"power":27463,"unknown_29":206,"unknown_81":47616,"ignition":37,"odometer":null,"unknown_45":4802526080954355712}} 
[2026-07-19 03:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":137191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:14:09] local.INFO: GPS data processed {"connection_id":137191,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:14:09] local.INFO: Acknowledgment sent {"connection_id":137191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:14:32] local.INFO: TCP Data received {"connection_id":138591,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:14:32] local.INFO: Processing buffer {"connection_id":138591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:14:32] local.INFO: IMEI packet received {"connection_id":138591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":138591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:14:37] local.INFO: TCP Data received {"connection_id":138591,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:14:37] local.INFO: Processing buffer {"connection_id":138591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:14:37] local.INFO: IMEI packet received {"connection_id":138591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":138591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:14:38] local.INFO: TCP Data received {"connection_id":138591,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f772f08d8012d426c000697ed90002b01222a..."} 
[2026-07-19 03:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f772f08d8012d426c000697ed90002b01222a..."} 
[2026-07-19 03:14:38] local.INFO: Processing buffer {"connection_id":138591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f772f08d8012d426c000697ed90002b01222a..."} 
[2026-07-19 03:14:38] local.INFO: Packet analysis {"connection_id":138591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f772f"} 
[2026-07-19 03:14:38] local.INFO: Extracted packet for processing {"connection_id":138591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f772f"} 
[2026-07-19 03:14:38] local.INFO: GPS Element Parsed {"raw_longitude":759327744,"raw_latitude":110620048,"longitude_deg":75.9327744,"latitude_deg":11.0620048,"altitude":43,"angle":290,"satellites":42,"speed":38,"hex_longitude":"2d426c00","hex_latitude":"0697ed90","is_valid_coordinates":true} 
[2026-07-19 03:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809213184001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352218431015092224,"note":"Value kept but may cause issues"} 
[2026-07-19 03:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4796122525234925568,"note":"Value kept but may cause issues"} 
[2026-07-19 03:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784410999000,"timestamp_ms":1784410999000,"timestamp_seconds":1784410999,"priority":1,"record_length":96,"hex_timestamp":"0000019f772f08d8"} 
[2026-07-19 03:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-19 03:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809213184001,"66":27267,"71":206,"81":47616,"24":38,"16":352218431015092224,"45":4796122525234925568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-07-19 03:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809213184001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:14:38] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-19 03:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352218431015092224,"km_value":352218431015092.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4796122525234925568,"description":"Unknown IO ID 45"} 
[2026-07-19 03:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809213184001,"power":27267,"unknown_71":206,"unknown_81":47616,"ignition":38,"odometer":null,"unknown_45":4796122525234925568}} 
[2026-07-19 03:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":138591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:14:38] local.INFO: GPS data processed {"connection_id":138591,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:14:38] local.INFO: Acknowledgment sent {"connection_id":138591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:15:09] local.INFO: TCP Data received {"connection_id":138591,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f772f2c00012d424a400697f9f8002901232c..."} 
[2026-07-19 03:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f772f2c00012d424a400697f9f8002901232c..."} 
[2026-07-19 03:15:09] local.INFO: Processing buffer {"connection_id":138591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f772f2c00012d424a400697f9f8002901232c..."} 
[2026-07-19 03:15:09] local.INFO: Packet analysis {"connection_id":138591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f772f"} 
[2026-07-19 03:15:09] local.INFO: Extracted packet for processing {"connection_id":138591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f772f"} 
[2026-07-19 03:15:09] local.INFO: GPS Element Parsed {"raw_longitude":759319104,"raw_latitude":110623224,"longitude_deg":75.9319104,"latitude_deg":11.0623224,"altitude":41,"angle":291,"satellites":44,"speed":42,"hex_longitude":"2d424a40","hex_latitude":"0697f9f8","is_valid_coordinates":true} 
[2026-07-19 03:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809215744001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352218873396723712,"note":"Value kept but may cause issues"} 
[2026-07-19 03:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4786200532306726912,"note":"Value kept but may cause issues"} 
[2026-07-19 03:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784411008000,"timestamp_ms":1784411008000,"timestamp_seconds":1784411008,"priority":1,"record_length":96,"hex_timestamp":"0000019f772f2c00"} 
[2026-07-19 03:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 03:15:09] 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-07-19 03:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809215744001,"66":27463,"71":206,"81":47616,"24":42,"16":352218873396723712,"45":4786200532306726912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-07-19 03:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809215744001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:15:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-19 03:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352218873396723712,"km_value":352218873396723.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4786200532306726912,"description":"Unknown IO ID 45"} 
[2026-07-19 03:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809215744001,"power":27463,"unknown_71":206,"unknown_81":47616,"ignition":42,"odometer":null,"unknown_45":4786200532306726912}} 
[2026-07-19 03:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":138591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:15:09] local.INFO: GPS data processed {"connection_id":138591,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:15:09] local.INFO: Acknowledgment sent {"connection_id":138591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:15:32] local.INFO: TCP Data received {"connection_id":136267,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:15:32] local.INFO: Processing buffer {"connection_id":136267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:15:32] local.INFO: IMEI packet received {"connection_id":136267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":136267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:15:34] local.INFO: TCP Data received {"connection_id":136267,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:15:34] local.INFO: Processing buffer {"connection_id":136267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:15:34] local.INFO: IMEI packet received {"connection_id":136267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":136267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:15:37] local.INFO: TCP Data received {"connection_id":136267,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:15:37] local.INFO: Processing buffer {"connection_id":136267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:15:37] local.INFO: IMEI packet received {"connection_id":136267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":136267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:15:39] local.INFO: TCP Data received {"connection_id":136267,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f772f4b40012d4227c006980620002601202a..."} 
[2026-07-19 03:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f772f4b40012d4227c006980620002601202a..."} 
[2026-07-19 03:15:39] local.INFO: Processing buffer {"connection_id":136267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f772f4b40012d4227c006980620002601202a..."} 
[2026-07-19 03:15:39] local.INFO: Packet analysis {"connection_id":136267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f772f"} 
[2026-07-19 03:15:39] local.INFO: Extracted packet for processing {"connection_id":136267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f772f"} 
[2026-07-19 03:15:39] local.INFO: GPS Element Parsed {"raw_longitude":759310272,"raw_latitude":110626336,"longitude_deg":75.9310272,"latitude_deg":11.0626336,"altitude":38,"angle":288,"satellites":42,"speed":48,"hex_longitude":"2d4227c0","hex_latitude":"06980620","is_valid_coordinates":true} 
[2026-07-19 03:15: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-07-19 03:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809218048001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352219315778355200,"note":"Value kept but may cause issues"} 
[2026-07-19 03:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4776700751843555328,"note":"Value kept but may cause issues"} 
[2026-07-19 03:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784411016000,"timestamp_ms":1784411016000,"timestamp_seconds":1784411016,"priority":1,"record_length":96,"hex_timestamp":"0000019f772f4b40"} 
[2026-07-19 03:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:15: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-07-19 03:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-19 03:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03:15: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-07-19 03:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809218048001,"66":27463,"71":206,"81":47616,"24":48,"16":352219315778355200,"45":4776700751843555328},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-07-19 03:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809218048001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:15:39] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-19 03:15:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352219315778355200,"km_value":352219315778355.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4776700751843555328,"description":"Unknown IO ID 45"} 
[2026-07-19 03:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809218048001,"power":27463,"unknown_71":206,"unknown_81":47616,"ignition":48,"odometer":null,"unknown_45":4776700751843555328}} 
[2026-07-19 03:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":136267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:15:39] local.INFO: GPS data processed {"connection_id":136267,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:15:39] local.INFO: Acknowledgment sent {"connection_id":136267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:15:53] local.INFO: TCP Data received {"connection_id":136266,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:15:53] local.INFO: Processing buffer {"connection_id":136266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:15:53] local.INFO: IMEI packet received {"connection_id":136266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 03:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":136266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:16:12] local.INFO: TCP Data received {"connection_id":136267,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f772f6a80012d420200069813c00023012229..."} 
[2026-07-19 03:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f772f6a80012d420200069813c00023012229..."} 
[2026-07-19 03:16:12] local.INFO: Processing buffer {"connection_id":136267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f772f6a80012d420200069813c00023012229..."} 
[2026-07-19 03:16:12] local.INFO: Packet analysis {"connection_id":136267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f772f"} 
[2026-07-19 03:16:12] local.INFO: Extracted packet for processing {"connection_id":136267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f772f"} 
[2026-07-19 03:16:12] local.INFO: GPS Element Parsed {"raw_longitude":759300608,"raw_latitude":110629824,"longitude_deg":75.9300608,"latitude_deg":11.0629824,"altitude":35,"angle":290,"satellites":41,"speed":52,"hex_longitude":"2d420200","hex_latitude":"069813c0","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809220096001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352219805404626944,"note":"Value kept but may cause issues"} 
[2026-07-19 03:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4766989865147834368,"note":"Value kept but may cause issues"} 
[2026-07-19 03:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784411024000,"timestamp_ms":1784411024000,"timestamp_seconds":1784411024,"priority":1,"record_length":96,"hex_timestamp":"0000019f772f6a80"} 
[2026-07-19 03:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-19 03:16:12] 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-07-19 03: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-07-19 03:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":136267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":136267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":136267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809220096001,"66":27376,"71":206,"81":47616,"24":52,"16":352219805404626944,"45":4766989865147834368},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-07-19 03:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809220096001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:16:12] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-19 03:16:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352219805404626944,"km_value":352219805404626.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4766989865147834368,"description":"Unknown IO ID 45"} 
[2026-07-19 03:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809220096001,"power":27376,"unknown_71":206,"unknown_81":47616,"ignition":52,"odometer":null,"unknown_45":4766989865147834368}} 
[2026-07-19 03:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":136267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:16:12] local.INFO: GPS data processed {"connection_id":136267,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:16:12] local.INFO: Acknowledgment sent {"connection_id":136267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:16:28] local.INFO: TCP Data received {"connection_id":136268,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136268,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:16:28] local.INFO: Processing buffer {"connection_id":136268,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:16:28] local.INFO: IMEI packet received {"connection_id":136268,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 03:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":136268,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:16:33] local.INFO: TCP Data received {"connection_id":136138,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:16:33] local.INFO: Processing buffer {"connection_id":136138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:16:33] local.INFO: IMEI packet received {"connection_id":136138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":136138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:16:38] local.INFO: TCP Data received {"connection_id":136138,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:16:38] local.INFO: Processing buffer {"connection_id":136138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:16:38] local.INFO: IMEI packet received {"connection_id":136138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":136138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:16:39] local.INFO: TCP Data received {"connection_id":136138,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:16:39] local.INFO: Processing buffer {"connection_id":136138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:16:39] local.INFO: IMEI packet received {"connection_id":136138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":136138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:16:40] local.INFO: TCP Data received {"connection_id":136138,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7730f120012d40a0800698f098002101332e..."} 
[2026-07-19 03:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7730f120012d40a0800698f098002101332e..."} 
[2026-07-19 03:16:40] local.INFO: Processing buffer {"connection_id":136138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7730f120012d40a0800698f098002101332e..."} 
[2026-07-19 03:16:40] local.INFO: Packet analysis {"connection_id":136138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7730"} 
[2026-07-19 03:16:40] local.INFO: Extracted packet for processing {"connection_id":136138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7730"} 
[2026-07-19 03:16:40] local.INFO: GPS Element Parsed {"raw_longitude":759210112,"raw_latitude":110686360,"longitude_deg":75.9210112,"latitude_deg":11.068636,"altitude":33,"angle":307,"satellites":46,"speed":39,"hex_longitude":"2d40a080","hex_latitude":"0698f098","is_valid_coordinates":true} 
[2026-07-19 03:16: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-07-19 03:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809245440001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352224920710676480,"note":"Value kept but may cause issues"} 
[2026-07-19 03:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4665025554848456704,"note":"Value kept but may cause issues"} 
[2026-07-19 03:16:40] 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-07-19 03:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784411124000,"timestamp_ms":1784411124000,"timestamp_seconds":1784411124,"priority":1,"record_length":96,"hex_timestamp":"0000019f7730f120"} 
[2026-07-19 03:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 03:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03:16: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-07-19 03:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":136138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":136138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":136138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809245440001,"66":27365,"73":206,"81":47616,"24":39,"16":352224920710676480,"45":4665025554848456704},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-07-19 03:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809245440001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:16:40] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-19 03:16:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352224920710676480,"km_value":352224920710676.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":4665025554848456704,"description":"Unknown IO ID 45"} 
[2026-07-19 03:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809245440001,"power":27365,"unknown_73":206,"unknown_81":47616,"ignition":39,"odometer":null,"unknown_45":4665025554848456704}} 
[2026-07-19 03:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":136138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:16:40] local.INFO: GPS data processed {"connection_id":136138,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:16:40] local.INFO: Acknowledgment sent {"connection_id":136138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:16:43] local.INFO: TCP Data received {"connection_id":136138,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f77311448012d40834006990818001e01352d..."} 
[2026-07-19 03:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77311448012d40834006990818001e01352d..."} 
[2026-07-19 03:16:43] local.INFO: Processing buffer {"connection_id":136138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77311448012d40834006990818001e01352d..."} 
[2026-07-19 03:16:43] local.INFO: Packet analysis {"connection_id":136138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7731"} 
[2026-07-19 03:16:43] local.INFO: Extracted packet for processing {"connection_id":136138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7731"} 
[2026-07-19 03:16:43] local.INFO: GPS Element Parsed {"raw_longitude":759202624,"raw_latitude":110692376,"longitude_deg":75.9202624,"latitude_deg":11.0692376,"altitude":30,"angle":309,"satellites":45,"speed":47,"hex_longitude":"2d408340","hex_latitude":"06990818","is_valid_coordinates":true} 
[2026-07-19 03:16: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-07-19 03:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809247744001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352225380272177152,"note":"Value kept but may cause issues"} 
[2026-07-19 03:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4656862780525156352,"note":"Value kept but may cause issues"} 
[2026-07-19 03:16:43] 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-07-19 03:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784411133000,"timestamp_ms":1784411133000,"timestamp_seconds":1784411133,"priority":1,"record_length":96,"hex_timestamp":"0000019f77311448"} 
[2026-07-19 03:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:16: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-07-19 03:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 03:16:43] 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-07-19 03:16: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-07-19 03:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809247744001,"66":27267,"73":206,"81":47616,"24":47,"16":352225380272177152,"45":4656862780525156352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-07-19 03:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809247744001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:16:43] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-19 03:16:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352225380272177152,"km_value":352225380272177.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4656862780525156352,"description":"Unknown IO ID 45"} 
[2026-07-19 03:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809247744001,"power":27267,"unknown_73":206,"unknown_81":47616,"ignition":47,"odometer":null,"unknown_45":4656862780525156352}} 
[2026-07-19 03:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":136138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:16:43] local.INFO: GPS data processed {"connection_id":136138,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:16:43] local.INFO: Acknowledgment sent {"connection_id":136138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:17:14] local.INFO: TCP Data received {"connection_id":136138,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f77313388012d40644006992170001a01352d..."} 
[2026-07-19 03:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77313388012d40644006992170001a01352d..."} 
[2026-07-19 03:17:14] local.INFO: Processing buffer {"connection_id":136138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77313388012d40644006992170001a01352d..."} 
[2026-07-19 03:17:14] local.INFO: Packet analysis {"connection_id":136138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7731"} 
[2026-07-19 03:17:14] local.INFO: Extracted packet for processing {"connection_id":136138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7731"} 
[2026-07-19 03:17:14] local.INFO: GPS Element Parsed {"raw_longitude":759194688,"raw_latitude":110698864,"longitude_deg":75.9194688,"latitude_deg":11.0698864,"altitude":26,"angle":309,"satellites":45,"speed":51,"hex_longitude":"2d406440","hex_latitude":"06992170","is_valid_coordinates":true} 
[2026-07-19 03:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809250048001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352225869898448896,"note":"Value kept but may cause issues"} 
[2026-07-19 03:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4648629637457909760,"note":"Value kept but may cause issues"} 
[2026-07-19 03:17:14] 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-07-19 03:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784411141000,"timestamp_ms":1784411141000,"timestamp_seconds":1784411141,"priority":1,"record_length":96,"hex_timestamp":"0000019f77313388"} 
[2026-07-19 03:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 03:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":136138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":136138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":136138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809250048001,"66":27245,"73":206,"81":47616,"24":51,"16":352225869898448896,"45":4648629637457909760},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-07-19 03:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809250048001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:17:14] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-19 03:17:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352225869898448896,"km_value":352225869898448.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4648629637457909760,"description":"Unknown IO ID 45"} 
[2026-07-19 03:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809250048001,"power":27245,"unknown_73":206,"unknown_81":47616,"ignition":51,"odometer":null,"unknown_45":4648629637457909760}} 
[2026-07-19 03:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":136138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:17:14] local.INFO: GPS data processed {"connection_id":136138,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:17:14] local.INFO: Acknowledgment sent {"connection_id":136138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:17:31] local.INFO: TCP Data received {"connection_id":138592,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:17:31] local.INFO: Processing buffer {"connection_id":138592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:17:31] local.INFO: IMEI packet received {"connection_id":138592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":138592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:17:32] local.INFO: TCP Data received {"connection_id":138592,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:17:32] local.INFO: Processing buffer {"connection_id":138592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:17:32] local.INFO: IMEI packet received {"connection_id":138592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":138592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:17:37] local.INFO: TCP Data received {"connection_id":138592,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:17:37] local.INFO: Processing buffer {"connection_id":138592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:17:37] local.INFO: IMEI packet received {"connection_id":138592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":138592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:17:39] local.INFO: TCP Data received {"connection_id":138592,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f77314ee0012d40484006993758001701322e..."} 
[2026-07-19 03:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77314ee0012d40484006993758001701322e..."} 
[2026-07-19 03:17:39] local.INFO: Processing buffer {"connection_id":138592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77314ee0012d40484006993758001701322e..."} 
[2026-07-19 03:17:39] local.INFO: Packet analysis {"connection_id":138592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7731"} 
[2026-07-19 03:17:39] local.INFO: Extracted packet for processing {"connection_id":138592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7731"} 
[2026-07-19 03:17:39] local.INFO: GPS Element Parsed {"raw_longitude":759187520,"raw_latitude":110704472,"longitude_deg":75.918752,"latitude_deg":11.0704472,"altitude":23,"angle":306,"satellites":46,"speed":49,"hex_longitude":"2d404840","hex_latitude":"06993758","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809252096001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352226307985113088,"note":"Value kept but may cause issues"} 
[2026-07-19 03:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4639903913181540352,"note":"Value kept but may cause issues"} 
[2026-07-19 03:17:39] 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-07-19 03:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784411148000,"timestamp_ms":1784411148000,"timestamp_seconds":1784411148,"priority":1,"record_length":96,"hex_timestamp":"0000019f77314ee0"} 
[2026-07-19 03:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:17: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-07-19 03: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 03:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03: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-07-19 03:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":138592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":138592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":138592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809252096001,"66":27463,"73":206,"81":47616,"24":49,"16":352226307985113088,"45":4639903913181540352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-07-19 03:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809252096001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:17:39] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-19 03:17:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352226307985113088,"km_value":352226307985113.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4639903913181540352,"description":"Unknown IO ID 45"} 
[2026-07-19 03:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809252096001,"power":27463,"unknown_73":206,"unknown_81":47616,"ignition":49,"odometer":null,"unknown_45":4639903913181540352}} 
[2026-07-19 03:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":138592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:17:39] local.INFO: GPS data processed {"connection_id":138592,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:17:39] local.INFO: Acknowledgment sent {"connection_id":138592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:18:10] local.INFO: TCP Data received {"connection_id":138592,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f77316a38012d402a80069948e8001401262e..."} 
[2026-07-19 03:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77316a38012d402a80069948e8001401262e..."} 
[2026-07-19 03:18:10] local.INFO: Processing buffer {"connection_id":138592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77316a38012d402a80069948e8001401262e..."} 
[2026-07-19 03:18:10] local.INFO: Packet analysis {"connection_id":138592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7731"} 
[2026-07-19 03:18:10] local.INFO: Extracted packet for processing {"connection_id":138592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7731"} 
[2026-07-19 03:18:10] local.INFO: GPS Element Parsed {"raw_longitude":759179904,"raw_latitude":110708968,"longitude_deg":75.9179904,"latitude_deg":11.0708968,"altitude":20,"angle":294,"satellites":46,"speed":50,"hex_longitude":"2d402a80","hex_latitude":"069948e8","is_valid_coordinates":true} 
[2026-07-19 03:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809253888001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352226728891908096,"note":"Value kept but may cause issues"} 
[2026-07-19 03:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4632022613835077632,"note":"Value kept but may cause issues"} 
[2026-07-19 03:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784411155000,"timestamp_ms":1784411155000,"timestamp_seconds":1784411155,"priority":1,"record_length":96,"hex_timestamp":"0000019f77316a38"} 
[2026-07-19 03:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-19 03:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809253888001,"66":27397,"145":206,"81":47616,"24":50,"16":352226728891908096,"45":4632022613835077632},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,81,24,16,45]} 
[2026-07-19 03:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809253888001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:18:10] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-19 03:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352226728891908096,"km_value":352226728891908.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4632022613835077632,"description":"Unknown IO ID 45"} 
[2026-07-19 03:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809253888001,"power":27397,"unknown_145":206,"unknown_81":47616,"ignition":50,"odometer":null,"unknown_45":4632022613835077632}} 
[2026-07-19 03:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":138592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:18:10] local.INFO: GPS data processed {"connection_id":138592,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:18:10] local.INFO: Acknowledgment sent {"connection_id":138592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:18:32] local.INFO: TCP Data received {"connection_id":136140,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:18:32] local.INFO: Processing buffer {"connection_id":136140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:18:32] local.INFO: IMEI packet received {"connection_id":136140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":136140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:18:35] local.INFO: TCP Data received {"connection_id":136140,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:18:35] local.INFO: Processing buffer {"connection_id":136140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:18:35] local.INFO: IMEI packet received {"connection_id":136140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":136140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:18:36] local.INFO: TCP Data received {"connection_id":136140,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7732e908012d3ed00006992888001001172c..."} 
[2026-07-19 03:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7732e908012d3ed00006992888001001172c..."} 
[2026-07-19 03:18:36] local.INFO: Processing buffer {"connection_id":136140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7732e908012d3ed00006992888001001172c..."} 
[2026-07-19 03:18:36] local.INFO: Packet analysis {"connection_id":136140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7732"} 
[2026-07-19 03:18:36] local.INFO: Extracted packet for processing {"connection_id":136140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7732"} 
[2026-07-19 03:18:36] local.INFO: GPS Element Parsed {"raw_longitude":759091200,"raw_latitude":110700680,"longitude_deg":75.90912,"latitude_deg":11.070068,"altitude":16,"angle":279,"satellites":44,"speed":44,"hex_longitude":"2d3ed000","hex_latitude":"06992888","is_valid_coordinates":true} 
[2026-07-19 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-07-19 03:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809278464001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352231101168615424,"note":"Value kept but may cause issues"} 
[2026-07-19 03:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4536602596728819712,"note":"Value kept but may cause issues"} 
[2026-07-19 03:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784411253000,"timestamp_ms":1784411253000,"timestamp_seconds":1784411253,"priority":1,"record_length":96,"hex_timestamp":"0000019f7732e908"} 
[2026-07-19 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-07-19 03:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-19 03:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 03:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809278464001,"66":27300,"242":206,"81":47616,"24":44,"16":352231101168615424,"45":4536602596728819712},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,81,24,16,45]} 
[2026-07-19 03:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809278464001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:18:36] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-19 03:18:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352231101168615424,"km_value":352231101168615.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4536602596728819712,"description":"Unknown IO ID 45"} 
[2026-07-19 03:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809278464001,"power":27300,"unknown_242":206,"unknown_81":47616,"ignition":44,"odometer":null,"unknown_45":4536602596728819712}} 
[2026-07-19 03:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":136140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:18:36] local.INFO: GPS data processed {"connection_id":136140,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:18:36] local.INFO: Acknowledgment sent {"connection_id":136140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:19:15] local.INFO: TCP Data received {"connection_id":136140,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f77330848012d3eac8006992e40000e01182b..."} 
[2026-07-19 03:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77330848012d3eac8006992e40000e01182b..."} 
[2026-07-19 03:19:15] local.INFO: Processing buffer {"connection_id":136140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77330848012d3eac8006992e40000e01182b..."} 
[2026-07-19 03:19:15] local.INFO: Packet analysis {"connection_id":136140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7733"} 
[2026-07-19 03:19:15] local.INFO: Extracted packet for processing {"connection_id":136140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7733"} 
[2026-07-19 03:19:15] local.INFO: GPS Element Parsed {"raw_longitude":759082112,"raw_latitude":110702144,"longitude_deg":75.9082112,"latitude_deg":11.0702144,"altitude":14,"angle":280,"satellites":43,"speed":45,"hex_longitude":"2d3eac80","hex_latitude":"06992e40","is_valid_coordinates":true} 
[2026-07-19 03:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809280768001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352231539255279616,"note":"Value kept but may cause issues"} 
[2026-07-19 03:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4526117653846722560,"note":"Value kept but may cause issues"} 
[2026-07-19 03:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784411261000,"timestamp_ms":1784411261000,"timestamp_seconds":1784411261,"priority":1,"record_length":96,"hex_timestamp":"0000019f77330848"} 
[2026-07-19 03:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-19 03:19:15] 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-07-19 03:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":136140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":136140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":136140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809280768001,"66":27169,"242":206,"81":47616,"24":45,"16":352231539255279616,"45":4526117653846722560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,81,24,16,45]} 
[2026-07-19 03:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809280768001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:19:15] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-19 03:19:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352231539255279616,"km_value":352231539255279.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4526117653846722560,"description":"Unknown IO ID 45"} 
[2026-07-19 03:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809280768001,"power":27169,"unknown_242":206,"unknown_81":47616,"ignition":45,"odometer":null,"unknown_45":4526117653846722560}} 
[2026-07-19 03:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":136140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:19:15] local.INFO: GPS data processed {"connection_id":136140,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:19:15] local.INFO: Acknowledgment sent {"connection_id":136140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:19:32] local.INFO: TCP Data received {"connection_id":136141,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:19:32] local.INFO: Processing buffer {"connection_id":136141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:19:32] local.INFO: IMEI packet received {"connection_id":136141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":136141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:19:38] local.INFO: TCP Data received {"connection_id":136141,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:19:38] local.INFO: Processing buffer {"connection_id":136141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:19:38] local.INFO: IMEI packet received {"connection_id":136141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":136141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:19:39] local.INFO: TCP Data received {"connection_id":136141,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f77332788012d3e878006993478000c01182b..."} 
[2026-07-19 03:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77332788012d3e878006993478000c01182b..."} 
[2026-07-19 03:19:39] local.INFO: Processing buffer {"connection_id":136141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77332788012d3e878006993478000c01182b..."} 
[2026-07-19 03:19:39] local.INFO: Packet analysis {"connection_id":136141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7733"} 
[2026-07-19 03:19:39] local.INFO: Extracted packet for processing {"connection_id":136141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7733"} 
[2026-07-19 03:19:39] local.INFO: GPS Element Parsed {"raw_longitude":759072640,"raw_latitude":110703736,"longitude_deg":75.907264,"latitude_deg":11.0703736,"altitude":12,"angle":280,"satellites":43,"speed":47,"hex_longitude":"2d3e8780","hex_latitude":"06993478","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809282816001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352231998816780288,"note":"Value kept but may cause issues"} 
[2026-07-19 03:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4516125292173869056,"note":"Value kept but may cause issues"} 
[2026-07-19 03:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784411269000,"timestamp_ms":1784411269000,"timestamp_seconds":1784411269,"priority":1,"record_length":96,"hex_timestamp":"0000019f77332788"} 
[2026-07-19 03:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:19: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-07-19 03: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-19 03:19:39] 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-07-19 03: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-07-19 03:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809282816001,"66":27365,"242":206,"81":47616,"24":47,"16":352231998816780288,"45":4516125292173869056},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,81,24,16,45]} 
[2026-07-19 03:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809282816001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:19:39] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-19 03:19:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352231998816780288,"km_value":352231998816780.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4516125292173869056,"description":"Unknown IO ID 45"} 
[2026-07-19 03:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809282816001,"power":27365,"unknown_242":206,"unknown_81":47616,"ignition":47,"odometer":null,"unknown_45":4516125292173869056}} 
[2026-07-19 03:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":136141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:19:39] local.INFO: GPS data processed {"connection_id":136141,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:19:39] local.INFO: Acknowledgment sent {"connection_id":136141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:20:11] local.INFO: TCP Data received {"connection_id":136141,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f77345838012d3de6400699fd70001300002b..."} 
[2026-07-19 03:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77345838012d3de6400699fd70001300002b..."} 
[2026-07-19 03:20:11] local.INFO: Processing buffer {"connection_id":136141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77345838012d3de6400699fd70001300002b..."} 
[2026-07-19 03:20:11] local.INFO: Packet analysis {"connection_id":136141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7734"} 
[2026-07-19 03:20:11] local.INFO: Extracted packet for processing {"connection_id":136141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7734"} 
[2026-07-19 03:20:11] local.INFO: GPS Element Parsed {"raw_longitude":759031360,"raw_latitude":110755184,"longitude_deg":75.903136,"latitude_deg":11.0755184,"altitude":19,"angle":0,"satellites":43,"speed":47,"hex_longitude":"2d3de640","hex_latitude":"0699fd70","is_valid_coordinates":true} 
[2026-07-19 03:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809302784001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352235808452771840,"note":"Value kept but may cause issues"} 
[2026-07-19 03:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4460252509307934720,"note":"Value kept but may cause issues"} 
[2026-07-19 03:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784411347000,"timestamp_ms":1784411347000,"timestamp_seconds":1784411347,"priority":1,"record_length":96,"hex_timestamp":"0000019f77345838"} 
[2026-07-19 03:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:20: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-07-19 03:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 03:20: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-07-19 03:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":136141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":136141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":136141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809302784001,"66":27365,"241":206,"81":47616,"24":47,"16":352235808452771840,"45":4460252509307934720},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,81,24,16,45]} 
[2026-07-19 03:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809302784001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:20:11] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-19 03:20:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352235808452771840,"km_value":352235808452771.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4460252509307934720,"description":"Unknown IO ID 45"} 
[2026-07-19 03:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809302784001,"power":27365,"unknown_241":206,"unknown_81":47616,"ignition":47,"odometer":null,"unknown_45":4460252509307934720}} 
[2026-07-19 03:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":136141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:20:11] local.INFO: GPS data processed {"connection_id":136141,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:20:11] local.INFO: Acknowledgment sent {"connection_id":136141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:20:32] local.INFO: TCP Data received {"connection_id":138594,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:20:32] local.INFO: Processing buffer {"connection_id":138594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:20:32] local.INFO: IMEI packet received {"connection_id":138594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":138594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:20:35] local.INFO: TCP Data received {"connection_id":138594,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:20:35] local.INFO: Processing buffer {"connection_id":138594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:20:35] local.INFO: IMEI packet received {"connection_id":138594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":138594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:20:37] local.INFO: TCP Data received {"connection_id":138594,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:20:37] local.INFO: Processing buffer {"connection_id":138594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:20:37] local.INFO: IMEI packet received {"connection_id":138594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":138594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:20:38] local.INFO: TCP Data received {"connection_id":138594,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f77347778012d3de640069a2240001600002d..."} 
[2026-07-19 03:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77347778012d3de640069a2240001600002d..."} 
[2026-07-19 03:20:38] local.INFO: Processing buffer {"connection_id":138594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77347778012d3de640069a2240001600002d..."} 
[2026-07-19 03:20:38] local.INFO: Packet analysis {"connection_id":138594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7734"} 
[2026-07-19 03:20:38] local.INFO: Extracted packet for processing {"connection_id":138594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7734"} 
[2026-07-19 03:20:38] local.INFO: GPS Element Parsed {"raw_longitude":759031360,"raw_latitude":110764608,"longitude_deg":75.903136,"latitude_deg":11.0764608,"altitude":22,"angle":0,"satellites":45,"speed":44,"hex_longitude":"2d3de640","hex_latitude":"069a2240","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809304832001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352236268014272512,"note":"Value kept but may cause issues"} 
[2026-07-19 03:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4460322878054559744,"note":"Value kept but may cause issues"} 
[2026-07-19 03:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784411355000,"timestamp_ms":1784411355000,"timestamp_seconds":1784411355,"priority":1,"record_length":96,"hex_timestamp":"0000019f77347778"} 
[2026-07-19 03:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 03:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03: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-07-19 03:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809304832001,"66":27321,"241":206,"81":47616,"24":44,"16":352236268014272512,"45":4460322878054559744},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,81,24,16,45]} 
[2026-07-19 03:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809304832001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:20:38] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-19 03:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352236268014272512,"km_value":352236268014272.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4460322878054559744,"description":"Unknown IO ID 45"} 
[2026-07-19 03:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809304832001,"power":27321,"unknown_241":206,"unknown_81":47616,"ignition":44,"odometer":null,"unknown_45":4460322878054559744}} 
[2026-07-19 03:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":138594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:20:38] local.INFO: GPS data processed {"connection_id":138594,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:20:38] local.INFO: Acknowledgment sent {"connection_id":138594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:21:10] local.INFO: TCP Data received {"connection_id":138594,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f77349aa0012d3de640069a47b8001a01662e..."} 
[2026-07-19 03:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77349aa0012d3de640069a47b8001a01662e..."} 
[2026-07-19 03:21:10] local.INFO: Processing buffer {"connection_id":138594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77349aa0012d3de640069a47b8001a01662e..."} 
[2026-07-19 03:21:10] local.INFO: Packet analysis {"connection_id":138594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7734"} 
[2026-07-19 03:21:10] local.INFO: Extracted packet for processing {"connection_id":138594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7734"} 
[2026-07-19 03:21:10] local.INFO: GPS Element Parsed {"raw_longitude":759031360,"raw_latitude":110774200,"longitude_deg":75.903136,"latitude_deg":11.07742,"altitude":26,"angle":358,"satellites":46,"speed":40,"hex_longitude":"2d3de640","hex_latitude":"069a47b8","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809306880001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352236731870740480,"note":"Value kept but may cause issues"} 
[2026-07-19 03:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4460322878056972288,"note":"Value kept but may cause issues"} 
[2026-07-19 03:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784411364000,"timestamp_ms":1784411364000,"timestamp_seconds":1784411364,"priority":1,"record_length":96,"hex_timestamp":"0000019f77349aa0"} 
[2026-07-19 03:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:21: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-07-19 03:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 03:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03: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-07-19 03:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809306880001,"66":27376,"241":206,"81":47616,"24":40,"16":352236731870740480,"45":4460322878056972288},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,81,24,16,45]} 
[2026-07-19 03:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809306880001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:21:10] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-19 03:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352236731870740480,"km_value":352236731870740.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4460322878056972288,"description":"Unknown IO ID 45"} 
[2026-07-19 03:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809306880001,"power":27376,"unknown_241":206,"unknown_81":47616,"ignition":40,"odometer":null,"unknown_45":4460322878056972288}} 
[2026-07-19 03:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":138594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:21:10] local.INFO: GPS data processed {"connection_id":138594,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:21:10] local.INFO: Acknowledgment sent {"connection_id":138594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:21:32] local.INFO: TCP Data received {"connection_id":136142,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:21:32] local.INFO: Processing buffer {"connection_id":136142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:21:32] local.INFO: IMEI packet received {"connection_id":136142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":136142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:21:36] local.INFO: TCP Data received {"connection_id":136142,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:21:36] local.INFO: Processing buffer {"connection_id":136142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:21:36] local.INFO: IMEI packet received {"connection_id":136142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":136142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:21:37] local.INFO: TCP Data received {"connection_id":136142,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:21:37] local.INFO: Processing buffer {"connection_id":136142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:21:37] local.INFO: IMEI packet received {"connection_id":136142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":136142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:21:39] local.INFO: TCP Data received {"connection_id":136142,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7734bdc8012d3de180069a6890001e015a2d..."} 
[2026-07-19 03:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7734bdc8012d3de180069a6890001e015a2d..."} 
[2026-07-19 03:21:39] local.INFO: Processing buffer {"connection_id":136142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7734bdc8012d3de180069a6890001e015a2d..."} 
[2026-07-19 03:21:39] local.INFO: Packet analysis {"connection_id":136142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7734"} 
[2026-07-19 03:21:39] local.INFO: Extracted packet for processing {"connection_id":136142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7734"} 
[2026-07-19 03:21:39] local.INFO: GPS Element Parsed {"raw_longitude":759030144,"raw_latitude":110782608,"longitude_deg":75.9030144,"latitude_deg":11.0782608,"altitude":30,"angle":346,"satellites":45,"speed":35,"hex_longitude":"2d3de180","hex_latitude":"069a6890","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809309184001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352237144187600896,"note":"Value kept but may cause issues"} 
[2026-07-19 03:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4460322878059427840,"note":"Value kept but may cause issues"} 
[2026-07-19 03:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784411373000,"timestamp_ms":1784411373000,"timestamp_seconds":1784411373,"priority":1,"record_length":96,"hex_timestamp":"0000019f7734bdc8"} 
[2026-07-19 03:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:21: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-07-19 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-19 03:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03: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-07-19 03:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809309184001,"66":27234,"225":206,"81":47616,"24":35,"16":352237144187600896,"45":4460322878059427840},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-07-19 03:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809309184001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:21:39] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-19 03:21:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352237144187600896,"km_value":352237144187600.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4460322878059427840,"description":"Unknown IO ID 45"} 
[2026-07-19 03:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809309184001,"power":27234,"unknown_225":206,"unknown_81":47616,"ignition":35,"odometer":null,"unknown_45":4460322878059427840}} 
[2026-07-19 03:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":136142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:21:39] local.INFO: GPS data processed {"connection_id":136142,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:21:39] local.INFO: Acknowledgment sent {"connection_id":136142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:21:58] local.INFO: TCP Data received {"connection_id":137192,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137192,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:21:58] local.INFO: Processing buffer {"connection_id":137192,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:21:58] local.INFO: IMEI packet received {"connection_id":137192,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 03:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":137192,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:22:11] local.INFO: TCP Data received {"connection_id":136142,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f77364080012d3d76c0069be490002601582b..."} 
[2026-07-19 03:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77364080012d3d76c0069be490002601582b..."} 
[2026-07-19 03:22:11] local.INFO: Processing buffer {"connection_id":136142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77364080012d3d76c0069be490002601582b..."} 
[2026-07-19 03:22:11] local.INFO: Packet analysis {"connection_id":136142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7736"} 
[2026-07-19 03:22:11] local.INFO: Extracted packet for processing {"connection_id":136142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7736"} 
[2026-07-19 03:22:11] local.INFO: GPS Element Parsed {"raw_longitude":759002816,"raw_latitude":110879888,"longitude_deg":75.9002816,"latitude_deg":11.0879888,"altitude":38,"angle":344,"satellites":43,"speed":46,"hex_longitude":"2d3d76c0","hex_latitude":"069be490","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809334784001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352242070515089408,"note":"Value kept but may cause issues"} 
[2026-07-19 03:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4431823536692219904,"note":"Value kept but may cause issues"} 
[2026-07-19 03:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784411472000,"timestamp_ms":1784411472000,"timestamp_seconds":1784411472,"priority":1,"record_length":96,"hex_timestamp":"0000019f77364080"} 
[2026-07-19 03:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:22: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-07-19 03: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-19 03:22:11] 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-07-19 03: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-07-19 03:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":136142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":136142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":136142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809334784001,"66":27321,"34":206,"81":47616,"24":46,"16":352242070515089408,"45":4431823536692219904},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-07-19 03:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809334784001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:22:11] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-19 03:22:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352242070515089408,"km_value":352242070515089.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4431823536692219904,"description":"Unknown IO ID 45"} 
[2026-07-19 03:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809334784001,"power":27321,"unknown_34":206,"unknown_81":47616,"ignition":46,"odometer":null,"unknown_45":4431823536692219904}} 
[2026-07-19 03:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":136142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:22:11] local.INFO: GPS data processed {"connection_id":136142,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:22:11] local.INFO: Acknowledgment sent {"connection_id":136142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:22:31] local.INFO: TCP Data received {"connection_id":136143,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136143,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:22:31] local.INFO: Processing buffer {"connection_id":136143,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:22:31] local.INFO: IMEI packet received {"connection_id":136143,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 03:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":136143,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:22:37] local.INFO: TCP Data received {"connection_id":136144,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:22:37] local.INFO: Processing buffer {"connection_id":136144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:22:37] local.INFO: IMEI packet received {"connection_id":136144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":136144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:22:42] local.INFO: TCP Data received {"connection_id":136144,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:22:42] local.INFO: Processing buffer {"connection_id":136144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:22:42] local.INFO: IMEI packet received {"connection_id":136144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":136144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:22:43] local.INFO: TCP Data received {"connection_id":136144,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f77365fc0012d3d6cc0069c0648002501572b..."} 
[2026-07-19 03:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77365fc0012d3d6cc0069c0648002501572b..."} 
[2026-07-19 03:22:43] local.INFO: Processing buffer {"connection_id":136144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77365fc0012d3d6cc0069c0648002501572b..."} 
[2026-07-19 03:22:43] local.INFO: Packet analysis {"connection_id":136144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7736"} 
[2026-07-19 03:22:43] local.INFO: Extracted packet for processing {"connection_id":136144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7736"} 
[2026-07-19 03:22:43] local.INFO: GPS Element Parsed {"raw_longitude":759000256,"raw_latitude":110888520,"longitude_deg":75.9000256,"latitude_deg":11.088852,"altitude":37,"angle":343,"satellites":43,"speed":44,"hex_longitude":"2d3d6cc0","hex_latitude":"069c0648","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809336832001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352242508601753600,"note":"Value kept but may cause issues"} 
[2026-07-19 03:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4428938418183245824,"note":"Value kept but may cause issues"} 
[2026-07-19 03:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784411480000,"timestamp_ms":1784411480000,"timestamp_seconds":1784411480,"priority":1,"record_length":96,"hex_timestamp":"0000019f77365fc0"} 
[2026-07-19 03:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 03:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03: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-07-19 03:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809336832001,"66":27343,"34":206,"81":47616,"24":44,"16":352242508601753600,"45":4428938418183245824},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-07-19 03:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809336832001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:22:43] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-19 03:22:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352242508601753600,"km_value":352242508601753.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4428938418183245824,"description":"Unknown IO ID 45"} 
[2026-07-19 03:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809336832001,"power":27343,"unknown_34":206,"unknown_81":47616,"ignition":44,"odometer":null,"unknown_45":4428938418183245824}} 
[2026-07-19 03:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":136144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:22:43] local.INFO: GPS data processed {"connection_id":136144,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:22:43] local.INFO: Acknowledgment sent {"connection_id":136144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:22:44] local.INFO: TCP Data received {"connection_id":136144,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f773682e8012d3d6240069c2a40002601582a..."} 
[2026-07-19 03:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f773682e8012d3d6240069c2a40002601582a..."} 
[2026-07-19 03:22:44] local.INFO: Processing buffer {"connection_id":136144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f773682e8012d3d6240069c2a40002601582a..."} 
[2026-07-19 03:22:44] local.INFO: Packet analysis {"connection_id":136144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7736"} 
[2026-07-19 03:22:44] local.INFO: Extracted packet for processing {"connection_id":136144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7736"} 
[2026-07-19 03:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758997568,"raw_latitude":110897728,"longitude_deg":75.8997568,"latitude_deg":11.0897728,"altitude":38,"angle":344,"satellites":42,"speed":40,"hex_longitude":"2d3d6240","hex_latitude":"069c2a40","is_valid_coordinates":true} 
[2026-07-19 03:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809338880001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352242972458221568,"note":"Value kept but may cause issues"} 
[2026-07-19 03:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4426123668418349056,"note":"Value kept but may cause issues"} 
[2026-07-19 03:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784411489000,"timestamp_ms":1784411489000,"timestamp_seconds":1784411489,"priority":1,"record_length":96,"hex_timestamp":"0000019f773682e8"} 
[2026-07-19 03:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 03:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":136144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":136144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":136144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809338880001,"66":27267,"34":206,"81":47616,"24":40,"16":352242972458221568,"45":4426123668418349056},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-07-19 03:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809338880001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:22:44] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-19 03:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352242972458221568,"km_value":352242972458221.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4426123668418349056,"description":"Unknown IO ID 45"} 
[2026-07-19 03:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809338880001,"power":27267,"unknown_34":206,"unknown_81":47616,"ignition":40,"odometer":null,"unknown_45":4426123668418349056}} 
[2026-07-19 03:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":136144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:22:44] local.INFO: GPS data processed {"connection_id":136144,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:22:44] local.INFO: Acknowledgment sent {"connection_id":136144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:23:16] local.INFO: TCP Data received {"connection_id":136144,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7736a9f8012d3d5780069c4e08002801572e..."} 
[2026-07-19 03:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7736a9f8012d3d5780069c4e08002801572e..."} 
[2026-07-19 03:23:16] local.INFO: Processing buffer {"connection_id":136144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7736a9f8012d3d5780069c4e08002801572e..."} 
[2026-07-19 03:23:16] local.INFO: Packet analysis {"connection_id":136144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7736"} 
[2026-07-19 03:23:16] local.INFO: Extracted packet for processing {"connection_id":136144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7736"} 
[2026-07-19 03:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758994816,"raw_latitude":110906888,"longitude_deg":75.8994816,"latitude_deg":11.0906888,"altitude":40,"angle":343,"satellites":46,"speed":35,"hex_longitude":"2d3d5780","hex_latitude":"069c4e08","is_valid_coordinates":true} 
[2026-07-19 03:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809341184001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352243436314689536,"note":"Value kept but may cause issues"} 
[2026-07-19 03:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4423168181165244416,"note":"Value kept but may cause issues"} 
[2026-07-19 03:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784411499000,"timestamp_ms":1784411499000,"timestamp_seconds":1784411499,"priority":1,"record_length":96,"hex_timestamp":"0000019f7736a9f8"} 
[2026-07-19 03:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:23: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-07-19 03:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 03:23:16] 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-07-19 03:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":136144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":136144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":136144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809341184001,"66":27321,"34":206,"81":47616,"24":35,"16":352243436314689536,"45":4423168181165244416},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-07-19 03:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809341184001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:23:16] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-19 03:23:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352243436314689536,"km_value":352243436314689.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4423168181165244416,"description":"Unknown IO ID 45"} 
[2026-07-19 03:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809341184001,"power":27321,"unknown_34":206,"unknown_81":47616,"ignition":35,"odometer":null,"unknown_45":4423168181165244416}} 
[2026-07-19 03:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":136144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:23:16] local.INFO: GPS data processed {"connection_id":136144,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:23:16] local.INFO: Acknowledgment sent {"connection_id":136144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:23:32] local.INFO: TCP Data received {"connection_id":136271,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:23:32] local.INFO: Processing buffer {"connection_id":136271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:23:32] local.INFO: IMEI packet received {"connection_id":136271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":136271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:23:35] local.INFO: TCP Data received {"connection_id":136271,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:23:35] local.INFO: Processing buffer {"connection_id":136271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:23:35] local.INFO: IMEI packet received {"connection_id":136271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":136271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:23:36] local.INFO: TCP Data received {"connection_id":136271,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7736d4f0012d3d4d80069c6fe0002a01522d..."} 
[2026-07-19 03:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7736d4f0012d3d4d80069c6fe0002a01522d..."} 
[2026-07-19 03:23:36] local.INFO: Processing buffer {"connection_id":136271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7736d4f0012d3d4d80069c6fe0002a01522d..."} 
[2026-07-19 03:23:36] local.INFO: Packet analysis {"connection_id":136271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7736"} 
[2026-07-19 03:23:36] local.INFO: Extracted packet for processing {"connection_id":136271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7736"} 
[2026-07-19 03:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758992256,"raw_latitude":110915552,"longitude_deg":75.8992256,"latitude_deg":11.0915552,"altitude":42,"angle":338,"satellites":45,"speed":28,"hex_longitude":"2d3d4d80","hex_latitude":"069c6fe0","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809343744001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352243874401353728,"note":"Value kept but may cause issues"} 
[2026-07-19 03:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4420142325167949824,"note":"Value kept but may cause issues"} 
[2026-07-19 03:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784411510000,"timestamp_ms":1784411510000,"timestamp_seconds":1784411510,"priority":1,"record_length":96,"hex_timestamp":"0000019f7736d4f0"} 
[2026-07-19 03:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:23: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-07-19 03:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 03:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03: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-07-19 03:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809343744001,"66":27267,"34":206,"81":47616,"24":28,"16":352243874401353728,"45":4420142325167949824},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-07-19 03:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809343744001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:23:36] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-19 03:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352243874401353728,"km_value":352243874401353.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4420142325167949824,"description":"Unknown IO ID 45"} 
[2026-07-19 03:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809343744001,"power":27267,"unknown_34":206,"unknown_81":47616,"ignition":28,"odometer":null,"unknown_45":4420142325167949824}} 
[2026-07-19 03:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":136271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:23:36] local.INFO: GPS data processed {"connection_id":136271,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:23:36] local.INFO: Acknowledgment sent {"connection_id":136271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:24:08] local.INFO: TCP Data received {"connection_id":136271,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f77370ba0012d3d3f80069c8fb8002c01492d..."} 
[2026-07-19 03:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77370ba0012d3d3f80069c8fb8002c01492d..."} 
[2026-07-19 03:24:08] local.INFO: Processing buffer {"connection_id":136271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77370ba0012d3d3f80069c8fb8002c01492d..."} 
[2026-07-19 03:24:08] local.INFO: Packet analysis {"connection_id":136271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7737"} 
[2026-07-19 03:24:08] local.INFO: Extracted packet for processing {"connection_id":136271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7737"} 
[2026-07-19 03:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758988672,"raw_latitude":110923704,"longitude_deg":75.8988672,"latitude_deg":11.0923704,"altitude":44,"angle":329,"satellites":45,"speed":25,"hex_longitude":"2d3d3f80","hex_latitude":"069c8fb8","is_valid_coordinates":true} 
[2026-07-19 03:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809346560001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352244303898083328,"note":"Value kept but may cause issues"} 
[2026-07-19 03:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4417327575403061248,"note":"Value kept but may cause issues"} 
[2026-07-19 03:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784411524000,"timestamp_ms":1784411524000,"timestamp_seconds":1784411524,"priority":1,"record_length":96,"hex_timestamp":"0000019f77370ba0"} 
[2026-07-19 03:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 03:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809346560001,"66":27343,"34":206,"81":47616,"24":25,"16":352244303898083328,"45":4417327575403061248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-07-19 03:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809346560001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:24:08] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-19 03:24:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352244303898083328,"km_value":352244303898083.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4417327575403061248,"description":"Unknown IO ID 45"} 
[2026-07-19 03:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809346560001,"power":27343,"unknown_34":206,"unknown_81":47616,"ignition":25,"odometer":null,"unknown_45":4417327575403061248}} 
[2026-07-19 03:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":136271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:24:08] local.INFO: GPS data processed {"connection_id":136271,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:24:08] local.INFO: Acknowledgment sent {"connection_id":136271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:24:32] local.INFO: TCP Data received {"connection_id":138596,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:24:32] local.INFO: Processing buffer {"connection_id":138596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:24:32] local.INFO: IMEI packet received {"connection_id":138596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":138596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:24:33] local.INFO: TCP Data received {"connection_id":138596,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:24:33] local.INFO: Processing buffer {"connection_id":138596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:24:33] local.INFO: IMEI packet received {"connection_id":138596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":138596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:24:37] local.INFO: TCP Data received {"connection_id":138596,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:24:37] local.INFO: Processing buffer {"connection_id":138596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:24:37] local.INFO: IMEI packet received {"connection_id":138596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":138596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:24:39] local.INFO: TCP Data received {"connection_id":138596,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f77374250012d3d2c40069caf48002f01482c..."} 
[2026-07-19 03:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77374250012d3d2c40069caf48002f01482c..."} 
[2026-07-19 03:24:39] local.INFO: Processing buffer {"connection_id":138596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77374250012d3d2c40069caf48002f01482c..."} 
[2026-07-19 03:24:39] local.INFO: Packet analysis {"connection_id":138596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7737"} 
[2026-07-19 03:24:39] local.INFO: Extracted packet for processing {"connection_id":138596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7737"} 
[2026-07-19 03:24:39] local.INFO: GPS Element Parsed {"raw_longitude":758983744,"raw_latitude":110931784,"longitude_deg":75.8983744,"latitude_deg":11.0931784,"altitude":47,"angle":328,"satellites":44,"speed":27,"hex_longitude":"2d3d2c40","hex_latitude":"069caf48","is_valid_coordinates":true} 
[2026-07-19 03:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809350144001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352244759164616704,"note":"Value kept but may cause issues"} 
[2026-07-19 03:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4413386925731198976,"note":"Value kept but may cause issues"} 
[2026-07-19 03:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784411538000,"timestamp_ms":1784411538000,"timestamp_seconds":1784411538,"priority":1,"record_length":96,"hex_timestamp":"0000019f77374250"} 
[2026-07-19 03:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:24: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-07-19 03:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-19 03:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":138596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":138596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":138596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809350144001,"66":27397,"34":206,"81":47616,"24":27,"16":352244759164616704,"45":4413386925731198976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-07-19 03:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809350144001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:24:39] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-19 03:24:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352244759164616704,"km_value":352244759164616.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4413386925731198976,"description":"Unknown IO ID 45"} 
[2026-07-19 03:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809350144001,"power":27397,"unknown_34":206,"unknown_81":47616,"ignition":27,"odometer":null,"unknown_45":4413386925731198976}} 
[2026-07-19 03:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":138596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:24:39] local.INFO: GPS data processed {"connection_id":138596,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:24:39] local.INFO: Acknowledgment sent {"connection_id":138596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:25:12] local.INFO: TCP Data received {"connection_id":138596,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f77377518012d3d1940069cce980031014c2d..."} 
[2026-07-19 03:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77377518012d3d1940069cce980031014c2d..."} 
[2026-07-19 03:25:12] local.INFO: Processing buffer {"connection_id":138596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77377518012d3d1940069cce980031014c2d..."} 
[2026-07-19 03:25:12] local.INFO: Packet analysis {"connection_id":138596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7737"} 
[2026-07-19 03:25:12] local.INFO: Extracted packet for processing {"connection_id":138596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7737"} 
[2026-07-19 03:25:12] local.INFO: GPS Element Parsed {"raw_longitude":758978880,"raw_latitude":110939800,"longitude_deg":75.897888,"latitude_deg":11.09398,"altitude":49,"angle":332,"satellites":45,"speed":30,"hex_longitude":"2d3d1940","hex_latitude":"069cce98","is_valid_coordinates":true} 
[2026-07-19 03:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809353728001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352245214431150080,"note":"Value kept but may cause issues"} 
[2026-07-19 03:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4407968532431587328,"note":"Value kept but may cause issues"} 
[2026-07-19 03:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784411551000,"timestamp_ms":1784411551000,"timestamp_seconds":1784411551,"priority":1,"record_length":96,"hex_timestamp":"0000019f77377518"} 
[2026-07-19 03:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:25: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-07-19 03:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-19 03:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":138596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":138596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":138596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809353728001,"66":27300,"34":206,"81":47616,"24":30,"16":352245214431150080,"45":4407968532431587328},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-07-19 03:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809353728001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:25:12] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-19 03:25:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352245214431150080,"km_value":352245214431150.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4407968532431587328,"description":"Unknown IO ID 45"} 
[2026-07-19 03:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809353728001,"power":27300,"unknown_34":206,"unknown_81":47616,"ignition":30,"odometer":null,"unknown_45":4407968532431587328}} 
[2026-07-19 03:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":138596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:25:12] local.INFO: GPS data processed {"connection_id":138596,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:25:12] local.INFO: Acknowledgment sent {"connection_id":138596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:25:32] local.INFO: TCP Data received {"connection_id":138597,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:25:32] local.INFO: Processing buffer {"connection_id":138597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:25:32] local.INFO: IMEI packet received {"connection_id":138597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":138597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:25:37] local.INFO: TCP Data received {"connection_id":138597,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:25:38] local.INFO: Processing buffer {"connection_id":138597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:25:38] local.INFO: IMEI packet received {"connection_id":138597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":138597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:25:39] local.INFO: TCP Data received {"connection_id":138597,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7737a010012d3d0e00069cec40003201582e..."} 
[2026-07-19 03:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7737a010012d3d0e00069cec40003201582e..."} 
[2026-07-19 03:25:39] local.INFO: Processing buffer {"connection_id":138597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7737a010012d3d0e00069cec40003201582e..."} 
[2026-07-19 03:25:39] local.INFO: Packet analysis {"connection_id":138597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7737"} 
[2026-07-19 03:25:39] local.INFO: Extracted packet for processing {"connection_id":138597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7737"} 
[2026-07-19 03:25:39] local.INFO: GPS Element Parsed {"raw_longitude":758976000,"raw_latitude":110947392,"longitude_deg":75.8976,"latitude_deg":11.0947392,"altitude":50,"angle":344,"satellites":46,"speed":27,"hex_longitude":"2d3d0e00","hex_latitude":"069cec40","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809357056001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352245609568141312,"note":"Value kept but may cause issues"} 
[2026-07-19 03:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4402620507876136960,"note":"Value kept but may cause issues"} 
[2026-07-19 03:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784411562000,"timestamp_ms":1784411562000,"timestamp_seconds":1784411562,"priority":1,"record_length":96,"hex_timestamp":"0000019f7737a010"} 
[2026-07-19 03:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:25: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-07-19 03: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-19 03:25:39] 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-07-19 03: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-07-19 03:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":138597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":138597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":138597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809357056001,"66":27343,"34":206,"81":47616,"24":27,"16":352245609568141312,"45":4402620507876136960},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-07-19 03:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809357056001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:25:39] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-19 03:25:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352245609568141312,"km_value":352245609568141.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4402620507876136960,"description":"Unknown IO ID 45"} 
[2026-07-19 03:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809357056001,"power":27343,"unknown_34":206,"unknown_81":47616,"ignition":27,"odometer":null,"unknown_45":4402620507876136960}} 
[2026-07-19 03:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":138597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:25:39] local.INFO: GPS data processed {"connection_id":138597,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:25:39] local.INFO: Acknowledgment sent {"connection_id":138597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:26:11] local.INFO: TCP Data received {"connection_id":138597,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7739bf08012d3c4e40069e2fd00038014d2d..."} 
[2026-07-19 03:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7739bf08012d3c4e40069e2fd00038014d2d..."} 
[2026-07-19 03:26:11] local.INFO: Processing buffer {"connection_id":138597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7739bf08012d3c4e40069e2fd00038014d2d..."} 
[2026-07-19 03:26:11] local.INFO: Packet analysis {"connection_id":138597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7739"} 
[2026-07-19 03:26:11] local.INFO: Extracted packet for processing {"connection_id":138597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7739"} 
[2026-07-19 03:26:11] local.INFO: GPS Element Parsed {"raw_longitude":758926912,"raw_latitude":111030224,"longitude_deg":75.8926912,"latitude_deg":11.1030224,"altitude":56,"angle":333,"satellites":45,"speed":30,"hex_longitude":"2d3c4e40","hex_latitude":"069e2fd0","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809392384001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352250424226480128,"note":"Value kept but may cause issues"} 
[2026-07-19 03:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4350055055996551168,"note":"Value kept but may cause issues"} 
[2026-07-19 03:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784411701000,"timestamp_ms":1784411701000,"timestamp_seconds":1784411701,"priority":1,"record_length":96,"hex_timestamp":"0000019f7739bf08"} 
[2026-07-19 03:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:26: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-07-19 03:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 03:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03: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-07-19 03:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":138597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":138597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":138597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809392384001,"66":26658,"108":206,"81":47616,"24":30,"16":352250424226480128,"45":4350055055996551168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-07-19 03:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809392384001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:26:11] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-19 03:26:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352250424226480128,"km_value":352250424226480.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4350055055996551168,"description":"Unknown IO ID 45"} 
[2026-07-19 03:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809392384001,"power":26658,"unknown_108":206,"unknown_81":47616,"ignition":30,"odometer":null,"unknown_45":4350055055996551168}} 
[2026-07-19 03:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":138597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:26:11] local.INFO: GPS data processed {"connection_id":138597,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:26:11] local.INFO: Acknowledgment sent {"connection_id":138597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:26:32] local.INFO: TCP Data received {"connection_id":136274,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:26:32] local.INFO: Processing buffer {"connection_id":136274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:26:32] local.INFO: IMEI packet received {"connection_id":136274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":136274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:26:37] local.INFO: TCP Data received {"connection_id":136274,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:26:37] local.INFO: Processing buffer {"connection_id":136274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:26:37] local.INFO: IMEI packet received {"connection_id":136274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":136274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:26:38] local.INFO: TCP Data received {"connection_id":136274,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:26:38] local.INFO: Processing buffer {"connection_id":136274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:26:38] local.INFO: IMEI packet received {"connection_id":136274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":136274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:26:39] local.INFO: TCP Data received {"connection_id":136274,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7739f1d0012d3c3c80069e51100039014d2d..."} 
[2026-07-19 03:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7739f1d0012d3c3c80069e51100039014d2d..."} 
[2026-07-19 03:26:39] local.INFO: Processing buffer {"connection_id":136274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7739f1d0012d3c3c80069e51100039014d2d..."} 
[2026-07-19 03:26:39] local.INFO: Packet analysis {"connection_id":136274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7739"} 
[2026-07-19 03:26:39] local.INFO: Extracted packet for processing {"connection_id":136274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7739"} 
[2026-07-19 03:26:39] local.INFO: GPS Element Parsed {"raw_longitude":758922368,"raw_latitude":111038736,"longitude_deg":75.8922368,"latitude_deg":11.1038736,"altitude":57,"angle":333,"satellites":45,"speed":30,"hex_longitude":"2d3c3c80","hex_latitude":"069e5110","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809395456001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352250892377915392,"note":"Value kept but may cause issues"} 
[2026-07-19 03:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4345481087627022336,"note":"Value kept but may cause issues"} 
[2026-07-19 03:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784411714000,"timestamp_ms":1784411714000,"timestamp_seconds":1784411714,"priority":1,"record_length":96,"hex_timestamp":"0000019f7739f1d0"} 
[2026-07-19 03:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:26: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-07-19 03: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":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-07-19 03:26:39] 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-07-19 03: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-07-19 03:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809395456001,"66":27332,"108":206,"81":47616,"24":30,"16":352250892377915392,"45":4345481087627022336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-07-19 03:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809395456001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:26:39] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-19 03:26:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352250892377915392,"km_value":352250892377915.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4345481087627022336,"description":"Unknown IO ID 45"} 
[2026-07-19 03:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809395456001,"power":27332,"unknown_108":206,"unknown_81":47616,"ignition":30,"odometer":null,"unknown_45":4345481087627022336}} 
[2026-07-19 03:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":136274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:26:39] local.INFO: GPS data processed {"connection_id":136274,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:26:39] local.INFO: Acknowledgment sent {"connection_id":136274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:26:42] local.INFO: TCP Data received {"connection_id":136274,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f773a2498012d3c2bc0069e7088003a014e2b..."} 
[2026-07-19 03:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f773a2498012d3c2bc0069e7088003a014e2b..."} 
[2026-07-19 03:26:42] local.INFO: Processing buffer {"connection_id":136274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f773a2498012d3c2bc0069e7088003a014e2b..."} 
[2026-07-19 03:26:42] local.INFO: Packet analysis {"connection_id":136274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f773a"} 
[2026-07-19 03:26:42] local.INFO: Extracted packet for processing {"connection_id":136274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f773a"} 
[2026-07-19 03:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758918080,"raw_latitude":111046792,"longitude_deg":75.891808,"latitude_deg":11.1046792,"altitude":58,"angle":334,"satellites":43,"speed":24,"hex_longitude":"2d3c2bc0","hex_latitude":"069e7088","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809398784001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352251334759546880,"note":"Value kept but may cause issues"} 
[2026-07-19 03:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4340484906792587264,"note":"Value kept but may cause issues"} 
[2026-07-19 03:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784411727000,"timestamp_ms":1784411727000,"timestamp_seconds":1784411727,"priority":1,"record_length":96,"hex_timestamp":"0000019f773a2498"} 
[2026-07-19 03:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03: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-07-19 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-19 03:26:42] 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-07-19 03: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-07-19 03:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809398784001,"66":27365,"108":206,"81":47616,"24":24,"16":352251334759546880,"45":4340484906792587264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-07-19 03:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809398784001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:26:42] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-19 03:26:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352251334759546880,"km_value":352251334759546.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4340484906792587264,"description":"Unknown IO ID 45"} 
[2026-07-19 03:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809398784001,"power":27365,"unknown_108":206,"unknown_81":47616,"ignition":24,"odometer":null,"unknown_45":4340484906792587264}} 
[2026-07-19 03:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":136274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:26:42] local.INFO: GPS data processed {"connection_id":136274,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:26:42] local.INFO: Acknowledgment sent {"connection_id":136274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:27:13] local.INFO: TCP Data received {"connection_id":136274,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f773a6ae8012d3c1ac0069e9088003a014d2e..."} 
[2026-07-19 03:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f773a6ae8012d3c1ac0069e9088003a014d2e..."} 
[2026-07-19 03:27:13] local.INFO: Processing buffer {"connection_id":136274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f773a6ae8012d3c1ac0069e9088003a014d2e..."} 
[2026-07-19 03:27:13] local.INFO: Packet analysis {"connection_id":136274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f773a"} 
[2026-07-19 03:27:13] local.INFO: Extracted packet for processing {"connection_id":136274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f773a"} 
[2026-07-19 03:27:13] local.INFO: GPS Element Parsed {"raw_longitude":758913728,"raw_latitude":111054984,"longitude_deg":75.8913728,"latitude_deg":11.1054984,"altitude":58,"angle":333,"satellites":46,"speed":23,"hex_longitude":"2d3c1ac0","hex_latitude":"069e9088","is_valid_coordinates":true} 
[2026-07-19 03:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809402112001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352251781436145664,"note":"Value kept but may cause issues"} 
[2026-07-19 03:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4335770200934746112,"note":"Value kept but may cause issues"} 
[2026-07-19 03:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784411745000,"timestamp_ms":1784411745000,"timestamp_seconds":1784411745,"priority":1,"record_length":96,"hex_timestamp":"0000019f773a6ae8"} 
[2026-07-19 03:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 03:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":136274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":136274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":136274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809402112001,"66":27300,"108":206,"81":47616,"24":23,"16":352251781436145664,"45":4335770200934746112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-07-19 03:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809402112001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:27:13] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-19 03:27:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-19 03:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352251781436145664,"km_value":352251781436145.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4335770200934746112,"description":"Unknown IO ID 45"} 
[2026-07-19 03:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809402112001,"power":27300,"unknown_108":206,"unknown_81":47616,"ignition":23,"odometer":null,"unknown_45":4335770200934746112}} 
[2026-07-19 03:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":136274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:27:13] local.INFO: GPS data processed {"connection_id":136274,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:27:13] local.INFO: Acknowledgment sent {"connection_id":136274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:27:39] local.INFO: TCP Data received {"connection_id":137195,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:27:39] local.INFO: Processing buffer {"connection_id":137195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:27:39] local.INFO: IMEI packet received {"connection_id":137195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":137195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:27:48] local.INFO: TCP Data received {"connection_id":137195,"ip":"42.106.6.37","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 03:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137195,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 03:27:48] local.INFO: Processing buffer {"connection_id":137195,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 03:27:48] local.INFO: IMEI packet received {"connection_id":137195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":137195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:27:59] local.INFO: TCP Data received {"connection_id":137194,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137194,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:27:59] local.INFO: Processing buffer {"connection_id":137194,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:27:59] local.INFO: IMEI packet received {"connection_id":137194,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 03:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":137194,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:28:33] local.INFO: TCP Data received {"connection_id":136145,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:28:33] local.INFO: Processing buffer {"connection_id":136145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:28:33] local.INFO: IMEI packet received {"connection_id":136145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 03:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":136145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:32:52] local.INFO: TCP Data received {"connection_id":138599,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:32:52] local.INFO: Processing buffer {"connection_id":138599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:32:52] local.INFO: IMEI packet received {"connection_id":138599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":138599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:32:54] local.INFO: TCP Data received {"connection_id":138599,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f773f6c28012d3c7d8006a2ae90004b016028..."} 
[2026-07-19 03:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f773f6c28012d3c7d8006a2ae90004b016028..."} 
[2026-07-19 03:32:54] local.INFO: Processing buffer {"connection_id":138599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f773f6c28012d3c7d8006a2ae90004b016028..."} 
[2026-07-19 03:32:54] local.INFO: Packet analysis {"connection_id":138599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f773f"} 
[2026-07-19 03:32:54] local.INFO: Extracted packet for processing {"connection_id":138599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f773f"} 
[2026-07-19 03:32:54] local.INFO: GPS Element Parsed {"raw_longitude":758939008,"raw_latitude":111324816,"longitude_deg":75.8939008,"latitude_deg":11.1324816,"altitude":75,"angle":352,"satellites":40,"speed":41,"hex_longitude":"2d3c7d80","hex_latitude":"06a2ae90","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809488384001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4361102948907495424,"note":"Value kept but may cause issues"} 
[2026-07-19 03:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352265529626460160,"note":"Value kept but may cause issues"} 
[2026-07-19 03:32:54] 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-07-19 03:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784412073000,"timestamp_ms":1784412073000,"timestamp_seconds":1784412073,"priority":1,"record_length":96,"hex_timestamp":"0000019f773f6c28"} 
[2026-07-19 03:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 03:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03: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-07-19 03:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":138599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":138599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":138599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809488384001,"66":27245,"45":4361102948907495424,"81":49664,"24":41,"16":352265529626460160},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-07-19 03:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809488384001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4361102948907495424,"description":"Unknown IO ID 45"} 
[2026-07-19 03:32:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-19 03:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352265529626460160,"km_value":352265529626460.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:32:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456809488384001,"power":27245,"unknown_45":4361102948907495424,"unknown_81":49664,"ignition":41,"odometer":null}} 
[2026-07-19 03:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":138599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:32:54] local.INFO: GPS data processed {"connection_id":138599,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:32:54] local.INFO: Acknowledgment sent {"connection_id":138599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:33:32] local.INFO: TCP Data received {"connection_id":137200,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:33:32] local.INFO: Processing buffer {"connection_id":137200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:33:32] local.INFO: IMEI packet received {"connection_id":137200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":137200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:33:34] local.INFO: TCP Data received {"connection_id":137200,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:33:34] local.INFO: Processing buffer {"connection_id":137200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:33:34] local.INFO: IMEI packet received {"connection_id":137200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":137200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:33:37] local.INFO: TCP Data received {"connection_id":137200,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:33:37] local.INFO: Processing buffer {"connection_id":137200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:33:37] local.INFO: IMEI packet received {"connection_id":137200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":137200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:33:39] local.INFO: TCP Data received {"connection_id":137200,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7740ac78012d3c9a4006a42550003800012b..."} 
[2026-07-19 03:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7740ac78012d3c9a4006a42550003800012b..."} 
[2026-07-19 03:33:39] local.INFO: Processing buffer {"connection_id":137200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7740ac78012d3c9a4006a42550003800012b..."} 
[2026-07-19 03:33:39] local.INFO: Packet analysis {"connection_id":137200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7740"} 
[2026-07-19 03:33:39] local.INFO: Extracted packet for processing {"connection_id":137200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7740"} 
[2026-07-19 03:33:39] local.INFO: GPS Element Parsed {"raw_longitude":758946368,"raw_latitude":111420752,"longitude_deg":75.8946368,"latitude_deg":11.1420752,"altitude":56,"angle":1,"satellites":43,"speed":43,"hex_longitude":"2d3c9a40","hex_latitude":"06a42550","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809509376001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352270206845845504,"note":"Value kept but may cause issues"} 
[2026-07-19 03:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4367084292187082752,"note":"Value kept but may cause issues"} 
[2026-07-19 03:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784412155000,"timestamp_ms":1784412155000,"timestamp_seconds":1784412155,"priority":1,"record_length":96,"hex_timestamp":"0000019f7740ac78"} 
[2026-07-19 03:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:33: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-07-19 03:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-19 03:33:39] 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-07-19 03: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-07-19 03:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":137200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":137200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":137200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809509376001,"66":27484,"131":206,"81":49664,"24":43,"16":352270206845845504,"45":4367084292187082752},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,81,24,16,45]} 
[2026-07-19 03:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809509376001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:33:39] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-19 03:33:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-19 03:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352270206845845504,"km_value":352270206845845.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4367084292187082752,"description":"Unknown IO ID 45"} 
[2026-07-19 03:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809509376001,"power":27484,"unknown_131":206,"unknown_81":49664,"ignition":43,"odometer":null,"unknown_45":4367084292187082752}} 
[2026-07-19 03:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":137200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:33:39] local.INFO: GPS data processed {"connection_id":137200,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:33:39] local.INFO: Acknowledgment sent {"connection_id":137200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:33:48] local.INFO: TCP Data received {"connection_id":136278,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:33:48] local.INFO: Processing buffer {"connection_id":136278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:33:48] local.INFO: IMEI packet received {"connection_id":136278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 03:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":136278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:34:12] local.INFO: TCP Data received {"connection_id":137200,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7740c7d0012d3c9e0006a443280036000e2c..."} 
[2026-07-19 03:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7740c7d0012d3c9e0006a443280036000e2c..."} 
[2026-07-19 03:34:12] local.INFO: Processing buffer {"connection_id":137200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7740c7d0012d3c9e0006a443280036000e2c..."} 
[2026-07-19 03:34:12] local.INFO: Packet analysis {"connection_id":137200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7740"} 
[2026-07-19 03:34:12] local.INFO: Extracted packet for processing {"connection_id":137200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7740"} 
[2026-07-19 03:34:12] local.INFO: GPS Element Parsed {"raw_longitude":758947328,"raw_latitude":111428392,"longitude_deg":75.8947328,"latitude_deg":11.1428392,"altitude":54,"angle":14,"satellites":44,"speed":45,"hex_longitude":"2d3c9e00","hex_latitude":"06a44328","is_valid_coordinates":true} 
[2026-07-19 03:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809511680001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352270580508000256,"note":"Value kept but may cause issues"} 
[2026-07-19 03:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4366873185957007360,"note":"Value kept but may cause issues"} 
[2026-07-19 03:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784412162000,"timestamp_ms":1784412162000,"timestamp_seconds":1784412162,"priority":1,"record_length":96,"hex_timestamp":"0000019f7740c7d0"} 
[2026-07-19 03:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:34: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-07-19 03:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-19 03:34:12] 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-07-19 03:34: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-07-19 03:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":137200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":137200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":137200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809511680001,"66":27234,"131":206,"81":49664,"24":45,"16":352270580508000256,"45":4366873185957007360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,81,24,16,45]} 
[2026-07-19 03:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809511680001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:34:12] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-19 03:34:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-19 03:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352270580508000256,"km_value":352270580508000.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4366873185957007360,"description":"Unknown IO ID 45"} 
[2026-07-19 03:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809511680001,"power":27234,"unknown_131":206,"unknown_81":49664,"ignition":45,"odometer":null,"unknown_45":4366873185957007360}} 
[2026-07-19 03:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":137200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:34:12] local.INFO: GPS data processed {"connection_id":137200,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:34:12] local.INFO: Acknowledgment sent {"connection_id":137200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:34:50] local.INFO: TCP Data received {"connection_id":136279,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136279,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:34:50] local.INFO: Processing buffer {"connection_id":136279,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:34:50] local.INFO: IMEI packet received {"connection_id":136279,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 03:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":136279,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:34:51] local.INFO: TCP Data received {"connection_id":136279,"ip":"42.106.6.32","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-19 03:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136279,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-19 03:34:51] local.INFO: Processing buffer {"connection_id":136279,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-19 03:34:51] local.INFO: IMEI packet received {"connection_id":136279,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-19 03:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":136279,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:35:07] local.INFO: TCP Data received {"connection_id":136147,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:35:07] local.INFO: Processing buffer {"connection_id":136147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:35:07] local.INFO: IMEI packet received {"connection_id":136147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":136147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:35:12] local.INFO: TCP Data received {"connection_id":136147,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:35:12] local.INFO: Processing buffer {"connection_id":136147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:35:12] local.INFO: IMEI packet received {"connection_id":136147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":136147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:35:14] local.INFO: TCP Data received {"connection_id":136147,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7740db58012d3ca64006a458a0003400192e..."} 
[2026-07-19 03:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7740db58012d3ca64006a458a0003400192e..."} 
[2026-07-19 03:35:14] local.INFO: Processing buffer {"connection_id":136147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7740db58012d3ca64006a458a0003400192e..."} 
[2026-07-19 03:35:14] local.INFO: Packet analysis {"connection_id":136147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7740"} 
[2026-07-19 03:35:14] local.INFO: Extracted packet for processing {"connection_id":136147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7740"} 
[2026-07-19 03:35:14] local.INFO: GPS Element Parsed {"raw_longitude":758949440,"raw_latitude":111433888,"longitude_deg":75.894944,"latitude_deg":11.1433888,"altitude":52,"angle":25,"satellites":46,"speed":48,"hex_longitude":"2d3ca640","hex_latitude":"06a458a0","is_valid_coordinates":true} 
[2026-07-19 03:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809513472001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352270863975841792,"note":"Value kept but may cause issues"} 
[2026-07-19 03:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4367928717121628160,"note":"Value kept but may cause issues"} 
[2026-07-19 03:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784412167000,"timestamp_ms":1784412167000,"timestamp_seconds":1784412167,"priority":1,"record_length":96,"hex_timestamp":"0000019f7740db58"} 
[2026-07-19 03:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-19 03:35:14] 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-07-19 03:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":136147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":136147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":136147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809513472001,"66":27234,"131":206,"81":49664,"24":48,"16":352270863975841792,"45":4367928717121628160},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,81,24,16,45]} 
[2026-07-19 03:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809513472001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:35:14] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-19 03:35:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-19 03:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352270863975841792,"km_value":352270863975841.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4367928717121628160,"description":"Unknown IO ID 45"} 
[2026-07-19 03:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809513472001,"power":27234,"unknown_131":206,"unknown_81":49664,"ignition":48,"odometer":null,"unknown_45":4367928717121628160}} 
[2026-07-19 03:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":136147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:35:14] local.INFO: GPS data processed {"connection_id":136147,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:35:14] local.INFO: Acknowledgment sent {"connection_id":136147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:35:45] local.INFO: TCP Data received {"connection_id":138601,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:35:45] local.INFO: Processing buffer {"connection_id":138601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:35:45] local.INFO: IMEI packet received {"connection_id":138601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":138601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:35:48] local.INFO: TCP Data received {"connection_id":138601,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:35:48] local.INFO: Processing buffer {"connection_id":138601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:35:48] local.INFO: IMEI packet received {"connection_id":138601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":138601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:35:52] local.INFO: TCP Data received {"connection_id":138601,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:35:52] local.INFO: Processing buffer {"connection_id":138601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:35:52] local.INFO: IMEI packet received {"connection_id":138601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":138601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:35:53] local.INFO: TCP Data received {"connection_id":138601,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f77425258012d3c7a0006a5ace80043014524..."} 
[2026-07-19 03:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77425258012d3c7a0006a5ace80043014524..."} 
[2026-07-19 03:35:53] local.INFO: Processing buffer {"connection_id":138601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77425258012d3c7a0006a5ace80043014524..."} 
[2026-07-19 03:35:53] local.INFO: Packet analysis {"connection_id":138601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7742"} 
[2026-07-19 03:35:53] local.INFO: Extracted packet for processing {"connection_id":138601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7742"} 
[2026-07-19 03:35:53] local.INFO: GPS Element Parsed {"raw_longitude":758938112,"raw_latitude":111521000,"longitude_deg":75.8938112,"latitude_deg":11.1521,"altitude":67,"angle":325,"satellites":36,"speed":29,"hex_longitude":"2d3c7a00","hex_latitude":"06a5ace8","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809536000001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352275408051240960,"note":"Value kept but may cause issues"} 
[2026-07-19 03:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4363706592492685312,"note":"Value kept but may cause issues"} 
[2026-07-19 03:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784412263000,"timestamp_ms":1784412263000,"timestamp_seconds":1784412263,"priority":1,"record_length":96,"hex_timestamp":"0000019f77425258"} 
[2026-07-19 03:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 03:35:53] 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-07-19 03: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-07-19 03:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":138601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":138601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":138601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809536000001,"66":27343,"235":206,"81":49664,"24":29,"16":352275408051240960,"45":4363706592492685312},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,81,24,16,45]} 
[2026-07-19 03:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809536000001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:35:53] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-19 03:35:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-19 03:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352275408051240960,"km_value":352275408051240.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4363706592492685312,"description":"Unknown IO ID 45"} 
[2026-07-19 03:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809536000001,"power":27343,"unknown_235":206,"unknown_81":49664,"ignition":29,"odometer":null,"unknown_45":4363706592492685312}} 
[2026-07-19 03:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":138601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:35:53] local.INFO: GPS data processed {"connection_id":138601,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:35:53] local.INFO: Acknowledgment sent {"connection_id":138601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:35:55] local.INFO: TCP Data received {"connection_id":138601,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f77428138012d3c640006a5cad80047014228..."} 
[2026-07-19 03:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77428138012d3c640006a5cad80047014228..."} 
[2026-07-19 03:35:55] local.INFO: Processing buffer {"connection_id":138601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77428138012d3c640006a5cad80047014228..."} 
[2026-07-19 03:35:55] local.INFO: Packet analysis {"connection_id":138601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7742"} 
[2026-07-19 03:35:55] local.INFO: Extracted packet for processing {"connection_id":138601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7742"} 
[2026-07-19 03:35:55] local.INFO: GPS Element Parsed {"raw_longitude":758932480,"raw_latitude":111528664,"longitude_deg":75.893248,"latitude_deg":11.1528664,"altitude":71,"angle":322,"satellites":40,"speed":32,"hex_longitude":"2d3c6400","hex_latitude":"06a5cad8","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809539328001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352275867612741632,"note":"Value kept but may cause issues"} 
[2026-07-19 03:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4357795617983752192,"note":"Value kept but may cause issues"} 
[2026-07-19 03:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784412275000,"timestamp_ms":1784412275000,"timestamp_seconds":1784412275,"priority":1,"record_length":96,"hex_timestamp":"0000019f77428138"} 
[2026-07-19 03:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03: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-07-19 03: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-07-19 03:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":138601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":138601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":138601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809539328001,"66":27517,"40":206,"81":49664,"24":32,"16":352275867612741632,"45":4357795617983752192},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-07-19 03:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809539328001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:35:55] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-19 03:35:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-19 03:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352275867612741632,"km_value":352275867612741.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4357795617983752192,"description":"Unknown IO ID 45"} 
[2026-07-19 03:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809539328001,"power":27517,"unknown_40":206,"unknown_81":49664,"ignition":32,"odometer":null,"unknown_45":4357795617983752192}} 
[2026-07-19 03:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":138601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:35:55] local.INFO: GPS data processed {"connection_id":138601,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:35:55] local.INFO: Acknowledgment sent {"connection_id":138601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:36:32] local.INFO: TCP Data received {"connection_id":136148,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:36:32] local.INFO: Processing buffer {"connection_id":136148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:36:32] local.INFO: IMEI packet received {"connection_id":136148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":136148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:36:36] local.INFO: TCP Data received {"connection_id":136148,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:36:36] local.INFO: Processing buffer {"connection_id":136148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:36:36] local.INFO: IMEI packet received {"connection_id":136148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":136148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:36:39] local.INFO: TCP Data received {"connection_id":136148,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7742ac30012d3c4c4006a5e7c00048013f23..."} 
[2026-07-19 03:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7742ac30012d3c4c4006a5e7c00048013f23..."} 
[2026-07-19 03:36:39] local.INFO: Processing buffer {"connection_id":136148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7742ac30012d3c4c4006a5e7c00048013f23..."} 
[2026-07-19 03:36:39] local.INFO: Packet analysis {"connection_id":136148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7742"} 
[2026-07-19 03:36:39] local.INFO: Extracted packet for processing {"connection_id":136148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7742"} 
[2026-07-19 03:36:39] local.INFO: GPS Element Parsed {"raw_longitude":758926400,"raw_latitude":111536064,"longitude_deg":75.89264,"latitude_deg":11.1536064,"altitude":72,"angle":319,"satellites":35,"speed":35,"hex_longitude":"2d3c4c40","hex_latitude":"06a5e7c0","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809542400001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352276327174242304,"note":"Value kept but may cause issues"} 
[2026-07-19 03:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4351603168498079744,"note":"Value kept but may cause issues"} 
[2026-07-19 03:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784412286000,"timestamp_ms":1784412286000,"timestamp_seconds":1784412286,"priority":1,"record_length":96,"hex_timestamp":"0000019f7742ac30"} 
[2026-07-19 03:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:36: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-07-19 03: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-19 03:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03: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-07-19 03:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809542400001,"66":27300,"40":206,"81":49664,"24":35,"16":352276327174242304,"45":4351603168498079744},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-07-19 03:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809542400001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:36:39] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-19 03:36:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-19 03:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352276327174242304,"km_value":352276327174242.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4351603168498079744,"description":"Unknown IO ID 45"} 
[2026-07-19 03:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809542400001,"power":27300,"unknown_40":206,"unknown_81":49664,"ignition":35,"odometer":null,"unknown_45":4351603168498079744}} 
[2026-07-19 03:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":136148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:36:39] local.INFO: GPS data processed {"connection_id":136148,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:36:39] local.INFO: Acknowledgment sent {"connection_id":136148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:37:14] local.INFO: TCP Data received {"connection_id":136148,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f77441b60012d3b418006a720d0002e011825..."} 
[2026-07-19 03:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77441b60012d3b418006a720d0002e011825..."} 
[2026-07-19 03:37:14] local.INFO: Processing buffer {"connection_id":136148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77441b60012d3b418006a720d0002e011825..."} 
[2026-07-19 03:37:14] local.INFO: Packet analysis {"connection_id":136148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7744"} 
[2026-07-19 03:37:14] local.INFO: Extracted packet for processing {"connection_id":136148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7744"} 
[2026-07-19 03:37:14] local.INFO: GPS Element Parsed {"raw_longitude":758858112,"raw_latitude":111616208,"longitude_deg":75.8858112,"latitude_deg":11.1616208,"altitude":46,"angle":280,"satellites":37,"speed":60,"hex_longitude":"2d3b4180","hex_latitude":"06a720d0","is_valid_coordinates":true} 
[2026-07-19 03:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809567744001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352281618573950976,"note":"Value kept but may cause issues"} 
[2026-07-19 03:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4279897418203039744,"note":"Value kept but may cause issues"} 
[2026-07-19 03:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784412380000,"timestamp_ms":1784412380000,"timestamp_seconds":1784412380,"priority":1,"record_length":96,"hex_timestamp":"0000019f77441b60"} 
[2026-07-19 03:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-19 03:37:14] 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-07-19 03:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":136148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":136148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":136148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809567744001,"66":27321,"186":206,"81":49664,"24":60,"16":352281618573950976,"45":4279897418203039744},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-07-19 03:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809567744001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:37:14] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-19 03:37:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-19 03:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352281618573950976,"km_value":352281618573951.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4279897418203039744,"description":"Unknown IO ID 45"} 
[2026-07-19 03:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809567744001,"power":27321,"unknown_186":206,"unknown_81":49664,"ignition":60,"odometer":null,"unknown_45":4279897418203039744}} 
[2026-07-19 03:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":136148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:37:14] local.INFO: GPS data processed {"connection_id":136148,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:37:14] local.INFO: Acknowledgment sent {"connection_id":136148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:37:35] local.INFO: TCP Data received {"connection_id":136149,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:37:35] local.INFO: Processing buffer {"connection_id":136149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:37:35] local.INFO: IMEI packet received {"connection_id":136149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":136149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:37:37] local.INFO: TCP Data received {"connection_id":136149,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:37:37] local.INFO: Processing buffer {"connection_id":136149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:37:37] local.INFO: IMEI packet received {"connection_id":136149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":136149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:37:43] local.INFO: TCP Data received {"connection_id":136149,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:37:43] local.INFO: Processing buffer {"connection_id":136149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:37:43] local.INFO: IMEI packet received {"connection_id":136149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":136149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:37:43] local.INFO: TCP Data received {"connection_id":136150,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-19 03:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136150,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-19 03:37:43] local.INFO: Processing buffer {"connection_id":136150,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-19 03:37:43] local.INFO: Packet analysis {"connection_id":136150,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-19 03:37:43] local.INFO: Extracted packet for processing {"connection_id":136150,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-19 03:37:43] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-19 03:37:43] 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-07-19 03:37:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-07-19 03:37:43] 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-07-19 03:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-07-19 03:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-07-19 03:37:43] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136150,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-07-19 03:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136150,"device_imei":null,"avl_records_count":1} 
[2026-07-19 03:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136150,"device_imei":null,"avl_records_count":1} 
[2026-07-19 03:37:43] 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-07-19 03:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":136150,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-19 03:37:43] local.INFO: GPS data processed {"connection_id":136150,"processed":0,"errors":0,"total":1} 
[2026-07-19 03:37:43] local.INFO: Acknowledgment sent {"connection_id":136150,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:37:45] local.INFO: TCP Data received {"connection_id":136149,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f774432d0012d3b1dc006a727e8002d011926..."} 
[2026-07-19 03:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f774432d0012d3b1dc006a727e8002d011926..."} 
[2026-07-19 03:37:45] local.INFO: Processing buffer {"connection_id":136149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f774432d0012d3b1dc006a727e8002d011926..."} 
[2026-07-19 03:37:45] local.INFO: Packet analysis {"connection_id":136149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7744"} 
[2026-07-19 03:37:45] local.INFO: Extracted packet for processing {"connection_id":136149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7744"} 
[2026-07-19 03:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758848960,"raw_latitude":111618024,"longitude_deg":75.884896,"latitude_deg":11.1618024,"altitude":45,"angle":281,"satellites":38,"speed":61,"hex_longitude":"2d3b1dc0","hex_latitude":"06a727e8","is_valid_coordinates":true} 
[2026-07-19 03:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809569280001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352282060955582464,"note":"Value kept but may cause issues"} 
[2026-07-19 03:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4269834687786045440,"note":"Value kept but may cause issues"} 
[2026-07-19 03:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784412386000,"timestamp_ms":1784412386000,"timestamp_seconds":1784412386,"priority":1,"record_length":96,"hex_timestamp":"0000019f774432d0"} 
[2026-07-19 03:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 03:37:45] 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-07-19 03:37:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":136149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":136149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":136149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809569280001,"66":27300,"186":206,"81":49664,"24":61,"16":352282060955582464,"45":4269834687786045440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-07-19 03:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809569280001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:37:45] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-19 03:37:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-19 03:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352282060955582464,"km_value":352282060955582.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4269834687786045440,"description":"Unknown IO ID 45"} 
[2026-07-19 03:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809569280001,"power":27300,"unknown_186":206,"unknown_81":49664,"ignition":61,"odometer":null,"unknown_45":4269834687786045440}} 
[2026-07-19 03:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":136149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:37:45] local.INFO: GPS data processed {"connection_id":136149,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:37:45] local.INFO: Acknowledgment sent {"connection_id":136149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:37:46] local.INFO: TCP Data received {"connection_id":136149,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f77444a40012d3af94006a72eb0002b011829..."} 
[2026-07-19 03:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77444a40012d3af94006a72eb0002b011829..."} 
[2026-07-19 03:37:46] local.INFO: Processing buffer {"connection_id":136149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77444a40012d3af94006a72eb0002b011829..."} 
[2026-07-19 03:37:46] local.INFO: Packet analysis {"connection_id":136149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7744"} 
[2026-07-19 03:37:46] local.INFO: Extracted packet for processing {"connection_id":136149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7744"} 
[2026-07-19 03:37:46] local.INFO: GPS Element Parsed {"raw_longitude":758839616,"raw_latitude":111619760,"longitude_deg":75.8839616,"latitude_deg":11.161976,"altitude":43,"angle":280,"satellites":41,"speed":63,"hex_longitude":"2d3af940","hex_latitude":"06a72eb0","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809570816001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352282511927148544,"note":"Value kept but may cause issues"} 
[2026-07-19 03:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4259771957369104384,"note":"Value kept but may cause issues"} 
[2026-07-19 03:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784412392000,"timestamp_ms":1784412392000,"timestamp_seconds":1784412392,"priority":1,"record_length":96,"hex_timestamp":"0000019f77444a40"} 
[2026-07-19 03:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-19 03:37:46] 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-07-19 03: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-07-19 03:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":136149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":136149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":136149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809570816001,"66":27180,"186":206,"81":49664,"24":63,"16":352282511927148544,"45":4259771957369104384},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-07-19 03:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809570816001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:37:46] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-19 03:37:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-19 03:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352282511927148544,"km_value":352282511927148.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4259771957369104384,"description":"Unknown IO ID 45"} 
[2026-07-19 03:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809570816001,"power":27180,"unknown_186":206,"unknown_81":49664,"ignition":63,"odometer":null,"unknown_45":4259771957369104384}} 
[2026-07-19 03:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":136149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:37:46] local.INFO: GPS data processed {"connection_id":136149,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:37:46] local.INFO: Acknowledgment sent {"connection_id":136149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:37:49] local.INFO: TCP Data received {"connection_id":136151,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-19 03:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136151,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-19 03:37:49] local.INFO: Processing buffer {"connection_id":136151,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-19 03:37:49] local.INFO: Packet analysis {"connection_id":136151,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-19 03:37:49] local.INFO: Extracted packet for processing {"connection_id":136151,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-19 03: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-07-19 03:37: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-07-19 03:37:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-07-19 03:37: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-07-19 03:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-07-19 03:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-07-19 03:37:49] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":136151,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-07-19 03:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":136151,"device_imei":null,"avl_records_count":1} 
[2026-07-19 03:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":136151,"device_imei":null,"avl_records_count":1} 
[2026-07-19 03:37: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-07-19 03:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":136151,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-19 03:37:49] local.INFO: GPS data processed {"connection_id":136151,"processed":0,"errors":0,"total":1} 
[2026-07-19 03:37:49] local.INFO: Acknowledgment sent {"connection_id":136151,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:38:41] local.INFO: TCP Data received {"connection_id":136282,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:38:41] local.INFO: Processing buffer {"connection_id":136282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:38:41] local.INFO: IMEI packet received {"connection_id":136282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":136282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:38:42] local.INFO: TCP Data received {"connection_id":136282,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:38:42] local.INFO: Processing buffer {"connection_id":136282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:38:42] local.INFO: IMEI packet received {"connection_id":136282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":136282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:38:47] local.INFO: TCP Data received {"connection_id":136282,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:38:47] local.INFO: Processing buffer {"connection_id":136282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:38:47] local.INFO: IMEI packet received {"connection_id":136282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":136282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:38:49] local.INFO: TCP Data received {"connection_id":136282,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f77456b50012d39c30006a7df98001001542e..."} 
[2026-07-19 03:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77456b50012d39c30006a7df98001001542e..."} 
[2026-07-19 03:38:49] local.INFO: Processing buffer {"connection_id":136282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77456b50012d39c30006a7df98001001542e..."} 
[2026-07-19 03:38:49] local.INFO: Packet analysis {"connection_id":136282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7745"} 
[2026-07-19 03:38:49] local.INFO: Extracted packet for processing {"connection_id":136282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7745"} 
[2026-07-19 03:38:49] local.INFO: GPS Element Parsed {"raw_longitude":758760192,"raw_latitude":111665048,"longitude_deg":75.8760192,"latitude_deg":11.1665048,"altitude":16,"angle":340,"satellites":46,"speed":35,"hex_longitude":"2d39c300","hex_latitude":"06a7df98","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809588992001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352287343765356544,"note":"Value kept but may cause issues"} 
[2026-07-19 03:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4165477840180862976,"note":"Value kept but may cause issues"} 
[2026-07-19 03:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784412466000,"timestamp_ms":1784412466000,"timestamp_seconds":1784412466,"priority":1,"record_length":96,"hex_timestamp":"0000019f77456b50"} 
[2026-07-19 03:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-19 03:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03: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-07-19 03:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":136282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":136282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":136282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809588992001,"66":27332,"238":206,"81":49664,"24":35,"16":352287343765356544,"45":4165477840180862976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-07-19 03:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809588992001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:38:49] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-19 03:38:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-19 03:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352287343765356544,"km_value":352287343765356.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4165477840180862976,"description":"Unknown IO ID 45"} 
[2026-07-19 03:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809588992001,"power":27332,"unknown_238":206,"unknown_81":49664,"ignition":35,"odometer":null,"unknown_45":4165477840180862976}} 
[2026-07-19 03:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":136282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:38:49] local.INFO: GPS data processed {"connection_id":136282,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:38:49] local.INFO: Acknowledgment sent {"connection_id":136282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:39:32] local.INFO: TCP Data received {"connection_id":136284,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:39:32] local.INFO: Processing buffer {"connection_id":136284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:39:32] local.INFO: IMEI packet received {"connection_id":136284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":136284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:39:34] local.INFO: TCP Data received {"connection_id":136284,"ip":"42.106.6.37","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 03:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136284,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 03:39:34] local.INFO: Processing buffer {"connection_id":136284,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 03:39:34] local.INFO: IMEI packet received {"connection_id":136284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":136284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:39:36] local.INFO: TCP Data received {"connection_id":136284,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:39:36] local.INFO: Processing buffer {"connection_id":136284,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 03:39:36] local.INFO: IMEI packet received {"connection_id":136284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":136284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:39:53] local.INFO: TCP Data received {"connection_id":136283,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:39:53] local.INFO: Processing buffer {"connection_id":136283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:39:53] local.INFO: IMEI packet received {"connection_id":136283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 03:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":136283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:40:32] local.INFO: TCP Data received {"connection_id":137202,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137202,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:40:32] local.INFO: Processing buffer {"connection_id":137202,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:40:32] local.INFO: IMEI packet received {"connection_id":137202,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 03:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":137202,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:44:38] local.INFO: TCP Data received {"connection_id":136154,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:44:38] local.INFO: Processing buffer {"connection_id":136154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:44:38] local.INFO: IMEI packet received {"connection_id":136154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":136154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:44:39] local.INFO: TCP Data received {"connection_id":136154,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f774a31f8012d352a4006aa5c80000701232e..."} 
[2026-07-19 03:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f774a31f8012d352a4006aa5c80000701232e..."} 
[2026-07-19 03:44:39] local.INFO: Processing buffer {"connection_id":136154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f774a31f8012d352a4006aa5c80000701232e..."} 
[2026-07-19 03:44:39] local.INFO: Packet analysis {"connection_id":136154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f774a"} 
[2026-07-19 03:44:39] local.INFO: Extracted packet for processing {"connection_id":136154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f774a"} 
[2026-07-19 03:44:39] local.INFO: GPS Element Parsed {"raw_longitude":758458944,"raw_latitude":111828096,"longitude_deg":75.8458944,"latitude_deg":11.1828096,"altitude":7,"angle":291,"satellites":46,"speed":43,"hex_longitude":"2d352a40","hex_latitude":"06aa5c80","is_valid_coordinates":true} 
[2026-07-19 03:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809669376001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352305137814863872,"note":"Value kept but may cause issues"} 
[2026-07-19 03:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3840444610867255296,"note":"Value kept but may cause issues"} 
[2026-07-19 03:44: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-07-19 03:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784412779000,"timestamp_ms":1784412779000,"timestamp_seconds":1784412779,"priority":1,"record_length":96,"hex_timestamp":"0000019f774a31f8"} 
[2026-07-19 03:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-19 03:44:39] 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-07-19 03:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809669376001,"66":27082,"97":206,"81":23296,"24":43,"16":352305137814863872,"45":3840444610867255296},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 03:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809669376001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:44:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:44:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352305137814863872,"km_value":352305137814863.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3840444610867255296,"description":"Unknown IO ID 45"} 
[2026-07-19 03:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809669376001,"power":27082,"unknown_97":206,"unknown_81":23296,"ignition":43,"odometer":null,"unknown_45":3840444610867255296}} 
[2026-07-19 03:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":136154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:44:39] local.INFO: GPS data processed {"connection_id":136154,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:44:39] local.INFO: Acknowledgment sent {"connection_id":136154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:45:10] local.INFO: TCP Data received {"connection_id":136154,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f774a5138012d35120006aa65880007010f2c..."} 
[2026-07-19 03:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f774a5138012d35120006aa65880007010f2c..."} 
[2026-07-19 03:45:10] local.INFO: Processing buffer {"connection_id":136154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f774a5138012d35120006aa65880007010f2c..."} 
[2026-07-19 03:45:10] local.INFO: Packet analysis {"connection_id":136154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f774a"} 
[2026-07-19 03:45:10] local.INFO: Extracted packet for processing {"connection_id":136154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f774a"} 
[2026-07-19 03:45:10] local.INFO: GPS Element Parsed {"raw_longitude":758452736,"raw_latitude":111830408,"longitude_deg":75.8452736,"latitude_deg":11.1830408,"altitude":7,"angle":271,"satellites":44,"speed":20,"hex_longitude":"2d351200","hex_latitude":"06aa6588","is_valid_coordinates":true} 
[2026-07-19 03:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809671424001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352305455642443776,"note":"Value kept but may cause issues"} 
[2026-07-19 03:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3830944830404198400,"note":"Value kept but may cause issues"} 
[2026-07-19 03:45: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-07-19 03:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784412787000,"timestamp_ms":1784412787000,"timestamp_seconds":1784412787,"priority":1,"record_length":96,"hex_timestamp":"0000019f774a5138"} 
[2026-07-19 03:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-19 03:45:10] 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-07-19 03:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809671424001,"66":27234,"97":206,"81":23296,"24":20,"16":352305455642443776,"45":3830944830404198400},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 03:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809671424001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:45:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:45:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352305455642443776,"km_value":352305455642443.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3830944830404198400,"description":"Unknown IO ID 45"} 
[2026-07-19 03:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809671424001,"power":27234,"unknown_97":206,"unknown_81":23296,"ignition":20,"odometer":null,"unknown_45":3830944830404198400}} 
[2026-07-19 03:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":136154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:45:10] local.INFO: GPS data processed {"connection_id":136154,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:45:10] local.INFO: Acknowledgment sent {"connection_id":136154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:45:32] local.INFO: TCP Data received {"connection_id":136289,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:45:32] local.INFO: Processing buffer {"connection_id":136289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:45:32] local.INFO: IMEI packet received {"connection_id":136289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":136289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:45:37] local.INFO: TCP Data received {"connection_id":136289,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:45:37] local.INFO: Processing buffer {"connection_id":136289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:45:37] local.INFO: IMEI packet received {"connection_id":136289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":136289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:45:38] local.INFO: TCP Data received {"connection_id":136289,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f774bc838012d34c58006aa40c0000a00e030..."} 
[2026-07-19 03:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f774bc838012d34c58006aa40c0000a00e030..."} 
[2026-07-19 03:45:38] local.INFO: Processing buffer {"connection_id":136289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f774bc838012d34c58006aa40c0000a00e030..."} 
[2026-07-19 03:45:38] local.INFO: Packet analysis {"connection_id":136289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f774b"} 
[2026-07-19 03:45:38] local.INFO: Extracted packet for processing {"connection_id":136289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f774b"} 
[2026-07-19 03:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820992,"longitude_deg":75.8433152,"latitude_deg":11.1820992,"altitude":10,"angle":224,"satellites":48,"speed":5,"hex_longitude":"2d34c580","hex_latitude":"06aa40c0","is_valid_coordinates":true} 
[2026-07-19 03:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809693184001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306662528253952,"note":"Value kept but may cause issues"} 
[2026-07-19 03:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987505152,"note":"Value kept but may cause issues"} 
[2026-07-19 03:45: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-07-19 03:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784412883000,"timestamp_ms":1784412883000,"timestamp_seconds":1784412883,"priority":1,"record_length":96,"hex_timestamp":"0000019f774bc838"} 
[2026-07-19 03:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:45: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-07-19 03:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-19 03:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809693184001,"66":27365,"97":206,"81":23296,"24":5,"16":352306662528253952,"45":3802726963987505152},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 03:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809693184001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:45:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306662528253952,"km_value":352306662528253.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987505152,"description":"Unknown IO ID 45"} 
[2026-07-19 03:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809693184001,"power":27365,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3802726963987505152}} 
[2026-07-19 03:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":136289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:45:38] local.INFO: GPS data processed {"connection_id":136289,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:45:38] local.INFO: Acknowledgment sent {"connection_id":136289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:45:52] local.INFO: TCP Data received {"connection_id":136288,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:45:52] local.INFO: Processing buffer {"connection_id":136288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:45:52] local.INFO: IMEI packet received {"connection_id":136288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 03:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":136288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:46:09] local.INFO: TCP Data received {"connection_id":136289,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f774bd3f0012d34c3c006aa3f50000900f230..."} 
[2026-07-19 03:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f774bd3f0012d34c3c006aa3f50000900f230..."} 
[2026-07-19 03:46:09] local.INFO: Processing buffer {"connection_id":136289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f774bd3f0012d34c3c006aa3f50000900f230..."} 
[2026-07-19 03:46:09] local.INFO: Packet analysis {"connection_id":136289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f774b"} 
[2026-07-19 03:46:09] local.INFO: Extracted packet for processing {"connection_id":136289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f774b"} 
[2026-07-19 03:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111820624,"longitude_deg":75.8432704,"latitude_deg":11.1820624,"altitude":9,"angle":242,"satellites":48,"speed":8,"hex_longitude":"2d34c3c0","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809698048001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306688298057728,"note":"Value kept but may cause issues"} 
[2026-07-19 03:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498781184,"note":"Value kept but may cause issues"} 
[2026-07-19 03:46: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-07-19 03:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784412886000,"timestamp_ms":1784412886000,"timestamp_seconds":1784412886,"priority":1,"record_length":96,"hex_timestamp":"0000019f774bd3f0"} 
[2026-07-19 03:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-19 03:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03: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-07-19 03:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809698048001,"66":27484,"97":206,"81":23296,"24":8,"16":352306688298057728,"45":3802586226498781184},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 03:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809698048001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:46:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306688298057728,"km_value":352306688298057.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498781184,"description":"Unknown IO ID 45"} 
[2026-07-19 03:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809698048001,"power":27484,"unknown_97":206,"unknown_81":23296,"ignition":8,"odometer":null,"unknown_45":3802586226498781184}} 
[2026-07-19 03:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":136289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:46:09] local.INFO: GPS data processed {"connection_id":136289,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:46:09] local.INFO: Acknowledgment sent {"connection_id":136289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:46:26] local.INFO: TCP Data received {"connection_id":138605,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:46:26] local.INFO: Processing buffer {"connection_id":138605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:46:26] local.INFO: IMEI packet received {"connection_id":138605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 03:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":138605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:46:27] local.INFO: TCP Data received {"connection_id":138605,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:46:27] local.INFO: Processing buffer {"connection_id":138605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:46:27] local.INFO: IMEI packet received {"connection_id":138605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-19 03:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":138605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:46:32] local.INFO: TCP Data received {"connection_id":137204,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:46:32] local.INFO: Processing buffer {"connection_id":137204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:46:32] local.INFO: IMEI packet received {"connection_id":137204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":137204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:46:32] local.INFO: TCP Data received {"connection_id":138605,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:46:32] local.INFO: Processing buffer {"connection_id":138605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:46:32] local.INFO: IMEI packet received {"connection_id":138605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-19 03:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":138605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:46:38] local.INFO: TCP Data received {"connection_id":137204,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:46:38] local.INFO: Processing buffer {"connection_id":137204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:46:38] local.INFO: IMEI packet received {"connection_id":137204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":137204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:46:40] local.INFO: TCP Data received {"connection_id":137204,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f774bd7d8012d34c30006aa3f000009010130..."} 
[2026-07-19 03:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f774bd7d8012d34c30006aa3f000009010130..."} 
[2026-07-19 03:46:40] local.INFO: Processing buffer {"connection_id":137204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f774bd7d8012d34c30006aa3f000009010130..."} 
[2026-07-19 03:46:40] local.INFO: Packet analysis {"connection_id":137204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f774b"} 
[2026-07-19 03:46:40] local.INFO: Extracted packet for processing {"connection_id":137204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f774b"} 
[2026-07-19 03:46:40] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111820544,"longitude_deg":75.8432512,"latitude_deg":11.1820544,"altitude":9,"angle":257,"satellites":48,"speed":7,"hex_longitude":"2d34c300","hex_latitude":"06aa3f00","is_valid_coordinates":true} 
[2026-07-19 03:46: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-07-19 03:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809698816001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306696887992320,"note":"Value kept but may cause issues"} 
[2026-07-19 03:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289443328,"note":"Value kept but may cause issues"} 
[2026-07-19 03:46: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-07-19 03:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784412887000,"timestamp_ms":1784412887000,"timestamp_seconds":1784412887,"priority":1,"record_length":96,"hex_timestamp":"0000019f774bd7d8"} 
[2026-07-19 03:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-19 03:46:40] 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-07-19 03:46: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-07-19 03:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":137204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":137204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":137204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809698816001,"66":27310,"97":206,"81":23296,"24":7,"16":352306696887992320,"45":3802093645289443328},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 03:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809698816001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:46:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:46:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306696887992320,"km_value":352306696887992.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289443328,"description":"Unknown IO ID 45"} 
[2026-07-19 03:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809698816001,"power":27310,"unknown_97":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":3802093645289443328}} 
[2026-07-19 03:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":137204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:46:40] local.INFO: GPS data processed {"connection_id":137204,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:46:40] local.INFO: Acknowledgment sent {"connection_id":137204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:47:11] local.INFO: TCP Data received {"connection_id":137204,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f774c29e0012d34c40006aa4098000901012f..."} 
[2026-07-19 03:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f774c29e0012d34c40006aa4098000901012f..."} 
[2026-07-19 03:47:11] local.INFO: Processing buffer {"connection_id":137204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f774c29e0012d34c40006aa4098000901012f..."} 
[2026-07-19 03:47:11] local.INFO: Packet analysis {"connection_id":137204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f774c"} 
[2026-07-19 03:47:11] local.INFO: Extracted packet for processing {"connection_id":137204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f774c"} 
[2026-07-19 03:47:11] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820952,"longitude_deg":75.8432768,"latitude_deg":11.1820952,"altitude":9,"angle":257,"satellites":47,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809699072001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306757017534464,"note":"Value kept but may cause issues"} 
[2026-07-19 03:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539056889856,"note":"Value kept but may cause issues"} 
[2026-07-19 03:47: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-07-19 03:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784412908000,"timestamp_ms":1784412908000,"timestamp_seconds":1784412908,"priority":1,"record_length":96,"hex_timestamp":"0000019f774c29e0"} 
[2026-07-19 03:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:47: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-07-19 03: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-19 03:47:11] 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-07-19 03: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-07-19 03:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":137204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":137204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":137204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809699072001,"66":27234,"97":206,"81":23296,"24":0,"16":352306757017534464,"45":3801882539056889856},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 03:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809699072001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:47:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:47:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306757017534464,"km_value":352306757017534.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539056889856,"description":"Unknown IO ID 45"} 
[2026-07-19 03:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809699072001,"power":27234,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539056889856}} 
[2026-07-19 03:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":137204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:47:11] local.INFO: GPS data processed {"connection_id":137204,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:47:11] local.INFO: Acknowledgment sent {"connection_id":137204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:47:37] local.INFO: TCP Data received {"connection_id":136290,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:47:37] local.INFO: Processing buffer {"connection_id":136290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:47:37] local.INFO: IMEI packet received {"connection_id":136290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":136290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:47:42] local.INFO: TCP Data received {"connection_id":136290,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:47:42] local.INFO: Processing buffer {"connection_id":136290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:47:42] local.INFO: IMEI packet received {"connection_id":136290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":136290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:47:43] local.INFO: TCP Data received {"connection_id":136290,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f774c7be8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f774c7be8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:47:43] local.INFO: Processing buffer {"connection_id":136290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f774c7be8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:47:43] local.INFO: Packet analysis {"connection_id":136290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f774c"} 
[2026-07-19 03:47:43] local.INFO: Extracted packet for processing {"connection_id":136290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f774c"} 
[2026-07-19 03:47:43] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111821120,"longitude_deg":75.8433408,"latitude_deg":11.182112,"altitude":8,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809704448001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033704960,"note":"Value kept but may cause issues"} 
[2026-07-19 03:47: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-07-19 03:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784412929000,"timestamp_ms":1784412929000,"timestamp_seconds":1784412929,"priority":1,"record_length":96,"hex_timestamp":"0000019f774c7be8"} 
[2026-07-19 03:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-19 03:47:43] 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-07-19 03:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:47:43] 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-07-19 03:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809704448001,"66":27865,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802164014033704960},"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-07-19 03:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809704448001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:47:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:47:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033704960,"description":"Unknown IO ID 45"} 
[2026-07-19 03:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809704448001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033704960}} 
[2026-07-19 03:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":136290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:47:43] local.INFO: GPS data processed {"connection_id":136290,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:47:43] local.INFO: Acknowledgment sent {"connection_id":136290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:48:15] local.INFO: TCP Data received {"connection_id":136290,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f774c83b8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f774c83b8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:48:15] local.INFO: Processing buffer {"connection_id":136290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f774c83b8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:48:15] local.INFO: Packet analysis {"connection_id":136290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f774c"} 
[2026-07-19 03:48:15] local.INFO: Extracted packet for processing {"connection_id":136290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f774c"} 
[2026-07-19 03:48:15] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111821120,"longitude_deg":75.8433408,"latitude_deg":11.182112,"altitude":8,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03:48: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-07-19 03:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809709824001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475524608,"note":"Value kept but may cause issues"} 
[2026-07-19 03:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784412931000,"timestamp_ms":1784412931000,"timestamp_seconds":1784412931,"priority":1,"record_length":96,"hex_timestamp":"0000019f774c83b8"} 
[2026-07-19 03:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03:48: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-07-19 03:48: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-07-19 03:48: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-07-19 03:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":136290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":136290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":136290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:48:15] 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-07-19 03:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809709824001,"66":27908,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802867701475524608},"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-07-19 03:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809709824001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:48:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:48:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475524608,"description":"Unknown IO ID 45"} 
[2026-07-19 03:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809709824001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475524608}} 
[2026-07-19 03:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":136290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:48:15] local.INFO: GPS data processed {"connection_id":136290,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:48:15] local.INFO: Acknowledgment sent {"connection_id":136290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:48:33] local.INFO: TCP Data received {"connection_id":138607,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:48:33] local.INFO: Processing buffer {"connection_id":138607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:48:33] local.INFO: IMEI packet received {"connection_id":138607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":138607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:48:37] local.INFO: TCP Data received {"connection_id":138607,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:48:37] local.INFO: Processing buffer {"connection_id":138607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:48:37] local.INFO: IMEI packet received {"connection_id":138607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":138607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:48:39] local.INFO: TCP Data received {"connection_id":138607,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f774c83b8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f774c83b8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:48:39] local.INFO: Processing buffer {"connection_id":138607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f774c83b8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:48:39] local.INFO: Packet analysis {"connection_id":138607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f774c"} 
[2026-07-19 03:48:39] local.INFO: Extracted packet for processing {"connection_id":138607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f774c"} 
[2026-07-19 03:48:39] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111821120,"longitude_deg":75.8433408,"latitude_deg":11.182112,"altitude":8,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809709824001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475524608,"note":"Value kept but may cause issues"} 
[2026-07-19 03:48: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-07-19 03:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784412931000,"timestamp_ms":1784412931000,"timestamp_seconds":1784412931,"priority":1,"record_length":96,"hex_timestamp":"0000019f774c83b8"} 
[2026-07-19 03:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:48: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-07-19 03: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-19 03:48: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-07-19 03:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":138607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":138607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":138607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:48:39] 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-07-19 03:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809709824001,"66":27908,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802867701475524608},"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-07-19 03:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809709824001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:48:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:48:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475524608,"description":"Unknown IO ID 45"} 
[2026-07-19 03:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809709824001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475524608}} 
[2026-07-19 03:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":138607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:48:39] local.INFO: GPS data processed {"connection_id":138607,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:48:39] local.INFO: Acknowledgment sent {"connection_id":138607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:49:10] local.INFO: TCP Data received {"connection_id":138607,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f774c83b8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f774c83b8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:49:10] local.INFO: Processing buffer {"connection_id":138607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f774c83b8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:49:10] local.INFO: Packet analysis {"connection_id":138607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f774c"} 
[2026-07-19 03:49:10] local.INFO: Extracted packet for processing {"connection_id":138607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f774c"} 
[2026-07-19 03:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111821120,"longitude_deg":75.8433408,"latitude_deg":11.182112,"altitude":8,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809709824001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475524608,"note":"Value kept but may cause issues"} 
[2026-07-19 03:49: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-07-19 03:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784412931000,"timestamp_ms":1784412931000,"timestamp_seconds":1784412931,"priority":1,"record_length":96,"hex_timestamp":"0000019f774c83b8"} 
[2026-07-19 03:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:49: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-07-19 03:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-19 03:49: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-07-19 03:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:49:10] 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-07-19 03:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809709824001,"66":27908,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802867701475524608},"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-07-19 03:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809709824001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:49:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:49:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475524608,"description":"Unknown IO ID 45"} 
[2026-07-19 03:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809709824001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475524608}} 
[2026-07-19 03:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":138607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:49:10] local.INFO: GPS data processed {"connection_id":138607,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:49:10] local.INFO: Acknowledgment sent {"connection_id":138607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:49:32] local.INFO: TCP Data received {"connection_id":136291,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:49:32] local.INFO: Processing buffer {"connection_id":136291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:49:32] local.INFO: IMEI packet received {"connection_id":136291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":136291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:49:37] local.INFO: TCP Data received {"connection_id":136291,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:49:37] local.INFO: Processing buffer {"connection_id":136291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:49:37] local.INFO: IMEI packet received {"connection_id":136291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":136291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:49:39] local.INFO: TCP Data received {"connection_id":136291,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f774c83b8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f774c83b8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:49:39] local.INFO: Processing buffer {"connection_id":136291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f774c83b8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:49:39] local.INFO: Packet analysis {"connection_id":136291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f774c"} 
[2026-07-19 03:49:39] local.INFO: Extracted packet for processing {"connection_id":136291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f774c"} 
[2026-07-19 03:49:39] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111821120,"longitude_deg":75.8433408,"latitude_deg":11.182112,"altitude":8,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809709824001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475524608,"note":"Value kept but may cause issues"} 
[2026-07-19 03: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-07-19 03:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784412931000,"timestamp_ms":1784412931000,"timestamp_seconds":1784412931,"priority":1,"record_length":96,"hex_timestamp":"0000019f774c83b8"} 
[2026-07-19 03:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:49: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-07-19 03: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-19 03:49: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-07-19 03: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-07-19 03:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:49:39] 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-07-19 03:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809709824001,"66":27908,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802867701475524608},"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-07-19 03:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809709824001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:49:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:49:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475524608,"description":"Unknown IO ID 45"} 
[2026-07-19 03:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809709824001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475524608}} 
[2026-07-19 03:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":136291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:49:39] local.INFO: GPS data processed {"connection_id":136291,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:49:39] local.INFO: Acknowledgment sent {"connection_id":136291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:50:10] local.INFO: TCP Data received {"connection_id":136291,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f774c83b8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f774c83b8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:50:10] local.INFO: Processing buffer {"connection_id":136291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f774c83b8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:50:10] local.INFO: Packet analysis {"connection_id":136291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f774c"} 
[2026-07-19 03:50:10] local.INFO: Extracted packet for processing {"connection_id":136291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f774c"} 
[2026-07-19 03:50:10] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111821120,"longitude_deg":75.8433408,"latitude_deg":11.182112,"altitude":8,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809709824001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475524608,"note":"Value kept but may cause issues"} 
[2026-07-19 03:50: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-07-19 03:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784412931000,"timestamp_ms":1784412931000,"timestamp_seconds":1784412931,"priority":1,"record_length":96,"hex_timestamp":"0000019f774c83b8"} 
[2026-07-19 03:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:50: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-07-19 03: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-19 03:50: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-07-19 03: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-07-19 03:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:50:10] 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-07-19 03:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809709824001,"66":27908,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802867701475524608},"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-07-19 03:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809709824001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:50:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:50:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475524608,"description":"Unknown IO ID 45"} 
[2026-07-19 03:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809709824001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475524608}} 
[2026-07-19 03:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":136291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:50:10] local.INFO: GPS data processed {"connection_id":136291,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:50:10] local.INFO: Acknowledgment sent {"connection_id":136291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:50:32] local.INFO: TCP Data received {"connection_id":137206,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:50:32] local.INFO: Processing buffer {"connection_id":137206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:50:32] local.INFO: IMEI packet received {"connection_id":137206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":137206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:50:37] local.INFO: TCP Data received {"connection_id":137206,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:50:37] local.INFO: Processing buffer {"connection_id":137206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:50:37] local.INFO: IMEI packet received {"connection_id":137206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":137206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:50:38] local.INFO: TCP Data received {"connection_id":137206,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f774c83b8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f774c83b8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:50:38] local.INFO: Processing buffer {"connection_id":137206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f774c83b8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:50:38] local.INFO: Packet analysis {"connection_id":137206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f774c"} 
[2026-07-19 03:50:38] local.INFO: Extracted packet for processing {"connection_id":137206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f774c"} 
[2026-07-19 03:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111821120,"longitude_deg":75.8433408,"latitude_deg":11.182112,"altitude":8,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03:50: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-07-19 03:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809709824001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475524608,"note":"Value kept but may cause issues"} 
[2026-07-19 03:50: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-07-19 03:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784412931000,"timestamp_ms":1784412931000,"timestamp_seconds":1784412931,"priority":1,"record_length":96,"hex_timestamp":"0000019f774c83b8"} 
[2026-07-19 03:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:50: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-07-19 03:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-19 03:50: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-07-19 03:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809709824001,"66":27908,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802867701475524608},"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-07-19 03:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809709824001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:50:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:50:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475524608,"description":"Unknown IO ID 45"} 
[2026-07-19 03:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809709824001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475524608}} 
[2026-07-19 03:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":137206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:50:38] local.INFO: GPS data processed {"connection_id":137206,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:50:38] local.INFO: Acknowledgment sent {"connection_id":137206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:51:10] local.INFO: TCP Data received {"connection_id":137206,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f774c83b8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f774c83b8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:51:10] local.INFO: Processing buffer {"connection_id":137206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f774c83b8012d34c68006aa4140000801012d..."} 
[2026-07-19 03:51:10] local.INFO: Packet analysis {"connection_id":137206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f774c"} 
[2026-07-19 03:51:10] local.INFO: Extracted packet for processing {"connection_id":137206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f774c"} 
[2026-07-19 03:51:10] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111821120,"longitude_deg":75.8433408,"latitude_deg":11.182112,"altitude":8,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809709824001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475524608,"note":"Value kept but may cause issues"} 
[2026-07-19 03:51: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-07-19 03:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784412931000,"timestamp_ms":1784412931000,"timestamp_seconds":1784412931,"priority":1,"record_length":96,"hex_timestamp":"0000019f774c83b8"} 
[2026-07-19 03:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 03: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-19 03:51: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-07-19 03: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-07-19 03:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:51:10] 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-07-19 03:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809709824001,"66":27908,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802867701475524608},"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-07-19 03:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809709824001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:51:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:51:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475524608,"description":"Unknown IO ID 45"} 
[2026-07-19 03:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809709824001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475524608}} 
[2026-07-19 03:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":137206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:51:10] local.INFO: GPS data processed {"connection_id":137206,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:51:10] local.INFO: Acknowledgment sent {"connection_id":137206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:51:37] local.INFO: TCP Data received {"connection_id":137208,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:51:37] local.INFO: Processing buffer {"connection_id":137208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:51:37] local.INFO: IMEI packet received {"connection_id":137208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":137208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:51:43] local.INFO: TCP Data received {"connection_id":137208,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:51:43] local.INFO: Processing buffer {"connection_id":137208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:51:43] local.INFO: IMEI packet received {"connection_id":137208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":137208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:51:44] local.INFO: TCP Data received {"connection_id":137208,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:51:44] local.INFO: Processing buffer {"connection_id":137208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:51:44] local.INFO: Packet analysis {"connection_id":137208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7751"} 
[2026-07-19 03:51:44] local.INFO: Extracted packet for processing {"connection_id":137208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7751"} 
[2026-07-19 03:51:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809710336001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475524608,"note":"Value kept but may cause issues"} 
[2026-07-19 03:51: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-07-19 03:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784413235000,"timestamp_ms":1784413235000,"timestamp_seconds":1784413235,"priority":1,"record_length":96,"hex_timestamp":"0000019f77512738"} 
[2026-07-19 03:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 03:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 03:51: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-07-19 03:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":137208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":137208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":137208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809710336001,"66":26299,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802867701475524608},"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-07-19 03:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809710336001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:51:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:51:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475524608,"description":"Unknown IO ID 45"} 
[2026-07-19 03:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809710336001,"power":26299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475524608}} 
[2026-07-19 03:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":137208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:51:44] local.INFO: GPS data processed {"connection_id":137208,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:51:44] local.INFO: Acknowledgment sent {"connection_id":137208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:51:48] local.INFO: TCP Data received {"connection_id":137208,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:51:48] local.INFO: Processing buffer {"connection_id":137208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:51:48] local.INFO: Packet analysis {"connection_id":137208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7751"} 
[2026-07-19 03:51:48] local.INFO: Extracted packet for processing {"connection_id":137208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7751"} 
[2026-07-19 03:51:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809710336001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475524608,"note":"Value kept but may cause issues"} 
[2026-07-19 03:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784413235000,"timestamp_ms":1784413235000,"timestamp_seconds":1784413235,"priority":1,"record_length":96,"hex_timestamp":"0000019f77512738"} 
[2026-07-19 03:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 03:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 03:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":137208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":137208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":137208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809710336001,"66":26299,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802867701475524608},"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-07-19 03:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809710336001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:51:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:51:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475524608,"description":"Unknown IO ID 45"} 
[2026-07-19 03:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809710336001,"power":26299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475524608}} 
[2026-07-19 03:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":137208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:51:48] local.INFO: GPS data processed {"connection_id":137208,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:51:48] local.INFO: Acknowledgment sent {"connection_id":137208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:51:58] local.INFO: TCP Data received {"connection_id":137207,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137207,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:51:58] local.INFO: Processing buffer {"connection_id":137207,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:51:58] local.INFO: IMEI packet received {"connection_id":137207,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 03:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":137207,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:52:32] local.INFO: TCP Data received {"connection_id":136157,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:52:32] local.INFO: Processing buffer {"connection_id":136157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:52:32] local.INFO: IMEI packet received {"connection_id":136157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":136157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:52:35] local.INFO: TCP Data received {"connection_id":136293,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136293,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:52:35] local.INFO: Processing buffer {"connection_id":136293,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:52:35] local.INFO: IMEI packet received {"connection_id":136293,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 03:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":136293,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:52:37] local.INFO: TCP Data received {"connection_id":136157,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:52:37] local.INFO: Processing buffer {"connection_id":136157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:52:37] local.INFO: IMEI packet received {"connection_id":136157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":136157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:52:38] local.INFO: TCP Data received {"connection_id":136157,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:52:38] local.INFO: Processing buffer {"connection_id":136157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:52:38] local.INFO: Packet analysis {"connection_id":136157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7751"} 
[2026-07-19 03:52:38] local.INFO: Extracted packet for processing {"connection_id":136157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7751"} 
[2026-07-19 03:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809710336001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475524608,"note":"Value kept but may cause issues"} 
[2026-07-19 03:52: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-07-19 03:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784413235000,"timestamp_ms":1784413235000,"timestamp_seconds":1784413235,"priority":1,"record_length":96,"hex_timestamp":"0000019f77512738"} 
[2026-07-19 03:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 03:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 03:52: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-07-19 03:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809710336001,"66":26299,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802867701475524608},"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-07-19 03:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809710336001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:52:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:52:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475524608,"description":"Unknown IO ID 45"} 
[2026-07-19 03:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809710336001,"power":26299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475524608}} 
[2026-07-19 03:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":136157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:52:38] local.INFO: GPS data processed {"connection_id":136157,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:52:38] local.INFO: Acknowledgment sent {"connection_id":136157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:52:43] local.INFO: TCP Data received {"connection_id":136157,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:52:43] local.INFO: Processing buffer {"connection_id":136157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:52:43] local.INFO: Packet analysis {"connection_id":136157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7751"} 
[2026-07-19 03:52:43] local.INFO: Extracted packet for processing {"connection_id":136157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7751"} 
[2026-07-19 03:52:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809710336001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475524608,"note":"Value kept but may cause issues"} 
[2026-07-19 03:52: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-07-19 03:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784413235000,"timestamp_ms":1784413235000,"timestamp_seconds":1784413235,"priority":1,"record_length":96,"hex_timestamp":"0000019f77512738"} 
[2026-07-19 03:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:52:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 03:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 03:52:43] 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-07-19 03:52:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809710336001,"66":26299,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802867701475524608},"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-07-19 03:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809710336001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:52:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:52:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475524608,"description":"Unknown IO ID 45"} 
[2026-07-19 03:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809710336001,"power":26299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475524608}} 
[2026-07-19 03:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":136157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:52:43] local.INFO: GPS data processed {"connection_id":136157,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:52:43] local.INFO: Acknowledgment sent {"connection_id":136157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:53:14] local.INFO: TCP Data received {"connection_id":136157,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:53:14] local.INFO: Processing buffer {"connection_id":136157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:53:14] local.INFO: Packet analysis {"connection_id":136157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7751"} 
[2026-07-19 03:53:14] local.INFO: Extracted packet for processing {"connection_id":136157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7751"} 
[2026-07-19 03:53:14] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809710336001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475524608,"note":"Value kept but may cause issues"} 
[2026-07-19 03:53: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-07-19 03:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784413235000,"timestamp_ms":1784413235000,"timestamp_seconds":1784413235,"priority":1,"record_length":96,"hex_timestamp":"0000019f77512738"} 
[2026-07-19 03:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 03:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 03:53:14] 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-07-19 03:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":136157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":136157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":136157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809710336001,"66":26299,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802867701475524608},"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-07-19 03:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809710336001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:53:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:53:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475524608,"description":"Unknown IO ID 45"} 
[2026-07-19 03:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809710336001,"power":26299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475524608}} 
[2026-07-19 03:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":136157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:53:14] local.INFO: GPS data processed {"connection_id":136157,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:53:14] local.INFO: Acknowledgment sent {"connection_id":136157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:53:32] local.INFO: TCP Data received {"connection_id":138608,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:53:32] local.INFO: Processing buffer {"connection_id":138608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:53:32] local.INFO: IMEI packet received {"connection_id":138608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":138608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:53:37] local.INFO: TCP Data received {"connection_id":138608,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:53:37] local.INFO: Processing buffer {"connection_id":138608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:53:37] local.INFO: IMEI packet received {"connection_id":138608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":138608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:53:38] local.INFO: TCP Data received {"connection_id":138608,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:53:38] local.INFO: Processing buffer {"connection_id":138608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:53:38] local.INFO: Packet analysis {"connection_id":138608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7751"} 
[2026-07-19 03:53:38] local.INFO: Extracted packet for processing {"connection_id":138608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7751"} 
[2026-07-19 03:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809710336001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475524608,"note":"Value kept but may cause issues"} 
[2026-07-19 03:53: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-07-19 03:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784413235000,"timestamp_ms":1784413235000,"timestamp_seconds":1784413235,"priority":1,"record_length":96,"hex_timestamp":"0000019f77512738"} 
[2026-07-19 03:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 03: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 03:53: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-07-19 03: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-07-19 03:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:53: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-07-19 03:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809710336001,"66":26299,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802867701475524608},"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-07-19 03:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809710336001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475524608,"description":"Unknown IO ID 45"} 
[2026-07-19 03:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809710336001,"power":26299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475524608}} 
[2026-07-19 03:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":138608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:53:38] local.INFO: GPS data processed {"connection_id":138608,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:53:38] local.INFO: Acknowledgment sent {"connection_id":138608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:54:10] local.INFO: TCP Data received {"connection_id":138608,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:54:10] local.INFO: Processing buffer {"connection_id":138608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:54:10] local.INFO: Packet analysis {"connection_id":138608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7751"} 
[2026-07-19 03:54:10] local.INFO: Extracted packet for processing {"connection_id":138608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7751"} 
[2026-07-19 03:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809710336001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475524608,"note":"Value kept but may cause issues"} 
[2026-07-19 03:54: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-07-19 03:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784413235000,"timestamp_ms":1784413235000,"timestamp_seconds":1784413235,"priority":1,"record_length":96,"hex_timestamp":"0000019f77512738"} 
[2026-07-19 03:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 03:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 03:54:10] 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-07-19 03:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:54:10] 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-07-19 03:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809710336001,"66":26299,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802867701475524608},"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-07-19 03:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809710336001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:54:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475524608,"description":"Unknown IO ID 45"} 
[2026-07-19 03:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809710336001,"power":26299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475524608}} 
[2026-07-19 03:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":138608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:54:10] local.INFO: GPS data processed {"connection_id":138608,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:54:10] local.INFO: Acknowledgment sent {"connection_id":138608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:54:32] local.INFO: TCP Data received {"connection_id":136295,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:54:32] local.INFO: Processing buffer {"connection_id":136295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:54:32] local.INFO: IMEI packet received {"connection_id":136295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":136295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:54:37] local.INFO: TCP Data received {"connection_id":136295,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:54:37] local.INFO: Processing buffer {"connection_id":136295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:54:37] local.INFO: IMEI packet received {"connection_id":136295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":136295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:54:38] local.INFO: TCP Data received {"connection_id":136295,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:54:38] local.INFO: Processing buffer {"connection_id":136295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:54:38] local.INFO: Packet analysis {"connection_id":136295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7751"} 
[2026-07-19 03:54:38] local.INFO: Extracted packet for processing {"connection_id":136295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7751"} 
[2026-07-19 03:54:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809710336001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475524608,"note":"Value kept but may cause issues"} 
[2026-07-19 03:54: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-07-19 03:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784413235000,"timestamp_ms":1784413235000,"timestamp_seconds":1784413235,"priority":1,"record_length":96,"hex_timestamp":"0000019f77512738"} 
[2026-07-19 03:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 03: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 03:54: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-07-19 03: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-07-19 03:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:54: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-07-19 03:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809710336001,"66":26299,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802867701475524608},"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-07-19 03:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809710336001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:54:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475524608,"description":"Unknown IO ID 45"} 
[2026-07-19 03:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809710336001,"power":26299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475524608}} 
[2026-07-19 03:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":136295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:54:38] local.INFO: GPS data processed {"connection_id":136295,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:54:38] local.INFO: Acknowledgment sent {"connection_id":136295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:55:10] local.INFO: TCP Data received {"connection_id":136295,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:55:10] local.INFO: Processing buffer {"connection_id":136295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:55:10] local.INFO: Packet analysis {"connection_id":136295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7751"} 
[2026-07-19 03:55:10] local.INFO: Extracted packet for processing {"connection_id":136295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7751"} 
[2026-07-19 03:55:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809710336001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475524608,"note":"Value kept but may cause issues"} 
[2026-07-19 03:55: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-07-19 03:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784413235000,"timestamp_ms":1784413235000,"timestamp_seconds":1784413235,"priority":1,"record_length":96,"hex_timestamp":"0000019f77512738"} 
[2026-07-19 03:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 03:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 03:55:10] 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-07-19 03:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:55:10] 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-07-19 03:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809710336001,"66":26299,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802867701475524608},"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-07-19 03:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809710336001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:55:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:55:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475524608,"description":"Unknown IO ID 45"} 
[2026-07-19 03:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809710336001,"power":26299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475524608}} 
[2026-07-19 03:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":136295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:55:10] local.INFO: GPS data processed {"connection_id":136295,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:55:10] local.INFO: Acknowledgment sent {"connection_id":136295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:55:32] local.INFO: TCP Data received {"connection_id":137209,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:55:32] local.INFO: Processing buffer {"connection_id":137209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:55:32] local.INFO: IMEI packet received {"connection_id":137209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":137209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:55:37] local.INFO: TCP Data received {"connection_id":137209,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:55:37] local.INFO: Processing buffer {"connection_id":137209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:55:37] local.INFO: IMEI packet received {"connection_id":137209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":137209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:55:38] local.INFO: TCP Data received {"connection_id":137209,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:55:38] local.INFO: Processing buffer {"connection_id":137209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:55:38] local.INFO: Packet analysis {"connection_id":137209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7751"} 
[2026-07-19 03:55:38] local.INFO: Extracted packet for processing {"connection_id":137209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7751"} 
[2026-07-19 03:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809710336001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475524608,"note":"Value kept but may cause issues"} 
[2026-07-19 03:55: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-07-19 03:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784413235000,"timestamp_ms":1784413235000,"timestamp_seconds":1784413235,"priority":1,"record_length":96,"hex_timestamp":"0000019f77512738"} 
[2026-07-19 03:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 03:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 03:55: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-07-19 03:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:55: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-07-19 03:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809710336001,"66":26299,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802867701475524608},"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-07-19 03:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809710336001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:55:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475524608,"description":"Unknown IO ID 45"} 
[2026-07-19 03:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809710336001,"power":26299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475524608}} 
[2026-07-19 03:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":137209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:55:38] local.INFO: GPS data processed {"connection_id":137209,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:55:38] local.INFO: Acknowledgment sent {"connection_id":137209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:56:10] local.INFO: TCP Data received {"connection_id":137209,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:56:10] local.INFO: Processing buffer {"connection_id":137209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77512738012d34c58006aa4140001201012a..."} 
[2026-07-19 03:56:10] local.INFO: Packet analysis {"connection_id":137209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7751"} 
[2026-07-19 03:56:10] local.INFO: Extracted packet for processing {"connection_id":137209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7751"} 
[2026-07-19 03:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809710336001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475524608,"note":"Value kept but may cause issues"} 
[2026-07-19 03:56: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-07-19 03:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784413235000,"timestamp_ms":1784413235000,"timestamp_seconds":1784413235,"priority":1,"record_length":96,"hex_timestamp":"0000019f77512738"} 
[2026-07-19 03:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 03: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 03:56:10] 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-07-19 03: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-07-19 03:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:56:10] 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-07-19 03:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809710336001,"66":26299,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802867701475524608},"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-07-19 03:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809710336001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:56:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475524608,"description":"Unknown IO ID 45"} 
[2026-07-19 03:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809710336001,"power":26299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475524608}} 
[2026-07-19 03:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":137209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:56:10] local.INFO: GPS data processed {"connection_id":137209,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:56:10] local.INFO: Acknowledgment sent {"connection_id":137209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:56:37] local.INFO: TCP Data received {"connection_id":138610,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:56:37] local.INFO: Processing buffer {"connection_id":138610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:56:37] local.INFO: IMEI packet received {"connection_id":138610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":138610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:56:42] local.INFO: TCP Data received {"connection_id":138610,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:56:42] local.INFO: Processing buffer {"connection_id":138610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:56:42] local.INFO: IMEI packet received {"connection_id":138610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":138610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:56:43] local.INFO: TCP Data received {"connection_id":138610,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 03:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 03:56:43] local.INFO: Processing buffer {"connection_id":138610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 03:56:43] local.INFO: Packet analysis {"connection_id":138610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7755"} 
[2026-07-19 03:56:43] local.INFO: Extracted packet for processing {"connection_id":138610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7755"} 
[2026-07-19 03:56:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":16,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809788160001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 03:56: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-07-19 03:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784413536000,"timestamp_ms":1784413536000,"timestamp_seconds":1784413536,"priority":1,"record_length":96,"hex_timestamp":"0000019f7755bf00"} 
[2026-07-19 03:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 03:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-19 03:56:43] 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-07-19 03:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":138610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":138610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":138610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:56:43] 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-07-19 03:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809788160001,"66":26082,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 03:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809788160001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:56:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:56:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 03:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809788160001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 03:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":138610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:56:43] local.INFO: GPS data processed {"connection_id":138610,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:56:43] local.INFO: Acknowledgment sent {"connection_id":138610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:56:48] local.INFO: TCP Data received {"connection_id":138610,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 03:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 03:56:48] local.INFO: Processing buffer {"connection_id":138610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 03:56:48] local.INFO: Packet analysis {"connection_id":138610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7755"} 
[2026-07-19 03:56:48] local.INFO: Extracted packet for processing {"connection_id":138610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7755"} 
[2026-07-19 03:56:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":16,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809788160001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 03:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 03:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784413536000,"timestamp_ms":1784413536000,"timestamp_seconds":1784413536,"priority":1,"record_length":96,"hex_timestamp":"0000019f7755bf00"} 
[2026-07-19 03:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 03: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-19 03:56:48] 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-07-19 03: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-07-19 03:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":138610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":138610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":138610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809788160001,"66":26082,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 03:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809788160001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:56:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:56:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 03:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809788160001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 03:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":138610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:56:48] local.INFO: GPS data processed {"connection_id":138610,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:56:48] local.INFO: Acknowledgment sent {"connection_id":138610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:57:32] local.INFO: TCP Data received {"connection_id":136159,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:57:32] local.INFO: Processing buffer {"connection_id":136159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:57:32] local.INFO: IMEI packet received {"connection_id":136159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":136159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:57:37] local.INFO: TCP Data received {"connection_id":136159,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:57:37] local.INFO: Processing buffer {"connection_id":136159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:57:37] local.INFO: IMEI packet received {"connection_id":136159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":136159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:57:39] local.INFO: TCP Data received {"connection_id":136159,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 03:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 03:57:39] local.INFO: Processing buffer {"connection_id":136159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 03:57:39] local.INFO: Packet analysis {"connection_id":136159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7755"} 
[2026-07-19 03:57:39] local.INFO: Extracted packet for processing {"connection_id":136159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7755"} 
[2026-07-19 03:57:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":16,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809788160001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 03:57: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-07-19 03:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784413536000,"timestamp_ms":1784413536000,"timestamp_seconds":1784413536,"priority":1,"record_length":96,"hex_timestamp":"0000019f7755bf00"} 
[2026-07-19 03:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 03: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-19 03:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 03: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-07-19 03:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:57:39] 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-07-19 03:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809788160001,"66":26082,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 03:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809788160001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:57:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:57:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 03:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809788160001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 03:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":136159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:57:39] local.INFO: GPS data processed {"connection_id":136159,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:57:39] local.INFO: Acknowledgment sent {"connection_id":136159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:57:58] local.INFO: TCP Data received {"connection_id":137211,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:57:58] local.INFO: Processing buffer {"connection_id":137211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:57:58] local.INFO: IMEI packet received {"connection_id":137211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 03:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":137211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:58:10] local.INFO: TCP Data received {"connection_id":136159,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 03:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 03:58:10] local.INFO: Processing buffer {"connection_id":136159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 03:58:10] local.INFO: Packet analysis {"connection_id":136159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7755"} 
[2026-07-19 03:58:10] local.INFO: Extracted packet for processing {"connection_id":136159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7755"} 
[2026-07-19 03:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":16,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 03:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809788160001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 03:58: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-07-19 03:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784413536000,"timestamp_ms":1784413536000,"timestamp_seconds":1784413536,"priority":1,"record_length":96,"hex_timestamp":"0000019f7755bf00"} 
[2026-07-19 03:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 03:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-19 03:58:10] 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-07-19 03:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 03:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:58:10] 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-07-19 03:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809788160001,"66":26082,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 03:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809788160001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:58:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 03:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809788160001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 03:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":136159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:58:10] local.INFO: GPS data processed {"connection_id":136159,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:58:10] local.INFO: Acknowledgment sent {"connection_id":136159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:58:32] local.INFO: TCP Data received {"connection_id":137212,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:58:32] local.INFO: Processing buffer {"connection_id":137212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:58:32] local.INFO: IMEI packet received {"connection_id":137212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":137212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:58:33] local.INFO: TCP Data received {"connection_id":136296,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:58:33] local.INFO: Processing buffer {"connection_id":136296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 03:58:33] local.INFO: IMEI packet received {"connection_id":136296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 03:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":136296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:58:37] local.INFO: TCP Data received {"connection_id":137212,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:58:37] local.INFO: Processing buffer {"connection_id":137212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:58:37] local.INFO: IMEI packet received {"connection_id":137212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":137212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:58:38] local.INFO: TCP Data received {"connection_id":137212,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 03:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 03:58:38] local.INFO: Processing buffer {"connection_id":137212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 03:58:38] local.INFO: Packet analysis {"connection_id":137212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7755"} 
[2026-07-19 03:58:38] local.INFO: Extracted packet for processing {"connection_id":137212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7755"} 
[2026-07-19 03:58:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":16,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809788160001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 03:58: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-07-19 03:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784413536000,"timestamp_ms":1784413536000,"timestamp_seconds":1784413536,"priority":1,"record_length":96,"hex_timestamp":"0000019f7755bf00"} 
[2026-07-19 03:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 03: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-19 03:58:38] 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-07-19 03: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-07-19 03:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:58: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-07-19 03:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809788160001,"66":26082,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 03:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809788160001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 03:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809788160001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 03:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":137212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:58:38] local.INFO: GPS data processed {"connection_id":137212,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:58:38] local.INFO: Acknowledgment sent {"connection_id":137212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:59:10] local.INFO: TCP Data received {"connection_id":137212,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 03:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 03:59:10] local.INFO: Processing buffer {"connection_id":137212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 03:59:10] local.INFO: Packet analysis {"connection_id":137212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7755"} 
[2026-07-19 03:59:10] local.INFO: Extracted packet for processing {"connection_id":137212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7755"} 
[2026-07-19 03:59:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":16,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809788160001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 03: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-07-19 03:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784413536000,"timestamp_ms":1784413536000,"timestamp_seconds":1784413536,"priority":1,"record_length":96,"hex_timestamp":"0000019f7755bf00"} 
[2026-07-19 03:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 03: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-19 03:59:10] 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-07-19 03: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-07-19 03:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:59:10] 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-07-19 03:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809788160001,"66":26082,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 03:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809788160001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:59:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:59:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 03:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809788160001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 03:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":137212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:59:10] local.INFO: GPS data processed {"connection_id":137212,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:59:10] local.INFO: Acknowledgment sent {"connection_id":137212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 03:59:32] local.INFO: TCP Data received {"connection_id":138611,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:59:32] local.INFO: Processing buffer {"connection_id":138611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:59:32] local.INFO: IMEI packet received {"connection_id":138611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 03:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":138611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 03:59:37] local.INFO: TCP Data received {"connection_id":138611,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:59:37] local.INFO: Processing buffer {"connection_id":138611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 03:59:37] local.INFO: IMEI packet received {"connection_id":138611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 03:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":138611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 03:59:38] local.INFO: TCP Data received {"connection_id":138611,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 03:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 03:59:38] local.INFO: Processing buffer {"connection_id":138611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 03:59:38] local.INFO: Packet analysis {"connection_id":138611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7755"} 
[2026-07-19 03:59:38] local.INFO: Extracted packet for processing {"connection_id":138611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7755"} 
[2026-07-19 03:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":16,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 03: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-07-19 03:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809788160001,"note":"Value kept but may cause issues"} 
[2026-07-19 03:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 03:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 03: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-07-19 03:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784413536000,"timestamp_ms":1784413536000,"timestamp_seconds":1784413536,"priority":1,"record_length":96,"hex_timestamp":"0000019f7755bf00"} 
[2026-07-19 03:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 03:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 03: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-19 03:59:38] 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-07-19 03: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-07-19 03:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 03:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 03:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 03:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 03:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 03:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 03:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 03:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809788160001,"66":26082,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 03:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 03:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 03:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809788160001,"description":"Unknown IO ID 0"} 
[2026-07-19 03:59:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 03:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 03:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 03:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 03:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809788160001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 03:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":138611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 03:59:38] local.INFO: GPS data processed {"connection_id":138611,"processed":1,"errors":0,"total":1} 
[2026-07-19 03:59:38] local.INFO: Acknowledgment sent {"connection_id":138611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:00:10] local.INFO: TCP Data received {"connection_id":138611,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 04:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 04:00:10] local.INFO: Processing buffer {"connection_id":138611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 04:00:10] local.INFO: Packet analysis {"connection_id":138611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7755"} 
[2026-07-19 04:00:10] local.INFO: Extracted packet for processing {"connection_id":138611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7755"} 
[2026-07-19 04:00:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":16,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809788160001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:00: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-07-19 04:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784413536000,"timestamp_ms":1784413536000,"timestamp_seconds":1784413536,"priority":1,"record_length":96,"hex_timestamp":"0000019f7755bf00"} 
[2026-07-19 04:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-19 04:00:10] 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-07-19 04:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:00: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-07-19 04:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809788160001,"66":26082,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809788160001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:00:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:00:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809788160001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":138611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:00:10] local.INFO: GPS data processed {"connection_id":138611,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:00:10] local.INFO: Acknowledgment sent {"connection_id":138611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:00:37] local.INFO: TCP Data received {"connection_id":137213,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:00:37] local.INFO: Processing buffer {"connection_id":137213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:00:37] local.INFO: IMEI packet received {"connection_id":137213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":137213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:00:42] local.INFO: TCP Data received {"connection_id":137213,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:00:42] local.INFO: Processing buffer {"connection_id":137213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:00:42] local.INFO: IMEI packet received {"connection_id":137213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":137213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:00:43] local.INFO: TCP Data received {"connection_id":137213,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 04:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 04:00:43] local.INFO: Processing buffer {"connection_id":137213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 04:00:43] local.INFO: Packet analysis {"connection_id":137213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7755"} 
[2026-07-19 04:00:43] local.INFO: Extracted packet for processing {"connection_id":137213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7755"} 
[2026-07-19 04:00:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":16,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809788160001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:00: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-07-19 04:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784413536000,"timestamp_ms":1784413536000,"timestamp_seconds":1784413536,"priority":1,"record_length":96,"hex_timestamp":"0000019f7755bf00"} 
[2026-07-19 04:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-19 04:00:43] 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-07-19 04:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809788160001,"66":26082,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809788160001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:00:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:00:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809788160001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":137213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:00:43] local.INFO: GPS data processed {"connection_id":137213,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:00:43] local.INFO: Acknowledgment sent {"connection_id":137213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:00:49] local.INFO: TCP Data received {"connection_id":137213,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 04:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 04:00:49] local.INFO: Processing buffer {"connection_id":137213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7755bf00012d34c58006aa41400010010125..."} 
[2026-07-19 04:00:49] local.INFO: Packet analysis {"connection_id":137213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7755"} 
[2026-07-19 04:00:49] local.INFO: Extracted packet for processing {"connection_id":137213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7755"} 
[2026-07-19 04:00:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":16,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809788160001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 04:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784413536000,"timestamp_ms":1784413536000,"timestamp_seconds":1784413536,"priority":1,"record_length":96,"hex_timestamp":"0000019f7755bf00"} 
[2026-07-19 04:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-19 04:00:49] 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-07-19 04: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-07-19 04:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":137213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":137213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":137213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809788160001,"66":26082,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809788160001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:00:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:00:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809788160001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":137213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:00:49] local.INFO: GPS data processed {"connection_id":137213,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:00:49] local.INFO: Acknowledgment sent {"connection_id":137213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:01:32] local.INFO: TCP Data received {"connection_id":136162,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:01:32] local.INFO: Processing buffer {"connection_id":136162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:01:32] local.INFO: IMEI packet received {"connection_id":136162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":136162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:01:37] local.INFO: TCP Data received {"connection_id":136162,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:01:37] local.INFO: Processing buffer {"connection_id":136162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:01:37] local.INFO: IMEI packet received {"connection_id":136162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":136162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:01:38] local.INFO: TCP Data received {"connection_id":136162,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:01:38] local.INFO: Processing buffer {"connection_id":136162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:01:38] local.INFO: Packet analysis {"connection_id":136162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f775a"} 
[2026-07-19 04:01:38] local.INFO: Extracted packet for processing {"connection_id":136162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f775a"} 
[2026-07-19 04:01:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":8,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809865216001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:01: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-07-19 04:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784413837000,"timestamp_ms":1784413837000,"timestamp_seconds":1784413837,"priority":1,"record_length":96,"hex_timestamp":"0000019f775a56c8"} 
[2026-07-19 04:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-19 04:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809865216001,"66":25952,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809865216001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:01:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:01:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809865216001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":136162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:01:38] local.INFO: GPS data processed {"connection_id":136162,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:01:38] local.INFO: Acknowledgment sent {"connection_id":136162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:02:10] local.INFO: TCP Data received {"connection_id":136162,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:02:10] local.INFO: Processing buffer {"connection_id":136162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:02:10] local.INFO: Packet analysis {"connection_id":136162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f775a"} 
[2026-07-19 04:02:10] local.INFO: Extracted packet for processing {"connection_id":136162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f775a"} 
[2026-07-19 04:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":8,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809865216001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:02: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-07-19 04:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784413837000,"timestamp_ms":1784413837000,"timestamp_seconds":1784413837,"priority":1,"record_length":96,"hex_timestamp":"0000019f775a56c8"} 
[2026-07-19 04:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-19 04:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:02: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-07-19 04:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809865216001,"66":25952,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809865216001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:02:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809865216001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":136162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:02:10] local.INFO: GPS data processed {"connection_id":136162,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:02:10] local.INFO: Acknowledgment sent {"connection_id":136162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:02:32] local.INFO: TCP Data received {"connection_id":136163,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:02:32] local.INFO: Processing buffer {"connection_id":136163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:02:32] local.INFO: IMEI packet received {"connection_id":136163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":136163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:02:38] local.INFO: TCP Data received {"connection_id":136163,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:02:38] local.INFO: Processing buffer {"connection_id":136163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:02:38] local.INFO: IMEI packet received {"connection_id":136163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":136163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:02:39] local.INFO: TCP Data received {"connection_id":136163,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:02:39] local.INFO: Processing buffer {"connection_id":136163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:02:39] local.INFO: Packet analysis {"connection_id":136163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f775a"} 
[2026-07-19 04:02:39] local.INFO: Extracted packet for processing {"connection_id":136163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f775a"} 
[2026-07-19 04:02:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":8,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809865216001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:02: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-07-19 04:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784413837000,"timestamp_ms":1784413837000,"timestamp_seconds":1784413837,"priority":1,"record_length":96,"hex_timestamp":"0000019f775a56c8"} 
[2026-07-19 04:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-19 04:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04: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-07-19 04:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809865216001,"66":25952,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809865216001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:02:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:02:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809865216001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":136163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:02:39] local.INFO: GPS data processed {"connection_id":136163,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:02:39] local.INFO: Acknowledgment sent {"connection_id":136163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:03:11] local.INFO: TCP Data received {"connection_id":136163,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:03:11] local.INFO: Processing buffer {"connection_id":136163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:03:11] local.INFO: Packet analysis {"connection_id":136163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f775a"} 
[2026-07-19 04:03:11] local.INFO: Extracted packet for processing {"connection_id":136163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f775a"} 
[2026-07-19 04:03:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":8,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809865216001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:03: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-07-19 04:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784413837000,"timestamp_ms":1784413837000,"timestamp_seconds":1784413837,"priority":1,"record_length":96,"hex_timestamp":"0000019f775a56c8"} 
[2026-07-19 04:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-19 04:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04: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-07-19 04:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":136163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":136163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":136163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809865216001,"66":25952,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809865216001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:03:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:03:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809865216001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":136163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:03:11] local.INFO: GPS data processed {"connection_id":136163,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:03:11] local.INFO: Acknowledgment sent {"connection_id":136163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:03:33] local.INFO: TCP Data received {"connection_id":138614,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:03:33] local.INFO: Processing buffer {"connection_id":138614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:03:33] local.INFO: IMEI packet received {"connection_id":138614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":138614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:03:37] local.INFO: TCP Data received {"connection_id":138614,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:03:37] local.INFO: Processing buffer {"connection_id":138614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:03:37] local.INFO: IMEI packet received {"connection_id":138614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":138614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:03:38] local.INFO: TCP Data received {"connection_id":138614,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:03:38] local.INFO: Processing buffer {"connection_id":138614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:03:38] local.INFO: Packet analysis {"connection_id":138614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f775a"} 
[2026-07-19 04:03:38] local.INFO: Extracted packet for processing {"connection_id":138614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f775a"} 
[2026-07-19 04:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":8,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809865216001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:03: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-07-19 04:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784413837000,"timestamp_ms":1784413837000,"timestamp_seconds":1784413837,"priority":1,"record_length":96,"hex_timestamp":"0000019f775a56c8"} 
[2026-07-19 04:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-19 04:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04: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-07-19 04:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809865216001,"66":25952,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809865216001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:03:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:03:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809865216001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":138614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:03:38] local.INFO: GPS data processed {"connection_id":138614,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:03:38] local.INFO: Acknowledgment sent {"connection_id":138614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:04:03] local.INFO: TCP Data received {"connection_id":138613,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:04:03] local.INFO: Processing buffer {"connection_id":138613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:04:03] local.INFO: IMEI packet received {"connection_id":138613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 04:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":138613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:04:10] local.INFO: TCP Data received {"connection_id":138614,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:04:10] local.INFO: Processing buffer {"connection_id":138614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:04:10] local.INFO: Packet analysis {"connection_id":138614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f775a"} 
[2026-07-19 04:04:10] local.INFO: Extracted packet for processing {"connection_id":138614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f775a"} 
[2026-07-19 04:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":8,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809865216001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:04: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-07-19 04:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784413837000,"timestamp_ms":1784413837000,"timestamp_seconds":1784413837,"priority":1,"record_length":96,"hex_timestamp":"0000019f775a56c8"} 
[2026-07-19 04:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-19 04:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:04: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-07-19 04:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809865216001,"66":25952,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809865216001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:04:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:04:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809865216001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":138614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:04:10] local.INFO: GPS data processed {"connection_id":138614,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:04:10] local.INFO: Acknowledgment sent {"connection_id":138614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:04:27] local.INFO: TCP Data received {"connection_id":136164,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136164,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:04:27] local.INFO: Processing buffer {"connection_id":136164,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:04:27] local.INFO: IMEI packet received {"connection_id":136164,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 04:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":136164,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:04:32] local.INFO: TCP Data received {"connection_id":138615,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:04:32] local.INFO: Processing buffer {"connection_id":138615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:04:32] local.INFO: IMEI packet received {"connection_id":138615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":138615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:04:37] local.INFO: TCP Data received {"connection_id":138615,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:04:37] local.INFO: Processing buffer {"connection_id":138615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:04:37] local.INFO: IMEI packet received {"connection_id":138615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":138615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:04:39] local.INFO: TCP Data received {"connection_id":138615,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:04:39] local.INFO: Processing buffer {"connection_id":138615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:04:39] local.INFO: Packet analysis {"connection_id":138615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f775a"} 
[2026-07-19 04:04:39] local.INFO: Extracted packet for processing {"connection_id":138615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f775a"} 
[2026-07-19 04:04:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":8,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 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-07-19 04:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809865216001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 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-07-19 04:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784413837000,"timestamp_ms":1784413837000,"timestamp_seconds":1784413837,"priority":1,"record_length":96,"hex_timestamp":"0000019f775a56c8"} 
[2026-07-19 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-07-19 04:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-19 04:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 04:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":138615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":138615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":138615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809865216001,"66":25952,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809865216001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:04:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:04:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809865216001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":138615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:04:39] local.INFO: GPS data processed {"connection_id":138615,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:04:39] local.INFO: Acknowledgment sent {"connection_id":138615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:05:10] local.INFO: TCP Data received {"connection_id":138615,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:05:10] local.INFO: Processing buffer {"connection_id":138615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:05:10] local.INFO: Packet analysis {"connection_id":138615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f775a"} 
[2026-07-19 04:05:10] local.INFO: Extracted packet for processing {"connection_id":138615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f775a"} 
[2026-07-19 04:05:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":8,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809865216001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:05: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-07-19 04:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784413837000,"timestamp_ms":1784413837000,"timestamp_seconds":1784413837,"priority":1,"record_length":96,"hex_timestamp":"0000019f775a56c8"} 
[2026-07-19 04:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-19 04:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:05: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-07-19 04:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809865216001,"66":25952,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809865216001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:05:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:05:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809865216001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":138615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:05:10] local.INFO: GPS data processed {"connection_id":138615,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:05:10] local.INFO: Acknowledgment sent {"connection_id":138615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:05:32] local.INFO: TCP Data received {"connection_id":136298,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:05:32] local.INFO: Processing buffer {"connection_id":136298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:05:32] local.INFO: IMEI packet received {"connection_id":136298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":136298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:05:37] local.INFO: TCP Data received {"connection_id":136298,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:05:37] local.INFO: Processing buffer {"connection_id":136298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:05:37] local.INFO: IMEI packet received {"connection_id":136298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":136298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:05:38] local.INFO: TCP Data received {"connection_id":136298,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:05:38] local.INFO: Processing buffer {"connection_id":136298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:05:38] local.INFO: Packet analysis {"connection_id":136298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f775a"} 
[2026-07-19 04:05:38] local.INFO: Extracted packet for processing {"connection_id":136298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f775a"} 
[2026-07-19 04:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":8,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809865216001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:05: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-07-19 04:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784413837000,"timestamp_ms":1784413837000,"timestamp_seconds":1784413837,"priority":1,"record_length":96,"hex_timestamp":"0000019f775a56c8"} 
[2026-07-19 04:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-19 04:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04: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-07-19 04:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809865216001,"66":25952,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809865216001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:05:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809865216001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":136298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:05:38] local.INFO: GPS data processed {"connection_id":136298,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:05:38] local.INFO: Acknowledgment sent {"connection_id":136298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:06:10] local.INFO: TCP Data received {"connection_id":136298,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:06:10] local.INFO: Processing buffer {"connection_id":136298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f775a56c8012d34c58006aa41400008010128..."} 
[2026-07-19 04:06:10] local.INFO: Packet analysis {"connection_id":136298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f775a"} 
[2026-07-19 04:06:10] local.INFO: Extracted packet for processing {"connection_id":136298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f775a"} 
[2026-07-19 04:06:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":8,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809865216001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:06: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-07-19 04:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784413837000,"timestamp_ms":1784413837000,"timestamp_seconds":1784413837,"priority":1,"record_length":96,"hex_timestamp":"0000019f775a56c8"} 
[2026-07-19 04:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-19 04:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:06: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-07-19 04:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809865216001,"66":25952,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809865216001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:06:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:06:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809865216001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":136298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:06:10] local.INFO: GPS data processed {"connection_id":136298,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:06:10] local.INFO: Acknowledgment sent {"connection_id":136298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:06:32] local.INFO: TCP Data received {"connection_id":136166,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:06:32] local.INFO: Processing buffer {"connection_id":136166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:06:32] local.INFO: IMEI packet received {"connection_id":136166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":136166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:06:37] local.INFO: TCP Data received {"connection_id":136166,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:06:37] local.INFO: Processing buffer {"connection_id":136166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:06:37] local.INFO: IMEI packet received {"connection_id":136166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":136166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:06:38] local.INFO: TCP Data received {"connection_id":136166,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:06:38] local.INFO: Processing buffer {"connection_id":136166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:06:38] local.INFO: Packet analysis {"connection_id":136166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f775e"} 
[2026-07-19 04:06:38] local.INFO: Extracted packet for processing {"connection_id":136166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f775e"} 
[2026-07-19 04:06:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809942272001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:06: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-07-19 04:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784414138000,"timestamp_ms":1784414138000,"timestamp_seconds":1784414138,"priority":1,"record_length":96,"hex_timestamp":"0000019f775eee90"} 
[2026-07-19 04:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 04:06:38] 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-07-19 04: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-07-19 04:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809942272001,"66":25908,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809942272001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:06:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:06:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809942272001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":136166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:06:38] local.INFO: GPS data processed {"connection_id":136166,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:06:38] local.INFO: Acknowledgment sent {"connection_id":136166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:07:10] local.INFO: TCP Data received {"connection_id":136166,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:07:10] local.INFO: Processing buffer {"connection_id":136166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:07:10] local.INFO: Packet analysis {"connection_id":136166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f775e"} 
[2026-07-19 04:07:10] local.INFO: Extracted packet for processing {"connection_id":136166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f775e"} 
[2026-07-19 04:07:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809942272001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:07: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-07-19 04:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784414138000,"timestamp_ms":1784414138000,"timestamp_seconds":1784414138,"priority":1,"record_length":96,"hex_timestamp":"0000019f775eee90"} 
[2026-07-19 04:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 04:07:10] 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-07-19 04:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:07: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-07-19 04:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809942272001,"66":25908,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809942272001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:07:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:07:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809942272001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":136166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:07:10] local.INFO: GPS data processed {"connection_id":136166,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:07:10] local.INFO: Acknowledgment sent {"connection_id":136166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:07:37] local.INFO: TCP Data received {"connection_id":138616,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:07:37] local.INFO: Processing buffer {"connection_id":138616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:07:37] local.INFO: IMEI packet received {"connection_id":138616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":138616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:07:43] local.INFO: TCP Data received {"connection_id":138616,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:07:43] local.INFO: Processing buffer {"connection_id":138616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:07:43] local.INFO: IMEI packet received {"connection_id":138616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":138616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:07:44] local.INFO: TCP Data received {"connection_id":138616,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:07:44] local.INFO: Processing buffer {"connection_id":138616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:07:44] local.INFO: Packet analysis {"connection_id":138616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f775e"} 
[2026-07-19 04:07:44] local.INFO: Extracted packet for processing {"connection_id":138616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f775e"} 
[2026-07-19 04:07:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809942272001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:07: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-07-19 04:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784414138000,"timestamp_ms":1784414138000,"timestamp_seconds":1784414138,"priority":1,"record_length":96,"hex_timestamp":"0000019f775eee90"} 
[2026-07-19 04:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 04:07:44] 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-07-19 04:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":138616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":138616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":138616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:07:44] 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-07-19 04:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809942272001,"66":25908,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809942272001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:07:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:07:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809942272001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":138616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:07:44] local.INFO: GPS data processed {"connection_id":138616,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:07:44] local.INFO: Acknowledgment sent {"connection_id":138616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:07:48] local.INFO: TCP Data received {"connection_id":138616,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:07:48] local.INFO: Processing buffer {"connection_id":138616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:07:48] local.INFO: Packet analysis {"connection_id":138616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f775e"} 
[2026-07-19 04:07:48] local.INFO: Extracted packet for processing {"connection_id":138616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f775e"} 
[2026-07-19 04:07:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809942272001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 04:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784414138000,"timestamp_ms":1784414138000,"timestamp_seconds":1784414138,"priority":1,"record_length":96,"hex_timestamp":"0000019f775eee90"} 
[2026-07-19 04:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 04:07:48] 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-07-19 04:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":138616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":138616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":138616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:07:48] 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-07-19 04:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809942272001,"66":25908,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809942272001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:07:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:07:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809942272001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":138616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:07:48] local.INFO: GPS data processed {"connection_id":138616,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:07:48] local.INFO: Acknowledgment sent {"connection_id":138616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:08:32] local.INFO: TCP Data received {"connection_id":138617,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:08:32] local.INFO: Processing buffer {"connection_id":138617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:08:32] local.INFO: IMEI packet received {"connection_id":138617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":138617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:08:37] local.INFO: TCP Data received {"connection_id":138617,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:08:37] local.INFO: Processing buffer {"connection_id":138617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:08:37] local.INFO: IMEI packet received {"connection_id":138617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":138617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:08:38] local.INFO: TCP Data received {"connection_id":138617,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:08:38] local.INFO: Processing buffer {"connection_id":138617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:08:38] local.INFO: Packet analysis {"connection_id":138617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f775e"} 
[2026-07-19 04:08:38] local.INFO: Extracted packet for processing {"connection_id":138617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f775e"} 
[2026-07-19 04:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809942272001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:08: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-07-19 04:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784414138000,"timestamp_ms":1784414138000,"timestamp_seconds":1784414138,"priority":1,"record_length":96,"hex_timestamp":"0000019f775eee90"} 
[2026-07-19 04:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 04:08:38] 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-07-19 04:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809942272001,"66":25908,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809942272001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:08:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:08:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809942272001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":138617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:08:38] local.INFO: GPS data processed {"connection_id":138617,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:08:38] local.INFO: Acknowledgment sent {"connection_id":138617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:09:10] local.INFO: TCP Data received {"connection_id":138617,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:09:10] local.INFO: Processing buffer {"connection_id":138617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:09:10] local.INFO: Packet analysis {"connection_id":138617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f775e"} 
[2026-07-19 04:09:10] local.INFO: Extracted packet for processing {"connection_id":138617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f775e"} 
[2026-07-19 04:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809942272001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:09: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-07-19 04:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784414138000,"timestamp_ms":1784414138000,"timestamp_seconds":1784414138,"priority":1,"record_length":96,"hex_timestamp":"0000019f775eee90"} 
[2026-07-19 04:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 04:09:10] 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-07-19 04:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:09: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-07-19 04:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809942272001,"66":25908,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809942272001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:09:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:09:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809942272001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":138617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:09:10] local.INFO: GPS data processed {"connection_id":138617,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:09:10] local.INFO: Acknowledgment sent {"connection_id":138617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:09:33] local.INFO: TCP Data received {"connection_id":136168,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:09:33] local.INFO: Processing buffer {"connection_id":136168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:09:33] local.INFO: IMEI packet received {"connection_id":136168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":136168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:09:37] local.INFO: TCP Data received {"connection_id":136168,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:09:37] local.INFO: Processing buffer {"connection_id":136168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:09:37] local.INFO: IMEI packet received {"connection_id":136168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":136168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:09:39] local.INFO: TCP Data received {"connection_id":136168,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:09:39] local.INFO: Processing buffer {"connection_id":136168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:09:39] local.INFO: Packet analysis {"connection_id":136168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f775e"} 
[2026-07-19 04:09:39] local.INFO: Extracted packet for processing {"connection_id":136168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f775e"} 
[2026-07-19 04:09:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809942272001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:09: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-07-19 04:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784414138000,"timestamp_ms":1784414138000,"timestamp_seconds":1784414138,"priority":1,"record_length":96,"hex_timestamp":"0000019f775eee90"} 
[2026-07-19 04:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 04:09:39] 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-07-19 04:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809942272001,"66":25908,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809942272001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:09:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:09:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809942272001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":136168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:09:39] local.INFO: GPS data processed {"connection_id":136168,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:09:39] local.INFO: Acknowledgment sent {"connection_id":136168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:09:48] local.INFO: TCP Data received {"connection_id":136167,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:09:48] local.INFO: Processing buffer {"connection_id":136167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:09:48] local.INFO: IMEI packet received {"connection_id":136167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 04:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":136167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:10:10] local.INFO: TCP Data received {"connection_id":136168,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:10:10] local.INFO: Processing buffer {"connection_id":136168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:10:10] local.INFO: Packet analysis {"connection_id":136168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f775e"} 
[2026-07-19 04:10:10] local.INFO: Extracted packet for processing {"connection_id":136168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f775e"} 
[2026-07-19 04:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809942272001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:10: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-07-19 04:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784414138000,"timestamp_ms":1784414138000,"timestamp_seconds":1784414138,"priority":1,"record_length":96,"hex_timestamp":"0000019f775eee90"} 
[2026-07-19 04:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 04:10:10] 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-07-19 04:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:10: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-07-19 04:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809942272001,"66":25908,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809942272001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:10:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809942272001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":136168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:10:10] local.INFO: GPS data processed {"connection_id":136168,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:10:10] local.INFO: Acknowledgment sent {"connection_id":136168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:10:27] local.INFO: TCP Data received {"connection_id":136169,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136169,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:10:27] local.INFO: Processing buffer {"connection_id":136169,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:10:27] local.INFO: IMEI packet received {"connection_id":136169,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 04:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":136169,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:10:33] local.INFO: TCP Data received {"connection_id":137217,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:10:33] local.INFO: Processing buffer {"connection_id":137217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:10:33] local.INFO: IMEI packet received {"connection_id":137217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":137217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:10:37] local.INFO: TCP Data received {"connection_id":137217,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:10:37] local.INFO: Processing buffer {"connection_id":137217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:10:37] local.INFO: IMEI packet received {"connection_id":137217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":137217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:10:38] local.INFO: TCP Data received {"connection_id":137217,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:10:38] local.INFO: Processing buffer {"connection_id":137217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:10:38] local.INFO: Packet analysis {"connection_id":137217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f775e"} 
[2026-07-19 04:10:38] local.INFO: Extracted packet for processing {"connection_id":137217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f775e"} 
[2026-07-19 04:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809942272001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:10: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-07-19 04:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784414138000,"timestamp_ms":1784414138000,"timestamp_seconds":1784414138,"priority":1,"record_length":96,"hex_timestamp":"0000019f775eee90"} 
[2026-07-19 04:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 04:10:38] 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-07-19 04: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-07-19 04:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809942272001,"66":25908,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809942272001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809942272001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":137217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:10:38] local.INFO: GPS data processed {"connection_id":137217,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:10:38] local.INFO: Acknowledgment sent {"connection_id":137217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:11:10] local.INFO: TCP Data received {"connection_id":137217,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:11:10] local.INFO: Processing buffer {"connection_id":137217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f775eee90012d34c58006aa4140001701012e..."} 
[2026-07-19 04:11:10] local.INFO: Packet analysis {"connection_id":137217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f775e"} 
[2026-07-19 04:11:10] local.INFO: Extracted packet for processing {"connection_id":137217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f775e"} 
[2026-07-19 04:11:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456809942272001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:11: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-07-19 04:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784414138000,"timestamp_ms":1784414138000,"timestamp_seconds":1784414138,"priority":1,"record_length":96,"hex_timestamp":"0000019f775eee90"} 
[2026-07-19 04:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 04:11:10] 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-07-19 04:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:11: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-07-19 04:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456809942272001,"66":25908,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456809942272001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:11:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:11:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456809942272001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":137217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:11:10] local.INFO: GPS data processed {"connection_id":137217,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:11:10] local.INFO: Acknowledgment sent {"connection_id":137217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:11:32] local.INFO: TCP Data received {"connection_id":136300,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:11:32] local.INFO: Processing buffer {"connection_id":136300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:11:32] local.INFO: IMEI packet received {"connection_id":136300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":136300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:11:37] local.INFO: TCP Data received {"connection_id":136300,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:11:37] local.INFO: Processing buffer {"connection_id":136300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:11:37] local.INFO: IMEI packet received {"connection_id":136300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":136300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:11:38] local.INFO: TCP Data received {"connection_id":136300,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:11:38] local.INFO: Processing buffer {"connection_id":136300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:11:38] local.INFO: Packet analysis {"connection_id":136300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7763"} 
[2026-07-19 04:11:38] local.INFO: Extracted packet for processing {"connection_id":136300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7763"} 
[2026-07-19 04:11:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810019328001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:11: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-07-19 04:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784414439000,"timestamp_ms":1784414439000,"timestamp_seconds":1784414439,"priority":1,"record_length":96,"hex_timestamp":"0000019f77638658"} 
[2026-07-19 04:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 04:11:38] 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-07-19 04:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810019328001,"66":25832,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810019328001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:11:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:11:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810019328001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":136300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:11:38] local.INFO: GPS data processed {"connection_id":136300,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:11:38] local.INFO: Acknowledgment sent {"connection_id":136300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:12:10] local.INFO: TCP Data received {"connection_id":136300,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:12:10] local.INFO: Processing buffer {"connection_id":136300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:12:10] local.INFO: Packet analysis {"connection_id":136300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7763"} 
[2026-07-19 04:12:10] local.INFO: Extracted packet for processing {"connection_id":136300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7763"} 
[2026-07-19 04:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810019328001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:12: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-07-19 04:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784414439000,"timestamp_ms":1784414439000,"timestamp_seconds":1784414439,"priority":1,"record_length":96,"hex_timestamp":"0000019f77638658"} 
[2026-07-19 04:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 04:12:10] 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-07-19 04:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:12: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-07-19 04:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810019328001,"66":25832,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810019328001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:12:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:12:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810019328001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":136300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:12:10] local.INFO: GPS data processed {"connection_id":136300,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:12:10] local.INFO: Acknowledgment sent {"connection_id":136300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:12:37] local.INFO: TCP Data received {"connection_id":138619,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:12:37] local.INFO: Processing buffer {"connection_id":138619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:12:37] local.INFO: IMEI packet received {"connection_id":138619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":138619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:12:39] local.INFO: TCP Data received {"connection_id":138619,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:12:39] local.INFO: Processing buffer {"connection_id":138619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:12:39] local.INFO: Packet analysis {"connection_id":138619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7763"} 
[2026-07-19 04:12:39] local.INFO: Extracted packet for processing {"connection_id":138619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7763"} 
[2026-07-19 04:12:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810019328001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:12: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-07-19 04:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784414439000,"timestamp_ms":1784414439000,"timestamp_seconds":1784414439,"priority":1,"record_length":96,"hex_timestamp":"0000019f77638658"} 
[2026-07-19 04:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 04:12:39] 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-07-19 04:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":138619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":138619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":138619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810019328001,"66":25832,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810019328001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:12:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:12:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810019328001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":138619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:12:39] local.INFO: GPS data processed {"connection_id":138619,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:12:39] local.INFO: Acknowledgment sent {"connection_id":138619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:13:10] local.INFO: TCP Data received {"connection_id":138619,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:13:10] local.INFO: Processing buffer {"connection_id":138619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:13:10] local.INFO: Packet analysis {"connection_id":138619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7763"} 
[2026-07-19 04:13:10] local.INFO: Extracted packet for processing {"connection_id":138619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7763"} 
[2026-07-19 04:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810019328001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:13: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-07-19 04:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784414439000,"timestamp_ms":1784414439000,"timestamp_seconds":1784414439,"priority":1,"record_length":96,"hex_timestamp":"0000019f77638658"} 
[2026-07-19 04:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 04:13:10] 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-07-19 04:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:13: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-07-19 04:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810019328001,"66":25832,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810019328001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:13:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810019328001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":138619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:13:10] local.INFO: GPS data processed {"connection_id":138619,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:13:10] local.INFO: Acknowledgment sent {"connection_id":138619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:13:37] local.INFO: TCP Data received {"connection_id":137219,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:13:37] local.INFO: Processing buffer {"connection_id":137219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:13:37] local.INFO: IMEI packet received {"connection_id":137219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":137219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:13:42] local.INFO: TCP Data received {"connection_id":137219,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:13:42] local.INFO: Processing buffer {"connection_id":137219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:13:42] local.INFO: IMEI packet received {"connection_id":137219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":137219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:13:43] local.INFO: TCP Data received {"connection_id":137219,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:13:43] local.INFO: Processing buffer {"connection_id":137219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:13:43] local.INFO: Packet analysis {"connection_id":137219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7763"} 
[2026-07-19 04:13:43] local.INFO: Extracted packet for processing {"connection_id":137219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7763"} 
[2026-07-19 04:13:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810019328001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:13: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-07-19 04:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784414439000,"timestamp_ms":1784414439000,"timestamp_seconds":1784414439,"priority":1,"record_length":96,"hex_timestamp":"0000019f77638658"} 
[2026-07-19 04:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 04:13:43] 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-07-19 04:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810019328001,"66":25832,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810019328001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:13:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:13:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810019328001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":137219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:13:43] local.INFO: GPS data processed {"connection_id":137219,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:13:43] local.INFO: Acknowledgment sent {"connection_id":137219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:13:48] local.INFO: TCP Data received {"connection_id":137219,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:13:48] local.INFO: Processing buffer {"connection_id":137219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:13:48] local.INFO: Packet analysis {"connection_id":137219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7763"} 
[2026-07-19 04:13:48] local.INFO: Extracted packet for processing {"connection_id":137219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7763"} 
[2026-07-19 04:13:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810019328001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 04:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784414439000,"timestamp_ms":1784414439000,"timestamp_seconds":1784414439,"priority":1,"record_length":96,"hex_timestamp":"0000019f77638658"} 
[2026-07-19 04:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 04:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":137219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":137219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":137219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:13:48] 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-07-19 04:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810019328001,"66":25832,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810019328001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:13:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:13:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810019328001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":137219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:13:48] local.INFO: GPS data processed {"connection_id":137219,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:13:48] local.INFO: Acknowledgment sent {"connection_id":137219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:14:32] local.INFO: TCP Data received {"connection_id":138620,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:14:32] local.INFO: Processing buffer {"connection_id":138620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:14:32] local.INFO: IMEI packet received {"connection_id":138620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":138620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:14:37] local.INFO: TCP Data received {"connection_id":138620,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:14:37] local.INFO: Processing buffer {"connection_id":138620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:14:37] local.INFO: IMEI packet received {"connection_id":138620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":138620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:14:38] local.INFO: TCP Data received {"connection_id":138620,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:14:38] local.INFO: Processing buffer {"connection_id":138620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:14:38] local.INFO: Packet analysis {"connection_id":138620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7763"} 
[2026-07-19 04:14:38] local.INFO: Extracted packet for processing {"connection_id":138620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7763"} 
[2026-07-19 04:14:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810019328001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:14: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-07-19 04:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784414439000,"timestamp_ms":1784414439000,"timestamp_seconds":1784414439,"priority":1,"record_length":96,"hex_timestamp":"0000019f77638658"} 
[2026-07-19 04:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 04:14:38] 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-07-19 04:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810019328001,"66":25832,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810019328001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:14:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810019328001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":138620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:14:38] local.INFO: GPS data processed {"connection_id":138620,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:14:38] local.INFO: Acknowledgment sent {"connection_id":138620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:15:11] local.INFO: TCP Data received {"connection_id":138620,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:15:11] local.INFO: Processing buffer {"connection_id":138620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:15:11] local.INFO: Packet analysis {"connection_id":138620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7763"} 
[2026-07-19 04:15:11] local.INFO: Extracted packet for processing {"connection_id":138620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7763"} 
[2026-07-19 04:15:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810019328001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:15: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-07-19 04:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784414439000,"timestamp_ms":1784414439000,"timestamp_seconds":1784414439,"priority":1,"record_length":96,"hex_timestamp":"0000019f77638658"} 
[2026-07-19 04:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 04:15:11] 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-07-19 04:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":138620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":138620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":138620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810019328001,"66":25832,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810019328001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:15:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:15:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810019328001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":138620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:15:11] local.INFO: GPS data processed {"connection_id":138620,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:15:11] local.INFO: Acknowledgment sent {"connection_id":138620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:15:33] local.INFO: TCP Data received {"connection_id":136303,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:15:33] local.INFO: Processing buffer {"connection_id":136303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:15:33] local.INFO: IMEI packet received {"connection_id":136303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":136303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:15:37] local.INFO: TCP Data received {"connection_id":136303,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:15:37] local.INFO: Processing buffer {"connection_id":136303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:15:37] local.INFO: IMEI packet received {"connection_id":136303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":136303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:15:38] local.INFO: TCP Data received {"connection_id":136303,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:15:38] local.INFO: Processing buffer {"connection_id":136303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:15:38] local.INFO: Packet analysis {"connection_id":136303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7763"} 
[2026-07-19 04:15:38] local.INFO: Extracted packet for processing {"connection_id":136303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7763"} 
[2026-07-19 04:15:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810019328001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:15: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-07-19 04:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784414439000,"timestamp_ms":1784414439000,"timestamp_seconds":1784414439,"priority":1,"record_length":96,"hex_timestamp":"0000019f77638658"} 
[2026-07-19 04:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 04:15:38] 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-07-19 04:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810019328001,"66":25832,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810019328001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:15:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:15:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810019328001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":136303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:15:38] local.INFO: GPS data processed {"connection_id":136303,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:15:38] local.INFO: Acknowledgment sent {"connection_id":136303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:15:53] local.INFO: TCP Data received {"connection_id":136302,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136302,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:15:53] local.INFO: Processing buffer {"connection_id":136302,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:15:53] local.INFO: IMEI packet received {"connection_id":136302,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 04:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":136302,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:16:10] local.INFO: TCP Data received {"connection_id":136303,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:16:10] local.INFO: Processing buffer {"connection_id":136303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77638658012d34c58006aa4140001701012d..."} 
[2026-07-19 04:16:10] local.INFO: Packet analysis {"connection_id":136303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7763"} 
[2026-07-19 04:16:10] local.INFO: Extracted packet for processing {"connection_id":136303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7763"} 
[2026-07-19 04:16:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810019328001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:16: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-07-19 04:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784414439000,"timestamp_ms":1784414439000,"timestamp_seconds":1784414439,"priority":1,"record_length":96,"hex_timestamp":"0000019f77638658"} 
[2026-07-19 04:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 04:16:10] 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-07-19 04:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:16: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-07-19 04:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810019328001,"66":25832,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810019328001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:16:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:16:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810019328001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":136303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:16:10] local.INFO: GPS data processed {"connection_id":136303,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:16:10] local.INFO: Acknowledgment sent {"connection_id":136303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:16:32] local.INFO: TCP Data received {"connection_id":137220,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:16:32] local.INFO: Processing buffer {"connection_id":137220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:16:32] local.INFO: IMEI packet received {"connection_id":137220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":137220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:16:33] local.INFO: TCP Data received {"connection_id":138621,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:16:33] local.INFO: Processing buffer {"connection_id":138621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:16:33] local.INFO: IMEI packet received {"connection_id":138621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 04:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":138621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:16:37] local.INFO: TCP Data received {"connection_id":137220,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:16:37] local.INFO: Processing buffer {"connection_id":137220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:16:37] local.INFO: IMEI packet received {"connection_id":137220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":137220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:16:38] local.INFO: TCP Data received {"connection_id":137220,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:16:38] local.INFO: Processing buffer {"connection_id":137220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:16:38] local.INFO: Packet analysis {"connection_id":137220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7768"} 
[2026-07-19 04:16:38] local.INFO: Extracted packet for processing {"connection_id":137220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7768"} 
[2026-07-19 04:16:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810096384001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:16: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-07-19 04:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784414740000,"timestamp_ms":1784414740000,"timestamp_seconds":1784414740,"priority":1,"record_length":96,"hex_timestamp":"0000019f77681e20"} 
[2026-07-19 04:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-19 04:16:38] 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-07-19 04:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810096384001,"66":25734,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 04:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810096384001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:16:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:16:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810096384001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":137220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:16:38] local.INFO: GPS data processed {"connection_id":137220,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:16:38] local.INFO: Acknowledgment sent {"connection_id":137220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:17:10] local.INFO: TCP Data received {"connection_id":137220,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:17:10] local.INFO: Processing buffer {"connection_id":137220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:17:10] local.INFO: Packet analysis {"connection_id":137220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7768"} 
[2026-07-19 04:17:10] local.INFO: Extracted packet for processing {"connection_id":137220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7768"} 
[2026-07-19 04:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:17: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-07-19 04:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810096384001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:17: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-07-19 04:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784414740000,"timestamp_ms":1784414740000,"timestamp_seconds":1784414740,"priority":1,"record_length":96,"hex_timestamp":"0000019f77681e20"} 
[2026-07-19 04:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:17: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":232,"data_length":795,"current_offset":136} 
[2026-07-19 04:17:10] 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-07-19 04:17: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-07-19 04:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810096384001,"66":25734,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 04:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810096384001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:17:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:17:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810096384001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":137220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:17:10] local.INFO: GPS data processed {"connection_id":137220,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:17:10] local.INFO: Acknowledgment sent {"connection_id":137220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:17:37] local.INFO: TCP Data received {"connection_id":136171,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:17:37] local.INFO: Processing buffer {"connection_id":136171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:17:37] local.INFO: IMEI packet received {"connection_id":136171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":136171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:17:42] local.INFO: TCP Data received {"connection_id":136171,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:17:42] local.INFO: Processing buffer {"connection_id":136171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:17:42] local.INFO: IMEI packet received {"connection_id":136171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":136171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:17:43] local.INFO: TCP Data received {"connection_id":136171,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:17:43] local.INFO: Processing buffer {"connection_id":136171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:17:43] local.INFO: Packet analysis {"connection_id":136171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7768"} 
[2026-07-19 04:17:43] local.INFO: Extracted packet for processing {"connection_id":136171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7768"} 
[2026-07-19 04:17:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810096384001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:17: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-07-19 04:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784414740000,"timestamp_ms":1784414740000,"timestamp_seconds":1784414740,"priority":1,"record_length":96,"hex_timestamp":"0000019f77681e20"} 
[2026-07-19 04:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-19 04:17:43] 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-07-19 04:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:17:43] 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-07-19 04:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810096384001,"66":25734,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810096384001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:17:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:17:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810096384001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":136171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:17:43] local.INFO: GPS data processed {"connection_id":136171,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:17:43] local.INFO: Acknowledgment sent {"connection_id":136171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:17:48] local.INFO: TCP Data received {"connection_id":136171,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:17:48] local.INFO: Processing buffer {"connection_id":136171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:17:48] local.INFO: Packet analysis {"connection_id":136171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7768"} 
[2026-07-19 04:17:48] local.INFO: Extracted packet for processing {"connection_id":136171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7768"} 
[2026-07-19 04:17:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810096384001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 04:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784414740000,"timestamp_ms":1784414740000,"timestamp_seconds":1784414740,"priority":1,"record_length":96,"hex_timestamp":"0000019f77681e20"} 
[2026-07-19 04:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-19 04:17:48] 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-07-19 04:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":136171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":136171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":136171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:17: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-07-19 04:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810096384001,"66":25734,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810096384001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:17:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:17:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810096384001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":136171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:17:48] local.INFO: GPS data processed {"connection_id":136171,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:17:48] local.INFO: Acknowledgment sent {"connection_id":136171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:18:33] local.INFO: TCP Data received {"connection_id":136304,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:18:33] local.INFO: Processing buffer {"connection_id":136304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:18:33] local.INFO: IMEI packet received {"connection_id":136304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":136304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:18:37] local.INFO: TCP Data received {"connection_id":136304,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:18:37] local.INFO: Processing buffer {"connection_id":136304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:18:37] local.INFO: IMEI packet received {"connection_id":136304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":136304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:18:38] local.INFO: TCP Data received {"connection_id":136304,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:18:38] local.INFO: Processing buffer {"connection_id":136304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:18:38] local.INFO: Packet analysis {"connection_id":136304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7768"} 
[2026-07-19 04:18:38] local.INFO: Extracted packet for processing {"connection_id":136304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7768"} 
[2026-07-19 04:18:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810096384001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:18: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-07-19 04:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784414740000,"timestamp_ms":1784414740000,"timestamp_seconds":1784414740,"priority":1,"record_length":96,"hex_timestamp":"0000019f77681e20"} 
[2026-07-19 04:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-19 04:18:38] 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-07-19 04:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:18: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-07-19 04:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810096384001,"66":25734,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810096384001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:18:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:18:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810096384001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":136304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:18:38] local.INFO: GPS data processed {"connection_id":136304,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:18:38] local.INFO: Acknowledgment sent {"connection_id":136304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:18:43] local.INFO: TCP Data received {"connection_id":136304,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:18:43] local.INFO: Processing buffer {"connection_id":136304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:18:43] local.INFO: Packet analysis {"connection_id":136304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7768"} 
[2026-07-19 04:18:43] local.INFO: Extracted packet for processing {"connection_id":136304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7768"} 
[2026-07-19 04:18:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810096384001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:18: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-07-19 04:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784414740000,"timestamp_ms":1784414740000,"timestamp_seconds":1784414740,"priority":1,"record_length":96,"hex_timestamp":"0000019f77681e20"} 
[2026-07-19 04:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-19 04:18:43] 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-07-19 04:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810096384001,"66":25734,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810096384001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:18:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:18:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810096384001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":136304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:18:43] local.INFO: GPS data processed {"connection_id":136304,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:18:43] local.INFO: Acknowledgment sent {"connection_id":136304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:19:14] local.INFO: TCP Data received {"connection_id":136304,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:19:14] local.INFO: Processing buffer {"connection_id":136304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:19:14] local.INFO: Packet analysis {"connection_id":136304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7768"} 
[2026-07-19 04:19:14] local.INFO: Extracted packet for processing {"connection_id":136304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7768"} 
[2026-07-19 04:19:14] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810096384001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:19: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-07-19 04:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784414740000,"timestamp_ms":1784414740000,"timestamp_seconds":1784414740,"priority":1,"record_length":96,"hex_timestamp":"0000019f77681e20"} 
[2026-07-19 04:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-19 04:19:14] 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-07-19 04:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":136304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":136304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":136304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:19:14] 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-07-19 04:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810096384001,"66":25734,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810096384001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:19:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:19:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810096384001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":136304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:19:14] local.INFO: GPS data processed {"connection_id":136304,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:19:14] local.INFO: Acknowledgment sent {"connection_id":136304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:19:33] local.INFO: TCP Data received {"connection_id":138622,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:19:33] local.INFO: Processing buffer {"connection_id":138622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:19:33] local.INFO: IMEI packet received {"connection_id":138622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":138622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:19:37] local.INFO: TCP Data received {"connection_id":138622,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:19:37] local.INFO: Processing buffer {"connection_id":138622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:19:37] local.INFO: IMEI packet received {"connection_id":138622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":138622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:19:39] local.INFO: TCP Data received {"connection_id":138622,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:19:39] local.INFO: Processing buffer {"connection_id":138622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:19:39] local.INFO: Packet analysis {"connection_id":138622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7768"} 
[2026-07-19 04:19:39] local.INFO: Extracted packet for processing {"connection_id":138622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7768"} 
[2026-07-19 04:19:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810096384001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:19: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-07-19 04:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784414740000,"timestamp_ms":1784414740000,"timestamp_seconds":1784414740,"priority":1,"record_length":96,"hex_timestamp":"0000019f77681e20"} 
[2026-07-19 04:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-19 04:19:39] 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-07-19 04: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-07-19 04:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":138622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":138622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":138622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:19:39] 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-07-19 04:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810096384001,"66":25734,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810096384001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:19:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:19:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810096384001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":138622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:19:39] local.INFO: GPS data processed {"connection_id":138622,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:19:39] local.INFO: Acknowledgment sent {"connection_id":138622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:20:12] local.INFO: TCP Data received {"connection_id":138622,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:20:12] local.INFO: Processing buffer {"connection_id":138622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:20:12] local.INFO: Packet analysis {"connection_id":138622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7768"} 
[2026-07-19 04:20:12] local.INFO: Extracted packet for processing {"connection_id":138622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7768"} 
[2026-07-19 04:20:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810096384001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:20: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-07-19 04:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784414740000,"timestamp_ms":1784414740000,"timestamp_seconds":1784414740,"priority":1,"record_length":96,"hex_timestamp":"0000019f77681e20"} 
[2026-07-19 04:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-19 04:20:12] 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-07-19 04: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-07-19 04:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":138622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":138622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":138622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:20:12] 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-07-19 04:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810096384001,"66":25734,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810096384001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:20:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:20:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810096384001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":138622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:20:12] local.INFO: GPS data processed {"connection_id":138622,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:20:12] local.INFO: Acknowledgment sent {"connection_id":138622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:20:32] local.INFO: TCP Data received {"connection_id":136173,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:20:32] local.INFO: Processing buffer {"connection_id":136173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:20:32] local.INFO: IMEI packet received {"connection_id":136173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":136173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:20:37] local.INFO: TCP Data received {"connection_id":136173,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:20:37] local.INFO: Processing buffer {"connection_id":136173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:20:37] local.INFO: IMEI packet received {"connection_id":136173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":136173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:20:38] local.INFO: TCP Data received {"connection_id":136173,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:20:38] local.INFO: Processing buffer {"connection_id":136173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:20:38] local.INFO: Packet analysis {"connection_id":136173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7768"} 
[2026-07-19 04:20:38] local.INFO: Extracted packet for processing {"connection_id":136173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7768"} 
[2026-07-19 04:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810096384001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:20: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-07-19 04:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784414740000,"timestamp_ms":1784414740000,"timestamp_seconds":1784414740,"priority":1,"record_length":96,"hex_timestamp":"0000019f77681e20"} 
[2026-07-19 04:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-19 04:20:38] 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-07-19 04: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-07-19 04:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810096384001,"66":25734,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810096384001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810096384001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":136173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:20:38] local.INFO: GPS data processed {"connection_id":136173,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:20:38] local.INFO: Acknowledgment sent {"connection_id":136173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:21:10] local.INFO: TCP Data received {"connection_id":136173,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:21:10] local.INFO: Processing buffer {"connection_id":136173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77681e20012d34c58006aa4140000c010127..."} 
[2026-07-19 04:21:10] local.INFO: Packet analysis {"connection_id":136173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7768"} 
[2026-07-19 04:21:10] local.INFO: Extracted packet for processing {"connection_id":136173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7768"} 
[2026-07-19 04:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810096384001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:21: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-07-19 04:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784414740000,"timestamp_ms":1784414740000,"timestamp_seconds":1784414740,"priority":1,"record_length":96,"hex_timestamp":"0000019f77681e20"} 
[2026-07-19 04:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-19 04:21:10] 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-07-19 04: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-07-19 04:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:21:10] 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-07-19 04:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810096384001,"66":25734,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810096384001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:21:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810096384001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":136173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:21:10] local.INFO: GPS data processed {"connection_id":136173,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:21:10] local.INFO: Acknowledgment sent {"connection_id":136173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:21:32] local.INFO: TCP Data received {"connection_id":136174,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:21:32] local.INFO: Processing buffer {"connection_id":136174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:21:32] local.INFO: IMEI packet received {"connection_id":136174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":136174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:21:37] local.INFO: TCP Data received {"connection_id":136174,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:21:37] local.INFO: Processing buffer {"connection_id":136174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:21:37] local.INFO: IMEI packet received {"connection_id":136174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":136174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:21:38] local.INFO: TCP Data received {"connection_id":136174,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:21:38] local.INFO: Processing buffer {"connection_id":136174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:21:38] local.INFO: Packet analysis {"connection_id":136174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f776c"} 
[2026-07-19 04:21:38] local.INFO: Extracted packet for processing {"connection_id":136174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f776c"} 
[2026-07-19 04:21:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":13,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810173440001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:21: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-07-19 04:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784415041000,"timestamp_ms":1784415041000,"timestamp_seconds":1784415041,"priority":1,"record_length":96,"hex_timestamp":"0000019f776cb5e8"} 
[2026-07-19 04:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 04:21: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-07-19 04:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810173440001,"66":25680,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810173440001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:21:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:21:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810173440001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":136174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:21:38] local.INFO: GPS data processed {"connection_id":136174,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:21:38] local.INFO: Acknowledgment sent {"connection_id":136174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:21:52] local.INFO: TCP Data received {"connection_id":137223,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:21:52] local.INFO: Processing buffer {"connection_id":137223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:21:52] local.INFO: IMEI packet received {"connection_id":137223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 04:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":137223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:22:09] local.INFO: TCP Data received {"connection_id":136174,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:22:09] local.INFO: Processing buffer {"connection_id":136174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:22:09] local.INFO: Packet analysis {"connection_id":136174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f776c"} 
[2026-07-19 04:22:09] local.INFO: Extracted packet for processing {"connection_id":136174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f776c"} 
[2026-07-19 04:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":13,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810173440001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04: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-07-19 04:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784415041000,"timestamp_ms":1784415041000,"timestamp_seconds":1784415041,"priority":1,"record_length":96,"hex_timestamp":"0000019f776cb5e8"} 
[2026-07-19 04:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":134,"data_length":795,"current_offset":136} 
[2026-07-19 04:22:09] 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-07-19 04: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-07-19 04:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:22:09] 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-07-19 04:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810173440001,"66":25680,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810173440001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:22:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:22:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810173440001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":136174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:22:09] local.INFO: GPS data processed {"connection_id":136174,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:22:09] local.INFO: Acknowledgment sent {"connection_id":136174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:22:27] local.INFO: TCP Data received {"connection_id":138623,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:22:27] local.INFO: Processing buffer {"connection_id":138623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:22:27] local.INFO: IMEI packet received {"connection_id":138623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 04:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":138623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:22:32] local.INFO: TCP Data received {"connection_id":137224,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:22:32] local.INFO: Processing buffer {"connection_id":137224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:22:32] local.INFO: IMEI packet received {"connection_id":137224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":137224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:22:37] local.INFO: TCP Data received {"connection_id":137224,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:22:37] local.INFO: Processing buffer {"connection_id":137224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:22:37] local.INFO: IMEI packet received {"connection_id":137224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":137224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:22:38] local.INFO: TCP Data received {"connection_id":137224,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:22:38] local.INFO: Processing buffer {"connection_id":137224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:22:38] local.INFO: Packet analysis {"connection_id":137224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f776c"} 
[2026-07-19 04:22:38] local.INFO: Extracted packet for processing {"connection_id":137224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f776c"} 
[2026-07-19 04:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":13,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810173440001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:22: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-07-19 04:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784415041000,"timestamp_ms":1784415041000,"timestamp_seconds":1784415041,"priority":1,"record_length":96,"hex_timestamp":"0000019f776cb5e8"} 
[2026-07-19 04:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 04:22: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-07-19 04: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-07-19 04:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810173440001,"66":25680,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810173440001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:22:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810173440001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":137224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:22:38] local.INFO: GPS data processed {"connection_id":137224,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:22:38] local.INFO: Acknowledgment sent {"connection_id":137224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:23:10] local.INFO: TCP Data received {"connection_id":137224,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:23:10] local.INFO: Processing buffer {"connection_id":137224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:23:10] local.INFO: Packet analysis {"connection_id":137224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f776c"} 
[2026-07-19 04:23:10] local.INFO: Extracted packet for processing {"connection_id":137224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f776c"} 
[2026-07-19 04:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":13,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810173440001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:23: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-07-19 04:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784415041000,"timestamp_ms":1784415041000,"timestamp_seconds":1784415041,"priority":1,"record_length":96,"hex_timestamp":"0000019f776cb5e8"} 
[2026-07-19 04:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 04:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:23:10] 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-07-19 04:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810173440001,"66":25680,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810173440001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:23:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:23:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810173440001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":137224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:23:10] local.INFO: GPS data processed {"connection_id":137224,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:23:10] local.INFO: Acknowledgment sent {"connection_id":137224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:23:37] local.INFO: TCP Data received {"connection_id":136305,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:23:37] local.INFO: Processing buffer {"connection_id":136305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:23:37] local.INFO: IMEI packet received {"connection_id":136305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":136305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:23:42] local.INFO: TCP Data received {"connection_id":136305,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:23:42] local.INFO: Processing buffer {"connection_id":136305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:23:42] local.INFO: IMEI packet received {"connection_id":136305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":136305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:23:43] local.INFO: TCP Data received {"connection_id":136305,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:23:43] local.INFO: Processing buffer {"connection_id":136305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:23:43] local.INFO: Packet analysis {"connection_id":136305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f776c"} 
[2026-07-19 04:23:43] local.INFO: Extracted packet for processing {"connection_id":136305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f776c"} 
[2026-07-19 04:23:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":13,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810173440001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:23: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-07-19 04:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784415041000,"timestamp_ms":1784415041000,"timestamp_seconds":1784415041,"priority":1,"record_length":96,"hex_timestamp":"0000019f776cb5e8"} 
[2026-07-19 04:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 04:23:43] 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-07-19 04:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810173440001,"66":25680,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810173440001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:23:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:23:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810173440001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":136305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:23:43] local.INFO: GPS data processed {"connection_id":136305,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:23:43] local.INFO: Acknowledgment sent {"connection_id":136305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:23:48] local.INFO: TCP Data received {"connection_id":136305,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:23:48] local.INFO: Processing buffer {"connection_id":136305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:23:48] local.INFO: Packet analysis {"connection_id":136305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f776c"} 
[2026-07-19 04:23:48] local.INFO: Extracted packet for processing {"connection_id":136305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f776c"} 
[2026-07-19 04:23:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":13,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810173440001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 04:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784415041000,"timestamp_ms":1784415041000,"timestamp_seconds":1784415041,"priority":1,"record_length":96,"hex_timestamp":"0000019f776cb5e8"} 
[2026-07-19 04:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 04:23:48] 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-07-19 04:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":136305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":136305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":136305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810173440001,"66":25680,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810173440001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:23:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810173440001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":136305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:23:48] local.INFO: GPS data processed {"connection_id":136305,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:23:48] local.INFO: Acknowledgment sent {"connection_id":136305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:24:33] local.INFO: TCP Data received {"connection_id":137226,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:24:33] local.INFO: Processing buffer {"connection_id":137226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:24:33] local.INFO: IMEI packet received {"connection_id":137226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":137226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:24:37] local.INFO: TCP Data received {"connection_id":137226,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:24:37] local.INFO: Processing buffer {"connection_id":137226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:24:37] local.INFO: IMEI packet received {"connection_id":137226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":137226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:24:38] local.INFO: TCP Data received {"connection_id":137226,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:24:38] local.INFO: Processing buffer {"connection_id":137226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:24:38] local.INFO: Packet analysis {"connection_id":137226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f776c"} 
[2026-07-19 04:24:38] local.INFO: Extracted packet for processing {"connection_id":137226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f776c"} 
[2026-07-19 04:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":13,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810173440001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:24: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-07-19 04:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784415041000,"timestamp_ms":1784415041000,"timestamp_seconds":1784415041,"priority":1,"record_length":96,"hex_timestamp":"0000019f776cb5e8"} 
[2026-07-19 04:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 04:24: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-07-19 04:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810173440001,"66":25680,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810173440001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:24:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810173440001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":137226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:24:38] local.INFO: GPS data processed {"connection_id":137226,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:24:38] local.INFO: Acknowledgment sent {"connection_id":137226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:24:43] local.INFO: TCP Data received {"connection_id":137226,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:24:43] local.INFO: Processing buffer {"connection_id":137226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:24:43] local.INFO: Packet analysis {"connection_id":137226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f776c"} 
[2026-07-19 04:24:43] local.INFO: Extracted packet for processing {"connection_id":137226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f776c"} 
[2026-07-19 04:24:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":13,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810173440001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:24: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-07-19 04:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784415041000,"timestamp_ms":1784415041000,"timestamp_seconds":1784415041,"priority":1,"record_length":96,"hex_timestamp":"0000019f776cb5e8"} 
[2026-07-19 04:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 04:24:43] 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-07-19 04:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810173440001,"66":25680,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810173440001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:24:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:24:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810173440001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":137226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:24:43] local.INFO: GPS data processed {"connection_id":137226,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:24:43] local.INFO: Acknowledgment sent {"connection_id":137226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:25:14] local.INFO: TCP Data received {"connection_id":137226,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:25:14] local.INFO: Processing buffer {"connection_id":137226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:25:14] local.INFO: Packet analysis {"connection_id":137226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f776c"} 
[2026-07-19 04:25:14] local.INFO: Extracted packet for processing {"connection_id":137226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f776c"} 
[2026-07-19 04:25:14] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":13,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810173440001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:25: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-07-19 04:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784415041000,"timestamp_ms":1784415041000,"timestamp_seconds":1784415041,"priority":1,"record_length":96,"hex_timestamp":"0000019f776cb5e8"} 
[2026-07-19 04:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 04:25:14] 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-07-19 04: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-07-19 04:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":137226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":137226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":137226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810173440001,"66":25680,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810173440001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:25:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:25:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810173440001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":137226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:25:14] local.INFO: GPS data processed {"connection_id":137226,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:25:14] local.INFO: Acknowledgment sent {"connection_id":137226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:25:32] local.INFO: TCP Data received {"connection_id":138624,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:25:32] local.INFO: Processing buffer {"connection_id":138624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:25:32] local.INFO: IMEI packet received {"connection_id":138624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":138624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:25:37] local.INFO: TCP Data received {"connection_id":138624,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:25:37] local.INFO: Processing buffer {"connection_id":138624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:25:37] local.INFO: IMEI packet received {"connection_id":138624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":138624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:25:38] local.INFO: TCP Data received {"connection_id":138624,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:25:38] local.INFO: Processing buffer {"connection_id":138624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:25:38] local.INFO: Packet analysis {"connection_id":138624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f776c"} 
[2026-07-19 04:25:38] local.INFO: Extracted packet for processing {"connection_id":138624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f776c"} 
[2026-07-19 04:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":13,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810173440001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:25: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-07-19 04:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784415041000,"timestamp_ms":1784415041000,"timestamp_seconds":1784415041,"priority":1,"record_length":96,"hex_timestamp":"0000019f776cb5e8"} 
[2026-07-19 04:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 04:25: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-07-19 04:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:25: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-07-19 04:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810173440001,"66":25680,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810173440001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:25:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:25:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810173440001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":138624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:25:38] local.INFO: GPS data processed {"connection_id":138624,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:25:38] local.INFO: Acknowledgment sent {"connection_id":138624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:26:10] local.INFO: TCP Data received {"connection_id":138624,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:26:10] local.INFO: Processing buffer {"connection_id":138624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f776cb5e8012d34c58006aa4140000d010125..."} 
[2026-07-19 04:26:10] local.INFO: Packet analysis {"connection_id":138624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f776c"} 
[2026-07-19 04:26:10] local.INFO: Extracted packet for processing {"connection_id":138624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f776c"} 
[2026-07-19 04:26:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":13,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810173440001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:26: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-07-19 04:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784415041000,"timestamp_ms":1784415041000,"timestamp_seconds":1784415041,"priority":1,"record_length":96,"hex_timestamp":"0000019f776cb5e8"} 
[2026-07-19 04:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 04:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810173440001,"66":25680,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810173440001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:26:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:26:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810173440001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":138624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:26:10] local.INFO: GPS data processed {"connection_id":138624,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:26:10] local.INFO: Acknowledgment sent {"connection_id":138624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:26:32] local.INFO: TCP Data received {"connection_id":136177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:26:32] local.INFO: Processing buffer {"connection_id":136177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:26:32] local.INFO: IMEI packet received {"connection_id":136177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":136177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:26:37] local.INFO: TCP Data received {"connection_id":136177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:26:37] local.INFO: Processing buffer {"connection_id":136177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:26:37] local.INFO: IMEI packet received {"connection_id":136177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":136177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:26:38] local.INFO: TCP Data received {"connection_id":136177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:26:38] local.INFO: Processing buffer {"connection_id":136177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:26:38] local.INFO: Packet analysis {"connection_id":136177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7771"} 
[2026-07-19 04:26:38] local.INFO: Extracted packet for processing {"connection_id":136177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7771"} 
[2026-07-19 04:26:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810250496001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:26: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-07-19 04:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784415342000,"timestamp_ms":1784415342000,"timestamp_seconds":1784415342,"priority":1,"record_length":96,"hex_timestamp":"0000019f77714db0"} 
[2026-07-19 04:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 04:26:38] 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-07-19 04:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:26: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-07-19 04:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810250496001,"66":25680,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 04:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810250496001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:26:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:26:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810250496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":136177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:26:38] local.INFO: GPS data processed {"connection_id":136177,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:26:38] local.INFO: Acknowledgment sent {"connection_id":136177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:27:09] local.INFO: TCP Data received {"connection_id":136177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:27:09] local.INFO: Processing buffer {"connection_id":136177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:27:09] local.INFO: Packet analysis {"connection_id":136177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7771"} 
[2026-07-19 04:27:09] local.INFO: Extracted packet for processing {"connection_id":136177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7771"} 
[2026-07-19 04:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810250496001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:27: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-07-19 04:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784415342000,"timestamp_ms":1784415342000,"timestamp_seconds":1784415342,"priority":1,"record_length":96,"hex_timestamp":"0000019f77714db0"} 
[2026-07-19 04:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 04:27: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-07-19 04:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:27: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-07-19 04:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810250496001,"66":25680,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 04:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810250496001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:27:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:27:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810250496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":136177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:27:09] local.INFO: GPS data processed {"connection_id":136177,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:27:09] local.INFO: Acknowledgment sent {"connection_id":136177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:27:32] local.INFO: TCP Data received {"connection_id":136178,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:27:32] local.INFO: Processing buffer {"connection_id":136178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:27:32] local.INFO: IMEI packet received {"connection_id":136178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":136178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:27:37] local.INFO: TCP Data received {"connection_id":136178,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:27:37] local.INFO: Processing buffer {"connection_id":136178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:27:37] local.INFO: IMEI packet received {"connection_id":136178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":136178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:27:38] local.INFO: TCP Data received {"connection_id":136178,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:27:38] local.INFO: Processing buffer {"connection_id":136178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:27:38] local.INFO: Packet analysis {"connection_id":136178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7771"} 
[2026-07-19 04:27:38] local.INFO: Extracted packet for processing {"connection_id":136178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7771"} 
[2026-07-19 04:27:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810250496001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:27: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-07-19 04:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784415342000,"timestamp_ms":1784415342000,"timestamp_seconds":1784415342,"priority":1,"record_length":96,"hex_timestamp":"0000019f77714db0"} 
[2026-07-19 04:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 04:27:38] 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-07-19 04:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:27: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-07-19 04:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810250496001,"66":25680,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 04:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810250496001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:27:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:27:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810250496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":136178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:27:38] local.INFO: GPS data processed {"connection_id":136178,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:27:38] local.INFO: Acknowledgment sent {"connection_id":136178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:27:52] local.INFO: TCP Data received {"connection_id":137227,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:27:52] local.INFO: Processing buffer {"connection_id":137227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:27:52] local.INFO: IMEI packet received {"connection_id":137227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 04:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":137227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:28:09] local.INFO: TCP Data received {"connection_id":136178,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:28:09] local.INFO: Processing buffer {"connection_id":136178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:28:09] local.INFO: Packet analysis {"connection_id":136178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7771"} 
[2026-07-19 04:28:09] local.INFO: Extracted packet for processing {"connection_id":136178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7771"} 
[2026-07-19 04:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810250496001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:28: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-07-19 04:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784415342000,"timestamp_ms":1784415342000,"timestamp_seconds":1784415342,"priority":1,"record_length":96,"hex_timestamp":"0000019f77714db0"} 
[2026-07-19 04:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 04:28: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-07-19 04:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:28: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-07-19 04:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810250496001,"66":25680,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 04:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810250496001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:28:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:28:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810250496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":136178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:28:09] local.INFO: GPS data processed {"connection_id":136178,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:28:09] local.INFO: Acknowledgment sent {"connection_id":136178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:28:27] local.INFO: TCP Data received {"connection_id":138625,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:28:27] local.INFO: Processing buffer {"connection_id":138625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:28:27] local.INFO: IMEI packet received {"connection_id":138625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 04:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":138625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:28:32] local.INFO: TCP Data received {"connection_id":138626,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:28:32] local.INFO: Processing buffer {"connection_id":138626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:28:32] local.INFO: IMEI packet received {"connection_id":138626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":138626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:28:37] local.INFO: TCP Data received {"connection_id":138626,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:28:37] local.INFO: Processing buffer {"connection_id":138626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:28:37] local.INFO: IMEI packet received {"connection_id":138626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":138626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:28:38] local.INFO: TCP Data received {"connection_id":138626,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:28:38] local.INFO: Processing buffer {"connection_id":138626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:28:38] local.INFO: Packet analysis {"connection_id":138626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7771"} 
[2026-07-19 04:28:38] local.INFO: Extracted packet for processing {"connection_id":138626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7771"} 
[2026-07-19 04:28:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810250496001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:28: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-07-19 04:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784415342000,"timestamp_ms":1784415342000,"timestamp_seconds":1784415342,"priority":1,"record_length":96,"hex_timestamp":"0000019f77714db0"} 
[2026-07-19 04:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 04:28:38] 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-07-19 04:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810250496001,"66":25680,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810250496001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:28:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:28:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810250496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":138626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:28:38] local.INFO: GPS data processed {"connection_id":138626,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:28:38] local.INFO: Acknowledgment sent {"connection_id":138626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:29:09] local.INFO: TCP Data received {"connection_id":138626,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:29:09] local.INFO: Processing buffer {"connection_id":138626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:29:09] local.INFO: Packet analysis {"connection_id":138626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7771"} 
[2026-07-19 04:29:09] local.INFO: Extracted packet for processing {"connection_id":138626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7771"} 
[2026-07-19 04:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810250496001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:29: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-07-19 04:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784415342000,"timestamp_ms":1784415342000,"timestamp_seconds":1784415342,"priority":1,"record_length":96,"hex_timestamp":"0000019f77714db0"} 
[2026-07-19 04:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 04:29: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-07-19 04:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:29:09] 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-07-19 04:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810250496001,"66":25680,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810250496001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:29:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:29:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810250496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":138626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:29:09] local.INFO: GPS data processed {"connection_id":138626,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:29:09] local.INFO: Acknowledgment sent {"connection_id":138626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:29:37] local.INFO: TCP Data received {"connection_id":137228,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:29:37] local.INFO: Processing buffer {"connection_id":137228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:29:37] local.INFO: IMEI packet received {"connection_id":137228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":137228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:29:42] local.INFO: TCP Data received {"connection_id":137228,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:29:42] local.INFO: Processing buffer {"connection_id":137228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:29:42] local.INFO: IMEI packet received {"connection_id":137228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":137228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:29:43] local.INFO: TCP Data received {"connection_id":137228,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:29:43] local.INFO: Processing buffer {"connection_id":137228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:29:43] local.INFO: Packet analysis {"connection_id":137228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7771"} 
[2026-07-19 04:29:43] local.INFO: Extracted packet for processing {"connection_id":137228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7771"} 
[2026-07-19 04:29:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810250496001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:29: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-07-19 04:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784415342000,"timestamp_ms":1784415342000,"timestamp_seconds":1784415342,"priority":1,"record_length":96,"hex_timestamp":"0000019f77714db0"} 
[2026-07-19 04:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 04:29:43] 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-07-19 04:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:29:43] 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-07-19 04:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810250496001,"66":25680,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810250496001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:29:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:29:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810250496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":137228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:29:43] local.INFO: GPS data processed {"connection_id":137228,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:29:43] local.INFO: Acknowledgment sent {"connection_id":137228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:29:49] local.INFO: TCP Data received {"connection_id":137228,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:29:49] local.INFO: Processing buffer {"connection_id":137228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:29:49] local.INFO: Packet analysis {"connection_id":137228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7771"} 
[2026-07-19 04:29:49] local.INFO: Extracted packet for processing {"connection_id":137228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7771"} 
[2026-07-19 04:29:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810250496001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 04:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784415342000,"timestamp_ms":1784415342000,"timestamp_seconds":1784415342,"priority":1,"record_length":96,"hex_timestamp":"0000019f77714db0"} 
[2026-07-19 04:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 04:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04: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-07-19 04:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":137228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":137228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":137228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:29:49] 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-07-19 04:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810250496001,"66":25680,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810250496001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:29:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:29:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810250496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":137228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:29:49] local.INFO: GPS data processed {"connection_id":137228,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:29:49] local.INFO: Acknowledgment sent {"connection_id":137228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:29:53] local.INFO: TCP Data received {"connection_id":137228,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:29:53] local.INFO: Processing buffer {"connection_id":137228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:29:53] local.INFO: Packet analysis {"connection_id":137228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7771"} 
[2026-07-19 04:29:53] local.INFO: Extracted packet for processing {"connection_id":137228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7771"} 
[2026-07-19 04:29:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810250496001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 04:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784415342000,"timestamp_ms":1784415342000,"timestamp_seconds":1784415342,"priority":1,"record_length":96,"hex_timestamp":"0000019f77714db0"} 
[2026-07-19 04:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 04:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04: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-07-19 04:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":137228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":137228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":137228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:29:53] 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-07-19 04:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810250496001,"66":25680,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810250496001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:29:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:29:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810250496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":137228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:29:53] local.INFO: GPS data processed {"connection_id":137228,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:29:53] local.INFO: Acknowledgment sent {"connection_id":137228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:30:33] local.INFO: TCP Data received {"connection_id":136179,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:30:33] local.INFO: Processing buffer {"connection_id":136179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:30:33] local.INFO: IMEI packet received {"connection_id":136179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":136179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:30:37] local.INFO: TCP Data received {"connection_id":136179,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:30:37] local.INFO: Processing buffer {"connection_id":136179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:30:37] local.INFO: IMEI packet received {"connection_id":136179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":136179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:30:38] local.INFO: TCP Data received {"connection_id":136179,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:30:38] local.INFO: Processing buffer {"connection_id":136179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:30:38] local.INFO: Packet analysis {"connection_id":136179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7771"} 
[2026-07-19 04:30:38] local.INFO: Extracted packet for processing {"connection_id":136179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7771"} 
[2026-07-19 04:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810250496001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:30: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-07-19 04:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784415342000,"timestamp_ms":1784415342000,"timestamp_seconds":1784415342,"priority":1,"record_length":96,"hex_timestamp":"0000019f77714db0"} 
[2026-07-19 04:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 04:30:38] 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-07-19 04: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-07-19 04:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810250496001,"66":25680,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810250496001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:30:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810250496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":136179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:30:38] local.INFO: GPS data processed {"connection_id":136179,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:30:38] local.INFO: Acknowledgment sent {"connection_id":136179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:31:10] local.INFO: TCP Data received {"connection_id":136179,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:31:10] local.INFO: Processing buffer {"connection_id":136179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77714db0012d34c58006aa4140000901012b..."} 
[2026-07-19 04:31:10] local.INFO: Packet analysis {"connection_id":136179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7771"} 
[2026-07-19 04:31:10] local.INFO: Extracted packet for processing {"connection_id":136179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7771"} 
[2026-07-19 04:31:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810250496001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:31: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-07-19 04:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784415342000,"timestamp_ms":1784415342000,"timestamp_seconds":1784415342,"priority":1,"record_length":96,"hex_timestamp":"0000019f77714db0"} 
[2026-07-19 04:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 04:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:31:10] 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-07-19 04:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810250496001,"66":25680,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810250496001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:31:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:31:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810250496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":136179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:31:10] local.INFO: GPS data processed {"connection_id":136179,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:31:10] local.INFO: Acknowledgment sent {"connection_id":136179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:31:32] local.INFO: TCP Data received {"connection_id":136308,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:31:32] local.INFO: Processing buffer {"connection_id":136308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:31:32] local.INFO: IMEI packet received {"connection_id":136308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":136308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:31:37] local.INFO: TCP Data received {"connection_id":136308,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:31:37] local.INFO: Processing buffer {"connection_id":136308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:31:37] local.INFO: IMEI packet received {"connection_id":136308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":136308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:31:38] local.INFO: TCP Data received {"connection_id":136308,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:31:38] local.INFO: Processing buffer {"connection_id":136308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:31:38] local.INFO: Packet analysis {"connection_id":136308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7775"} 
[2026-07-19 04:31:38] local.INFO: Extracted packet for processing {"connection_id":136308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7775"} 
[2026-07-19 04:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810327552001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:31: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-07-19 04:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784415643000,"timestamp_ms":1784415643000,"timestamp_seconds":1784415643,"priority":1,"record_length":96,"hex_timestamp":"0000019f7775e578"} 
[2026-07-19 04:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 04:31:38] 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-07-19 04:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:31:38] 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-07-19 04:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810327552001,"66":25691,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810327552001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:31:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810327552001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":136308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:31:38] local.INFO: GPS data processed {"connection_id":136308,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:31:38] local.INFO: Acknowledgment sent {"connection_id":136308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:32:09] local.INFO: TCP Data received {"connection_id":136308,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:32:09] local.INFO: Processing buffer {"connection_id":136308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:32:09] local.INFO: Packet analysis {"connection_id":136308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7775"} 
[2026-07-19 04:32:09] local.INFO: Extracted packet for processing {"connection_id":136308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7775"} 
[2026-07-19 04:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810327552001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:32: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-07-19 04:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784415643000,"timestamp_ms":1784415643000,"timestamp_seconds":1784415643,"priority":1,"record_length":96,"hex_timestamp":"0000019f7775e578"} 
[2026-07-19 04:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 04:32: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-07-19 04:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:32: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-07-19 04:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810327552001,"66":25691,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810327552001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:32:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810327552001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":136308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:32:09] local.INFO: GPS data processed {"connection_id":136308,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:32:09] local.INFO: Acknowledgment sent {"connection_id":136308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:32:32] local.INFO: TCP Data received {"connection_id":138629,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:32:32] local.INFO: Processing buffer {"connection_id":138629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:32:32] local.INFO: IMEI packet received {"connection_id":138629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":138629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:32:37] local.INFO: TCP Data received {"connection_id":138629,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:32:37] local.INFO: Processing buffer {"connection_id":138629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:32:37] local.INFO: IMEI packet received {"connection_id":138629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":138629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:32:38] local.INFO: TCP Data received {"connection_id":138629,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:32:38] local.INFO: Processing buffer {"connection_id":138629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:32:38] local.INFO: Packet analysis {"connection_id":138629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7775"} 
[2026-07-19 04:32:38] local.INFO: Extracted packet for processing {"connection_id":138629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7775"} 
[2026-07-19 04:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810327552001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:32: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-07-19 04:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784415643000,"timestamp_ms":1784415643000,"timestamp_seconds":1784415643,"priority":1,"record_length":96,"hex_timestamp":"0000019f7775e578"} 
[2026-07-19 04:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 04:32:38] 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-07-19 04:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810327552001,"66":25691,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810327552001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:32:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810327552001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":138629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:32:38] local.INFO: GPS data processed {"connection_id":138629,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:32:38] local.INFO: Acknowledgment sent {"connection_id":138629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:33:09] local.INFO: TCP Data received {"connection_id":138629,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:33:09] local.INFO: Processing buffer {"connection_id":138629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:33:09] local.INFO: Packet analysis {"connection_id":138629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7775"} 
[2026-07-19 04:33:09] local.INFO: Extracted packet for processing {"connection_id":138629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7775"} 
[2026-07-19 04:33:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810327552001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04: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-07-19 04:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784415643000,"timestamp_ms":1784415643000,"timestamp_seconds":1784415643,"priority":1,"record_length":96,"hex_timestamp":"0000019f7775e578"} 
[2026-07-19 04:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 04:33: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-07-19 04: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-07-19 04:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810327552001,"66":25691,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810327552001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:33:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:33:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810327552001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":138629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:33:09] local.INFO: GPS data processed {"connection_id":138629,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:33:09] local.INFO: Acknowledgment sent {"connection_id":138629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:33:33] local.INFO: TCP Data received {"connection_id":136309,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:33:33] local.INFO: Processing buffer {"connection_id":136309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:33:33] local.INFO: IMEI packet received {"connection_id":136309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":136309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:33:37] local.INFO: TCP Data received {"connection_id":136309,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:33:37] local.INFO: Processing buffer {"connection_id":136309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:33:37] local.INFO: IMEI packet received {"connection_id":136309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":136309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:33:38] local.INFO: TCP Data received {"connection_id":136309,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:33:38] local.INFO: Processing buffer {"connection_id":136309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:33:38] local.INFO: Packet analysis {"connection_id":136309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7775"} 
[2026-07-19 04:33:38] local.INFO: Extracted packet for processing {"connection_id":136309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7775"} 
[2026-07-19 04:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810327552001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:33: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-07-19 04:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784415643000,"timestamp_ms":1784415643000,"timestamp_seconds":1784415643,"priority":1,"record_length":96,"hex_timestamp":"0000019f7775e578"} 
[2026-07-19 04:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 04:33:38] 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-07-19 04:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810327552001,"66":25691,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810327552001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:33:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810327552001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":136309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:33:38] local.INFO: GPS data processed {"connection_id":136309,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:33:38] local.INFO: Acknowledgment sent {"connection_id":136309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:33:52] local.INFO: TCP Data received {"connection_id":136180,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136180,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:33:53] local.INFO: Processing buffer {"connection_id":136180,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:33:53] local.INFO: IMEI packet received {"connection_id":136180,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 04:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":136180,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:34:10] local.INFO: TCP Data received {"connection_id":136309,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:34:10] local.INFO: Processing buffer {"connection_id":136309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:34:10] local.INFO: Packet analysis {"connection_id":136309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7775"} 
[2026-07-19 04:34:10] local.INFO: Extracted packet for processing {"connection_id":136309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7775"} 
[2026-07-19 04:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810327552001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:34: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-07-19 04:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784415643000,"timestamp_ms":1784415643000,"timestamp_seconds":1784415643,"priority":1,"record_length":96,"hex_timestamp":"0000019f7775e578"} 
[2026-07-19 04:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 04:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04: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-07-19 04:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:34:10] 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-07-19 04:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810327552001,"66":25691,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810327552001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:34:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810327552001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":136309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:34:10] local.INFO: GPS data processed {"connection_id":136309,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:34:10] local.INFO: Acknowledgment sent {"connection_id":136309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:34:32] local.INFO: TCP Data received {"connection_id":136181,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:34:32] local.INFO: Processing buffer {"connection_id":136181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:34:32] local.INFO: IMEI packet received {"connection_id":136181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":136181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:34:33] local.INFO: TCP Data received {"connection_id":137230,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:34:33] local.INFO: Processing buffer {"connection_id":137230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:34:33] local.INFO: IMEI packet received {"connection_id":137230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 04:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":137230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:34:37] local.INFO: TCP Data received {"connection_id":136181,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:34:37] local.INFO: Processing buffer {"connection_id":136181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:34:37] local.INFO: IMEI packet received {"connection_id":136181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":136181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:34:38] local.INFO: TCP Data received {"connection_id":136181,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:34:38] local.INFO: Processing buffer {"connection_id":136181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:34:38] local.INFO: Packet analysis {"connection_id":136181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7775"} 
[2026-07-19 04:34:38] local.INFO: Extracted packet for processing {"connection_id":136181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7775"} 
[2026-07-19 04:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810327552001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:34: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-07-19 04:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784415643000,"timestamp_ms":1784415643000,"timestamp_seconds":1784415643,"priority":1,"record_length":96,"hex_timestamp":"0000019f7775e578"} 
[2026-07-19 04:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 04:34:38] 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-07-19 04:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810327552001,"66":25691,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810327552001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:34:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:34:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810327552001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":136181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:34:38] local.INFO: GPS data processed {"connection_id":136181,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:34:38] local.INFO: Acknowledgment sent {"connection_id":136181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:35:10] local.INFO: TCP Data received {"connection_id":136181,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:35:10] local.INFO: Processing buffer {"connection_id":136181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:35:10] local.INFO: Packet analysis {"connection_id":136181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7775"} 
[2026-07-19 04:35:10] local.INFO: Extracted packet for processing {"connection_id":136181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7775"} 
[2026-07-19 04:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810327552001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:35: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-07-19 04:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784415643000,"timestamp_ms":1784415643000,"timestamp_seconds":1784415643,"priority":1,"record_length":96,"hex_timestamp":"0000019f7775e578"} 
[2026-07-19 04:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 04:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810327552001,"66":25691,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810327552001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:35:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:35:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810327552001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":136181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:35:10] local.INFO: GPS data processed {"connection_id":136181,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:35:10] local.INFO: Acknowledgment sent {"connection_id":136181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:35:32] local.INFO: TCP Data received {"connection_id":138630,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:35:32] local.INFO: Processing buffer {"connection_id":138630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:35:32] local.INFO: IMEI packet received {"connection_id":138630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":138630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:35:37] local.INFO: TCP Data received {"connection_id":138630,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:35:37] local.INFO: Processing buffer {"connection_id":138630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:35:37] local.INFO: IMEI packet received {"connection_id":138630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":138630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:35:38] local.INFO: TCP Data received {"connection_id":138630,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:35:38] local.INFO: Processing buffer {"connection_id":138630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:35:38] local.INFO: Packet analysis {"connection_id":138630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7775"} 
[2026-07-19 04:35:38] local.INFO: Extracted packet for processing {"connection_id":138630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7775"} 
[2026-07-19 04:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810327552001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:35: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-07-19 04:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784415643000,"timestamp_ms":1784415643000,"timestamp_seconds":1784415643,"priority":1,"record_length":96,"hex_timestamp":"0000019f7775e578"} 
[2026-07-19 04:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 04:35:38] 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-07-19 04:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:35: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-07-19 04:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810327552001,"66":25691,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810327552001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:35:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810327552001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":138630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:35:38] local.INFO: GPS data processed {"connection_id":138630,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:35:38] local.INFO: Acknowledgment sent {"connection_id":138630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:36:10] local.INFO: TCP Data received {"connection_id":138630,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:36:10] local.INFO: Processing buffer {"connection_id":138630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7775e578012d34c58006aa41400009010127..."} 
[2026-07-19 04:36:10] local.INFO: Packet analysis {"connection_id":138630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7775"} 
[2026-07-19 04:36:10] local.INFO: Extracted packet for processing {"connection_id":138630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7775"} 
[2026-07-19 04:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810327552001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:36: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-07-19 04:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784415643000,"timestamp_ms":1784415643000,"timestamp_seconds":1784415643,"priority":1,"record_length":96,"hex_timestamp":"0000019f7775e578"} 
[2026-07-19 04:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 04:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04: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-07-19 04:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04: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-07-19 04:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810327552001,"66":25691,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810327552001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:36:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:36:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810327552001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":138630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:36:10] local.INFO: GPS data processed {"connection_id":138630,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:36:10] local.INFO: Acknowledgment sent {"connection_id":138630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:36:37] local.INFO: TCP Data received {"connection_id":138631,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:36:37] local.INFO: Processing buffer {"connection_id":138631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:36:37] local.INFO: IMEI packet received {"connection_id":138631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":138631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:36:42] local.INFO: TCP Data received {"connection_id":138631,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:36:42] local.INFO: Processing buffer {"connection_id":138631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:36:42] local.INFO: IMEI packet received {"connection_id":138631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":138631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:36:44] local.INFO: TCP Data received {"connection_id":138631,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:36:44] local.INFO: Processing buffer {"connection_id":138631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:36:44] local.INFO: Packet analysis {"connection_id":138631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f777a"} 
[2026-07-19 04:36:44] local.INFO: Extracted packet for processing {"connection_id":138631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f777a"} 
[2026-07-19 04:36:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810404608001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:36: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-07-19 04:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784415944000,"timestamp_ms":1784415944000,"timestamp_seconds":1784415944,"priority":1,"record_length":96,"hex_timestamp":"0000019f777a7d40"} 
[2026-07-19 04:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-19 04:36:44] 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-07-19 04:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":138631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":138631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":138631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:36:44] 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-07-19 04:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810404608001,"66":25647,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810404608001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:36:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:36:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810404608001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":138631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:36:44] local.INFO: GPS data processed {"connection_id":138631,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:36:44] local.INFO: Acknowledgment sent {"connection_id":138631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:36:48] local.INFO: TCP Data received {"connection_id":138631,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:36:48] local.INFO: Processing buffer {"connection_id":138631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:36:48] local.INFO: Packet analysis {"connection_id":138631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f777a"} 
[2026-07-19 04:36:48] local.INFO: Extracted packet for processing {"connection_id":138631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f777a"} 
[2026-07-19 04:36:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810404608001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 04:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784415944000,"timestamp_ms":1784415944000,"timestamp_seconds":1784415944,"priority":1,"record_length":96,"hex_timestamp":"0000019f777a7d40"} 
[2026-07-19 04:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-19 04:36:48] 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-07-19 04:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":138631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":138631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":138631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810404608001,"66":25647,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810404608001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:36:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:36:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810404608001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":138631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:36:48] local.INFO: GPS data processed {"connection_id":138631,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:36:48] local.INFO: Acknowledgment sent {"connection_id":138631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:37:33] local.INFO: TCP Data received {"connection_id":136311,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:37:33] local.INFO: Processing buffer {"connection_id":136311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:37:33] local.INFO: IMEI packet received {"connection_id":136311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":136311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:37:37] local.INFO: TCP Data received {"connection_id":136311,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:37:37] local.INFO: Processing buffer {"connection_id":136311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:37:37] local.INFO: IMEI packet received {"connection_id":136311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":136311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:37:38] local.INFO: TCP Data received {"connection_id":136311,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:37:38] local.INFO: Processing buffer {"connection_id":136311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:37:38] local.INFO: Packet analysis {"connection_id":136311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f777a"} 
[2026-07-19 04:37:38] local.INFO: Extracted packet for processing {"connection_id":136311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f777a"} 
[2026-07-19 04:37:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810404608001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:37: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-07-19 04:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784415944000,"timestamp_ms":1784415944000,"timestamp_seconds":1784415944,"priority":1,"record_length":96,"hex_timestamp":"0000019f777a7d40"} 
[2026-07-19 04:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-19 04:37:38] 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-07-19 04:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810404608001,"66":25647,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810404608001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:37:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:37:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810404608001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":136311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:37:38] local.INFO: GPS data processed {"connection_id":136311,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:37:38] local.INFO: Acknowledgment sent {"connection_id":136311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:38:10] local.INFO: TCP Data received {"connection_id":136311,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:38:10] local.INFO: Processing buffer {"connection_id":136311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:38:10] local.INFO: Packet analysis {"connection_id":136311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f777a"} 
[2026-07-19 04:38:10] local.INFO: Extracted packet for processing {"connection_id":136311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f777a"} 
[2026-07-19 04:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810404608001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:38: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-07-19 04:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784415944000,"timestamp_ms":1784415944000,"timestamp_seconds":1784415944,"priority":1,"record_length":96,"hex_timestamp":"0000019f777a7d40"} 
[2026-07-19 04:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-19 04:38:10] 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-07-19 04:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:38:10] 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-07-19 04:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810404608001,"66":25647,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810404608001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:38:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:38:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810404608001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":136311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:38:10] local.INFO: GPS data processed {"connection_id":136311,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:38:10] local.INFO: Acknowledgment sent {"connection_id":136311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:38:32] local.INFO: TCP Data received {"connection_id":138633,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:38:32] local.INFO: Processing buffer {"connection_id":138633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:38:32] local.INFO: IMEI packet received {"connection_id":138633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":138633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:38:37] local.INFO: TCP Data received {"connection_id":138633,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:38:37] local.INFO: Processing buffer {"connection_id":138633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:38:37] local.INFO: IMEI packet received {"connection_id":138633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":138633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:38:38] local.INFO: TCP Data received {"connection_id":138633,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:38:38] local.INFO: Processing buffer {"connection_id":138633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:38:38] local.INFO: Packet analysis {"connection_id":138633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f777a"} 
[2026-07-19 04:38:38] local.INFO: Extracted packet for processing {"connection_id":138633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f777a"} 
[2026-07-19 04:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810404608001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:38: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-07-19 04:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784415944000,"timestamp_ms":1784415944000,"timestamp_seconds":1784415944,"priority":1,"record_length":96,"hex_timestamp":"0000019f777a7d40"} 
[2026-07-19 04:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-19 04:38:38] 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-07-19 04:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:38: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-07-19 04:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810404608001,"66":25647,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810404608001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:38:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810404608001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":138633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:38:38] local.INFO: GPS data processed {"connection_id":138633,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:38:38] local.INFO: Acknowledgment sent {"connection_id":138633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:39:11] local.INFO: TCP Data received {"connection_id":138633,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:39:11] local.INFO: Processing buffer {"connection_id":138633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:39:11] local.INFO: Packet analysis {"connection_id":138633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f777a"} 
[2026-07-19 04:39:11] local.INFO: Extracted packet for processing {"connection_id":138633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f777a"} 
[2026-07-19 04:39:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810404608001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:39: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-07-19 04:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784415944000,"timestamp_ms":1784415944000,"timestamp_seconds":1784415944,"priority":1,"record_length":96,"hex_timestamp":"0000019f777a7d40"} 
[2026-07-19 04:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":91,"data_length":795,"current_offset":136} 
[2026-07-19 04:39:11] 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-07-19 04: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-07-19 04:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":138633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":138633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":138633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:39:11] 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-07-19 04:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810404608001,"66":25647,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810404608001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:39:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:39:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810404608001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":138633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:39:11] local.INFO: GPS data processed {"connection_id":138633,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:39:11] local.INFO: Acknowledgment sent {"connection_id":138633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:39:32] local.INFO: TCP Data received {"connection_id":137232,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:39:32] local.INFO: Processing buffer {"connection_id":137232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:39:32] local.INFO: IMEI packet received {"connection_id":137232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":137232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:39:37] local.INFO: TCP Data received {"connection_id":137232,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:39:37] local.INFO: Processing buffer {"connection_id":137232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:39:37] local.INFO: IMEI packet received {"connection_id":137232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":137232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:39:39] local.INFO: TCP Data received {"connection_id":137232,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:39:39] local.INFO: Processing buffer {"connection_id":137232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:39:39] local.INFO: Packet analysis {"connection_id":137232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f777a"} 
[2026-07-19 04:39:39] local.INFO: Extracted packet for processing {"connection_id":137232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f777a"} 
[2026-07-19 04:39:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810404608001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:39: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-07-19 04:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784415944000,"timestamp_ms":1784415944000,"timestamp_seconds":1784415944,"priority":1,"record_length":96,"hex_timestamp":"0000019f777a7d40"} 
[2026-07-19 04:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-19 04:39:39] 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-07-19 04:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":137232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":137232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":137232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:39: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-07-19 04:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810404608001,"66":25647,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810404608001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:39:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:39:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810404608001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":137232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:39:39] local.INFO: GPS data processed {"connection_id":137232,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:39:39] local.INFO: Acknowledgment sent {"connection_id":137232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:39:52] local.INFO: TCP Data received {"connection_id":138634,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:39:52] local.INFO: Processing buffer {"connection_id":138634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:39:52] local.INFO: IMEI packet received {"connection_id":138634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 04:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":138634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:40:11] local.INFO: TCP Data received {"connection_id":137232,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:40:11] local.INFO: Processing buffer {"connection_id":137232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:40:11] local.INFO: Packet analysis {"connection_id":137232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f777a"} 
[2026-07-19 04:40:11] local.INFO: Extracted packet for processing {"connection_id":137232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f777a"} 
[2026-07-19 04:40:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810404608001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04: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-07-19 04:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784415944000,"timestamp_ms":1784415944000,"timestamp_seconds":1784415944,"priority":1,"record_length":96,"hex_timestamp":"0000019f777a7d40"} 
[2026-07-19 04:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-19 04:40:11] 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-07-19 04: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-07-19 04:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":137232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":137232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":137232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810404608001,"66":25647,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810404608001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:40:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:40:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810404608001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":137232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:40:11] local.INFO: GPS data processed {"connection_id":137232,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:40:11] local.INFO: Acknowledgment sent {"connection_id":137232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:40:28] local.INFO: TCP Data received {"connection_id":138635,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:40:28] local.INFO: Processing buffer {"connection_id":138635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:40:28] local.INFO: IMEI packet received {"connection_id":138635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 04:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":138635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:40:32] local.INFO: TCP Data received {"connection_id":138636,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:40:32] local.INFO: Processing buffer {"connection_id":138636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:40:32] local.INFO: IMEI packet received {"connection_id":138636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":138636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:40:37] local.INFO: TCP Data received {"connection_id":138636,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:40:37] local.INFO: Processing buffer {"connection_id":138636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:40:37] local.INFO: IMEI packet received {"connection_id":138636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":138636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:40:38] local.INFO: TCP Data received {"connection_id":138636,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:40:38] local.INFO: Processing buffer {"connection_id":138636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:40:38] local.INFO: Packet analysis {"connection_id":138636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f777a"} 
[2026-07-19 04:40:38] local.INFO: Extracted packet for processing {"connection_id":138636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f777a"} 
[2026-07-19 04:40:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810404608001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:40: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-07-19 04:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784415944000,"timestamp_ms":1784415944000,"timestamp_seconds":1784415944,"priority":1,"record_length":96,"hex_timestamp":"0000019f777a7d40"} 
[2026-07-19 04:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-19 04:40:38] 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-07-19 04: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-07-19 04:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810404608001,"66":25647,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810404608001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:40:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:40:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810404608001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":138636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:40:38] local.INFO: GPS data processed {"connection_id":138636,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:40:38] local.INFO: Acknowledgment sent {"connection_id":138636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:41:10] local.INFO: TCP Data received {"connection_id":138636,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:41:10] local.INFO: Processing buffer {"connection_id":138636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f777a7d40012d34c58006aa4140000901012c..."} 
[2026-07-19 04:41:10] local.INFO: Packet analysis {"connection_id":138636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f777a"} 
[2026-07-19 04:41:10] local.INFO: Extracted packet for processing {"connection_id":138636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f777a"} 
[2026-07-19 04:41:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810404608001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:41: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-07-19 04:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784415944000,"timestamp_ms":1784415944000,"timestamp_seconds":1784415944,"priority":1,"record_length":96,"hex_timestamp":"0000019f777a7d40"} 
[2026-07-19 04:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-19 04:41:10] 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-07-19 04:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810404608001,"66":25647,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810404608001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:41:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:41:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810404608001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":138636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:41:10] local.INFO: GPS data processed {"connection_id":138636,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:41:10] local.INFO: Acknowledgment sent {"connection_id":138636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:41:32] local.INFO: TCP Data received {"connection_id":137233,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:41:32] local.INFO: Processing buffer {"connection_id":137233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:41:32] local.INFO: IMEI packet received {"connection_id":137233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":137233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:41:37] local.INFO: TCP Data received {"connection_id":137233,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:41:37] local.INFO: Processing buffer {"connection_id":137233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:41:37] local.INFO: IMEI packet received {"connection_id":137233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":137233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:41:38] local.INFO: TCP Data received {"connection_id":137233,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:41:38] local.INFO: Processing buffer {"connection_id":137233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:41:38] local.INFO: Packet analysis {"connection_id":137233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f777f"} 
[2026-07-19 04:41:38] local.INFO: Extracted packet for processing {"connection_id":137233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f777f"} 
[2026-07-19 04:41:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810481664001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04: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-07-19 04:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784416245000,"timestamp_ms":1784416245000,"timestamp_seconds":1784416245,"priority":1,"record_length":96,"hex_timestamp":"0000019f777f1508"} 
[2026-07-19 04:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 04:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04: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-07-19 04:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810481664001,"66":25625,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810481664001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:41:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:41:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810481664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":137233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:41:38] local.INFO: GPS data processed {"connection_id":137233,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:41:38] local.INFO: Acknowledgment sent {"connection_id":137233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:42:10] local.INFO: TCP Data received {"connection_id":137233,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:42:10] local.INFO: Processing buffer {"connection_id":137233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:42:10] local.INFO: Packet analysis {"connection_id":137233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f777f"} 
[2026-07-19 04:42:10] local.INFO: Extracted packet for processing {"connection_id":137233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f777f"} 
[2026-07-19 04:42:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810481664001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:42: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-07-19 04:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784416245000,"timestamp_ms":1784416245000,"timestamp_seconds":1784416245,"priority":1,"record_length":96,"hex_timestamp":"0000019f777f1508"} 
[2026-07-19 04:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 04:42: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-07-19 04: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-07-19 04:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:42:10] 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-07-19 04:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810481664001,"66":25625,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810481664001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:42:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:42:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810481664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":137233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:42:10] local.INFO: GPS data processed {"connection_id":137233,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:42:10] local.INFO: Acknowledgment sent {"connection_id":137233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:42:33] local.INFO: TCP Data received {"connection_id":136184,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:42:33] local.INFO: Processing buffer {"connection_id":136184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:42:33] local.INFO: IMEI packet received {"connection_id":136184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":136184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:42:37] local.INFO: TCP Data received {"connection_id":136184,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:42:37] local.INFO: Processing buffer {"connection_id":136184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:42:37] local.INFO: IMEI packet received {"connection_id":136184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":136184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:42:38] local.INFO: TCP Data received {"connection_id":136184,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:42:38] local.INFO: Processing buffer {"connection_id":136184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:42:38] local.INFO: Packet analysis {"connection_id":136184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f777f"} 
[2026-07-19 04:42:38] local.INFO: Extracted packet for processing {"connection_id":136184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f777f"} 
[2026-07-19 04:42:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810481664001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:42: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-07-19 04:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784416245000,"timestamp_ms":1784416245000,"timestamp_seconds":1784416245,"priority":1,"record_length":96,"hex_timestamp":"0000019f777f1508"} 
[2026-07-19 04:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 04:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810481664001,"66":25625,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810481664001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:42:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:42:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810481664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":136184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:42:38] local.INFO: GPS data processed {"connection_id":136184,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:42:38] local.INFO: Acknowledgment sent {"connection_id":136184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:43:10] local.INFO: TCP Data received {"connection_id":136184,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:43:10] local.INFO: Processing buffer {"connection_id":136184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:43:10] local.INFO: Packet analysis {"connection_id":136184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f777f"} 
[2026-07-19 04:43:10] local.INFO: Extracted packet for processing {"connection_id":136184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f777f"} 
[2026-07-19 04:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810481664001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:43: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-07-19 04:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784416245000,"timestamp_ms":1784416245000,"timestamp_seconds":1784416245,"priority":1,"record_length":96,"hex_timestamp":"0000019f777f1508"} 
[2026-07-19 04:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 04:43: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-07-19 04:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:43:10] 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-07-19 04:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810481664001,"66":25625,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810481664001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:43:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:43:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810481664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":136184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:43:10] local.INFO: GPS data processed {"connection_id":136184,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:43:10] local.INFO: Acknowledgment sent {"connection_id":136184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:43:33] local.INFO: TCP Data received {"connection_id":136185,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:43:33] local.INFO: Processing buffer {"connection_id":136185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:43:33] local.INFO: IMEI packet received {"connection_id":136185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":136185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:43:37] local.INFO: TCP Data received {"connection_id":136185,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:43:37] local.INFO: Processing buffer {"connection_id":136185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:43:37] local.INFO: IMEI packet received {"connection_id":136185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":136185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:43:38] local.INFO: TCP Data received {"connection_id":136185,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:43:38] local.INFO: Processing buffer {"connection_id":136185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:43:38] local.INFO: Packet analysis {"connection_id":136185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f777f"} 
[2026-07-19 04:43:38] local.INFO: Extracted packet for processing {"connection_id":136185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f777f"} 
[2026-07-19 04:43:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810481664001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:43: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-07-19 04:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784416245000,"timestamp_ms":1784416245000,"timestamp_seconds":1784416245,"priority":1,"record_length":96,"hex_timestamp":"0000019f777f1508"} 
[2026-07-19 04:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 04:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810481664001,"66":25625,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810481664001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:43:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:43:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810481664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":136185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:43:38] local.INFO: GPS data processed {"connection_id":136185,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:43:38] local.INFO: Acknowledgment sent {"connection_id":136185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:44:09] local.INFO: TCP Data received {"connection_id":136185,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:44:09] local.INFO: Processing buffer {"connection_id":136185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:44:09] local.INFO: Packet analysis {"connection_id":136185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f777f"} 
[2026-07-19 04:44:09] local.INFO: Extracted packet for processing {"connection_id":136185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f777f"} 
[2026-07-19 04:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810481664001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04: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-07-19 04:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784416245000,"timestamp_ms":1784416245000,"timestamp_seconds":1784416245,"priority":1,"record_length":96,"hex_timestamp":"0000019f777f1508"} 
[2026-07-19 04:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":47,"data_length":795,"current_offset":136} 
[2026-07-19 04:44: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-07-19 04: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-07-19 04:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:44:09] 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-07-19 04:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810481664001,"66":25625,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810481664001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:44:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810481664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":136185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:44:09] local.INFO: GPS data processed {"connection_id":136185,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:44:09] local.INFO: Acknowledgment sent {"connection_id":136185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:44:32] local.INFO: TCP Data received {"connection_id":137235,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:44:32] local.INFO: Processing buffer {"connection_id":137235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:44:32] local.INFO: IMEI packet received {"connection_id":137235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":137235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:44:38] local.INFO: TCP Data received {"connection_id":137235,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:44:38] local.INFO: Processing buffer {"connection_id":137235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:44:38] local.INFO: IMEI packet received {"connection_id":137235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":137235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:44:39] local.INFO: TCP Data received {"connection_id":137235,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:44:39] local.INFO: Processing buffer {"connection_id":137235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:44:39] local.INFO: Packet analysis {"connection_id":137235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f777f"} 
[2026-07-19 04:44:39] local.INFO: Extracted packet for processing {"connection_id":137235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f777f"} 
[2026-07-19 04:44:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810481664001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:44: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-07-19 04:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784416245000,"timestamp_ms":1784416245000,"timestamp_seconds":1784416245,"priority":1,"record_length":96,"hex_timestamp":"0000019f777f1508"} 
[2026-07-19 04:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 04:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":137235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":137235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":137235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810481664001,"66":25625,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810481664001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:44:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:44:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810481664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":137235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:44:39] local.INFO: GPS data processed {"connection_id":137235,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:44:39] local.INFO: Acknowledgment sent {"connection_id":137235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:45:10] local.INFO: TCP Data received {"connection_id":137235,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:45:10] local.INFO: Processing buffer {"connection_id":137235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:45:10] local.INFO: Packet analysis {"connection_id":137235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f777f"} 
[2026-07-19 04:45:10] local.INFO: Extracted packet for processing {"connection_id":137235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f777f"} 
[2026-07-19 04:45:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810481664001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:45: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-07-19 04:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784416245000,"timestamp_ms":1784416245000,"timestamp_seconds":1784416245,"priority":1,"record_length":96,"hex_timestamp":"0000019f777f1508"} 
[2026-07-19 04:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 04:45: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-07-19 04:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810481664001,"66":25625,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810481664001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:45:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:45:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810481664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":137235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:45:10] local.INFO: GPS data processed {"connection_id":137235,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:45:10] local.INFO: Acknowledgment sent {"connection_id":137235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:45:32] local.INFO: TCP Data received {"connection_id":136186,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:45:32] local.INFO: Processing buffer {"connection_id":136186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:45:32] local.INFO: IMEI packet received {"connection_id":136186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":136186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:45:37] local.INFO: TCP Data received {"connection_id":136186,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:45:37] local.INFO: Processing buffer {"connection_id":136186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:45:37] local.INFO: IMEI packet received {"connection_id":136186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":136186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:45:38] local.INFO: TCP Data received {"connection_id":136186,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:45:38] local.INFO: Processing buffer {"connection_id":136186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:45:38] local.INFO: Packet analysis {"connection_id":136186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f777f"} 
[2026-07-19 04:45:38] local.INFO: Extracted packet for processing {"connection_id":136186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f777f"} 
[2026-07-19 04:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810481664001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:45: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-07-19 04:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784416245000,"timestamp_ms":1784416245000,"timestamp_seconds":1784416245,"priority":1,"record_length":96,"hex_timestamp":"0000019f777f1508"} 
[2026-07-19 04:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 04:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810481664001,"66":25625,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810481664001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:45:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810481664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":136186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:45:38] local.INFO: GPS data processed {"connection_id":136186,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:45:38] local.INFO: Acknowledgment sent {"connection_id":136186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:45:57] local.INFO: TCP Data received {"connection_id":138637,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:45:57] local.INFO: Processing buffer {"connection_id":138637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:45:57] local.INFO: IMEI packet received {"connection_id":138637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 04:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":138637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:46:10] local.INFO: TCP Data received {"connection_id":136186,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:46:10] local.INFO: Processing buffer {"connection_id":136186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f777f1508012d34c58006aa41400009010122..."} 
[2026-07-19 04:46:10] local.INFO: Packet analysis {"connection_id":136186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f777f"} 
[2026-07-19 04:46:10] local.INFO: Extracted packet for processing {"connection_id":136186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f777f"} 
[2026-07-19 04:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":9,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810481664001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:46: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-07-19 04:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784416245000,"timestamp_ms":1784416245000,"timestamp_seconds":1784416245,"priority":1,"record_length":96,"hex_timestamp":"0000019f777f1508"} 
[2026-07-19 04:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 04:46: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-07-19 04:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810481664001,"66":25625,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810481664001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:46:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810481664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":136186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:46:10] local.INFO: GPS data processed {"connection_id":136186,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:46:10] local.INFO: Acknowledgment sent {"connection_id":136186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:46:28] local.INFO: TCP Data received {"connection_id":138638,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:46:28] local.INFO: Processing buffer {"connection_id":138638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:46:28] local.INFO: IMEI packet received {"connection_id":138638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 04:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":138638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:46:32] local.INFO: TCP Data received {"connection_id":136314,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:46:32] local.INFO: Processing buffer {"connection_id":136314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:46:32] local.INFO: IMEI packet received {"connection_id":136314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":136314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:46:37] local.INFO: TCP Data received {"connection_id":136314,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:46:37] local.INFO: Processing buffer {"connection_id":136314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:46:37] local.INFO: IMEI packet received {"connection_id":136314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":136314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:46:38] local.INFO: TCP Data received {"connection_id":136314,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:46:38] local.INFO: Processing buffer {"connection_id":136314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:46:38] local.INFO: Packet analysis {"connection_id":136314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7783"} 
[2026-07-19 04:46:38] local.INFO: Extracted packet for processing {"connection_id":136314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7783"} 
[2026-07-19 04:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810558720001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:46: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-07-19 04:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784416546000,"timestamp_ms":1784416546000,"timestamp_seconds":1784416546,"priority":1,"record_length":96,"hex_timestamp":"0000019f7783acd0"} 
[2026-07-19 04:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 04:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:46:38] 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-07-19 04:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810558720001,"66":25647,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810558720001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:46:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:46:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810558720001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":136314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:46:38] local.INFO: GPS data processed {"connection_id":136314,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:46:38] local.INFO: Acknowledgment sent {"connection_id":136314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:47:10] local.INFO: TCP Data received {"connection_id":136314,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:47:10] local.INFO: Processing buffer {"connection_id":136314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:47:10] local.INFO: Packet analysis {"connection_id":136314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7783"} 
[2026-07-19 04:47:10] local.INFO: Extracted packet for processing {"connection_id":136314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7783"} 
[2026-07-19 04:47:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:47: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-07-19 04:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810558720001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:47: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-07-19 04:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784416546000,"timestamp_ms":1784416546000,"timestamp_seconds":1784416546,"priority":1,"record_length":96,"hex_timestamp":"0000019f7783acd0"} 
[2026-07-19 04:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 04:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:47: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-07-19 04:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:47:10] 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-07-19 04:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810558720001,"66":25647,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810558720001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:47:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:47:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810558720001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":136314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:47:10] local.INFO: GPS data processed {"connection_id":136314,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:47:10] local.INFO: Acknowledgment sent {"connection_id":136314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:47:33] local.INFO: TCP Data received {"connection_id":138639,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:47:33] local.INFO: Processing buffer {"connection_id":138639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:47:33] local.INFO: IMEI packet received {"connection_id":138639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":138639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:47:37] local.INFO: TCP Data received {"connection_id":138639,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:47:37] local.INFO: Processing buffer {"connection_id":138639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:47:37] local.INFO: IMEI packet received {"connection_id":138639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":138639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:47:38] local.INFO: TCP Data received {"connection_id":138639,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:47:38] local.INFO: Processing buffer {"connection_id":138639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:47:38] local.INFO: Packet analysis {"connection_id":138639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7783"} 
[2026-07-19 04:47:38] local.INFO: Extracted packet for processing {"connection_id":138639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7783"} 
[2026-07-19 04:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810558720001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:47: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-07-19 04:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784416546000,"timestamp_ms":1784416546000,"timestamp_seconds":1784416546,"priority":1,"record_length":96,"hex_timestamp":"0000019f7783acd0"} 
[2026-07-19 04:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 04:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04: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-07-19 04:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810558720001,"66":25647,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 04:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810558720001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810558720001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":138639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:47:38] local.INFO: GPS data processed {"connection_id":138639,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:47:38] local.INFO: Acknowledgment sent {"connection_id":138639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:48:10] local.INFO: TCP Data received {"connection_id":138639,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:48:10] local.INFO: Processing buffer {"connection_id":138639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:48:10] local.INFO: Packet analysis {"connection_id":138639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7783"} 
[2026-07-19 04:48:10] local.INFO: Extracted packet for processing {"connection_id":138639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7783"} 
[2026-07-19 04:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810558720001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:48: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-07-19 04:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784416546000,"timestamp_ms":1784416546000,"timestamp_seconds":1784416546,"priority":1,"record_length":96,"hex_timestamp":"0000019f7783acd0"} 
[2026-07-19 04:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 04:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810558720001,"66":25647,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 04:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810558720001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:48:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810558720001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":138639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:48:10] local.INFO: GPS data processed {"connection_id":138639,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:48:10] local.INFO: Acknowledgment sent {"connection_id":138639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:48:33] local.INFO: TCP Data received {"connection_id":136187,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:48:33] local.INFO: Processing buffer {"connection_id":136187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:48:33] local.INFO: IMEI packet received {"connection_id":136187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":136187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:48:37] local.INFO: TCP Data received {"connection_id":136187,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:48:37] local.INFO: Processing buffer {"connection_id":136187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:48:37] local.INFO: IMEI packet received {"connection_id":136187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":136187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:48:38] local.INFO: TCP Data received {"connection_id":136187,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:48:38] local.INFO: Processing buffer {"connection_id":136187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:48:38] local.INFO: Packet analysis {"connection_id":136187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7783"} 
[2026-07-19 04:48:38] local.INFO: Extracted packet for processing {"connection_id":136187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7783"} 
[2026-07-19 04:48:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810558720001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:48: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-07-19 04:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784416546000,"timestamp_ms":1784416546000,"timestamp_seconds":1784416546,"priority":1,"record_length":96,"hex_timestamp":"0000019f7783acd0"} 
[2026-07-19 04:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 04:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810558720001,"66":25647,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810558720001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:48:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:48:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810558720001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":136187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:48:38] local.INFO: GPS data processed {"connection_id":136187,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:48:38] local.INFO: Acknowledgment sent {"connection_id":136187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:49:09] local.INFO: TCP Data received {"connection_id":136187,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:49:10] local.INFO: Processing buffer {"connection_id":136187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:49:10] local.INFO: Packet analysis {"connection_id":136187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7783"} 
[2026-07-19 04:49:10] local.INFO: Extracted packet for processing {"connection_id":136187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7783"} 
[2026-07-19 04:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810558720001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:49: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-07-19 04:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784416546000,"timestamp_ms":1784416546000,"timestamp_seconds":1784416546,"priority":1,"record_length":96,"hex_timestamp":"0000019f7783acd0"} 
[2026-07-19 04:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 04:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:49: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-07-19 04:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810558720001,"66":25647,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810558720001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:49:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:49:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810558720001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":136187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:49:10] local.INFO: GPS data processed {"connection_id":136187,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:49:10] local.INFO: Acknowledgment sent {"connection_id":136187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:49:32] local.INFO: TCP Data received {"connection_id":138640,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:49:32] local.INFO: Processing buffer {"connection_id":138640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:49:32] local.INFO: IMEI packet received {"connection_id":138640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":138640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:49:37] local.INFO: TCP Data received {"connection_id":138640,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:49:37] local.INFO: Processing buffer {"connection_id":138640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:49:37] local.INFO: IMEI packet received {"connection_id":138640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":138640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:49:38] local.INFO: TCP Data received {"connection_id":138640,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:49:38] local.INFO: Processing buffer {"connection_id":138640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:49:38] local.INFO: Packet analysis {"connection_id":138640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7783"} 
[2026-07-19 04:49:38] local.INFO: Extracted packet for processing {"connection_id":138640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7783"} 
[2026-07-19 04:49:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810558720001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:49: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-07-19 04:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784416546000,"timestamp_ms":1784416546000,"timestamp_seconds":1784416546,"priority":1,"record_length":96,"hex_timestamp":"0000019f7783acd0"} 
[2026-07-19 04:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 04:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04: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-07-19 04:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:49:38] 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-07-19 04:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810558720001,"66":25647,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810558720001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:49:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:49:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810558720001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":138640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:49:38] local.INFO: GPS data processed {"connection_id":138640,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:49:38] local.INFO: Acknowledgment sent {"connection_id":138640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:50:10] local.INFO: TCP Data received {"connection_id":138640,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:50:10] local.INFO: Processing buffer {"connection_id":138640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:50:10] local.INFO: Packet analysis {"connection_id":138640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7783"} 
[2026-07-19 04:50:10] local.INFO: Extracted packet for processing {"connection_id":138640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7783"} 
[2026-07-19 04:50:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810558720001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:50: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-07-19 04:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784416546000,"timestamp_ms":1784416546000,"timestamp_seconds":1784416546,"priority":1,"record_length":96,"hex_timestamp":"0000019f7783acd0"} 
[2026-07-19 04:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 04:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04: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-07-19 04:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:50:10] 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-07-19 04:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810558720001,"66":25647,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810558720001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:50:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:50:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810558720001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":138640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:50:10] local.INFO: GPS data processed {"connection_id":138640,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:50:10] local.INFO: Acknowledgment sent {"connection_id":138640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:50:32] local.INFO: TCP Data received {"connection_id":138641,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:50:32] local.INFO: Processing buffer {"connection_id":138641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:50:32] local.INFO: IMEI packet received {"connection_id":138641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":138641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:50:37] local.INFO: TCP Data received {"connection_id":138641,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:50:37] local.INFO: Processing buffer {"connection_id":138641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:50:37] local.INFO: IMEI packet received {"connection_id":138641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":138641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:50:38] local.INFO: TCP Data received {"connection_id":138641,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:50:38] local.INFO: Processing buffer {"connection_id":138641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:50:38] local.INFO: Packet analysis {"connection_id":138641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7783"} 
[2026-07-19 04:50:38] local.INFO: Extracted packet for processing {"connection_id":138641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7783"} 
[2026-07-19 04:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810558720001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:50: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-07-19 04:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784416546000,"timestamp_ms":1784416546000,"timestamp_seconds":1784416546,"priority":1,"record_length":96,"hex_timestamp":"0000019f7783acd0"} 
[2026-07-19 04:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 04:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:50: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-07-19 04:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810558720001,"66":25647,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810558720001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:50:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:50:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810558720001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":138641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:50:38] local.INFO: GPS data processed {"connection_id":138641,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:50:38] local.INFO: Acknowledgment sent {"connection_id":138641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:51:10] local.INFO: TCP Data received {"connection_id":138641,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:51:10] local.INFO: Processing buffer {"connection_id":138641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7783acd0012d34c58006aa4140001201012d..."} 
[2026-07-19 04:51:10] local.INFO: Packet analysis {"connection_id":138641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7783"} 
[2026-07-19 04:51:10] local.INFO: Extracted packet for processing {"connection_id":138641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7783"} 
[2026-07-19 04:51:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810558720001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:51: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-07-19 04:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784416546000,"timestamp_ms":1784416546000,"timestamp_seconds":1784416546,"priority":1,"record_length":96,"hex_timestamp":"0000019f7783acd0"} 
[2026-07-19 04:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 04:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04: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-07-19 04:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:51: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-07-19 04:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810558720001,"66":25647,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810558720001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:51:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:51:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810558720001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":138641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:51:10] local.INFO: GPS data processed {"connection_id":138641,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:51:10] local.INFO: Acknowledgment sent {"connection_id":138641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:51:32] local.INFO: TCP Data received {"connection_id":136188,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:51:32] local.INFO: Processing buffer {"connection_id":136188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:51:32] local.INFO: IMEI packet received {"connection_id":136188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":136188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:51:37] local.INFO: TCP Data received {"connection_id":136188,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:51:37] local.INFO: Processing buffer {"connection_id":136188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:51:37] local.INFO: IMEI packet received {"connection_id":136188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":136188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:51:38] local.INFO: TCP Data received {"connection_id":136188,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:51:38] local.INFO: Processing buffer {"connection_id":136188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:51:38] local.INFO: Packet analysis {"connection_id":136188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7788"} 
[2026-07-19 04:51:38] local.INFO: Extracted packet for processing {"connection_id":136188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7788"} 
[2026-07-19 04:51:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810635776001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:51: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-07-19 04:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784416847000,"timestamp_ms":1784416847000,"timestamp_seconds":1784416847,"priority":1,"record_length":96,"hex_timestamp":"0000019f77884498"} 
[2026-07-19 04:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 04:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810635776001,"66":25615,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810635776001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:51:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:51:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810635776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":136188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:51:38] local.INFO: GPS data processed {"connection_id":136188,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:51:38] local.INFO: Acknowledgment sent {"connection_id":136188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:51:48] local.INFO: TCP Data received {"connection_id":136316,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:51:48] local.INFO: Processing buffer {"connection_id":136316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:51:48] local.INFO: IMEI packet received {"connection_id":136316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 04:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":136316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:52:10] local.INFO: TCP Data received {"connection_id":136188,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:52:10] local.INFO: Processing buffer {"connection_id":136188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:52:10] local.INFO: Packet analysis {"connection_id":136188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7788"} 
[2026-07-19 04:52:10] local.INFO: Extracted packet for processing {"connection_id":136188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7788"} 
[2026-07-19 04:52:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810635776001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:52: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-07-19 04:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784416847000,"timestamp_ms":1784416847000,"timestamp_seconds":1784416847,"priority":1,"record_length":96,"hex_timestamp":"0000019f77884498"} 
[2026-07-19 04:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 04:52: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-07-19 04:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810635776001,"66":25615,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810635776001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:52:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:52:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810635776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":136188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:52:10] local.INFO: GPS data processed {"connection_id":136188,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:52:10] local.INFO: Acknowledgment sent {"connection_id":136188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:52:32] local.INFO: TCP Data received {"connection_id":136190,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:52:32] local.INFO: Processing buffer {"connection_id":136190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:52:32] local.INFO: IMEI packet received {"connection_id":136190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":136190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:52:33] local.INFO: TCP Data received {"connection_id":136189,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:52:33] local.INFO: Processing buffer {"connection_id":136189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:52:33] local.INFO: IMEI packet received {"connection_id":136189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 04:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":136189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:52:37] local.INFO: TCP Data received {"connection_id":136190,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:52:37] local.INFO: Processing buffer {"connection_id":136190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:52:37] local.INFO: IMEI packet received {"connection_id":136190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":136190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:52:38] local.INFO: TCP Data received {"connection_id":136190,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:52:38] local.INFO: Processing buffer {"connection_id":136190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:52:38] local.INFO: Packet analysis {"connection_id":136190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7788"} 
[2026-07-19 04:52:38] local.INFO: Extracted packet for processing {"connection_id":136190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7788"} 
[2026-07-19 04:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810635776001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:52: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-07-19 04:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784416847000,"timestamp_ms":1784416847000,"timestamp_seconds":1784416847,"priority":1,"record_length":96,"hex_timestamp":"0000019f77884498"} 
[2026-07-19 04:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 04:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:52: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-07-19 04:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810635776001,"66":25615,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810635776001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:52:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:52:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810635776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":136190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:52:38] local.INFO: GPS data processed {"connection_id":136190,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:52:38] local.INFO: Acknowledgment sent {"connection_id":136190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:53:10] local.INFO: TCP Data received {"connection_id":136190,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:53:10] local.INFO: Processing buffer {"connection_id":136190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:53:10] local.INFO: Packet analysis {"connection_id":136190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7788"} 
[2026-07-19 04:53:10] local.INFO: Extracted packet for processing {"connection_id":136190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7788"} 
[2026-07-19 04:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810635776001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:53: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-07-19 04:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784416847000,"timestamp_ms":1784416847000,"timestamp_seconds":1784416847,"priority":1,"record_length":96,"hex_timestamp":"0000019f77884498"} 
[2026-07-19 04:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 04:53: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-07-19 04:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:53: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-07-19 04:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810635776001,"66":25615,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810635776001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:53:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810635776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":136190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:53:10] local.INFO: GPS data processed {"connection_id":136190,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:53:10] local.INFO: Acknowledgment sent {"connection_id":136190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:53:32] local.INFO: TCP Data received {"connection_id":137239,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:53:32] local.INFO: Processing buffer {"connection_id":137239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:53:32] local.INFO: IMEI packet received {"connection_id":137239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":137239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:53:37] local.INFO: TCP Data received {"connection_id":137239,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:53:37] local.INFO: Processing buffer {"connection_id":137239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:53:37] local.INFO: IMEI packet received {"connection_id":137239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":137239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:53:38] local.INFO: TCP Data received {"connection_id":137239,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:53:38] local.INFO: Processing buffer {"connection_id":137239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:53:38] local.INFO: Packet analysis {"connection_id":137239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7788"} 
[2026-07-19 04:53:38] local.INFO: Extracted packet for processing {"connection_id":137239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7788"} 
[2026-07-19 04:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810635776001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:53: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-07-19 04:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784416847000,"timestamp_ms":1784416847000,"timestamp_seconds":1784416847,"priority":1,"record_length":96,"hex_timestamp":"0000019f77884498"} 
[2026-07-19 04:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":47,"data_length":795,"current_offset":136} 
[2026-07-19 04:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04: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-07-19 04:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810635776001,"66":25615,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810635776001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810635776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":137239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:53:38] local.INFO: GPS data processed {"connection_id":137239,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:53:38] local.INFO: Acknowledgment sent {"connection_id":137239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:54:10] local.INFO: TCP Data received {"connection_id":137239,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:54:10] local.INFO: Processing buffer {"connection_id":137239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:54:10] local.INFO: Packet analysis {"connection_id":137239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7788"} 
[2026-07-19 04:54:10] local.INFO: Extracted packet for processing {"connection_id":137239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7788"} 
[2026-07-19 04:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810635776001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:54: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-07-19 04:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784416847000,"timestamp_ms":1784416847000,"timestamp_seconds":1784416847,"priority":1,"record_length":96,"hex_timestamp":"0000019f77884498"} 
[2026-07-19 04:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 04:54: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-07-19 04:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810635776001,"66":25615,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810635776001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:54:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810635776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":137239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:54:10] local.INFO: GPS data processed {"connection_id":137239,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:54:10] local.INFO: Acknowledgment sent {"connection_id":137239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:54:32] local.INFO: TCP Data received {"connection_id":138644,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:54:32] local.INFO: Processing buffer {"connection_id":138644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:54:32] local.INFO: IMEI packet received {"connection_id":138644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":138644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:54:37] local.INFO: TCP Data received {"connection_id":138644,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:54:37] local.INFO: Processing buffer {"connection_id":138644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:54:37] local.INFO: IMEI packet received {"connection_id":138644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":138644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:54:39] local.INFO: TCP Data received {"connection_id":138644,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:54:39] local.INFO: Processing buffer {"connection_id":138644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:54:39] local.INFO: Packet analysis {"connection_id":138644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7788"} 
[2026-07-19 04:54:39] local.INFO: Extracted packet for processing {"connection_id":138644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7788"} 
[2026-07-19 04:54:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810635776001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:54: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-07-19 04:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784416847000,"timestamp_ms":1784416847000,"timestamp_seconds":1784416847,"priority":1,"record_length":96,"hex_timestamp":"0000019f77884498"} 
[2026-07-19 04:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 04:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":138644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":138644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":138644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:54: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-07-19 04:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810635776001,"66":25615,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810635776001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:54:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:54:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810635776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":138644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:54:39] local.INFO: GPS data processed {"connection_id":138644,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:54:39] local.INFO: Acknowledgment sent {"connection_id":138644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:55:10] local.INFO: TCP Data received {"connection_id":138644,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:55:10] local.INFO: Processing buffer {"connection_id":138644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:55:10] local.INFO: Packet analysis {"connection_id":138644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7788"} 
[2026-07-19 04:55:10] local.INFO: Extracted packet for processing {"connection_id":138644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7788"} 
[2026-07-19 04:55:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810635776001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:55: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-07-19 04:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784416847000,"timestamp_ms":1784416847000,"timestamp_seconds":1784416847,"priority":1,"record_length":96,"hex_timestamp":"0000019f77884498"} 
[2026-07-19 04:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 04:55: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-07-19 04:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:55: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-07-19 04:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810635776001,"66":25615,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810635776001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:55:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:55:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810635776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":138644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:55:10] local.INFO: GPS data processed {"connection_id":138644,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:55:10] local.INFO: Acknowledgment sent {"connection_id":138644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:55:32] local.INFO: TCP Data received {"connection_id":136317,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:55:32] local.INFO: Processing buffer {"connection_id":136317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:55:32] local.INFO: IMEI packet received {"connection_id":136317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":136317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:55:37] local.INFO: TCP Data received {"connection_id":136317,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:55:37] local.INFO: Processing buffer {"connection_id":136317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:55:37] local.INFO: IMEI packet received {"connection_id":136317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":136317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:55:38] local.INFO: TCP Data received {"connection_id":136317,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:55:38] local.INFO: Processing buffer {"connection_id":136317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:55:38] local.INFO: Packet analysis {"connection_id":136317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7788"} 
[2026-07-19 04:55:38] local.INFO: Extracted packet for processing {"connection_id":136317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7788"} 
[2026-07-19 04:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810635776001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:55: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-07-19 04:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784416847000,"timestamp_ms":1784416847000,"timestamp_seconds":1784416847,"priority":1,"record_length":96,"hex_timestamp":"0000019f77884498"} 
[2026-07-19 04:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 04:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810635776001,"66":25615,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810635776001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:55:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810635776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":136317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:55:38] local.INFO: GPS data processed {"connection_id":136317,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:55:38] local.INFO: Acknowledgment sent {"connection_id":136317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:56:11] local.INFO: TCP Data received {"connection_id":136317,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:56:11] local.INFO: Processing buffer {"connection_id":136317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77884498012d34c58006aa4140000a010127..."} 
[2026-07-19 04:56:11] local.INFO: Packet analysis {"connection_id":136317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7788"} 
[2026-07-19 04:56:11] local.INFO: Extracted packet for processing {"connection_id":136317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7788"} 
[2026-07-19 04:56:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810635776001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:56: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-07-19 04:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784416847000,"timestamp_ms":1784416847000,"timestamp_seconds":1784416847,"priority":1,"record_length":96,"hex_timestamp":"0000019f77884498"} 
[2026-07-19 04:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 04:56: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-07-19 04: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-07-19 04:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":136317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":136317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":136317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:56:11] 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-07-19 04:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810635776001,"66":25615,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810635776001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:56:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:56:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810635776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":136317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:56:11] local.INFO: GPS data processed {"connection_id":136317,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:56:11] local.INFO: Acknowledgment sent {"connection_id":136317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:56:32] local.INFO: TCP Data received {"connection_id":136193,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:56:32] local.INFO: Processing buffer {"connection_id":136193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:56:32] local.INFO: IMEI packet received {"connection_id":136193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":136193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:56:37] local.INFO: TCP Data received {"connection_id":136193,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:56:37] local.INFO: Processing buffer {"connection_id":136193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:56:37] local.INFO: IMEI packet received {"connection_id":136193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":136193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:56:38] local.INFO: TCP Data received {"connection_id":136193,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 04:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 04:56:38] local.INFO: Processing buffer {"connection_id":136193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 04:56:38] local.INFO: Packet analysis {"connection_id":136193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f778c"} 
[2026-07-19 04:56:38] local.INFO: Extracted packet for processing {"connection_id":136193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f778c"} 
[2026-07-19 04:56:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 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-07-19 04:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810712832001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 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-07-19 04:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784417148000,"timestamp_ms":1784417148000,"timestamp_seconds":1784417148,"priority":1,"record_length":96,"hex_timestamp":"0000019f778cdc60"} 
[2026-07-19 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-07-19 04:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 04:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 04:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810712832001,"66":25615,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 04:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810712832001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:56:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:56:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810712832001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":136193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:56:38] local.INFO: GPS data processed {"connection_id":136193,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:56:38] local.INFO: Acknowledgment sent {"connection_id":136193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:57:09] local.INFO: TCP Data received {"connection_id":136193,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 04:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 04:57:09] local.INFO: Processing buffer {"connection_id":136193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 04:57:09] local.INFO: Packet analysis {"connection_id":136193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f778c"} 
[2026-07-19 04:57:09] local.INFO: Extracted packet for processing {"connection_id":136193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f778c"} 
[2026-07-19 04:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810712832001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:57: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-07-19 04:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784417148000,"timestamp_ms":1784417148000,"timestamp_seconds":1784417148,"priority":1,"record_length":96,"hex_timestamp":"0000019f778cdc60"} 
[2026-07-19 04:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 04:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 04:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810712832001,"66":25615,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 04:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810712832001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:57:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810712832001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":136193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:57:09] local.INFO: GPS data processed {"connection_id":136193,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:57:09] local.INFO: Acknowledgment sent {"connection_id":136193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:57:32] local.INFO: TCP Data received {"connection_id":136318,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:57:32] local.INFO: Processing buffer {"connection_id":136318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:57:32] local.INFO: IMEI packet received {"connection_id":136318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":136318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:57:37] local.INFO: TCP Data received {"connection_id":136318,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:57:37] local.INFO: Processing buffer {"connection_id":136318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:57:37] local.INFO: IMEI packet received {"connection_id":136318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":136318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:57:38] local.INFO: TCP Data received {"connection_id":136318,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 04:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 04:57:38] local.INFO: Processing buffer {"connection_id":136318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 04:57:38] local.INFO: Packet analysis {"connection_id":136318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f778c"} 
[2026-07-19 04:57:38] local.INFO: Extracted packet for processing {"connection_id":136318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f778c"} 
[2026-07-19 04:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810712832001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:57: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-07-19 04:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784417148000,"timestamp_ms":1784417148000,"timestamp_seconds":1784417148,"priority":1,"record_length":96,"hex_timestamp":"0000019f778cdc60"} 
[2026-07-19 04:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 04:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:57: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-07-19 04:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810712832001,"66":25615,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810712832001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:57:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810712832001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":136318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:57:38] local.INFO: GPS data processed {"connection_id":136318,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:57:38] local.INFO: Acknowledgment sent {"connection_id":136318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:58:02] local.INFO: TCP Data received {"connection_id":136194,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136194,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:58:02] local.INFO: Processing buffer {"connection_id":136194,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:58:02] local.INFO: IMEI packet received {"connection_id":136194,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 04:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":136194,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:58:10] local.INFO: TCP Data received {"connection_id":136318,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 04:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 04:58:10] local.INFO: Processing buffer {"connection_id":136318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 04:58:10] local.INFO: Packet analysis {"connection_id":136318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f778c"} 
[2026-07-19 04:58:10] local.INFO: Extracted packet for processing {"connection_id":136318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f778c"} 
[2026-07-19 04:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 04:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810712832001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:58: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-07-19 04:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784417148000,"timestamp_ms":1784417148000,"timestamp_seconds":1784417148,"priority":1,"record_length":96,"hex_timestamp":"0000019f778cdc60"} 
[2026-07-19 04:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 04:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 04:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:58:10] 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-07-19 04:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810712832001,"66":25615,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 04:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810712832001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:58:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810712832001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":136318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:58:10] local.INFO: GPS data processed {"connection_id":136318,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:58:10] local.INFO: Acknowledgment sent {"connection_id":136318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:58:28] local.INFO: TCP Data received {"connection_id":138645,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138645,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:58:28] local.INFO: Processing buffer {"connection_id":138645,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 04:58:28] local.INFO: IMEI packet received {"connection_id":138645,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 04:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":138645,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:58:32] local.INFO: TCP Data received {"connection_id":138646,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:58:32] local.INFO: Processing buffer {"connection_id":138646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:58:32] local.INFO: IMEI packet received {"connection_id":138646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":138646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:58:37] local.INFO: TCP Data received {"connection_id":138646,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:58:37] local.INFO: Processing buffer {"connection_id":138646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:58:37] local.INFO: IMEI packet received {"connection_id":138646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":138646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:58:38] local.INFO: TCP Data received {"connection_id":138646,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 04:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 04:58:38] local.INFO: Processing buffer {"connection_id":138646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 04:58:38] local.INFO: Packet analysis {"connection_id":138646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f778c"} 
[2026-07-19 04:58:38] local.INFO: Extracted packet for processing {"connection_id":138646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f778c"} 
[2026-07-19 04:58:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810712832001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:58: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-07-19 04:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784417148000,"timestamp_ms":1784417148000,"timestamp_seconds":1784417148,"priority":1,"record_length":96,"hex_timestamp":"0000019f778cdc60"} 
[2026-07-19 04:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 04:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04: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-07-19 04:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:58: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-07-19 04:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810712832001,"66":25615,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 04:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810712832001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810712832001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":138646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:58:38] local.INFO: GPS data processed {"connection_id":138646,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:58:38] local.INFO: Acknowledgment sent {"connection_id":138646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:59:09] local.INFO: TCP Data received {"connection_id":138646,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 04:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 04:59:09] local.INFO: Processing buffer {"connection_id":138646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 04:59:09] local.INFO: Packet analysis {"connection_id":138646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f778c"} 
[2026-07-19 04:59:09] local.INFO: Extracted packet for processing {"connection_id":138646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f778c"} 
[2026-07-19 04:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810712832001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04:59: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-07-19 04:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784417148000,"timestamp_ms":1784417148000,"timestamp_seconds":1784417148,"priority":1,"record_length":96,"hex_timestamp":"0000019f778cdc60"} 
[2026-07-19 04:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 04:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04: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-07-19 04:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:59: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-07-19 04:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810712832001,"66":25615,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 04:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810712832001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:59:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810712832001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":138646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:59:09] local.INFO: GPS data processed {"connection_id":138646,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:59:09] local.INFO: Acknowledgment sent {"connection_id":138646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 04:59:33] local.INFO: TCP Data received {"connection_id":137240,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:59:33] local.INFO: Processing buffer {"connection_id":137240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:59:33] local.INFO: IMEI packet received {"connection_id":137240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 04:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":137240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 04:59:37] local.INFO: TCP Data received {"connection_id":137240,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:59:37] local.INFO: Processing buffer {"connection_id":137240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 04:59:37] local.INFO: IMEI packet received {"connection_id":137240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 04:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":137240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 04:59:38] local.INFO: TCP Data received {"connection_id":137240,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 04:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 04:59:38] local.INFO: Processing buffer {"connection_id":137240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 04:59:38] local.INFO: Packet analysis {"connection_id":137240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f778c"} 
[2026-07-19 04:59:38] local.INFO: Extracted packet for processing {"connection_id":137240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f778c"} 
[2026-07-19 04:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 04: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-07-19 04:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810712832001,"note":"Value kept but may cause issues"} 
[2026-07-19 04:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 04:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 04: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-07-19 04:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784417148000,"timestamp_ms":1784417148000,"timestamp_seconds":1784417148,"priority":1,"record_length":96,"hex_timestamp":"0000019f778cdc60"} 
[2026-07-19 04:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 04:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 04: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":15,"data_length":795,"current_offset":136} 
[2026-07-19 04:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 04: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-07-19 04:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 04:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 04:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 04:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 04:59: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-07-19 04:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 04:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 04:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810712832001,"66":25615,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 04:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 04:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 04:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810712832001,"description":"Unknown IO ID 0"} 
[2026-07-19 04:59:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 04:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 04:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 04:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 04:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810712832001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 04:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":137240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 04:59:38] local.INFO: GPS data processed {"connection_id":137240,"processed":1,"errors":0,"total":1} 
[2026-07-19 04:59:38] local.INFO: Acknowledgment sent {"connection_id":137240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:00:09] local.INFO: TCP Data received {"connection_id":137240,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 05:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 05:00:09] local.INFO: Processing buffer {"connection_id":137240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 05:00:09] local.INFO: Packet analysis {"connection_id":137240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f778c"} 
[2026-07-19 05:00:09] local.INFO: Extracted packet for processing {"connection_id":137240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f778c"} 
[2026-07-19 05:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810712832001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05: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-07-19 05:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784417148000,"timestamp_ms":1784417148000,"timestamp_seconds":1784417148,"priority":1,"record_length":96,"hex_timestamp":"0000019f778cdc60"} 
[2026-07-19 05:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 05:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05: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-07-19 05:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810712832001,"66":25615,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 05:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810712832001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:00:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:00:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810712832001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":137240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:00:09] local.INFO: GPS data processed {"connection_id":137240,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:00:09] local.INFO: Acknowledgment sent {"connection_id":137240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:00:32] local.INFO: TCP Data received {"connection_id":137242,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:00:32] local.INFO: Processing buffer {"connection_id":137242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:00:32] local.INFO: IMEI packet received {"connection_id":137242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":137242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:00:37] local.INFO: TCP Data received {"connection_id":137242,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:00:37] local.INFO: Processing buffer {"connection_id":137242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:00:37] local.INFO: IMEI packet received {"connection_id":137242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":137242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:00:38] local.INFO: TCP Data received {"connection_id":137242,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 05:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 05:00:38] local.INFO: Processing buffer {"connection_id":137242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 05:00:38] local.INFO: Packet analysis {"connection_id":137242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f778c"} 
[2026-07-19 05:00:38] local.INFO: Extracted packet for processing {"connection_id":137242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f778c"} 
[2026-07-19 05:00:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810712832001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:00: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-07-19 05:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784417148000,"timestamp_ms":1784417148000,"timestamp_seconds":1784417148,"priority":1,"record_length":96,"hex_timestamp":"0000019f778cdc60"} 
[2026-07-19 05:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 05:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:00:38] 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-07-19 05:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810712832001,"66":25615,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810712832001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:00:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:00:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810712832001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":137242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:00:38] local.INFO: GPS data processed {"connection_id":137242,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:00:38] local.INFO: Acknowledgment sent {"connection_id":137242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:01:10] local.INFO: TCP Data received {"connection_id":137242,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 05:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 05:01:10] local.INFO: Processing buffer {"connection_id":137242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f778cdc60012d34c58006aa4140000a01012a..."} 
[2026-07-19 05:01:10] local.INFO: Packet analysis {"connection_id":137242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f778c"} 
[2026-07-19 05:01:10] local.INFO: Extracted packet for processing {"connection_id":137242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f778c"} 
[2026-07-19 05:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810712832001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:01: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-07-19 05:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784417148000,"timestamp_ms":1784417148000,"timestamp_seconds":1784417148,"priority":1,"record_length":96,"hex_timestamp":"0000019f778cdc60"} 
[2026-07-19 05:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 05:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:01:10] 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-07-19 05:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810712832001,"66":25615,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810712832001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:01:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:01:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810712832001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":137242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:01:10] local.INFO: GPS data processed {"connection_id":137242,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:01:10] local.INFO: Acknowledgment sent {"connection_id":137242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:01:32] local.INFO: TCP Data received {"connection_id":138648,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:01:32] local.INFO: Processing buffer {"connection_id":138648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:01:32] local.INFO: IMEI packet received {"connection_id":138648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":138648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:01:37] local.INFO: TCP Data received {"connection_id":138648,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:01:37] local.INFO: Processing buffer {"connection_id":138648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:01:37] local.INFO: IMEI packet received {"connection_id":138648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":138648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:01:38] local.INFO: TCP Data received {"connection_id":138648,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:01:38] local.INFO: Processing buffer {"connection_id":138648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:01:38] local.INFO: Packet analysis {"connection_id":138648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7791"} 
[2026-07-19 05:01:38] local.INFO: Extracted packet for processing {"connection_id":138648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7791"} 
[2026-07-19 05:01:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810789888001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:01: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-07-19 05:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784417449000,"timestamp_ms":1784417449000,"timestamp_seconds":1784417449,"priority":1,"record_length":96,"hex_timestamp":"0000019f77917428"} 
[2026-07-19 05:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 05:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810789888001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810789888001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:01:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:01:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810789888001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":138648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:01:38] local.INFO: GPS data processed {"connection_id":138648,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:01:38] local.INFO: Acknowledgment sent {"connection_id":138648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:02:10] local.INFO: TCP Data received {"connection_id":138648,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:02:10] local.INFO: Processing buffer {"connection_id":138648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:02:10] local.INFO: Packet analysis {"connection_id":138648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7791"} 
[2026-07-19 05:02:10] local.INFO: Extracted packet for processing {"connection_id":138648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7791"} 
[2026-07-19 05:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810789888001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:02: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-07-19 05:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784417449000,"timestamp_ms":1784417449000,"timestamp_seconds":1784417449,"priority":1,"record_length":96,"hex_timestamp":"0000019f77917428"} 
[2026-07-19 05:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 05:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810789888001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810789888001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:02:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810789888001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":138648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:02:10] local.INFO: GPS data processed {"connection_id":138648,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:02:10] local.INFO: Acknowledgment sent {"connection_id":138648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:02:37] local.INFO: TCP Data received {"connection_id":136195,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:02:37] local.INFO: Processing buffer {"connection_id":136195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:02:37] local.INFO: IMEI packet received {"connection_id":136195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":136195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:02:42] local.INFO: TCP Data received {"connection_id":136195,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:02:42] local.INFO: Processing buffer {"connection_id":136195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:02:42] local.INFO: IMEI packet received {"connection_id":136195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":136195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:02:43] local.INFO: TCP Data received {"connection_id":136195,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:02:43] local.INFO: Processing buffer {"connection_id":136195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:02:43] local.INFO: Packet analysis {"connection_id":136195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7791"} 
[2026-07-19 05:02:43] local.INFO: Extracted packet for processing {"connection_id":136195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7791"} 
[2026-07-19 05:02:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:02: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-07-19 05:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810789888001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:02: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-07-19 05:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784417449000,"timestamp_ms":1784417449000,"timestamp_seconds":1784417449,"priority":1,"record_length":96,"hex_timestamp":"0000019f77917428"} 
[2026-07-19 05:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 05:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:02: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-07-19 05:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810789888001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810789888001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:02:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:02:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810789888001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":136195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:02:43] local.INFO: GPS data processed {"connection_id":136195,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:02:43] local.INFO: Acknowledgment sent {"connection_id":136195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:03:15] local.INFO: TCP Data received {"connection_id":136195,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:03:15] local.INFO: Processing buffer {"connection_id":136195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:03:15] local.INFO: Packet analysis {"connection_id":136195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7791"} 
[2026-07-19 05:03:15] local.INFO: Extracted packet for processing {"connection_id":136195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7791"} 
[2026-07-19 05:03:15] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810789888001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 05:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784417449000,"timestamp_ms":1784417449000,"timestamp_seconds":1784417449,"priority":1,"record_length":96,"hex_timestamp":"0000019f77917428"} 
[2026-07-19 05:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 05:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":136195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":136195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":136195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810789888001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810789888001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:03:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:03:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810789888001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":136195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:03:15] local.INFO: GPS data processed {"connection_id":136195,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:03:15] local.INFO: Acknowledgment sent {"connection_id":136195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:03:32] local.INFO: TCP Data received {"connection_id":137243,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:03:32] local.INFO: Processing buffer {"connection_id":137243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:03:32] local.INFO: IMEI packet received {"connection_id":137243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":137243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:03:38] local.INFO: TCP Data received {"connection_id":137243,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:03:38] local.INFO: Processing buffer {"connection_id":137243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:03:38] local.INFO: IMEI packet received {"connection_id":137243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":137243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:03:40] local.INFO: TCP Data received {"connection_id":137243,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:03:40] local.INFO: Processing buffer {"connection_id":137243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:03:40] local.INFO: Packet analysis {"connection_id":137243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7791"} 
[2026-07-19 05:03:40] local.INFO: Extracted packet for processing {"connection_id":137243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7791"} 
[2026-07-19 05:03:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810789888001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:03: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-07-19 05:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784417449000,"timestamp_ms":1784417449000,"timestamp_seconds":1784417449,"priority":1,"record_length":96,"hex_timestamp":"0000019f77917428"} 
[2026-07-19 05:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":15,"data_length":795,"current_offset":136} 
[2026-07-19 05:03: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-07-19 05: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-07-19 05:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":137243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":137243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":137243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810789888001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810789888001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:03:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:03:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810789888001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":137243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:03:40] local.INFO: GPS data processed {"connection_id":137243,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:03:40] local.INFO: Acknowledgment sent {"connection_id":137243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:03:58] local.INFO: TCP Data received {"connection_id":136321,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:03:58] local.INFO: Processing buffer {"connection_id":136321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:03:58] local.INFO: IMEI packet received {"connection_id":136321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 05:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":136321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:04:11] local.INFO: TCP Data received {"connection_id":137243,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:04:11] local.INFO: Processing buffer {"connection_id":137243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:04:11] local.INFO: Packet analysis {"connection_id":137243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7791"} 
[2026-07-19 05:04:11] local.INFO: Extracted packet for processing {"connection_id":137243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7791"} 
[2026-07-19 05:04:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810789888001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:04: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-07-19 05:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784417449000,"timestamp_ms":1784417449000,"timestamp_seconds":1784417449,"priority":1,"record_length":96,"hex_timestamp":"0000019f77917428"} 
[2026-07-19 05:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 05:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":137243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":137243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":137243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810789888001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810789888001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:04:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:04:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810789888001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":137243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:04:11] local.INFO: GPS data processed {"connection_id":137243,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:04:11] local.INFO: Acknowledgment sent {"connection_id":137243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:04:27] local.INFO: TCP Data received {"connection_id":137244,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:04:27] local.INFO: Processing buffer {"connection_id":137244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:04:27] local.INFO: IMEI packet received {"connection_id":137244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 05:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":137244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:04:32] local.INFO: TCP Data received {"connection_id":136322,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:04:32] local.INFO: Processing buffer {"connection_id":136322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:04:32] local.INFO: IMEI packet received {"connection_id":136322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":136322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:04:37] local.INFO: TCP Data received {"connection_id":136322,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:04:37] local.INFO: Processing buffer {"connection_id":136322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:04:37] local.INFO: IMEI packet received {"connection_id":136322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":136322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:04:39] local.INFO: TCP Data received {"connection_id":136322,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:04:39] local.INFO: Processing buffer {"connection_id":136322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:04:39] local.INFO: Packet analysis {"connection_id":136322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7791"} 
[2026-07-19 05:04:39] local.INFO: Extracted packet for processing {"connection_id":136322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7791"} 
[2026-07-19 05:04:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810789888001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05: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-07-19 05:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784417449000,"timestamp_ms":1784417449000,"timestamp_seconds":1784417449,"priority":1,"record_length":96,"hex_timestamp":"0000019f77917428"} 
[2026-07-19 05:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 05:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:04: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-07-19 05:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810789888001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810789888001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:04:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:04:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810789888001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":136322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:04:39] local.INFO: GPS data processed {"connection_id":136322,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:04:39] local.INFO: Acknowledgment sent {"connection_id":136322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:05:10] local.INFO: TCP Data received {"connection_id":136322,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:05:10] local.INFO: Processing buffer {"connection_id":136322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:05:10] local.INFO: Packet analysis {"connection_id":136322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7791"} 
[2026-07-19 05:05:10] local.INFO: Extracted packet for processing {"connection_id":136322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7791"} 
[2026-07-19 05:05:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810789888001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:05: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-07-19 05:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784417449000,"timestamp_ms":1784417449000,"timestamp_seconds":1784417449,"priority":1,"record_length":96,"hex_timestamp":"0000019f77917428"} 
[2026-07-19 05:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 05:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810789888001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810789888001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:05:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:05:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810789888001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":136322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:05:11] local.INFO: GPS data processed {"connection_id":136322,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:05:11] local.INFO: Acknowledgment sent {"connection_id":136322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:05:32] local.INFO: TCP Data received {"connection_id":136324,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:05:32] local.INFO: Processing buffer {"connection_id":136324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:05:32] local.INFO: IMEI packet received {"connection_id":136324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":136324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:05:37] local.INFO: TCP Data received {"connection_id":136324,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:05:37] local.INFO: Processing buffer {"connection_id":136324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:05:37] local.INFO: IMEI packet received {"connection_id":136324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":136324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:05:38] local.INFO: TCP Data received {"connection_id":136324,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:05:38] local.INFO: Processing buffer {"connection_id":136324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:05:38] local.INFO: Packet analysis {"connection_id":136324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7791"} 
[2026-07-19 05:05:38] local.INFO: Extracted packet for processing {"connection_id":136324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7791"} 
[2026-07-19 05:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810789888001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:05: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-07-19 05:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784417449000,"timestamp_ms":1784417449000,"timestamp_seconds":1784417449,"priority":1,"record_length":96,"hex_timestamp":"0000019f77917428"} 
[2026-07-19 05:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 05:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810789888001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810789888001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:05:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810789888001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":136324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:05:38] local.INFO: GPS data processed {"connection_id":136324,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:05:38] local.INFO: Acknowledgment sent {"connection_id":136324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:06:10] local.INFO: TCP Data received {"connection_id":136324,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:06:10] local.INFO: Processing buffer {"connection_id":136324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77917428012d34c58006aa4140000a010122..."} 
[2026-07-19 05:06:10] local.INFO: Packet analysis {"connection_id":136324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7791"} 
[2026-07-19 05:06:10] local.INFO: Extracted packet for processing {"connection_id":136324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7791"} 
[2026-07-19 05:06:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":10,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810789888001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:06: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-07-19 05:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784417449000,"timestamp_ms":1784417449000,"timestamp_seconds":1784417449,"priority":1,"record_length":96,"hex_timestamp":"0000019f77917428"} 
[2026-07-19 05:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 05:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:06: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-07-19 05:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810789888001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810789888001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:06:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:06:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810789888001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":136324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:06:10] local.INFO: GPS data processed {"connection_id":136324,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:06:10] local.INFO: Acknowledgment sent {"connection_id":136324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:06:32] local.INFO: TCP Data received {"connection_id":136196,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:06:32] local.INFO: Processing buffer {"connection_id":136196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:06:32] local.INFO: IMEI packet received {"connection_id":136196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":136196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:06:37] local.INFO: TCP Data received {"connection_id":136196,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:06:37] local.INFO: Processing buffer {"connection_id":136196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:06:37] local.INFO: IMEI packet received {"connection_id":136196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":136196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:06:38] local.INFO: TCP Data received {"connection_id":136196,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:06:38] local.INFO: Processing buffer {"connection_id":136196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:06:38] local.INFO: Packet analysis {"connection_id":136196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7796"} 
[2026-07-19 05:06:38] local.INFO: Extracted packet for processing {"connection_id":136196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7796"} 
[2026-07-19 05:06:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810866944001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:06: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-07-19 05:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784417750000,"timestamp_ms":1784417750000,"timestamp_seconds":1784417750,"priority":1,"record_length":96,"hex_timestamp":"0000019f77960bf0"} 
[2026-07-19 05:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:06: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-07-19 05:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810866944001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810866944001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:06:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:06:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810866944001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":136196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:06:38] local.INFO: GPS data processed {"connection_id":136196,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:06:38] local.INFO: Acknowledgment sent {"connection_id":136196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:07:11] local.INFO: TCP Data received {"connection_id":136196,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:07:11] local.INFO: Processing buffer {"connection_id":136196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:07:11] local.INFO: Packet analysis {"connection_id":136196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7796"} 
[2026-07-19 05:07:11] local.INFO: Extracted packet for processing {"connection_id":136196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7796"} 
[2026-07-19 05:07:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810866944001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:07: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-07-19 05:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784417750000,"timestamp_ms":1784417750000,"timestamp_seconds":1784417750,"priority":1,"record_length":96,"hex_timestamp":"0000019f77960bf0"} 
[2026-07-19 05:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":136196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":136196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":136196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:07:11] 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-07-19 05:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810866944001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810866944001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:07:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:07:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810866944001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":136196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:07:11] local.INFO: GPS data processed {"connection_id":136196,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:07:11] local.INFO: Acknowledgment sent {"connection_id":136196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:07:32] local.INFO: TCP Data received {"connection_id":136325,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:07:32] local.INFO: Processing buffer {"connection_id":136325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:07:32] local.INFO: IMEI packet received {"connection_id":136325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":136325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:07:37] local.INFO: TCP Data received {"connection_id":136325,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:07:37] local.INFO: Processing buffer {"connection_id":136325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:07:37] local.INFO: IMEI packet received {"connection_id":136325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":136325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:07:38] local.INFO: TCP Data received {"connection_id":136325,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:07:38] local.INFO: Processing buffer {"connection_id":136325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:07:38] local.INFO: Packet analysis {"connection_id":136325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7796"} 
[2026-07-19 05:07:38] local.INFO: Extracted packet for processing {"connection_id":136325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7796"} 
[2026-07-19 05:07:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810866944001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:07: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-07-19 05:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784417750000,"timestamp_ms":1784417750000,"timestamp_seconds":1784417750,"priority":1,"record_length":96,"hex_timestamp":"0000019f77960bf0"} 
[2026-07-19 05:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810866944001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810866944001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:07:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:07:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810866944001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":136325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:07:38] local.INFO: GPS data processed {"connection_id":136325,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:07:38] local.INFO: Acknowledgment sent {"connection_id":136325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:08:10] local.INFO: TCP Data received {"connection_id":136325,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:08:10] local.INFO: Processing buffer {"connection_id":136325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:08:10] local.INFO: Packet analysis {"connection_id":136325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7796"} 
[2026-07-19 05:08:10] local.INFO: Extracted packet for processing {"connection_id":136325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7796"} 
[2026-07-19 05:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810866944001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:08: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-07-19 05:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784417750000,"timestamp_ms":1784417750000,"timestamp_seconds":1784417750,"priority":1,"record_length":96,"hex_timestamp":"0000019f77960bf0"} 
[2026-07-19 05:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:08:10] 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-07-19 05:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810866944001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810866944001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:08:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810866944001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":136325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:08:10] local.INFO: GPS data processed {"connection_id":136325,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:08:10] local.INFO: Acknowledgment sent {"connection_id":136325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:08:32] local.INFO: TCP Data received {"connection_id":138651,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:08:32] local.INFO: Processing buffer {"connection_id":138651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:08:32] local.INFO: IMEI packet received {"connection_id":138651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":138651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:08:37] local.INFO: TCP Data received {"connection_id":138651,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:08:37] local.INFO: Processing buffer {"connection_id":138651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:08:37] local.INFO: IMEI packet received {"connection_id":138651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":138651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:08:38] local.INFO: TCP Data received {"connection_id":138651,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:08:38] local.INFO: Processing buffer {"connection_id":138651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:08:38] local.INFO: Packet analysis {"connection_id":138651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7796"} 
[2026-07-19 05:08:38] local.INFO: Extracted packet for processing {"connection_id":138651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7796"} 
[2026-07-19 05:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810866944001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:08: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-07-19 05:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784417750000,"timestamp_ms":1784417750000,"timestamp_seconds":1784417750,"priority":1,"record_length":96,"hex_timestamp":"0000019f77960bf0"} 
[2026-07-19 05:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810866944001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810866944001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:08:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:08:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810866944001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":138651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:08:38] local.INFO: GPS data processed {"connection_id":138651,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:08:38] local.INFO: Acknowledgment sent {"connection_id":138651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:09:10] local.INFO: TCP Data received {"connection_id":138651,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:09:10] local.INFO: Processing buffer {"connection_id":138651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:09:10] local.INFO: Packet analysis {"connection_id":138651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7796"} 
[2026-07-19 05:09:10] local.INFO: Extracted packet for processing {"connection_id":138651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7796"} 
[2026-07-19 05:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810866944001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:09: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-07-19 05:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784417750000,"timestamp_ms":1784417750000,"timestamp_seconds":1784417750,"priority":1,"record_length":96,"hex_timestamp":"0000019f77960bf0"} 
[2026-07-19 05:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:09: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-07-19 05:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810866944001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810866944001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:09:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:09:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810866944001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":138651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:09:10] local.INFO: GPS data processed {"connection_id":138651,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:09:10] local.INFO: Acknowledgment sent {"connection_id":138651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:09:33] local.INFO: TCP Data received {"connection_id":137247,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:09:33] local.INFO: Processing buffer {"connection_id":137247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:09:33] local.INFO: IMEI packet received {"connection_id":137247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":137247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:09:37] local.INFO: TCP Data received {"connection_id":137247,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:09:37] local.INFO: Processing buffer {"connection_id":137247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:09:37] local.INFO: IMEI packet received {"connection_id":137247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":137247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:09:38] local.INFO: TCP Data received {"connection_id":137247,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:09:38] local.INFO: Processing buffer {"connection_id":137247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:09:38] local.INFO: Packet analysis {"connection_id":137247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7796"} 
[2026-07-19 05:09:38] local.INFO: Extracted packet for processing {"connection_id":137247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7796"} 
[2026-07-19 05:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810866944001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:09: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-07-19 05:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784417750000,"timestamp_ms":1784417750000,"timestamp_seconds":1784417750,"priority":1,"record_length":96,"hex_timestamp":"0000019f77960bf0"} 
[2026-07-19 05:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:09: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-07-19 05:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810866944001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 05:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810866944001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:09:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:09:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810866944001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":137247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:09:38] local.INFO: GPS data processed {"connection_id":137247,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:09:38] local.INFO: Acknowledgment sent {"connection_id":137247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:09:42] local.INFO: TCP Data received {"connection_id":137246,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137246,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:09:42] local.INFO: Processing buffer {"connection_id":137246,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:09:42] local.INFO: IMEI packet received {"connection_id":137246,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 05:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":137246,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:10:10] local.INFO: TCP Data received {"connection_id":137247,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:10:10] local.INFO: Processing buffer {"connection_id":137247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:10:10] local.INFO: Packet analysis {"connection_id":137247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7796"} 
[2026-07-19 05:10:10] local.INFO: Extracted packet for processing {"connection_id":137247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7796"} 
[2026-07-19 05:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810866944001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:10: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-07-19 05:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784417750000,"timestamp_ms":1784417750000,"timestamp_seconds":1784417750,"priority":1,"record_length":96,"hex_timestamp":"0000019f77960bf0"} 
[2026-07-19 05:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810866944001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 05:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810866944001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:10:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810866944001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":137247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:10:10] local.INFO: GPS data processed {"connection_id":137247,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:10:10] local.INFO: Acknowledgment sent {"connection_id":137247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:10:27] local.INFO: TCP Data received {"connection_id":138652,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138652,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:10:27] local.INFO: Processing buffer {"connection_id":138652,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:10:27] local.INFO: IMEI packet received {"connection_id":138652,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 05:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":138652,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:10:32] local.INFO: TCP Data received {"connection_id":136197,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:10:32] local.INFO: Processing buffer {"connection_id":136197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:10:32] local.INFO: IMEI packet received {"connection_id":136197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":136197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:10:37] local.INFO: TCP Data received {"connection_id":136197,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:10:37] local.INFO: Processing buffer {"connection_id":136197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:10:37] local.INFO: IMEI packet received {"connection_id":136197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":136197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:10:38] local.INFO: TCP Data received {"connection_id":136197,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:10:38] local.INFO: Processing buffer {"connection_id":136197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:10:38] local.INFO: Packet analysis {"connection_id":136197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7796"} 
[2026-07-19 05:10:38] local.INFO: Extracted packet for processing {"connection_id":136197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7796"} 
[2026-07-19 05:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810866944001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:10: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-07-19 05:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784417750000,"timestamp_ms":1784417750000,"timestamp_seconds":1784417750,"priority":1,"record_length":96,"hex_timestamp":"0000019f77960bf0"} 
[2026-07-19 05:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05: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-07-19 05:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810866944001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810866944001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810866944001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":136197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:10:38] local.INFO: GPS data processed {"connection_id":136197,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:10:38] local.INFO: Acknowledgment sent {"connection_id":136197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:11:10] local.INFO: TCP Data received {"connection_id":136197,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:11:10] local.INFO: Processing buffer {"connection_id":136197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77960bf0012d34c58006aa41400015010128..."} 
[2026-07-19 05:11:10] local.INFO: Packet analysis {"connection_id":136197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7796"} 
[2026-07-19 05:11:10] local.INFO: Extracted packet for processing {"connection_id":136197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7796"} 
[2026-07-19 05:11:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810866944001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:11: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-07-19 05:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784417750000,"timestamp_ms":1784417750000,"timestamp_seconds":1784417750,"priority":1,"record_length":96,"hex_timestamp":"0000019f77960bf0"} 
[2026-07-19 05:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:11: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-07-19 05:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810866944001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810866944001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:11:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:11:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810866944001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":136197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:11:10] local.INFO: GPS data processed {"connection_id":136197,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:11:10] local.INFO: Acknowledgment sent {"connection_id":136197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:11:32] local.INFO: TCP Data received {"connection_id":137249,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:11:32] local.INFO: Processing buffer {"connection_id":137249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:11:32] local.INFO: IMEI packet received {"connection_id":137249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":137249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:11:37] local.INFO: TCP Data received {"connection_id":137249,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:11:37] local.INFO: Processing buffer {"connection_id":137249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:11:37] local.INFO: IMEI packet received {"connection_id":137249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":137249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:11:38] local.INFO: TCP Data received {"connection_id":137249,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:11:38] local.INFO: Processing buffer {"connection_id":137249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:11:38] local.INFO: Packet analysis {"connection_id":137249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f779a"} 
[2026-07-19 05:11:38] local.INFO: Extracted packet for processing {"connection_id":137249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f779a"} 
[2026-07-19 05:11:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810944000001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:11: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-07-19 05:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784418051000,"timestamp_ms":1784418051000,"timestamp_seconds":1784418051,"priority":1,"record_length":96,"hex_timestamp":"0000019f779aa3b8"} 
[2026-07-19 05:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 05:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810944000001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 05:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810944000001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:11:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:11:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810944000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":137249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:11:38] local.INFO: GPS data processed {"connection_id":137249,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:11:38] local.INFO: Acknowledgment sent {"connection_id":137249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:12:10] local.INFO: TCP Data received {"connection_id":137249,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:12:10] local.INFO: Processing buffer {"connection_id":137249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:12:10] local.INFO: Packet analysis {"connection_id":137249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f779a"} 
[2026-07-19 05:12:10] local.INFO: Extracted packet for processing {"connection_id":137249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f779a"} 
[2026-07-19 05:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810944000001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:12: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-07-19 05:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784418051000,"timestamp_ms":1784418051000,"timestamp_seconds":1784418051,"priority":1,"record_length":96,"hex_timestamp":"0000019f779aa3b8"} 
[2026-07-19 05:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 05:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810944000001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 05:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810944000001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:12:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:12:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810944000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":137249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:12:10] local.INFO: GPS data processed {"connection_id":137249,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:12:10] local.INFO: Acknowledgment sent {"connection_id":137249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:12:37] local.INFO: TCP Data received {"connection_id":136326,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:12:37] local.INFO: Processing buffer {"connection_id":136326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:12:37] local.INFO: IMEI packet received {"connection_id":136326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":136326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:12:42] local.INFO: TCP Data received {"connection_id":136326,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:12:42] local.INFO: Processing buffer {"connection_id":136326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:12:42] local.INFO: IMEI packet received {"connection_id":136326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":136326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:12:43] local.INFO: TCP Data received {"connection_id":136326,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:12:43] local.INFO: Processing buffer {"connection_id":136326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:12:43] local.INFO: Packet analysis {"connection_id":136326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f779a"} 
[2026-07-19 05:12:43] local.INFO: Extracted packet for processing {"connection_id":136326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f779a"} 
[2026-07-19 05:12:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:12: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-07-19 05:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810944000001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:12: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-07-19 05:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784418051000,"timestamp_ms":1784418051000,"timestamp_seconds":1784418051,"priority":1,"record_length":96,"hex_timestamp":"0000019f779aa3b8"} 
[2026-07-19 05:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 05:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:12: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-07-19 05:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810944000001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 05:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810944000001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:12:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:12:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810944000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":136326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:12:43] local.INFO: GPS data processed {"connection_id":136326,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:12:43] local.INFO: Acknowledgment sent {"connection_id":136326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:12:48] local.INFO: TCP Data received {"connection_id":136326,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:12:48] local.INFO: Processing buffer {"connection_id":136326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:12:48] local.INFO: Packet analysis {"connection_id":136326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f779a"} 
[2026-07-19 05:12:48] local.INFO: Extracted packet for processing {"connection_id":136326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f779a"} 
[2026-07-19 05:12:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810944000001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 05:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784418051000,"timestamp_ms":1784418051000,"timestamp_seconds":1784418051,"priority":1,"record_length":96,"hex_timestamp":"0000019f779aa3b8"} 
[2026-07-19 05:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 05:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":136326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":136326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":136326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810944000001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 05:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810944000001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:12:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:12:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810944000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":136326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:12:48] local.INFO: GPS data processed {"connection_id":136326,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:12:48] local.INFO: Acknowledgment sent {"connection_id":136326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:13:32] local.INFO: TCP Data received {"connection_id":138654,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:13:32] local.INFO: Processing buffer {"connection_id":138654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:13:32] local.INFO: IMEI packet received {"connection_id":138654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":138654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:13:37] local.INFO: TCP Data received {"connection_id":138654,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:13:37] local.INFO: Processing buffer {"connection_id":138654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:13:37] local.INFO: IMEI packet received {"connection_id":138654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":138654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:13:38] local.INFO: TCP Data received {"connection_id":138654,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:13:38] local.INFO: Processing buffer {"connection_id":138654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:13:38] local.INFO: Packet analysis {"connection_id":138654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f779a"} 
[2026-07-19 05:13:38] local.INFO: Extracted packet for processing {"connection_id":138654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f779a"} 
[2026-07-19 05:13:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810944000001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:13: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-07-19 05:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784418051000,"timestamp_ms":1784418051000,"timestamp_seconds":1784418051,"priority":1,"record_length":96,"hex_timestamp":"0000019f779aa3b8"} 
[2026-07-19 05:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 05:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:13: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-07-19 05:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810944000001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810944000001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:13:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:13:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810944000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":138654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:13:38] local.INFO: GPS data processed {"connection_id":138654,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:13:38] local.INFO: Acknowledgment sent {"connection_id":138654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:14:10] local.INFO: TCP Data received {"connection_id":138654,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:14:10] local.INFO: Processing buffer {"connection_id":138654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:14:10] local.INFO: Packet analysis {"connection_id":138654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f779a"} 
[2026-07-19 05:14:10] local.INFO: Extracted packet for processing {"connection_id":138654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f779a"} 
[2026-07-19 05:14:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810944000001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:14: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-07-19 05:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784418051000,"timestamp_ms":1784418051000,"timestamp_seconds":1784418051,"priority":1,"record_length":96,"hex_timestamp":"0000019f779aa3b8"} 
[2026-07-19 05:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 05:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810944000001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810944000001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:14:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:14:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810944000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":138654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:14:10] local.INFO: GPS data processed {"connection_id":138654,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:14:10] local.INFO: Acknowledgment sent {"connection_id":138654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:14:32] local.INFO: TCP Data received {"connection_id":137251,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:14:32] local.INFO: Processing buffer {"connection_id":137251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:14:32] local.INFO: IMEI packet received {"connection_id":137251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":137251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:14:37] local.INFO: TCP Data received {"connection_id":137251,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:14:37] local.INFO: Processing buffer {"connection_id":137251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:14:37] local.INFO: IMEI packet received {"connection_id":137251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":137251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:14:38] local.INFO: TCP Data received {"connection_id":137251,"ip":"42.106.6.28","data_length":249,"data_hex":"00000000000000ed8e030000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137251,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:14:38] local.INFO: Processing buffer {"connection_id":137251,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:14:38] local.INFO: Packet analysis {"connection_id":137251,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f779a"} 
[2026-07-19 05:14:38] local.INFO: Extracted packet for processing {"connection_id":137251,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f779a"} 
[2026-07-19 05:14:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-07-19 05:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810944000001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:14: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-07-19 05:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784418051000,"timestamp_ms":1784418051000,"timestamp_seconds":1784418051,"priority":1,"record_length":96,"hex_timestamp":"0000019f779aa3b8"} 
[2026-07-19 05:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":249,"current_offset":136} 
[2026-07-19 05:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:14:38] 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-07-19 05:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:14:38] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137251,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-19 05:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:14: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-07-19 05:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810944000001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810944000001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:14:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810944000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":137251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:14:38] local.INFO: GPS data processed {"connection_id":137251,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:14:38] local.INFO: Acknowledgment sent {"connection_id":137251,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:15:09] local.INFO: TCP Data received {"connection_id":137251,"ip":"42.106.6.28","data_length":249,"data_hex":"00000000000000ed8e030000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137251,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:15:09] local.INFO: Processing buffer {"connection_id":137251,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:15:09] local.INFO: Packet analysis {"connection_id":137251,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f779a"} 
[2026-07-19 05:15:09] local.INFO: Extracted packet for processing {"connection_id":137251,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f779a"} 
[2026-07-19 05:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-07-19 05:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810944000001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:15: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-07-19 05:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784418051000,"timestamp_ms":1784418051000,"timestamp_seconds":1784418051,"priority":1,"record_length":96,"hex_timestamp":"0000019f779aa3b8"} 
[2026-07-19 05:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":249,"current_offset":136} 
[2026-07-19 05:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:15:09] 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-07-19 05:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:15:09] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137251,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-19 05:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:15: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-07-19 05:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810944000001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810944000001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:15:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810944000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":137251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:15:09] local.INFO: GPS data processed {"connection_id":137251,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:15:09] local.INFO: Acknowledgment sent {"connection_id":137251,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:15:32] local.INFO: TCP Data received {"connection_id":136327,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:15:32] local.INFO: Processing buffer {"connection_id":136327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:15:32] local.INFO: IMEI packet received {"connection_id":136327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":136327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:15:37] local.INFO: TCP Data received {"connection_id":136327,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:15:37] local.INFO: Processing buffer {"connection_id":136327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:15:37] local.INFO: IMEI packet received {"connection_id":136327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":136327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:15:38] local.INFO: TCP Data received {"connection_id":136327,"ip":"42.106.6.36","data_length":249,"data_hex":"00000000000000ed8e030000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136327,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:15:38] local.INFO: Processing buffer {"connection_id":136327,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:15:38] local.INFO: Packet analysis {"connection_id":136327,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f779a"} 
[2026-07-19 05:15:38] local.INFO: Extracted packet for processing {"connection_id":136327,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f779a"} 
[2026-07-19 05:15:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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":249,"current_offset":40} 
[2026-07-19 05:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810944000001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:15: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-07-19 05:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784418051000,"timestamp_ms":1784418051000,"timestamp_seconds":1784418051,"priority":1,"record_length":96,"hex_timestamp":"0000019f779aa3b8"} 
[2026-07-19 05:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":249,"current_offset":136} 
[2026-07-19 05:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:15:38] 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-07-19 05:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:15:38] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136327,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-19 05:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:15:38] 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-07-19 05:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810944000001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810944000001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:15:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:15:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810944000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":136327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:15:38] local.INFO: GPS data processed {"connection_id":136327,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:15:38] local.INFO: Acknowledgment sent {"connection_id":136327,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:16:02] local.INFO: TCP Data received {"connection_id":136200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136200,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:16:02] local.INFO: Processing buffer {"connection_id":136200,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:16:02] local.INFO: IMEI packet received {"connection_id":136200,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 05:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":136200,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:16:09] local.INFO: TCP Data received {"connection_id":136327,"ip":"42.106.6.36","data_length":249,"data_hex":"00000000000000ed8e030000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136327,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:16:09] local.INFO: Processing buffer {"connection_id":136327,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f779aa3b8012d34c58006aa41400015010128..."} 
[2026-07-19 05:16:09] local.INFO: Packet analysis {"connection_id":136327,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f779a"} 
[2026-07-19 05:16:09] local.INFO: Extracted packet for processing {"connection_id":136327,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f779a"} 
[2026-07-19 05:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-07-19 05:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456810944000001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:16: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-07-19 05:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784418051000,"timestamp_ms":1784418051000,"timestamp_seconds":1784418051,"priority":1,"record_length":96,"hex_timestamp":"0000019f779aa3b8"} 
[2026-07-19 05:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":249,"current_offset":136} 
[2026-07-19 05:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:16:09] 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-07-19 05:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:16:09] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136327,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-19 05:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456810944000001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456810944000001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456810944000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":136327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:16:09] local.INFO: GPS data processed {"connection_id":136327,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:16:09] local.INFO: Acknowledgment sent {"connection_id":136327,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:16:27] local.INFO: TCP Data received {"connection_id":137252,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:16:27] local.INFO: Processing buffer {"connection_id":137252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:16:27] local.INFO: IMEI packet received {"connection_id":137252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 05:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":137252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:16:32] local.INFO: TCP Data received {"connection_id":138655,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:16:32] local.INFO: Processing buffer {"connection_id":138655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:16:32] local.INFO: IMEI packet received {"connection_id":138655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":138655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:16:37] local.INFO: TCP Data received {"connection_id":138655,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:16:37] local.INFO: Processing buffer {"connection_id":138655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:16:37] local.INFO: IMEI packet received {"connection_id":138655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":138655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:16:38] local.INFO: TCP Data received {"connection_id":138655,"ip":"42.106.6.37","data_length":249,"data_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138655,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:16:38] local.INFO: Processing buffer {"connection_id":138655,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:16:38] local.INFO: Packet analysis {"connection_id":138655,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f779f"} 
[2026-07-19 05:16:38] local.INFO: Extracted packet for processing {"connection_id":138655,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f779f"} 
[2026-07-19 05:16:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-07-19 05:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811021056001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:16: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-07-19 05:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784418352000,"timestamp_ms":1784418352000,"timestamp_seconds":1784418352,"priority":1,"record_length":96,"hex_timestamp":"0000019f779f3b80"} 
[2026-07-19 05:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":249,"current_offset":136} 
[2026-07-19 05:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:16:38] 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-07-19 05:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:16:38] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138655,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-19 05:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811021056001,"66":25473,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 05:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811021056001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:16:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:16:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811021056001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":138655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:16:38] local.INFO: GPS data processed {"connection_id":138655,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:16:38] local.INFO: Acknowledgment sent {"connection_id":138655,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:17:09] local.INFO: TCP Data received {"connection_id":138655,"ip":"42.106.6.37","data_length":249,"data_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138655,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:17:09] local.INFO: Processing buffer {"connection_id":138655,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:17:09] local.INFO: Packet analysis {"connection_id":138655,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f779f"} 
[2026-07-19 05:17:09] local.INFO: Extracted packet for processing {"connection_id":138655,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f779f"} 
[2026-07-19 05:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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":249,"current_offset":40} 
[2026-07-19 05:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811021056001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:17: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-07-19 05:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784418352000,"timestamp_ms":1784418352000,"timestamp_seconds":1784418352,"priority":1,"record_length":96,"hex_timestamp":"0000019f779f3b80"} 
[2026-07-19 05:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":4,"data_length":249,"current_offset":136} 
[2026-07-19 05:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:17:09] 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-07-19 05:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:17:09] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138655,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-19 05:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811021056001,"66":25473,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 05:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811021056001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:17:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:17:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811021056001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":138655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:17:09] local.INFO: GPS data processed {"connection_id":138655,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:17:09] local.INFO: Acknowledgment sent {"connection_id":138655,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:17:34] local.INFO: TCP Data received {"connection_id":137254,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:17:34] local.INFO: Processing buffer {"connection_id":137254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:17:34] local.INFO: IMEI packet received {"connection_id":137254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":137254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:17:37] local.INFO: TCP Data received {"connection_id":137254,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:17:37] local.INFO: Processing buffer {"connection_id":137254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:17:37] local.INFO: IMEI packet received {"connection_id":137254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":137254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:17:38] local.INFO: TCP Data received {"connection_id":137254,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:17:38] local.INFO: Processing buffer {"connection_id":137254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:17:38] local.INFO: Packet analysis {"connection_id":137254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f779f"} 
[2026-07-19 05:17:38] local.INFO: Extracted packet for processing {"connection_id":137254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f779f"} 
[2026-07-19 05:17:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811021056001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:17: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-07-19 05:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784418352000,"timestamp_ms":1784418352000,"timestamp_seconds":1784418352,"priority":1,"record_length":96,"hex_timestamp":"0000019f779f3b80"} 
[2026-07-19 05:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 05:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811021056001,"66":25473,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811021056001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:17:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811021056001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":137254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:17:38] local.INFO: GPS data processed {"connection_id":137254,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:17:38] local.INFO: Acknowledgment sent {"connection_id":137254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:17:43] local.INFO: TCP Data received {"connection_id":137254,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:17:43] local.INFO: Processing buffer {"connection_id":137254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:17:43] local.INFO: Packet analysis {"connection_id":137254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f779f"} 
[2026-07-19 05:17:43] local.INFO: Extracted packet for processing {"connection_id":137254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f779f"} 
[2026-07-19 05:17:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811021056001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:17: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-07-19 05:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784418352000,"timestamp_ms":1784418352000,"timestamp_seconds":1784418352,"priority":1,"record_length":96,"hex_timestamp":"0000019f779f3b80"} 
[2026-07-19 05:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 05:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811021056001,"66":25473,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811021056001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:17:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:17:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811021056001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":137254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:17:43] local.INFO: GPS data processed {"connection_id":137254,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:17:43] local.INFO: Acknowledgment sent {"connection_id":137254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:18:15] local.INFO: TCP Data received {"connection_id":137254,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:18:15] local.INFO: Processing buffer {"connection_id":137254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:18:15] local.INFO: Packet analysis {"connection_id":137254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f779f"} 
[2026-07-19 05:18:15] local.INFO: Extracted packet for processing {"connection_id":137254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f779f"} 
[2026-07-19 05:18:15] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811021056001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 05:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784418352000,"timestamp_ms":1784418352000,"timestamp_seconds":1784418352,"priority":1,"record_length":96,"hex_timestamp":"0000019f779f3b80"} 
[2026-07-19 05:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 05:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":137254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":137254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":137254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:18:15] 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-07-19 05:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811021056001,"66":25473,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811021056001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:18:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:18:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811021056001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":137254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:18:15] local.INFO: GPS data processed {"connection_id":137254,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:18:15] local.INFO: Acknowledgment sent {"connection_id":137254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:18:32] local.INFO: TCP Data received {"connection_id":136329,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:18:32] local.INFO: Processing buffer {"connection_id":136329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:18:32] local.INFO: IMEI packet received {"connection_id":136329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":136329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:18:37] local.INFO: TCP Data received {"connection_id":136329,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:18:37] local.INFO: Processing buffer {"connection_id":136329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:18:37] local.INFO: IMEI packet received {"connection_id":136329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":136329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:18:38] local.INFO: TCP Data received {"connection_id":136329,"ip":"42.106.6.15","data_length":249,"data_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136329,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:18:38] local.INFO: Processing buffer {"connection_id":136329,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:18:38] local.INFO: Packet analysis {"connection_id":136329,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f779f"} 
[2026-07-19 05:18:38] local.INFO: Extracted packet for processing {"connection_id":136329,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f779f"} 
[2026-07-19 05:18:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-07-19 05:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811021056001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:18: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-07-19 05:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784418352000,"timestamp_ms":1784418352000,"timestamp_seconds":1784418352,"priority":1,"record_length":96,"hex_timestamp":"0000019f779f3b80"} 
[2026-07-19 05:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":249,"current_offset":136} 
[2026-07-19 05:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:18:38] 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-07-19 05:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:18:38] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136329,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-19 05:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811021056001,"66":25473,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811021056001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:18:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:18:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811021056001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":136329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:18:38] local.INFO: GPS data processed {"connection_id":136329,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:18:38] local.INFO: Acknowledgment sent {"connection_id":136329,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:19:09] local.INFO: TCP Data received {"connection_id":136329,"ip":"42.106.6.15","data_length":249,"data_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136329,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:19:09] local.INFO: Processing buffer {"connection_id":136329,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:19:09] local.INFO: Packet analysis {"connection_id":136329,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f779f"} 
[2026-07-19 05:19:09] local.INFO: Extracted packet for processing {"connection_id":136329,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f779f"} 
[2026-07-19 05:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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":249,"current_offset":40} 
[2026-07-19 05:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811021056001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:19: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-07-19 05:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784418352000,"timestamp_ms":1784418352000,"timestamp_seconds":1784418352,"priority":1,"record_length":96,"hex_timestamp":"0000019f779f3b80"} 
[2026-07-19 05:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":4,"data_length":249,"current_offset":136} 
[2026-07-19 05:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:19:09] 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-07-19 05:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:19:09] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136329,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-19 05:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811021056001,"66":25473,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811021056001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:19:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811021056001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":136329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:19:09] local.INFO: GPS data processed {"connection_id":136329,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:19:09] local.INFO: Acknowledgment sent {"connection_id":136329,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:19:32] local.INFO: TCP Data received {"connection_id":137256,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:19:32] local.INFO: Processing buffer {"connection_id":137256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:19:32] local.INFO: IMEI packet received {"connection_id":137256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":137256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:19:37] local.INFO: TCP Data received {"connection_id":137256,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:19:37] local.INFO: Processing buffer {"connection_id":137256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:19:37] local.INFO: IMEI packet received {"connection_id":137256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":137256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:19:38] local.INFO: TCP Data received {"connection_id":137256,"ip":"42.106.6.27","data_length":249,"data_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137256,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:19:38] local.INFO: Processing buffer {"connection_id":137256,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:19:38] local.INFO: Packet analysis {"connection_id":137256,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f779f"} 
[2026-07-19 05:19:38] local.INFO: Extracted packet for processing {"connection_id":137256,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f779f"} 
[2026-07-19 05:19:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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":249,"current_offset":40} 
[2026-07-19 05:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811021056001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:19: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-07-19 05:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784418352000,"timestamp_ms":1784418352000,"timestamp_seconds":1784418352,"priority":1,"record_length":96,"hex_timestamp":"0000019f779f3b80"} 
[2026-07-19 05:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":249,"current_offset":136} 
[2026-07-19 05:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:19:38] 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-07-19 05:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:19:38] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137256,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-19 05:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811021056001,"66":25473,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811021056001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:19:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:19:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811021056001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":137256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:19:38] local.INFO: GPS data processed {"connection_id":137256,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:19:38] local.INFO: Acknowledgment sent {"connection_id":137256,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:20:25] local.INFO: TCP Data received {"connection_id":137256,"ip":"42.106.6.27","data_length":249,"data_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137256,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:20:25] local.INFO: Processing buffer {"connection_id":137256,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:20:25] local.INFO: Packet analysis {"connection_id":137256,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f779f"} 
[2026-07-19 05:20:25] local.INFO: Extracted packet for processing {"connection_id":137256,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f779f"} 
[2026-07-19 05:20:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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":249,"current_offset":40} 
[2026-07-19 05:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811021056001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 05:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784418352000,"timestamp_ms":1784418352000,"timestamp_seconds":1784418352,"priority":1,"record_length":96,"hex_timestamp":"0000019f779f3b80"} 
[2026-07-19 05:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":100,"n8_eight_byte":4,"data_length":249,"current_offset":136} 
[2026-07-19 05:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:20:25] 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-07-19 05:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:20:25] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":137256,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-19 05:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":137256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":137256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:20:25] 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-07-19 05:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811021056001,"66":25473,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811021056001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:20:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:20:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811021056001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":137256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:20:25] local.INFO: GPS data processed {"connection_id":137256,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:20:25] local.INFO: Acknowledgment sent {"connection_id":137256,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:20:33] local.INFO: TCP Data received {"connection_id":137257,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:20:33] local.INFO: Processing buffer {"connection_id":137257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:20:33] local.INFO: IMEI packet received {"connection_id":137257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":137257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:20:37] local.INFO: TCP Data received {"connection_id":137257,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:20:37] local.INFO: Processing buffer {"connection_id":137257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:20:37] local.INFO: IMEI packet received {"connection_id":137257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":137257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:20:38] local.INFO: TCP Data received {"connection_id":137257,"ip":"42.106.6.15","data_length":249,"data_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137257,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:20:38] local.INFO: Processing buffer {"connection_id":137257,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:20:38] local.INFO: Packet analysis {"connection_id":137257,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f779f"} 
[2026-07-19 05:20:38] local.INFO: Extracted packet for processing {"connection_id":137257,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f779f"} 
[2026-07-19 05:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-07-19 05:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811021056001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:20: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-07-19 05:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784418352000,"timestamp_ms":1784418352000,"timestamp_seconds":1784418352,"priority":1,"record_length":96,"hex_timestamp":"0000019f779f3b80"} 
[2026-07-19 05:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":249,"current_offset":136} 
[2026-07-19 05:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:20:38] 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-07-19 05:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:20:38] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137257,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-19 05:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811021056001,"66":25473,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811021056001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811021056001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":137257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:20:38] local.INFO: GPS data processed {"connection_id":137257,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:20:38] local.INFO: Acknowledgment sent {"connection_id":137257,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:21:09] local.INFO: TCP Data received {"connection_id":137257,"ip":"42.106.6.15","data_length":249,"data_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137257,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:21:09] local.INFO: Processing buffer {"connection_id":137257,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f779f3b80012d34c58006aa41400015010128..."} 
[2026-07-19 05:21:09] local.INFO: Packet analysis {"connection_id":137257,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f779f"} 
[2026-07-19 05:21:09] local.INFO: Extracted packet for processing {"connection_id":137257,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f779f"} 
[2026-07-19 05:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":21,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-07-19 05:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811021056001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:21: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-07-19 05:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784418352000,"timestamp_ms":1784418352000,"timestamp_seconds":1784418352,"priority":1,"record_length":96,"hex_timestamp":"0000019f779f3b80"} 
[2026-07-19 05:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":249,"current_offset":136} 
[2026-07-19 05:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:21:09] 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-07-19 05:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:21:09] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137257,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-19 05:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811021056001,"66":25473,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811021056001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811021056001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":137257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:21:09] local.INFO: GPS data processed {"connection_id":137257,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:21:09] local.INFO: Acknowledgment sent {"connection_id":137257,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:21:37] local.INFO: TCP Data received {"connection_id":138656,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:21:37] local.INFO: Processing buffer {"connection_id":138656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:21:37] local.INFO: IMEI packet received {"connection_id":138656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":138656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:21:42] local.INFO: TCP Data received {"connection_id":138656,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:21:42] local.INFO: Processing buffer {"connection_id":138656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:21:42] local.INFO: IMEI packet received {"connection_id":138656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":138656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:21:43] local.INFO: TCP Data received {"connection_id":138656,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:21:43] local.INFO: Processing buffer {"connection_id":138656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:21:43] local.INFO: Packet analysis {"connection_id":138656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77a3"} 
[2026-07-19 05:21:43] local.INFO: Extracted packet for processing {"connection_id":138656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77a3"} 
[2026-07-19 05:21:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811098112001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:21: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-07-19 05:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784418653000,"timestamp_ms":1784418653000,"timestamp_seconds":1784418653,"priority":1,"record_length":96,"hex_timestamp":"0000019f77a3d348"} 
[2026-07-19 05:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 05:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":138656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":138656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":138656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811098112001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811098112001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:21:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:21:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811098112001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":138656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:21:43] local.INFO: GPS data processed {"connection_id":138656,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:21:43] local.INFO: Acknowledgment sent {"connection_id":138656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:21:47] local.INFO: TCP Data received {"connection_id":136332,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:21:47] local.INFO: Processing buffer {"connection_id":136332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:21:47] local.INFO: IMEI packet received {"connection_id":136332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 05:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":136332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:21:47] local.INFO: TCP Data received {"connection_id":138656,"ip":"42.106.6.16","data_length":249,"data_hex":"00000000000000ed8e030000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138656,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:21:47] local.INFO: Processing buffer {"connection_id":138656,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:21:47] local.INFO: Packet analysis {"connection_id":138656,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f77a3"} 
[2026-07-19 05:21:47] local.INFO: Extracted packet for processing {"connection_id":138656,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f77a3"} 
[2026-07-19 05:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-07-19 05:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811098112001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 05:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784418653000,"timestamp_ms":1784418653000,"timestamp_seconds":1784418653,"priority":1,"record_length":96,"hex_timestamp":"0000019f77a3d348"} 
[2026-07-19 05:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":249,"current_offset":136} 
[2026-07-19 05:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:21:47] 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-07-19 05:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:21:47] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":138656,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-19 05:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":138656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":138656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811098112001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811098112001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:21:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811098112001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":138656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:21:47] local.INFO: GPS data processed {"connection_id":138656,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:21:47] local.INFO: Acknowledgment sent {"connection_id":138656,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:22:27] local.INFO: TCP Data received {"connection_id":136202,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136202,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:22:27] local.INFO: Processing buffer {"connection_id":136202,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:22:27] local.INFO: IMEI packet received {"connection_id":136202,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 05:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":136202,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:22:32] local.INFO: TCP Data received {"connection_id":137258,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:22:32] local.INFO: Processing buffer {"connection_id":137258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:22:32] local.INFO: IMEI packet received {"connection_id":137258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":137258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:22:37] local.INFO: TCP Data received {"connection_id":137258,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:22:37] local.INFO: Processing buffer {"connection_id":137258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:22:37] local.INFO: IMEI packet received {"connection_id":137258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":137258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:22:39] local.INFO: TCP Data received {"connection_id":137258,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:22:39] local.INFO: Processing buffer {"connection_id":137258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:22:39] local.INFO: Packet analysis {"connection_id":137258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77a3"} 
[2026-07-19 05:22:39] local.INFO: Extracted packet for processing {"connection_id":137258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77a3"} 
[2026-07-19 05:22:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811098112001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:22: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-07-19 05:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784418653000,"timestamp_ms":1784418653000,"timestamp_seconds":1784418653,"priority":1,"record_length":96,"hex_timestamp":"0000019f77a3d348"} 
[2026-07-19 05:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 05:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":137258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":137258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":137258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811098112001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811098112001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:22:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:22:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811098112001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":137258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:22:39] local.INFO: GPS data processed {"connection_id":137258,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:22:39] local.INFO: Acknowledgment sent {"connection_id":137258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:23:13] local.INFO: TCP Data received {"connection_id":137258,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:23:13] local.INFO: Processing buffer {"connection_id":137258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:23:13] local.INFO: Packet analysis {"connection_id":137258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77a3"} 
[2026-07-19 05:23:13] local.INFO: Extracted packet for processing {"connection_id":137258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77a3"} 
[2026-07-19 05:23:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811098112001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:23: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-07-19 05:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784418653000,"timestamp_ms":1784418653000,"timestamp_seconds":1784418653,"priority":1,"record_length":96,"hex_timestamp":"0000019f77a3d348"} 
[2026-07-19 05:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 05:23: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-07-19 05:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":137258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":137258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":137258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811098112001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811098112001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:23:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:23:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811098112001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":137258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:23:13] local.INFO: GPS data processed {"connection_id":137258,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:23:13] local.INFO: Acknowledgment sent {"connection_id":137258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:23:37] local.INFO: TCP Data received {"connection_id":136203,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:23:37] local.INFO: Processing buffer {"connection_id":136203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:23:37] local.INFO: IMEI packet received {"connection_id":136203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":136203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:23:43] local.INFO: TCP Data received {"connection_id":136203,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:23:43] local.INFO: Processing buffer {"connection_id":136203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:23:43] local.INFO: IMEI packet received {"connection_id":136203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":136203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:23:44] local.INFO: TCP Data received {"connection_id":136203,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:23:44] local.INFO: Processing buffer {"connection_id":136203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:23:44] local.INFO: Packet analysis {"connection_id":136203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77a3"} 
[2026-07-19 05:23:44] local.INFO: Extracted packet for processing {"connection_id":136203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77a3"} 
[2026-07-19 05:23:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811098112001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 05:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784418653000,"timestamp_ms":1784418653000,"timestamp_seconds":1784418653,"priority":1,"record_length":96,"hex_timestamp":"0000019f77a3d348"} 
[2026-07-19 05:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 05:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":136203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":136203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":136203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:23:44] 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-07-19 05:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811098112001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811098112001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:23:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:23:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811098112001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":136203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:23:44] local.INFO: GPS data processed {"connection_id":136203,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:23:44] local.INFO: Acknowledgment sent {"connection_id":136203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:24:17] local.INFO: TCP Data received {"connection_id":136203,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:24:17] local.INFO: Processing buffer {"connection_id":136203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:24:17] local.INFO: Packet analysis {"connection_id":136203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77a3"} 
[2026-07-19 05:24:17] local.INFO: Extracted packet for processing {"connection_id":136203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77a3"} 
[2026-07-19 05:24:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811098112001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 05:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784418653000,"timestamp_ms":1784418653000,"timestamp_seconds":1784418653,"priority":1,"record_length":96,"hex_timestamp":"0000019f77a3d348"} 
[2026-07-19 05:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 05:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":136203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":136203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":136203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811098112001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811098112001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:24:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:24:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811098112001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":136203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:24:17] local.INFO: GPS data processed {"connection_id":136203,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:24:17] local.INFO: Acknowledgment sent {"connection_id":136203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:24:32] local.INFO: TCP Data received {"connection_id":138659,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:24:32] local.INFO: Processing buffer {"connection_id":138659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:24:32] local.INFO: IMEI packet received {"connection_id":138659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":138659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:24:37] local.INFO: TCP Data received {"connection_id":138659,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:24:37] local.INFO: Processing buffer {"connection_id":138659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:24:37] local.INFO: IMEI packet received {"connection_id":138659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":138659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:24:38] local.INFO: TCP Data received {"connection_id":138659,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:24:38] local.INFO: Processing buffer {"connection_id":138659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:24:38] local.INFO: Packet analysis {"connection_id":138659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77a3"} 
[2026-07-19 05:24:38] local.INFO: Extracted packet for processing {"connection_id":138659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77a3"} 
[2026-07-19 05:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811098112001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:24: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-07-19 05:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784418653000,"timestamp_ms":1784418653000,"timestamp_seconds":1784418653,"priority":1,"record_length":96,"hex_timestamp":"0000019f77a3d348"} 
[2026-07-19 05:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 05:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811098112001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811098112001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:24:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811098112001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":138659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:24:38] local.INFO: GPS data processed {"connection_id":138659,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:24:38] local.INFO: Acknowledgment sent {"connection_id":138659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:25:10] local.INFO: TCP Data received {"connection_id":138659,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:25:10] local.INFO: Processing buffer {"connection_id":138659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:25:10] local.INFO: Packet analysis {"connection_id":138659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77a3"} 
[2026-07-19 05:25:10] local.INFO: Extracted packet for processing {"connection_id":138659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77a3"} 
[2026-07-19 05:25:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811098112001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:25: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-07-19 05:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784418653000,"timestamp_ms":1784418653000,"timestamp_seconds":1784418653,"priority":1,"record_length":96,"hex_timestamp":"0000019f77a3d348"} 
[2026-07-19 05:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 05:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:25: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-07-19 05:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811098112001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811098112001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:25:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:25:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811098112001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":138659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:25:10] local.INFO: GPS data processed {"connection_id":138659,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:25:10] local.INFO: Acknowledgment sent {"connection_id":138659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:25:42] local.INFO: TCP Data received {"connection_id":138661,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:25:42] local.INFO: Processing buffer {"connection_id":138661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:25:42] local.INFO: IMEI packet received {"connection_id":138661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":138661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:25:47] local.INFO: TCP Data received {"connection_id":138661,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:25:47] local.INFO: Processing buffer {"connection_id":138661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:25:47] local.INFO: IMEI packet received {"connection_id":138661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":138661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:25:48] local.INFO: TCP Data received {"connection_id":138661,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:25:48] local.INFO: Processing buffer {"connection_id":138661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77a3d348012d34c58006aa41400017010128..."} 
[2026-07-19 05:25:48] local.INFO: Packet analysis {"connection_id":138661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77a3"} 
[2026-07-19 05:25:48] local.INFO: Extracted packet for processing {"connection_id":138661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77a3"} 
[2026-07-19 05:25:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811098112001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 05:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784418653000,"timestamp_ms":1784418653000,"timestamp_seconds":1784418653,"priority":1,"record_length":96,"hex_timestamp":"0000019f77a3d348"} 
[2026-07-19 05:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 05:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":138661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":138661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":138661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811098112001,"66":25604,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811098112001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:25:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:25:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811098112001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":138661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:25:48] local.INFO: GPS data processed {"connection_id":138661,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:25:48] local.INFO: Acknowledgment sent {"connection_id":138661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:26:32] local.INFO: TCP Data received {"connection_id":136204,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:26:32] local.INFO: Processing buffer {"connection_id":136204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:26:32] local.INFO: IMEI packet received {"connection_id":136204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":136204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:26:33] local.INFO: TCP Data received {"connection_id":136204,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:26:33] local.INFO: Processing buffer {"connection_id":136204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:26:33] local.INFO: IMEI packet received {"connection_id":136204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":136204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:26:37] local.INFO: TCP Data received {"connection_id":136204,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:26:37] local.INFO: Processing buffer {"connection_id":136204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:26:37] local.INFO: IMEI packet received {"connection_id":136204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":136204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:26:39] local.INFO: TCP Data received {"connection_id":136204,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:26:39] local.INFO: Processing buffer {"connection_id":136204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:26:39] local.INFO: Packet analysis {"connection_id":136204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77a8"} 
[2026-07-19 05:26:39] local.INFO: Extracted packet for processing {"connection_id":136204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77a8"} 
[2026-07-19 05:26:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811175168001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05: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-07-19 05:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784418954000,"timestamp_ms":1784418954000,"timestamp_seconds":1784418954,"priority":1,"record_length":96,"hex_timestamp":"0000019f77a86b10"} 
[2026-07-19 05:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 05:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:26:39] 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-07-19 05:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811175168001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811175168001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:26:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:26:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811175168001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":136204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:26:39] local.INFO: GPS data processed {"connection_id":136204,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:26:39] local.INFO: Acknowledgment sent {"connection_id":136204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:27:15] local.INFO: TCP Data received {"connection_id":136204,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:27:15] local.INFO: Processing buffer {"connection_id":136204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:27:15] local.INFO: Packet analysis {"connection_id":136204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77a8"} 
[2026-07-19 05:27:15] local.INFO: Extracted packet for processing {"connection_id":136204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77a8"} 
[2026-07-19 05:27:15] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811175168001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 05:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784418954000,"timestamp_ms":1784418954000,"timestamp_seconds":1784418954,"priority":1,"record_length":96,"hex_timestamp":"0000019f77a86b10"} 
[2026-07-19 05:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 05:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":136204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":136204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":136204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:27:15] 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-07-19 05:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811175168001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811175168001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:27:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:27:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811175168001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":136204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:27:15] local.INFO: GPS data processed {"connection_id":136204,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:27:15] local.INFO: Acknowledgment sent {"connection_id":136204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:27:34] local.INFO: TCP Data received {"connection_id":138663,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:27:34] local.INFO: Processing buffer {"connection_id":138663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:27:34] local.INFO: IMEI packet received {"connection_id":138663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":138663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:27:38] local.INFO: TCP Data received {"connection_id":138663,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:27:38] local.INFO: Processing buffer {"connection_id":138663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:27:38] local.INFO: IMEI packet received {"connection_id":138663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":138663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:27:39] local.INFO: TCP Data received {"connection_id":138663,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:27:39] local.INFO: Processing buffer {"connection_id":138663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:27:39] local.INFO: Packet analysis {"connection_id":138663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77a8"} 
[2026-07-19 05:27:39] local.INFO: Extracted packet for processing {"connection_id":138663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77a8"} 
[2026-07-19 05:27:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811175168001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:27: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-07-19 05:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784418954000,"timestamp_ms":1784418954000,"timestamp_seconds":1784418954,"priority":1,"record_length":96,"hex_timestamp":"0000019f77a86b10"} 
[2026-07-19 05:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 05:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":138663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":138663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":138663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:27:39] 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-07-19 05:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811175168001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811175168001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:27:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:27:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811175168001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":138663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:27:39] local.INFO: GPS data processed {"connection_id":138663,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:27:39] local.INFO: Acknowledgment sent {"connection_id":138663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:27:45] local.INFO: TCP Data received {"connection_id":138663,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:27:45] local.INFO: Processing buffer {"connection_id":138663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:27:45] local.INFO: Packet analysis {"connection_id":138663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77a8"} 
[2026-07-19 05:27:45] local.INFO: Extracted packet for processing {"connection_id":138663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77a8"} 
[2026-07-19 05:27:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811175168001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 05:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784418954000,"timestamp_ms":1784418954000,"timestamp_seconds":1784418954,"priority":1,"record_length":96,"hex_timestamp":"0000019f77a86b10"} 
[2026-07-19 05:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 05:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":138663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":138663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":138663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:27: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-07-19 05:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811175168001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811175168001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:27:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:27:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811175168001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":138663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:27:45] local.INFO: GPS data processed {"connection_id":138663,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:27:45] local.INFO: Acknowledgment sent {"connection_id":138663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:28:03] local.INFO: TCP Data received {"connection_id":138662,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:28:03] local.INFO: Processing buffer {"connection_id":138662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:28:03] local.INFO: IMEI packet received {"connection_id":138662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 05:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":138662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:28:17] local.INFO: TCP Data received {"connection_id":138663,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:28:17] local.INFO: Processing buffer {"connection_id":138663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:28:17] local.INFO: Packet analysis {"connection_id":138663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77a8"} 
[2026-07-19 05:28:17] local.INFO: Extracted packet for processing {"connection_id":138663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77a8"} 
[2026-07-19 05:28:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811175168001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:28: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-07-19 05:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784418954000,"timestamp_ms":1784418954000,"timestamp_seconds":1784418954,"priority":1,"record_length":96,"hex_timestamp":"0000019f77a86b10"} 
[2026-07-19 05:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 05:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":138663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":138663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":138663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811175168001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811175168001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:28:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:28:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811175168001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":138663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:28:17] local.INFO: GPS data processed {"connection_id":138663,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:28:17] local.INFO: Acknowledgment sent {"connection_id":138663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:28:27] local.INFO: TCP Data received {"connection_id":137259,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:28:27] local.INFO: Processing buffer {"connection_id":137259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:28:27] local.INFO: IMEI packet received {"connection_id":137259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 05:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":137259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:28:32] local.INFO: TCP Data received {"connection_id":137260,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:28:32] local.INFO: Processing buffer {"connection_id":137260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:28:32] local.INFO: IMEI packet received {"connection_id":137260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":137260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:28:37] local.INFO: TCP Data received {"connection_id":137260,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:28:37] local.INFO: Processing buffer {"connection_id":137260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:28:37] local.INFO: IMEI packet received {"connection_id":137260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":137260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:28:38] local.INFO: TCP Data received {"connection_id":137260,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:28:38] local.INFO: Processing buffer {"connection_id":137260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:28:38] local.INFO: Packet analysis {"connection_id":137260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77a8"} 
[2026-07-19 05:28:38] local.INFO: Extracted packet for processing {"connection_id":137260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77a8"} 
[2026-07-19 05:28:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811175168001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:28: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-07-19 05:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784418954000,"timestamp_ms":1784418954000,"timestamp_seconds":1784418954,"priority":1,"record_length":96,"hex_timestamp":"0000019f77a86b10"} 
[2026-07-19 05:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 05:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:28: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-07-19 05:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811175168001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811175168001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:28:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:28:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811175168001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":137260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:28:38] local.INFO: GPS data processed {"connection_id":137260,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:28:38] local.INFO: Acknowledgment sent {"connection_id":137260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:29:10] local.INFO: TCP Data received {"connection_id":137260,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:29:10] local.INFO: Processing buffer {"connection_id":137260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:29:10] local.INFO: Packet analysis {"connection_id":137260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77a8"} 
[2026-07-19 05:29:10] local.INFO: Extracted packet for processing {"connection_id":137260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77a8"} 
[2026-07-19 05:29:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811175168001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:29: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-07-19 05:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784418954000,"timestamp_ms":1784418954000,"timestamp_seconds":1784418954,"priority":1,"record_length":96,"hex_timestamp":"0000019f77a86b10"} 
[2026-07-19 05:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 05:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:29:10] 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-07-19 05:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811175168001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811175168001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:29:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:29:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811175168001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":137260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:29:10] local.INFO: GPS data processed {"connection_id":137260,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:29:10] local.INFO: Acknowledgment sent {"connection_id":137260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:29:32] local.INFO: TCP Data received {"connection_id":138664,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:29:32] local.INFO: Processing buffer {"connection_id":138664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:29:32] local.INFO: IMEI packet received {"connection_id":138664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":138664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:29:37] local.INFO: TCP Data received {"connection_id":138664,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:29:37] local.INFO: Processing buffer {"connection_id":138664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:29:37] local.INFO: IMEI packet received {"connection_id":138664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":138664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:29:39] local.INFO: TCP Data received {"connection_id":138664,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:29:39] local.INFO: Processing buffer {"connection_id":138664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:29:39] local.INFO: Packet analysis {"connection_id":138664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77a8"} 
[2026-07-19 05:29:39] local.INFO: Extracted packet for processing {"connection_id":138664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77a8"} 
[2026-07-19 05:29:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811175168001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:29: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-07-19 05:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784418954000,"timestamp_ms":1784418954000,"timestamp_seconds":1784418954,"priority":1,"record_length":96,"hex_timestamp":"0000019f77a86b10"} 
[2026-07-19 05:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 05:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":138664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":138664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":138664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:29: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-07-19 05:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811175168001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811175168001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:29:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:29:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811175168001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":138664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:29:39] local.INFO: GPS data processed {"connection_id":138664,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:29:39] local.INFO: Acknowledgment sent {"connection_id":138664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:30:11] local.INFO: TCP Data received {"connection_id":138664,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:30:11] local.INFO: Processing buffer {"connection_id":138664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:30:11] local.INFO: Packet analysis {"connection_id":138664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77a8"} 
[2026-07-19 05:30:11] local.INFO: Extracted packet for processing {"connection_id":138664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77a8"} 
[2026-07-19 05:30:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811175168001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:30: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-07-19 05:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784418954000,"timestamp_ms":1784418954000,"timestamp_seconds":1784418954,"priority":1,"record_length":96,"hex_timestamp":"0000019f77a86b10"} 
[2026-07-19 05:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 05:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":138664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":138664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":138664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811175168001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811175168001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:30:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:30:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811175168001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":138664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:30:11] local.INFO: GPS data processed {"connection_id":138664,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:30:11] local.INFO: Acknowledgment sent {"connection_id":138664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:30:37] local.INFO: TCP Data received {"connection_id":137261,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:30:37] local.INFO: Processing buffer {"connection_id":137261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:30:37] local.INFO: IMEI packet received {"connection_id":137261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":137261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:30:42] local.INFO: TCP Data received {"connection_id":137261,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:30:42] local.INFO: Processing buffer {"connection_id":137261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:30:42] local.INFO: IMEI packet received {"connection_id":137261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":137261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:30:43] local.INFO: TCP Data received {"connection_id":137261,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:30:43] local.INFO: Processing buffer {"connection_id":137261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:30:43] local.INFO: Packet analysis {"connection_id":137261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77a8"} 
[2026-07-19 05:30:43] local.INFO: Extracted packet for processing {"connection_id":137261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77a8"} 
[2026-07-19 05:30:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811175168001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:30: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-07-19 05:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784418954000,"timestamp_ms":1784418954000,"timestamp_seconds":1784418954,"priority":1,"record_length":96,"hex_timestamp":"0000019f77a86b10"} 
[2026-07-19 05:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 05:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:30:43] 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-07-19 05:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811175168001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811175168001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:30:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:30:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811175168001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":137261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:30:43] local.INFO: GPS data processed {"connection_id":137261,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:30:43] local.INFO: Acknowledgment sent {"connection_id":137261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:30:48] local.INFO: TCP Data received {"connection_id":137261,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:30:48] local.INFO: Processing buffer {"connection_id":137261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77a86b10012d34c58006aa41400017010129..."} 
[2026-07-19 05:30:48] local.INFO: Packet analysis {"connection_id":137261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77a8"} 
[2026-07-19 05:30:48] local.INFO: Extracted packet for processing {"connection_id":137261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77a8"} 
[2026-07-19 05:30:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811175168001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 05:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784418954000,"timestamp_ms":1784418954000,"timestamp_seconds":1784418954,"priority":1,"record_length":96,"hex_timestamp":"0000019f77a86b10"} 
[2026-07-19 05:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 05:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":137261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":137261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":137261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811175168001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811175168001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:30:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:30:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811175168001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":137261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:30:48] local.INFO: GPS data processed {"connection_id":137261,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:30:48] local.INFO: Acknowledgment sent {"connection_id":137261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:31:32] local.INFO: TCP Data received {"connection_id":136207,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:31:32] local.INFO: Processing buffer {"connection_id":136207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:31:32] local.INFO: IMEI packet received {"connection_id":136207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":136207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:31:33] local.INFO: TCP Data received {"connection_id":136207,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:31:33] local.INFO: Processing buffer {"connection_id":136207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:31:33] local.INFO: IMEI packet received {"connection_id":136207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":136207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:31:37] local.INFO: TCP Data received {"connection_id":136207,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:31:37] local.INFO: Processing buffer {"connection_id":136207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:31:37] local.INFO: IMEI packet received {"connection_id":136207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":136207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:31:40] local.INFO: TCP Data received {"connection_id":136207,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:31:40] local.INFO: Processing buffer {"connection_id":136207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:31:40] local.INFO: Packet analysis {"connection_id":136207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ad"} 
[2026-07-19 05:31:40] local.INFO: Extracted packet for processing {"connection_id":136207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ad"} 
[2026-07-19 05:31:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811252224001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:31: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-07-19 05:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784419255000,"timestamp_ms":1784419255000,"timestamp_seconds":1784419255,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ad02d8"} 
[2026-07-19 05:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:31: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-07-19 05:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":136207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":136207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":136207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:31:40] 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-07-19 05:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811252224001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811252224001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:31:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:31:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811252224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":136207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:31:40] local.INFO: GPS data processed {"connection_id":136207,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:31:40] local.INFO: Acknowledgment sent {"connection_id":136207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:31:43] local.INFO: TCP Data received {"connection_id":136207,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:31:43] local.INFO: Processing buffer {"connection_id":136207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:31:43] local.INFO: Packet analysis {"connection_id":136207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ad"} 
[2026-07-19 05:31:43] local.INFO: Extracted packet for processing {"connection_id":136207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ad"} 
[2026-07-19 05:31:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811252224001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:31: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-07-19 05:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784419255000,"timestamp_ms":1784419255000,"timestamp_seconds":1784419255,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ad02d8"} 
[2026-07-19 05:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:31:43] 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-07-19 05:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811252224001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811252224001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:31:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:31:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811252224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":136207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:31:43] local.INFO: GPS data processed {"connection_id":136207,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:31:43] local.INFO: Acknowledgment sent {"connection_id":136207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:32:15] local.INFO: TCP Data received {"connection_id":136207,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:32:15] local.INFO: Processing buffer {"connection_id":136207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:32:15] local.INFO: Packet analysis {"connection_id":136207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ad"} 
[2026-07-19 05:32:15] local.INFO: Extracted packet for processing {"connection_id":136207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ad"} 
[2026-07-19 05:32:15] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811252224001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 05:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784419255000,"timestamp_ms":1784419255000,"timestamp_seconds":1784419255,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ad02d8"} 
[2026-07-19 05:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":136207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":136207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":136207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:32:15] 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-07-19 05:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811252224001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811252224001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:32:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:32:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811252224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":136207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:32:15] local.INFO: GPS data processed {"connection_id":136207,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:32:15] local.INFO: Acknowledgment sent {"connection_id":136207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:32:32] local.INFO: TCP Data received {"connection_id":138665,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:32:32] local.INFO: Processing buffer {"connection_id":138665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:32:32] local.INFO: IMEI packet received {"connection_id":138665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":138665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:32:37] local.INFO: TCP Data received {"connection_id":138665,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:32:37] local.INFO: Processing buffer {"connection_id":138665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:32:37] local.INFO: IMEI packet received {"connection_id":138665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":138665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:32:38] local.INFO: TCP Data received {"connection_id":138665,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:32:38] local.INFO: Processing buffer {"connection_id":138665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:32:38] local.INFO: Packet analysis {"connection_id":138665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ad"} 
[2026-07-19 05:32:38] local.INFO: Extracted packet for processing {"connection_id":138665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ad"} 
[2026-07-19 05:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811252224001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:32: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-07-19 05:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784419255000,"timestamp_ms":1784419255000,"timestamp_seconds":1784419255,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ad02d8"} 
[2026-07-19 05:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811252224001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811252224001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:32:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811252224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":138665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:32:38] local.INFO: GPS data processed {"connection_id":138665,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:32:38] local.INFO: Acknowledgment sent {"connection_id":138665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:33:10] local.INFO: TCP Data received {"connection_id":138665,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:33:10] local.INFO: Processing buffer {"connection_id":138665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:33:10] local.INFO: Packet analysis {"connection_id":138665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ad"} 
[2026-07-19 05:33:10] local.INFO: Extracted packet for processing {"connection_id":138665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ad"} 
[2026-07-19 05:33:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811252224001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:33: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-07-19 05:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784419255000,"timestamp_ms":1784419255000,"timestamp_seconds":1784419255,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ad02d8"} 
[2026-07-19 05:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:33:10] 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-07-19 05:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811252224001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811252224001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:33:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:33:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811252224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":138665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:33:10] local.INFO: GPS data processed {"connection_id":138665,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:33:10] local.INFO: Acknowledgment sent {"connection_id":138665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:33:32] local.INFO: TCP Data received {"connection_id":136335,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:33:32] local.INFO: Processing buffer {"connection_id":136335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:33:32] local.INFO: IMEI packet received {"connection_id":136335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":136335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:33:37] local.INFO: TCP Data received {"connection_id":136335,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:33:37] local.INFO: Processing buffer {"connection_id":136335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:33:37] local.INFO: IMEI packet received {"connection_id":136335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":136335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:33:38] local.INFO: TCP Data received {"connection_id":136335,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:33:38] local.INFO: Processing buffer {"connection_id":136335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:33:38] local.INFO: Packet analysis {"connection_id":136335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ad"} 
[2026-07-19 05:33:38] local.INFO: Extracted packet for processing {"connection_id":136335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ad"} 
[2026-07-19 05:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811252224001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:33: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-07-19 05:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784419255000,"timestamp_ms":1784419255000,"timestamp_seconds":1784419255,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ad02d8"} 
[2026-07-19 05:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:33: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-07-19 05:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811252224001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811252224001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:33:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811252224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":136335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:33:38] local.INFO: GPS data processed {"connection_id":136335,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:33:38] local.INFO: Acknowledgment sent {"connection_id":136335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:33:52] local.INFO: TCP Data received {"connection_id":136208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:33:52] local.INFO: Processing buffer {"connection_id":136208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:33:52] local.INFO: IMEI packet received {"connection_id":136208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 05:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":136208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:34:11] local.INFO: TCP Data received {"connection_id":136335,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:34:11] local.INFO: Processing buffer {"connection_id":136335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:34:11] local.INFO: Packet analysis {"connection_id":136335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ad"} 
[2026-07-19 05:34:11] local.INFO: Extracted packet for processing {"connection_id":136335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ad"} 
[2026-07-19 05:34:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811252224001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:34: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-07-19 05:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784419255000,"timestamp_ms":1784419255000,"timestamp_seconds":1784419255,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ad02d8"} 
[2026-07-19 05:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":136335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":136335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":136335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:34: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-07-19 05:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811252224001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811252224001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:34:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:34:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811252224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":136335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:34:11] local.INFO: GPS data processed {"connection_id":136335,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:34:11] local.INFO: Acknowledgment sent {"connection_id":136335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:34:32] local.INFO: TCP Data received {"connection_id":136210,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:34:32] local.INFO: Processing buffer {"connection_id":136210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:34:32] local.INFO: IMEI packet received {"connection_id":136210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":136210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:34:32] local.INFO: TCP Data received {"connection_id":136209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136209,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:34:32] local.INFO: Processing buffer {"connection_id":136209,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:34:32] local.INFO: IMEI packet received {"connection_id":136209,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 05:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":136209,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:34:37] local.INFO: TCP Data received {"connection_id":136210,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:34:37] local.INFO: Processing buffer {"connection_id":136210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:34:37] local.INFO: IMEI packet received {"connection_id":136210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":136210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:34:38] local.INFO: TCP Data received {"connection_id":136210,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:34:38] local.INFO: Processing buffer {"connection_id":136210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:34:38] local.INFO: Packet analysis {"connection_id":136210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ad"} 
[2026-07-19 05:34:38] local.INFO: Extracted packet for processing {"connection_id":136210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ad"} 
[2026-07-19 05:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811252224001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:34: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-07-19 05:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784419255000,"timestamp_ms":1784419255000,"timestamp_seconds":1784419255,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ad02d8"} 
[2026-07-19 05:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:34:38] 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-07-19 05:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811252224001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 05:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811252224001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:34:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:34:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811252224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":136210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:34:38] local.INFO: GPS data processed {"connection_id":136210,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:34:38] local.INFO: Acknowledgment sent {"connection_id":136210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:35:10] local.INFO: TCP Data received {"connection_id":136210,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:35:10] local.INFO: Processing buffer {"connection_id":136210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:35:10] local.INFO: Packet analysis {"connection_id":136210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ad"} 
[2026-07-19 05:35:10] local.INFO: Extracted packet for processing {"connection_id":136210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ad"} 
[2026-07-19 05:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811252224001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:35: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-07-19 05:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784419255000,"timestamp_ms":1784419255000,"timestamp_seconds":1784419255,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ad02d8"} 
[2026-07-19 05:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:35:10] 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-07-19 05:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811252224001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 05:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811252224001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:35:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:35:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811252224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":136210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:35:10] local.INFO: GPS data processed {"connection_id":136210,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:35:10] local.INFO: Acknowledgment sent {"connection_id":136210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:35:37] local.INFO: TCP Data received {"connection_id":138666,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:35:37] local.INFO: Processing buffer {"connection_id":138666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:35:37] local.INFO: IMEI packet received {"connection_id":138666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":138666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:35:42] local.INFO: TCP Data received {"connection_id":138666,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:35:42] local.INFO: Processing buffer {"connection_id":138666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:35:42] local.INFO: IMEI packet received {"connection_id":138666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":138666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:35:45] local.INFO: TCP Data received {"connection_id":138666,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:35:45] local.INFO: Processing buffer {"connection_id":138666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:35:45] local.INFO: Packet analysis {"connection_id":138666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ad"} 
[2026-07-19 05:35:45] local.INFO: Extracted packet for processing {"connection_id":138666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ad"} 
[2026-07-19 05:35:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811252224001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 05:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784419255000,"timestamp_ms":1784419255000,"timestamp_seconds":1784419255,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ad02d8"} 
[2026-07-19 05:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":138666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":138666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":138666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811252224001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811252224001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:35:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:35:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811252224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":138666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:35:45] local.INFO: GPS data processed {"connection_id":138666,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:35:45] local.INFO: Acknowledgment sent {"connection_id":138666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:35:48] local.INFO: TCP Data received {"connection_id":138666,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:35:48] local.INFO: Processing buffer {"connection_id":138666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ad02d8012d34c58006aa41400017010120..."} 
[2026-07-19 05:35:48] local.INFO: Packet analysis {"connection_id":138666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ad"} 
[2026-07-19 05:35:48] local.INFO: Extracted packet for processing {"connection_id":138666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ad"} 
[2026-07-19 05:35:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":23,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811252224001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 05:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784419255000,"timestamp_ms":1784419255000,"timestamp_seconds":1784419255,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ad02d8"} 
[2026-07-19 05:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":138666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":138666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":138666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:35:48] 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-07-19 05:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811252224001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811252224001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:35:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:35:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811252224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":138666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:35:48] local.INFO: GPS data processed {"connection_id":138666,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:35:48] local.INFO: Acknowledgment sent {"connection_id":138666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:36:32] local.INFO: TCP Data received {"connection_id":136337,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:36:32] local.INFO: Processing buffer {"connection_id":136337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:36:32] local.INFO: IMEI packet received {"connection_id":136337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":136337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:36:34] local.INFO: TCP Data received {"connection_id":136337,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:36:34] local.INFO: Processing buffer {"connection_id":136337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:36:34] local.INFO: IMEI packet received {"connection_id":136337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":136337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:36:35] local.INFO: TCP Data received {"connection_id":136337,"ip":"42.106.6.40","data_length":249,"data_hex":"00000000000000ed8e030000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136337,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:36:35] local.INFO: Processing buffer {"connection_id":136337,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:36:35] local.INFO: Packet analysis {"connection_id":136337,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f77b1"} 
[2026-07-19 05:36:35] local.INFO: Extracted packet for processing {"connection_id":136337,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f77b1"} 
[2026-07-19 05:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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":249,"current_offset":40} 
[2026-07-19 05:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811329280001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05: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-07-19 05:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784419556000,"timestamp_ms":1784419556000,"timestamp_seconds":1784419556,"priority":1,"record_length":96,"hex_timestamp":"0000019f77b19aa0"} 
[2026-07-19 05:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":249,"current_offset":136} 
[2026-07-19 05:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:36:35] 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-07-19 05:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:36:35] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":136337,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-19 05:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":136337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":136337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:36: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-07-19 05:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811329280001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811329280001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:36:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:36:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811329280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":136337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:36:35] local.INFO: GPS data processed {"connection_id":136337,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:36:35] local.INFO: Acknowledgment sent {"connection_id":136337,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:37:06] local.INFO: TCP Data received {"connection_id":136337,"ip":"42.106.6.40","data_length":249,"data_hex":"00000000000000ed8e030000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136337,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:37:06] local.INFO: Processing buffer {"connection_id":136337,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:37:06] local.INFO: Packet analysis {"connection_id":136337,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f77b1"} 
[2026-07-19 05:37:06] local.INFO: Extracted packet for processing {"connection_id":136337,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f77b1"} 
[2026-07-19 05:37:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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":249,"current_offset":40} 
[2026-07-19 05:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811329280001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:37: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-07-19 05:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784419556000,"timestamp_ms":1784419556000,"timestamp_seconds":1784419556,"priority":1,"record_length":96,"hex_timestamp":"0000019f77b19aa0"} 
[2026-07-19 05:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":99,"n8_eight_byte":151,"data_length":249,"current_offset":136} 
[2026-07-19 05:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:37:06] 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-07-19 05:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:37:06] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136337,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-19 05:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:37:06] 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-07-19 05:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811329280001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811329280001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:37:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:37:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811329280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":136337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:37:06] local.INFO: GPS data processed {"connection_id":136337,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:37:06] local.INFO: Acknowledgment sent {"connection_id":136337,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:37:32] local.INFO: TCP Data received {"connection_id":136211,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:37:32] local.INFO: Processing buffer {"connection_id":136211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:37:32] local.INFO: IMEI packet received {"connection_id":136211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":136211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:37:37] local.INFO: TCP Data received {"connection_id":136211,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:37:37] local.INFO: Processing buffer {"connection_id":136211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:37:37] local.INFO: IMEI packet received {"connection_id":136211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":136211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:37:38] local.INFO: TCP Data received {"connection_id":136211,"ip":"42.106.6.42","data_length":249,"data_hex":"00000000000000ed8e030000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136211,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:37:38] local.INFO: Processing buffer {"connection_id":136211,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:37:38] local.INFO: Packet analysis {"connection_id":136211,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f77b1"} 
[2026-07-19 05:37:38] local.INFO: Extracted packet for processing {"connection_id":136211,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f77b1"} 
[2026-07-19 05:37:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-07-19 05:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811329280001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:37: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-07-19 05:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784419556000,"timestamp_ms":1784419556000,"timestamp_seconds":1784419556,"priority":1,"record_length":96,"hex_timestamp":"0000019f77b19aa0"} 
[2026-07-19 05:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":249,"current_offset":136} 
[2026-07-19 05:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:37:38] 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-07-19 05:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:37:38] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136211,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-19 05:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811329280001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811329280001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:37:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:37:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811329280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":136211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:37:38] local.INFO: GPS data processed {"connection_id":136211,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:37:38] local.INFO: Acknowledgment sent {"connection_id":136211,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:38:09] local.INFO: TCP Data received {"connection_id":136211,"ip":"42.106.6.42","data_length":249,"data_hex":"00000000000000ed8e030000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136211,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:38:09] local.INFO: Processing buffer {"connection_id":136211,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:38:09] local.INFO: Packet analysis {"connection_id":136211,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f77b1"} 
[2026-07-19 05:38:09] local.INFO: Extracted packet for processing {"connection_id":136211,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f77b1"} 
[2026-07-19 05:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-07-19 05:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811329280001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:38: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-07-19 05:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784419556000,"timestamp_ms":1784419556000,"timestamp_seconds":1784419556,"priority":1,"record_length":96,"hex_timestamp":"0000019f77b19aa0"} 
[2026-07-19 05:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":249,"current_offset":136} 
[2026-07-19 05:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:38:09] 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-07-19 05:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:38:09] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136211,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-19 05:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:38:09] 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-07-19 05:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811329280001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811329280001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:38:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811329280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":136211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:38:09] local.INFO: GPS data processed {"connection_id":136211,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:38:09] local.INFO: Acknowledgment sent {"connection_id":136211,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:38:32] local.INFO: TCP Data received {"connection_id":136213,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:38:32] local.INFO: Processing buffer {"connection_id":136213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:38:32] local.INFO: IMEI packet received {"connection_id":136213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":136213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:38:37] local.INFO: TCP Data received {"connection_id":136213,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:38:37] local.INFO: Processing buffer {"connection_id":136213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:38:37] local.INFO: IMEI packet received {"connection_id":136213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":136213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:38:38] local.INFO: TCP Data received {"connection_id":136213,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:38:38] local.INFO: Processing buffer {"connection_id":136213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:38:38] local.INFO: Packet analysis {"connection_id":136213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77b1"} 
[2026-07-19 05:38:38] local.INFO: Extracted packet for processing {"connection_id":136213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77b1"} 
[2026-07-19 05:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811329280001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:38: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-07-19 05:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784419556000,"timestamp_ms":1784419556000,"timestamp_seconds":1784419556,"priority":1,"record_length":96,"hex_timestamp":"0000019f77b19aa0"} 
[2026-07-19 05:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 05:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:38: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-07-19 05:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811329280001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 05:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811329280001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:38:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811329280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":136213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:38:38] local.INFO: GPS data processed {"connection_id":136213,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:38:38] local.INFO: Acknowledgment sent {"connection_id":136213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:39:10] local.INFO: TCP Data received {"connection_id":136213,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:39:10] local.INFO: Processing buffer {"connection_id":136213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:39:10] local.INFO: Packet analysis {"connection_id":136213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77b1"} 
[2026-07-19 05:39:10] local.INFO: Extracted packet for processing {"connection_id":136213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77b1"} 
[2026-07-19 05:39:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811329280001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:39: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-07-19 05:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784419556000,"timestamp_ms":1784419556000,"timestamp_seconds":1784419556,"priority":1,"record_length":96,"hex_timestamp":"0000019f77b19aa0"} 
[2026-07-19 05:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 05:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811329280001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 05:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811329280001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:39:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:39:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811329280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":136213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:39:10] local.INFO: GPS data processed {"connection_id":136213,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:39:10] local.INFO: Acknowledgment sent {"connection_id":136213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:39:37] local.INFO: TCP Data received {"connection_id":137264,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:39:37] local.INFO: Processing buffer {"connection_id":137264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:39:37] local.INFO: IMEI packet received {"connection_id":137264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":137264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:39:42] local.INFO: TCP Data received {"connection_id":137264,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:39:42] local.INFO: Processing buffer {"connection_id":137264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:39:42] local.INFO: IMEI packet received {"connection_id":137264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":137264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:39:43] local.INFO: TCP Data received {"connection_id":137264,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:39:43] local.INFO: Processing buffer {"connection_id":137264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:39:43] local.INFO: Packet analysis {"connection_id":137264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77b1"} 
[2026-07-19 05:39:43] local.INFO: Extracted packet for processing {"connection_id":137264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77b1"} 
[2026-07-19 05:39:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811329280001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:39: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-07-19 05:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784419556000,"timestamp_ms":1784419556000,"timestamp_seconds":1784419556,"priority":1,"record_length":96,"hex_timestamp":"0000019f77b19aa0"} 
[2026-07-19 05:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 05:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:39:43] 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-07-19 05:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811329280001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811329280001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:39:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:39:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811329280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":137264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:39:43] local.INFO: GPS data processed {"connection_id":137264,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:39:43] local.INFO: Acknowledgment sent {"connection_id":137264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:39:48] local.INFO: TCP Data received {"connection_id":137264,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:39:48] local.INFO: Processing buffer {"connection_id":137264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:39:48] local.INFO: Packet analysis {"connection_id":137264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77b1"} 
[2026-07-19 05:39:48] local.INFO: Extracted packet for processing {"connection_id":137264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77b1"} 
[2026-07-19 05:39:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811329280001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 05:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784419556000,"timestamp_ms":1784419556000,"timestamp_seconds":1784419556,"priority":1,"record_length":96,"hex_timestamp":"0000019f77b19aa0"} 
[2026-07-19 05:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 05:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":137264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":137264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":137264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811329280001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811329280001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:39:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:39:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811329280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":137264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:39:48] local.INFO: GPS data processed {"connection_id":137264,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:39:48] local.INFO: Acknowledgment sent {"connection_id":137264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:39:52] local.INFO: TCP Data received {"connection_id":138668,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:39:52] local.INFO: Processing buffer {"connection_id":138668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:39:52] local.INFO: IMEI packet received {"connection_id":138668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 05:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":138668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:40:27] local.INFO: TCP Data received {"connection_id":138669,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:40:27] local.INFO: Processing buffer {"connection_id":138669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:40:27] local.INFO: IMEI packet received {"connection_id":138669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 05:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":138669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:40:34] local.INFO: TCP Data received {"connection_id":137265,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:40:34] local.INFO: Processing buffer {"connection_id":137265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:40:34] local.INFO: IMEI packet received {"connection_id":137265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":137265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:40:37] local.INFO: TCP Data received {"connection_id":137265,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:40:37] local.INFO: Processing buffer {"connection_id":137265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:40:37] local.INFO: IMEI packet received {"connection_id":137265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":137265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:40:39] local.INFO: TCP Data received {"connection_id":137265,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:40:39] local.INFO: Processing buffer {"connection_id":137265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:40:39] local.INFO: Packet analysis {"connection_id":137265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77b1"} 
[2026-07-19 05:40:39] local.INFO: Extracted packet for processing {"connection_id":137265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77b1"} 
[2026-07-19 05:40:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811329280001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:40: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-07-19 05:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784419556000,"timestamp_ms":1784419556000,"timestamp_seconds":1784419556,"priority":1,"record_length":96,"hex_timestamp":"0000019f77b19aa0"} 
[2026-07-19 05:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 05:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":137265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":137265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":137265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:40: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-07-19 05:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811329280001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811329280001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:40:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:40:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811329280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":137265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:40:39] local.INFO: GPS data processed {"connection_id":137265,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:40:39] local.INFO: Acknowledgment sent {"connection_id":137265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:40:43] local.INFO: TCP Data received {"connection_id":137265,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:40:43] local.INFO: Processing buffer {"connection_id":137265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:40:43] local.INFO: Packet analysis {"connection_id":137265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77b1"} 
[2026-07-19 05:40:43] local.INFO: Extracted packet for processing {"connection_id":137265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77b1"} 
[2026-07-19 05:40:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811329280001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05: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-07-19 05:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784419556000,"timestamp_ms":1784419556000,"timestamp_seconds":1784419556,"priority":1,"record_length":96,"hex_timestamp":"0000019f77b19aa0"} 
[2026-07-19 05:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 05:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811329280001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811329280001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:40:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:40:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811329280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":137265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:40:43] local.INFO: GPS data processed {"connection_id":137265,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:40:43] local.INFO: Acknowledgment sent {"connection_id":137265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:41:14] local.INFO: TCP Data received {"connection_id":137265,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:41:14] local.INFO: Processing buffer {"connection_id":137265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77b19aa0012d34c58006aa41400012010121..."} 
[2026-07-19 05:41:14] local.INFO: Packet analysis {"connection_id":137265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77b1"} 
[2026-07-19 05:41:14] local.INFO: Extracted packet for processing {"connection_id":137265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77b1"} 
[2026-07-19 05:41:14] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811329280001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:41: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-07-19 05:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784419556000,"timestamp_ms":1784419556000,"timestamp_seconds":1784419556,"priority":1,"record_length":96,"hex_timestamp":"0000019f77b19aa0"} 
[2026-07-19 05:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 05:41: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-07-19 05:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":137265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":137265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":137265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811329280001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811329280001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:41:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:41:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811329280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":137265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:41:14] local.INFO: GPS data processed {"connection_id":137265,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:41:14] local.INFO: Acknowledgment sent {"connection_id":137265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:41:32] local.INFO: TCP Data received {"connection_id":138670,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:41:32] local.INFO: Processing buffer {"connection_id":138670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:41:32] local.INFO: IMEI packet received {"connection_id":138670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":138670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:41:35] local.INFO: TCP Data received {"connection_id":138670,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:41:36] local.INFO: Processing buffer {"connection_id":138670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:41:36] local.INFO: IMEI packet received {"connection_id":138670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":138670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:41:36] local.INFO: TCP Data received {"connection_id":138670,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:41:36] local.INFO: Processing buffer {"connection_id":138670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:41:36] local.INFO: Packet analysis {"connection_id":138670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:41:36] local.INFO: Extracted packet for processing {"connection_id":138670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811406336001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05: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-07-19 05:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784419857000,"timestamp_ms":1784419857000,"timestamp_seconds":1784419857,"priority":1,"record_length":96,"hex_timestamp":"0000019f77b63268"} 
[2026-07-19 05:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":138670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":138670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":138670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811406336001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 05:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811406336001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:41:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:41:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811406336001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":138670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:41:36] local.INFO: GPS data processed {"connection_id":138670,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:41:36] local.INFO: Acknowledgment sent {"connection_id":138670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:42:08] local.INFO: TCP Data received {"connection_id":138670,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:42:08] local.INFO: Processing buffer {"connection_id":138670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:42:08] local.INFO: Packet analysis {"connection_id":138670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:42:08] local.INFO: Extracted packet for processing {"connection_id":138670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811406336001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:42: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-07-19 05:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784419857000,"timestamp_ms":1784419857000,"timestamp_seconds":1784419857,"priority":1,"record_length":96,"hex_timestamp":"0000019f77b63268"} 
[2026-07-19 05:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:42: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-07-19 05: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-07-19 05:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":138670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":138670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":138670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811406336001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 05:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811406336001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:42:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:42:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811406336001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":138670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:42:08] local.INFO: GPS data processed {"connection_id":138670,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:42:08] local.INFO: Acknowledgment sent {"connection_id":138670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:42:32] local.INFO: TCP Data received {"connection_id":136339,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:42:32] local.INFO: Processing buffer {"connection_id":136339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:42:32] local.INFO: IMEI packet received {"connection_id":136339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":136339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:42:37] local.INFO: TCP Data received {"connection_id":136339,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:42:37] local.INFO: Processing buffer {"connection_id":136339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:42:37] local.INFO: IMEI packet received {"connection_id":136339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":136339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:42:38] local.INFO: TCP Data received {"connection_id":136339,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:42:38] local.INFO: Processing buffer {"connection_id":136339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:42:38] local.INFO: Packet analysis {"connection_id":136339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:42:38] local.INFO: Extracted packet for processing {"connection_id":136339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:42:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811406336001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:42: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-07-19 05:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784419857000,"timestamp_ms":1784419857000,"timestamp_seconds":1784419857,"priority":1,"record_length":96,"hex_timestamp":"0000019f77b63268"} 
[2026-07-19 05:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811406336001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811406336001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:42:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:42:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811406336001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":136339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:42:38] local.INFO: GPS data processed {"connection_id":136339,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:42:38] local.INFO: Acknowledgment sent {"connection_id":136339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:43:10] local.INFO: TCP Data received {"connection_id":136339,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:43:10] local.INFO: Processing buffer {"connection_id":136339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:43:10] local.INFO: Packet analysis {"connection_id":136339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:43:10] local.INFO: Extracted packet for processing {"connection_id":136339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811406336001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:43: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-07-19 05:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784419857000,"timestamp_ms":1784419857000,"timestamp_seconds":1784419857,"priority":1,"record_length":96,"hex_timestamp":"0000019f77b63268"} 
[2026-07-19 05:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811406336001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811406336001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:43:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:43:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811406336001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":136339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:43:10] local.INFO: GPS data processed {"connection_id":136339,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:43:10] local.INFO: Acknowledgment sent {"connection_id":136339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:43:37] local.INFO: TCP Data received {"connection_id":137266,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:43:37] local.INFO: Processing buffer {"connection_id":137266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:43:37] local.INFO: IMEI packet received {"connection_id":137266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":137266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:43:42] local.INFO: TCP Data received {"connection_id":137266,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:43:42] local.INFO: Processing buffer {"connection_id":137266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:43:42] local.INFO: IMEI packet received {"connection_id":137266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":137266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:43:43] local.INFO: TCP Data received {"connection_id":137266,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:43:43] local.INFO: Processing buffer {"connection_id":137266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:43:43] local.INFO: Packet analysis {"connection_id":137266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:43:43] local.INFO: Extracted packet for processing {"connection_id":137266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:43:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811406336001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:43: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-07-19 05:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784419857000,"timestamp_ms":1784419857000,"timestamp_seconds":1784419857,"priority":1,"record_length":96,"hex_timestamp":"0000019f77b63268"} 
[2026-07-19 05:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811406336001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811406336001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:43:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:43:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811406336001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":137266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:43:43] local.INFO: GPS data processed {"connection_id":137266,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:43:43] local.INFO: Acknowledgment sent {"connection_id":137266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:43:49] local.INFO: TCP Data received {"connection_id":137266,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:43:49] local.INFO: Processing buffer {"connection_id":137266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:43:49] local.INFO: Packet analysis {"connection_id":137266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:43:49] local.INFO: Extracted packet for processing {"connection_id":137266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:43:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811406336001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 05:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784419857000,"timestamp_ms":1784419857000,"timestamp_seconds":1784419857,"priority":1,"record_length":96,"hex_timestamp":"0000019f77b63268"} 
[2026-07-19 05:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":137266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":137266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":137266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811406336001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811406336001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:43:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:43:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811406336001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":137266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:43:49] local.INFO: GPS data processed {"connection_id":137266,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:43:49] local.INFO: Acknowledgment sent {"connection_id":137266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:43:53] local.INFO: TCP Data received {"connection_id":137266,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:43:53] local.INFO: Processing buffer {"connection_id":137266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:43:53] local.INFO: Packet analysis {"connection_id":137266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:43:53] local.INFO: Extracted packet for processing {"connection_id":137266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:43:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811406336001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 05:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784419857000,"timestamp_ms":1784419857000,"timestamp_seconds":1784419857,"priority":1,"record_length":96,"hex_timestamp":"0000019f77b63268"} 
[2026-07-19 05:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:43: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-07-19 05: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":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:43: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-07-19 05: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-07-19 05:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":137266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":137266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":137266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811406336001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811406336001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:43:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:43:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811406336001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":137266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:43:53] local.INFO: GPS data processed {"connection_id":137266,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:43:53] local.INFO: Acknowledgment sent {"connection_id":137266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:44:33] local.INFO: TCP Data received {"connection_id":136340,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:44:33] local.INFO: Processing buffer {"connection_id":136340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:44:33] local.INFO: IMEI packet received {"connection_id":136340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":136340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:44:37] local.INFO: TCP Data received {"connection_id":136340,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:44:37] local.INFO: Processing buffer {"connection_id":136340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:44:37] local.INFO: IMEI packet received {"connection_id":136340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":136340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:44:38] local.INFO: TCP Data received {"connection_id":136340,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:44:38] local.INFO: Processing buffer {"connection_id":136340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:44:38] local.INFO: Packet analysis {"connection_id":136340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:44:38] local.INFO: Extracted packet for processing {"connection_id":136340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811406336001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:44: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-07-19 05:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784419857000,"timestamp_ms":1784419857000,"timestamp_seconds":1784419857,"priority":1,"record_length":96,"hex_timestamp":"0000019f77b63268"} 
[2026-07-19 05:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811406336001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811406336001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:44:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811406336001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":136340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:44:38] local.INFO: GPS data processed {"connection_id":136340,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:44:38] local.INFO: Acknowledgment sent {"connection_id":136340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:44:43] local.INFO: TCP Data received {"connection_id":136340,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:44:43] local.INFO: Processing buffer {"connection_id":136340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:44:43] local.INFO: Packet analysis {"connection_id":136340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:44:43] local.INFO: Extracted packet for processing {"connection_id":136340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:44:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811406336001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:44: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-07-19 05:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784419857000,"timestamp_ms":1784419857000,"timestamp_seconds":1784419857,"priority":1,"record_length":96,"hex_timestamp":"0000019f77b63268"} 
[2026-07-19 05:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811406336001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811406336001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:44:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:44:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811406336001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":136340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:44:43] local.INFO: GPS data processed {"connection_id":136340,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:44:43] local.INFO: Acknowledgment sent {"connection_id":136340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:45:14] local.INFO: TCP Data received {"connection_id":136340,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:45:14] local.INFO: Processing buffer {"connection_id":136340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:45:14] local.INFO: Packet analysis {"connection_id":136340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:45:14] local.INFO: Extracted packet for processing {"connection_id":136340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:45:14] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811406336001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:45: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-07-19 05:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784419857000,"timestamp_ms":1784419857000,"timestamp_seconds":1784419857,"priority":1,"record_length":96,"hex_timestamp":"0000019f77b63268"} 
[2026-07-19 05:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":136340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":136340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":136340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811406336001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811406336001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:45:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:45:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811406336001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":136340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:45:14] local.INFO: GPS data processed {"connection_id":136340,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:45:14] local.INFO: Acknowledgment sent {"connection_id":136340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:45:32] local.INFO: TCP Data received {"connection_id":138672,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:45:32] local.INFO: Processing buffer {"connection_id":138672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:45:32] local.INFO: IMEI packet received {"connection_id":138672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":138672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:45:37] local.INFO: TCP Data received {"connection_id":138672,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:45:37] local.INFO: Processing buffer {"connection_id":138672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:45:37] local.INFO: IMEI packet received {"connection_id":138672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":138672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:45:39] local.INFO: TCP Data received {"connection_id":138672,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:45:39] local.INFO: Processing buffer {"connection_id":138672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:45:39] local.INFO: Packet analysis {"connection_id":138672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:45:39] local.INFO: Extracted packet for processing {"connection_id":138672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:45:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811406336001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:45: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-07-19 05:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784419857000,"timestamp_ms":1784419857000,"timestamp_seconds":1784419857,"priority":1,"record_length":96,"hex_timestamp":"0000019f77b63268"} 
[2026-07-19 05:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":138672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":138672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":138672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811406336001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811406336001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:45:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:45:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811406336001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":138672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:45:39] local.INFO: GPS data processed {"connection_id":138672,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:45:39] local.INFO: Acknowledgment sent {"connection_id":138672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:45:52] local.INFO: TCP Data received {"connection_id":136215,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:45:52] local.INFO: Processing buffer {"connection_id":136215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:45:52] local.INFO: IMEI packet received {"connection_id":136215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 05:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":136215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:46:10] local.INFO: TCP Data received {"connection_id":138672,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:46:10] local.INFO: Processing buffer {"connection_id":138672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77b63268012d34c58006aa41400012010125..."} 
[2026-07-19 05:46:10] local.INFO: Packet analysis {"connection_id":138672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:46:10] local.INFO: Extracted packet for processing {"connection_id":138672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77b6"} 
[2026-07-19 05:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":18,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811406336001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:46: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-07-19 05:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784419857000,"timestamp_ms":1784419857000,"timestamp_seconds":1784419857,"priority":1,"record_length":96,"hex_timestamp":"0000019f77b63268"} 
[2026-07-19 05:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 05:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:46: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-07-19 05:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811406336001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811406336001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:46:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811406336001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":138672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:46:10] local.INFO: GPS data processed {"connection_id":138672,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:46:10] local.INFO: Acknowledgment sent {"connection_id":138672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:46:27] local.INFO: TCP Data received {"connection_id":137267,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:46:27] local.INFO: Processing buffer {"connection_id":137267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:46:27] local.INFO: IMEI packet received {"connection_id":137267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 05:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":137267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:46:32] local.INFO: TCP Data received {"connection_id":136342,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:46:32] local.INFO: Processing buffer {"connection_id":136342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:46:32] local.INFO: IMEI packet received {"connection_id":136342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":136342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:46:36] local.INFO: TCP Data received {"connection_id":136342,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:46:36] local.INFO: Processing buffer {"connection_id":136342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:46:36] local.INFO: IMEI packet received {"connection_id":136342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":136342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:46:38] local.INFO: TCP Data received {"connection_id":136342,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:46:38] local.INFO: Processing buffer {"connection_id":136342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:46:38] local.INFO: Packet analysis {"connection_id":136342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ba"} 
[2026-07-19 05:46:38] local.INFO: Extracted packet for processing {"connection_id":136342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ba"} 
[2026-07-19 05:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":31,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811483392001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:46: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-07-19 05:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784420158000,"timestamp_ms":1784420158000,"timestamp_seconds":1784420158,"priority":1,"record_length":96,"hex_timestamp":"0000019f77baca30"} 
[2026-07-19 05:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 05:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:46:38] 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-07-19 05:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811483392001,"66":25560,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811483392001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:46:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:46:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811483392001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":136342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:46:38] local.INFO: GPS data processed {"connection_id":136342,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:46:38] local.INFO: Acknowledgment sent {"connection_id":136342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:47:10] local.INFO: TCP Data received {"connection_id":136342,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:47:10] local.INFO: Processing buffer {"connection_id":136342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:47:10] local.INFO: Packet analysis {"connection_id":136342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ba"} 
[2026-07-19 05:47:10] local.INFO: Extracted packet for processing {"connection_id":136342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ba"} 
[2026-07-19 05:47:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":31,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:47: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-07-19 05:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811483392001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:47: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-07-19 05:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784420158000,"timestamp_ms":1784420158000,"timestamp_seconds":1784420158,"priority":1,"record_length":96,"hex_timestamp":"0000019f77baca30"} 
[2026-07-19 05:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 05:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:47: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-07-19 05:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:47:10] 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-07-19 05:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811483392001,"66":25560,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811483392001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:47:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:47:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811483392001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":136342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:47:10] local.INFO: GPS data processed {"connection_id":136342,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:47:10] local.INFO: Acknowledgment sent {"connection_id":136342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:47:32] local.INFO: TCP Data received {"connection_id":137268,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:47:32] local.INFO: Processing buffer {"connection_id":137268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:47:32] local.INFO: IMEI packet received {"connection_id":137268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":137268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:47:37] local.INFO: TCP Data received {"connection_id":137268,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:47:37] local.INFO: Processing buffer {"connection_id":137268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:47:37] local.INFO: IMEI packet received {"connection_id":137268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":137268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:47:38] local.INFO: TCP Data received {"connection_id":137268,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:47:38] local.INFO: Processing buffer {"connection_id":137268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:47:38] local.INFO: Packet analysis {"connection_id":137268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ba"} 
[2026-07-19 05:47:38] local.INFO: Extracted packet for processing {"connection_id":137268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ba"} 
[2026-07-19 05:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":31,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811483392001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:47: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-07-19 05:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784420158000,"timestamp_ms":1784420158000,"timestamp_seconds":1784420158,"priority":1,"record_length":96,"hex_timestamp":"0000019f77baca30"} 
[2026-07-19 05:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 05:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811483392001,"66":25560,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811483392001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811483392001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":137268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:47:38] local.INFO: GPS data processed {"connection_id":137268,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:47:38] local.INFO: Acknowledgment sent {"connection_id":137268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:48:10] local.INFO: TCP Data received {"connection_id":137268,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:48:10] local.INFO: Processing buffer {"connection_id":137268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:48:10] local.INFO: Packet analysis {"connection_id":137268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ba"} 
[2026-07-19 05:48:10] local.INFO: Extracted packet for processing {"connection_id":137268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ba"} 
[2026-07-19 05:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":31,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811483392001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:48: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-07-19 05:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784420158000,"timestamp_ms":1784420158000,"timestamp_seconds":1784420158,"priority":1,"record_length":96,"hex_timestamp":"0000019f77baca30"} 
[2026-07-19 05:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 05:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:48:10] 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-07-19 05:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811483392001,"66":25560,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811483392001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:48:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811483392001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":137268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:48:10] local.INFO: GPS data processed {"connection_id":137268,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:48:10] local.INFO: Acknowledgment sent {"connection_id":137268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:48:32] local.INFO: TCP Data received {"connection_id":136343,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:48:32] local.INFO: Processing buffer {"connection_id":136343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:48:32] local.INFO: IMEI packet received {"connection_id":136343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":136343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:48:37] local.INFO: TCP Data received {"connection_id":136343,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:48:37] local.INFO: Processing buffer {"connection_id":136343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:48:37] local.INFO: IMEI packet received {"connection_id":136343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":136343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:48:38] local.INFO: TCP Data received {"connection_id":136343,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:48:38] local.INFO: Processing buffer {"connection_id":136343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:48:38] local.INFO: Packet analysis {"connection_id":136343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ba"} 
[2026-07-19 05:48:38] local.INFO: Extracted packet for processing {"connection_id":136343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ba"} 
[2026-07-19 05:48:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":31,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811483392001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:48: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-07-19 05:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784420158000,"timestamp_ms":1784420158000,"timestamp_seconds":1784420158,"priority":1,"record_length":96,"hex_timestamp":"0000019f77baca30"} 
[2026-07-19 05:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 05:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:48: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-07-19 05:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811483392001,"66":25560,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811483392001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:48:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:48:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811483392001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":136343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:48:38] local.INFO: GPS data processed {"connection_id":136343,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:48:38] local.INFO: Acknowledgment sent {"connection_id":136343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:49:09] local.INFO: TCP Data received {"connection_id":136343,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:49:09] local.INFO: Processing buffer {"connection_id":136343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:49:09] local.INFO: Packet analysis {"connection_id":136343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ba"} 
[2026-07-19 05:49:09] local.INFO: Extracted packet for processing {"connection_id":136343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ba"} 
[2026-07-19 05:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":31,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811483392001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:49: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-07-19 05:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784420158000,"timestamp_ms":1784420158000,"timestamp_seconds":1784420158,"priority":1,"record_length":96,"hex_timestamp":"0000019f77baca30"} 
[2026-07-19 05:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 05:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:49: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-07-19 05:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811483392001,"66":25560,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811483392001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:49:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811483392001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":136343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:49:09] local.INFO: GPS data processed {"connection_id":136343,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:49:09] local.INFO: Acknowledgment sent {"connection_id":136343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:49:37] local.INFO: TCP Data received {"connection_id":138676,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:49:37] local.INFO: Processing buffer {"connection_id":138676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:49:37] local.INFO: IMEI packet received {"connection_id":138676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":138676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:49:42] local.INFO: TCP Data received {"connection_id":138676,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:49:42] local.INFO: Processing buffer {"connection_id":138676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:49:42] local.INFO: IMEI packet received {"connection_id":138676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":138676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:49:43] local.INFO: TCP Data received {"connection_id":138676,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:49:43] local.INFO: Processing buffer {"connection_id":138676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:49:43] local.INFO: Packet analysis {"connection_id":138676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ba"} 
[2026-07-19 05:49:43] local.INFO: Extracted packet for processing {"connection_id":138676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ba"} 
[2026-07-19 05:49:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":31,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:49: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-07-19 05:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811483392001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:49: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-07-19 05:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784420158000,"timestamp_ms":1784420158000,"timestamp_seconds":1784420158,"priority":1,"record_length":96,"hex_timestamp":"0000019f77baca30"} 
[2026-07-19 05:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 05:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:49: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-07-19 05:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":138676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":138676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":138676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811483392001,"66":25560,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811483392001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:49:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:49:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811483392001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":138676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:49:43] local.INFO: GPS data processed {"connection_id":138676,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:49:43] local.INFO: Acknowledgment sent {"connection_id":138676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:49:48] local.INFO: TCP Data received {"connection_id":138676,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:49:48] local.INFO: Processing buffer {"connection_id":138676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:49:48] local.INFO: Packet analysis {"connection_id":138676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ba"} 
[2026-07-19 05:49:48] local.INFO: Extracted packet for processing {"connection_id":138676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ba"} 
[2026-07-19 05:49:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":31,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811483392001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 05:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784420158000,"timestamp_ms":1784420158000,"timestamp_seconds":1784420158,"priority":1,"record_length":96,"hex_timestamp":"0000019f77baca30"} 
[2026-07-19 05:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 05:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":138676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":138676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":138676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811483392001,"66":25560,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811483392001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:49:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:49:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811483392001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":138676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:49:48] local.INFO: GPS data processed {"connection_id":138676,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:49:48] local.INFO: Acknowledgment sent {"connection_id":138676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:50:33] local.INFO: TCP Data received {"connection_id":136217,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:50:33] local.INFO: Processing buffer {"connection_id":136217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:50:33] local.INFO: IMEI packet received {"connection_id":136217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":136217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:50:37] local.INFO: TCP Data received {"connection_id":136217,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:50:37] local.INFO: Processing buffer {"connection_id":136217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:50:37] local.INFO: IMEI packet received {"connection_id":136217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":136217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:50:38] local.INFO: TCP Data received {"connection_id":136217,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:50:38] local.INFO: Processing buffer {"connection_id":136217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:50:38] local.INFO: Packet analysis {"connection_id":136217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ba"} 
[2026-07-19 05:50:38] local.INFO: Extracted packet for processing {"connection_id":136217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ba"} 
[2026-07-19 05:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":31,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811483392001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:50: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-07-19 05:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784420158000,"timestamp_ms":1784420158000,"timestamp_seconds":1784420158,"priority":1,"record_length":96,"hex_timestamp":"0000019f77baca30"} 
[2026-07-19 05:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 05:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811483392001,"66":25560,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811483392001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:50:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:50:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811483392001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":136217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:50:38] local.INFO: GPS data processed {"connection_id":136217,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:50:38] local.INFO: Acknowledgment sent {"connection_id":136217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:50:43] local.INFO: TCP Data received {"connection_id":136217,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:50:43] local.INFO: Processing buffer {"connection_id":136217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:50:43] local.INFO: Packet analysis {"connection_id":136217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ba"} 
[2026-07-19 05:50:43] local.INFO: Extracted packet for processing {"connection_id":136217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ba"} 
[2026-07-19 05:50:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":31,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811483392001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:50: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-07-19 05:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784420158000,"timestamp_ms":1784420158000,"timestamp_seconds":1784420158,"priority":1,"record_length":96,"hex_timestamp":"0000019f77baca30"} 
[2026-07-19 05:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 05:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811483392001,"66":25560,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811483392001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:50:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:50:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811483392001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":136217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:50:43] local.INFO: GPS data processed {"connection_id":136217,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:50:43] local.INFO: Acknowledgment sent {"connection_id":136217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:51:15] local.INFO: TCP Data received {"connection_id":136217,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:51:15] local.INFO: Processing buffer {"connection_id":136217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77baca30012d34c58006aa4140001f010123..."} 
[2026-07-19 05:51:15] local.INFO: Packet analysis {"connection_id":136217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ba"} 
[2026-07-19 05:51:15] local.INFO: Extracted packet for processing {"connection_id":136217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ba"} 
[2026-07-19 05:51:15] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":31,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811483392001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 05:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784420158000,"timestamp_ms":1784420158000,"timestamp_seconds":1784420158,"priority":1,"record_length":96,"hex_timestamp":"0000019f77baca30"} 
[2026-07-19 05:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 05:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":136217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":136217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":136217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:51:15] 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-07-19 05:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811483392001,"66":25560,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811483392001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:51:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:51:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811483392001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":136217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:51:15] local.INFO: GPS data processed {"connection_id":136217,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:51:15] local.INFO: Acknowledgment sent {"connection_id":136217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:51:35] local.INFO: TCP Data received {"connection_id":137270,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:51:35] local.INFO: Processing buffer {"connection_id":137270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:51:35] local.INFO: IMEI packet received {"connection_id":137270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":137270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:51:37] local.INFO: TCP Data received {"connection_id":137270,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:51:37] local.INFO: Processing buffer {"connection_id":137270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:51:37] local.INFO: IMEI packet received {"connection_id":137270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":137270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:51:39] local.INFO: TCP Data received {"connection_id":137270,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:51:39] local.INFO: Processing buffer {"connection_id":137270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:51:39] local.INFO: Packet analysis {"connection_id":137270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:51:39] local.INFO: Extracted packet for processing {"connection_id":137270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:51:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811560448001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:51: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-07-19 05:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784420459000,"timestamp_ms":1784420459000,"timestamp_seconds":1784420459,"priority":1,"record_length":96,"hex_timestamp":"0000019f77bf61f8"} 
[2026-07-19 05:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 05:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":137270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":137270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":137270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:51: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-07-19 05:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811560448001,"66":25473,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811560448001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:51:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:51:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811560448001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":137270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:51:39] local.INFO: GPS data processed {"connection_id":137270,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:51:39] local.INFO: Acknowledgment sent {"connection_id":137270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:51:40] local.INFO: TCP Data received {"connection_id":137270,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:51:40] local.INFO: Processing buffer {"connection_id":137270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:51:40] local.INFO: Packet analysis {"connection_id":137270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:51:40] local.INFO: Extracted packet for processing {"connection_id":137270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:51:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811560448001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05: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-07-19 05:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784420459000,"timestamp_ms":1784420459000,"timestamp_seconds":1784420459,"priority":1,"record_length":96,"hex_timestamp":"0000019f77bf61f8"} 
[2026-07-19 05:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":216,"data_length":795,"current_offset":136} 
[2026-07-19 05:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":137270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":137270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":137270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811560448001,"66":25473,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811560448001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:51:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:51:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811560448001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":137270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:51:40] local.INFO: GPS data processed {"connection_id":137270,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:51:40] local.INFO: Acknowledgment sent {"connection_id":137270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:51:42] local.INFO: TCP Data received {"connection_id":137269,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137269,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:51:42] local.INFO: Processing buffer {"connection_id":137269,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:51:42] local.INFO: IMEI packet received {"connection_id":137269,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 05:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":137269,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:52:11] local.INFO: TCP Data received {"connection_id":137270,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:52:11] local.INFO: Processing buffer {"connection_id":137270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:52:11] local.INFO: Packet analysis {"connection_id":137270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:52:11] local.INFO: Extracted packet for processing {"connection_id":137270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:52:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811560448001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:52: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-07-19 05:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784420459000,"timestamp_ms":1784420459000,"timestamp_seconds":1784420459,"priority":1,"record_length":96,"hex_timestamp":"0000019f77bf61f8"} 
[2026-07-19 05:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 05:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":137270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":137270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":137270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:52: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-07-19 05:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811560448001,"66":25473,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811560448001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:52:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:52:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811560448001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":137270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:52:11] local.INFO: GPS data processed {"connection_id":137270,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:52:11] local.INFO: Acknowledgment sent {"connection_id":137270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:52:27] local.INFO: TCP Data received {"connection_id":136218,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:52:27] local.INFO: Processing buffer {"connection_id":136218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:52:27] local.INFO: IMEI packet received {"connection_id":136218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 05:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":136218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:52:32] local.INFO: TCP Data received {"connection_id":137271,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:52:32] local.INFO: Processing buffer {"connection_id":137271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:52:32] local.INFO: IMEI packet received {"connection_id":137271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":137271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:52:37] local.INFO: TCP Data received {"connection_id":137271,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:52:37] local.INFO: Processing buffer {"connection_id":137271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:52:37] local.INFO: IMEI packet received {"connection_id":137271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":137271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:52:39] local.INFO: TCP Data received {"connection_id":137271,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:52:39] local.INFO: Processing buffer {"connection_id":137271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:52:39] local.INFO: Packet analysis {"connection_id":137271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:52:39] local.INFO: Extracted packet for processing {"connection_id":137271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:52:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811560448001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05: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-07-19 05:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784420459000,"timestamp_ms":1784420459000,"timestamp_seconds":1784420459,"priority":1,"record_length":96,"hex_timestamp":"0000019f77bf61f8"} 
[2026-07-19 05:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":216,"data_length":795,"current_offset":136} 
[2026-07-19 05:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":137271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":137271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":137271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:52:39] 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-07-19 05:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811560448001,"66":25473,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811560448001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:52:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:52:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811560448001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":137271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:52:39] local.INFO: GPS data processed {"connection_id":137271,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:52:39] local.INFO: Acknowledgment sent {"connection_id":137271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:53:10] local.INFO: TCP Data received {"connection_id":137271,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:53:10] local.INFO: Processing buffer {"connection_id":137271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:53:10] local.INFO: Packet analysis {"connection_id":137271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:53:10] local.INFO: Extracted packet for processing {"connection_id":137271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811560448001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:53: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-07-19 05:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784420459000,"timestamp_ms":1784420459000,"timestamp_seconds":1784420459,"priority":1,"record_length":96,"hex_timestamp":"0000019f77bf61f8"} 
[2026-07-19 05:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 05:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:53:10] 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-07-19 05:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811560448001,"66":25473,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811560448001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:53:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811560448001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":137271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:53:10] local.INFO: GPS data processed {"connection_id":137271,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:53:10] local.INFO: Acknowledgment sent {"connection_id":137271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:53:32] local.INFO: TCP Data received {"connection_id":136219,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:53:32] local.INFO: Processing buffer {"connection_id":136219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:53:32] local.INFO: IMEI packet received {"connection_id":136219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":136219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:53:37] local.INFO: TCP Data received {"connection_id":136219,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:53:37] local.INFO: Processing buffer {"connection_id":136219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:53:37] local.INFO: IMEI packet received {"connection_id":136219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":136219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:53:38] local.INFO: TCP Data received {"connection_id":136219,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:53:38] local.INFO: Processing buffer {"connection_id":136219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:53:38] local.INFO: Packet analysis {"connection_id":136219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:53:38] local.INFO: Extracted packet for processing {"connection_id":136219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811560448001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:53: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-07-19 05:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784420459000,"timestamp_ms":1784420459000,"timestamp_seconds":1784420459,"priority":1,"record_length":96,"hex_timestamp":"0000019f77bf61f8"} 
[2026-07-19 05:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 05:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:53: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-07-19 05:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811560448001,"66":25473,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811560448001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811560448001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":136219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:53:38] local.INFO: GPS data processed {"connection_id":136219,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:53:38] local.INFO: Acknowledgment sent {"connection_id":136219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:54:09] local.INFO: TCP Data received {"connection_id":136219,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:54:09] local.INFO: Processing buffer {"connection_id":136219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:54:09] local.INFO: Packet analysis {"connection_id":136219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:54:09] local.INFO: Extracted packet for processing {"connection_id":136219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811560448001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05: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-07-19 05:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784420459000,"timestamp_ms":1784420459000,"timestamp_seconds":1784420459,"priority":1,"record_length":96,"hex_timestamp":"0000019f77bf61f8"} 
[2026-07-19 05:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 05:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:54: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-07-19 05:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811560448001,"66":25473,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811560448001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811560448001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":136219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:54:09] local.INFO: GPS data processed {"connection_id":136219,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:54:09] local.INFO: Acknowledgment sent {"connection_id":136219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:54:37] local.INFO: TCP Data received {"connection_id":138677,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:54:37] local.INFO: Processing buffer {"connection_id":138677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:54:37] local.INFO: IMEI packet received {"connection_id":138677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":138677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:54:42] local.INFO: TCP Data received {"connection_id":138677,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:54:42] local.INFO: Processing buffer {"connection_id":138677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:54:42] local.INFO: IMEI packet received {"connection_id":138677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":138677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:54:43] local.INFO: TCP Data received {"connection_id":138677,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:54:43] local.INFO: Processing buffer {"connection_id":138677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:54:43] local.INFO: Packet analysis {"connection_id":138677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:54:43] local.INFO: Extracted packet for processing {"connection_id":138677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:54:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811560448001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:54: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-07-19 05:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784420459000,"timestamp_ms":1784420459000,"timestamp_seconds":1784420459,"priority":1,"record_length":96,"hex_timestamp":"0000019f77bf61f8"} 
[2026-07-19 05:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 05:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":138677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":138677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":138677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:54:43] 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-07-19 05:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811560448001,"66":25473,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811560448001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:54:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:54:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811560448001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":138677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:54:43] local.INFO: GPS data processed {"connection_id":138677,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:54:43] local.INFO: Acknowledgment sent {"connection_id":138677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:55:14] local.INFO: TCP Data received {"connection_id":138677,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:55:14] local.INFO: Processing buffer {"connection_id":138677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:55:14] local.INFO: Packet analysis {"connection_id":138677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:55:14] local.INFO: Extracted packet for processing {"connection_id":138677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:55:14] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811560448001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:55: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-07-19 05:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784420459000,"timestamp_ms":1784420459000,"timestamp_seconds":1784420459,"priority":1,"record_length":96,"hex_timestamp":"0000019f77bf61f8"} 
[2026-07-19 05:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 05:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":138677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":138677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":138677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:55:14] 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-07-19 05:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811560448001,"66":25473,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811560448001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:55:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:55:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811560448001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":138677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:55:14] local.INFO: GPS data processed {"connection_id":138677,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:55:14] local.INFO: Acknowledgment sent {"connection_id":138677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:55:32] local.INFO: TCP Data received {"connection_id":136347,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:55:32] local.INFO: Processing buffer {"connection_id":136347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:55:32] local.INFO: IMEI packet received {"connection_id":136347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":136347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:55:37] local.INFO: TCP Data received {"connection_id":136347,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:55:37] local.INFO: Processing buffer {"connection_id":136347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:55:37] local.INFO: IMEI packet received {"connection_id":136347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":136347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:55:38] local.INFO: TCP Data received {"connection_id":136347,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:55:38] local.INFO: Processing buffer {"connection_id":136347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:55:38] local.INFO: Packet analysis {"connection_id":136347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:55:38] local.INFO: Extracted packet for processing {"connection_id":136347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811560448001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:55: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-07-19 05:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784420459000,"timestamp_ms":1784420459000,"timestamp_seconds":1784420459,"priority":1,"record_length":96,"hex_timestamp":"0000019f77bf61f8"} 
[2026-07-19 05:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 05:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:55: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-07-19 05:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811560448001,"66":25473,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811560448001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:55:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811560448001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":136347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:55:38] local.INFO: GPS data processed {"connection_id":136347,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:55:38] local.INFO: Acknowledgment sent {"connection_id":136347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:56:10] local.INFO: TCP Data received {"connection_id":136347,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:56:10] local.INFO: Processing buffer {"connection_id":136347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:56:10] local.INFO: Packet analysis {"connection_id":136347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:56:10] local.INFO: Extracted packet for processing {"connection_id":136347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811560448001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:56: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-07-19 05:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784420459000,"timestamp_ms":1784420459000,"timestamp_seconds":1784420459,"priority":1,"record_length":96,"hex_timestamp":"0000019f77bf61f8"} 
[2026-07-19 05:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 05:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:56:10] 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-07-19 05:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811560448001,"66":25473,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811560448001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:56:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811560448001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":136347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:56:10] local.INFO: GPS data processed {"connection_id":136347,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:56:10] local.INFO: Acknowledgment sent {"connection_id":136347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:56:33] local.INFO: TCP Data received {"connection_id":136220,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:56:33] local.INFO: Processing buffer {"connection_id":136220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:56:33] local.INFO: IMEI packet received {"connection_id":136220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":136220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:56:37] local.INFO: TCP Data received {"connection_id":136220,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:56:37] local.INFO: Processing buffer {"connection_id":136220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:56:37] local.INFO: IMEI packet received {"connection_id":136220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":136220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:56:38] local.INFO: TCP Data received {"connection_id":136220,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:56:38] local.INFO: Processing buffer {"connection_id":136220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77bf61f8012d34c58006aa4140000f010122..."} 
[2026-07-19 05:56:38] local.INFO: Packet analysis {"connection_id":136220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:56:38] local.INFO: Extracted packet for processing {"connection_id":136220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77bf"} 
[2026-07-19 05:56:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811560448001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05: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-07-19 05:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784420459000,"timestamp_ms":1784420459000,"timestamp_seconds":1784420459,"priority":1,"record_length":96,"hex_timestamp":"0000019f77bf61f8"} 
[2026-07-19 05:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 05:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:56: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-07-19 05:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811560448001,"66":25473,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811560448001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:56:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:56:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811560448001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":136220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:56:38] local.INFO: GPS data processed {"connection_id":136220,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:56:38] local.INFO: Acknowledgment sent {"connection_id":136220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:57:09] local.INFO: TCP Data received {"connection_id":136220,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 05:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 05:57:09] local.INFO: Processing buffer {"connection_id":136220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 05:57:09] local.INFO: Packet analysis {"connection_id":136220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77c3"} 
[2026-07-19 05:57:09] local.INFO: Extracted packet for processing {"connection_id":136220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77c3"} 
[2026-07-19 05:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811637504001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:57: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-07-19 05:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784420760000,"timestamp_ms":1784420760000,"timestamp_seconds":1784420760,"priority":1,"record_length":96,"hex_timestamp":"0000019f77c3f9c0"} 
[2026-07-19 05:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:57: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-07-19 05:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 05:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:57: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-07-19 05:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811637504001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811637504001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:57:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811637504001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":136220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:57:09] local.INFO: GPS data processed {"connection_id":136220,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:57:09] local.INFO: Acknowledgment sent {"connection_id":136220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:57:32] local.INFO: TCP Data received {"connection_id":138679,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:57:32] local.INFO: Processing buffer {"connection_id":138679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:57:32] local.INFO: IMEI packet received {"connection_id":138679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":138679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:57:34] local.INFO: TCP Data received {"connection_id":138678,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:57:34] local.INFO: Processing buffer {"connection_id":138678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 05:57:34] local.INFO: IMEI packet received {"connection_id":138678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 05:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":138678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:57:37] local.INFO: TCP Data received {"connection_id":138679,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:57:37] local.INFO: Processing buffer {"connection_id":138679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:57:37] local.INFO: IMEI packet received {"connection_id":138679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":138679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:57:39] local.INFO: TCP Data received {"connection_id":138679,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 05:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 05:57:39] local.INFO: Processing buffer {"connection_id":138679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 05:57:39] local.INFO: Packet analysis {"connection_id":138679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77c3"} 
[2026-07-19 05:57:39] local.INFO: Extracted packet for processing {"connection_id":138679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77c3"} 
[2026-07-19 05:57:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811637504001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:57: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-07-19 05:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784420760000,"timestamp_ms":1784420760000,"timestamp_seconds":1784420760,"priority":1,"record_length":96,"hex_timestamp":"0000019f77c3f9c0"} 
[2026-07-19 05:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 05:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":138679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":138679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":138679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:57: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-07-19 05:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811637504001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811637504001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:57:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:57:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811637504001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":138679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:57:39] local.INFO: GPS data processed {"connection_id":138679,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:57:39] local.INFO: Acknowledgment sent {"connection_id":138679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:58:10] local.INFO: TCP Data received {"connection_id":138679,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 05:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 05:58:10] local.INFO: Processing buffer {"connection_id":138679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 05:58:10] local.INFO: Packet analysis {"connection_id":138679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77c3"} 
[2026-07-19 05:58:10] local.INFO: Extracted packet for processing {"connection_id":138679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77c3"} 
[2026-07-19 05:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811637504001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:58: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-07-19 05:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784420760000,"timestamp_ms":1784420760000,"timestamp_seconds":1784420760,"priority":1,"record_length":96,"hex_timestamp":"0000019f77c3f9c0"} 
[2026-07-19 05:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 05:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:58:10] 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-07-19 05:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811637504001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811637504001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:58:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811637504001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":138679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:58:10] local.INFO: GPS data processed {"connection_id":138679,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:58:10] local.INFO: Acknowledgment sent {"connection_id":138679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:58:32] local.INFO: TCP Data received {"connection_id":136350,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:58:32] local.INFO: Processing buffer {"connection_id":136350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:58:32] local.INFO: IMEI packet received {"connection_id":136350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":136350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:58:37] local.INFO: TCP Data received {"connection_id":136350,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:58:37] local.INFO: Processing buffer {"connection_id":136350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:58:37] local.INFO: IMEI packet received {"connection_id":136350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":136350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:58:38] local.INFO: TCP Data received {"connection_id":136350,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 05:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 05:58:38] local.INFO: Processing buffer {"connection_id":136350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 05:58:38] local.INFO: Packet analysis {"connection_id":136350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77c3"} 
[2026-07-19 05:58:38] local.INFO: Extracted packet for processing {"connection_id":136350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77c3"} 
[2026-07-19 05:58:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811637504001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:58: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-07-19 05:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784420760000,"timestamp_ms":1784420760000,"timestamp_seconds":1784420760,"priority":1,"record_length":96,"hex_timestamp":"0000019f77c3f9c0"} 
[2026-07-19 05:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 05:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:58: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-07-19 05:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811637504001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811637504001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811637504001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":136350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:58:38] local.INFO: GPS data processed {"connection_id":136350,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:58:38] local.INFO: Acknowledgment sent {"connection_id":136350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:59:10] local.INFO: TCP Data received {"connection_id":136350,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 05:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 05:59:10] local.INFO: Processing buffer {"connection_id":136350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 05:59:10] local.INFO: Packet analysis {"connection_id":136350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77c3"} 
[2026-07-19 05:59:10] local.INFO: Extracted packet for processing {"connection_id":136350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77c3"} 
[2026-07-19 05:59:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05: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-07-19 05:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811637504001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05: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-07-19 05:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784420760000,"timestamp_ms":1784420760000,"timestamp_seconds":1784420760,"priority":1,"record_length":96,"hex_timestamp":"0000019f77c3f9c0"} 
[2026-07-19 05:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 05:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05: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-07-19 05:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:59:10] 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-07-19 05:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811637504001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811637504001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:59:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:59:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811637504001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":136350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:59:10] local.INFO: GPS data processed {"connection_id":136350,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:59:10] local.INFO: Acknowledgment sent {"connection_id":136350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:59:37] local.INFO: TCP Data received {"connection_id":138680,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:59:37] local.INFO: Processing buffer {"connection_id":138680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:59:37] local.INFO: IMEI packet received {"connection_id":138680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 05:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":138680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 05:59:42] local.INFO: TCP Data received {"connection_id":138680,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:59:42] local.INFO: Processing buffer {"connection_id":138680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 05:59:42] local.INFO: IMEI packet received {"connection_id":138680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 05:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":138680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 05:59:43] local.INFO: TCP Data received {"connection_id":138680,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 05:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 05:59:43] local.INFO: Processing buffer {"connection_id":138680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 05:59:43] local.INFO: Packet analysis {"connection_id":138680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77c3"} 
[2026-07-19 05:59:43] local.INFO: Extracted packet for processing {"connection_id":138680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77c3"} 
[2026-07-19 05:59:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811637504001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:59: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-07-19 05:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784420760000,"timestamp_ms":1784420760000,"timestamp_seconds":1784420760,"priority":1,"record_length":96,"hex_timestamp":"0000019f77c3f9c0"} 
[2026-07-19 05:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 05:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":138680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":138680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":138680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:59:43] 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-07-19 05:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811637504001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811637504001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:59:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:59:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811637504001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":138680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:59:43] local.INFO: GPS data processed {"connection_id":138680,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:59:43] local.INFO: Acknowledgment sent {"connection_id":138680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 05:59:48] local.INFO: TCP Data received {"connection_id":138680,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 05:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 05:59:48] local.INFO: Processing buffer {"connection_id":138680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 05:59:48] local.INFO: Packet analysis {"connection_id":138680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77c3"} 
[2026-07-19 05:59:48] local.INFO: Extracted packet for processing {"connection_id":138680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77c3"} 
[2026-07-19 05:59:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 05:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 05:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811637504001,"note":"Value kept but may cause issues"} 
[2026-07-19 05:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 05:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 05:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 05:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784420760000,"timestamp_ms":1784420760000,"timestamp_seconds":1784420760,"priority":1,"record_length":96,"hex_timestamp":"0000019f77c3f9c0"} 
[2026-07-19 05:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 05:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 05:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 05:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 05:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 05:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 05:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 05:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":138680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 05:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":138680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":138680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 05:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 05:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 05:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 05:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811637504001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 05:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 05:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 05:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811637504001,"description":"Unknown IO ID 0"} 
[2026-07-19 05:59:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 05:59:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 05:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 05:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 05:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811637504001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 05:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":138680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 05:59:48] local.INFO: GPS data processed {"connection_id":138680,"processed":1,"errors":0,"total":1} 
[2026-07-19 05:59:48] local.INFO: Acknowledgment sent {"connection_id":138680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:00:34] local.INFO: TCP Data received {"connection_id":136222,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:00:34] local.INFO: Processing buffer {"connection_id":136222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:00:34] local.INFO: IMEI packet received {"connection_id":136222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":136222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:00:37] local.INFO: TCP Data received {"connection_id":136222,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:00:37] local.INFO: Processing buffer {"connection_id":136222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:00:37] local.INFO: IMEI packet received {"connection_id":136222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":136222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:00:38] local.INFO: TCP Data received {"connection_id":136222,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 06:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 06:00:38] local.INFO: Processing buffer {"connection_id":136222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 06:00:38] local.INFO: Packet analysis {"connection_id":136222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77c3"} 
[2026-07-19 06:00:38] local.INFO: Extracted packet for processing {"connection_id":136222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77c3"} 
[2026-07-19 06:00:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811637504001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:00: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-07-19 06:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784420760000,"timestamp_ms":1784420760000,"timestamp_seconds":1784420760,"priority":1,"record_length":96,"hex_timestamp":"0000019f77c3f9c0"} 
[2026-07-19 06:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 06:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811637504001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811637504001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:00:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:00:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811637504001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":136222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:00:38] local.INFO: GPS data processed {"connection_id":136222,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:00:38] local.INFO: Acknowledgment sent {"connection_id":136222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:00:43] local.INFO: TCP Data received {"connection_id":136222,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 06:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 06:00:43] local.INFO: Processing buffer {"connection_id":136222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 06:00:43] local.INFO: Packet analysis {"connection_id":136222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77c3"} 
[2026-07-19 06:00:43] local.INFO: Extracted packet for processing {"connection_id":136222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77c3"} 
[2026-07-19 06:00:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811637504001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:00: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-07-19 06:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784420760000,"timestamp_ms":1784420760000,"timestamp_seconds":1784420760,"priority":1,"record_length":96,"hex_timestamp":"0000019f77c3f9c0"} 
[2026-07-19 06:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 06:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811637504001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811637504001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:00:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:00:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811637504001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":136222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:00:43] local.INFO: GPS data processed {"connection_id":136222,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:00:43] local.INFO: Acknowledgment sent {"connection_id":136222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:01:14] local.INFO: TCP Data received {"connection_id":136222,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 06:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 06:01:14] local.INFO: Processing buffer {"connection_id":136222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77c3f9c0012d34c58006aa4140000f01011f..."} 
[2026-07-19 06:01:14] local.INFO: Packet analysis {"connection_id":136222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77c3"} 
[2026-07-19 06:01:14] local.INFO: Extracted packet for processing {"connection_id":136222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77c3"} 
[2026-07-19 06:01:14] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811637504001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:01: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-07-19 06:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784420760000,"timestamp_ms":1784420760000,"timestamp_seconds":1784420760,"priority":1,"record_length":96,"hex_timestamp":"0000019f77c3f9c0"} 
[2026-07-19 06:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 06:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":136222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":136222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":136222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:01:14] 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-07-19 06:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811637504001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811637504001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:01:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:01:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811637504001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":136222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:01:14] local.INFO: GPS data processed {"connection_id":136222,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:01:14] local.INFO: Acknowledgment sent {"connection_id":136222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:01:32] local.INFO: TCP Data received {"connection_id":137274,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:01:32] local.INFO: Processing buffer {"connection_id":137274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:01:32] local.INFO: IMEI packet received {"connection_id":137274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":137274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:01:37] local.INFO: TCP Data received {"connection_id":137274,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:01:37] local.INFO: Processing buffer {"connection_id":137274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:01:37] local.INFO: IMEI packet received {"connection_id":137274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":137274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:01:39] local.INFO: TCP Data received {"connection_id":137274,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:01:39] local.INFO: Processing buffer {"connection_id":137274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:01:39] local.INFO: IMEI packet received {"connection_id":137274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":137274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:01:42] local.INFO: TCP Data received {"connection_id":137274,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:01:42] local.INFO: Processing buffer {"connection_id":137274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:01:42] local.INFO: IMEI packet received {"connection_id":137274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":137274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:01:43] local.INFO: TCP Data received {"connection_id":137274,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:01:43] local.INFO: Processing buffer {"connection_id":137274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:01:43] local.INFO: Packet analysis {"connection_id":137274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77c8"} 
[2026-07-19 06:01:43] local.INFO: Extracted packet for processing {"connection_id":137274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77c8"} 
[2026-07-19 06:01:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811714560001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:01: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-07-19 06:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784421061000,"timestamp_ms":1784421061000,"timestamp_seconds":1784421061,"priority":1,"record_length":96,"hex_timestamp":"0000019f77c89188"} 
[2026-07-19 06:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:01:43] 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-07-19 06:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811714560001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811714560001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:01:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:01:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811714560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":137274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:01:43] local.INFO: GPS data processed {"connection_id":137274,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:01:43] local.INFO: Acknowledgment sent {"connection_id":137274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:01:48] local.INFO: TCP Data received {"connection_id":137274,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:01:48] local.INFO: Processing buffer {"connection_id":137274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:01:48] local.INFO: Packet analysis {"connection_id":137274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77c8"} 
[2026-07-19 06:01:48] local.INFO: Extracted packet for processing {"connection_id":137274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77c8"} 
[2026-07-19 06:01:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811714560001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 06:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784421061000,"timestamp_ms":1784421061000,"timestamp_seconds":1784421061,"priority":1,"record_length":96,"hex_timestamp":"0000019f77c89188"} 
[2026-07-19 06:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":137274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":137274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":137274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811714560001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811714560001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:01:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:01:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811714560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":137274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:01:48] local.INFO: GPS data processed {"connection_id":137274,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:01:48] local.INFO: Acknowledgment sent {"connection_id":137274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:02:32] local.INFO: TCP Data received {"connection_id":138682,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:02:32] local.INFO: Processing buffer {"connection_id":138682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:02:32] local.INFO: IMEI packet received {"connection_id":138682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":138682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:02:37] local.INFO: TCP Data received {"connection_id":138682,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:02:37] local.INFO: Processing buffer {"connection_id":138682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:02:37] local.INFO: IMEI packet received {"connection_id":138682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":138682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:02:38] local.INFO: TCP Data received {"connection_id":138682,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:02:38] local.INFO: Processing buffer {"connection_id":138682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:02:38] local.INFO: Packet analysis {"connection_id":138682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77c8"} 
[2026-07-19 06:02:38] local.INFO: Extracted packet for processing {"connection_id":138682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77c8"} 
[2026-07-19 06:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811714560001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:02: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-07-19 06:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784421061000,"timestamp_ms":1784421061000,"timestamp_seconds":1784421061,"priority":1,"record_length":96,"hex_timestamp":"0000019f77c89188"} 
[2026-07-19 06:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:02: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-07-19 06:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811714560001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 06:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811714560001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:02:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:02:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811714560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":138682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:02:38] local.INFO: GPS data processed {"connection_id":138682,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:02:38] local.INFO: Acknowledgment sent {"connection_id":138682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:03:02] local.INFO: TCP Data received {"connection_id":138681,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138681,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:03:02] local.INFO: Processing buffer {"connection_id":138681,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:03:02] local.INFO: IMEI packet received {"connection_id":138681,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 06:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":138681,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:03:10] local.INFO: TCP Data received {"connection_id":138682,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:03:10] local.INFO: Processing buffer {"connection_id":138682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:03:10] local.INFO: Packet analysis {"connection_id":138682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77c8"} 
[2026-07-19 06:03:10] local.INFO: Extracted packet for processing {"connection_id":138682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77c8"} 
[2026-07-19 06:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811714560001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:03: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-07-19 06:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784421061000,"timestamp_ms":1784421061000,"timestamp_seconds":1784421061,"priority":1,"record_length":96,"hex_timestamp":"0000019f77c89188"} 
[2026-07-19 06:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811714560001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 06:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811714560001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:03:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:03:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811714560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":138682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:03:10] local.INFO: GPS data processed {"connection_id":138682,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:03:10] local.INFO: Acknowledgment sent {"connection_id":138682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:03:27] local.INFO: TCP Data received {"connection_id":136352,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:03:27] local.INFO: Processing buffer {"connection_id":136352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:03:27] local.INFO: IMEI packet received {"connection_id":136352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 06:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":136352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:03:32] local.INFO: TCP Data received {"connection_id":136223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:03:32] local.INFO: Processing buffer {"connection_id":136223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:03:32] local.INFO: IMEI packet received {"connection_id":136223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":136223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:03:37] local.INFO: TCP Data received {"connection_id":136223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:03:37] local.INFO: Processing buffer {"connection_id":136223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:03:37] local.INFO: IMEI packet received {"connection_id":136223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":136223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:03:38] local.INFO: TCP Data received {"connection_id":136223,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:03:38] local.INFO: Processing buffer {"connection_id":136223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:03:38] local.INFO: Packet analysis {"connection_id":136223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77c8"} 
[2026-07-19 06:03:38] local.INFO: Extracted packet for processing {"connection_id":136223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77c8"} 
[2026-07-19 06:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811714560001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:03: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-07-19 06:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784421061000,"timestamp_ms":1784421061000,"timestamp_seconds":1784421061,"priority":1,"record_length":96,"hex_timestamp":"0000019f77c89188"} 
[2026-07-19 06:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:03: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-07-19 06:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811714560001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 06:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811714560001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:03:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:03:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811714560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":136223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:03:38] local.INFO: GPS data processed {"connection_id":136223,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:03:38] local.INFO: Acknowledgment sent {"connection_id":136223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:04:09] local.INFO: TCP Data received {"connection_id":136223,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:04:09] local.INFO: Processing buffer {"connection_id":136223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:04:09] local.INFO: Packet analysis {"connection_id":136223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77c8"} 
[2026-07-19 06:04:09] local.INFO: Extracted packet for processing {"connection_id":136223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77c8"} 
[2026-07-19 06:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811714560001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:04: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-07-19 06:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784421061000,"timestamp_ms":1784421061000,"timestamp_seconds":1784421061,"priority":1,"record_length":96,"hex_timestamp":"0000019f77c89188"} 
[2026-07-19 06:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:04: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-07-19 06: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:04: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-07-19 06:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811714560001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 06:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811714560001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:04:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:04:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811714560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":136223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:04:09] local.INFO: GPS data processed {"connection_id":136223,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:04:09] local.INFO: Acknowledgment sent {"connection_id":136223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:04:32] local.INFO: TCP Data received {"connection_id":136224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:04:32] local.INFO: Processing buffer {"connection_id":136224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:04:32] local.INFO: IMEI packet received {"connection_id":136224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":136224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:04:37] local.INFO: TCP Data received {"connection_id":136224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:04:37] local.INFO: Processing buffer {"connection_id":136224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:04:37] local.INFO: IMEI packet received {"connection_id":136224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":136224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:04:38] local.INFO: TCP Data received {"connection_id":136224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:04:38] local.INFO: Processing buffer {"connection_id":136224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:04:38] local.INFO: Packet analysis {"connection_id":136224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77c8"} 
[2026-07-19 06:04:38] local.INFO: Extracted packet for processing {"connection_id":136224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77c8"} 
[2026-07-19 06:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811714560001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:04: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-07-19 06:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784421061000,"timestamp_ms":1784421061000,"timestamp_seconds":1784421061,"priority":1,"record_length":96,"hex_timestamp":"0000019f77c89188"} 
[2026-07-19 06:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:04: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-07-19 06:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811714560001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 06:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811714560001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:04:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:04:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811714560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":136224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:04:38] local.INFO: GPS data processed {"connection_id":136224,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:04:38] local.INFO: Acknowledgment sent {"connection_id":136224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:05:10] local.INFO: TCP Data received {"connection_id":136224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:05:10] local.INFO: Processing buffer {"connection_id":136224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:05:10] local.INFO: Packet analysis {"connection_id":136224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77c8"} 
[2026-07-19 06:05:10] local.INFO: Extracted packet for processing {"connection_id":136224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77c8"} 
[2026-07-19 06:05:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811714560001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:05: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-07-19 06:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784421061000,"timestamp_ms":1784421061000,"timestamp_seconds":1784421061,"priority":1,"record_length":96,"hex_timestamp":"0000019f77c89188"} 
[2026-07-19 06:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811714560001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 06:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811714560001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:05:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:05:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811714560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":136224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:05:10] local.INFO: GPS data processed {"connection_id":136224,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:05:10] local.INFO: Acknowledgment sent {"connection_id":136224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:05:37] local.INFO: TCP Data received {"connection_id":136354,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:05:37] local.INFO: Processing buffer {"connection_id":136354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:05:37] local.INFO: IMEI packet received {"connection_id":136354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":136354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:05:42] local.INFO: TCP Data received {"connection_id":136354,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:05:42] local.INFO: Processing buffer {"connection_id":136354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:05:42] local.INFO: IMEI packet received {"connection_id":136354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":136354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:05:43] local.INFO: TCP Data received {"connection_id":136354,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:05:43] local.INFO: Processing buffer {"connection_id":136354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:05:43] local.INFO: Packet analysis {"connection_id":136354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77c8"} 
[2026-07-19 06:05:43] local.INFO: Extracted packet for processing {"connection_id":136354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77c8"} 
[2026-07-19 06:05:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811714560001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:05: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-07-19 06:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784421061000,"timestamp_ms":1784421061000,"timestamp_seconds":1784421061,"priority":1,"record_length":96,"hex_timestamp":"0000019f77c89188"} 
[2026-07-19 06:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811714560001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 06:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811714560001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:05:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:05:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811714560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":136354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:05:43] local.INFO: GPS data processed {"connection_id":136354,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:05:43] local.INFO: Acknowledgment sent {"connection_id":136354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:05:47] local.INFO: TCP Data received {"connection_id":136354,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:05:47] local.INFO: Processing buffer {"connection_id":136354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:05:47] local.INFO: Packet analysis {"connection_id":136354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77c8"} 
[2026-07-19 06:05:47] local.INFO: Extracted packet for processing {"connection_id":136354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77c8"} 
[2026-07-19 06:05:47] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811714560001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 06:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784421061000,"timestamp_ms":1784421061000,"timestamp_seconds":1784421061,"priority":1,"record_length":96,"hex_timestamp":"0000019f77c89188"} 
[2026-07-19 06:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811714560001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 06:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811714560001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:05:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:05:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811714560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":136354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:05:48] local.INFO: GPS data processed {"connection_id":136354,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:05:48] local.INFO: Acknowledgment sent {"connection_id":136354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:06:32] local.INFO: TCP Data received {"connection_id":136356,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:06:32] local.INFO: Processing buffer {"connection_id":136356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:06:32] local.INFO: IMEI packet received {"connection_id":136356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":136356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:06:37] local.INFO: TCP Data received {"connection_id":136356,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:06:37] local.INFO: Processing buffer {"connection_id":136356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:06:37] local.INFO: IMEI packet received {"connection_id":136356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":136356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:06:39] local.INFO: TCP Data received {"connection_id":136356,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:06:39] local.INFO: Processing buffer {"connection_id":136356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77c89188012d34c58006aa4140000f010120..."} 
[2026-07-19 06:06:39] local.INFO: Packet analysis {"connection_id":136356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77c8"} 
[2026-07-19 06:06:39] local.INFO: Extracted packet for processing {"connection_id":136356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77c8"} 
[2026-07-19 06:06:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811714560001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:06: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-07-19 06:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784421061000,"timestamp_ms":1784421061000,"timestamp_seconds":1784421061,"priority":1,"record_length":96,"hex_timestamp":"0000019f77c89188"} 
[2026-07-19 06:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:06:39] 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-07-19 06:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811714560001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811714560001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:06:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:06:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811714560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":136356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:06:39] local.INFO: GPS data processed {"connection_id":136356,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:06:39] local.INFO: Acknowledgment sent {"connection_id":136356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:07:10] local.INFO: TCP Data received {"connection_id":136356,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:07:10] local.INFO: Processing buffer {"connection_id":136356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:07:10] local.INFO: Packet analysis {"connection_id":136356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77cd"} 
[2026-07-19 06:07:10] local.INFO: Extracted packet for processing {"connection_id":136356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77cd"} 
[2026-07-19 06:07:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811791616001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:07: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-07-19 06:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784421362000,"timestamp_ms":1784421362000,"timestamp_seconds":1784421362,"priority":1,"record_length":96,"hex_timestamp":"0000019f77cd2950"} 
[2026-07-19 06:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:07:10] 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-07-19 06:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811791616001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811791616001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:07:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:07:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811791616001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":136356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:07:10] local.INFO: GPS data processed {"connection_id":136356,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:07:10] local.INFO: Acknowledgment sent {"connection_id":136356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:07:32] local.INFO: TCP Data received {"connection_id":136226,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:07:32] local.INFO: Processing buffer {"connection_id":136226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:07:32] local.INFO: IMEI packet received {"connection_id":136226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":136226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:07:37] local.INFO: TCP Data received {"connection_id":136226,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:07:37] local.INFO: Processing buffer {"connection_id":136226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:07:37] local.INFO: IMEI packet received {"connection_id":136226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":136226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:07:38] local.INFO: TCP Data received {"connection_id":136226,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:07:38] local.INFO: Processing buffer {"connection_id":136226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:07:38] local.INFO: Packet analysis {"connection_id":136226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77cd"} 
[2026-07-19 06:07:38] local.INFO: Extracted packet for processing {"connection_id":136226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77cd"} 
[2026-07-19 06:07:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811791616001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:07: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-07-19 06:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784421362000,"timestamp_ms":1784421362000,"timestamp_seconds":1784421362,"priority":1,"record_length":96,"hex_timestamp":"0000019f77cd2950"} 
[2026-07-19 06:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811791616001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811791616001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:07:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:07:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811791616001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":136226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:07:38] local.INFO: GPS data processed {"connection_id":136226,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:07:38] local.INFO: Acknowledgment sent {"connection_id":136226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:08:09] local.INFO: TCP Data received {"connection_id":136226,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:08:09] local.INFO: Processing buffer {"connection_id":136226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:08:09] local.INFO: Packet analysis {"connection_id":136226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77cd"} 
[2026-07-19 06:08:09] local.INFO: Extracted packet for processing {"connection_id":136226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77cd"} 
[2026-07-19 06:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811791616001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:08: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-07-19 06:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784421362000,"timestamp_ms":1784421362000,"timestamp_seconds":1784421362,"priority":1,"record_length":96,"hex_timestamp":"0000019f77cd2950"} 
[2026-07-19 06:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:08:09] 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-07-19 06:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811791616001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811791616001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:08:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811791616001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":136226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:08:09] local.INFO: GPS data processed {"connection_id":136226,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:08:09] local.INFO: Acknowledgment sent {"connection_id":136226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:08:32] local.INFO: TCP Data received {"connection_id":138684,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:08:32] local.INFO: Processing buffer {"connection_id":138684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:08:32] local.INFO: IMEI packet received {"connection_id":138684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":138684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:08:37] local.INFO: TCP Data received {"connection_id":138684,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:08:37] local.INFO: Processing buffer {"connection_id":138684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:08:37] local.INFO: IMEI packet received {"connection_id":138684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":138684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:08:38] local.INFO: TCP Data received {"connection_id":138684,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:08:38] local.INFO: Processing buffer {"connection_id":138684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:08:38] local.INFO: Packet analysis {"connection_id":138684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77cd"} 
[2026-07-19 06:08:38] local.INFO: Extracted packet for processing {"connection_id":138684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77cd"} 
[2026-07-19 06:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811791616001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:08: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-07-19 06:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784421362000,"timestamp_ms":1784421362000,"timestamp_seconds":1784421362,"priority":1,"record_length":96,"hex_timestamp":"0000019f77cd2950"} 
[2026-07-19 06:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:08:38] 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-07-19 06:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811791616001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811791616001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:08:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:08:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811791616001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":138684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:08:38] local.INFO: GPS data processed {"connection_id":138684,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:08:38] local.INFO: Acknowledgment sent {"connection_id":138684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:08:42] local.INFO: TCP Data received {"connection_id":136227,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:08:42] local.INFO: Processing buffer {"connection_id":136227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:08:42] local.INFO: IMEI packet received {"connection_id":136227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 06:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":136227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:09:10] local.INFO: TCP Data received {"connection_id":138684,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:09:10] local.INFO: Processing buffer {"connection_id":138684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:09:10] local.INFO: Packet analysis {"connection_id":138684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77cd"} 
[2026-07-19 06:09:10] local.INFO: Extracted packet for processing {"connection_id":138684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77cd"} 
[2026-07-19 06:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811791616001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:09: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-07-19 06:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784421362000,"timestamp_ms":1784421362000,"timestamp_seconds":1784421362,"priority":1,"record_length":96,"hex_timestamp":"0000019f77cd2950"} 
[2026-07-19 06:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:09:10] 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-07-19 06:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811791616001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811791616001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:09:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:09:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811791616001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":138684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:09:10] local.INFO: GPS data processed {"connection_id":138684,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:09:10] local.INFO: Acknowledgment sent {"connection_id":138684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:09:27] local.INFO: TCP Data received {"connection_id":136228,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:09:27] local.INFO: Processing buffer {"connection_id":136228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:09:27] local.INFO: IMEI packet received {"connection_id":136228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 06:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":136228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:09:32] local.INFO: TCP Data received {"connection_id":138685,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:09:32] local.INFO: Processing buffer {"connection_id":138685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:09:32] local.INFO: IMEI packet received {"connection_id":138685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":138685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:09:37] local.INFO: TCP Data received {"connection_id":138685,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:09:37] local.INFO: Processing buffer {"connection_id":138685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:09:37] local.INFO: IMEI packet received {"connection_id":138685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":138685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:09:38] local.INFO: TCP Data received {"connection_id":138685,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:09:38] local.INFO: Processing buffer {"connection_id":138685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:09:38] local.INFO: Packet analysis {"connection_id":138685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77cd"} 
[2026-07-19 06:09:38] local.INFO: Extracted packet for processing {"connection_id":138685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77cd"} 
[2026-07-19 06:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811791616001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:09: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-07-19 06:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784421362000,"timestamp_ms":1784421362000,"timestamp_seconds":1784421362,"priority":1,"record_length":96,"hex_timestamp":"0000019f77cd2950"} 
[2026-07-19 06:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:09: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-07-19 06:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811791616001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811791616001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:09:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:09:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811791616001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":138685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:09:38] local.INFO: GPS data processed {"connection_id":138685,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:09:38] local.INFO: Acknowledgment sent {"connection_id":138685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:10:10] local.INFO: TCP Data received {"connection_id":138685,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:10:10] local.INFO: Processing buffer {"connection_id":138685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:10:10] local.INFO: Packet analysis {"connection_id":138685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77cd"} 
[2026-07-19 06:10:10] local.INFO: Extracted packet for processing {"connection_id":138685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77cd"} 
[2026-07-19 06:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811791616001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:10: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-07-19 06:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784421362000,"timestamp_ms":1784421362000,"timestamp_seconds":1784421362,"priority":1,"record_length":96,"hex_timestamp":"0000019f77cd2950"} 
[2026-07-19 06:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:10:10] 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-07-19 06:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811791616001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811791616001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:10:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811791616001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":138685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:10:10] local.INFO: GPS data processed {"connection_id":138685,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:10:10] local.INFO: Acknowledgment sent {"connection_id":138685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:10:32] local.INFO: TCP Data received {"connection_id":137275,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:10:32] local.INFO: Processing buffer {"connection_id":137275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:10:32] local.INFO: IMEI packet received {"connection_id":137275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":137275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:10:37] local.INFO: TCP Data received {"connection_id":137275,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:10:37] local.INFO: Processing buffer {"connection_id":137275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:10:37] local.INFO: IMEI packet received {"connection_id":137275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":137275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:10:38] local.INFO: TCP Data received {"connection_id":137275,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:10:38] local.INFO: Processing buffer {"connection_id":137275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:10:38] local.INFO: Packet analysis {"connection_id":137275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77cd"} 
[2026-07-19 06:10:38] local.INFO: Extracted packet for processing {"connection_id":137275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77cd"} 
[2026-07-19 06:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811791616001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:10: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-07-19 06:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784421362000,"timestamp_ms":1784421362000,"timestamp_seconds":1784421362,"priority":1,"record_length":96,"hex_timestamp":"0000019f77cd2950"} 
[2026-07-19 06:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811791616001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 06:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811791616001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811791616001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":137275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:10:38] local.INFO: GPS data processed {"connection_id":137275,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:10:38] local.INFO: Acknowledgment sent {"connection_id":137275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:11:10] local.INFO: TCP Data received {"connection_id":137275,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:11:10] local.INFO: Processing buffer {"connection_id":137275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77cd2950012d34c58006aa4140000f010123..."} 
[2026-07-19 06:11:10] local.INFO: Packet analysis {"connection_id":137275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77cd"} 
[2026-07-19 06:11:10] local.INFO: Extracted packet for processing {"connection_id":137275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77cd"} 
[2026-07-19 06:11:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":15,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811791616001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:11: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-07-19 06:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784421362000,"timestamp_ms":1784421362000,"timestamp_seconds":1784421362,"priority":1,"record_length":96,"hex_timestamp":"0000019f77cd2950"} 
[2026-07-19 06:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811791616001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 06:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811791616001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:11:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:11:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811791616001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":137275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:11:10] local.INFO: GPS data processed {"connection_id":137275,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:11:10] local.INFO: Acknowledgment sent {"connection_id":137275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:11:37] local.INFO: TCP Data received {"connection_id":136229,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:11:37] local.INFO: Processing buffer {"connection_id":136229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:11:37] local.INFO: IMEI packet received {"connection_id":136229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":136229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:11:41] local.INFO: TCP Data received {"connection_id":136229,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:11:41] local.INFO: Processing buffer {"connection_id":136229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:11:41] local.INFO: IMEI packet received {"connection_id":136229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":136229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:11:42] local.INFO: TCP Data received {"connection_id":136229,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:11:42] local.INFO: Processing buffer {"connection_id":136229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:11:42] local.INFO: Packet analysis {"connection_id":136229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77d1"} 
[2026-07-19 06:11:42] local.INFO: Extracted packet for processing {"connection_id":136229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77d1"} 
[2026-07-19 06:11:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":11,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811868672001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 06:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784421663000,"timestamp_ms":1784421663000,"timestamp_seconds":1784421663,"priority":1,"record_length":96,"hex_timestamp":"0000019f77d1c118"} 
[2026-07-19 06:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:11: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-07-19 06:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811868672001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811868672001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:11:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:11:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811868672001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":136229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:11:42] local.INFO: GPS data processed {"connection_id":136229,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:11:42] local.INFO: Acknowledgment sent {"connection_id":136229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:11:43] local.INFO: TCP Data received {"connection_id":136229,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:11:43] local.INFO: Processing buffer {"connection_id":136229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:11:43] local.INFO: Packet analysis {"connection_id":136229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77d1"} 
[2026-07-19 06:11:43] local.INFO: Extracted packet for processing {"connection_id":136229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77d1"} 
[2026-07-19 06:11:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":11,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811868672001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:11: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-07-19 06:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784421663000,"timestamp_ms":1784421663000,"timestamp_seconds":1784421663,"priority":1,"record_length":96,"hex_timestamp":"0000019f77d1c118"} 
[2026-07-19 06:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:11:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:11:43] 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-07-19 06:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811868672001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811868672001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:11:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:11:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811868672001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":136229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:11:43] local.INFO: GPS data processed {"connection_id":136229,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:11:43] local.INFO: Acknowledgment sent {"connection_id":136229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:12:14] local.INFO: TCP Data received {"connection_id":136229,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:12:14] local.INFO: Processing buffer {"connection_id":136229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:12:14] local.INFO: Packet analysis {"connection_id":136229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77d1"} 
[2026-07-19 06:12:14] local.INFO: Extracted packet for processing {"connection_id":136229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77d1"} 
[2026-07-19 06:12:14] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":11,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811868672001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:12: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-07-19 06:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784421663000,"timestamp_ms":1784421663000,"timestamp_seconds":1784421663,"priority":1,"record_length":96,"hex_timestamp":"0000019f77d1c118"} 
[2026-07-19 06:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":136229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":136229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":136229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:12:14] 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-07-19 06:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811868672001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811868672001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:12:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:12:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811868672001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":136229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:12:14] local.INFO: GPS data processed {"connection_id":136229,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:12:14] local.INFO: Acknowledgment sent {"connection_id":136229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:12:32] local.INFO: TCP Data received {"connection_id":136231,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:12:32] local.INFO: Processing buffer {"connection_id":136231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:12:32] local.INFO: IMEI packet received {"connection_id":136231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":136231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:12:37] local.INFO: TCP Data received {"connection_id":136231,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:12:37] local.INFO: Processing buffer {"connection_id":136231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:12:37] local.INFO: IMEI packet received {"connection_id":136231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":136231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:12:38] local.INFO: TCP Data received {"connection_id":136231,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:12:38] local.INFO: Processing buffer {"connection_id":136231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:12:38] local.INFO: Packet analysis {"connection_id":136231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77d1"} 
[2026-07-19 06:12:38] local.INFO: Extracted packet for processing {"connection_id":136231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77d1"} 
[2026-07-19 06:12:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":11,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811868672001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:12: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-07-19 06:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784421663000,"timestamp_ms":1784421663000,"timestamp_seconds":1784421663,"priority":1,"record_length":96,"hex_timestamp":"0000019f77d1c118"} 
[2026-07-19 06:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811868672001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811868672001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:12:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:12:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811868672001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":136231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:12:38] local.INFO: GPS data processed {"connection_id":136231,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:12:38] local.INFO: Acknowledgment sent {"connection_id":136231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:13:10] local.INFO: TCP Data received {"connection_id":136231,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:13:10] local.INFO: Processing buffer {"connection_id":136231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:13:10] local.INFO: Packet analysis {"connection_id":136231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77d1"} 
[2026-07-19 06:13:10] local.INFO: Extracted packet for processing {"connection_id":136231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77d1"} 
[2026-07-19 06:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":11,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811868672001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:13: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-07-19 06:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784421663000,"timestamp_ms":1784421663000,"timestamp_seconds":1784421663,"priority":1,"record_length":96,"hex_timestamp":"0000019f77d1c118"} 
[2026-07-19 06:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:13: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-07-19 06:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811868672001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811868672001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:13:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811868672001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":136231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:13:10] local.INFO: GPS data processed {"connection_id":136231,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:13:10] local.INFO: Acknowledgment sent {"connection_id":136231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:13:32] local.INFO: TCP Data received {"connection_id":137276,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:13:32] local.INFO: Processing buffer {"connection_id":137276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:13:32] local.INFO: IMEI packet received {"connection_id":137276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":137276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:13:37] local.INFO: TCP Data received {"connection_id":137276,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:13:37] local.INFO: Processing buffer {"connection_id":137276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:13:37] local.INFO: IMEI packet received {"connection_id":137276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":137276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:13:38] local.INFO: TCP Data received {"connection_id":137276,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:13:38] local.INFO: Processing buffer {"connection_id":137276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:13:38] local.INFO: Packet analysis {"connection_id":137276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77d1"} 
[2026-07-19 06:13:38] local.INFO: Extracted packet for processing {"connection_id":137276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77d1"} 
[2026-07-19 06:13:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":11,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811868672001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:13: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-07-19 06:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784421663000,"timestamp_ms":1784421663000,"timestamp_seconds":1784421663,"priority":1,"record_length":96,"hex_timestamp":"0000019f77d1c118"} 
[2026-07-19 06:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811868672001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811868672001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:13:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:13:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811868672001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":137276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:13:38] local.INFO: GPS data processed {"connection_id":137276,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:13:38] local.INFO: Acknowledgment sent {"connection_id":137276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:14:09] local.INFO: TCP Data received {"connection_id":137276,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:14:09] local.INFO: Processing buffer {"connection_id":137276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:14:09] local.INFO: Packet analysis {"connection_id":137276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77d1"} 
[2026-07-19 06:14:09] local.INFO: Extracted packet for processing {"connection_id":137276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77d1"} 
[2026-07-19 06:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":11,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811868672001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:14: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-07-19 06:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784421663000,"timestamp_ms":1784421663000,"timestamp_seconds":1784421663,"priority":1,"record_length":96,"hex_timestamp":"0000019f77d1c118"} 
[2026-07-19 06:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:14: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-07-19 06:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:14:09] 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-07-19 06:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811868672001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811868672001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:14:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811868672001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":137276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:14:09] local.INFO: GPS data processed {"connection_id":137276,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:14:09] local.INFO: Acknowledgment sent {"connection_id":137276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:14:32] local.INFO: TCP Data received {"connection_id":137277,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:14:32] local.INFO: Processing buffer {"connection_id":137277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:14:32] local.INFO: IMEI packet received {"connection_id":137277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":137277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:14:37] local.INFO: TCP Data received {"connection_id":137277,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:14:37] local.INFO: Processing buffer {"connection_id":137277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:14:37] local.INFO: IMEI packet received {"connection_id":137277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":137277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:14:38] local.INFO: TCP Data received {"connection_id":137277,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:14:38] local.INFO: Processing buffer {"connection_id":137277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:14:38] local.INFO: Packet analysis {"connection_id":137277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77d1"} 
[2026-07-19 06:14:38] local.INFO: Extracted packet for processing {"connection_id":137277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77d1"} 
[2026-07-19 06:14:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":11,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811868672001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:14: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-07-19 06:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784421663000,"timestamp_ms":1784421663000,"timestamp_seconds":1784421663,"priority":1,"record_length":96,"hex_timestamp":"0000019f77d1c118"} 
[2026-07-19 06:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811868672001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811868672001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:14:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811868672001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":137277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:14:38] local.INFO: GPS data processed {"connection_id":137277,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:14:38] local.INFO: Acknowledgment sent {"connection_id":137277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:14:52] local.INFO: TCP Data received {"connection_id":136232,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136232,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:14:52] local.INFO: Processing buffer {"connection_id":136232,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:14:52] local.INFO: IMEI packet received {"connection_id":136232,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 06:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":136232,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:15:09] local.INFO: TCP Data received {"connection_id":137277,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:15:10] local.INFO: Processing buffer {"connection_id":137277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:15:10] local.INFO: Packet analysis {"connection_id":137277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77d1"} 
[2026-07-19 06:15:10] local.INFO: Extracted packet for processing {"connection_id":137277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77d1"} 
[2026-07-19 06:15:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":11,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811868672001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:15: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-07-19 06:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784421663000,"timestamp_ms":1784421663000,"timestamp_seconds":1784421663,"priority":1,"record_length":96,"hex_timestamp":"0000019f77d1c118"} 
[2026-07-19 06:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:15:10] 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-07-19 06:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811868672001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811868672001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:15:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:15:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811868672001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":137277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:15:10] local.INFO: GPS data processed {"connection_id":137277,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:15:10] local.INFO: Acknowledgment sent {"connection_id":137277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:15:32] local.INFO: TCP Data received {"connection_id":136358,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:15:32] local.INFO: Processing buffer {"connection_id":136358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:15:32] local.INFO: IMEI packet received {"connection_id":136358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":136358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:15:32] local.INFO: TCP Data received {"connection_id":136357,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136357,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:15:32] local.INFO: Processing buffer {"connection_id":136357,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:15:32] local.INFO: IMEI packet received {"connection_id":136357,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 06:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":136357,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:15:37] local.INFO: TCP Data received {"connection_id":136358,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:15:37] local.INFO: Processing buffer {"connection_id":136358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:15:37] local.INFO: IMEI packet received {"connection_id":136358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":136358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:15:38] local.INFO: TCP Data received {"connection_id":136358,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:15:38] local.INFO: Processing buffer {"connection_id":136358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:15:38] local.INFO: Packet analysis {"connection_id":136358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77d1"} 
[2026-07-19 06:15:38] local.INFO: Extracted packet for processing {"connection_id":136358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77d1"} 
[2026-07-19 06:15:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":11,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811868672001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:15: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-07-19 06:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784421663000,"timestamp_ms":1784421663000,"timestamp_seconds":1784421663,"priority":1,"record_length":96,"hex_timestamp":"0000019f77d1c118"} 
[2026-07-19 06:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811868672001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811868672001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:15:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:15:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811868672001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":136358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:15:38] local.INFO: GPS data processed {"connection_id":136358,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:15:38] local.INFO: Acknowledgment sent {"connection_id":136358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:16:09] local.INFO: TCP Data received {"connection_id":136358,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:16:09] local.INFO: Processing buffer {"connection_id":136358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77d1c118012d34c58006aa4140000b010124..."} 
[2026-07-19 06:16:09] local.INFO: Packet analysis {"connection_id":136358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77d1"} 
[2026-07-19 06:16:09] local.INFO: Extracted packet for processing {"connection_id":136358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77d1"} 
[2026-07-19 06:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":11,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811868672001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:16: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-07-19 06:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784421663000,"timestamp_ms":1784421663000,"timestamp_seconds":1784421663,"priority":1,"record_length":96,"hex_timestamp":"0000019f77d1c118"} 
[2026-07-19 06:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:16: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-07-19 06:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:16: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-07-19 06:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811868672001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811868672001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811868672001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":136358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:16:09] local.INFO: GPS data processed {"connection_id":136358,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:16:09] local.INFO: Acknowledgment sent {"connection_id":136358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:16:37] local.INFO: TCP Data received {"connection_id":137278,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:16:37] local.INFO: Processing buffer {"connection_id":137278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:16:37] local.INFO: IMEI packet received {"connection_id":137278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":137278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:16:42] local.INFO: TCP Data received {"connection_id":137278,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:16:42] local.INFO: Processing buffer {"connection_id":137278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:16:42] local.INFO: IMEI packet received {"connection_id":137278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":137278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:16:43] local.INFO: TCP Data received {"connection_id":137278,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:16:43] local.INFO: Processing buffer {"connection_id":137278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:16:43] local.INFO: Packet analysis {"connection_id":137278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:16:43] local.INFO: Extracted packet for processing {"connection_id":137278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:16:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:16: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-07-19 06:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811945728001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:16: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-07-19 06:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784421964000,"timestamp_ms":1784421964000,"timestamp_seconds":1784421964,"priority":1,"record_length":96,"hex_timestamp":"0000019f77d658e0"} 
[2026-07-19 06:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:16: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-07-19 06:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:16:43] 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-07-19 06:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811945728001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811945728001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:16:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:16:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811945728001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":137278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:16:43] local.INFO: GPS data processed {"connection_id":137278,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:16:43] local.INFO: Acknowledgment sent {"connection_id":137278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:16:44] local.INFO: TCP Data received {"connection_id":137278,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:16:44] local.INFO: Processing buffer {"connection_id":137278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:16:44] local.INFO: Packet analysis {"connection_id":137278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:16:44] local.INFO: Extracted packet for processing {"connection_id":137278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811945728001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:16: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-07-19 06:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784421964000,"timestamp_ms":1784421964000,"timestamp_seconds":1784421964,"priority":1,"record_length":96,"hex_timestamp":"0000019f77d658e0"} 
[2026-07-19 06:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":137278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":137278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":137278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:16:44] 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-07-19 06:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811945728001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811945728001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:16:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:16:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811945728001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":137278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:16:44] local.INFO: GPS data processed {"connection_id":137278,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:16:44] local.INFO: Acknowledgment sent {"connection_id":137278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:17:15] local.INFO: TCP Data received {"connection_id":137278,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:17:15] local.INFO: Processing buffer {"connection_id":137278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:17:15] local.INFO: Packet analysis {"connection_id":137278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:17:15] local.INFO: Extracted packet for processing {"connection_id":137278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:17:15] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811945728001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 06:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784421964000,"timestamp_ms":1784421964000,"timestamp_seconds":1784421964,"priority":1,"record_length":96,"hex_timestamp":"0000019f77d658e0"} 
[2026-07-19 06:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":137278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":137278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":137278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:17:15] 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-07-19 06:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811945728001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811945728001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:17:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:17:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811945728001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":137278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:17:15] local.INFO: GPS data processed {"connection_id":137278,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:17:15] local.INFO: Acknowledgment sent {"connection_id":137278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:17:33] local.INFO: TCP Data received {"connection_id":137280,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:17:33] local.INFO: Processing buffer {"connection_id":137280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:17:33] local.INFO: IMEI packet received {"connection_id":137280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":137280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:17:37] local.INFO: TCP Data received {"connection_id":137280,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:17:37] local.INFO: Processing buffer {"connection_id":137280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:17:37] local.INFO: IMEI packet received {"connection_id":137280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":137280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:17:38] local.INFO: TCP Data received {"connection_id":137280,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:17:38] local.INFO: Processing buffer {"connection_id":137280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:17:38] local.INFO: Packet analysis {"connection_id":137280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:17:38] local.INFO: Extracted packet for processing {"connection_id":137280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:17:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811945728001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:17: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-07-19 06:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784421964000,"timestamp_ms":1784421964000,"timestamp_seconds":1784421964,"priority":1,"record_length":96,"hex_timestamp":"0000019f77d658e0"} 
[2026-07-19 06:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811945728001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811945728001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:17:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811945728001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":137280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:17:38] local.INFO: GPS data processed {"connection_id":137280,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:17:38] local.INFO: Acknowledgment sent {"connection_id":137280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:18:10] local.INFO: TCP Data received {"connection_id":137280,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:18:10] local.INFO: Processing buffer {"connection_id":137280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:18:10] local.INFO: Packet analysis {"connection_id":137280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:18:10] local.INFO: Extracted packet for processing {"connection_id":137280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811945728001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:18: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-07-19 06:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784421964000,"timestamp_ms":1784421964000,"timestamp_seconds":1784421964,"priority":1,"record_length":96,"hex_timestamp":"0000019f77d658e0"} 
[2026-07-19 06:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811945728001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811945728001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:18:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811945728001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":137280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:18:10] local.INFO: GPS data processed {"connection_id":137280,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:18:10] local.INFO: Acknowledgment sent {"connection_id":137280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:18:32] local.INFO: TCP Data received {"connection_id":136234,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:18:32] local.INFO: Processing buffer {"connection_id":136234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:18:32] local.INFO: IMEI packet received {"connection_id":136234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":136234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:18:37] local.INFO: TCP Data received {"connection_id":136234,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:18:37] local.INFO: Processing buffer {"connection_id":136234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:18:37] local.INFO: IMEI packet received {"connection_id":136234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":136234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:18:38] local.INFO: TCP Data received {"connection_id":136234,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:18:38] local.INFO: Processing buffer {"connection_id":136234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:18:38] local.INFO: Packet analysis {"connection_id":136234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:18:38] local.INFO: Extracted packet for processing {"connection_id":136234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:18:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811945728001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:18: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-07-19 06:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784421964000,"timestamp_ms":1784421964000,"timestamp_seconds":1784421964,"priority":1,"record_length":96,"hex_timestamp":"0000019f77d658e0"} 
[2026-07-19 06:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:18: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-07-19 06:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811945728001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811945728001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:18:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:18:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811945728001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":136234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:18:38] local.INFO: GPS data processed {"connection_id":136234,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:18:38] local.INFO: Acknowledgment sent {"connection_id":136234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:19:09] local.INFO: TCP Data received {"connection_id":136234,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:19:09] local.INFO: Processing buffer {"connection_id":136234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:19:09] local.INFO: Packet analysis {"connection_id":136234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:19:09] local.INFO: Extracted packet for processing {"connection_id":136234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811945728001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:19: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-07-19 06:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784421964000,"timestamp_ms":1784421964000,"timestamp_seconds":1784421964,"priority":1,"record_length":96,"hex_timestamp":"0000019f77d658e0"} 
[2026-07-19 06:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:19:09] 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-07-19 06:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811945728001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811945728001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:19:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811945728001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":136234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:19:09] local.INFO: GPS data processed {"connection_id":136234,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:19:09] local.INFO: Acknowledgment sent {"connection_id":136234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:19:32] local.INFO: TCP Data received {"connection_id":137282,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:19:32] local.INFO: Processing buffer {"connection_id":137282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:19:32] local.INFO: IMEI packet received {"connection_id":137282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":137282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:19:37] local.INFO: TCP Data received {"connection_id":137282,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:19:37] local.INFO: Processing buffer {"connection_id":137282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:19:37] local.INFO: IMEI packet received {"connection_id":137282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":137282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:19:38] local.INFO: TCP Data received {"connection_id":137282,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:19:38] local.INFO: Processing buffer {"connection_id":137282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:19:38] local.INFO: Packet analysis {"connection_id":137282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:19:38] local.INFO: Extracted packet for processing {"connection_id":137282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:19:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811945728001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:19: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-07-19 06:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784421964000,"timestamp_ms":1784421964000,"timestamp_seconds":1784421964,"priority":1,"record_length":96,"hex_timestamp":"0000019f77d658e0"} 
[2026-07-19 06:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811945728001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811945728001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:19:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:19:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811945728001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":137282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:19:38] local.INFO: GPS data processed {"connection_id":137282,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:19:38] local.INFO: Acknowledgment sent {"connection_id":137282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:20:09] local.INFO: TCP Data received {"connection_id":137282,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:20:09] local.INFO: Processing buffer {"connection_id":137282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:20:09] local.INFO: Packet analysis {"connection_id":137282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:20:09] local.INFO: Extracted packet for processing {"connection_id":137282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811945728001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:20: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-07-19 06:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784421964000,"timestamp_ms":1784421964000,"timestamp_seconds":1784421964,"priority":1,"record_length":96,"hex_timestamp":"0000019f77d658e0"} 
[2026-07-19 06:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:20:09] 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-07-19 06:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811945728001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811945728001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811945728001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":137282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:20:09] local.INFO: GPS data processed {"connection_id":137282,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:20:09] local.INFO: Acknowledgment sent {"connection_id":137282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:20:32] local.INFO: TCP Data received {"connection_id":137284,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:20:32] local.INFO: Processing buffer {"connection_id":137284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:20:32] local.INFO: IMEI packet received {"connection_id":137284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":137284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:20:37] local.INFO: TCP Data received {"connection_id":137284,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:20:37] local.INFO: Processing buffer {"connection_id":137284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:20:37] local.INFO: IMEI packet received {"connection_id":137284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":137284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:20:38] local.INFO: TCP Data received {"connection_id":137284,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:20:38] local.INFO: Processing buffer {"connection_id":137284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:20:38] local.INFO: Packet analysis {"connection_id":137284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:20:38] local.INFO: Extracted packet for processing {"connection_id":137284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811945728001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:20: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-07-19 06:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784421964000,"timestamp_ms":1784421964000,"timestamp_seconds":1784421964,"priority":1,"record_length":96,"hex_timestamp":"0000019f77d658e0"} 
[2026-07-19 06:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811945728001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811945728001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811945728001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":137284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:20:38] local.INFO: GPS data processed {"connection_id":137284,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:20:38] local.INFO: Acknowledgment sent {"connection_id":137284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:20:52] local.INFO: TCP Data received {"connection_id":137283,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:20:52] local.INFO: Processing buffer {"connection_id":137283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:20:52] local.INFO: IMEI packet received {"connection_id":137283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 06:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":137283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:21:10] local.INFO: TCP Data received {"connection_id":137284,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:21:10] local.INFO: Processing buffer {"connection_id":137284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:21:10] local.INFO: Packet analysis {"connection_id":137284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:21:10] local.INFO: Extracted packet for processing {"connection_id":137284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811945728001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:21: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-07-19 06:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784421964000,"timestamp_ms":1784421964000,"timestamp_seconds":1784421964,"priority":1,"record_length":96,"hex_timestamp":"0000019f77d658e0"} 
[2026-07-19 06:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:21:10] 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-07-19 06:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811945728001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811945728001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:21:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811945728001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":137284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:21:10] local.INFO: GPS data processed {"connection_id":137284,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:21:10] local.INFO: Acknowledgment sent {"connection_id":137284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:21:27] local.INFO: TCP Data received {"connection_id":138691,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:21:27] local.INFO: Processing buffer {"connection_id":138691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:21:27] local.INFO: IMEI packet received {"connection_id":138691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 06:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":138691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:21:32] local.INFO: TCP Data received {"connection_id":136359,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:21:32] local.INFO: Processing buffer {"connection_id":136359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:21:32] local.INFO: IMEI packet received {"connection_id":136359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":136359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:21:37] local.INFO: TCP Data received {"connection_id":136359,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:21:37] local.INFO: Processing buffer {"connection_id":136359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:21:37] local.INFO: IMEI packet received {"connection_id":136359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":136359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:21:40] local.INFO: TCP Data received {"connection_id":136359,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:21:40] local.INFO: Processing buffer {"connection_id":136359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77d658e0012d34c58006aa4140001e010123..."} 
[2026-07-19 06:21:40] local.INFO: Packet analysis {"connection_id":136359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:21:40] local.INFO: Extracted packet for processing {"connection_id":136359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77d6"} 
[2026-07-19 06:21:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811945728001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:21: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-07-19 06:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784421964000,"timestamp_ms":1784421964000,"timestamp_seconds":1784421964,"priority":1,"record_length":96,"hex_timestamp":"0000019f77d658e0"} 
[2026-07-19 06:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":136359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":136359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":136359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:21:40] 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-07-19 06:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811945728001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811945728001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:21:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:21:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811945728001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":136359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:21:40] local.INFO: GPS data processed {"connection_id":136359,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:21:40] local.INFO: Acknowledgment sent {"connection_id":136359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:22:11] local.INFO: TCP Data received {"connection_id":136359,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:22:11] local.INFO: Processing buffer {"connection_id":136359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:22:11] local.INFO: Packet analysis {"connection_id":136359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77da"} 
[2026-07-19 06:22:11] local.INFO: Extracted packet for processing {"connection_id":136359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77da"} 
[2026-07-19 06:22:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812022784001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:22: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-07-19 06:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784422265000,"timestamp_ms":1784422265000,"timestamp_seconds":1784422265,"priority":1,"record_length":96,"hex_timestamp":"0000019f77daf0a8"} 
[2026-07-19 06:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":136359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":136359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":136359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:22:11] 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-07-19 06:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812022784001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812022784001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:22:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:22:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812022784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":136359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:22:11] local.INFO: GPS data processed {"connection_id":136359,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:22:11] local.INFO: Acknowledgment sent {"connection_id":136359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:22:32] local.INFO: TCP Data received {"connection_id":138692,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:22:32] local.INFO: Processing buffer {"connection_id":138692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:22:32] local.INFO: IMEI packet received {"connection_id":138692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":138692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:22:37] local.INFO: TCP Data received {"connection_id":138692,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:22:37] local.INFO: Processing buffer {"connection_id":138692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:22:37] local.INFO: IMEI packet received {"connection_id":138692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":138692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:22:38] local.INFO: TCP Data received {"connection_id":138692,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:22:38] local.INFO: Processing buffer {"connection_id":138692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:22:38] local.INFO: Packet analysis {"connection_id":138692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77da"} 
[2026-07-19 06:22:38] local.INFO: Extracted packet for processing {"connection_id":138692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77da"} 
[2026-07-19 06:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812022784001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:22: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-07-19 06:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784422265000,"timestamp_ms":1784422265000,"timestamp_seconds":1784422265,"priority":1,"record_length":96,"hex_timestamp":"0000019f77daf0a8"} 
[2026-07-19 06:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":138692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":138692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":138692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:22:39] 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-07-19 06:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812022784001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812022784001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:22:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:22:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812022784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":138692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:22:39] local.INFO: GPS data processed {"connection_id":138692,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:22:39] local.INFO: Acknowledgment sent {"connection_id":138692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:23:10] local.INFO: TCP Data received {"connection_id":138692,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:23:10] local.INFO: Processing buffer {"connection_id":138692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:23:10] local.INFO: Packet analysis {"connection_id":138692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77da"} 
[2026-07-19 06:23:10] local.INFO: Extracted packet for processing {"connection_id":138692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77da"} 
[2026-07-19 06:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812022784001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:23: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-07-19 06:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784422265000,"timestamp_ms":1784422265000,"timestamp_seconds":1784422265,"priority":1,"record_length":96,"hex_timestamp":"0000019f77daf0a8"} 
[2026-07-19 06:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:23:10] 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-07-19 06:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812022784001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812022784001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:23:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:23:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812022784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":138692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:23:10] local.INFO: GPS data processed {"connection_id":138692,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:23:10] local.INFO: Acknowledgment sent {"connection_id":138692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:23:33] local.INFO: TCP Data received {"connection_id":136235,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:23:33] local.INFO: Processing buffer {"connection_id":136235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:23:33] local.INFO: IMEI packet received {"connection_id":136235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":136235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:23:37] local.INFO: TCP Data received {"connection_id":136235,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:23:37] local.INFO: Processing buffer {"connection_id":136235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:23:37] local.INFO: IMEI packet received {"connection_id":136235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":136235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:23:38] local.INFO: TCP Data received {"connection_id":136235,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:23:38] local.INFO: Processing buffer {"connection_id":136235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:23:38] local.INFO: Packet analysis {"connection_id":136235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77da"} 
[2026-07-19 06:23:38] local.INFO: Extracted packet for processing {"connection_id":136235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77da"} 
[2026-07-19 06:23:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812022784001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:23: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-07-19 06:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784422265000,"timestamp_ms":1784422265000,"timestamp_seconds":1784422265,"priority":1,"record_length":96,"hex_timestamp":"0000019f77daf0a8"} 
[2026-07-19 06:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812022784001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 06:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812022784001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:23:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:23:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812022784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":136235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:23:38] local.INFO: GPS data processed {"connection_id":136235,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:23:38] local.INFO: Acknowledgment sent {"connection_id":136235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:24:10] local.INFO: TCP Data received {"connection_id":136235,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:24:10] local.INFO: Processing buffer {"connection_id":136235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:24:10] local.INFO: Packet analysis {"connection_id":136235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77da"} 
[2026-07-19 06:24:10] local.INFO: Extracted packet for processing {"connection_id":136235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77da"} 
[2026-07-19 06:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812022784001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:24: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-07-19 06:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784422265000,"timestamp_ms":1784422265000,"timestamp_seconds":1784422265,"priority":1,"record_length":96,"hex_timestamp":"0000019f77daf0a8"} 
[2026-07-19 06:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812022784001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 06:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812022784001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:24:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812022784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":136235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:24:10] local.INFO: GPS data processed {"connection_id":136235,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:24:10] local.INFO: Acknowledgment sent {"connection_id":136235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:24:32] local.INFO: TCP Data received {"connection_id":137286,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:24:32] local.INFO: Processing buffer {"connection_id":137286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:24:32] local.INFO: IMEI packet received {"connection_id":137286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":137286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:24:37] local.INFO: TCP Data received {"connection_id":137286,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:24:37] local.INFO: Processing buffer {"connection_id":137286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:24:37] local.INFO: IMEI packet received {"connection_id":137286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":137286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:24:38] local.INFO: TCP Data received {"connection_id":137286,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:24:38] local.INFO: Processing buffer {"connection_id":137286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:24:38] local.INFO: Packet analysis {"connection_id":137286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77da"} 
[2026-07-19 06:24:38] local.INFO: Extracted packet for processing {"connection_id":137286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77da"} 
[2026-07-19 06:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812022784001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:24: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-07-19 06:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784422265000,"timestamp_ms":1784422265000,"timestamp_seconds":1784422265,"priority":1,"record_length":96,"hex_timestamp":"0000019f77daf0a8"} 
[2026-07-19 06:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812022784001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812022784001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:24:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812022784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":137286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:24:38] local.INFO: GPS data processed {"connection_id":137286,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:24:38] local.INFO: Acknowledgment sent {"connection_id":137286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:25:11] local.INFO: TCP Data received {"connection_id":137286,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:25:11] local.INFO: Processing buffer {"connection_id":137286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:25:11] local.INFO: Packet analysis {"connection_id":137286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77da"} 
[2026-07-19 06:25:11] local.INFO: Extracted packet for processing {"connection_id":137286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77da"} 
[2026-07-19 06:25:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812022784001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:25: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-07-19 06:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784422265000,"timestamp_ms":1784422265000,"timestamp_seconds":1784422265,"priority":1,"record_length":96,"hex_timestamp":"0000019f77daf0a8"} 
[2026-07-19 06:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":137286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":137286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":137286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:25:11] 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-07-19 06:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812022784001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812022784001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:25:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:25:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812022784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":137286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:25:11] local.INFO: GPS data processed {"connection_id":137286,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:25:11] local.INFO: Acknowledgment sent {"connection_id":137286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:25:32] local.INFO: TCP Data received {"connection_id":136360,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:25:32] local.INFO: Processing buffer {"connection_id":136360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:25:32] local.INFO: IMEI packet received {"connection_id":136360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":136360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:25:37] local.INFO: TCP Data received {"connection_id":136360,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:25:37] local.INFO: Processing buffer {"connection_id":136360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:25:37] local.INFO: IMEI packet received {"connection_id":136360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":136360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:25:38] local.INFO: TCP Data received {"connection_id":136360,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:25:38] local.INFO: Processing buffer {"connection_id":136360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:25:38] local.INFO: Packet analysis {"connection_id":136360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77da"} 
[2026-07-19 06:25:38] local.INFO: Extracted packet for processing {"connection_id":136360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77da"} 
[2026-07-19 06:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812022784001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:25: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-07-19 06:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784422265000,"timestamp_ms":1784422265000,"timestamp_seconds":1784422265,"priority":1,"record_length":96,"hex_timestamp":"0000019f77daf0a8"} 
[2026-07-19 06:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:25: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-07-19 06:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812022784001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812022784001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:25:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:25:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812022784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":136360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:25:38] local.INFO: GPS data processed {"connection_id":136360,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:25:38] local.INFO: Acknowledgment sent {"connection_id":136360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:26:09] local.INFO: TCP Data received {"connection_id":136360,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:26:09] local.INFO: Processing buffer {"connection_id":136360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:26:09] local.INFO: Packet analysis {"connection_id":136360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77da"} 
[2026-07-19 06:26:09] local.INFO: Extracted packet for processing {"connection_id":136360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77da"} 
[2026-07-19 06:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812022784001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06: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-07-19 06:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784422265000,"timestamp_ms":1784422265000,"timestamp_seconds":1784422265,"priority":1,"record_length":96,"hex_timestamp":"0000019f77daf0a8"} 
[2026-07-19 06:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:26: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-07-19 06:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812022784001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812022784001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812022784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":136360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:26:09] local.INFO: GPS data processed {"connection_id":136360,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:26:09] local.INFO: Acknowledgment sent {"connection_id":136360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:26:32] local.INFO: TCP Data received {"connection_id":137287,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:26:32] local.INFO: Processing buffer {"connection_id":137287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:26:32] local.INFO: IMEI packet received {"connection_id":137287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":137287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:26:37] local.INFO: TCP Data received {"connection_id":137287,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:26:37] local.INFO: Processing buffer {"connection_id":137287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:26:37] local.INFO: IMEI packet received {"connection_id":137287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":137287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:26:38] local.INFO: TCP Data received {"connection_id":137287,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:26:38] local.INFO: Processing buffer {"connection_id":137287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77daf0a8012d34c58006aa4140001e010123..."} 
[2026-07-19 06:26:38] local.INFO: Packet analysis {"connection_id":137287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77da"} 
[2026-07-19 06:26:38] local.INFO: Extracted packet for processing {"connection_id":137287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77da"} 
[2026-07-19 06:26:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812022784001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:26: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-07-19 06:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784422265000,"timestamp_ms":1784422265000,"timestamp_seconds":1784422265,"priority":1,"record_length":96,"hex_timestamp":"0000019f77daf0a8"} 
[2026-07-19 06:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:26:38] 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-07-19 06:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812022784001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812022784001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:26:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:26:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812022784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":137287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:26:38] local.INFO: GPS data processed {"connection_id":137287,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:26:38] local.INFO: Acknowledgment sent {"connection_id":137287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:26:47] local.INFO: TCP Data received {"connection_id":138695,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:26:47] local.INFO: Processing buffer {"connection_id":138695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:26:47] local.INFO: IMEI packet received {"connection_id":138695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 06:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":138695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:27:09] local.INFO: TCP Data received {"connection_id":137287,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:27:09] local.INFO: Processing buffer {"connection_id":137287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:27:09] local.INFO: Packet analysis {"connection_id":137287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77df"} 
[2026-07-19 06:27:09] local.INFO: Extracted packet for processing {"connection_id":137287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77df"} 
[2026-07-19 06:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812099840001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:27: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-07-19 06:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784422566000,"timestamp_ms":1784422566000,"timestamp_seconds":1784422566,"priority":1,"record_length":96,"hex_timestamp":"0000019f77df8870"} 
[2026-07-19 06:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812099840001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812099840001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:27:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:27:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812099840001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":137287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:27:09] local.INFO: GPS data processed {"connection_id":137287,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:27:09] local.INFO: Acknowledgment sent {"connection_id":137287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:27:32] local.INFO: TCP Data received {"connection_id":136237,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:27:32] local.INFO: Processing buffer {"connection_id":136237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:27:32] local.INFO: IMEI packet received {"connection_id":136237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":136237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:27:37] local.INFO: TCP Data received {"connection_id":136237,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:27:37] local.INFO: Processing buffer {"connection_id":136237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:27:37] local.INFO: IMEI packet received {"connection_id":136237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":136237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:27:38] local.INFO: TCP Data received {"connection_id":136237,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:27:38] local.INFO: Processing buffer {"connection_id":136237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:27:38] local.INFO: Packet analysis {"connection_id":136237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77df"} 
[2026-07-19 06:27:38] local.INFO: Extracted packet for processing {"connection_id":136237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77df"} 
[2026-07-19 06:27:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812099840001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:27: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-07-19 06:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784422566000,"timestamp_ms":1784422566000,"timestamp_seconds":1784422566,"priority":1,"record_length":96,"hex_timestamp":"0000019f77df8870"} 
[2026-07-19 06:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812099840001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812099840001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:27:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:27:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812099840001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":136237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:27:38] local.INFO: GPS data processed {"connection_id":136237,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:27:38] local.INFO: Acknowledgment sent {"connection_id":136237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:27:43] local.INFO: TCP Data received {"connection_id":136361,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:27:43] local.INFO: Processing buffer {"connection_id":136361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:27:43] local.INFO: IMEI packet received {"connection_id":136361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 06:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":136361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:28:10] local.INFO: TCP Data received {"connection_id":136237,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:28:10] local.INFO: Processing buffer {"connection_id":136237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:28:10] local.INFO: Packet analysis {"connection_id":136237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77df"} 
[2026-07-19 06:28:10] local.INFO: Extracted packet for processing {"connection_id":136237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77df"} 
[2026-07-19 06:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812099840001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:28: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-07-19 06:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784422566000,"timestamp_ms":1784422566000,"timestamp_seconds":1784422566,"priority":1,"record_length":96,"hex_timestamp":"0000019f77df8870"} 
[2026-07-19 06:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:28:10] 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-07-19 06:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812099840001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812099840001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:28:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812099840001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":136237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:28:10] local.INFO: GPS data processed {"connection_id":136237,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:28:10] local.INFO: Acknowledgment sent {"connection_id":136237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:28:32] local.INFO: TCP Data received {"connection_id":137288,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:28:32] local.INFO: Processing buffer {"connection_id":137288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:28:32] local.INFO: IMEI packet received {"connection_id":137288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":137288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:28:37] local.INFO: TCP Data received {"connection_id":137288,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:28:37] local.INFO: Processing buffer {"connection_id":137288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:28:37] local.INFO: IMEI packet received {"connection_id":137288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":137288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:28:38] local.INFO: TCP Data received {"connection_id":137288,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:28:38] local.INFO: Processing buffer {"connection_id":137288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:28:38] local.INFO: Packet analysis {"connection_id":137288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77df"} 
[2026-07-19 06:28:38] local.INFO: Extracted packet for processing {"connection_id":137288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77df"} 
[2026-07-19 06:28:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812099840001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:28: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-07-19 06:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784422566000,"timestamp_ms":1784422566000,"timestamp_seconds":1784422566,"priority":1,"record_length":96,"hex_timestamp":"0000019f77df8870"} 
[2026-07-19 06:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:28: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-07-19 06:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812099840001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812099840001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:28:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:28:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812099840001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":137288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:28:38] local.INFO: GPS data processed {"connection_id":137288,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:28:38] local.INFO: Acknowledgment sent {"connection_id":137288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:29:10] local.INFO: TCP Data received {"connection_id":137288,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:29:10] local.INFO: Processing buffer {"connection_id":137288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:29:10] local.INFO: Packet analysis {"connection_id":137288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77df"} 
[2026-07-19 06:29:10] local.INFO: Extracted packet for processing {"connection_id":137288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77df"} 
[2026-07-19 06:29:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812099840001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:29: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-07-19 06:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784422566000,"timestamp_ms":1784422566000,"timestamp_seconds":1784422566,"priority":1,"record_length":96,"hex_timestamp":"0000019f77df8870"} 
[2026-07-19 06:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812099840001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812099840001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:29:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:29:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812099840001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":137288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:29:10] local.INFO: GPS data processed {"connection_id":137288,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:29:10] local.INFO: Acknowledgment sent {"connection_id":137288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:29:32] local.INFO: TCP Data received {"connection_id":136363,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:29:32] local.INFO: Processing buffer {"connection_id":136363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:29:32] local.INFO: IMEI packet received {"connection_id":136363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":136363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:29:37] local.INFO: TCP Data received {"connection_id":136363,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:29:37] local.INFO: Processing buffer {"connection_id":136363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:29:37] local.INFO: IMEI packet received {"connection_id":136363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":136363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:29:38] local.INFO: TCP Data received {"connection_id":136363,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:29:38] local.INFO: Processing buffer {"connection_id":136363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:29:38] local.INFO: Packet analysis {"connection_id":136363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77df"} 
[2026-07-19 06:29:38] local.INFO: Extracted packet for processing {"connection_id":136363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77df"} 
[2026-07-19 06:29:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812099840001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:29: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-07-19 06:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784422566000,"timestamp_ms":1784422566000,"timestamp_seconds":1784422566,"priority":1,"record_length":96,"hex_timestamp":"0000019f77df8870"} 
[2026-07-19 06:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:29: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-07-19 06:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812099840001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812099840001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:29:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:29:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812099840001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":136363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:29:38] local.INFO: GPS data processed {"connection_id":136363,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:29:38] local.INFO: Acknowledgment sent {"connection_id":136363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:30:10] local.INFO: TCP Data received {"connection_id":136363,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:30:10] local.INFO: Processing buffer {"connection_id":136363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:30:10] local.INFO: Packet analysis {"connection_id":136363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77df"} 
[2026-07-19 06:30:10] local.INFO: Extracted packet for processing {"connection_id":136363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77df"} 
[2026-07-19 06:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812099840001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:30: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-07-19 06:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784422566000,"timestamp_ms":1784422566000,"timestamp_seconds":1784422566,"priority":1,"record_length":96,"hex_timestamp":"0000019f77df8870"} 
[2026-07-19 06:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:30:10] 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-07-19 06:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812099840001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812099840001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:30:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812099840001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":136363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:30:10] local.INFO: GPS data processed {"connection_id":136363,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:30:10] local.INFO: Acknowledgment sent {"connection_id":136363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:30:32] local.INFO: TCP Data received {"connection_id":138698,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:30:32] local.INFO: Processing buffer {"connection_id":138698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:30:32] local.INFO: IMEI packet received {"connection_id":138698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":138698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:30:37] local.INFO: TCP Data received {"connection_id":138698,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:30:37] local.INFO: Processing buffer {"connection_id":138698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:30:37] local.INFO: IMEI packet received {"connection_id":138698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":138698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:30:38] local.INFO: TCP Data received {"connection_id":138698,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:30:38] local.INFO: Processing buffer {"connection_id":138698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:30:38] local.INFO: Packet analysis {"connection_id":138698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77df"} 
[2026-07-19 06:30:38] local.INFO: Extracted packet for processing {"connection_id":138698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77df"} 
[2026-07-19 06:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812099840001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:30: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-07-19 06:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784422566000,"timestamp_ms":1784422566000,"timestamp_seconds":1784422566,"priority":1,"record_length":96,"hex_timestamp":"0000019f77df8870"} 
[2026-07-19 06:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812099840001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812099840001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:30:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812099840001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":138698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:30:38] local.INFO: GPS data processed {"connection_id":138698,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:30:38] local.INFO: Acknowledgment sent {"connection_id":138698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:31:09] local.INFO: TCP Data received {"connection_id":138698,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:31:09] local.INFO: Processing buffer {"connection_id":138698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:31:09] local.INFO: Packet analysis {"connection_id":138698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77df"} 
[2026-07-19 06:31:09] local.INFO: Extracted packet for processing {"connection_id":138698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77df"} 
[2026-07-19 06:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812099840001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:31: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-07-19 06:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784422566000,"timestamp_ms":1784422566000,"timestamp_seconds":1784422566,"priority":1,"record_length":96,"hex_timestamp":"0000019f77df8870"} 
[2026-07-19 06:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:31:09] 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-07-19 06:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812099840001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812099840001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812099840001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":138698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:31:09] local.INFO: GPS data processed {"connection_id":138698,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:31:09] local.INFO: Acknowledgment sent {"connection_id":138698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:31:32] local.INFO: TCP Data received {"connection_id":136364,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:31:32] local.INFO: Processing buffer {"connection_id":136364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:31:32] local.INFO: IMEI packet received {"connection_id":136364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":136364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:31:37] local.INFO: TCP Data received {"connection_id":136364,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:31:37] local.INFO: Processing buffer {"connection_id":136364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:31:37] local.INFO: IMEI packet received {"connection_id":136364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":136364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:31:38] local.INFO: TCP Data received {"connection_id":136364,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:31:38] local.INFO: Processing buffer {"connection_id":136364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77df8870012d34c58006aa4140001e010125..."} 
[2026-07-19 06:31:38] local.INFO: Packet analysis {"connection_id":136364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77df"} 
[2026-07-19 06:31:38] local.INFO: Extracted packet for processing {"connection_id":136364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77df"} 
[2026-07-19 06:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812099840001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:31: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-07-19 06:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784422566000,"timestamp_ms":1784422566000,"timestamp_seconds":1784422566,"priority":1,"record_length":96,"hex_timestamp":"0000019f77df8870"} 
[2026-07-19 06:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:31: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-07-19 06:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812099840001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812099840001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:31:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812099840001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":136364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:31:38] local.INFO: GPS data processed {"connection_id":136364,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:31:38] local.INFO: Acknowledgment sent {"connection_id":136364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:32:09] local.INFO: TCP Data received {"connection_id":136364,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:32:09] local.INFO: Processing buffer {"connection_id":136364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:32:09] local.INFO: Packet analysis {"connection_id":136364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77e4"} 
[2026-07-19 06:32:09] local.INFO: Extracted packet for processing {"connection_id":136364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77e4"} 
[2026-07-19 06:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812176896001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:32: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-07-19 06:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784422867000,"timestamp_ms":1784422867000,"timestamp_seconds":1784422867,"priority":1,"record_length":96,"hex_timestamp":"0000019f77e42038"} 
[2026-07-19 06:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:32: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-07-19 06:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812176896001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812176896001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:32:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812176896001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":136364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:32:09] local.INFO: GPS data processed {"connection_id":136364,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:32:09] local.INFO: Acknowledgment sent {"connection_id":136364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:32:32] local.INFO: TCP Data received {"connection_id":137289,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:32:32] local.INFO: Processing buffer {"connection_id":137289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:32:32] local.INFO: IMEI packet received {"connection_id":137289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":137289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:32:37] local.INFO: TCP Data received {"connection_id":137289,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:32:37] local.INFO: Processing buffer {"connection_id":137289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:32:37] local.INFO: IMEI packet received {"connection_id":137289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":137289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:32:38] local.INFO: TCP Data received {"connection_id":137289,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:32:38] local.INFO: Processing buffer {"connection_id":137289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:32:38] local.INFO: Packet analysis {"connection_id":137289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77e4"} 
[2026-07-19 06:32:38] local.INFO: Extracted packet for processing {"connection_id":137289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77e4"} 
[2026-07-19 06:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812176896001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:32: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-07-19 06:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784422867000,"timestamp_ms":1784422867000,"timestamp_seconds":1784422867,"priority":1,"record_length":96,"hex_timestamp":"0000019f77e42038"} 
[2026-07-19 06:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812176896001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812176896001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:32:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812176896001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":137289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:32:38] local.INFO: GPS data processed {"connection_id":137289,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:32:38] local.INFO: Acknowledgment sent {"connection_id":137289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:33:09] local.INFO: TCP Data received {"connection_id":137289,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:33:09] local.INFO: Processing buffer {"connection_id":137289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:33:09] local.INFO: Packet analysis {"connection_id":137289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77e4"} 
[2026-07-19 06:33:09] local.INFO: Extracted packet for processing {"connection_id":137289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77e4"} 
[2026-07-19 06:33:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812176896001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06: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-07-19 06:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784422867000,"timestamp_ms":1784422867000,"timestamp_seconds":1784422867,"priority":1,"record_length":96,"hex_timestamp":"0000019f77e42038"} 
[2026-07-19 06:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812176896001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812176896001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:33:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:33:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812176896001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":137289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:33:09] local.INFO: GPS data processed {"connection_id":137289,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:33:09] local.INFO: Acknowledgment sent {"connection_id":137289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:33:27] local.INFO: TCP Data received {"connection_id":138700,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:33:27] local.INFO: Processing buffer {"connection_id":138700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:33:27] local.INFO: IMEI packet received {"connection_id":138700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 06:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":138700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:33:32] local.INFO: TCP Data received {"connection_id":136365,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:33:32] local.INFO: Processing buffer {"connection_id":136365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:33:32] local.INFO: IMEI packet received {"connection_id":136365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":136365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:33:37] local.INFO: TCP Data received {"connection_id":136365,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:33:37] local.INFO: Processing buffer {"connection_id":136365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:33:37] local.INFO: IMEI packet received {"connection_id":136365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":136365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:33:38] local.INFO: TCP Data received {"connection_id":136365,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:33:38] local.INFO: Processing buffer {"connection_id":136365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:33:38] local.INFO: Packet analysis {"connection_id":136365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77e4"} 
[2026-07-19 06:33:38] local.INFO: Extracted packet for processing {"connection_id":136365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77e4"} 
[2026-07-19 06:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812176896001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:33: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-07-19 06:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784422867000,"timestamp_ms":1784422867000,"timestamp_seconds":1784422867,"priority":1,"record_length":96,"hex_timestamp":"0000019f77e42038"} 
[2026-07-19 06:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812176896001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812176896001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:33:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812176896001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":136365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:33:38] local.INFO: GPS data processed {"connection_id":136365,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:33:38] local.INFO: Acknowledgment sent {"connection_id":136365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:34:09] local.INFO: TCP Data received {"connection_id":136365,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:34:09] local.INFO: Processing buffer {"connection_id":136365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:34:09] local.INFO: Packet analysis {"connection_id":136365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77e4"} 
[2026-07-19 06:34:09] local.INFO: Extracted packet for processing {"connection_id":136365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77e4"} 
[2026-07-19 06:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812176896001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:34: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-07-19 06:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784422867000,"timestamp_ms":1784422867000,"timestamp_seconds":1784422867,"priority":1,"record_length":96,"hex_timestamp":"0000019f77e42038"} 
[2026-07-19 06:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812176896001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812176896001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812176896001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":136365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:34:09] local.INFO: GPS data processed {"connection_id":136365,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:34:09] local.INFO: Acknowledgment sent {"connection_id":136365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:34:32] local.INFO: TCP Data received {"connection_id":136240,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:34:32] local.INFO: Processing buffer {"connection_id":136240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:34:32] local.INFO: IMEI packet received {"connection_id":136240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":136240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:34:37] local.INFO: TCP Data received {"connection_id":136240,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:34:37] local.INFO: Processing buffer {"connection_id":136240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:34:37] local.INFO: IMEI packet received {"connection_id":136240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":136240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:34:38] local.INFO: TCP Data received {"connection_id":136240,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:34:38] local.INFO: Processing buffer {"connection_id":136240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:34:38] local.INFO: Packet analysis {"connection_id":136240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77e4"} 
[2026-07-19 06:34:38] local.INFO: Extracted packet for processing {"connection_id":136240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77e4"} 
[2026-07-19 06:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812176896001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:34: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-07-19 06:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784422867000,"timestamp_ms":1784422867000,"timestamp_seconds":1784422867,"priority":1,"record_length":96,"hex_timestamp":"0000019f77e42038"} 
[2026-07-19 06:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812176896001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812176896001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:34:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:34:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812176896001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":136240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:34:38] local.INFO: GPS data processed {"connection_id":136240,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:34:38] local.INFO: Acknowledgment sent {"connection_id":136240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:35:09] local.INFO: TCP Data received {"connection_id":136240,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:35:09] local.INFO: Processing buffer {"connection_id":136240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:35:09] local.INFO: Packet analysis {"connection_id":136240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77e4"} 
[2026-07-19 06:35:09] local.INFO: Extracted packet for processing {"connection_id":136240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77e4"} 
[2026-07-19 06:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812176896001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06: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-07-19 06:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784422867000,"timestamp_ms":1784422867000,"timestamp_seconds":1784422867,"priority":1,"record_length":96,"hex_timestamp":"0000019f77e42038"} 
[2026-07-19 06:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:35:09] 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-07-19 06:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812176896001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812176896001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:35:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812176896001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":136240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:35:09] local.INFO: GPS data processed {"connection_id":136240,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:35:09] local.INFO: Acknowledgment sent {"connection_id":136240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:35:32] local.INFO: TCP Data received {"connection_id":137291,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:35:32] local.INFO: Processing buffer {"connection_id":137291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:35:32] local.INFO: IMEI packet received {"connection_id":137291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":137291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:35:37] local.INFO: TCP Data received {"connection_id":137291,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:35:37] local.INFO: Processing buffer {"connection_id":137291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:35:37] local.INFO: IMEI packet received {"connection_id":137291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":137291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:35:38] local.INFO: TCP Data received {"connection_id":137291,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:35:38] local.INFO: Processing buffer {"connection_id":137291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:35:38] local.INFO: Packet analysis {"connection_id":137291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77e4"} 
[2026-07-19 06:35:38] local.INFO: Extracted packet for processing {"connection_id":137291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77e4"} 
[2026-07-19 06:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812176896001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:35: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-07-19 06:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784422867000,"timestamp_ms":1784422867000,"timestamp_seconds":1784422867,"priority":1,"record_length":96,"hex_timestamp":"0000019f77e42038"} 
[2026-07-19 06:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:35: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-07-19 06:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812176896001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812176896001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:35:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812176896001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":137291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:35:38] local.INFO: GPS data processed {"connection_id":137291,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:35:38] local.INFO: Acknowledgment sent {"connection_id":137291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:36:09] local.INFO: TCP Data received {"connection_id":137291,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:36:09] local.INFO: Processing buffer {"connection_id":137291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:36:09] local.INFO: Packet analysis {"connection_id":137291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77e4"} 
[2026-07-19 06:36:09] local.INFO: Extracted packet for processing {"connection_id":137291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77e4"} 
[2026-07-19 06:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812176896001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:36: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-07-19 06:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784422867000,"timestamp_ms":1784422867000,"timestamp_seconds":1784422867,"priority":1,"record_length":96,"hex_timestamp":"0000019f77e42038"} 
[2026-07-19 06:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:36: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-07-19 06:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812176896001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812176896001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:36:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812176896001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":137291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:36:09] local.INFO: GPS data processed {"connection_id":137291,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:36:09] local.INFO: Acknowledgment sent {"connection_id":137291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:36:32] local.INFO: TCP Data received {"connection_id":138701,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:36:32] local.INFO: Processing buffer {"connection_id":138701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:36:32] local.INFO: IMEI packet received {"connection_id":138701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":138701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:36:37] local.INFO: TCP Data received {"connection_id":138701,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:36:37] local.INFO: Processing buffer {"connection_id":138701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:36:37] local.INFO: IMEI packet received {"connection_id":138701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":138701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:36:38] local.INFO: TCP Data received {"connection_id":138701,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:36:38] local.INFO: Processing buffer {"connection_id":138701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77e42038012d34c58006aa4140001e010124..."} 
[2026-07-19 06:36:38] local.INFO: Packet analysis {"connection_id":138701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77e4"} 
[2026-07-19 06:36:38] local.INFO: Extracted packet for processing {"connection_id":138701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77e4"} 
[2026-07-19 06:36:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":30,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812176896001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:36: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-07-19 06:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784422867000,"timestamp_ms":1784422867000,"timestamp_seconds":1784422867,"priority":1,"record_length":96,"hex_timestamp":"0000019f77e42038"} 
[2026-07-19 06:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:36: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-07-19 06:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812176896001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812176896001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:36:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:36:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812176896001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":138701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:36:38] local.INFO: GPS data processed {"connection_id":138701,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:36:38] local.INFO: Acknowledgment sent {"connection_id":138701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:37:09] local.INFO: TCP Data received {"connection_id":138701,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:37:09] local.INFO: Processing buffer {"connection_id":138701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:37:09] local.INFO: Packet analysis {"connection_id":138701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77e8"} 
[2026-07-19 06:37:09] local.INFO: Extracted packet for processing {"connection_id":138701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77e8"} 
[2026-07-19 06:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812253952001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06: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-07-19 06:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784423168000,"timestamp_ms":1784423168000,"timestamp_seconds":1784423168,"priority":1,"record_length":96,"hex_timestamp":"0000019f77e8b800"} 
[2026-07-19 06:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 06:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:37: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-07-19 06:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812253952001,"66":25517,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812253952001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:37:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:37:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812253952001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":138701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:37:09] local.INFO: GPS data processed {"connection_id":138701,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:37:09] local.INFO: Acknowledgment sent {"connection_id":138701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:37:32] local.INFO: TCP Data received {"connection_id":136241,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:37:32] local.INFO: Processing buffer {"connection_id":136241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:37:32] local.INFO: IMEI packet received {"connection_id":136241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":136241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:37:37] local.INFO: TCP Data received {"connection_id":136241,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:37:37] local.INFO: Processing buffer {"connection_id":136241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:37:37] local.INFO: IMEI packet received {"connection_id":136241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":136241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:37:38] local.INFO: TCP Data received {"connection_id":136241,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:37:38] local.INFO: Processing buffer {"connection_id":136241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:37:38] local.INFO: Packet analysis {"connection_id":136241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77e8"} 
[2026-07-19 06:37:38] local.INFO: Extracted packet for processing {"connection_id":136241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77e8"} 
[2026-07-19 06:37:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812253952001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:37: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-07-19 06:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784423168000,"timestamp_ms":1784423168000,"timestamp_seconds":1784423168,"priority":1,"record_length":96,"hex_timestamp":"0000019f77e8b800"} 
[2026-07-19 06:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 06:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812253952001,"66":25517,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812253952001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:37:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:37:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812253952001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":136241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:37:38] local.INFO: GPS data processed {"connection_id":136241,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:37:38] local.INFO: Acknowledgment sent {"connection_id":136241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:38:11] local.INFO: TCP Data received {"connection_id":136241,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:38:11] local.INFO: Processing buffer {"connection_id":136241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:38:11] local.INFO: Packet analysis {"connection_id":136241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77e8"} 
[2026-07-19 06:38:11] local.INFO: Extracted packet for processing {"connection_id":136241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77e8"} 
[2026-07-19 06:38:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812253952001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:38: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-07-19 06:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784423168000,"timestamp_ms":1784423168000,"timestamp_seconds":1784423168,"priority":1,"record_length":96,"hex_timestamp":"0000019f77e8b800"} 
[2026-07-19 06:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 06:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":136241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":136241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":136241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:38:11] 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-07-19 06:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812253952001,"66":25517,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812253952001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:38:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:38:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812253952001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":136241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:38:11] local.INFO: GPS data processed {"connection_id":136241,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:38:11] local.INFO: Acknowledgment sent {"connection_id":136241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:38:33] local.INFO: TCP Data received {"connection_id":136369,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:38:33] local.INFO: Processing buffer {"connection_id":136369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:38:33] local.INFO: IMEI packet received {"connection_id":136369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":136369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:38:37] local.INFO: TCP Data received {"connection_id":136369,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:38:37] local.INFO: Processing buffer {"connection_id":136369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:38:37] local.INFO: IMEI packet received {"connection_id":136369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":136369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:38:38] local.INFO: TCP Data received {"connection_id":136369,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:38:38] local.INFO: Processing buffer {"connection_id":136369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:38:38] local.INFO: Packet analysis {"connection_id":136369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77e8"} 
[2026-07-19 06:38:38] local.INFO: Extracted packet for processing {"connection_id":136369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77e8"} 
[2026-07-19 06:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812253952001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:38: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-07-19 06:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784423168000,"timestamp_ms":1784423168000,"timestamp_seconds":1784423168,"priority":1,"record_length":96,"hex_timestamp":"0000019f77e8b800"} 
[2026-07-19 06:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 06:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812253952001,"66":25517,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812253952001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:38:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812253952001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":136369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:38:38] local.INFO: GPS data processed {"connection_id":136369,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:38:38] local.INFO: Acknowledgment sent {"connection_id":136369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:38:47] local.INFO: TCP Data received {"connection_id":136368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:38:47] local.INFO: Processing buffer {"connection_id":136368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:38:47] local.INFO: IMEI packet received {"connection_id":136368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 06:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":136368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:39:09] local.INFO: TCP Data received {"connection_id":136369,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:39:09] local.INFO: Processing buffer {"connection_id":136369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:39:09] local.INFO: Packet analysis {"connection_id":136369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77e8"} 
[2026-07-19 06:39:09] local.INFO: Extracted packet for processing {"connection_id":136369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77e8"} 
[2026-07-19 06:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812253952001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:39: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-07-19 06:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784423168000,"timestamp_ms":1784423168000,"timestamp_seconds":1784423168,"priority":1,"record_length":96,"hex_timestamp":"0000019f77e8b800"} 
[2026-07-19 06:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 06:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812253952001,"66":25517,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812253952001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:39:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812253952001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":136369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:39:09] local.INFO: GPS data processed {"connection_id":136369,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:39:09] local.INFO: Acknowledgment sent {"connection_id":136369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:39:27] local.INFO: TCP Data received {"connection_id":138702,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:39:27] local.INFO: Processing buffer {"connection_id":138702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:39:27] local.INFO: IMEI packet received {"connection_id":138702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 06:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":138702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:39:32] local.INFO: TCP Data received {"connection_id":138702,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:39:32] local.INFO: Processing buffer {"connection_id":138702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:39:32] local.INFO: IMEI packet received {"connection_id":138702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-19 06:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":138702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:39:32] local.INFO: TCP Data received {"connection_id":137292,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:39:32] local.INFO: Processing buffer {"connection_id":137292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:39:32] local.INFO: IMEI packet received {"connection_id":137292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":137292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:39:34] local.INFO: TCP Data received {"connection_id":138702,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f77c95ca8012d34cbc006aa56b00008010228..."} 
[2026-07-19 06:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77c95ca8012d34cbc006aa56b00008010228..."} 
[2026-07-19 06:39:34] local.INFO: Processing buffer {"connection_id":138702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77c95ca8012d34cbc006aa56b00008010228..."} 
[2026-07-19 06:39:34] local.INFO: Packet analysis {"connection_id":138702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77c9"} 
[2026-07-19 06:39:34] local.INFO: Extracted packet for processing {"connection_id":138702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77c9"} 
[2026-07-19 06:39:34] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111826608,"longitude_deg":75.8434752,"latitude_deg":11.1826608,"altitude":8,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa56b0","is_valid_coordinates":true} 
[2026-07-19 06:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456811727872001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":137892630867476480,"note":"Value kept but may cause issues"} 
[2026-07-19 06:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445104660480,"note":"Value kept but may cause issues"} 
[2026-07-19 06:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 06:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784421113000,"timestamp_ms":1784421113000,"timestamp_seconds":1784421113,"priority":1,"record_length":96,"hex_timestamp":"0000019f77c95ca8"} 
[2026-07-19 06:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-19 06:39:34] 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-07-19 06:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":138702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":138702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-19 06:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":138702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-19 06:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-19 06:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-19 06:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456811727872001,"66":25973,"32":206,"81":23296,"24":0,"16":137892630867476480,"45":3804345445104660480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-19 06:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-19 06:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-19 06:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456811727872001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:39:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-19 06:39:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":137892630867476480,"km_value":137892630867476.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445104660480,"description":"Unknown IO ID 45"} 
[2026-07-19 06:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456811727872001,"power":25973,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445104660480}} 
[2026-07-19 06:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":138702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510918,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:39:34] local.INFO: GPS data processed {"connection_id":138702,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:39:34] local.INFO: Acknowledgment sent {"connection_id":138702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:39:37] local.INFO: TCP Data received {"connection_id":137292,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:39:37] local.INFO: Processing buffer {"connection_id":137292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:39:37] local.INFO: IMEI packet received {"connection_id":137292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":137292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:39:38] local.INFO: TCP Data received {"connection_id":137292,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:39:38] local.INFO: Processing buffer {"connection_id":137292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:39:38] local.INFO: Packet analysis {"connection_id":137292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77e8"} 
[2026-07-19 06:39:38] local.INFO: Extracted packet for processing {"connection_id":137292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77e8"} 
[2026-07-19 06:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812253952001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:39: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-07-19 06:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784423168000,"timestamp_ms":1784423168000,"timestamp_seconds":1784423168,"priority":1,"record_length":96,"hex_timestamp":"0000019f77e8b800"} 
[2026-07-19 06:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 06:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812253952001,"66":25517,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812253952001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:39:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:39:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812253952001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":137292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:39:38] local.INFO: GPS data processed {"connection_id":137292,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:39:38] local.INFO: Acknowledgment sent {"connection_id":137292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:40:09] local.INFO: TCP Data received {"connection_id":137292,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:40:09] local.INFO: Processing buffer {"connection_id":137292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:40:09] local.INFO: Packet analysis {"connection_id":137292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77e8"} 
[2026-07-19 06:40:09] local.INFO: Extracted packet for processing {"connection_id":137292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77e8"} 
[2026-07-19 06:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812253952001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:40: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-07-19 06:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784423168000,"timestamp_ms":1784423168000,"timestamp_seconds":1784423168,"priority":1,"record_length":96,"hex_timestamp":"0000019f77e8b800"} 
[2026-07-19 06:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 06:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812253952001,"66":25517,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812253952001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812253952001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":137292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:40:09] local.INFO: GPS data processed {"connection_id":137292,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:40:09] local.INFO: Acknowledgment sent {"connection_id":137292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:40:27] local.INFO: TCP Data received {"connection_id":138703,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:40:27] local.INFO: Processing buffer {"connection_id":138703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:40:27] local.INFO: IMEI packet received {"connection_id":138703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 06:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":138703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:40:32] local.INFO: TCP Data received {"connection_id":136370,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:40:32] local.INFO: Processing buffer {"connection_id":136370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:40:32] local.INFO: IMEI packet received {"connection_id":136370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":136370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:40:37] local.INFO: TCP Data received {"connection_id":136370,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:40:37] local.INFO: Processing buffer {"connection_id":136370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:40:37] local.INFO: IMEI packet received {"connection_id":136370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":136370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:40:38] local.INFO: TCP Data received {"connection_id":136370,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:40:38] local.INFO: Processing buffer {"connection_id":136370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:40:38] local.INFO: Packet analysis {"connection_id":136370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77e8"} 
[2026-07-19 06:40:38] local.INFO: Extracted packet for processing {"connection_id":136370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77e8"} 
[2026-07-19 06:40:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812253952001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:40: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-07-19 06:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784423168000,"timestamp_ms":1784423168000,"timestamp_seconds":1784423168,"priority":1,"record_length":96,"hex_timestamp":"0000019f77e8b800"} 
[2026-07-19 06:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 06:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812253952001,"66":25517,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812253952001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:40:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:40:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812253952001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":136370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:40:38] local.INFO: GPS data processed {"connection_id":136370,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:40:38] local.INFO: Acknowledgment sent {"connection_id":136370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:41:09] local.INFO: TCP Data received {"connection_id":136370,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:41:09] local.INFO: Processing buffer {"connection_id":136370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:41:09] local.INFO: Packet analysis {"connection_id":136370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77e8"} 
[2026-07-19 06:41:09] local.INFO: Extracted packet for processing {"connection_id":136370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77e8"} 
[2026-07-19 06:41:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812253952001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:41: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-07-19 06:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784423168000,"timestamp_ms":1784423168000,"timestamp_seconds":1784423168,"priority":1,"record_length":96,"hex_timestamp":"0000019f77e8b800"} 
[2026-07-19 06:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 06:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:41:09] 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-07-19 06:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812253952001,"66":25517,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812253952001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:41:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:41:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812253952001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":136370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:41:09] local.INFO: GPS data processed {"connection_id":136370,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:41:09] local.INFO: Acknowledgment sent {"connection_id":136370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:41:32] local.INFO: TCP Data received {"connection_id":137294,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:41:32] local.INFO: Processing buffer {"connection_id":137294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:41:32] local.INFO: IMEI packet received {"connection_id":137294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":137294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:41:37] local.INFO: TCP Data received {"connection_id":137294,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:41:37] local.INFO: Processing buffer {"connection_id":137294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:41:37] local.INFO: IMEI packet received {"connection_id":137294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":137294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:41:38] local.INFO: TCP Data received {"connection_id":137294,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:41:38] local.INFO: Processing buffer {"connection_id":137294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77e8b800012d34c58006aa4140001b010122..."} 
[2026-07-19 06:41:38] local.INFO: Packet analysis {"connection_id":137294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77e8"} 
[2026-07-19 06:41:38] local.INFO: Extracted packet for processing {"connection_id":137294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77e8"} 
[2026-07-19 06:41:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812253952001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06: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-07-19 06:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784423168000,"timestamp_ms":1784423168000,"timestamp_seconds":1784423168,"priority":1,"record_length":96,"hex_timestamp":"0000019f77e8b800"} 
[2026-07-19 06:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 06:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812253952001,"66":25517,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812253952001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:41:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:41:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812253952001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":137294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:41:38] local.INFO: GPS data processed {"connection_id":137294,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:41:38] local.INFO: Acknowledgment sent {"connection_id":137294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:42:09] local.INFO: TCP Data received {"connection_id":137294,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:42:09] local.INFO: Processing buffer {"connection_id":137294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:42:09] local.INFO: Packet analysis {"connection_id":137294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ed"} 
[2026-07-19 06:42:09] local.INFO: Extracted packet for processing {"connection_id":137294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ed"} 
[2026-07-19 06:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":20,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812331008001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06: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-07-19 06:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784423469000,"timestamp_ms":1784423469000,"timestamp_seconds":1784423469,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ed4fc8"} 
[2026-07-19 06:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 06:42:09] 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-07-19 06: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-07-19 06:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812331008001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812331008001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:42:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812331008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":137294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:42:09] local.INFO: GPS data processed {"connection_id":137294,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:42:09] local.INFO: Acknowledgment sent {"connection_id":137294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:42:32] local.INFO: TCP Data received {"connection_id":136243,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:42:32] local.INFO: Processing buffer {"connection_id":136243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:42:32] local.INFO: IMEI packet received {"connection_id":136243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":136243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:42:37] local.INFO: TCP Data received {"connection_id":136243,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:42:37] local.INFO: Processing buffer {"connection_id":136243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:42:37] local.INFO: IMEI packet received {"connection_id":136243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":136243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:42:38] local.INFO: TCP Data received {"connection_id":136243,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:42:38] local.INFO: Processing buffer {"connection_id":136243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:42:38] local.INFO: Packet analysis {"connection_id":136243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ed"} 
[2026-07-19 06:42:38] local.INFO: Extracted packet for processing {"connection_id":136243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ed"} 
[2026-07-19 06:42:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":20,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812331008001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:42: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-07-19 06:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784423469000,"timestamp_ms":1784423469000,"timestamp_seconds":1784423469,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ed4fc8"} 
[2026-07-19 06:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 06:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812331008001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812331008001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:42:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:42:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812331008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":136243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:42:38] local.INFO: GPS data processed {"connection_id":136243,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:42:38] local.INFO: Acknowledgment sent {"connection_id":136243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:42:42] local.INFO: TCP Data received {"connection_id":136243,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:42:42] local.INFO: Processing buffer {"connection_id":136243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:42:42] local.INFO: Packet analysis {"connection_id":136243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ed"} 
[2026-07-19 06:42:42] local.INFO: Extracted packet for processing {"connection_id":136243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ed"} 
[2026-07-19 06:42:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":20,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812331008001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 06:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784423469000,"timestamp_ms":1784423469000,"timestamp_seconds":1784423469,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ed4fc8"} 
[2026-07-19 06:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 06:42:42] 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-07-19 06: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-07-19 06:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812331008001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812331008001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:42:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:42:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812331008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":136243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:42:42] local.INFO: GPS data processed {"connection_id":136243,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:42:42] local.INFO: Acknowledgment sent {"connection_id":136243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:43:14] local.INFO: TCP Data received {"connection_id":136243,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:43:14] local.INFO: Processing buffer {"connection_id":136243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:43:14] local.INFO: Packet analysis {"connection_id":136243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ed"} 
[2026-07-19 06:43:14] local.INFO: Extracted packet for processing {"connection_id":136243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ed"} 
[2026-07-19 06:43:14] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":20,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812331008001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:43: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-07-19 06:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784423469000,"timestamp_ms":1784423469000,"timestamp_seconds":1784423469,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ed4fc8"} 
[2026-07-19 06:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 06:43:14] 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-07-19 06: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-07-19 06:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":136243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":136243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":136243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:43:14] 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-07-19 06:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812331008001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812331008001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:43:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:43:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812331008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":136243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:43:14] local.INFO: GPS data processed {"connection_id":136243,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:43:14] local.INFO: Acknowledgment sent {"connection_id":136243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:43:32] local.INFO: TCP Data received {"connection_id":136371,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:43:32] local.INFO: Processing buffer {"connection_id":136371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:43:32] local.INFO: IMEI packet received {"connection_id":136371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":136371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:43:37] local.INFO: TCP Data received {"connection_id":136371,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:43:37] local.INFO: Processing buffer {"connection_id":136371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:43:37] local.INFO: IMEI packet received {"connection_id":136371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":136371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:43:38] local.INFO: TCP Data received {"connection_id":136371,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:43:38] local.INFO: Processing buffer {"connection_id":136371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:43:38] local.INFO: Packet analysis {"connection_id":136371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ed"} 
[2026-07-19 06:43:38] local.INFO: Extracted packet for processing {"connection_id":136371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ed"} 
[2026-07-19 06:43:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":20,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812331008001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:43: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-07-19 06:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784423469000,"timestamp_ms":1784423469000,"timestamp_seconds":1784423469,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ed4fc8"} 
[2026-07-19 06:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 06:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06: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-07-19 06:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812331008001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812331008001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:43:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:43:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812331008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":136371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:43:38] local.INFO: GPS data processed {"connection_id":136371,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:43:38] local.INFO: Acknowledgment sent {"connection_id":136371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:44:10] local.INFO: TCP Data received {"connection_id":136371,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:44:10] local.INFO: Processing buffer {"connection_id":136371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:44:10] local.INFO: Packet analysis {"connection_id":136371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ed"} 
[2026-07-19 06:44:10] local.INFO: Extracted packet for processing {"connection_id":136371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ed"} 
[2026-07-19 06:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":20,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812331008001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:44: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-07-19 06:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784423469000,"timestamp_ms":1784423469000,"timestamp_seconds":1784423469,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ed4fc8"} 
[2026-07-19 06:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 06:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:44: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-07-19 06:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812331008001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812331008001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:44:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812331008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":136371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:44:10] local.INFO: GPS data processed {"connection_id":136371,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:44:10] local.INFO: Acknowledgment sent {"connection_id":136371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:44:32] local.INFO: TCP Data received {"connection_id":137296,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:44:32] local.INFO: Processing buffer {"connection_id":137296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:44:32] local.INFO: IMEI packet received {"connection_id":137296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":137296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:44:37] local.INFO: TCP Data received {"connection_id":137296,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:44:37] local.INFO: Processing buffer {"connection_id":137296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:44:37] local.INFO: IMEI packet received {"connection_id":137296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":137296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:44:38] local.INFO: TCP Data received {"connection_id":137296,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:44:38] local.INFO: Processing buffer {"connection_id":137296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:44:38] local.INFO: Packet analysis {"connection_id":137296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ed"} 
[2026-07-19 06:44:38] local.INFO: Extracted packet for processing {"connection_id":137296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ed"} 
[2026-07-19 06:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":20,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812331008001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:44: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-07-19 06:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784423469000,"timestamp_ms":1784423469000,"timestamp_seconds":1784423469,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ed4fc8"} 
[2026-07-19 06:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 06:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:44: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-07-19 06:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812331008001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812331008001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:44:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812331008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":137296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:44:38] local.INFO: GPS data processed {"connection_id":137296,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:44:38] local.INFO: Acknowledgment sent {"connection_id":137296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:45:09] local.INFO: TCP Data received {"connection_id":137296,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:45:09] local.INFO: Processing buffer {"connection_id":137296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:45:09] local.INFO: Packet analysis {"connection_id":137296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ed"} 
[2026-07-19 06:45:09] local.INFO: Extracted packet for processing {"connection_id":137296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ed"} 
[2026-07-19 06:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":20,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812331008001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:45: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-07-19 06:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784423469000,"timestamp_ms":1784423469000,"timestamp_seconds":1784423469,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ed4fc8"} 
[2026-07-19 06:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:45: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-07-19 06:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 06:45:09] 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-07-19 06:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:45: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-07-19 06:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812331008001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812331008001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:45:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812331008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":137296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:45:09] local.INFO: GPS data processed {"connection_id":137296,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:45:09] local.INFO: Acknowledgment sent {"connection_id":137296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:45:32] local.INFO: TCP Data received {"connection_id":138706,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:45:32] local.INFO: Processing buffer {"connection_id":138706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:45:32] local.INFO: IMEI packet received {"connection_id":138706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":138706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:45:37] local.INFO: TCP Data received {"connection_id":138706,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:45:37] local.INFO: Processing buffer {"connection_id":138706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:45:37] local.INFO: IMEI packet received {"connection_id":138706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":138706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:45:38] local.INFO: TCP Data received {"connection_id":138706,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:45:38] local.INFO: Processing buffer {"connection_id":138706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:45:38] local.INFO: Packet analysis {"connection_id":138706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ed"} 
[2026-07-19 06:45:38] local.INFO: Extracted packet for processing {"connection_id":138706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ed"} 
[2026-07-19 06:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":20,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812331008001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:45: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-07-19 06:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784423469000,"timestamp_ms":1784423469000,"timestamp_seconds":1784423469,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ed4fc8"} 
[2026-07-19 06:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 06:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812331008001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812331008001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:45:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812331008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":138706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:45:38] local.INFO: GPS data processed {"connection_id":138706,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:45:38] local.INFO: Acknowledgment sent {"connection_id":138706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:45:57] local.INFO: TCP Data received {"connection_id":138705,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:45:57] local.INFO: Processing buffer {"connection_id":138705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:45:57] local.INFO: IMEI packet received {"connection_id":138705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 06:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":138705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:46:10] local.INFO: TCP Data received {"connection_id":138706,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:46:10] local.INFO: Processing buffer {"connection_id":138706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:46:10] local.INFO: Packet analysis {"connection_id":138706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ed"} 
[2026-07-19 06:46:10] local.INFO: Extracted packet for processing {"connection_id":138706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ed"} 
[2026-07-19 06:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":20,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812331008001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:46: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-07-19 06:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784423469000,"timestamp_ms":1784423469000,"timestamp_seconds":1784423469,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ed4fc8"} 
[2026-07-19 06:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 06:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:46: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-07-19 06:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812331008001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812331008001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:46:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812331008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":138706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:46:10] local.INFO: GPS data processed {"connection_id":138706,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:46:10] local.INFO: Acknowledgment sent {"connection_id":138706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:46:28] local.INFO: TCP Data received {"connection_id":136372,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:46:28] local.INFO: Processing buffer {"connection_id":136372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:46:28] local.INFO: IMEI packet received {"connection_id":136372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 06:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":136372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:46:32] local.INFO: TCP Data received {"connection_id":138707,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:46:32] local.INFO: Processing buffer {"connection_id":138707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:46:32] local.INFO: IMEI packet received {"connection_id":138707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":138707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:46:37] local.INFO: TCP Data received {"connection_id":138707,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:46:37] local.INFO: Processing buffer {"connection_id":138707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:46:37] local.INFO: IMEI packet received {"connection_id":138707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":138707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:46:38] local.INFO: TCP Data received {"connection_id":138707,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:46:38] local.INFO: Processing buffer {"connection_id":138707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ed4fc8012d34c58006aa41400014010129..."} 
[2026-07-19 06:46:38] local.INFO: Packet analysis {"connection_id":138707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ed"} 
[2026-07-19 06:46:38] local.INFO: Extracted packet for processing {"connection_id":138707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ed"} 
[2026-07-19 06:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":20,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812331008001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:46: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-07-19 06:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784423469000,"timestamp_ms":1784423469000,"timestamp_seconds":1784423469,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ed4fc8"} 
[2026-07-19 06:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 06:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:46:38] 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-07-19 06:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812331008001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 06:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812331008001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:46:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:46:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812331008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":138707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:46:38] local.INFO: GPS data processed {"connection_id":138707,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:46:38] local.INFO: Acknowledgment sent {"connection_id":138707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:47:09] local.INFO: TCP Data received {"connection_id":138707,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:47:09] local.INFO: Processing buffer {"connection_id":138707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:47:09] local.INFO: Packet analysis {"connection_id":138707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77f1"} 
[2026-07-19 06:47:09] local.INFO: Extracted packet for processing {"connection_id":138707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77f1"} 
[2026-07-19 06:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812408064001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06: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-07-19 06:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784423770000,"timestamp_ms":1784423770000,"timestamp_seconds":1784423770,"priority":1,"record_length":96,"hex_timestamp":"0000019f77f1e790"} 
[2026-07-19 06:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:47:09] 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-07-19 06:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812408064001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 06:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812408064001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:47:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812408064001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":138707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:47:09] local.INFO: GPS data processed {"connection_id":138707,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:47:09] local.INFO: Acknowledgment sent {"connection_id":138707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:47:37] local.INFO: TCP Data received {"connection_id":136245,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:47:37] local.INFO: Processing buffer {"connection_id":136245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:47:37] local.INFO: IMEI packet received {"connection_id":136245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":136245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:47:42] local.INFO: TCP Data received {"connection_id":136245,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:47:42] local.INFO: Processing buffer {"connection_id":136245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:47:42] local.INFO: IMEI packet received {"connection_id":136245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":136245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:47:43] local.INFO: TCP Data received {"connection_id":136245,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:47:43] local.INFO: Processing buffer {"connection_id":136245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:47:43] local.INFO: Packet analysis {"connection_id":136245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77f1"} 
[2026-07-19 06:47:43] local.INFO: Extracted packet for processing {"connection_id":136245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77f1"} 
[2026-07-19 06:47:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812408064001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:47: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-07-19 06:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784423770000,"timestamp_ms":1784423770000,"timestamp_seconds":1784423770,"priority":1,"record_length":96,"hex_timestamp":"0000019f77f1e790"} 
[2026-07-19 06:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:47:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:47:43] 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-07-19 06:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812408064001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812408064001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:47:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:47:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812408064001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":136245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:47:43] local.INFO: GPS data processed {"connection_id":136245,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:47:43] local.INFO: Acknowledgment sent {"connection_id":136245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:47:48] local.INFO: TCP Data received {"connection_id":136245,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:47:48] local.INFO: Processing buffer {"connection_id":136245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:47:48] local.INFO: Packet analysis {"connection_id":136245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77f1"} 
[2026-07-19 06:47:48] local.INFO: Extracted packet for processing {"connection_id":136245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77f1"} 
[2026-07-19 06:47:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812408064001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 06:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784423770000,"timestamp_ms":1784423770000,"timestamp_seconds":1784423770,"priority":1,"record_length":96,"hex_timestamp":"0000019f77f1e790"} 
[2026-07-19 06:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":136245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":136245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":136245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:47: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-07-19 06:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812408064001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812408064001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:47:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:47:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812408064001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":136245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:47:48] local.INFO: GPS data processed {"connection_id":136245,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:47:48] local.INFO: Acknowledgment sent {"connection_id":136245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:48:32] local.INFO: TCP Data received {"connection_id":136373,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:48:32] local.INFO: Processing buffer {"connection_id":136373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:48:32] local.INFO: IMEI packet received {"connection_id":136373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":136373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:48:37] local.INFO: TCP Data received {"connection_id":136373,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:48:37] local.INFO: Processing buffer {"connection_id":136373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:48:37] local.INFO: IMEI packet received {"connection_id":136373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":136373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:48:39] local.INFO: TCP Data received {"connection_id":136373,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:48:39] local.INFO: Processing buffer {"connection_id":136373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:48:39] local.INFO: Packet analysis {"connection_id":136373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77f1"} 
[2026-07-19 06:48:39] local.INFO: Extracted packet for processing {"connection_id":136373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77f1"} 
[2026-07-19 06:48:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812408064001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:48: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-07-19 06:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784423770000,"timestamp_ms":1784423770000,"timestamp_seconds":1784423770,"priority":1,"record_length":96,"hex_timestamp":"0000019f77f1e790"} 
[2026-07-19 06:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:48: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-07-19 06:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812408064001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812408064001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:48:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:48:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812408064001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":136373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:48:39] local.INFO: GPS data processed {"connection_id":136373,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:48:39] local.INFO: Acknowledgment sent {"connection_id":136373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:49:10] local.INFO: TCP Data received {"connection_id":136373,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:49:10] local.INFO: Processing buffer {"connection_id":136373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:49:10] local.INFO: Packet analysis {"connection_id":136373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77f1"} 
[2026-07-19 06:49:10] local.INFO: Extracted packet for processing {"connection_id":136373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77f1"} 
[2026-07-19 06:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812408064001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:49: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-07-19 06:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784423770000,"timestamp_ms":1784423770000,"timestamp_seconds":1784423770,"priority":1,"record_length":96,"hex_timestamp":"0000019f77f1e790"} 
[2026-07-19 06:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:49: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-07-19 06:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812408064001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812408064001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:49:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:49:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812408064001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":136373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:49:10] local.INFO: GPS data processed {"connection_id":136373,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:49:10] local.INFO: Acknowledgment sent {"connection_id":136373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:49:32] local.INFO: TCP Data received {"connection_id":136247,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:49:32] local.INFO: Processing buffer {"connection_id":136247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:49:32] local.INFO: IMEI packet received {"connection_id":136247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":136247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:49:37] local.INFO: TCP Data received {"connection_id":136247,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:49:37] local.INFO: Processing buffer {"connection_id":136247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:49:37] local.INFO: IMEI packet received {"connection_id":136247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":136247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:49:38] local.INFO: TCP Data received {"connection_id":136247,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:49:38] local.INFO: Processing buffer {"connection_id":136247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:49:38] local.INFO: Packet analysis {"connection_id":136247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77f1"} 
[2026-07-19 06:49:38] local.INFO: Extracted packet for processing {"connection_id":136247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77f1"} 
[2026-07-19 06:49:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812408064001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:49: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-07-19 06:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784423770000,"timestamp_ms":1784423770000,"timestamp_seconds":1784423770,"priority":1,"record_length":96,"hex_timestamp":"0000019f77f1e790"} 
[2026-07-19 06:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812408064001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812408064001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:49:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:49:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812408064001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":136247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:49:38] local.INFO: GPS data processed {"connection_id":136247,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:49:38] local.INFO: Acknowledgment sent {"connection_id":136247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:50:10] local.INFO: TCP Data received {"connection_id":136247,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:50:10] local.INFO: Processing buffer {"connection_id":136247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:50:10] local.INFO: Packet analysis {"connection_id":136247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77f1"} 
[2026-07-19 06:50:10] local.INFO: Extracted packet for processing {"connection_id":136247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77f1"} 
[2026-07-19 06:50:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812408064001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:50: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-07-19 06:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784423770000,"timestamp_ms":1784423770000,"timestamp_seconds":1784423770,"priority":1,"record_length":96,"hex_timestamp":"0000019f77f1e790"} 
[2026-07-19 06:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:50:10] 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-07-19 06:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812408064001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812408064001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:50:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:50:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812408064001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":136247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:50:10] local.INFO: GPS data processed {"connection_id":136247,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:50:10] local.INFO: Acknowledgment sent {"connection_id":136247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:50:32] local.INFO: TCP Data received {"connection_id":138708,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:50:32] local.INFO: Processing buffer {"connection_id":138708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:50:32] local.INFO: IMEI packet received {"connection_id":138708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":138708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:50:37] local.INFO: TCP Data received {"connection_id":138708,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:50:37] local.INFO: Processing buffer {"connection_id":138708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:50:37] local.INFO: IMEI packet received {"connection_id":138708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":138708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:50:38] local.INFO: TCP Data received {"connection_id":138708,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:50:38] local.INFO: Processing buffer {"connection_id":138708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:50:38] local.INFO: Packet analysis {"connection_id":138708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77f1"} 
[2026-07-19 06:50:38] local.INFO: Extracted packet for processing {"connection_id":138708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77f1"} 
[2026-07-19 06:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812408064001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:50: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-07-19 06:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784423770000,"timestamp_ms":1784423770000,"timestamp_seconds":1784423770,"priority":1,"record_length":96,"hex_timestamp":"0000019f77f1e790"} 
[2026-07-19 06:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:50: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-07-19 06:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812408064001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812408064001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:50:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:50:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812408064001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":138708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:50:38] local.INFO: GPS data processed {"connection_id":138708,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:50:38] local.INFO: Acknowledgment sent {"connection_id":138708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:51:11] local.INFO: TCP Data received {"connection_id":138708,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:51:11] local.INFO: Processing buffer {"connection_id":138708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:51:11] local.INFO: Packet analysis {"connection_id":138708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77f1"} 
[2026-07-19 06:51:11] local.INFO: Extracted packet for processing {"connection_id":138708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77f1"} 
[2026-07-19 06:51:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812408064001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:51: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-07-19 06:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784423770000,"timestamp_ms":1784423770000,"timestamp_seconds":1784423770,"priority":1,"record_length":96,"hex_timestamp":"0000019f77f1e790"} 
[2026-07-19 06:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:51: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-07-19 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":138708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":138708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":138708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:51:11] 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-07-19 06:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812408064001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812408064001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:51:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:51:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812408064001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":138708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:51:11] local.INFO: GPS data processed {"connection_id":138708,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:51:11] local.INFO: Acknowledgment sent {"connection_id":138708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:51:32] local.INFO: TCP Data received {"connection_id":138710,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:51:32] local.INFO: Processing buffer {"connection_id":138710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:51:32] local.INFO: IMEI packet received {"connection_id":138710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":138710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:51:37] local.INFO: TCP Data received {"connection_id":138710,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:51:37] local.INFO: Processing buffer {"connection_id":138710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:51:37] local.INFO: IMEI packet received {"connection_id":138710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":138710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:51:38] local.INFO: TCP Data received {"connection_id":138710,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:51:38] local.INFO: Processing buffer {"connection_id":138710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77f1e790012d34c58006aa4140001b010127..."} 
[2026-07-19 06:51:38] local.INFO: Packet analysis {"connection_id":138710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77f1"} 
[2026-07-19 06:51:38] local.INFO: Extracted packet for processing {"connection_id":138710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77f1"} 
[2026-07-19 06:51:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812408064001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:51: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-07-19 06:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784423770000,"timestamp_ms":1784423770000,"timestamp_seconds":1784423770,"priority":1,"record_length":96,"hex_timestamp":"0000019f77f1e790"} 
[2026-07-19 06:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 06:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:51: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-07-19 06:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812408064001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812408064001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:51:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:51:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812408064001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":138710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:51:38] local.INFO: GPS data processed {"connection_id":138710,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:51:38] local.INFO: Acknowledgment sent {"connection_id":138710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:51:48] local.INFO: TCP Data received {"connection_id":138709,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138709,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:51:48] local.INFO: Processing buffer {"connection_id":138709,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:51:48] local.INFO: IMEI packet received {"connection_id":138709,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 06:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":138709,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:52:10] local.INFO: TCP Data received {"connection_id":138710,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:52:10] local.INFO: Processing buffer {"connection_id":138710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:52:10] local.INFO: Packet analysis {"connection_id":138710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77f6"} 
[2026-07-19 06:52:10] local.INFO: Extracted packet for processing {"connection_id":138710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77f6"} 
[2026-07-19 06:52:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812485120001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:52: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-07-19 06:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784424071000,"timestamp_ms":1784424071000,"timestamp_seconds":1784424071,"priority":1,"record_length":96,"hex_timestamp":"0000019f77f67f58"} 
[2026-07-19 06:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:52: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-07-19 06:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812485120001,"66":25517,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812485120001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:52:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:52:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812485120001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":138710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:52:10] local.INFO: GPS data processed {"connection_id":138710,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:52:10] local.INFO: Acknowledgment sent {"connection_id":138710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:52:27] local.INFO: TCP Data received {"connection_id":136374,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136374,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:52:27] local.INFO: Processing buffer {"connection_id":136374,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:52:27] local.INFO: IMEI packet received {"connection_id":136374,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 06:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":136374,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:52:32] local.INFO: TCP Data received {"connection_id":136248,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:52:32] local.INFO: Processing buffer {"connection_id":136248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:52:32] local.INFO: IMEI packet received {"connection_id":136248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":136248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:52:37] local.INFO: TCP Data received {"connection_id":136248,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:52:37] local.INFO: Processing buffer {"connection_id":136248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:52:37] local.INFO: IMEI packet received {"connection_id":136248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":136248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:52:38] local.INFO: TCP Data received {"connection_id":136248,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:52:38] local.INFO: Processing buffer {"connection_id":136248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:52:38] local.INFO: Packet analysis {"connection_id":136248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77f6"} 
[2026-07-19 06:52:38] local.INFO: Extracted packet for processing {"connection_id":136248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77f6"} 
[2026-07-19 06:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812485120001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:52: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-07-19 06:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784424071000,"timestamp_ms":1784424071000,"timestamp_seconds":1784424071,"priority":1,"record_length":96,"hex_timestamp":"0000019f77f67f58"} 
[2026-07-19 06:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812485120001,"66":25517,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812485120001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:52:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:52:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812485120001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":136248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:52:38] local.INFO: GPS data processed {"connection_id":136248,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:52:38] local.INFO: Acknowledgment sent {"connection_id":136248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:53:09] local.INFO: TCP Data received {"connection_id":136248,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:53:09] local.INFO: Processing buffer {"connection_id":136248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:53:09] local.INFO: Packet analysis {"connection_id":136248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77f6"} 
[2026-07-19 06:53:09] local.INFO: Extracted packet for processing {"connection_id":136248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77f6"} 
[2026-07-19 06:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812485120001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:53: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-07-19 06:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784424071000,"timestamp_ms":1784424071000,"timestamp_seconds":1784424071,"priority":1,"record_length":96,"hex_timestamp":"0000019f77f67f58"} 
[2026-07-19 06:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:53: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-07-19 06:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812485120001,"66":25517,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812485120001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:53:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:53:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812485120001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":136248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:53:09] local.INFO: GPS data processed {"connection_id":136248,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:53:09] local.INFO: Acknowledgment sent {"connection_id":136248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:53:32] local.INFO: TCP Data received {"connection_id":136250,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:53:32] local.INFO: Processing buffer {"connection_id":136250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:53:32] local.INFO: IMEI packet received {"connection_id":136250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":136250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:53:37] local.INFO: TCP Data received {"connection_id":136250,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:53:37] local.INFO: Processing buffer {"connection_id":136250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:53:37] local.INFO: IMEI packet received {"connection_id":136250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":136250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:53:39] local.INFO: TCP Data received {"connection_id":136250,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:53:39] local.INFO: Processing buffer {"connection_id":136250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:53:39] local.INFO: Packet analysis {"connection_id":136250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77f6"} 
[2026-07-19 06:53:39] local.INFO: Extracted packet for processing {"connection_id":136250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77f6"} 
[2026-07-19 06:53:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812485120001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:53: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-07-19 06:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784424071000,"timestamp_ms":1784424071000,"timestamp_seconds":1784424071,"priority":1,"record_length":96,"hex_timestamp":"0000019f77f67f58"} 
[2026-07-19 06:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:53:39] 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-07-19 06:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812485120001,"66":25517,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812485120001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:53:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:53:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812485120001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":136250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:53:39] local.INFO: GPS data processed {"connection_id":136250,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:53:39] local.INFO: Acknowledgment sent {"connection_id":136250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:54:10] local.INFO: TCP Data received {"connection_id":136250,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:54:10] local.INFO: Processing buffer {"connection_id":136250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:54:10] local.INFO: Packet analysis {"connection_id":136250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77f6"} 
[2026-07-19 06:54:10] local.INFO: Extracted packet for processing {"connection_id":136250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77f6"} 
[2026-07-19 06:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812485120001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:54: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-07-19 06:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784424071000,"timestamp_ms":1784424071000,"timestamp_seconds":1784424071,"priority":1,"record_length":96,"hex_timestamp":"0000019f77f67f58"} 
[2026-07-19 06:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:54:10] 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-07-19 06:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812485120001,"66":25517,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812485120001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:54:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812485120001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":136250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:54:10] local.INFO: GPS data processed {"connection_id":136250,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:54:10] local.INFO: Acknowledgment sent {"connection_id":136250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:54:32] local.INFO: TCP Data received {"connection_id":138712,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:54:32] local.INFO: Processing buffer {"connection_id":138712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:54:32] local.INFO: IMEI packet received {"connection_id":138712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":138712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:54:37] local.INFO: TCP Data received {"connection_id":138712,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:54:37] local.INFO: Processing buffer {"connection_id":138712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:54:37] local.INFO: IMEI packet received {"connection_id":138712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":138712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:54:38] local.INFO: TCP Data received {"connection_id":138712,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:54:38] local.INFO: Processing buffer {"connection_id":138712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:54:38] local.INFO: Packet analysis {"connection_id":138712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77f6"} 
[2026-07-19 06:54:38] local.INFO: Extracted packet for processing {"connection_id":138712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77f6"} 
[2026-07-19 06:54:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812485120001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:54: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-07-19 06:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784424071000,"timestamp_ms":1784424071000,"timestamp_seconds":1784424071,"priority":1,"record_length":96,"hex_timestamp":"0000019f77f67f58"} 
[2026-07-19 06:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812485120001,"66":25517,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812485120001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:54:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812485120001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":138712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:54:38] local.INFO: GPS data processed {"connection_id":138712,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:54:38] local.INFO: Acknowledgment sent {"connection_id":138712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:55:10] local.INFO: TCP Data received {"connection_id":138712,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:55:10] local.INFO: Processing buffer {"connection_id":138712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:55:10] local.INFO: Packet analysis {"connection_id":138712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77f6"} 
[2026-07-19 06:55:10] local.INFO: Extracted packet for processing {"connection_id":138712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77f6"} 
[2026-07-19 06:55:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812485120001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:55: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-07-19 06:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784424071000,"timestamp_ms":1784424071000,"timestamp_seconds":1784424071,"priority":1,"record_length":96,"hex_timestamp":"0000019f77f67f58"} 
[2026-07-19 06:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812485120001,"66":25517,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812485120001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:55:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:55:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812485120001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":138712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:55:10] local.INFO: GPS data processed {"connection_id":138712,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:55:10] local.INFO: Acknowledgment sent {"connection_id":138712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:55:32] local.INFO: TCP Data received {"connection_id":136375,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:55:32] local.INFO: Processing buffer {"connection_id":136375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:55:32] local.INFO: IMEI packet received {"connection_id":136375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":136375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:55:37] local.INFO: TCP Data received {"connection_id":136375,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:55:37] local.INFO: Processing buffer {"connection_id":136375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:55:37] local.INFO: IMEI packet received {"connection_id":136375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":136375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:55:38] local.INFO: TCP Data received {"connection_id":136375,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:55:38] local.INFO: Processing buffer {"connection_id":136375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:55:38] local.INFO: Packet analysis {"connection_id":136375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77f6"} 
[2026-07-19 06:55:38] local.INFO: Extracted packet for processing {"connection_id":136375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77f6"} 
[2026-07-19 06:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812485120001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:55: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-07-19 06:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784424071000,"timestamp_ms":1784424071000,"timestamp_seconds":1784424071,"priority":1,"record_length":96,"hex_timestamp":"0000019f77f67f58"} 
[2026-07-19 06:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812485120001,"66":25517,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812485120001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:55:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812485120001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":136375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:55:38] local.INFO: GPS data processed {"connection_id":136375,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:55:38] local.INFO: Acknowledgment sent {"connection_id":136375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:56:09] local.INFO: TCP Data received {"connection_id":136375,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:56:09] local.INFO: Processing buffer {"connection_id":136375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:56:09] local.INFO: Packet analysis {"connection_id":136375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77f6"} 
[2026-07-19 06:56:09] local.INFO: Extracted packet for processing {"connection_id":136375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77f6"} 
[2026-07-19 06:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812485120001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:56: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-07-19 06:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784424071000,"timestamp_ms":1784424071000,"timestamp_seconds":1784424071,"priority":1,"record_length":96,"hex_timestamp":"0000019f77f67f58"} 
[2026-07-19 06:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:56: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-07-19 06: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:56: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-07-19 06:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812485120001,"66":25517,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812485120001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812485120001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":136375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:56:09] local.INFO: GPS data processed {"connection_id":136375,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:56:09] local.INFO: Acknowledgment sent {"connection_id":136375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:56:32] local.INFO: TCP Data received {"connection_id":136251,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:56:32] local.INFO: Processing buffer {"connection_id":136251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:56:32] local.INFO: IMEI packet received {"connection_id":136251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":136251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:56:37] local.INFO: TCP Data received {"connection_id":136251,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:56:37] local.INFO: Processing buffer {"connection_id":136251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:56:37] local.INFO: IMEI packet received {"connection_id":136251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":136251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:56:38] local.INFO: TCP Data received {"connection_id":136251,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:56:38] local.INFO: Processing buffer {"connection_id":136251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77f67f58012d34c58006aa4140001b010129..."} 
[2026-07-19 06:56:38] local.INFO: Packet analysis {"connection_id":136251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77f6"} 
[2026-07-19 06:56:38] local.INFO: Extracted packet for processing {"connection_id":136251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77f6"} 
[2026-07-19 06:56:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":27,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812485120001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06: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-07-19 06:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784424071000,"timestamp_ms":1784424071000,"timestamp_seconds":1784424071,"priority":1,"record_length":96,"hex_timestamp":"0000019f77f67f58"} 
[2026-07-19 06:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 06:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:56:38] 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-07-19 06:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812485120001,"66":25517,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812485120001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:56:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:56:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812485120001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":136251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:56:38] local.INFO: GPS data processed {"connection_id":136251,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:56:38] local.INFO: Acknowledgment sent {"connection_id":136251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:57:10] local.INFO: TCP Data received {"connection_id":136251,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 06:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 06:57:10] local.INFO: Processing buffer {"connection_id":136251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 06:57:10] local.INFO: Packet analysis {"connection_id":136251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77fb"} 
[2026-07-19 06:57:10] local.INFO: Extracted packet for processing {"connection_id":136251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77fb"} 
[2026-07-19 06:57:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 06:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812562176001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:57: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-07-19 06:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784424372000,"timestamp_ms":1784424372000,"timestamp_seconds":1784424372,"priority":1,"record_length":96,"hex_timestamp":"0000019f77fb1720"} 
[2026-07-19 06:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 06:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 06:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:57:10] 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-07-19 06:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812562176001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812562176001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:57:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:57:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812562176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":136251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:57:10] local.INFO: GPS data processed {"connection_id":136251,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:57:10] local.INFO: Acknowledgment sent {"connection_id":136251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:57:32] local.INFO: TCP Data received {"connection_id":137300,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:57:32] local.INFO: Processing buffer {"connection_id":137300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:57:32] local.INFO: IMEI packet received {"connection_id":137300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":137300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:57:37] local.INFO: TCP Data received {"connection_id":137300,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:57:37] local.INFO: Processing buffer {"connection_id":137300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:57:37] local.INFO: IMEI packet received {"connection_id":137300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":137300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:57:38] local.INFO: TCP Data received {"connection_id":137300,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 06:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 06:57:38] local.INFO: Processing buffer {"connection_id":137300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 06:57:38] local.INFO: Packet analysis {"connection_id":137300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77fb"} 
[2026-07-19 06:57:38] local.INFO: Extracted packet for processing {"connection_id":137300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77fb"} 
[2026-07-19 06:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812562176001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:57: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-07-19 06:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784424372000,"timestamp_ms":1784424372000,"timestamp_seconds":1784424372,"priority":1,"record_length":96,"hex_timestamp":"0000019f77fb1720"} 
[2026-07-19 06:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 06:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:57: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-07-19 06:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812562176001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812562176001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:57:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812562176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":137300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:57:38] local.INFO: GPS data processed {"connection_id":137300,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:57:38] local.INFO: Acknowledgment sent {"connection_id":137300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:57:57] local.INFO: TCP Data received {"connection_id":136377,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136377,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:57:57] local.INFO: Processing buffer {"connection_id":136377,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:57:57] local.INFO: IMEI packet received {"connection_id":136377,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 06:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":136377,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:58:09] local.INFO: TCP Data received {"connection_id":137300,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 06:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 06:58:09] local.INFO: Processing buffer {"connection_id":137300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 06:58:09] local.INFO: Packet analysis {"connection_id":137300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77fb"} 
[2026-07-19 06:58:09] local.INFO: Extracted packet for processing {"connection_id":137300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77fb"} 
[2026-07-19 06:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812562176001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06: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-07-19 06:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784424372000,"timestamp_ms":1784424372000,"timestamp_seconds":1784424372,"priority":1,"record_length":96,"hex_timestamp":"0000019f77fb1720"} 
[2026-07-19 06:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:58: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-07-19 06: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 06:58:09] 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-07-19 06: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-07-19 06:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:58: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-07-19 06:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812562176001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812562176001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:58:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:58:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812562176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":137300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:58:09] local.INFO: GPS data processed {"connection_id":137300,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:58:09] local.INFO: Acknowledgment sent {"connection_id":137300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:58:32] local.INFO: TCP Data received {"connection_id":137301,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:58:32] local.INFO: Processing buffer {"connection_id":137301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:58:32] local.INFO: IMEI packet received {"connection_id":137301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":137301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:58:36] local.INFO: TCP Data received {"connection_id":136252,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:58:36] local.INFO: Processing buffer {"connection_id":136252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 06:58:36] local.INFO: IMEI packet received {"connection_id":136252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 06:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":136252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:58:37] local.INFO: TCP Data received {"connection_id":137301,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:58:37] local.INFO: Processing buffer {"connection_id":137301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:58:37] local.INFO: IMEI packet received {"connection_id":137301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":137301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:58:38] local.INFO: TCP Data received {"connection_id":137301,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 06:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 06:58:38] local.INFO: Processing buffer {"connection_id":137301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 06:58:38] local.INFO: Packet analysis {"connection_id":137301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77fb"} 
[2026-07-19 06:58:38] local.INFO: Extracted packet for processing {"connection_id":137301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77fb"} 
[2026-07-19 06:58:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 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-07-19 06:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812562176001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06:58: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-07-19 06:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784424372000,"timestamp_ms":1784424372000,"timestamp_seconds":1784424372,"priority":1,"record_length":96,"hex_timestamp":"0000019f77fb1720"} 
[2026-07-19 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-07-19 06:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 06:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 06:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 06:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812562176001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812562176001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812562176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":137301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:58:38] local.INFO: GPS data processed {"connection_id":137301,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:58:38] local.INFO: Acknowledgment sent {"connection_id":137301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:59:10] local.INFO: TCP Data received {"connection_id":137301,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 06:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 06:59:10] local.INFO: Processing buffer {"connection_id":137301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 06:59:10] local.INFO: Packet analysis {"connection_id":137301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77fb"} 
[2026-07-19 06:59:10] local.INFO: Extracted packet for processing {"connection_id":137301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77fb"} 
[2026-07-19 06:59:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812562176001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06: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-07-19 06:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784424372000,"timestamp_ms":1784424372000,"timestamp_seconds":1784424372,"priority":1,"record_length":96,"hex_timestamp":"0000019f77fb1720"} 
[2026-07-19 06:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 06:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:59:10] 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-07-19 06:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812562176001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812562176001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:59:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:59:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812562176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":137301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:59:10] local.INFO: GPS data processed {"connection_id":137301,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:59:10] local.INFO: Acknowledgment sent {"connection_id":137301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 06:59:32] local.INFO: TCP Data received {"connection_id":138713,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:59:32] local.INFO: Processing buffer {"connection_id":138713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:59:32] local.INFO: IMEI packet received {"connection_id":138713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 06:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":138713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 06:59:37] local.INFO: TCP Data received {"connection_id":138713,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:59:37] local.INFO: Processing buffer {"connection_id":138713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 06:59:37] local.INFO: IMEI packet received {"connection_id":138713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 06:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":138713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 06:59:38] local.INFO: TCP Data received {"connection_id":138713,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 06:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 06:59:38] local.INFO: Processing buffer {"connection_id":138713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 06:59:38] local.INFO: Packet analysis {"connection_id":138713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77fb"} 
[2026-07-19 06:59:38] local.INFO: Extracted packet for processing {"connection_id":138713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77fb"} 
[2026-07-19 06:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 06: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-07-19 06:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812562176001,"note":"Value kept but may cause issues"} 
[2026-07-19 06:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 06:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 06: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-07-19 06:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784424372000,"timestamp_ms":1784424372000,"timestamp_seconds":1784424372,"priority":1,"record_length":96,"hex_timestamp":"0000019f77fb1720"} 
[2026-07-19 06:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 06:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 06:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 06:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 06: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-07-19 06:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 06:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 06:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 06:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 06:59: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-07-19 06:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 06:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 06:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812562176001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 06:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 06:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 06:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812562176001,"description":"Unknown IO ID 0"} 
[2026-07-19 06:59:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 06:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 06:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 06:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 06:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812562176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 06:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":138713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 06:59:38] local.INFO: GPS data processed {"connection_id":138713,"processed":1,"errors":0,"total":1} 
[2026-07-19 06:59:38] local.INFO: Acknowledgment sent {"connection_id":138713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:00:09] local.INFO: TCP Data received {"connection_id":138713,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 07:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 07:00:09] local.INFO: Processing buffer {"connection_id":138713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 07:00:09] local.INFO: Packet analysis {"connection_id":138713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77fb"} 
[2026-07-19 07:00:09] local.INFO: Extracted packet for processing {"connection_id":138713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77fb"} 
[2026-07-19 07:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812562176001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07: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-07-19 07:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784424372000,"timestamp_ms":1784424372000,"timestamp_seconds":1784424372,"priority":1,"record_length":96,"hex_timestamp":"0000019f77fb1720"} 
[2026-07-19 07:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:00: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-07-19 07:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 07:00:09] 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-07-19 07: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-07-19 07:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07: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-07-19 07:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812562176001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812562176001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:00:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:00:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812562176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":138713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:00:09] local.INFO: GPS data processed {"connection_id":138713,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:00:09] local.INFO: Acknowledgment sent {"connection_id":138713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:00:32] local.INFO: TCP Data received {"connection_id":136378,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:00:32] local.INFO: Processing buffer {"connection_id":136378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:00:32] local.INFO: IMEI packet received {"connection_id":136378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":136378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:00:37] local.INFO: TCP Data received {"connection_id":136378,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:00:37] local.INFO: Processing buffer {"connection_id":136378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:00:37] local.INFO: IMEI packet received {"connection_id":136378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":136378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:00:38] local.INFO: TCP Data received {"connection_id":136378,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 07:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 07:00:38] local.INFO: Processing buffer {"connection_id":136378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 07:00:38] local.INFO: Packet analysis {"connection_id":136378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77fb"} 
[2026-07-19 07:00:38] local.INFO: Extracted packet for processing {"connection_id":136378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77fb"} 
[2026-07-19 07:00:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812562176001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:00: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-07-19 07:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784424372000,"timestamp_ms":1784424372000,"timestamp_seconds":1784424372,"priority":1,"record_length":96,"hex_timestamp":"0000019f77fb1720"} 
[2026-07-19 07:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 07:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:00: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-07-19 07:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812562176001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812562176001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:00:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:00:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812562176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":136378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:00:38] local.INFO: GPS data processed {"connection_id":136378,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:00:38] local.INFO: Acknowledgment sent {"connection_id":136378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:01:10] local.INFO: TCP Data received {"connection_id":136378,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 07:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 07:01:10] local.INFO: Processing buffer {"connection_id":136378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 07:01:10] local.INFO: Packet analysis {"connection_id":136378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77fb"} 
[2026-07-19 07:01:10] local.INFO: Extracted packet for processing {"connection_id":136378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77fb"} 
[2026-07-19 07:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812562176001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:01: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-07-19 07:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784424372000,"timestamp_ms":1784424372000,"timestamp_seconds":1784424372,"priority":1,"record_length":96,"hex_timestamp":"0000019f77fb1720"} 
[2026-07-19 07:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 07:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812562176001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812562176001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:01:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:01:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812562176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":136378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:01:10] local.INFO: GPS data processed {"connection_id":136378,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:01:10] local.INFO: Acknowledgment sent {"connection_id":136378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:01:37] local.INFO: TCP Data received {"connection_id":137303,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:01:37] local.INFO: Processing buffer {"connection_id":137303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:01:37] local.INFO: IMEI packet received {"connection_id":137303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":137303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:01:42] local.INFO: TCP Data received {"connection_id":137303,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:01:42] local.INFO: Processing buffer {"connection_id":137303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:01:42] local.INFO: IMEI packet received {"connection_id":137303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":137303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:01:43] local.INFO: TCP Data received {"connection_id":137303,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 07:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 07:01:43] local.INFO: Processing buffer {"connection_id":137303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 07:01:43] local.INFO: Packet analysis {"connection_id":137303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77fb"} 
[2026-07-19 07:01:43] local.INFO: Extracted packet for processing {"connection_id":137303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77fb"} 
[2026-07-19 07:01:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812562176001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:01: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-07-19 07:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784424372000,"timestamp_ms":1784424372000,"timestamp_seconds":1784424372,"priority":1,"record_length":96,"hex_timestamp":"0000019f77fb1720"} 
[2026-07-19 07:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 07:01:43] 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-07-19 07:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812562176001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812562176001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:01:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:01:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812562176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":137303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:01:43] local.INFO: GPS data processed {"connection_id":137303,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:01:43] local.INFO: Acknowledgment sent {"connection_id":137303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:01:48] local.INFO: TCP Data received {"connection_id":137303,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 07:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 07:01:48] local.INFO: Processing buffer {"connection_id":137303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77fb1720012d34c58006aa41400011010126..."} 
[2026-07-19 07:01:48] local.INFO: Packet analysis {"connection_id":137303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77fb"} 
[2026-07-19 07:01:48] local.INFO: Extracted packet for processing {"connection_id":137303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77fb"} 
[2026-07-19 07:01:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812562176001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 07:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784424372000,"timestamp_ms":1784424372000,"timestamp_seconds":1784424372,"priority":1,"record_length":96,"hex_timestamp":"0000019f77fb1720"} 
[2026-07-19 07:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 07:01:48] 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-07-19 07:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":137303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":137303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":137303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:01:48] 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-07-19 07:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812562176001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812562176001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:01:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:01:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812562176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":137303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:01:48] local.INFO: GPS data processed {"connection_id":137303,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:01:48] local.INFO: Acknowledgment sent {"connection_id":137303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:02:32] local.INFO: TCP Data received {"connection_id":136255,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:02:32] local.INFO: Processing buffer {"connection_id":136255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:02:32] local.INFO: IMEI packet received {"connection_id":136255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":136255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:02:37] local.INFO: TCP Data received {"connection_id":136255,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:02:37] local.INFO: Processing buffer {"connection_id":136255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:02:37] local.INFO: IMEI packet received {"connection_id":136255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":136255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:02:38] local.INFO: TCP Data received {"connection_id":136255,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:02:38] local.INFO: Processing buffer {"connection_id":136255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:02:38] local.INFO: Packet analysis {"connection_id":136255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ff"} 
[2026-07-19 07:02:38] local.INFO: Extracted packet for processing {"connection_id":136255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ff"} 
[2026-07-19 07:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812639232001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:02: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-07-19 07:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784424673000,"timestamp_ms":1784424673000,"timestamp_seconds":1784424673,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ffaee8"} 
[2026-07-19 07:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:02: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-07-19 07:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812639232001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812639232001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:02:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:02:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812639232001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":136255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:02:38] local.INFO: GPS data processed {"connection_id":136255,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:02:38] local.INFO: Acknowledgment sent {"connection_id":136255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:03:10] local.INFO: TCP Data received {"connection_id":136255,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:03:10] local.INFO: Processing buffer {"connection_id":136255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:03:10] local.INFO: Packet analysis {"connection_id":136255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ff"} 
[2026-07-19 07:03:10] local.INFO: Extracted packet for processing {"connection_id":136255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ff"} 
[2026-07-19 07:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812639232001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:03: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-07-19 07:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784424673000,"timestamp_ms":1784424673000,"timestamp_seconds":1784424673,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ffaee8"} 
[2026-07-19 07:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:03: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-07-19 07:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812639232001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812639232001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:03:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:03:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812639232001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":136255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:03:10] local.INFO: GPS data processed {"connection_id":136255,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:03:10] local.INFO: Acknowledgment sent {"connection_id":136255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:03:32] local.INFO: TCP Data received {"connection_id":137306,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:03:32] local.INFO: Processing buffer {"connection_id":137306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:03:32] local.INFO: IMEI packet received {"connection_id":137306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":137306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:03:37] local.INFO: TCP Data received {"connection_id":137306,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:03:37] local.INFO: Processing buffer {"connection_id":137306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:03:37] local.INFO: IMEI packet received {"connection_id":137306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":137306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:03:38] local.INFO: TCP Data received {"connection_id":137306,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:03:38] local.INFO: Processing buffer {"connection_id":137306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:03:38] local.INFO: Packet analysis {"connection_id":137306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ff"} 
[2026-07-19 07:03:38] local.INFO: Extracted packet for processing {"connection_id":137306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ff"} 
[2026-07-19 07:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812639232001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:03: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-07-19 07:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784424673000,"timestamp_ms":1784424673000,"timestamp_seconds":1784424673,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ffaee8"} 
[2026-07-19 07:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07: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-07-19 07:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812639232001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812639232001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:03:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:03:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812639232001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":137306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:03:38] local.INFO: GPS data processed {"connection_id":137306,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:03:38] local.INFO: Acknowledgment sent {"connection_id":137306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:03:52] local.INFO: TCP Data received {"connection_id":137305,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:03:52] local.INFO: Processing buffer {"connection_id":137305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:03:52] local.INFO: IMEI packet received {"connection_id":137305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 07:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":137305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:04:10] local.INFO: TCP Data received {"connection_id":137306,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:04:10] local.INFO: Processing buffer {"connection_id":137306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:04:10] local.INFO: Packet analysis {"connection_id":137306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ff"} 
[2026-07-19 07:04:10] local.INFO: Extracted packet for processing {"connection_id":137306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ff"} 
[2026-07-19 07:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812639232001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:04: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-07-19 07:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784424673000,"timestamp_ms":1784424673000,"timestamp_seconds":1784424673,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ffaee8"} 
[2026-07-19 07:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:04: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-07-19 07:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812639232001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812639232001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:04:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:04:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812639232001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":137306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:04:10] local.INFO: GPS data processed {"connection_id":137306,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:04:10] local.INFO: Acknowledgment sent {"connection_id":137306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:04:27] local.INFO: TCP Data received {"connection_id":137307,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:04:27] local.INFO: Processing buffer {"connection_id":137307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:04:27] local.INFO: IMEI packet received {"connection_id":137307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 07:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":137307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:04:32] local.INFO: TCP Data received {"connection_id":136379,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:04:32] local.INFO: Processing buffer {"connection_id":136379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:04:32] local.INFO: IMEI packet received {"connection_id":136379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":136379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:04:37] local.INFO: TCP Data received {"connection_id":136379,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:04:37] local.INFO: Processing buffer {"connection_id":136379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:04:37] local.INFO: IMEI packet received {"connection_id":136379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":136379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:04:38] local.INFO: TCP Data received {"connection_id":136379,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:04:38] local.INFO: Processing buffer {"connection_id":136379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:04:38] local.INFO: Packet analysis {"connection_id":136379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ff"} 
[2026-07-19 07:04:38] local.INFO: Extracted packet for processing {"connection_id":136379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ff"} 
[2026-07-19 07:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812639232001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:04: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-07-19 07:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784424673000,"timestamp_ms":1784424673000,"timestamp_seconds":1784424673,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ffaee8"} 
[2026-07-19 07:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:04: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-07-19 07:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812639232001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812639232001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:04:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:04:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812639232001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":136379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:04:38] local.INFO: GPS data processed {"connection_id":136379,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:04:38] local.INFO: Acknowledgment sent {"connection_id":136379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:05:10] local.INFO: TCP Data received {"connection_id":136379,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:05:10] local.INFO: Processing buffer {"connection_id":136379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:05:10] local.INFO: Packet analysis {"connection_id":136379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ff"} 
[2026-07-19 07:05:10] local.INFO: Extracted packet for processing {"connection_id":136379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ff"} 
[2026-07-19 07:05:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812639232001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:05: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-07-19 07:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784424673000,"timestamp_ms":1784424673000,"timestamp_seconds":1784424673,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ffaee8"} 
[2026-07-19 07:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:05: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-07-19 07:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812639232001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812639232001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:05:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:05:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812639232001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":136379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:05:10] local.INFO: GPS data processed {"connection_id":136379,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:05:10] local.INFO: Acknowledgment sent {"connection_id":136379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:05:37] local.INFO: TCP Data received {"connection_id":138714,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:05:37] local.INFO: Processing buffer {"connection_id":138714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:05:37] local.INFO: IMEI packet received {"connection_id":138714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":138714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:05:42] local.INFO: TCP Data received {"connection_id":138714,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:05:42] local.INFO: Processing buffer {"connection_id":138714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:05:42] local.INFO: IMEI packet received {"connection_id":138714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":138714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:05:43] local.INFO: TCP Data received {"connection_id":138714,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:05:43] local.INFO: Processing buffer {"connection_id":138714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:05:43] local.INFO: Packet analysis {"connection_id":138714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ff"} 
[2026-07-19 07:05:43] local.INFO: Extracted packet for processing {"connection_id":138714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ff"} 
[2026-07-19 07:05:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812639232001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:05: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-07-19 07:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784424673000,"timestamp_ms":1784424673000,"timestamp_seconds":1784424673,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ffaee8"} 
[2026-07-19 07:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":138714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":138714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":138714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:05:43] 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-07-19 07:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812639232001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812639232001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:05:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:05:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812639232001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":138714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:05:43] local.INFO: GPS data processed {"connection_id":138714,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:05:43] local.INFO: Acknowledgment sent {"connection_id":138714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:05:47] local.INFO: TCP Data received {"connection_id":138714,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:05:47] local.INFO: Processing buffer {"connection_id":138714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:05:47] local.INFO: Packet analysis {"connection_id":138714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ff"} 
[2026-07-19 07:05:47] local.INFO: Extracted packet for processing {"connection_id":138714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ff"} 
[2026-07-19 07:05:47] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812639232001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 07:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784424673000,"timestamp_ms":1784424673000,"timestamp_seconds":1784424673,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ffaee8"} 
[2026-07-19 07:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":138714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":138714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":138714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812639232001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812639232001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:05:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:05:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812639232001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":138714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:05:47] local.INFO: GPS data processed {"connection_id":138714,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:05:47] local.INFO: Acknowledgment sent {"connection_id":138714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:06:32] local.INFO: TCP Data received {"connection_id":137308,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:06:32] local.INFO: Processing buffer {"connection_id":137308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:06:32] local.INFO: IMEI packet received {"connection_id":137308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":137308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:06:37] local.INFO: TCP Data received {"connection_id":137308,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:06:37] local.INFO: Processing buffer {"connection_id":137308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:06:37] local.INFO: IMEI packet received {"connection_id":137308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":137308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:06:38] local.INFO: TCP Data received {"connection_id":137308,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:06:38] local.INFO: Processing buffer {"connection_id":137308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ffaee8012d34c58006aa41400011010127..."} 
[2026-07-19 07:06:38] local.INFO: Packet analysis {"connection_id":137308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ff"} 
[2026-07-19 07:06:38] local.INFO: Extracted packet for processing {"connection_id":137308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ff"} 
[2026-07-19 07:06:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812639232001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:06: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-07-19 07:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784424673000,"timestamp_ms":1784424673000,"timestamp_seconds":1784424673,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ffaee8"} 
[2026-07-19 07:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:06: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-07-19 07:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812639232001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812639232001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:06:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:06:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812639232001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":137308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:06:38] local.INFO: GPS data processed {"connection_id":137308,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:06:38] local.INFO: Acknowledgment sent {"connection_id":137308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:07:10] local.INFO: TCP Data received {"connection_id":137308,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:07:10] local.INFO: Processing buffer {"connection_id":137308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:07:10] local.INFO: Packet analysis {"connection_id":137308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7804"} 
[2026-07-19 07:07:10] local.INFO: Extracted packet for processing {"connection_id":137308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7804"} 
[2026-07-19 07:07:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812716288001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:07: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-07-19 07:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784424974000,"timestamp_ms":1784424974000,"timestamp_seconds":1784424974,"priority":1,"record_length":96,"hex_timestamp":"0000019f780446b0"} 
[2026-07-19 07:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:07: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-07-19 07:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812716288001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812716288001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:07:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:07:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812716288001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":137308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:07:10] local.INFO: GPS data processed {"connection_id":137308,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:07:10] local.INFO: Acknowledgment sent {"connection_id":137308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:07:32] local.INFO: TCP Data received {"connection_id":136381,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:07:32] local.INFO: Processing buffer {"connection_id":136381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:07:32] local.INFO: IMEI packet received {"connection_id":136381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":136381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:07:37] local.INFO: TCP Data received {"connection_id":136381,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:07:37] local.INFO: Processing buffer {"connection_id":136381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:07:37] local.INFO: IMEI packet received {"connection_id":136381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":136381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:07:38] local.INFO: TCP Data received {"connection_id":136381,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:07:38] local.INFO: Processing buffer {"connection_id":136381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:07:38] local.INFO: Packet analysis {"connection_id":136381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7804"} 
[2026-07-19 07:07:38] local.INFO: Extracted packet for processing {"connection_id":136381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7804"} 
[2026-07-19 07:07:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812716288001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:07: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-07-19 07:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784424974000,"timestamp_ms":1784424974000,"timestamp_seconds":1784424974,"priority":1,"record_length":96,"hex_timestamp":"0000019f780446b0"} 
[2026-07-19 07:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812716288001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812716288001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:07:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:07:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812716288001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":136381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:07:38] local.INFO: GPS data processed {"connection_id":136381,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:07:38] local.INFO: Acknowledgment sent {"connection_id":136381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:08:10] local.INFO: TCP Data received {"connection_id":136381,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:08:10] local.INFO: Processing buffer {"connection_id":136381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:08:10] local.INFO: Packet analysis {"connection_id":136381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7804"} 
[2026-07-19 07:08:10] local.INFO: Extracted packet for processing {"connection_id":136381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7804"} 
[2026-07-19 07:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812716288001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:08: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-07-19 07:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784424974000,"timestamp_ms":1784424974000,"timestamp_seconds":1784424974,"priority":1,"record_length":96,"hex_timestamp":"0000019f780446b0"} 
[2026-07-19 07:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:08:10] 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-07-19 07:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812716288001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812716288001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:08:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812716288001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":136381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:08:10] local.INFO: GPS data processed {"connection_id":136381,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:08:10] local.INFO: Acknowledgment sent {"connection_id":136381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:08:37] local.INFO: TCP Data received {"connection_id":136257,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:08:37] local.INFO: Processing buffer {"connection_id":136257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:08:37] local.INFO: IMEI packet received {"connection_id":136257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":136257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:08:42] local.INFO: TCP Data received {"connection_id":136257,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:08:42] local.INFO: Processing buffer {"connection_id":136257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:08:42] local.INFO: IMEI packet received {"connection_id":136257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":136257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:08:43] local.INFO: TCP Data received {"connection_id":136257,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:08:43] local.INFO: Processing buffer {"connection_id":136257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:08:43] local.INFO: Packet analysis {"connection_id":136257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7804"} 
[2026-07-19 07:08:43] local.INFO: Extracted packet for processing {"connection_id":136257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7804"} 
[2026-07-19 07:08:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812716288001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:08: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-07-19 07:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784424974000,"timestamp_ms":1784424974000,"timestamp_seconds":1784424974,"priority":1,"record_length":96,"hex_timestamp":"0000019f780446b0"} 
[2026-07-19 07:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:08:43] 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-07-19 07:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812716288001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812716288001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:08:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:08:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812716288001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":136257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:08:43] local.INFO: GPS data processed {"connection_id":136257,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:08:43] local.INFO: Acknowledgment sent {"connection_id":136257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:08:47] local.INFO: TCP Data received {"connection_id":136257,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:08:47] local.INFO: Processing buffer {"connection_id":136257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:08:47] local.INFO: Packet analysis {"connection_id":136257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7804"} 
[2026-07-19 07:08:47] local.INFO: Extracted packet for processing {"connection_id":136257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7804"} 
[2026-07-19 07:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812716288001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 07:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784424974000,"timestamp_ms":1784424974000,"timestamp_seconds":1784424974,"priority":1,"record_length":96,"hex_timestamp":"0000019f780446b0"} 
[2026-07-19 07:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812716288001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812716288001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:08:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:08:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812716288001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":136257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:08:47] local.INFO: GPS data processed {"connection_id":136257,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:08:47] local.INFO: Acknowledgment sent {"connection_id":136257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:09:32] local.INFO: TCP Data received {"connection_id":136383,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:09:32] local.INFO: Processing buffer {"connection_id":136383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:09:32] local.INFO: IMEI packet received {"connection_id":136383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":136383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:09:37] local.INFO: TCP Data received {"connection_id":136383,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:09:37] local.INFO: Processing buffer {"connection_id":136383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:09:37] local.INFO: IMEI packet received {"connection_id":136383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":136383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:09:38] local.INFO: TCP Data received {"connection_id":136383,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:09:38] local.INFO: Processing buffer {"connection_id":136383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:09:38] local.INFO: Packet analysis {"connection_id":136383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7804"} 
[2026-07-19 07:09:38] local.INFO: Extracted packet for processing {"connection_id":136383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7804"} 
[2026-07-19 07:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812716288001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:09: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-07-19 07:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784424974000,"timestamp_ms":1784424974000,"timestamp_seconds":1784424974,"priority":1,"record_length":96,"hex_timestamp":"0000019f780446b0"} 
[2026-07-19 07:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812716288001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812716288001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:09:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:09:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812716288001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":136383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:09:38] local.INFO: GPS data processed {"connection_id":136383,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:09:38] local.INFO: Acknowledgment sent {"connection_id":136383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:09:42] local.INFO: TCP Data received {"connection_id":136382,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:09:42] local.INFO: Processing buffer {"connection_id":136382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:09:42] local.INFO: IMEI packet received {"connection_id":136382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 07:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":136382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:10:11] local.INFO: TCP Data received {"connection_id":136383,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:10:11] local.INFO: Processing buffer {"connection_id":136383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:10:11] local.INFO: Packet analysis {"connection_id":136383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7804"} 
[2026-07-19 07:10:11] local.INFO: Extracted packet for processing {"connection_id":136383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7804"} 
[2026-07-19 07:10:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812716288001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:10: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-07-19 07:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784424974000,"timestamp_ms":1784424974000,"timestamp_seconds":1784424974,"priority":1,"record_length":96,"hex_timestamp":"0000019f780446b0"} 
[2026-07-19 07:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:10: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-07-19 07:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":136383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":136383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":136383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:10:11] 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-07-19 07:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812716288001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812716288001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:10:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:10:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812716288001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":136383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:10:11] local.INFO: GPS data processed {"connection_id":136383,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:10:11] local.INFO: Acknowledgment sent {"connection_id":136383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:10:27] local.INFO: TCP Data received {"connection_id":138716,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:10:27] local.INFO: Processing buffer {"connection_id":138716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:10:27] local.INFO: IMEI packet received {"connection_id":138716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 07:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":138716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:10:32] local.INFO: TCP Data received {"connection_id":136384,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:10:32] local.INFO: Processing buffer {"connection_id":136384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:10:32] local.INFO: IMEI packet received {"connection_id":136384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":136384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:10:37] local.INFO: TCP Data received {"connection_id":136384,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:10:37] local.INFO: Processing buffer {"connection_id":136384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:10:37] local.INFO: IMEI packet received {"connection_id":136384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":136384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:10:38] local.INFO: TCP Data received {"connection_id":136384,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:10:38] local.INFO: Processing buffer {"connection_id":136384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:10:38] local.INFO: Packet analysis {"connection_id":136384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7804"} 
[2026-07-19 07:10:38] local.INFO: Extracted packet for processing {"connection_id":136384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7804"} 
[2026-07-19 07:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812716288001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:10: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-07-19 07:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784424974000,"timestamp_ms":1784424974000,"timestamp_seconds":1784424974,"priority":1,"record_length":96,"hex_timestamp":"0000019f780446b0"} 
[2026-07-19 07:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812716288001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812716288001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812716288001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":136384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:10:38] local.INFO: GPS data processed {"connection_id":136384,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:10:38] local.INFO: Acknowledgment sent {"connection_id":136384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:11:27] local.INFO: TCP Data received {"connection_id":136258,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:11:27] local.INFO: Processing buffer {"connection_id":136258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:11:27] local.INFO: IMEI packet received {"connection_id":136258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":136258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:11:32] local.INFO: TCP Data received {"connection_id":136258,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:11:32] local.INFO: Processing buffer {"connection_id":136258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:11:32] local.INFO: IMEI packet received {"connection_id":136258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":136258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:11:33] local.INFO: TCP Data received {"connection_id":136258,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:11:33] local.INFO: Processing buffer {"connection_id":136258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f780446b0012d34c58006aa41400011010128..."} 
[2026-07-19 07:11:33] local.INFO: Packet analysis {"connection_id":136258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7804"} 
[2026-07-19 07:11:33] local.INFO: Extracted packet for processing {"connection_id":136258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7804"} 
[2026-07-19 07:11:33] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":17,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812716288001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:11: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-07-19 07:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784424974000,"timestamp_ms":1784424974000,"timestamp_seconds":1784424974,"priority":1,"record_length":96,"hex_timestamp":"0000019f780446b0"} 
[2026-07-19 07:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":136258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":136258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":136258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812716288001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812716288001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:11:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:11:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812716288001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":136258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:11:33] local.INFO: GPS data processed {"connection_id":136258,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:11:33] local.INFO: Acknowledgment sent {"connection_id":136258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:12:05] local.INFO: TCP Data received {"connection_id":136258,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:12:05] local.INFO: Processing buffer {"connection_id":136258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:12:05] local.INFO: Packet analysis {"connection_id":136258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7808"} 
[2026-07-19 07:12:05] local.INFO: Extracted packet for processing {"connection_id":136258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7808"} 
[2026-07-19 07:12:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812793344001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:12: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-07-19 07:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784425275000,"timestamp_ms":1784425275000,"timestamp_seconds":1784425275,"priority":1,"record_length":96,"hex_timestamp":"0000019f7808de78"} 
[2026-07-19 07:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":136258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":136258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":136258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812793344001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812793344001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:12:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:12:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812793344001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":136258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:12:05] local.INFO: GPS data processed {"connection_id":136258,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:12:05] local.INFO: Acknowledgment sent {"connection_id":136258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:12:32] local.INFO: TCP Data received {"connection_id":138717,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:12:32] local.INFO: Processing buffer {"connection_id":138717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:12:32] local.INFO: IMEI packet received {"connection_id":138717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":138717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:12:37] local.INFO: TCP Data received {"connection_id":138717,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:12:37] local.INFO: Processing buffer {"connection_id":138717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:12:37] local.INFO: IMEI packet received {"connection_id":138717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":138717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:12:39] local.INFO: TCP Data received {"connection_id":138717,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:12:39] local.INFO: Processing buffer {"connection_id":138717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:12:39] local.INFO: Packet analysis {"connection_id":138717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7808"} 
[2026-07-19 07:12:39] local.INFO: Extracted packet for processing {"connection_id":138717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7808"} 
[2026-07-19 07:12:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812793344001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:12: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-07-19 07:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784425275000,"timestamp_ms":1784425275000,"timestamp_seconds":1784425275,"priority":1,"record_length":96,"hex_timestamp":"0000019f7808de78"} 
[2026-07-19 07:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":138717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":138717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":138717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812793344001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812793344001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:12:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:12:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812793344001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":138717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:12:39] local.INFO: GPS data processed {"connection_id":138717,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:12:39] local.INFO: Acknowledgment sent {"connection_id":138717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:13:10] local.INFO: TCP Data received {"connection_id":138717,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:13:10] local.INFO: Processing buffer {"connection_id":138717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:13:10] local.INFO: Packet analysis {"connection_id":138717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7808"} 
[2026-07-19 07:13:10] local.INFO: Extracted packet for processing {"connection_id":138717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7808"} 
[2026-07-19 07:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812793344001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:13: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-07-19 07:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784425275000,"timestamp_ms":1784425275000,"timestamp_seconds":1784425275,"priority":1,"record_length":96,"hex_timestamp":"0000019f7808de78"} 
[2026-07-19 07:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:13:10] 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-07-19 07:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812793344001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812793344001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:13:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812793344001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":138717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:13:10] local.INFO: GPS data processed {"connection_id":138717,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:13:10] local.INFO: Acknowledgment sent {"connection_id":138717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:13:37] local.INFO: TCP Data received {"connection_id":137311,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:13:37] local.INFO: Processing buffer {"connection_id":137311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:13:37] local.INFO: IMEI packet received {"connection_id":137311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":137311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:13:42] local.INFO: TCP Data received {"connection_id":137311,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:13:42] local.INFO: Processing buffer {"connection_id":137311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:13:42] local.INFO: IMEI packet received {"connection_id":137311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":137311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:13:43] local.INFO: TCP Data received {"connection_id":137311,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:13:43] local.INFO: Processing buffer {"connection_id":137311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:13:43] local.INFO: Packet analysis {"connection_id":137311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7808"} 
[2026-07-19 07:13:43] local.INFO: Extracted packet for processing {"connection_id":137311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7808"} 
[2026-07-19 07:13:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812793344001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:13: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-07-19 07:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784425275000,"timestamp_ms":1784425275000,"timestamp_seconds":1784425275,"priority":1,"record_length":96,"hex_timestamp":"0000019f7808de78"} 
[2026-07-19 07:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:13:43] 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-07-19 07:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812793344001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812793344001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:13:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:13:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812793344001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":137311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:13:43] local.INFO: GPS data processed {"connection_id":137311,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:13:43] local.INFO: Acknowledgment sent {"connection_id":137311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:13:47] local.INFO: TCP Data received {"connection_id":137311,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:13:47] local.INFO: Processing buffer {"connection_id":137311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:13:47] local.INFO: Packet analysis {"connection_id":137311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7808"} 
[2026-07-19 07:13:47] local.INFO: Extracted packet for processing {"connection_id":137311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7808"} 
[2026-07-19 07:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812793344001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 07:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784425275000,"timestamp_ms":1784425275000,"timestamp_seconds":1784425275,"priority":1,"record_length":96,"hex_timestamp":"0000019f7808de78"} 
[2026-07-19 07:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":137311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":137311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":137311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812793344001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812793344001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:13:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812793344001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":137311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:13:47] local.INFO: GPS data processed {"connection_id":137311,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:13:47] local.INFO: Acknowledgment sent {"connection_id":137311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:14:32] local.INFO: TCP Data received {"connection_id":137313,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:14:32] local.INFO: Processing buffer {"connection_id":137313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:14:32] local.INFO: IMEI packet received {"connection_id":137313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":137313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:14:37] local.INFO: TCP Data received {"connection_id":137313,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:14:37] local.INFO: Processing buffer {"connection_id":137313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:14:37] local.INFO: IMEI packet received {"connection_id":137313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":137313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:14:39] local.INFO: TCP Data received {"connection_id":137313,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:14:39] local.INFO: Processing buffer {"connection_id":137313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:14:39] local.INFO: Packet analysis {"connection_id":137313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7808"} 
[2026-07-19 07:14:39] local.INFO: Extracted packet for processing {"connection_id":137313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7808"} 
[2026-07-19 07:14:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812793344001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:14: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-07-19 07:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784425275000,"timestamp_ms":1784425275000,"timestamp_seconds":1784425275,"priority":1,"record_length":96,"hex_timestamp":"0000019f7808de78"} 
[2026-07-19 07:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":137313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":137313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":137313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:14:39] 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-07-19 07:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812793344001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812793344001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:14:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:14:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812793344001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":137313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:14:39] local.INFO: GPS data processed {"connection_id":137313,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:14:39] local.INFO: Acknowledgment sent {"connection_id":137313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:14:43] local.INFO: TCP Data received {"connection_id":137313,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:14:43] local.INFO: Processing buffer {"connection_id":137313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:14:43] local.INFO: Packet analysis {"connection_id":137313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7808"} 
[2026-07-19 07:14:43] local.INFO: Extracted packet for processing {"connection_id":137313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7808"} 
[2026-07-19 07:14:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812793344001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:14: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-07-19 07:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784425275000,"timestamp_ms":1784425275000,"timestamp_seconds":1784425275,"priority":1,"record_length":96,"hex_timestamp":"0000019f7808de78"} 
[2026-07-19 07:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:14:43] 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-07-19 07:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812793344001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812793344001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:14:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:14:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812793344001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":137313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:14:43] local.INFO: GPS data processed {"connection_id":137313,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:14:43] local.INFO: Acknowledgment sent {"connection_id":137313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:15:14] local.INFO: TCP Data received {"connection_id":137313,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:15:14] local.INFO: Processing buffer {"connection_id":137313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:15:14] local.INFO: Packet analysis {"connection_id":137313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7808"} 
[2026-07-19 07:15:14] local.INFO: Extracted packet for processing {"connection_id":137313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7808"} 
[2026-07-19 07:15:14] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812793344001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:15: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-07-19 07:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784425275000,"timestamp_ms":1784425275000,"timestamp_seconds":1784425275,"priority":1,"record_length":96,"hex_timestamp":"0000019f7808de78"} 
[2026-07-19 07:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":137313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":137313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":137313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:15:14] 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-07-19 07:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812793344001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812793344001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:15:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:15:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812793344001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":137313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:15:14] local.INFO: GPS data processed {"connection_id":137313,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:15:14] local.INFO: Acknowledgment sent {"connection_id":137313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:15:33] local.INFO: TCP Data received {"connection_id":137314,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:15:33] local.INFO: Processing buffer {"connection_id":137314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:15:33] local.INFO: IMEI packet received {"connection_id":137314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":137314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:15:37] local.INFO: TCP Data received {"connection_id":137314,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:15:37] local.INFO: Processing buffer {"connection_id":137314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:15:37] local.INFO: IMEI packet received {"connection_id":137314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":137314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:15:40] local.INFO: TCP Data received {"connection_id":137314,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:15:40] local.INFO: Processing buffer {"connection_id":137314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:15:40] local.INFO: Packet analysis {"connection_id":137314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7808"} 
[2026-07-19 07:15:40] local.INFO: Extracted packet for processing {"connection_id":137314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7808"} 
[2026-07-19 07:15:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812793344001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:15: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-07-19 07:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784425275000,"timestamp_ms":1784425275000,"timestamp_seconds":1784425275,"priority":1,"record_length":96,"hex_timestamp":"0000019f7808de78"} 
[2026-07-19 07:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":137314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":137314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":137314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812793344001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812793344001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:15:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:15:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812793344001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":137314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:15:40] local.INFO: GPS data processed {"connection_id":137314,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:15:40] local.INFO: Acknowledgment sent {"connection_id":137314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:15:57] local.INFO: TCP Data received {"connection_id":136387,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:15:57] local.INFO: Processing buffer {"connection_id":136387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:15:57] local.INFO: IMEI packet received {"connection_id":136387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 07:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":136387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:16:12] local.INFO: TCP Data received {"connection_id":137314,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:16:12] local.INFO: Processing buffer {"connection_id":137314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:16:12] local.INFO: Packet analysis {"connection_id":137314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7808"} 
[2026-07-19 07:16:12] local.INFO: Extracted packet for processing {"connection_id":137314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7808"} 
[2026-07-19 07:16:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 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-07-19 07:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812793344001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 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-07-19 07:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784425275000,"timestamp_ms":1784425275000,"timestamp_seconds":1784425275,"priority":1,"record_length":96,"hex_timestamp":"0000019f7808de78"} 
[2026-07-19 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-07-19 07:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 07:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":137314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":137314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":137314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:16: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-07-19 07:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812793344001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812793344001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:16:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:16:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812793344001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":137314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:16:12] local.INFO: GPS data processed {"connection_id":137314,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:16:12] local.INFO: Acknowledgment sent {"connection_id":137314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:16:32] local.INFO: TCP Data received {"connection_id":137315,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:16:32] local.INFO: Processing buffer {"connection_id":137315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:16:32] local.INFO: IMEI packet received {"connection_id":137315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":137315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:16:32] local.INFO: TCP Data received {"connection_id":136388,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:16:32] local.INFO: Processing buffer {"connection_id":136388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:16:32] local.INFO: IMEI packet received {"connection_id":136388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 07:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":136388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:16:37] local.INFO: TCP Data received {"connection_id":137315,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:16:37] local.INFO: Processing buffer {"connection_id":137315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:16:37] local.INFO: IMEI packet received {"connection_id":137315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":137315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:16:38] local.INFO: TCP Data received {"connection_id":137315,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:16:38] local.INFO: Processing buffer {"connection_id":137315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7808de78012d34c58006aa41400005010123..."} 
[2026-07-19 07:16:38] local.INFO: Packet analysis {"connection_id":137315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7808"} 
[2026-07-19 07:16:38] local.INFO: Extracted packet for processing {"connection_id":137315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7808"} 
[2026-07-19 07:16:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812793344001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:16: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-07-19 07:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784425275000,"timestamp_ms":1784425275000,"timestamp_seconds":1784425275,"priority":1,"record_length":96,"hex_timestamp":"0000019f7808de78"} 
[2026-07-19 07:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812793344001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812793344001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:16:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:16:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812793344001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":137315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:16:38] local.INFO: GPS data processed {"connection_id":137315,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:16:38] local.INFO: Acknowledgment sent {"connection_id":137315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:17:10] local.INFO: TCP Data received {"connection_id":137315,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:17:10] local.INFO: Processing buffer {"connection_id":137315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:17:10] local.INFO: Packet analysis {"connection_id":137315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f780d"} 
[2026-07-19 07:17:10] local.INFO: Extracted packet for processing {"connection_id":137315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f780d"} 
[2026-07-19 07:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:17: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-07-19 07:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812870400001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:17: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-07-19 07:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784425576000,"timestamp_ms":1784425576000,"timestamp_seconds":1784425576,"priority":1,"record_length":96,"hex_timestamp":"0000019f780d7640"} 
[2026-07-19 07:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:17: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-07-19 07:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812870400001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812870400001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:17:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:17:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812870400001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":137315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:17:10] local.INFO: GPS data processed {"connection_id":137315,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:17:10] local.INFO: Acknowledgment sent {"connection_id":137315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:17:32] local.INFO: TCP Data received {"connection_id":138718,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:17:32] local.INFO: Processing buffer {"connection_id":138718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:17:32] local.INFO: IMEI packet received {"connection_id":138718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":138718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:17:37] local.INFO: TCP Data received {"connection_id":138718,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:17:37] local.INFO: Processing buffer {"connection_id":138718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:17:37] local.INFO: IMEI packet received {"connection_id":138718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":138718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:17:38] local.INFO: TCP Data received {"connection_id":138718,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:17:38] local.INFO: Processing buffer {"connection_id":138718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:17:38] local.INFO: Packet analysis {"connection_id":138718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f780d"} 
[2026-07-19 07:17:38] local.INFO: Extracted packet for processing {"connection_id":138718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f780d"} 
[2026-07-19 07:17:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 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-07-19 07:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812870400001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:17: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-07-19 07:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784425576000,"timestamp_ms":1784425576000,"timestamp_seconds":1784425576,"priority":1,"record_length":96,"hex_timestamp":"0000019f780d7640"} 
[2026-07-19 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-07-19 07:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 07:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:17: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-07-19 07:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812870400001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812870400001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:17:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812870400001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":138718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:17:38] local.INFO: GPS data processed {"connection_id":138718,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:17:38] local.INFO: Acknowledgment sent {"connection_id":138718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:18:11] local.INFO: TCP Data received {"connection_id":138718,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:18:11] local.INFO: Processing buffer {"connection_id":138718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:18:11] local.INFO: Packet analysis {"connection_id":138718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f780d"} 
[2026-07-19 07:18:11] local.INFO: Extracted packet for processing {"connection_id":138718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f780d"} 
[2026-07-19 07:18:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812870400001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:18: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-07-19 07:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784425576000,"timestamp_ms":1784425576000,"timestamp_seconds":1784425576,"priority":1,"record_length":96,"hex_timestamp":"0000019f780d7640"} 
[2026-07-19 07:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:18: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-07-19 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":138718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":138718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":138718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:18:11] 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-07-19 07:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812870400001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812870400001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:18:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:18:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812870400001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":138718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:18:11] local.INFO: GPS data processed {"connection_id":138718,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:18:11] local.INFO: Acknowledgment sent {"connection_id":138718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:18:37] local.INFO: TCP Data received {"connection_id":136260,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:18:37] local.INFO: Processing buffer {"connection_id":136260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:18:37] local.INFO: IMEI packet received {"connection_id":136260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":136260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:18:42] local.INFO: TCP Data received {"connection_id":136260,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:18:42] local.INFO: Processing buffer {"connection_id":136260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:18:42] local.INFO: IMEI packet received {"connection_id":136260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":136260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:18:43] local.INFO: TCP Data received {"connection_id":136260,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:18:43] local.INFO: Processing buffer {"connection_id":136260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:18:43] local.INFO: Packet analysis {"connection_id":136260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f780d"} 
[2026-07-19 07:18:43] local.INFO: Extracted packet for processing {"connection_id":136260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f780d"} 
[2026-07-19 07:18:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812870400001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:18: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-07-19 07:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784425576000,"timestamp_ms":1784425576000,"timestamp_seconds":1784425576,"priority":1,"record_length":96,"hex_timestamp":"0000019f780d7640"} 
[2026-07-19 07:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:18:43] 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-07-19 07:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812870400001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812870400001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:18:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:18:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812870400001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":136260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:18:43] local.INFO: GPS data processed {"connection_id":136260,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:18:43] local.INFO: Acknowledgment sent {"connection_id":136260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:19:14] local.INFO: TCP Data received {"connection_id":136260,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:19:14] local.INFO: Processing buffer {"connection_id":136260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:19:14] local.INFO: Packet analysis {"connection_id":136260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f780d"} 
[2026-07-19 07:19:14] local.INFO: Extracted packet for processing {"connection_id":136260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f780d"} 
[2026-07-19 07:19:14] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812870400001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:19: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-07-19 07:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784425576000,"timestamp_ms":1784425576000,"timestamp_seconds":1784425576,"priority":1,"record_length":96,"hex_timestamp":"0000019f780d7640"} 
[2026-07-19 07:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":136260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":136260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":136260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:19:14] 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-07-19 07:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812870400001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812870400001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:19:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:19:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812870400001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":136260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:19:14] local.INFO: GPS data processed {"connection_id":136260,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:19:14] local.INFO: Acknowledgment sent {"connection_id":136260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:19:32] local.INFO: TCP Data received {"connection_id":138719,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:19:32] local.INFO: Processing buffer {"connection_id":138719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:19:32] local.INFO: IMEI packet received {"connection_id":138719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":138719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:19:37] local.INFO: TCP Data received {"connection_id":138719,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:19:37] local.INFO: Processing buffer {"connection_id":138719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:19:37] local.INFO: IMEI packet received {"connection_id":138719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":138719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:19:39] local.INFO: TCP Data received {"connection_id":138719,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:19:39] local.INFO: Processing buffer {"connection_id":138719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:19:39] local.INFO: Packet analysis {"connection_id":138719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f780d"} 
[2026-07-19 07:19:39] local.INFO: Extracted packet for processing {"connection_id":138719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f780d"} 
[2026-07-19 07:19:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812870400001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:19: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-07-19 07:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784425576000,"timestamp_ms":1784425576000,"timestamp_seconds":1784425576,"priority":1,"record_length":96,"hex_timestamp":"0000019f780d7640"} 
[2026-07-19 07:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":138719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":138719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":138719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:19:39] 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-07-19 07:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812870400001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812870400001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:19:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:19:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812870400001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":138719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:19:39] local.INFO: GPS data processed {"connection_id":138719,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:19:39] local.INFO: Acknowledgment sent {"connection_id":138719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:20:10] local.INFO: TCP Data received {"connection_id":138719,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:20:10] local.INFO: Processing buffer {"connection_id":138719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:20:10] local.INFO: Packet analysis {"connection_id":138719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f780d"} 
[2026-07-19 07:20:10] local.INFO: Extracted packet for processing {"connection_id":138719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f780d"} 
[2026-07-19 07:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812870400001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:20: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-07-19 07:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784425576000,"timestamp_ms":1784425576000,"timestamp_seconds":1784425576,"priority":1,"record_length":96,"hex_timestamp":"0000019f780d7640"} 
[2026-07-19 07:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:20: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-07-19 07:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812870400001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812870400001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:20:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:20:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812870400001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":138719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:20:10] local.INFO: GPS data processed {"connection_id":138719,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:20:10] local.INFO: Acknowledgment sent {"connection_id":138719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:20:32] local.INFO: TCP Data received {"connection_id":138720,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:20:32] local.INFO: Processing buffer {"connection_id":138720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:20:32] local.INFO: IMEI packet received {"connection_id":138720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":138720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:20:37] local.INFO: TCP Data received {"connection_id":138720,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:20:37] local.INFO: Processing buffer {"connection_id":138720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:20:37] local.INFO: IMEI packet received {"connection_id":138720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":138720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:20:39] local.INFO: TCP Data received {"connection_id":138720,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:20:39] local.INFO: Processing buffer {"connection_id":138720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:20:39] local.INFO: Packet analysis {"connection_id":138720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f780d"} 
[2026-07-19 07:20:39] local.INFO: Extracted packet for processing {"connection_id":138720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f780d"} 
[2026-07-19 07:20:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812870400001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:20: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-07-19 07:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784425576000,"timestamp_ms":1784425576000,"timestamp_seconds":1784425576,"priority":1,"record_length":96,"hex_timestamp":"0000019f780d7640"} 
[2026-07-19 07:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":138720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":138720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":138720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812870400001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812870400001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:20:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:20:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812870400001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":138720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:20:39] local.INFO: GPS data processed {"connection_id":138720,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:20:39] local.INFO: Acknowledgment sent {"connection_id":138720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:21:10] local.INFO: TCP Data received {"connection_id":138720,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:21:10] local.INFO: Processing buffer {"connection_id":138720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:21:10] local.INFO: Packet analysis {"connection_id":138720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f780d"} 
[2026-07-19 07:21:10] local.INFO: Extracted packet for processing {"connection_id":138720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f780d"} 
[2026-07-19 07:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812870400001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:21: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-07-19 07:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784425576000,"timestamp_ms":1784425576000,"timestamp_seconds":1784425576,"priority":1,"record_length":96,"hex_timestamp":"0000019f780d7640"} 
[2026-07-19 07:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812870400001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812870400001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:21:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812870400001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":138720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:21:10] local.INFO: GPS data processed {"connection_id":138720,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:21:10] local.INFO: Acknowledgment sent {"connection_id":138720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:21:32] local.INFO: TCP Data received {"connection_id":136392,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:21:32] local.INFO: Processing buffer {"connection_id":136392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:21:32] local.INFO: IMEI packet received {"connection_id":136392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":136392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:21:37] local.INFO: TCP Data received {"connection_id":136392,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:21:37] local.INFO: Processing buffer {"connection_id":136392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:21:37] local.INFO: IMEI packet received {"connection_id":136392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":136392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:21:38] local.INFO: TCP Data received {"connection_id":136392,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:21:38] local.INFO: Processing buffer {"connection_id":136392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f780d7640012d34c58006aa41400005010125..."} 
[2026-07-19 07:21:38] local.INFO: Packet analysis {"connection_id":136392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f780d"} 
[2026-07-19 07:21:38] local.INFO: Extracted packet for processing {"connection_id":136392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f780d"} 
[2026-07-19 07:21:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 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-07-19 07:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812870400001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:21: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-07-19 07:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784425576000,"timestamp_ms":1784425576000,"timestamp_seconds":1784425576,"priority":1,"record_length":96,"hex_timestamp":"0000019f780d7640"} 
[2026-07-19 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-07-19 07:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 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-07-19 07:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:21: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-07-19 07:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812870400001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812870400001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:21:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:21:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812870400001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":136392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:21:38] local.INFO: GPS data processed {"connection_id":136392,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:21:38] local.INFO: Acknowledgment sent {"connection_id":136392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:22:02] local.INFO: TCP Data received {"connection_id":136391,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:22:02] local.INFO: Processing buffer {"connection_id":136391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:22:02] local.INFO: IMEI packet received {"connection_id":136391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 07:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":136391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:22:10] local.INFO: TCP Data received {"connection_id":136392,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:22:10] local.INFO: Processing buffer {"connection_id":136392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:22:10] local.INFO: Packet analysis {"connection_id":136392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7812"} 
[2026-07-19 07:22:10] local.INFO: Extracted packet for processing {"connection_id":136392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7812"} 
[2026-07-19 07:22:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 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-07-19 07:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812947456001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:22: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-07-19 07:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784425877000,"timestamp_ms":1784425877000,"timestamp_seconds":1784425877,"priority":1,"record_length":96,"hex_timestamp":"0000019f78120e08"} 
[2026-07-19 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-07-19 07:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 07:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:22: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-07-19 07:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812947456001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812947456001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:22:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:22:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812947456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":136392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:22:10] local.INFO: GPS data processed {"connection_id":136392,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:22:10] local.INFO: Acknowledgment sent {"connection_id":136392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:22:27] local.INFO: TCP Data received {"connection_id":136393,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:22:27] local.INFO: Processing buffer {"connection_id":136393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:22:27] local.INFO: IMEI packet received {"connection_id":136393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 07:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":136393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:22:32] local.INFO: TCP Data received {"connection_id":137316,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:22:32] local.INFO: Processing buffer {"connection_id":137316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:22:32] local.INFO: IMEI packet received {"connection_id":137316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":137316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:22:37] local.INFO: TCP Data received {"connection_id":137316,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:22:37] local.INFO: Processing buffer {"connection_id":137316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:22:37] local.INFO: IMEI packet received {"connection_id":137316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":137316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:22:38] local.INFO: TCP Data received {"connection_id":137316,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:22:38] local.INFO: Processing buffer {"connection_id":137316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:22:38] local.INFO: Packet analysis {"connection_id":137316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7812"} 
[2026-07-19 07:22:38] local.INFO: Extracted packet for processing {"connection_id":137316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7812"} 
[2026-07-19 07:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812947456001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:22: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-07-19 07:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784425877000,"timestamp_ms":1784425877000,"timestamp_seconds":1784425877,"priority":1,"record_length":96,"hex_timestamp":"0000019f78120e08"} 
[2026-07-19 07:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:22: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-07-19 07:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812947456001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812947456001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:22:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812947456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":137316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:22:38] local.INFO: GPS data processed {"connection_id":137316,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:22:38] local.INFO: Acknowledgment sent {"connection_id":137316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:23:10] local.INFO: TCP Data received {"connection_id":137316,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:23:10] local.INFO: Processing buffer {"connection_id":137316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:23:10] local.INFO: Packet analysis {"connection_id":137316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7812"} 
[2026-07-19 07:23:10] local.INFO: Extracted packet for processing {"connection_id":137316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7812"} 
[2026-07-19 07:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812947456001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:23: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-07-19 07:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784425877000,"timestamp_ms":1784425877000,"timestamp_seconds":1784425877,"priority":1,"record_length":96,"hex_timestamp":"0000019f78120e08"} 
[2026-07-19 07:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812947456001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812947456001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:23:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:23:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812947456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":137316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:23:10] local.INFO: GPS data processed {"connection_id":137316,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:23:10] local.INFO: Acknowledgment sent {"connection_id":137316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:23:37] local.INFO: TCP Data received {"connection_id":138722,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:23:37] local.INFO: Processing buffer {"connection_id":138722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:23:37] local.INFO: IMEI packet received {"connection_id":138722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":138722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:23:42] local.INFO: TCP Data received {"connection_id":138722,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:23:42] local.INFO: Processing buffer {"connection_id":138722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:23:42] local.INFO: IMEI packet received {"connection_id":138722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":138722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:23:43] local.INFO: TCP Data received {"connection_id":138722,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:23:43] local.INFO: Processing buffer {"connection_id":138722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:23:43] local.INFO: Packet analysis {"connection_id":138722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7812"} 
[2026-07-19 07:23:43] local.INFO: Extracted packet for processing {"connection_id":138722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7812"} 
[2026-07-19 07:23:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812947456001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:23: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-07-19 07:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784425877000,"timestamp_ms":1784425877000,"timestamp_seconds":1784425877,"priority":1,"record_length":96,"hex_timestamp":"0000019f78120e08"} 
[2026-07-19 07:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":138722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":138722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":138722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:23:43] 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-07-19 07:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812947456001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812947456001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:23:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:23:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812947456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":138722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:23:43] local.INFO: GPS data processed {"connection_id":138722,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:23:43] local.INFO: Acknowledgment sent {"connection_id":138722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:24:14] local.INFO: TCP Data received {"connection_id":138722,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:24:14] local.INFO: Processing buffer {"connection_id":138722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:24:14] local.INFO: Packet analysis {"connection_id":138722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7812"} 
[2026-07-19 07:24:14] local.INFO: Extracted packet for processing {"connection_id":138722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7812"} 
[2026-07-19 07:24:14] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812947456001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:24: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-07-19 07:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784425877000,"timestamp_ms":1784425877000,"timestamp_seconds":1784425877,"priority":1,"record_length":96,"hex_timestamp":"0000019f78120e08"} 
[2026-07-19 07:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:24: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-07-19 07: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-07-19 07:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":138722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":138722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":138722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:24:14] 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-07-19 07:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812947456001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812947456001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:24:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:24:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812947456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":138722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:24:14] local.INFO: GPS data processed {"connection_id":138722,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:24:14] local.INFO: Acknowledgment sent {"connection_id":138722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:24:32] local.INFO: TCP Data received {"connection_id":136263,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:24:32] local.INFO: Processing buffer {"connection_id":136263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:24:32] local.INFO: IMEI packet received {"connection_id":136263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":136263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:24:37] local.INFO: TCP Data received {"connection_id":136263,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:24:37] local.INFO: Processing buffer {"connection_id":136263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:24:37] local.INFO: IMEI packet received {"connection_id":136263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":136263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:24:38] local.INFO: TCP Data received {"connection_id":136263,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:24:38] local.INFO: Processing buffer {"connection_id":136263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:24:38] local.INFO: Packet analysis {"connection_id":136263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7812"} 
[2026-07-19 07:24:38] local.INFO: Extracted packet for processing {"connection_id":136263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7812"} 
[2026-07-19 07:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812947456001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:24: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-07-19 07:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784425877000,"timestamp_ms":1784425877000,"timestamp_seconds":1784425877,"priority":1,"record_length":96,"hex_timestamp":"0000019f78120e08"} 
[2026-07-19 07:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812947456001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812947456001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:24:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812947456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":136263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:24:38] local.INFO: GPS data processed {"connection_id":136263,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:24:38] local.INFO: Acknowledgment sent {"connection_id":136263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:25:09] local.INFO: TCP Data received {"connection_id":136263,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:25:09] local.INFO: Processing buffer {"connection_id":136263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:25:09] local.INFO: Packet analysis {"connection_id":136263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7812"} 
[2026-07-19 07:25:09] local.INFO: Extracted packet for processing {"connection_id":136263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7812"} 
[2026-07-19 07:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812947456001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:25: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-07-19 07:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784425877000,"timestamp_ms":1784425877000,"timestamp_seconds":1784425877,"priority":1,"record_length":96,"hex_timestamp":"0000019f78120e08"} 
[2026-07-19 07:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:25:09] 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-07-19 07:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812947456001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812947456001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:25:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:25:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812947456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":136263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:25:09] local.INFO: GPS data processed {"connection_id":136263,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:25:09] local.INFO: Acknowledgment sent {"connection_id":136263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:25:32] local.INFO: TCP Data received {"connection_id":136264,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:25:32] local.INFO: Processing buffer {"connection_id":136264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:25:32] local.INFO: IMEI packet received {"connection_id":136264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":136264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:25:37] local.INFO: TCP Data received {"connection_id":136264,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:25:37] local.INFO: Processing buffer {"connection_id":136264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:25:37] local.INFO: IMEI packet received {"connection_id":136264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":136264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:25:38] local.INFO: TCP Data received {"connection_id":136264,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:25:38] local.INFO: Processing buffer {"connection_id":136264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:25:38] local.INFO: Packet analysis {"connection_id":136264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7812"} 
[2026-07-19 07:25:38] local.INFO: Extracted packet for processing {"connection_id":136264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7812"} 
[2026-07-19 07:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812947456001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:25: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-07-19 07:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784425877000,"timestamp_ms":1784425877000,"timestamp_seconds":1784425877,"priority":1,"record_length":96,"hex_timestamp":"0000019f78120e08"} 
[2026-07-19 07:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:25: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-07-19 07:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812947456001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812947456001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:25:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:25:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812947456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":136264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:25:38] local.INFO: GPS data processed {"connection_id":136264,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:25:38] local.INFO: Acknowledgment sent {"connection_id":136264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:26:10] local.INFO: TCP Data received {"connection_id":136264,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:26:10] local.INFO: Processing buffer {"connection_id":136264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:26:10] local.INFO: Packet analysis {"connection_id":136264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7812"} 
[2026-07-19 07:26:10] local.INFO: Extracted packet for processing {"connection_id":136264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7812"} 
[2026-07-19 07:26:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812947456001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:26: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-07-19 07:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784425877000,"timestamp_ms":1784425877000,"timestamp_seconds":1784425877,"priority":1,"record_length":96,"hex_timestamp":"0000019f78120e08"} 
[2026-07-19 07:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812947456001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812947456001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:26:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:26:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812947456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":136264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:26:10] local.INFO: GPS data processed {"connection_id":136264,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:26:10] local.INFO: Acknowledgment sent {"connection_id":136264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:26:32] local.INFO: TCP Data received {"connection_id":136266,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:26:32] local.INFO: Processing buffer {"connection_id":136266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:26:32] local.INFO: IMEI packet received {"connection_id":136266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":136266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:26:37] local.INFO: TCP Data received {"connection_id":136266,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:26:37] local.INFO: Processing buffer {"connection_id":136266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:26:37] local.INFO: IMEI packet received {"connection_id":136266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":136266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:26:38] local.INFO: TCP Data received {"connection_id":136266,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:26:38] local.INFO: Processing buffer {"connection_id":136266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78120e08012d34c58006aa41400005010129..."} 
[2026-07-19 07:26:38] local.INFO: Packet analysis {"connection_id":136266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7812"} 
[2026-07-19 07:26:38] local.INFO: Extracted packet for processing {"connection_id":136266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7812"} 
[2026-07-19 07:26:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812947456001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:26: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-07-19 07:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784425877000,"timestamp_ms":1784425877000,"timestamp_seconds":1784425877,"priority":1,"record_length":96,"hex_timestamp":"0000019f78120e08"} 
[2026-07-19 07:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812947456001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812947456001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:26:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:26:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812947456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":136266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:26:38] local.INFO: GPS data processed {"connection_id":136266,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:26:38] local.INFO: Acknowledgment sent {"connection_id":136266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:27:10] local.INFO: TCP Data received {"connection_id":136266,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:27:10] local.INFO: Processing buffer {"connection_id":136266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:27:10] local.INFO: Packet analysis {"connection_id":136266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7816"} 
[2026-07-19 07:27:10] local.INFO: Extracted packet for processing {"connection_id":136266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7816"} 
[2026-07-19 07:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813024512001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:27: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-07-19 07:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784426178000,"timestamp_ms":1784426178000,"timestamp_seconds":1784426178,"priority":1,"record_length":96,"hex_timestamp":"0000019f7816a5d0"} 
[2026-07-19 07:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813024512001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813024512001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:27:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813024512001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":136266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:27:10] local.INFO: GPS data processed {"connection_id":136266,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:27:10] local.INFO: Acknowledgment sent {"connection_id":136266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:27:37] local.INFO: TCP Data received {"connection_id":138725,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:27:37] local.INFO: Processing buffer {"connection_id":138725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:27:37] local.INFO: IMEI packet received {"connection_id":138725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":138725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:27:42] local.INFO: TCP Data received {"connection_id":138725,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:27:42] local.INFO: Processing buffer {"connection_id":138725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:27:42] local.INFO: IMEI packet received {"connection_id":138725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":138725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:27:43] local.INFO: TCP Data received {"connection_id":138725,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:27:43] local.INFO: Processing buffer {"connection_id":138725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:27:43] local.INFO: Packet analysis {"connection_id":138725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7816"} 
[2026-07-19 07:27:43] local.INFO: Extracted packet for processing {"connection_id":138725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7816"} 
[2026-07-19 07:27:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813024512001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 07:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784426178000,"timestamp_ms":1784426178000,"timestamp_seconds":1784426178,"priority":1,"record_length":96,"hex_timestamp":"0000019f7816a5d0"} 
[2026-07-19 07:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":138725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":138725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":138725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813024512001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813024512001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:27:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:27:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813024512001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":138725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:27:43] local.INFO: GPS data processed {"connection_id":138725,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:27:43] local.INFO: Acknowledgment sent {"connection_id":138725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:27:57] local.INFO: TCP Data received {"connection_id":138724,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:27:57] local.INFO: Processing buffer {"connection_id":138724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:27:57] local.INFO: IMEI packet received {"connection_id":138724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 07:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":138724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:28:14] local.INFO: TCP Data received {"connection_id":138725,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:28:14] local.INFO: Processing buffer {"connection_id":138725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:28:14] local.INFO: Packet analysis {"connection_id":138725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7816"} 
[2026-07-19 07:28:14] local.INFO: Extracted packet for processing {"connection_id":138725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7816"} 
[2026-07-19 07:28:14] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813024512001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 07:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784426178000,"timestamp_ms":1784426178000,"timestamp_seconds":1784426178,"priority":1,"record_length":96,"hex_timestamp":"0000019f7816a5d0"} 
[2026-07-19 07:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":138725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":138725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":138725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813024512001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813024512001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:28:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:28:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813024512001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":138725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:28:14] local.INFO: GPS data processed {"connection_id":138725,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:28:14] local.INFO: Acknowledgment sent {"connection_id":138725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:28:27] local.INFO: TCP Data received {"connection_id":137317,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:28:27] local.INFO: Processing buffer {"connection_id":137317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:28:27] local.INFO: IMEI packet received {"connection_id":137317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 07:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":137317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:28:32] local.INFO: TCP Data received {"connection_id":136395,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:28:32] local.INFO: Processing buffer {"connection_id":136395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:28:32] local.INFO: IMEI packet received {"connection_id":136395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":136395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:28:37] local.INFO: TCP Data received {"connection_id":136395,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:28:37] local.INFO: Processing buffer {"connection_id":136395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:28:37] local.INFO: IMEI packet received {"connection_id":136395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":136395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:28:38] local.INFO: TCP Data received {"connection_id":136395,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:28:38] local.INFO: Processing buffer {"connection_id":136395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:28:38] local.INFO: Packet analysis {"connection_id":136395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7816"} 
[2026-07-19 07:28:38] local.INFO: Extracted packet for processing {"connection_id":136395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7816"} 
[2026-07-19 07:28:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813024512001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:28: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-07-19 07:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784426178000,"timestamp_ms":1784426178000,"timestamp_seconds":1784426178,"priority":1,"record_length":96,"hex_timestamp":"0000019f7816a5d0"} 
[2026-07-19 07:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813024512001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813024512001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:28:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:28:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813024512001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":136395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:28:38] local.INFO: GPS data processed {"connection_id":136395,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:28:38] local.INFO: Acknowledgment sent {"connection_id":136395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:29:09] local.INFO: TCP Data received {"connection_id":136395,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:29:09] local.INFO: Processing buffer {"connection_id":136395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:29:09] local.INFO: Packet analysis {"connection_id":136395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7816"} 
[2026-07-19 07:29:09] local.INFO: Extracted packet for processing {"connection_id":136395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7816"} 
[2026-07-19 07:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813024512001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:29: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-07-19 07:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784426178000,"timestamp_ms":1784426178000,"timestamp_seconds":1784426178,"priority":1,"record_length":96,"hex_timestamp":"0000019f7816a5d0"} 
[2026-07-19 07:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813024512001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813024512001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:29:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:29:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813024512001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":136395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:29:09] local.INFO: GPS data processed {"connection_id":136395,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:29:09] local.INFO: Acknowledgment sent {"connection_id":136395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:29:32] local.INFO: TCP Data received {"connection_id":137319,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:29:32] local.INFO: Processing buffer {"connection_id":137319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:29:32] local.INFO: IMEI packet received {"connection_id":137319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":137319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:29:37] local.INFO: TCP Data received {"connection_id":137319,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:29:37] local.INFO: Processing buffer {"connection_id":137319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:29:37] local.INFO: IMEI packet received {"connection_id":137319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":137319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:29:38] local.INFO: TCP Data received {"connection_id":137319,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:29:38] local.INFO: Processing buffer {"connection_id":137319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:29:38] local.INFO: Packet analysis {"connection_id":137319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7816"} 
[2026-07-19 07:29:38] local.INFO: Extracted packet for processing {"connection_id":137319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7816"} 
[2026-07-19 07:29:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813024512001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:29: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-07-19 07:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784426178000,"timestamp_ms":1784426178000,"timestamp_seconds":1784426178,"priority":1,"record_length":96,"hex_timestamp":"0000019f7816a5d0"} 
[2026-07-19 07:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813024512001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813024512001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:29:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:29:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813024512001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":137319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:29:38] local.INFO: GPS data processed {"connection_id":137319,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:29:38] local.INFO: Acknowledgment sent {"connection_id":137319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:30:09] local.INFO: TCP Data received {"connection_id":137319,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:30:09] local.INFO: Processing buffer {"connection_id":137319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:30:09] local.INFO: Packet analysis {"connection_id":137319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7816"} 
[2026-07-19 07:30:09] local.INFO: Extracted packet for processing {"connection_id":137319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7816"} 
[2026-07-19 07:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813024512001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07: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-07-19 07:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784426178000,"timestamp_ms":1784426178000,"timestamp_seconds":1784426178,"priority":1,"record_length":96,"hex_timestamp":"0000019f7816a5d0"} 
[2026-07-19 07:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:30: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-07-19 07:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813024512001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813024512001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:30:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:30:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813024512001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":137319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:30:09] local.INFO: GPS data processed {"connection_id":137319,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:30:09] local.INFO: Acknowledgment sent {"connection_id":137319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:30:32] local.INFO: TCP Data received {"connection_id":138727,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:30:32] local.INFO: Processing buffer {"connection_id":138727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:30:32] local.INFO: IMEI packet received {"connection_id":138727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":138727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:30:37] local.INFO: TCP Data received {"connection_id":138727,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:30:37] local.INFO: Processing buffer {"connection_id":138727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:30:37] local.INFO: IMEI packet received {"connection_id":138727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":138727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:30:39] local.INFO: TCP Data received {"connection_id":138727,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:30:39] local.INFO: Processing buffer {"connection_id":138727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:30:39] local.INFO: Packet analysis {"connection_id":138727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7816"} 
[2026-07-19 07:30:39] local.INFO: Extracted packet for processing {"connection_id":138727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7816"} 
[2026-07-19 07:30:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813024512001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:30: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-07-19 07:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784426178000,"timestamp_ms":1784426178000,"timestamp_seconds":1784426178,"priority":1,"record_length":96,"hex_timestamp":"0000019f7816a5d0"} 
[2026-07-19 07:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":138727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":138727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":138727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813024512001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813024512001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:30:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:30:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813024512001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":138727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:30:39] local.INFO: GPS data processed {"connection_id":138727,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:30:39] local.INFO: Acknowledgment sent {"connection_id":138727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:31:11] local.INFO: TCP Data received {"connection_id":138727,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:31:11] local.INFO: Processing buffer {"connection_id":138727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:31:11] local.INFO: Packet analysis {"connection_id":138727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7816"} 
[2026-07-19 07:31:11] local.INFO: Extracted packet for processing {"connection_id":138727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7816"} 
[2026-07-19 07:31:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813024512001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:31: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-07-19 07:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784426178000,"timestamp_ms":1784426178000,"timestamp_seconds":1784426178,"priority":1,"record_length":96,"hex_timestamp":"0000019f7816a5d0"} 
[2026-07-19 07:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":138727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":138727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":138727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:31:11] 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-07-19 07:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813024512001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813024512001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:31:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:31:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813024512001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":138727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:31:11] local.INFO: GPS data processed {"connection_id":138727,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:31:11] local.INFO: Acknowledgment sent {"connection_id":138727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:31:32] local.INFO: TCP Data received {"connection_id":137320,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:31:32] local.INFO: Processing buffer {"connection_id":137320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:31:32] local.INFO: IMEI packet received {"connection_id":137320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":137320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:31:37] local.INFO: TCP Data received {"connection_id":137320,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:31:37] local.INFO: Processing buffer {"connection_id":137320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:31:37] local.INFO: IMEI packet received {"connection_id":137320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":137320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:31:39] local.INFO: TCP Data received {"connection_id":137320,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:31:39] local.INFO: Processing buffer {"connection_id":137320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7816a5d0012d34c58006aa41400005010120..."} 
[2026-07-19 07:31:39] local.INFO: Packet analysis {"connection_id":137320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7816"} 
[2026-07-19 07:31:39] local.INFO: Extracted packet for processing {"connection_id":137320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7816"} 
[2026-07-19 07:31:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813024512001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07: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-07-19 07:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784426178000,"timestamp_ms":1784426178000,"timestamp_seconds":1784426178,"priority":1,"record_length":96,"hex_timestamp":"0000019f7816a5d0"} 
[2026-07-19 07:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":137320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":137320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":137320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:31: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-07-19 07:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813024512001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813024512001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:31:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:31:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813024512001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":137320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:31:39] local.INFO: GPS data processed {"connection_id":137320,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:31:39] local.INFO: Acknowledgment sent {"connection_id":137320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:32:10] local.INFO: TCP Data received {"connection_id":137320,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:32:10] local.INFO: Processing buffer {"connection_id":137320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:32:10] local.INFO: Packet analysis {"connection_id":137320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f781b"} 
[2026-07-19 07:32:10] local.INFO: Extracted packet for processing {"connection_id":137320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f781b"} 
[2026-07-19 07:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813101568001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:32: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-07-19 07:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784426479000,"timestamp_ms":1784426479000,"timestamp_seconds":1784426479,"priority":1,"record_length":96,"hex_timestamp":"0000019f781b3d98"} 
[2026-07-19 07:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813101568001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813101568001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:32:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813101568001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":137320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:32:10] local.INFO: GPS data processed {"connection_id":137320,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:32:10] local.INFO: Acknowledgment sent {"connection_id":137320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:32:32] local.INFO: TCP Data received {"connection_id":137322,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:32:32] local.INFO: Processing buffer {"connection_id":137322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:32:32] local.INFO: IMEI packet received {"connection_id":137322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":137322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:32:37] local.INFO: TCP Data received {"connection_id":137322,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:32:37] local.INFO: Processing buffer {"connection_id":137322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:32:37] local.INFO: IMEI packet received {"connection_id":137322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":137322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:32:38] local.INFO: TCP Data received {"connection_id":137322,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:32:38] local.INFO: Processing buffer {"connection_id":137322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:32:38] local.INFO: Packet analysis {"connection_id":137322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f781b"} 
[2026-07-19 07:32:38] local.INFO: Extracted packet for processing {"connection_id":137322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f781b"} 
[2026-07-19 07:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813101568001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:32: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-07-19 07:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784426479000,"timestamp_ms":1784426479000,"timestamp_seconds":1784426479,"priority":1,"record_length":96,"hex_timestamp":"0000019f781b3d98"} 
[2026-07-19 07:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813101568001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813101568001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:32:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813101568001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":137322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:32:38] local.INFO: GPS data processed {"connection_id":137322,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:32:38] local.INFO: Acknowledgment sent {"connection_id":137322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:33:09] local.INFO: TCP Data received {"connection_id":137322,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:33:09] local.INFO: Processing buffer {"connection_id":137322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:33:09] local.INFO: Packet analysis {"connection_id":137322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f781b"} 
[2026-07-19 07:33:09] local.INFO: Extracted packet for processing {"connection_id":137322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f781b"} 
[2026-07-19 07:33:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813101568001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07: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-07-19 07:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784426479000,"timestamp_ms":1784426479000,"timestamp_seconds":1784426479,"priority":1,"record_length":96,"hex_timestamp":"0000019f781b3d98"} 
[2026-07-19 07:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:33: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-07-19 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813101568001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813101568001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:33:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:33:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813101568001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":137322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:33:09] local.INFO: GPS data processed {"connection_id":137322,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:33:09] local.INFO: Acknowledgment sent {"connection_id":137322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:33:32] local.INFO: TCP Data received {"connection_id":136268,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:33:32] local.INFO: Processing buffer {"connection_id":136268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:33:32] local.INFO: IMEI packet received {"connection_id":136268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":136268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:33:37] local.INFO: TCP Data received {"connection_id":136268,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:33:37] local.INFO: Processing buffer {"connection_id":136268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:33:37] local.INFO: IMEI packet received {"connection_id":136268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":136268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:33:38] local.INFO: TCP Data received {"connection_id":136268,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:33:38] local.INFO: Processing buffer {"connection_id":136268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:33:38] local.INFO: Packet analysis {"connection_id":136268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f781b"} 
[2026-07-19 07:33:38] local.INFO: Extracted packet for processing {"connection_id":136268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f781b"} 
[2026-07-19 07:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813101568001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:33: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-07-19 07:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784426479000,"timestamp_ms":1784426479000,"timestamp_seconds":1784426479,"priority":1,"record_length":96,"hex_timestamp":"0000019f781b3d98"} 
[2026-07-19 07:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813101568001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813101568001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:33:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813101568001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":136268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:33:38] local.INFO: GPS data processed {"connection_id":136268,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:33:38] local.INFO: Acknowledgment sent {"connection_id":136268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:33:57] local.INFO: TCP Data received {"connection_id":138728,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:33:57] local.INFO: Processing buffer {"connection_id":138728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:33:57] local.INFO: IMEI packet received {"connection_id":138728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 07:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":138728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:34:11] local.INFO: TCP Data received {"connection_id":136268,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:34:11] local.INFO: Processing buffer {"connection_id":136268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:34:11] local.INFO: Packet analysis {"connection_id":136268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f781b"} 
[2026-07-19 07:34:11] local.INFO: Extracted packet for processing {"connection_id":136268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f781b"} 
[2026-07-19 07:34:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813101568001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:34: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-07-19 07:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784426479000,"timestamp_ms":1784426479000,"timestamp_seconds":1784426479,"priority":1,"record_length":96,"hex_timestamp":"0000019f781b3d98"} 
[2026-07-19 07:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":136268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":136268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":136268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813101568001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813101568001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:34:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:34:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813101568001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":136268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:34:11] local.INFO: GPS data processed {"connection_id":136268,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:34:11] local.INFO: Acknowledgment sent {"connection_id":136268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:34:27] local.INFO: TCP Data received {"connection_id":138729,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:34:27] local.INFO: Processing buffer {"connection_id":138729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:34:27] local.INFO: IMEI packet received {"connection_id":138729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 07:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":138729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:34:32] local.INFO: TCP Data received {"connection_id":137323,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:34:32] local.INFO: Processing buffer {"connection_id":137323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:34:32] local.INFO: IMEI packet received {"connection_id":137323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":137323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:34:37] local.INFO: TCP Data received {"connection_id":137323,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:34:37] local.INFO: Processing buffer {"connection_id":137323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:34:37] local.INFO: IMEI packet received {"connection_id":137323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":137323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:34:39] local.INFO: TCP Data received {"connection_id":137323,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:34:39] local.INFO: Processing buffer {"connection_id":137323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:34:39] local.INFO: Packet analysis {"connection_id":137323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f781b"} 
[2026-07-19 07:34:39] local.INFO: Extracted packet for processing {"connection_id":137323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f781b"} 
[2026-07-19 07:34:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813101568001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:34: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-07-19 07:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784426479000,"timestamp_ms":1784426479000,"timestamp_seconds":1784426479,"priority":1,"record_length":96,"hex_timestamp":"0000019f781b3d98"} 
[2026-07-19 07:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":137323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":137323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":137323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:34:39] 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-07-19 07:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813101568001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813101568001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:34:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:34:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813101568001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":137323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:34:39] local.INFO: GPS data processed {"connection_id":137323,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:34:39] local.INFO: Acknowledgment sent {"connection_id":137323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:35:10] local.INFO: TCP Data received {"connection_id":137323,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:35:10] local.INFO: Processing buffer {"connection_id":137323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:35:10] local.INFO: Packet analysis {"connection_id":137323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f781b"} 
[2026-07-19 07:35:10] local.INFO: Extracted packet for processing {"connection_id":137323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f781b"} 
[2026-07-19 07:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813101568001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:35: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-07-19 07:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784426479000,"timestamp_ms":1784426479000,"timestamp_seconds":1784426479,"priority":1,"record_length":96,"hex_timestamp":"0000019f781b3d98"} 
[2026-07-19 07:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:35:10] 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-07-19 07:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813101568001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813101568001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:35:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:35:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813101568001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":137323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:35:10] local.INFO: GPS data processed {"connection_id":137323,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:35:10] local.INFO: Acknowledgment sent {"connection_id":137323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:35:32] local.INFO: TCP Data received {"connection_id":136269,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:35:32] local.INFO: Processing buffer {"connection_id":136269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:35:32] local.INFO: IMEI packet received {"connection_id":136269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":136269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:35:37] local.INFO: TCP Data received {"connection_id":136269,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:35:37] local.INFO: Processing buffer {"connection_id":136269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:35:37] local.INFO: IMEI packet received {"connection_id":136269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":136269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:35:38] local.INFO: TCP Data received {"connection_id":136269,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:35:38] local.INFO: Processing buffer {"connection_id":136269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:35:38] local.INFO: Packet analysis {"connection_id":136269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f781b"} 
[2026-07-19 07:35:38] local.INFO: Extracted packet for processing {"connection_id":136269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f781b"} 
[2026-07-19 07:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813101568001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:35: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-07-19 07:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784426479000,"timestamp_ms":1784426479000,"timestamp_seconds":1784426479,"priority":1,"record_length":96,"hex_timestamp":"0000019f781b3d98"} 
[2026-07-19 07:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813101568001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813101568001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:35:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813101568001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":136269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:35:38] local.INFO: GPS data processed {"connection_id":136269,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:35:38] local.INFO: Acknowledgment sent {"connection_id":136269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:36:11] local.INFO: TCP Data received {"connection_id":136269,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:36:11] local.INFO: Processing buffer {"connection_id":136269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:36:11] local.INFO: Packet analysis {"connection_id":136269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f781b"} 
[2026-07-19 07:36:11] local.INFO: Extracted packet for processing {"connection_id":136269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f781b"} 
[2026-07-19 07:36:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813101568001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:36: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-07-19 07:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784426479000,"timestamp_ms":1784426479000,"timestamp_seconds":1784426479,"priority":1,"record_length":96,"hex_timestamp":"0000019f781b3d98"} 
[2026-07-19 07:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:36: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-07-19 07:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":136269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":136269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":136269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:36:11] 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-07-19 07:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813101568001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813101568001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:36:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:36:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813101568001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":136269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:36:11] local.INFO: GPS data processed {"connection_id":136269,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:36:11] local.INFO: Acknowledgment sent {"connection_id":136269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:36:32] local.INFO: TCP Data received {"connection_id":138730,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:36:32] local.INFO: Processing buffer {"connection_id":138730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:36:32] local.INFO: IMEI packet received {"connection_id":138730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":138730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:36:37] local.INFO: TCP Data received {"connection_id":138730,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:36:37] local.INFO: Processing buffer {"connection_id":138730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:36:37] local.INFO: IMEI packet received {"connection_id":138730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":138730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:36:38] local.INFO: TCP Data received {"connection_id":138730,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:36:38] local.INFO: Processing buffer {"connection_id":138730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f781b3d98012d34c58006aa41400005010129..."} 
[2026-07-19 07:36:38] local.INFO: Packet analysis {"connection_id":138730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f781b"} 
[2026-07-19 07:36:38] local.INFO: Extracted packet for processing {"connection_id":138730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f781b"} 
[2026-07-19 07:36:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813101568001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:36: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-07-19 07:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784426479000,"timestamp_ms":1784426479000,"timestamp_seconds":1784426479,"priority":1,"record_length":96,"hex_timestamp":"0000019f781b3d98"} 
[2026-07-19 07:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:36: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-07-19 07:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813101568001,"66":25549,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813101568001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:36:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:36:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813101568001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":138730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:36:38] local.INFO: GPS data processed {"connection_id":138730,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:36:38] local.INFO: Acknowledgment sent {"connection_id":138730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:37:10] local.INFO: TCP Data received {"connection_id":138730,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f781fd560012d34c58006aa41400005010127..."} 
[2026-07-19 07:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f781fd560012d34c58006aa41400005010127..."} 
[2026-07-19 07:37:10] local.INFO: Processing buffer {"connection_id":138730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f781fd560012d34c58006aa41400005010127..."} 
[2026-07-19 07:37:10] local.INFO: Packet analysis {"connection_id":138730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f781f"} 
[2026-07-19 07:37:10] local.INFO: Extracted packet for processing {"connection_id":138730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f781f"} 
[2026-07-19 07:37:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813178624001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:37: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-07-19 07:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784426780000,"timestamp_ms":1784426780000,"timestamp_seconds":1784426780,"priority":1,"record_length":96,"hex_timestamp":"0000019f781fd560"} 
[2026-07-19 07:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 07:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813178624001,"66":25538,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813178624001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:37:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:37:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813178624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":138730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:37:10] local.INFO: GPS data processed {"connection_id":138730,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:37:10] local.INFO: Acknowledgment sent {"connection_id":138730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:37:37] local.INFO: TCP Data received {"connection_id":137325,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:37:37] local.INFO: Processing buffer {"connection_id":137325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:37:37] local.INFO: IMEI packet received {"connection_id":137325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":137325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:37:42] local.INFO: TCP Data received {"connection_id":137325,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:37:42] local.INFO: Processing buffer {"connection_id":137325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:37:42] local.INFO: IMEI packet received {"connection_id":137325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":137325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:37:43] local.INFO: TCP Data received {"connection_id":137325,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f782042c0012d34c58006aa41400005010126..."} 
[2026-07-19 07:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f782042c0012d34c58006aa41400005010126..."} 
[2026-07-19 07:37:43] local.INFO: Processing buffer {"connection_id":137325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f782042c0012d34c58006aa41400005010126..."} 
[2026-07-19 07:37:43] local.INFO: Packet analysis {"connection_id":137325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7820"} 
[2026-07-19 07:37:43] local.INFO: Extracted packet for processing {"connection_id":137325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7820"} 
[2026-07-19 07:37:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821120,"longitude_deg":75.8433152,"latitude_deg":11.182112,"altitude":5,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813255680001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:37: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-07-19 07:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784426808000,"timestamp_ms":1784426808000,"timestamp_seconds":1784426808,"priority":1,"record_length":96,"hex_timestamp":"0000019f782042c0"} 
[2026-07-19 07:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 07:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:37:43] 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-07-19 07:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813255680001,"66":25495,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813255680001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:37:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:37:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813255680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":137325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:37:43] local.INFO: GPS data processed {"connection_id":137325,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:37:43] local.INFO: Acknowledgment sent {"connection_id":137325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:38:15] local.INFO: TCP Data received {"connection_id":137325,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f78204a90012d34c84006aa42380005012225..."} 
[2026-07-19 07:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78204a90012d34c84006aa42380005012225..."} 
[2026-07-19 07:38:15] local.INFO: Processing buffer {"connection_id":137325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78204a90012d34c84006aa42380005012225..."} 
[2026-07-19 07:38:15] local.INFO: Packet analysis {"connection_id":137325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7820"} 
[2026-07-19 07:38:15] local.INFO: Extracted packet for processing {"connection_id":137325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7820"} 
[2026-07-19 07:38:15] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111821368,"longitude_deg":75.8433856,"latitude_deg":11.1821368,"altitude":5,"angle":290,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa4238","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813262848001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498813952,"note":"Value kept but may cause issues"} 
[2026-07-19 07:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 07:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784426810000,"timestamp_ms":1784426810000,"timestamp_seconds":1784426810,"priority":1,"record_length":96,"hex_timestamp":"0000019f78204a90"} 
[2026-07-19 07:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 07: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 07:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":137325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":137325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":137325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813262848001,"66":25430,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3802586226498813952},"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-07-19 07:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813262848001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:38:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498813952,"description":"Unknown IO ID 45"} 
[2026-07-19 07:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813262848001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498813952}} 
[2026-07-19 07:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":137325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:38:15] local.INFO: GPS data processed {"connection_id":137325,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:38:15] local.INFO: Acknowledgment sent {"connection_id":137325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:38:32] local.INFO: TCP Data received {"connection_id":138732,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:38:32] local.INFO: Processing buffer {"connection_id":138732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:38:32] local.INFO: IMEI packet received {"connection_id":138732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":138732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:38:37] local.INFO: TCP Data received {"connection_id":138732,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:38:37] local.INFO: Processing buffer {"connection_id":138732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:38:37] local.INFO: IMEI packet received {"connection_id":138732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":138732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:38:39] local.INFO: TCP Data received {"connection_id":138732,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f78209c98012d34c84006aa42380005012224..."} 
[2026-07-19 07:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78209c98012d34c84006aa42380005012224..."} 
[2026-07-19 07:38:39] local.INFO: Processing buffer {"connection_id":138732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78209c98012d34c84006aa42380005012224..."} 
[2026-07-19 07:38:39] local.INFO: Packet analysis {"connection_id":138732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7820"} 
[2026-07-19 07:38:39] local.INFO: Extracted packet for processing {"connection_id":138732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7820"} 
[2026-07-19 07:38:39] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111821368,"longitude_deg":75.8433856,"latitude_deg":11.1821368,"altitude":5,"angle":290,"satellites":36,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa4238","is_valid_coordinates":true} 
[2026-07-19 07:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813263360001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684831744,"note":"Value kept but may cause issues"} 
[2026-07-19 07:38: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-07-19 07:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784426831000,"timestamp_ms":1784426831000,"timestamp_seconds":1784426831,"priority":1,"record_length":96,"hex_timestamp":"0000019f78209c98"} 
[2026-07-19 07:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 07:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 07:38:39] 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-07-19 07:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":138732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":138732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":138732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:38:39] 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-07-19 07:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813263360001,"66":27767,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3803360282684831744},"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-07-19 07:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813263360001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:38:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:38:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684831744,"description":"Unknown IO ID 45"} 
[2026-07-19 07:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813263360001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282684831744}} 
[2026-07-19 07:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":138732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:38:39] local.INFO: GPS data processed {"connection_id":138732,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:38:39] local.INFO: Acknowledgment sent {"connection_id":138732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:39:11] local.INFO: TCP Data received {"connection_id":138732,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7820eea0012d34c84006aa42380005012228..."} 
[2026-07-19 07:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7820eea0012d34c84006aa42380005012228..."} 
[2026-07-19 07:39:11] local.INFO: Processing buffer {"connection_id":138732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7820eea0012d34c84006aa42380005012228..."} 
[2026-07-19 07:39:11] local.INFO: Packet analysis {"connection_id":138732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7820"} 
[2026-07-19 07:39:11] local.INFO: Extracted packet for processing {"connection_id":138732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7820"} 
[2026-07-19 07:39:11] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111821368,"longitude_deg":75.8433856,"latitude_deg":11.1821368,"altitude":5,"angle":290,"satellites":40,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa4238","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813268736001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306791377272832,"note":"Value kept but may cause issues"} 
[2026-07-19 07:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684831744,"note":"Value kept but may cause issues"} 
[2026-07-19 07:39: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-07-19 07:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784426852000,"timestamp_ms":1784426852000,"timestamp_seconds":1784426852,"priority":1,"record_length":96,"hex_timestamp":"0000019f7820eea0"} 
[2026-07-19 07:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:39: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-07-19 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-19 07:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":138732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":138732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":138732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:39:11] 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-07-19 07:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813268736001,"66":27691,"97":206,"81":23296,"24":0,"16":352306791377272832,"45":3803360282684831744},"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-07-19 07:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813268736001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:39:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:39:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306791377272832,"km_value":352306791377272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684831744,"description":"Unknown IO ID 45"} 
[2026-07-19 07:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813268736001,"power":27691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282684831744}} 
[2026-07-19 07:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":138732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:39:11] local.INFO: GPS data processed {"connection_id":138732,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:39:11] local.INFO: Acknowledgment sent {"connection_id":138732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:39:32] local.INFO: TCP Data received {"connection_id":137326,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:39:32] local.INFO: Processing buffer {"connection_id":137326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:39:32] local.INFO: IMEI packet received {"connection_id":137326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":137326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:39:37] local.INFO: TCP Data received {"connection_id":137326,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:39:37] local.INFO: Processing buffer {"connection_id":137326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:39:37] local.INFO: IMEI packet received {"connection_id":137326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":137326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:39:38] local.INFO: TCP Data received {"connection_id":137326,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f78212d20012d34c50006aa42000008010329..."} 
[2026-07-19 07:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78212d20012d34c50006aa42000008010329..."} 
[2026-07-19 07:39:38] local.INFO: Processing buffer {"connection_id":137326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78212d20012d34c50006aa42000008010329..."} 
[2026-07-19 07:39:38] local.INFO: Packet analysis {"connection_id":137326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7821"} 
[2026-07-19 07:39:38] local.INFO: Extracted packet for processing {"connection_id":137326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7821"} 
[2026-07-19 07:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821312,"longitude_deg":75.8433024,"latitude_deg":11.1821312,"altitude":8,"angle":259,"satellites":41,"speed":2,"hex_longitude":"2d34c500","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-07-19 07:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813274112001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306830031978496,"note":"Value kept but may cause issues"} 
[2026-07-19 07:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684831744,"note":"Value kept but may cause issues"} 
[2026-07-19 07:39: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-07-19 07:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784426868000,"timestamp_ms":1784426868000,"timestamp_seconds":1784426868,"priority":1,"record_length":96,"hex_timestamp":"0000019f78212d20"} 
[2026-07-19 07:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:39: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-07-19 07:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-19 07:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813274112001,"66":27865,"97":206,"81":23296,"24":2,"16":352306830031978496,"45":3803360282684831744},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 07:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813274112001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:39:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:39:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306830031978496,"km_value":352306830031978.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684831744,"description":"Unknown IO ID 45"} 
[2026-07-19 07:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813274112001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3803360282684831744}} 
[2026-07-19 07:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":137326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:39:38] local.INFO: GPS data processed {"connection_id":137326,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:39:38] local.INFO: Acknowledgment sent {"connection_id":137326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:39:52] local.INFO: TCP Data received {"connection_id":138733,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:39:52] local.INFO: Processing buffer {"connection_id":138733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:39:52] local.INFO: IMEI packet received {"connection_id":138733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 07:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":138733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:40:09] local.INFO: TCP Data received {"connection_id":137326,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:40:09] local.INFO: Processing buffer {"connection_id":137326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:40:09] local.INFO: Packet analysis {"connection_id":137326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7821"} 
[2026-07-19 07:40:09] local.INFO: Extracted packet for processing {"connection_id":137326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7821"} 
[2026-07-19 07:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821312,"longitude_deg":75.8432832,"latitude_deg":11.1821312,"altitude":8,"angle":256,"satellites":42,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-07-19 07:40: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-07-19 07:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813278208001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010507776,"note":"Value kept but may cause issues"} 
[2026-07-19 07:40: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-07-19 07:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784426878000,"timestamp_ms":1784426878000,"timestamp_seconds":1784426878,"priority":1,"record_length":96,"hex_timestamp":"0000019f78215430"} 
[2026-07-19 07:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:40: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-07-19 07:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-19 07:40:09] 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-07-19 07:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813278208001,"66":27843,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3802445489010507776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 07:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813278208001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010507776,"description":"Unknown IO ID 45"} 
[2026-07-19 07:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813278208001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010507776}} 
[2026-07-19 07:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":137326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:40:09] local.INFO: GPS data processed {"connection_id":137326,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:40:09] local.INFO: Acknowledgment sent {"connection_id":137326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:40:27] local.INFO: TCP Data received {"connection_id":137327,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:40:27] local.INFO: Processing buffer {"connection_id":137327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:40:27] local.INFO: IMEI packet received {"connection_id":137327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 07:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":137327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:40:32] local.INFO: TCP Data received {"connection_id":138734,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:40:32] local.INFO: Processing buffer {"connection_id":138734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:40:32] local.INFO: IMEI packet received {"connection_id":138734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":138734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:40:32] local.INFO: TCP Data received {"connection_id":137327,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:40:32] local.INFO: Processing buffer {"connection_id":137327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:40:32] local.INFO: IMEI packet received {"connection_id":137327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-19 07:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":137327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:40:33] local.INFO: TCP Data received {"connection_id":137327,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f77ee1ae8012d34cbc006aa56b00008010228..."} 
[2026-07-19 07:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f77ee1ae8012d34cbc006aa56b00008010228..."} 
[2026-07-19 07:40:33] local.INFO: Processing buffer {"connection_id":137327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f77ee1ae8012d34cbc006aa56b00008010228..."} 
[2026-07-19 07:40:33] local.INFO: Packet analysis {"connection_id":137327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f77ee"} 
[2026-07-19 07:40:33] local.INFO: Extracted packet for processing {"connection_id":137327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f77ee"} 
[2026-07-19 07:40:33] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111826608,"longitude_deg":75.8434752,"latitude_deg":11.1826608,"altitude":8,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa56b0","is_valid_coordinates":true} 
[2026-07-19 07:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456812344320001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":137892630867476480,"note":"Value kept but may cause issues"} 
[2026-07-19 07:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445104660480,"note":"Value kept but may cause issues"} 
[2026-07-19 07:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 07:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784423521000,"timestamp_ms":1784423521000,"timestamp_seconds":1784423521,"priority":1,"record_length":96,"hex_timestamp":"0000019f77ee1ae8"} 
[2026-07-19 07:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-19 07:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":137327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":137327,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-19 07:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":137327,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-19 07:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-19 07:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-19 07:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456812344320001,"66":25941,"32":206,"81":23296,"24":0,"16":137892630867476480,"45":3804345445104660480},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-19 07:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-19 07:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-19 07:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456812344320001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:40:33] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-19 07:40:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":137892630867476480,"km_value":137892630867476.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445104660480,"description":"Unknown IO ID 45"} 
[2026-07-19 07:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456812344320001,"power":25941,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445104660480}} 
[2026-07-19 07:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":137327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511042,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:40:34] local.INFO: GPS data processed {"connection_id":137327,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:40:34] local.INFO: Acknowledgment sent {"connection_id":137327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:40:40] local.INFO: TCP Data received {"connection_id":138734,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:40:40] local.INFO: Processing buffer {"connection_id":138734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:40:40] local.INFO: IMEI packet received {"connection_id":138734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":138734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:40:41] local.INFO: TCP Data received {"connection_id":138734,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:40:41] local.INFO: Processing buffer {"connection_id":138734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:40:41] local.INFO: Packet analysis {"connection_id":138734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7821"} 
[2026-07-19 07:40:41] local.INFO: Extracted packet for processing {"connection_id":138734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7821"} 
[2026-07-19 07:40:41] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821312,"longitude_deg":75.8432832,"latitude_deg":11.1821312,"altitude":8,"angle":256,"satellites":42,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-07-19 07:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813278208001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010507776,"note":"Value kept but may cause issues"} 
[2026-07-19 07:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 07:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784426878000,"timestamp_ms":1784426878000,"timestamp_seconds":1784426878,"priority":1,"record_length":96,"hex_timestamp":"0000019f78215430"} 
[2026-07-19 07:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 07:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-19 07:40: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-07-19 07:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":138734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":138734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":138734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813278208001,"66":27843,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3802445489010507776},"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-07-19 07:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813278208001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:40:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:40:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010507776,"description":"Unknown IO ID 45"} 
[2026-07-19 07:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813278208001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010507776}} 
[2026-07-19 07:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":138734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:40:41] local.INFO: GPS data processed {"connection_id":138734,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:40:41] local.INFO: Acknowledgment sent {"connection_id":138734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:41:12] local.INFO: TCP Data received {"connection_id":138734,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:41:12] local.INFO: Processing buffer {"connection_id":138734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:41:12] local.INFO: Packet analysis {"connection_id":138734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7821"} 
[2026-07-19 07:41:12] local.INFO: Extracted packet for processing {"connection_id":138734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7821"} 
[2026-07-19 07:41:12] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821312,"longitude_deg":75.8432832,"latitude_deg":11.1821312,"altitude":8,"angle":256,"satellites":42,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-07-19 07:41: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-07-19 07:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813278208001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010507776,"note":"Value kept but may cause issues"} 
[2026-07-19 07:41: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-07-19 07:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784426878000,"timestamp_ms":1784426878000,"timestamp_seconds":1784426878,"priority":1,"record_length":96,"hex_timestamp":"0000019f78215430"} 
[2026-07-19 07:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 07:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-19 07:41: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-07-19 07:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":138734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":138734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":138734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813278208001,"66":27843,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3802445489010507776},"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-07-19 07:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813278208001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:41:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:41:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010507776,"description":"Unknown IO ID 45"} 
[2026-07-19 07:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813278208001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010507776}} 
[2026-07-19 07:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":138734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:41:12] local.INFO: GPS data processed {"connection_id":138734,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:41:12] local.INFO: Acknowledgment sent {"connection_id":138734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:41:17] local.INFO: TCP Data received {"connection_id":136270,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:41:17] local.INFO: Processing buffer {"connection_id":136270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:41:17] local.INFO: IMEI packet received {"connection_id":136270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 07:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":136270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:41:37] local.INFO: TCP Data received {"connection_id":137328,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:41:37] local.INFO: Processing buffer {"connection_id":137328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:41:37] local.INFO: IMEI packet received {"connection_id":137328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":137328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:41:42] local.INFO: TCP Data received {"connection_id":137328,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:41:42] local.INFO: Processing buffer {"connection_id":137328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:41:42] local.INFO: IMEI packet received {"connection_id":137328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":137328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:41:43] local.INFO: TCP Data received {"connection_id":137328,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:41:43] local.INFO: Processing buffer {"connection_id":137328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:41:43] local.INFO: Packet analysis {"connection_id":137328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7821"} 
[2026-07-19 07:41:43] local.INFO: Extracted packet for processing {"connection_id":137328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7821"} 
[2026-07-19 07:41:43] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821312,"longitude_deg":75.8432832,"latitude_deg":11.1821312,"altitude":8,"angle":256,"satellites":42,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-07-19 07:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813278208001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010507776,"note":"Value kept but may cause issues"} 
[2026-07-19 07:41: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-07-19 07:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784426878000,"timestamp_ms":1784426878000,"timestamp_seconds":1784426878,"priority":1,"record_length":96,"hex_timestamp":"0000019f78215430"} 
[2026-07-19 07:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:41: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-07-19 07:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-19 07:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:41:43] 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-07-19 07:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813278208001,"66":27843,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3802445489010507776},"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-07-19 07:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813278208001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:41:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:41:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010507776,"description":"Unknown IO ID 45"} 
[2026-07-19 07:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813278208001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010507776}} 
[2026-07-19 07:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":137328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:41:43] local.INFO: GPS data processed {"connection_id":137328,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:41:43] local.INFO: Acknowledgment sent {"connection_id":137328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:41:47] local.INFO: TCP Data received {"connection_id":137328,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:41:47] local.INFO: Processing buffer {"connection_id":137328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:41:47] local.INFO: Packet analysis {"connection_id":137328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7821"} 
[2026-07-19 07:41:47] local.INFO: Extracted packet for processing {"connection_id":137328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7821"} 
[2026-07-19 07:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821312,"longitude_deg":75.8432832,"latitude_deg":11.1821312,"altitude":8,"angle":256,"satellites":42,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-07-19 07:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813278208001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010507776,"note":"Value kept but may cause issues"} 
[2026-07-19 07:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 07:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784426878000,"timestamp_ms":1784426878000,"timestamp_seconds":1784426878,"priority":1,"record_length":96,"hex_timestamp":"0000019f78215430"} 
[2026-07-19 07:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 07:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-19 07:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":137328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":137328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":137328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813278208001,"66":27843,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3802445489010507776},"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-07-19 07:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813278208001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:41:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010507776,"description":"Unknown IO ID 45"} 
[2026-07-19 07:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813278208001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010507776}} 
[2026-07-19 07:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":137328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:41:47] local.INFO: GPS data processed {"connection_id":137328,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:41:47] local.INFO: Acknowledgment sent {"connection_id":137328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:42:32] local.INFO: TCP Data received {"connection_id":137329,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:42:32] local.INFO: Processing buffer {"connection_id":137329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:42:32] local.INFO: IMEI packet received {"connection_id":137329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":137329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:42:37] local.INFO: TCP Data received {"connection_id":137329,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:42:37] local.INFO: Processing buffer {"connection_id":137329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:42:37] local.INFO: IMEI packet received {"connection_id":137329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":137329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:42:39] local.INFO: TCP Data received {"connection_id":137329,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:42:39] local.INFO: Processing buffer {"connection_id":137329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:42:39] local.INFO: Packet analysis {"connection_id":137329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7821"} 
[2026-07-19 07:42:39] local.INFO: Extracted packet for processing {"connection_id":137329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7821"} 
[2026-07-19 07:42:39] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821312,"longitude_deg":75.8432832,"latitude_deg":11.1821312,"altitude":8,"angle":256,"satellites":42,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-07-19 07:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813278208001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010507776,"note":"Value kept but may cause issues"} 
[2026-07-19 07:42: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-07-19 07:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784426878000,"timestamp_ms":1784426878000,"timestamp_seconds":1784426878,"priority":1,"record_length":96,"hex_timestamp":"0000019f78215430"} 
[2026-07-19 07:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:42: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-07-19 07:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-19 07:42: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-07-19 07:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":137329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":137329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":137329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813278208001,"66":27843,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3802445489010507776},"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-07-19 07:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813278208001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:42:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:42:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010507776,"description":"Unknown IO ID 45"} 
[2026-07-19 07:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813278208001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010507776}} 
[2026-07-19 07:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":137329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:42:39] local.INFO: GPS data processed {"connection_id":137329,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:42:39] local.INFO: Acknowledgment sent {"connection_id":137329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:43:11] local.INFO: TCP Data received {"connection_id":137329,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:43:11] local.INFO: Processing buffer {"connection_id":137329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:43:11] local.INFO: Packet analysis {"connection_id":137329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7821"} 
[2026-07-19 07:43:11] local.INFO: Extracted packet for processing {"connection_id":137329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7821"} 
[2026-07-19 07:43:11] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821312,"longitude_deg":75.8432832,"latitude_deg":11.1821312,"altitude":8,"angle":256,"satellites":42,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-07-19 07:43: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-07-19 07:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813278208001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010507776,"note":"Value kept but may cause issues"} 
[2026-07-19 07:43: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-07-19 07:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784426878000,"timestamp_ms":1784426878000,"timestamp_seconds":1784426878,"priority":1,"record_length":96,"hex_timestamp":"0000019f78215430"} 
[2026-07-19 07:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:43: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-07-19 07:43: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-07-19 07:43: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-07-19 07:43: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-07-19 07:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":137329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":137329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":137329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813278208001,"66":27843,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3802445489010507776},"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-07-19 07:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813278208001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:43:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:43:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010507776,"description":"Unknown IO ID 45"} 
[2026-07-19 07:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813278208001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010507776}} 
[2026-07-19 07:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":137329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:43:11] local.INFO: GPS data processed {"connection_id":137329,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:43:11] local.INFO: Acknowledgment sent {"connection_id":137329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:43:32] local.INFO: TCP Data received {"connection_id":136272,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:43:32] local.INFO: Processing buffer {"connection_id":136272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:43:32] local.INFO: IMEI packet received {"connection_id":136272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":136272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:43:37] local.INFO: TCP Data received {"connection_id":136272,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:43:37] local.INFO: Processing buffer {"connection_id":136272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:43:37] local.INFO: IMEI packet received {"connection_id":136272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":136272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:43:38] local.INFO: TCP Data received {"connection_id":136272,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:43:38] local.INFO: Processing buffer {"connection_id":136272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78215430012d34c44006aa4200000801002a..."} 
[2026-07-19 07:43:38] local.INFO: Packet analysis {"connection_id":136272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7821"} 
[2026-07-19 07:43:38] local.INFO: Extracted packet for processing {"connection_id":136272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7821"} 
[2026-07-19 07:43:38] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821312,"longitude_deg":75.8432832,"latitude_deg":11.1821312,"altitude":8,"angle":256,"satellites":42,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-07-19 07:43: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-07-19 07:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813278208001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010507776,"note":"Value kept but may cause issues"} 
[2026-07-19 07:43: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-07-19 07:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784426878000,"timestamp_ms":1784426878000,"timestamp_seconds":1784426878,"priority":1,"record_length":96,"hex_timestamp":"0000019f78215430"} 
[2026-07-19 07:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-19 07:43: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-07-19 07: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-07-19 07:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813278208001,"66":27843,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3802445489010507776},"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-07-19 07:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813278208001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:43:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:43:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010507776,"description":"Unknown IO ID 45"} 
[2026-07-19 07:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813278208001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010507776}} 
[2026-07-19 07:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":136272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:43:38] local.INFO: GPS data processed {"connection_id":136272,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:43:38] local.INFO: Acknowledgment sent {"connection_id":136272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:44:11] local.INFO: TCP Data received {"connection_id":136272,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:44:11] local.INFO: Processing buffer {"connection_id":136272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:44:11] local.INFO: Packet analysis {"connection_id":136272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7825"} 
[2026-07-19 07:44:11] local.INFO: Extracted packet for processing {"connection_id":136272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7825"} 
[2026-07-19 07:44:11] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813280768001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777974784,"note":"Value kept but may cause issues"} 
[2026-07-19 07:44: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-07-19 07:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784427180000,"timestamp_ms":1784427180000,"timestamp_seconds":1784427180,"priority":1,"record_length":96,"hex_timestamp":"0000019f7825efe0"} 
[2026-07-19 07:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-19 07:44: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-07-19 07: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-07-19 07:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":136272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":136272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":136272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:44:11] 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-07-19 07:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813280768001,"66":26158,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3802234382777974784},"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-07-19 07:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813280768001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:44:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:44:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777974784,"description":"Unknown IO ID 45"} 
[2026-07-19 07:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813280768001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777974784}} 
[2026-07-19 07:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":136272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:44:11] local.INFO: GPS data processed {"connection_id":136272,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:44:11] local.INFO: Acknowledgment sent {"connection_id":136272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:44:37] local.INFO: TCP Data received {"connection_id":138736,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:44:37] local.INFO: Processing buffer {"connection_id":138736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:44:37] local.INFO: IMEI packet received {"connection_id":138736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":138736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:44:42] local.INFO: TCP Data received {"connection_id":138736,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:44:42] local.INFO: Processing buffer {"connection_id":138736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:44:42] local.INFO: IMEI packet received {"connection_id":138736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":138736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:44:44] local.INFO: TCP Data received {"connection_id":138736,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:44:44] local.INFO: Processing buffer {"connection_id":138736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:44:44] local.INFO: Packet analysis {"connection_id":138736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7825"} 
[2026-07-19 07:44:44] local.INFO: Extracted packet for processing {"connection_id":138736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7825"} 
[2026-07-19 07:44:44] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813280768001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777974784,"note":"Value kept but may cause issues"} 
[2026-07-19 07:44: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-07-19 07:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784427180000,"timestamp_ms":1784427180000,"timestamp_seconds":1784427180,"priority":1,"record_length":96,"hex_timestamp":"0000019f7825efe0"} 
[2026-07-19 07:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-19 07:44:44] 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-07-19 07:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":138736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":138736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":138736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:44:44] 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-07-19 07:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813280768001,"66":26158,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3802234382777974784},"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-07-19 07:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813280768001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:44:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:44:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777974784,"description":"Unknown IO ID 45"} 
[2026-07-19 07:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813280768001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777974784}} 
[2026-07-19 07:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":138736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:44:44] local.INFO: GPS data processed {"connection_id":138736,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:44:44] local.INFO: Acknowledgment sent {"connection_id":138736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:44:48] local.INFO: TCP Data received {"connection_id":138736,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:44:48] local.INFO: Processing buffer {"connection_id":138736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:44:48] local.INFO: Packet analysis {"connection_id":138736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7825"} 
[2026-07-19 07:44:48] local.INFO: Extracted packet for processing {"connection_id":138736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7825"} 
[2026-07-19 07:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813280768001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777974784,"note":"Value kept but may cause issues"} 
[2026-07-19 07:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 07:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784427180000,"timestamp_ms":1784427180000,"timestamp_seconds":1784427180,"priority":1,"record_length":96,"hex_timestamp":"0000019f7825efe0"} 
[2026-07-19 07:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-19 07:44:48] 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-07-19 07:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":138736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":138736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":138736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813280768001,"66":26158,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3802234382777974784},"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-07-19 07:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813280768001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:44:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:44:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777974784,"description":"Unknown IO ID 45"} 
[2026-07-19 07:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813280768001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777974784}} 
[2026-07-19 07:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":138736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:44:48] local.INFO: GPS data processed {"connection_id":138736,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:44:48] local.INFO: Acknowledgment sent {"connection_id":138736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:45:32] local.INFO: TCP Data received {"connection_id":136273,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:45:32] local.INFO: Processing buffer {"connection_id":136273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:45:32] local.INFO: IMEI packet received {"connection_id":136273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":136273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:45:37] local.INFO: TCP Data received {"connection_id":136273,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:45:37] local.INFO: Processing buffer {"connection_id":136273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:45:37] local.INFO: IMEI packet received {"connection_id":136273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":136273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:45:38] local.INFO: TCP Data received {"connection_id":136273,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:45:38] local.INFO: Processing buffer {"connection_id":136273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:45:38] local.INFO: Packet analysis {"connection_id":136273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7825"} 
[2026-07-19 07:45:38] local.INFO: Extracted packet for processing {"connection_id":136273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7825"} 
[2026-07-19 07:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813280768001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777974784,"note":"Value kept but may cause issues"} 
[2026-07-19 07:45: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-07-19 07:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784427180000,"timestamp_ms":1784427180000,"timestamp_seconds":1784427180,"priority":1,"record_length":96,"hex_timestamp":"0000019f7825efe0"} 
[2026-07-19 07:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-19 07:45: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-07-19 07:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:45: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-07-19 07:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813280768001,"66":26158,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3802234382777974784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 07:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813280768001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:45:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777974784,"description":"Unknown IO ID 45"} 
[2026-07-19 07:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813280768001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777974784}} 
[2026-07-19 07:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":136273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:45:38] local.INFO: GPS data processed {"connection_id":136273,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:45:38] local.INFO: Acknowledgment sent {"connection_id":136273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:46:09] local.INFO: TCP Data received {"connection_id":136273,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:46:09] local.INFO: Processing buffer {"connection_id":136273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:46:09] local.INFO: Packet analysis {"connection_id":136273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7825"} 
[2026-07-19 07:46:09] local.INFO: Extracted packet for processing {"connection_id":136273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7825"} 
[2026-07-19 07:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813280768001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777974784,"note":"Value kept but may cause issues"} 
[2026-07-19 07:46: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-07-19 07:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784427180000,"timestamp_ms":1784427180000,"timestamp_seconds":1784427180,"priority":1,"record_length":96,"hex_timestamp":"0000019f7825efe0"} 
[2026-07-19 07:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":195,"data_length":795,"current_offset":136} 
[2026-07-19 07:46: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-07-19 07: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-07-19 07:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:46: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-07-19 07:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813280768001,"66":26158,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3802234382777974784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 07:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813280768001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:46:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777974784,"description":"Unknown IO ID 45"} 
[2026-07-19 07:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813280768001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777974784}} 
[2026-07-19 07:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":136273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:46:09] local.INFO: GPS data processed {"connection_id":136273,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:46:09] local.INFO: Acknowledgment sent {"connection_id":136273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:46:32] local.INFO: TCP Data received {"connection_id":138737,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:46:32] local.INFO: Processing buffer {"connection_id":138737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:46:32] local.INFO: IMEI packet received {"connection_id":138737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":138737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:46:37] local.INFO: TCP Data received {"connection_id":136399,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136399,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:46:37] local.INFO: Processing buffer {"connection_id":136399,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:46:37] local.INFO: IMEI packet received {"connection_id":136399,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 07:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":136399,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:46:37] local.INFO: TCP Data received {"connection_id":138737,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:46:37] local.INFO: Processing buffer {"connection_id":138737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:46:37] local.INFO: IMEI packet received {"connection_id":138737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":138737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:46:38] local.INFO: TCP Data received {"connection_id":138737,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:46:38] local.INFO: Processing buffer {"connection_id":138737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:46:38] local.INFO: Packet analysis {"connection_id":138737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7825"} 
[2026-07-19 07:46:38] local.INFO: Extracted packet for processing {"connection_id":138737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7825"} 
[2026-07-19 07:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813280768001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777974784,"note":"Value kept but may cause issues"} 
[2026-07-19 07:46: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-07-19 07:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784427180000,"timestamp_ms":1784427180000,"timestamp_seconds":1784427180,"priority":1,"record_length":96,"hex_timestamp":"0000019f7825efe0"} 
[2026-07-19 07:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-19 07:46: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-07-19 07:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813280768001,"66":26158,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3802234382777974784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 07:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813280768001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:46:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:46:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777974784,"description":"Unknown IO ID 45"} 
[2026-07-19 07:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813280768001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777974784}} 
[2026-07-19 07:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":138737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:46:38] local.INFO: GPS data processed {"connection_id":138737,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:46:38] local.INFO: Acknowledgment sent {"connection_id":138737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:47:11] local.INFO: TCP Data received {"connection_id":138737,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:47:11] local.INFO: Processing buffer {"connection_id":138737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:47:11] local.INFO: Packet analysis {"connection_id":138737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7825"} 
[2026-07-19 07:47:11] local.INFO: Extracted packet for processing {"connection_id":138737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7825"} 
[2026-07-19 07:47:11] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813280768001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777974784,"note":"Value kept but may cause issues"} 
[2026-07-19 07:47: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-07-19 07:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784427180000,"timestamp_ms":1784427180000,"timestamp_seconds":1784427180,"priority":1,"record_length":96,"hex_timestamp":"0000019f7825efe0"} 
[2026-07-19 07:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-19 07:47: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-07-19 07: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-07-19 07:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":138737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":138737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":138737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813280768001,"66":26158,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3802234382777974784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 07:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813280768001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:47:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:47:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777974784,"description":"Unknown IO ID 45"} 
[2026-07-19 07:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813280768001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777974784}} 
[2026-07-19 07:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":138737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:47:11] local.INFO: GPS data processed {"connection_id":138737,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:47:11] local.INFO: Acknowledgment sent {"connection_id":138737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:47:32] local.INFO: TCP Data received {"connection_id":137331,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:47:32] local.INFO: Processing buffer {"connection_id":137331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:47:32] local.INFO: IMEI packet received {"connection_id":137331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":137331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:47:37] local.INFO: TCP Data received {"connection_id":137331,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:47:37] local.INFO: Processing buffer {"connection_id":137331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:47:37] local.INFO: IMEI packet received {"connection_id":137331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":137331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:47:38] local.INFO: TCP Data received {"connection_id":137331,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:47:38] local.INFO: Processing buffer {"connection_id":137331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:47:38] local.INFO: Packet analysis {"connection_id":137331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7825"} 
[2026-07-19 07:47:38] local.INFO: Extracted packet for processing {"connection_id":137331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7825"} 
[2026-07-19 07:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813280768001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777974784,"note":"Value kept but may cause issues"} 
[2026-07-19 07:47: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-07-19 07:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784427180000,"timestamp_ms":1784427180000,"timestamp_seconds":1784427180,"priority":1,"record_length":96,"hex_timestamp":"0000019f7825efe0"} 
[2026-07-19 07:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-19 07:47: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-07-19 07: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-07-19 07:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813280768001,"66":26158,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3802234382777974784},"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-07-19 07:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813280768001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777974784,"description":"Unknown IO ID 45"} 
[2026-07-19 07:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813280768001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777974784}} 
[2026-07-19 07:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":137331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:47:38] local.INFO: GPS data processed {"connection_id":137331,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:47:38] local.INFO: Acknowledgment sent {"connection_id":137331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:48:11] local.INFO: TCP Data received {"connection_id":137331,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:48:11] local.INFO: Processing buffer {"connection_id":137331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:48:11] local.INFO: Packet analysis {"connection_id":137331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7825"} 
[2026-07-19 07:48:11] local.INFO: Extracted packet for processing {"connection_id":137331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7825"} 
[2026-07-19 07:48:11] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813280768001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777974784,"note":"Value kept but may cause issues"} 
[2026-07-19 07:48: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-07-19 07:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784427180000,"timestamp_ms":1784427180000,"timestamp_seconds":1784427180,"priority":1,"record_length":96,"hex_timestamp":"0000019f7825efe0"} 
[2026-07-19 07:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-19 07:48: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-07-19 07:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":137331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":137331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":137331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:48:11] 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-07-19 07:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813280768001,"66":26158,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3802234382777974784},"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-07-19 07:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813280768001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:48:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:48:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777974784,"description":"Unknown IO ID 45"} 
[2026-07-19 07:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813280768001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777974784}} 
[2026-07-19 07:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":137331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:48:11] local.INFO: GPS data processed {"connection_id":137331,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:48:11] local.INFO: Acknowledgment sent {"connection_id":137331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:48:32] local.INFO: TCP Data received {"connection_id":136401,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:48:32] local.INFO: Processing buffer {"connection_id":136401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:48:32] local.INFO: IMEI packet received {"connection_id":136401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":136401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:48:37] local.INFO: TCP Data received {"connection_id":136401,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:48:37] local.INFO: Processing buffer {"connection_id":136401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:48:37] local.INFO: IMEI packet received {"connection_id":136401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":136401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:48:38] local.INFO: TCP Data received {"connection_id":136401,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:48:38] local.INFO: Processing buffer {"connection_id":136401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7825efe0012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:48:38] local.INFO: Packet analysis {"connection_id":136401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7825"} 
[2026-07-19 07:48:38] local.INFO: Extracted packet for processing {"connection_id":136401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7825"} 
[2026-07-19 07:48:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813280768001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777974784,"note":"Value kept but may cause issues"} 
[2026-07-19 07:48: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-07-19 07:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784427180000,"timestamp_ms":1784427180000,"timestamp_seconds":1784427180,"priority":1,"record_length":96,"hex_timestamp":"0000019f7825efe0"} 
[2026-07-19 07:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-19 07:48: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-07-19 07:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813280768001,"66":26158,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3802234382777974784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 07:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813280768001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:48:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:48:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777974784,"description":"Unknown IO ID 45"} 
[2026-07-19 07:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813280768001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777974784}} 
[2026-07-19 07:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":136401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:48:38] local.INFO: GPS data processed {"connection_id":136401,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:48:38] local.INFO: Acknowledgment sent {"connection_id":136401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:49:10] local.INFO: TCP Data received {"connection_id":136401,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:49:10] local.INFO: Processing buffer {"connection_id":136401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:49:10] local.INFO: Packet analysis {"connection_id":136401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f782a"} 
[2026-07-19 07:49:10] local.INFO: Extracted packet for processing {"connection_id":136401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f782a"} 
[2026-07-19 07:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813358080001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 07:49: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-07-19 07:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784427481000,"timestamp_ms":1784427481000,"timestamp_seconds":1784427481,"priority":1,"record_length":96,"hex_timestamp":"0000019f782a87a8"} 
[2026-07-19 07:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 07:49:10] 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-07-19 07:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813358080001,"66":25875,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 07:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813358080001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:49:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:49:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 07:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813358080001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 07:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":136401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:49:10] local.INFO: GPS data processed {"connection_id":136401,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:49:10] local.INFO: Acknowledgment sent {"connection_id":136401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:49:37] local.INFO: TCP Data received {"connection_id":136402,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:49:37] local.INFO: Processing buffer {"connection_id":136402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:49:37] local.INFO: IMEI packet received {"connection_id":136402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":136402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:49:42] local.INFO: TCP Data received {"connection_id":136402,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:49:42] local.INFO: Processing buffer {"connection_id":136402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:49:42] local.INFO: IMEI packet received {"connection_id":136402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":136402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:49:43] local.INFO: TCP Data received {"connection_id":136402,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:49:43] local.INFO: Processing buffer {"connection_id":136402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:49:43] local.INFO: Packet analysis {"connection_id":136402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f782a"} 
[2026-07-19 07:49:43] local.INFO: Extracted packet for processing {"connection_id":136402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f782a"} 
[2026-07-19 07:49:43] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:49: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-07-19 07:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813358080001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 07:49: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-07-19 07:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784427481000,"timestamp_ms":1784427481000,"timestamp_seconds":1784427481,"priority":1,"record_length":96,"hex_timestamp":"0000019f782a87a8"} 
[2026-07-19 07:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:49: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":46,"data_length":795,"current_offset":136} 
[2026-07-19 07:49:43] 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-07-19 07:49: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-07-19 07:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813358080001,"66":25875,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 07:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813358080001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:49:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:49:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 07:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813358080001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 07:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":136402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:49:43] local.INFO: GPS data processed {"connection_id":136402,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:49:43] local.INFO: Acknowledgment sent {"connection_id":136402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:49:47] local.INFO: TCP Data received {"connection_id":136402,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:49:47] local.INFO: Processing buffer {"connection_id":136402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:49:47] local.INFO: Packet analysis {"connection_id":136402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f782a"} 
[2026-07-19 07:49:47] local.INFO: Extracted packet for processing {"connection_id":136402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f782a"} 
[2026-07-19 07:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813358080001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 07:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 07:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784427481000,"timestamp_ms":1784427481000,"timestamp_seconds":1784427481,"priority":1,"record_length":96,"hex_timestamp":"0000019f782a87a8"} 
[2026-07-19 07:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 07:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813358080001,"66":25875,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 07:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813358080001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:49:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:49:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 07:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813358080001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 07:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":136402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:49:47] local.INFO: GPS data processed {"connection_id":136402,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:49:47] local.INFO: Acknowledgment sent {"connection_id":136402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:50:32] local.INFO: TCP Data received {"connection_id":136403,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:50:32] local.INFO: Processing buffer {"connection_id":136403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:50:32] local.INFO: IMEI packet received {"connection_id":136403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":136403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:50:37] local.INFO: TCP Data received {"connection_id":136403,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:50:37] local.INFO: Processing buffer {"connection_id":136403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:50:37] local.INFO: IMEI packet received {"connection_id":136403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":136403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:50:38] local.INFO: TCP Data received {"connection_id":136403,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:50:38] local.INFO: Processing buffer {"connection_id":136403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:50:38] local.INFO: Packet analysis {"connection_id":136403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f782a"} 
[2026-07-19 07:50:38] local.INFO: Extracted packet for processing {"connection_id":136403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f782a"} 
[2026-07-19 07:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813358080001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 07:50: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-07-19 07:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784427481000,"timestamp_ms":1784427481000,"timestamp_seconds":1784427481,"priority":1,"record_length":96,"hex_timestamp":"0000019f782a87a8"} 
[2026-07-19 07:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 07:50:38] 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-07-19 07:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:50:38] 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-07-19 07:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813358080001,"66":25875,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 07:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813358080001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:50:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:50:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 07:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813358080001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 07:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":136403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:50:38] local.INFO: GPS data processed {"connection_id":136403,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:50:38] local.INFO: Acknowledgment sent {"connection_id":136403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:51:09] local.INFO: TCP Data received {"connection_id":136403,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:51:09] local.INFO: Processing buffer {"connection_id":136403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:51:09] local.INFO: Packet analysis {"connection_id":136403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f782a"} 
[2026-07-19 07:51:09] local.INFO: Extracted packet for processing {"connection_id":136403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f782a"} 
[2026-07-19 07:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813358080001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 07:51: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-07-19 07:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784427481000,"timestamp_ms":1784427481000,"timestamp_seconds":1784427481,"priority":1,"record_length":96,"hex_timestamp":"0000019f782a87a8"} 
[2026-07-19 07:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 07:51:09] 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-07-19 07: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-07-19 07:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813358080001,"66":25875,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 07:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813358080001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:51:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 07:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813358080001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 07:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":136403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:51:09] local.INFO: GPS data processed {"connection_id":136403,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:51:09] local.INFO: Acknowledgment sent {"connection_id":136403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:51:32] local.INFO: TCP Data received {"connection_id":138740,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:51:32] local.INFO: Processing buffer {"connection_id":138740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:51:32] local.INFO: IMEI packet received {"connection_id":138740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":138740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:51:37] local.INFO: TCP Data received {"connection_id":138740,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:51:37] local.INFO: Processing buffer {"connection_id":138740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:51:37] local.INFO: IMEI packet received {"connection_id":138740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":138740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:51:38] local.INFO: TCP Data received {"connection_id":138740,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:51:38] local.INFO: Processing buffer {"connection_id":138740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:51:38] local.INFO: Packet analysis {"connection_id":138740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f782a"} 
[2026-07-19 07:51:38] local.INFO: Extracted packet for processing {"connection_id":138740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f782a"} 
[2026-07-19 07:51:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813358080001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 07:51: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-07-19 07:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784427481000,"timestamp_ms":1784427481000,"timestamp_seconds":1784427481,"priority":1,"record_length":96,"hex_timestamp":"0000019f782a87a8"} 
[2026-07-19 07:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 07:51:38] 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-07-19 07:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:51: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-07-19 07:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813358080001,"66":25875,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 07:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813358080001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:51:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:51:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 07:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813358080001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 07:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":138740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:51:38] local.INFO: GPS data processed {"connection_id":138740,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:51:38] local.INFO: Acknowledgment sent {"connection_id":138740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:52:09] local.INFO: TCP Data received {"connection_id":138740,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:52:09] local.INFO: Processing buffer {"connection_id":138740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:52:09] local.INFO: Packet analysis {"connection_id":138740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f782a"} 
[2026-07-19 07:52:09] local.INFO: Extracted packet for processing {"connection_id":138740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f782a"} 
[2026-07-19 07:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813358080001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 07:52: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-07-19 07:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784427481000,"timestamp_ms":1784427481000,"timestamp_seconds":1784427481,"priority":1,"record_length":96,"hex_timestamp":"0000019f782a87a8"} 
[2026-07-19 07:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 07:52:09] 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-07-19 07:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:52: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-07-19 07:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813358080001,"66":25875,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 07:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813358080001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:52:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 07:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813358080001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 07:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":138740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:52:09] local.INFO: GPS data processed {"connection_id":138740,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:52:09] local.INFO: Acknowledgment sent {"connection_id":138740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:52:27] local.INFO: TCP Data received {"connection_id":137333,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:52:27] local.INFO: Processing buffer {"connection_id":137333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:52:27] local.INFO: IMEI packet received {"connection_id":137333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 07:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":137333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:52:32] local.INFO: TCP Data received {"connection_id":136404,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:52:32] local.INFO: Processing buffer {"connection_id":136404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:52:32] local.INFO: IMEI packet received {"connection_id":136404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":136404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:52:37] local.INFO: TCP Data received {"connection_id":136404,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:52:37] local.INFO: Processing buffer {"connection_id":136404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:52:37] local.INFO: IMEI packet received {"connection_id":136404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":136404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:52:38] local.INFO: TCP Data received {"connection_id":136404,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:52:38] local.INFO: Processing buffer {"connection_id":136404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:52:38] local.INFO: Packet analysis {"connection_id":136404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f782a"} 
[2026-07-19 07:52:38] local.INFO: Extracted packet for processing {"connection_id":136404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f782a"} 
[2026-07-19 07:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813358080001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 07:52: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-07-19 07:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784427481000,"timestamp_ms":1784427481000,"timestamp_seconds":1784427481,"priority":1,"record_length":96,"hex_timestamp":"0000019f782a87a8"} 
[2026-07-19 07:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 07:52:38] 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-07-19 07:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:52: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-07-19 07:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813358080001,"66":25875,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 07:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813358080001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:52:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:52:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 07:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813358080001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 07:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":136404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:52:38] local.INFO: GPS data processed {"connection_id":136404,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:52:38] local.INFO: Acknowledgment sent {"connection_id":136404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:53:09] local.INFO: TCP Data received {"connection_id":136404,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:53:09] local.INFO: Processing buffer {"connection_id":136404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:53:09] local.INFO: Packet analysis {"connection_id":136404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f782a"} 
[2026-07-19 07:53:09] local.INFO: Extracted packet for processing {"connection_id":136404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f782a"} 
[2026-07-19 07:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813358080001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 07:53: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-07-19 07:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784427481000,"timestamp_ms":1784427481000,"timestamp_seconds":1784427481,"priority":1,"record_length":96,"hex_timestamp":"0000019f782a87a8"} 
[2026-07-19 07:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 07:53:09] 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-07-19 07:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:53: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-07-19 07:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813358080001,"66":25875,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 07:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813358080001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:53:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:53:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 07:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813358080001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 07:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":136404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:53:09] local.INFO: GPS data processed {"connection_id":136404,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:53:09] local.INFO: Acknowledgment sent {"connection_id":136404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:53:32] local.INFO: TCP Data received {"connection_id":136275,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:53:32] local.INFO: Processing buffer {"connection_id":136275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:53:32] local.INFO: IMEI packet received {"connection_id":136275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":136275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:53:37] local.INFO: TCP Data received {"connection_id":136275,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:53:37] local.INFO: Processing buffer {"connection_id":136275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:53:37] local.INFO: IMEI packet received {"connection_id":136275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":136275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:53:38] local.INFO: TCP Data received {"connection_id":136275,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:53:38] local.INFO: Processing buffer {"connection_id":136275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f782a87a8012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:53:38] local.INFO: Packet analysis {"connection_id":136275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f782a"} 
[2026-07-19 07:53:38] local.INFO: Extracted packet for processing {"connection_id":136275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f782a"} 
[2026-07-19 07:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813358080001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 07:53: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-07-19 07:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784427481000,"timestamp_ms":1784427481000,"timestamp_seconds":1784427481,"priority":1,"record_length":96,"hex_timestamp":"0000019f782a87a8"} 
[2026-07-19 07:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 07:53:38] 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-07-19 07: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-07-19 07:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813358080001,"66":25875,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 07:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813358080001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 07:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813358080001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 07:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":136275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:53:38] local.INFO: GPS data processed {"connection_id":136275,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:53:38] local.INFO: Acknowledgment sent {"connection_id":136275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:54:09] local.INFO: TCP Data received {"connection_id":136275,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:54:09] local.INFO: Processing buffer {"connection_id":136275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:54:09] local.INFO: Packet analysis {"connection_id":136275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f782f"} 
[2026-07-19 07:54:09] local.INFO: Extracted packet for processing {"connection_id":136275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f782f"} 
[2026-07-19 07:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":42,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813435136001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 07: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-07-19 07:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784427782000,"timestamp_ms":1784427782000,"timestamp_seconds":1784427782,"priority":1,"record_length":96,"hex_timestamp":"0000019f782f1f70"} 
[2026-07-19 07:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-19 07:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:54:09] 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-07-19 07:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813435136001,"66":25756,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 07:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813435136001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 07:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813435136001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 07:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":136275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:54:09] local.INFO: GPS data processed {"connection_id":136275,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:54:09] local.INFO: Acknowledgment sent {"connection_id":136275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:54:37] local.INFO: TCP Data received {"connection_id":138741,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:54:37] local.INFO: Processing buffer {"connection_id":138741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:54:37] local.INFO: IMEI packet received {"connection_id":138741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":138741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:54:42] local.INFO: TCP Data received {"connection_id":138741,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:54:42] local.INFO: Processing buffer {"connection_id":138741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:54:42] local.INFO: IMEI packet received {"connection_id":138741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":138741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:54:43] local.INFO: TCP Data received {"connection_id":138741,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:54:43] local.INFO: Processing buffer {"connection_id":138741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:54:43] local.INFO: Packet analysis {"connection_id":138741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f782f"} 
[2026-07-19 07:54:43] local.INFO: Extracted packet for processing {"connection_id":138741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f782f"} 
[2026-07-19 07:54:43] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":42,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813435136001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 07:54: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-07-19 07:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784427782000,"timestamp_ms":1784427782000,"timestamp_seconds":1784427782,"priority":1,"record_length":96,"hex_timestamp":"0000019f782f1f70"} 
[2026-07-19 07:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-19 07:54:43] 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-07-19 07: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-07-19 07:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":138741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":138741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":138741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813435136001,"66":25756,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 07:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813435136001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:54:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:54:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 07:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813435136001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 07:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":138741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:54:43] local.INFO: GPS data processed {"connection_id":138741,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:54:43] local.INFO: Acknowledgment sent {"connection_id":138741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:54:47] local.INFO: TCP Data received {"connection_id":138741,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:54:47] local.INFO: Processing buffer {"connection_id":138741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:54:47] local.INFO: Packet analysis {"connection_id":138741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f782f"} 
[2026-07-19 07:54:47] local.INFO: Extracted packet for processing {"connection_id":138741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f782f"} 
[2026-07-19 07:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":42,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813435136001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 07:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 07:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784427782000,"timestamp_ms":1784427782000,"timestamp_seconds":1784427782,"priority":1,"record_length":96,"hex_timestamp":"0000019f782f1f70"} 
[2026-07-19 07:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-19 07:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":138741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":138741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":138741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813435136001,"66":25756,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 07:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813435136001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:54:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 07:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813435136001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 07:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":138741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:54:47] local.INFO: GPS data processed {"connection_id":138741,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:54:47] local.INFO: Acknowledgment sent {"connection_id":138741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:55:32] local.INFO: TCP Data received {"connection_id":137335,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:55:32] local.INFO: Processing buffer {"connection_id":137335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:55:32] local.INFO: IMEI packet received {"connection_id":137335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":137335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:55:37] local.INFO: TCP Data received {"connection_id":137335,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:55:37] local.INFO: Processing buffer {"connection_id":137335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:55:37] local.INFO: IMEI packet received {"connection_id":137335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":137335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:55:38] local.INFO: TCP Data received {"connection_id":137335,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:55:38] local.INFO: Processing buffer {"connection_id":137335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:55:38] local.INFO: Packet analysis {"connection_id":137335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f782f"} 
[2026-07-19 07:55:38] local.INFO: Extracted packet for processing {"connection_id":137335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f782f"} 
[2026-07-19 07:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":42,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813435136001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 07:55: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-07-19 07:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784427782000,"timestamp_ms":1784427782000,"timestamp_seconds":1784427782,"priority":1,"record_length":96,"hex_timestamp":"0000019f782f1f70"} 
[2026-07-19 07:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-19 07:55:38] 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-07-19 07:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813435136001,"66":25756,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 07:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813435136001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:55:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 07:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813435136001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 07:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":137335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:55:38] local.INFO: GPS data processed {"connection_id":137335,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:55:38] local.INFO: Acknowledgment sent {"connection_id":137335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:55:39] local.INFO: TCP Data received {"connection_id":137336,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 07:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 07:55:39] local.INFO: Processing buffer {"connection_id":137336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 07:55:39] local.INFO: IMEI packet received {"connection_id":137336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 07:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":137336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:55:40] local.INFO: TCP Data received {"connection_id":137336,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 07:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 07:55:40] local.INFO: Processing buffer {"connection_id":137336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 07:55:40] local.INFO: IMEI packet received {"connection_id":137336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 07:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":137336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:55:44] local.INFO: TCP Data received {"connection_id":137336,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 07:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 07:55:44] local.INFO: Processing buffer {"connection_id":137336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 07:55:44] local.INFO: IMEI packet received {"connection_id":137336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 07:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":137336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:55:45] local.INFO: TCP Data received {"connection_id":137336,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-19 07:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137336,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-19 07:55:45] local.INFO: Processing buffer {"connection_id":137336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-19 07:55:45] local.INFO: Packet analysis {"connection_id":137336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-19 07:55:45] local.INFO: Extracted packet for processing {"connection_id":137336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-19 07:55: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-07-19 07:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108066080156549120,"note":"Value kept but may cause issues"} 
[2026-07-19 07:55:45] 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-07-19 07:55: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-07-19 07:55:45] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-19 07:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":137336,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":137336,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-19 07:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":137336,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-19 07:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-19 07:55:45] local.WARNING: DEBUG: No valid data to process  
[2026-07-19 07:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":137336,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-19 07:55:45] local.ERROR: GPS data processing failed {"connection_id":137336,"error":"No valid data to process"} 
[2026-07-19 07:55:45] local.INFO: Acknowledgment sent {"connection_id":137336,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-19 07:56:09] local.INFO: TCP Data received {"connection_id":137335,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:56:09] local.INFO: Processing buffer {"connection_id":137335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:56:09] local.INFO: Packet analysis {"connection_id":137335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f782f"} 
[2026-07-19 07:56:09] local.INFO: Extracted packet for processing {"connection_id":137335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f782f"} 
[2026-07-19 07:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":42,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813435136001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 07:56: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-07-19 07:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784427782000,"timestamp_ms":1784427782000,"timestamp_seconds":1784427782,"priority":1,"record_length":96,"hex_timestamp":"0000019f782f1f70"} 
[2026-07-19 07:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-19 07:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:56:09] 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-07-19 07:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813435136001,"66":25756,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 07:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813435136001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 07:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813435136001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 07:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":137335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:56:09] local.INFO: GPS data processed {"connection_id":137335,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:56:09] local.INFO: Acknowledgment sent {"connection_id":137335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:56:16] local.INFO: TCP Data received {"connection_id":137336,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-19 07:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137336,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-19 07:56:16] local.INFO: Processing buffer {"connection_id":137336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-19 07:56:16] local.INFO: Packet analysis {"connection_id":137336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-19 07:56:16] local.INFO: Extracted packet for processing {"connection_id":137336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-19 07:56:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108066080156549120,"note":"Value kept but may cause issues"} 
[2026-07-19 07:56:16] 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-07-19 07:56:16] 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-07-19 07:56:16] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-19 07:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":137336,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":137336,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-19 07:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":137336,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-19 07:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-19 07:56:16] local.WARNING: DEBUG: No valid data to process  
[2026-07-19 07:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":137336,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-19 07:56:16] local.ERROR: GPS data processing failed {"connection_id":137336,"error":"No valid data to process"} 
[2026-07-19 07:56:16] local.INFO: Acknowledgment sent {"connection_id":137336,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-19 07:56:32] local.INFO: TCP Data received {"connection_id":137337,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:56:32] local.INFO: Processing buffer {"connection_id":137337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:56:32] local.INFO: IMEI packet received {"connection_id":137337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":137337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:56:37] local.INFO: TCP Data received {"connection_id":137337,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:56:37] local.INFO: Processing buffer {"connection_id":137337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:56:37] local.INFO: IMEI packet received {"connection_id":137337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":137337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:56:38] local.INFO: TCP Data received {"connection_id":137337,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:56:38] local.INFO: Processing buffer {"connection_id":137337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:56:38] local.INFO: Packet analysis {"connection_id":137337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f782f"} 
[2026-07-19 07:56:38] local.INFO: Extracted packet for processing {"connection_id":137337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f782f"} 
[2026-07-19 07:56:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":42,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813435136001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 07: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-07-19 07:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784427782000,"timestamp_ms":1784427782000,"timestamp_seconds":1784427782,"priority":1,"record_length":96,"hex_timestamp":"0000019f782f1f70"} 
[2026-07-19 07:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-19 07:56:38] 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-07-19 07:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813435136001,"66":25756,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 07:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813435136001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:56:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:56:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 07:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813435136001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 07:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":137337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:56:38] local.INFO: GPS data processed {"connection_id":137337,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:56:38] local.INFO: Acknowledgment sent {"connection_id":137337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:56:47] local.INFO: TCP Data received {"connection_id":137336,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783224e00100000000000000000000000000..."} 
[2026-07-19 07:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783224e00100000000000000000000000000..."} 
[2026-07-19 07:56:47] local.INFO: Processing buffer {"connection_id":137336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783224e00100000000000000000000000000..."} 
[2026-07-19 07:56:47] local.INFO: Packet analysis {"connection_id":137336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7832"} 
[2026-07-19 07:56:47] local.INFO: Extracted packet for processing {"connection_id":137336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7832"} 
[2026-07-19 07:56: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-07-19 07:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108066080156549120,"note":"Value kept but may cause issues"} 
[2026-07-19 07:56:47] 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-07-19 07:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784427980000,"timestamp_ms":1784427980000,"timestamp_seconds":1784427980,"priority":1,"record_length":96,"hex_timestamp":"0000019f783224e0"} 
[2026-07-19 07:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:56: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-07-19 07:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-19 07:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":137336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":137336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 07:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":137336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 07:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 07:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 07:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":137336,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-19 07:56:47] local.INFO: GPS data processed {"connection_id":137336,"processed":0,"errors":0,"total":1} 
[2026-07-19 07:56:47] local.INFO: Acknowledgment sent {"connection_id":137336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:57:09] local.INFO: TCP Data received {"connection_id":137337,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:57:09] local.INFO: Processing buffer {"connection_id":137337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:57:09] local.INFO: Packet analysis {"connection_id":137337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f782f"} 
[2026-07-19 07:57:09] local.INFO: Extracted packet for processing {"connection_id":137337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f782f"} 
[2026-07-19 07:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":42,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813435136001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 07:57: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-07-19 07:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784427782000,"timestamp_ms":1784427782000,"timestamp_seconds":1784427782,"priority":1,"record_length":96,"hex_timestamp":"0000019f782f1f70"} 
[2026-07-19 07:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-19 07:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813435136001,"66":25756,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 07:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813435136001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:57:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 07:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813435136001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 07:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":137337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:57:09] local.INFO: GPS data processed {"connection_id":137337,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:57:09] local.INFO: Acknowledgment sent {"connection_id":137337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:57:18] local.INFO: TCP Data received {"connection_id":137336,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783276e80100000000000000000000000000..."} 
[2026-07-19 07:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783276e80100000000000000000000000000..."} 
[2026-07-19 07:57:18] local.INFO: Processing buffer {"connection_id":137336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783276e80100000000000000000000000000..."} 
[2026-07-19 07:57:18] local.INFO: Packet analysis {"connection_id":137336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7832"} 
[2026-07-19 07:57:18] local.INFO: Extracted packet for processing {"connection_id":137336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7832"} 
[2026-07-19 07:57: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-07-19 07:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108066080156549120,"note":"Value kept but may cause issues"} 
[2026-07-19 07:57:18] 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-07-19 07:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784428001000,"timestamp_ms":1784428001000,"timestamp_seconds":1784428001,"priority":1,"record_length":96,"hex_timestamp":"0000019f783276e8"} 
[2026-07-19 07:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1536,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 07:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-19 07:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":137336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":137336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 07:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":137336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 07:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 07:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 07:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":137336,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-19 07:57:18] local.INFO: GPS data processed {"connection_id":137336,"processed":0,"errors":0,"total":1} 
[2026-07-19 07:57:18] local.INFO: Acknowledgment sent {"connection_id":137336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:57:32] local.INFO: TCP Data received {"connection_id":136276,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:57:32] local.INFO: Processing buffer {"connection_id":136276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:57:32] local.INFO: IMEI packet received {"connection_id":136276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":136276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:57:37] local.INFO: TCP Data received {"connection_id":136276,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:57:37] local.INFO: Processing buffer {"connection_id":136276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:57:37] local.INFO: IMEI packet received {"connection_id":136276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":136276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:57:38] local.INFO: TCP Data received {"connection_id":136276,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:57:38] local.INFO: Processing buffer {"connection_id":136276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:57:38] local.INFO: Packet analysis {"connection_id":136276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f782f"} 
[2026-07-19 07:57:38] local.INFO: Extracted packet for processing {"connection_id":136276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f782f"} 
[2026-07-19 07:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":42,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813435136001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 07:57: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-07-19 07:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784427782000,"timestamp_ms":1784427782000,"timestamp_seconds":1784427782,"priority":1,"record_length":96,"hex_timestamp":"0000019f782f1f70"} 
[2026-07-19 07:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-19 07:57:38] 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-07-19 07: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-07-19 07:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:57:38] 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-07-19 07:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813435136001,"66":25756,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 07:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813435136001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:57:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 07:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813435136001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 07:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":136276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:57:38] local.INFO: GPS data processed {"connection_id":136276,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:57:38] local.INFO: Acknowledgment sent {"connection_id":136276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:57:52] local.INFO: TCP Data received {"connection_id":137336,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7832c8f00100000000000000000000000000..."} 
[2026-07-19 07:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7832c8f00100000000000000000000000000..."} 
[2026-07-19 07:57:52] local.INFO: Processing buffer {"connection_id":137336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7832c8f00100000000000000000000000000..."} 
[2026-07-19 07:57:52] local.INFO: Packet analysis {"connection_id":137336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7832"} 
[2026-07-19 07:57:52] local.INFO: Extracted packet for processing {"connection_id":137336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7832"} 
[2026-07-19 07:57:52] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-19 07:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108066080156549120,"note":"Value kept but may cause issues"} 
[2026-07-19 07:57:52] 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-07-19 07:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784428022000,"timestamp_ms":1784428022000,"timestamp_seconds":1784428022,"priority":1,"record_length":96,"hex_timestamp":"0000019f7832c8f0"} 
[2026-07-19 07:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:57:52] 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-07-19 07:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-19 07:57:52] 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-07-19 07:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":137336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":137336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 07:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":137336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 07:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 07:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 07:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":137336,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-19 07:57:52] local.INFO: GPS data processed {"connection_id":137336,"processed":0,"errors":0,"total":1} 
[2026-07-19 07:57:52] local.INFO: Acknowledgment sent {"connection_id":137336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:57:55] local.INFO: TCP Data received {"connection_id":138742,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:57:55] local.INFO: Processing buffer {"connection_id":138742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:57:55] local.INFO: IMEI packet received {"connection_id":138742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 07:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":138742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:58:09] local.INFO: TCP Data received {"connection_id":136276,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:58:09] local.INFO: Processing buffer {"connection_id":136276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:58:09] local.INFO: Packet analysis {"connection_id":136276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f782f"} 
[2026-07-19 07:58:09] local.INFO: Extracted packet for processing {"connection_id":136276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f782f"} 
[2026-07-19 07:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":42,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813435136001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 07: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-07-19 07:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784427782000,"timestamp_ms":1784427782000,"timestamp_seconds":1784427782,"priority":1,"record_length":96,"hex_timestamp":"0000019f782f1f70"} 
[2026-07-19 07:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-19 07:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07: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-07-19 07:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813435136001,"66":25756,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 07:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813435136001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:58:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:58:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 07:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813435136001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 07:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":136276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:58:09] local.INFO: GPS data processed {"connection_id":136276,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:58:09] local.INFO: Acknowledgment sent {"connection_id":136276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:58:23] local.INFO: TCP Data received {"connection_id":137336,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7832ec18012d7ba30005bd24380005010b09..."} 
[2026-07-19 07:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7832ec18012d7ba30005bd24380005010b09..."} 
[2026-07-19 07:58:23] local.INFO: Processing buffer {"connection_id":137336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7832ec18012d7ba30005bd24380005010b09..."} 
[2026-07-19 07:58:23] local.INFO: Packet analysis {"connection_id":137336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7832"} 
[2026-07-19 07:58:23] local.INFO: Extracted packet for processing {"connection_id":137336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7832"} 
[2026-07-19 07:58:23] local.INFO: GPS Element Parsed {"raw_longitude":763077376,"raw_latitude":96281656,"longitude_deg":76.3077376,"latitude_deg":9.6281656,"altitude":5,"angle":267,"satellites":9,"speed":27,"hex_longitude":"2d7ba300","hex_latitude":"05bd2438","is_valid_coordinates":true} 
[2026-07-19 07:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108066080156549120,"note":"Value kept but may cause issues"} 
[2026-07-19 07:58:23] 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-07-19 07:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784428031000,"timestamp_ms":1784428031000,"timestamp_seconds":1784428031,"priority":1,"record_length":96,"hex_timestamp":"0000019f7832ec18"} 
[2026-07-19 07:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:58:23] 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-07-19 07:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-19 07:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:58:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":137336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":137336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 07:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":137336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 07:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 07:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 07:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13852,"197":206,"85":12544,"24":27,"16":108066080156549120},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16]} 
[2026-07-19 07:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 07:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 07:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-19 07:58:23] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 07:58:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 07:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108066080156549120,"km_value":108066080156549.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:58:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13852,"unknown_197":206,"unknown_85":12544,"ignition":27,"odometer":null}} 
[2026-07-19 07:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":137336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:58:23] local.INFO: GPS data processed {"connection_id":137336,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:58:23] local.INFO: Acknowledgment sent {"connection_id":137336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:58:27] local.INFO: TCP Data received {"connection_id":138743,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:58:27] local.INFO: Processing buffer {"connection_id":138743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 07:58:27] local.INFO: IMEI packet received {"connection_id":138743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 07:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":138743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:58:32] local.INFO: TCP Data received {"connection_id":138744,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:58:32] local.INFO: Processing buffer {"connection_id":138744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:58:32] local.INFO: IMEI packet received {"connection_id":138744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":138744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:58:37] local.INFO: TCP Data received {"connection_id":138744,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:58:37] local.INFO: Processing buffer {"connection_id":138744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:58:37] local.INFO: IMEI packet received {"connection_id":138744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":138744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:58:38] local.INFO: TCP Data received {"connection_id":138744,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:58:38] local.INFO: Processing buffer {"connection_id":138744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f782f1f70012d34c2c006aa4140000701002a..."} 
[2026-07-19 07:58:38] local.INFO: Packet analysis {"connection_id":138744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f782f"} 
[2026-07-19 07:58:38] local.INFO: Extracted packet for processing {"connection_id":138744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f782f"} 
[2026-07-19 07:58:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":42,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813435136001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 07:58: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-07-19 07:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784427782000,"timestamp_ms":1784427782000,"timestamp_seconds":1784427782,"priority":1,"record_length":96,"hex_timestamp":"0000019f782f1f70"} 
[2026-07-19 07:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-19 07:58:38] 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-07-19 07: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-07-19 07:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:58: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-07-19 07:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813435136001,"66":25756,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 07:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813435136001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 07:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813435136001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 07:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":138744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:58:38] local.INFO: GPS data processed {"connection_id":138744,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:58:38] local.INFO: Acknowledgment sent {"connection_id":138744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:58:54] local.INFO: TCP Data received {"connection_id":137336,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78331328012d7b7e8005bd22c00006010109..."} 
[2026-07-19 07:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78331328012d7b7e8005bd22c00006010109..."} 
[2026-07-19 07:58:54] local.INFO: Processing buffer {"connection_id":137336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78331328012d7b7e8005bd22c00006010109..."} 
[2026-07-19 07:58:54] local.INFO: Packet analysis {"connection_id":137336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7833"} 
[2026-07-19 07:58:54] local.INFO: Extracted packet for processing {"connection_id":137336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7833"} 
[2026-07-19 07:58:54] local.INFO: GPS Element Parsed {"raw_longitude":763068032,"raw_latitude":96281280,"longitude_deg":76.3068032,"latitude_deg":9.628128,"altitude":6,"angle":257,"satellites":9,"speed":39,"hex_longitude":"2d7b7e80","hex_latitude":"05bd22c0","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813575936001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108066526833147904,"note":"Value kept but may cause issues"} 
[2026-07-19 07:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908964512517076992,"note":"Value kept but may cause issues"} 
[2026-07-19 07:58:54] 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-07-19 07:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784428041000,"timestamp_ms":1784428041000,"timestamp_seconds":1784428041,"priority":1,"record_length":96,"hex_timestamp":"0000019f78331328"} 
[2026-07-19 07:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:58:54] 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-07-19 07: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-07-19 07:58:54] 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-07-19 07: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-07-19 07:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":137336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":137336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 07:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":137336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 07:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 07:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 07:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813575936001,"66":13820,"197":206,"85":12544,"24":39,"16":108066526833147904,"45":8908964512517076992},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 07:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 07:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 07:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813575936001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:58:54] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 07:58:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 07:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108066526833147904,"km_value":108066526833147.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908964512517076992,"description":"Unknown IO ID 45"} 
[2026-07-19 07:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813575936001,"power":13820,"unknown_197":206,"unknown_85":12544,"ignition":39,"odometer":null,"unknown_45":8908964512517076992}} 
[2026-07-19 07:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":137336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:58:54] local.INFO: GPS data processed {"connection_id":137336,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:58:54] local.INFO: Acknowledgment sent {"connection_id":137336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:59:09] local.INFO: TCP Data received {"connection_id":138744,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:59:09] local.INFO: Processing buffer {"connection_id":138744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:59:09] local.INFO: Packet analysis {"connection_id":138744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7833"} 
[2026-07-19 07:59:09] local.INFO: Extracted packet for processing {"connection_id":138744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7833"} 
[2026-07-19 07:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813512192001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 07:59: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-07-19 07:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784428083000,"timestamp_ms":1784428083000,"timestamp_seconds":1784428083,"priority":1,"record_length":96,"hex_timestamp":"0000019f7833b738"} 
[2026-07-19 07:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 07:59: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-07-19 07: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-07-19 07:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:59: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-07-19 07:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813512192001,"66":25702,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 07:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813512192001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:59:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 07:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813512192001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 07:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":138744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:59:09] local.INFO: GPS data processed {"connection_id":138744,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:59:09] local.INFO: Acknowledgment sent {"connection_id":138744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:59:26] local.INFO: TCP Data received {"connection_id":137336,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7834c8a8012d7a614005bd5e50000000030c..."} 
[2026-07-19 07:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7834c8a8012d7a614005bd5e50000000030c..."} 
[2026-07-19 07:59:26] local.INFO: Processing buffer {"connection_id":137336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7834c8a8012d7a614005bd5e50000000030c..."} 
[2026-07-19 07:59:26] local.INFO: Packet analysis {"connection_id":137336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7834"} 
[2026-07-19 07:59:26] local.INFO: Extracted packet for processing {"connection_id":137336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7834"} 
[2026-07-19 07:59:26] local.INFO: GPS Element Parsed {"raw_longitude":762995008,"raw_latitude":96296528,"longitude_deg":76.2995008,"latitude_deg":9.6296528,"altitude":0,"angle":3,"satellites":12,"speed":39,"hex_longitude":"2d7a6140","hex_latitude":"05bd5e50","is_valid_coordinates":true} 
[2026-07-19 07:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813604608001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108070911994757120,"note":"Value kept but may cause issues"} 
[2026-07-19 07:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819033257459376128,"note":"Value kept but may cause issues"} 
[2026-07-19 07:59:26] 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-07-19 07:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784428153000,"timestamp_ms":1784428153000,"timestamp_seconds":1784428153,"priority":1,"record_length":96,"hex_timestamp":"0000019f7834c8a8"} 
[2026-07-19 07:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:59:26] 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-07-19 07:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-19 07:59:26] 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-07-19 07:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":137336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":137336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 07:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":137336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 07:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 07:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 07:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813604608001,"66":13906,"7":206,"85":12544,"24":39,"16":108070911994757120,"45":8819033257459376128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-19 07:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 07:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 07:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813604608001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:59:26] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-19 07:59:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 07:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108070911994757120,"km_value":108070911994757.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819033257459376128,"description":"Unknown IO ID 45"} 
[2026-07-19 07:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813604608001,"power":13906,"unknown_7":206,"unknown_85":12544,"ignition":39,"odometer":null,"unknown_45":8819033257459376128}} 
[2026-07-19 07:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":137336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:59:26] local.INFO: GPS data processed {"connection_id":137336,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:59:26] local.INFO: Acknowledgment sent {"connection_id":137336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:59:32] local.INFO: TCP Data received {"connection_id":137338,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:59:32] local.INFO: Processing buffer {"connection_id":137338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:59:32] local.INFO: IMEI packet received {"connection_id":137338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 07:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":137338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 07:59:37] local.INFO: TCP Data received {"connection_id":137338,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:59:37] local.INFO: Processing buffer {"connection_id":137338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 07:59:37] local.INFO: IMEI packet received {"connection_id":137338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 07:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":137338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 07:59:38] local.INFO: TCP Data received {"connection_id":137338,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:59:38] local.INFO: Processing buffer {"connection_id":137338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 07:59:38] local.INFO: Packet analysis {"connection_id":137338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7833"} 
[2026-07-19 07:59:38] local.INFO: Extracted packet for processing {"connection_id":137338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7833"} 
[2026-07-19 07:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813512192001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 07:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 07: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-07-19 07:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784428083000,"timestamp_ms":1784428083000,"timestamp_seconds":1784428083,"priority":1,"record_length":96,"hex_timestamp":"0000019f7833b738"} 
[2026-07-19 07:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 07: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-07-19 07: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-07-19 07: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-07-19 07:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 07:59: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-07-19 07:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 07:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 07:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813512192001,"66":25702,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 07:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 07:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 07:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813512192001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:59:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 07:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 07:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 07:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813512192001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 07:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":137338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:59:39] local.INFO: GPS data processed {"connection_id":137338,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:59:39] local.INFO: Acknowledgment sent {"connection_id":137338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 07:59:57] local.INFO: TCP Data received {"connection_id":137336,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7834c8a8012d7a614005bd5e50000000030c..."} 
[2026-07-19 07:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7834c8a8012d7a614005bd5e50000000030c..."} 
[2026-07-19 07:59:57] local.INFO: Processing buffer {"connection_id":137336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7834c8a8012d7a614005bd5e50000000030c..."} 
[2026-07-19 07:59:57] local.INFO: Packet analysis {"connection_id":137336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7834"} 
[2026-07-19 07:59:57] local.INFO: Extracted packet for processing {"connection_id":137336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7834"} 
[2026-07-19 07:59:57] local.INFO: GPS Element Parsed {"raw_longitude":762995008,"raw_latitude":96296528,"longitude_deg":76.2995008,"latitude_deg":9.6296528,"altitude":0,"angle":3,"satellites":12,"speed":39,"hex_longitude":"2d7a6140","hex_latitude":"05bd5e50","is_valid_coordinates":true} 
[2026-07-19 07:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 07:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813607168001,"note":"Value kept but may cause issues"} 
[2026-07-19 07:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108070911994757120,"note":"Value kept but may cause issues"} 
[2026-07-19 07:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818399938764230656,"note":"Value kept but may cause issues"} 
[2026-07-19 07:59:57] 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-07-19 07:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784428153000,"timestamp_ms":1784428153000,"timestamp_seconds":1784428153,"priority":1,"record_length":96,"hex_timestamp":"0000019f7834c8a8"} 
[2026-07-19 07:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 07:59:57] 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-07-19 07:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-19 07:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 07:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 07:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 07:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 07:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 07:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 07:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 07:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 07:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 07:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 07:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813607168001,"66":13906,"7":206,"85":12544,"24":39,"16":108070911994757120,"45":8818399938764230656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-19 07:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 07:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 07:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813607168001,"description":"Unknown IO ID 0"} 
[2026-07-19 07:59:57] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-19 07:59:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 07:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108070911994757120,"km_value":108070911994757.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 07:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818399938764230656,"description":"Unknown IO ID 45"} 
[2026-07-19 07:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813607168001,"power":13906,"unknown_7":206,"unknown_85":12544,"ignition":39,"odometer":null,"unknown_45":8818399938764230656}} 
[2026-07-19 07:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":137336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 07:59:57] local.INFO: GPS data processed {"connection_id":137336,"processed":1,"errors":0,"total":1} 
[2026-07-19 07:59:57] local.INFO: Acknowledgment sent {"connection_id":137336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:00:10] local.INFO: TCP Data received {"connection_id":137338,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:00:10] local.INFO: Processing buffer {"connection_id":137338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:00:10] local.INFO: Packet analysis {"connection_id":137338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7833"} 
[2026-07-19 08:00:10] local.INFO: Extracted packet for processing {"connection_id":137338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7833"} 
[2026-07-19 08:00:10] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813512192001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:00: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-07-19 08:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784428083000,"timestamp_ms":1784428083000,"timestamp_seconds":1784428083,"priority":1,"record_length":96,"hex_timestamp":"0000019f7833b738"} 
[2026-07-19 08:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 08:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813512192001,"66":25702,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813512192001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:00:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:00:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813512192001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":137338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:00:10] local.INFO: GPS data processed {"connection_id":137338,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:00:10] local.INFO: Acknowledgment sent {"connection_id":137338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:00:37] local.INFO: TCP Data received {"connection_id":138745,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:00:37] local.INFO: Processing buffer {"connection_id":138745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:00:37] local.INFO: IMEI packet received {"connection_id":138745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":138745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:00:42] local.INFO: TCP Data received {"connection_id":138745,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:00:42] local.INFO: Processing buffer {"connection_id":138745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:00:42] local.INFO: IMEI packet received {"connection_id":138745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":138745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:00:43] local.INFO: TCP Data received {"connection_id":138745,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:00:43] local.INFO: Processing buffer {"connection_id":138745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:00:43] local.INFO: Packet analysis {"connection_id":138745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7833"} 
[2026-07-19 08:00:43] local.INFO: Extracted packet for processing {"connection_id":138745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7833"} 
[2026-07-19 08:00:43] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813512192001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:00: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-07-19 08:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784428083000,"timestamp_ms":1784428083000,"timestamp_seconds":1784428083,"priority":1,"record_length":96,"hex_timestamp":"0000019f7833b738"} 
[2026-07-19 08:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 08:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":138745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":138745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":138745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813512192001,"66":25702,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813512192001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:00:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:00:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813512192001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":138745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:00:43] local.INFO: GPS data processed {"connection_id":138745,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:00:43] local.INFO: Acknowledgment sent {"connection_id":138745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:00:47] local.INFO: TCP Data received {"connection_id":138745,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:00:47] local.INFO: Processing buffer {"connection_id":138745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:00:47] local.INFO: Packet analysis {"connection_id":138745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7833"} 
[2026-07-19 08:00:47] local.INFO: Extracted packet for processing {"connection_id":138745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7833"} 
[2026-07-19 08:00:47] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813512192001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784428083000,"timestamp_ms":1784428083000,"timestamp_seconds":1784428083,"priority":1,"record_length":96,"hex_timestamp":"0000019f7833b738"} 
[2026-07-19 08:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 08:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":138745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":138745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":138745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813512192001,"66":25702,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813512192001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:00:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:00:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813512192001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":138745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:00:47] local.INFO: GPS data processed {"connection_id":138745,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:00:47] local.INFO: Acknowledgment sent {"connection_id":138745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:00:54] local.INFO: TCP Data received {"connection_id":136278,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136278,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:00:54] local.INFO: Processing buffer {"connection_id":136278,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:00:54] local.INFO: IMEI packet received {"connection_id":136278,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":136278,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:00:59] local.INFO: TCP Data received {"connection_id":136278,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136278,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:00:59] local.INFO: Processing buffer {"connection_id":136278,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:00:59] local.INFO: IMEI packet received {"connection_id":136278,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":136278,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:00:59] local.INFO: TCP Data received {"connection_id":136278,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7835f570012d7a438005bec3880000015f0c..."} 
[2026-07-19 08:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7835f570012d7a438005bec3880000015f0c..."} 
[2026-07-19 08:00:59] local.INFO: Processing buffer {"connection_id":136278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7835f570012d7a438005bec3880000015f0c..."} 
[2026-07-19 08:00:59] local.INFO: Packet analysis {"connection_id":136278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7835"} 
[2026-07-19 08:00:59] local.INFO: Extracted packet for processing {"connection_id":136278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7835"} 
[2026-07-19 08:00:59] local.INFO: GPS Element Parsed {"raw_longitude":762987392,"raw_latitude":96387976,"longitude_deg":76.2987392,"latitude_deg":9.6387976,"altitude":0,"angle":351,"satellites":12,"speed":48,"hex_longitude":"2d7a4380","hex_latitude":"05bec388","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813625600001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108075387350679552,"note":"Value kept but may cause issues"} 
[2026-07-19 08:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8810448270693990400,"note":"Value kept but may cause issues"} 
[2026-07-19 08:00:59] 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-07-19 08:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784428230000,"timestamp_ms":1784428230000,"timestamp_seconds":1784428230,"priority":1,"record_length":96,"hex_timestamp":"0000019f7835f570"} 
[2026-07-19 08:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:00:59] 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-07-19 08: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-19 08:00:59] 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-07-19 08: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-07-19 08:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":136278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":136278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":136278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813625600001,"66":13972,"109":206,"85":12288,"24":48,"16":108075387350679552,"45":8810448270693990400},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-19 08:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813625600001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:00:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-19 08:00:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108075387350679552,"km_value":108075387350679.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8810448270693990400,"description":"Unknown IO ID 45"} 
[2026-07-19 08:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813625600001,"power":13972,"unknown_109":206,"unknown_85":12288,"ignition":48,"odometer":null,"unknown_45":8810448270693990400}} 
[2026-07-19 08:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":136278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:00:59] local.INFO: GPS data processed {"connection_id":136278,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:00:59] local.INFO: Acknowledgment sent {"connection_id":136278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:01:30] local.INFO: TCP Data received {"connection_id":136278,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783610c8012d7a3fc005bee858000000010c..."} 
[2026-07-19 08:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783610c8012d7a3fc005bee858000000010c..."} 
[2026-07-19 08:01:30] local.INFO: Processing buffer {"connection_id":136278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783610c8012d7a3fc005bee858000000010c..."} 
[2026-07-19 08:01:30] local.INFO: Packet analysis {"connection_id":136278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7836"} 
[2026-07-19 08:01:30] local.INFO: Extracted packet for processing {"connection_id":136278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7836"} 
[2026-07-19 08:01:30] local.INFO: GPS Element Parsed {"raw_longitude":762986432,"raw_latitude":96397400,"longitude_deg":76.2986432,"latitude_deg":9.63974,"altitude":0,"angle":1,"satellites":12,"speed":55,"hex_longitude":"2d7a3fc0","hex_latitude":"05bee858","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813626880001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108075846912180224,"note":"Value kept but may cause issues"} 
[2026-07-19 08:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8810026058230499328,"note":"Value kept but may cause issues"} 
[2026-07-19 08:01:30] 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-07-19 08:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784428237000,"timestamp_ms":1784428237000,"timestamp_seconds":1784428237,"priority":1,"record_length":96,"hex_timestamp":"0000019f783610c8"} 
[2026-07-19 08:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:01:30] 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-07-19 08: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-19 08:01:30] 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-07-19 08: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-07-19 08:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":136278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":136278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":136278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813626880001,"66":13798,"109":206,"85":12288,"24":55,"16":108075846912180224,"45":8810026058230499328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-19 08:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813626880001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:01:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-19 08:01:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108075846912180224,"km_value":108075846912180.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8810026058230499328,"description":"Unknown IO ID 45"} 
[2026-07-19 08:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813626880001,"power":13798,"unknown_109":206,"unknown_85":12288,"ignition":55,"odometer":null,"unknown_45":8810026058230499328}} 
[2026-07-19 08:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":136278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:01:30] local.INFO: GPS data processed {"connection_id":136278,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:01:30] local.INFO: Acknowledgment sent {"connection_id":136278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:01:32] local.INFO: TCP Data received {"connection_id":136408,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:01:32] local.INFO: Processing buffer {"connection_id":136408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:01:32] local.INFO: IMEI packet received {"connection_id":136408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":136408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:01:37] local.INFO: TCP Data received {"connection_id":136408,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:01:37] local.INFO: Processing buffer {"connection_id":136408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:01:37] local.INFO: IMEI packet received {"connection_id":136408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":136408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:01:38] local.INFO: TCP Data received {"connection_id":136408,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:01:38] local.INFO: Processing buffer {"connection_id":136408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:01:38] local.INFO: Packet analysis {"connection_id":136408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7833"} 
[2026-07-19 08:01:38] local.INFO: Extracted packet for processing {"connection_id":136408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7833"} 
[2026-07-19 08:01:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813512192001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:01: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-07-19 08:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784428083000,"timestamp_ms":1784428083000,"timestamp_seconds":1784428083,"priority":1,"record_length":96,"hex_timestamp":"0000019f7833b738"} 
[2026-07-19 08:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 08:01: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-07-19 08:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813512192001,"66":25702,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 08:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813512192001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:01:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:01:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813512192001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":136408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:01:38] local.INFO: GPS data processed {"connection_id":136408,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:01:38] local.INFO: Acknowledgment sent {"connection_id":136408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:02:01] local.INFO: TCP Data received {"connection_id":136278,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7836f740012d7a458005bf40d00000005a0e..."} 
[2026-07-19 08:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7836f740012d7a458005bf40d00000005a0e..."} 
[2026-07-19 08:02:01] local.INFO: Processing buffer {"connection_id":136278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7836f740012d7a458005bf40d00000005a0e..."} 
[2026-07-19 08:02:01] local.INFO: Packet analysis {"connection_id":136278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7836"} 
[2026-07-19 08:02:01] local.INFO: Extracted packet for processing {"connection_id":136278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7836"} 
[2026-07-19 08:02:01] local.INFO: GPS Element Parsed {"raw_longitude":762987904,"raw_latitude":96420048,"longitude_deg":76.2987904,"latitude_deg":9.6420048,"altitude":0,"angle":90,"satellites":14,"speed":28,"hex_longitude":"2d7a4580","hex_latitude":"05bf40d0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813643264001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808900158331875328,"note":"Value kept but may cause issues"} 
[2026-07-19 08:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108077092452696064,"note":"Value kept but may cause issues"} 
[2026-07-19 08:02: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-07-19 08:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784428296000,"timestamp_ms":1784428296000,"timestamp_seconds":1784428296,"priority":1,"record_length":96,"hex_timestamp":"0000019f7836f740"} 
[2026-07-19 08:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:02:01] 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-07-19 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-19 08:02:01] 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-07-19 08: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-07-19 08:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813643264001,"66":13656,"45":8808900158331875328,"85":12288,"24":28,"16":108077092452696064},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-19 08:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813643264001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808900158331875328,"description":"Unknown IO ID 45"} 
[2026-07-19 08:02:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108077092452696064,"km_value":108077092452696.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:02:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456813643264001,"power":13656,"unknown_45":8808900158331875328,"unknown_85":12288,"ignition":28,"odometer":null}} 
[2026-07-19 08:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":136278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:02:01] local.INFO: GPS data processed {"connection_id":136278,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:02:01] local.INFO: Acknowledgment sent {"connection_id":136278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:02:10] local.INFO: TCP Data received {"connection_id":136408,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:02:10] local.INFO: Processing buffer {"connection_id":136408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:02:10] local.INFO: Packet analysis {"connection_id":136408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7833"} 
[2026-07-19 08:02:10] local.INFO: Extracted packet for processing {"connection_id":136408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7833"} 
[2026-07-19 08:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813512192001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:02: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-07-19 08:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784428083000,"timestamp_ms":1784428083000,"timestamp_seconds":1784428083,"priority":1,"record_length":96,"hex_timestamp":"0000019f7833b738"} 
[2026-07-19 08:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 08:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813512192001,"66":25702,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 08:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813512192001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:02:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813512192001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":136408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:02:10] local.INFO: GPS data processed {"connection_id":136408,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:02:10] local.INFO: Acknowledgment sent {"connection_id":136408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:02:32] local.INFO: TCP Data received {"connection_id":136281,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:02:32] local.INFO: Processing buffer {"connection_id":136281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:02:32] local.INFO: IMEI packet received {"connection_id":136281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":136281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:02:32] local.INFO: TCP Data received {"connection_id":136278,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78371e50012d7a6c0005bf40b8000000570e..."} 
[2026-07-19 08:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78371e50012d7a6c0005bf40b8000000570e..."} 
[2026-07-19 08:02:32] local.INFO: Processing buffer {"connection_id":136278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78371e50012d7a6c0005bf40b8000000570e..."} 
[2026-07-19 08:02:32] local.INFO: Packet analysis {"connection_id":136278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7837"} 
[2026-07-19 08:02:32] local.INFO: Extracted packet for processing {"connection_id":136278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7837"} 
[2026-07-19 08:02:32] local.INFO: GPS Element Parsed {"raw_longitude":762997760,"raw_latitude":96420024,"longitude_deg":76.299776,"latitude_deg":9.6420024,"altitude":0,"angle":87,"satellites":14,"speed":47,"hex_longitude":"2d7a6c00","hex_latitude":"05bf40b8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 08:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813643776001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8810589008192131072,"note":"Value kept but may cause issues"} 
[2026-07-19 08:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108077564899098624,"note":"Value kept but may cause issues"} 
[2026-07-19 08:02: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-07-19 08:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784428306000,"timestamp_ms":1784428306000,"timestamp_seconds":1784428306,"priority":1,"record_length":96,"hex_timestamp":"0000019f78371e50"} 
[2026-07-19 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-07-19 08:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":88,"data_length":795,"current_offset":136} 
[2026-07-19 08:02: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-07-19 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-07-19 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-07-19 08:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813643776001,"66":13798,"45":8810589008192131072,"85":12288,"24":47,"16":108077564899098624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-19 08:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813643776001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8810589008192131072,"description":"Unknown IO ID 45"} 
[2026-07-19 08:02:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108077564899098624,"km_value":108077564899098.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:02:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456813643776001,"power":13798,"unknown_45":8810589008192131072,"unknown_85":12288,"ignition":47,"odometer":null}} 
[2026-07-19 08:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":136278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:02:32] local.INFO: GPS data processed {"connection_id":136278,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:02:32] local.INFO: Acknowledgment sent {"connection_id":136278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:02:37] local.INFO: TCP Data received {"connection_id":136281,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:02:37] local.INFO: Processing buffer {"connection_id":136281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:02:37] local.INFO: IMEI packet received {"connection_id":136281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":136281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:02:39] local.INFO: TCP Data received {"connection_id":136281,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:02:39] local.INFO: Processing buffer {"connection_id":136281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:02:39] local.INFO: Packet analysis {"connection_id":136281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7833"} 
[2026-07-19 08:02:39] local.INFO: Extracted packet for processing {"connection_id":136281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7833"} 
[2026-07-19 08:02:39] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 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-07-19 08:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813512192001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:02: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-07-19 08:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784428083000,"timestamp_ms":1784428083000,"timestamp_seconds":1784428083,"priority":1,"record_length":96,"hex_timestamp":"0000019f7833b738"} 
[2026-07-19 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-07-19 08:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 08:02: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-07-19 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-07-19 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-07-19 08:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:02:39] 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-07-19 08:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813512192001,"66":25702,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 08:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813512192001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:02:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:02:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813512192001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":136281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:02:39] local.INFO: GPS data processed {"connection_id":136281,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:02:39] local.INFO: Acknowledgment sent {"connection_id":136281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:03:04] local.INFO: TCP Data received {"connection_id":136278,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78374178012d7a930005bf4168000000580e..."} 
[2026-07-19 08:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78374178012d7a930005bf4168000000580e..."} 
[2026-07-19 08:03:04] local.INFO: Processing buffer {"connection_id":136278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78374178012d7a930005bf4168000000580e..."} 
[2026-07-19 08:03:04] local.INFO: Packet analysis {"connection_id":136278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7837"} 
[2026-07-19 08:03:04] local.INFO: Extracted packet for processing {"connection_id":136278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7837"} 
[2026-07-19 08:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763007744,"raw_latitude":96420200,"longitude_deg":76.3007744,"latitude_deg":9.64202,"altitude":0,"angle":88,"satellites":14,"speed":46,"hex_longitude":"2d7a9300","hex_latitude":"05bf4168","is_valid_coordinates":true} 
[2026-07-19 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-07-19 08:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813646336001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821425794795485184,"note":"Value kept but may cause issues"} 
[2026-07-19 08:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108078041640468480,"note":"Value kept but may cause issues"} 
[2026-07-19 08:03:04] 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-07-19 08:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784428315000,"timestamp_ms":1784428315000,"timestamp_seconds":1784428315,"priority":1,"record_length":96,"hex_timestamp":"0000019f78374178"} 
[2026-07-19 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-07-19 08:03:04] 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-07-19 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-19 08:03: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-07-19 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-07-19 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-07-19 08:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":136278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":136278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":136278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813646336001,"66":13852,"45":8821425794795485184,"85":12288,"24":46,"16":108078041640468480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-19 08:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813646336001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821425794795485184,"description":"Unknown IO ID 45"} 
[2026-07-19 08:03:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108078041640468480,"km_value":108078041640468.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:03:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456813646336001,"power":13852,"unknown_45":8821425794795485184,"unknown_85":12288,"ignition":46,"odometer":null}} 
[2026-07-19 08:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":136278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:03:04] local.INFO: GPS data processed {"connection_id":136278,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:03:04] local.INFO: Acknowledgment sent {"connection_id":136278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:03:10] local.INFO: TCP Data received {"connection_id":136281,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:03:10] local.INFO: Processing buffer {"connection_id":136281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:03:10] local.INFO: Packet analysis {"connection_id":136281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7833"} 
[2026-07-19 08:03:10] local.INFO: Extracted packet for processing {"connection_id":136281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7833"} 
[2026-07-19 08:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813512192001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:03: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-07-19 08:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784428083000,"timestamp_ms":1784428083000,"timestamp_seconds":1784428083,"priority":1,"record_length":96,"hex_timestamp":"0000019f7833b738"} 
[2026-07-19 08:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 08:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:03:10] 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-07-19 08:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813512192001,"66":25702,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 08:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813512192001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:03:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:03:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813512192001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":136281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:03:10] local.INFO: GPS data processed {"connection_id":136281,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:03:10] local.INFO: Acknowledgment sent {"connection_id":136281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:03:19] local.INFO: TCP Data received {"connection_id":136409,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:03:19] local.INFO: Processing buffer {"connection_id":136409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:03:19] local.INFO: IMEI packet received {"connection_id":136409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":136409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:03:21] local.INFO: TCP Data received {"connection_id":136409,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:03:21] local.INFO: Processing buffer {"connection_id":136409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:03:21] local.INFO: IMEI packet received {"connection_id":136409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":136409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:03:22] local.INFO: TCP Data received {"connection_id":136409,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783760b8012d7aba8005bf4678000000550e..."} 
[2026-07-19 08:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783760b8012d7aba8005bf4678000000550e..."} 
[2026-07-19 08:03:22] local.INFO: Processing buffer {"connection_id":136409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783760b8012d7aba8005bf4678000000550e..."} 
[2026-07-19 08:03:22] local.INFO: Packet analysis {"connection_id":136409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7837"} 
[2026-07-19 08:03:22] local.INFO: Extracted packet for processing {"connection_id":136409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7837"} 
[2026-07-19 08:03:22] local.INFO: GPS Element Parsed {"raw_longitude":763017856,"raw_latitude":96421496,"longitude_deg":76.3017856,"latitude_deg":9.6421496,"altitude":0,"angle":85,"satellites":14,"speed":50,"hex_longitude":"2d7aba80","hex_latitude":"05bf4678","is_valid_coordinates":true} 
[2026-07-19 08:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813648640001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832403318887245824,"note":"Value kept but may cause issues"} 
[2026-07-19 08:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108078531266740224,"note":"Value kept but may cause issues"} 
[2026-07-19 08:03:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-19 08:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784428323000,"timestamp_ms":1784428323000,"timestamp_seconds":1784428323,"priority":1,"record_length":96,"hex_timestamp":"0000019f783760b8"} 
[2026-07-19 08:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-07-19 08:03:22] 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-07-19 08:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":136409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":136409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":136409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813648640001,"66":13798,"45":8832403318887245824,"85":12288,"24":50,"16":108078531266740224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-19 08:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813648640001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832403318887245824,"description":"Unknown IO ID 45"} 
[2026-07-19 08:03:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108078531266740224,"km_value":108078531266740.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:03:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456813648640001,"power":13798,"unknown_45":8832403318887245824,"unknown_85":12288,"ignition":50,"odometer":null}} 
[2026-07-19 08:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":136409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:03:22] local.INFO: GPS data processed {"connection_id":136409,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:03:22] local.INFO: Acknowledgment sent {"connection_id":136409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:03:32] local.INFO: TCP Data received {"connection_id":138746,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:03:32] local.INFO: Processing buffer {"connection_id":138746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:03:32] local.INFO: IMEI packet received {"connection_id":138746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":138746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:03:37] local.INFO: TCP Data received {"connection_id":138746,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:03:37] local.INFO: Processing buffer {"connection_id":138746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:03:37] local.INFO: IMEI packet received {"connection_id":138746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":138746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:03:38] local.INFO: TCP Data received {"connection_id":138746,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:03:38] local.INFO: Processing buffer {"connection_id":138746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7833b738012d34c2c006aa4140000701002c..."} 
[2026-07-19 08:03:38] local.INFO: Packet analysis {"connection_id":138746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7833"} 
[2026-07-19 08:03:38] local.INFO: Extracted packet for processing {"connection_id":138746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7833"} 
[2026-07-19 08:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 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-07-19 08:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813512192001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:03: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-07-19 08:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784428083000,"timestamp_ms":1784428083000,"timestamp_seconds":1784428083,"priority":1,"record_length":96,"hex_timestamp":"0000019f7833b738"} 
[2026-07-19 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-07-19 08:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 08:03: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-07-19 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-07-19 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-07-19 08:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:03: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-07-19 08:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813512192001,"66":25702,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 08:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813512192001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:03:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:03:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813512192001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":138746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:03:38] local.INFO: GPS data processed {"connection_id":138746,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:03:38] local.INFO: Acknowledgment sent {"connection_id":138746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:03:52] local.INFO: TCP Data received {"connection_id":136282,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:03:52] local.INFO: Processing buffer {"connection_id":136282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:03:52] local.INFO: IMEI packet received {"connection_id":136282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 08:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":136282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:03:53] local.INFO: TCP Data received {"connection_id":136409,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78377ff8012d7ae10005bf46d8000000550e..."} 
[2026-07-19 08:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78377ff8012d7ae10005bf46d8000000550e..."} 
[2026-07-19 08:03:53] local.INFO: Processing buffer {"connection_id":136409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78377ff8012d7ae10005bf46d8000000550e..."} 
[2026-07-19 08:03:53] local.INFO: Packet analysis {"connection_id":136409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7837"} 
[2026-07-19 08:03:53] local.INFO: Extracted packet for processing {"connection_id":136409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7837"} 
[2026-07-19 08:03:53] local.INFO: GPS Element Parsed {"raw_longitude":763027712,"raw_latitude":96421592,"longitude_deg":76.3027712,"latitude_deg":9.6421592,"altitude":0,"angle":85,"satellites":14,"speed":44,"hex_longitude":"2d7ae100","hex_latitude":"05bf46d8","is_valid_coordinates":true} 
[2026-07-19 08:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813650688001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8843521580467648512,"note":"Value kept but may cause issues"} 
[2026-07-19 08:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108078999418175488,"note":"Value kept but may cause issues"} 
[2026-07-19 08:03:53] 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-07-19 08:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784428331000,"timestamp_ms":1784428331000,"timestamp_seconds":1784428331,"priority":1,"record_length":96,"hex_timestamp":"0000019f78377ff8"} 
[2026-07-19 08:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-19 08:03:53] 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-07-19 08:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":136409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":136409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":136409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813650688001,"66":13624,"45":8843521580467648512,"85":12288,"24":44,"16":108078999418175488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-19 08:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813650688001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8843521580467648512,"description":"Unknown IO ID 45"} 
[2026-07-19 08:03:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108078999418175488,"km_value":108078999418175.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:03:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456813650688001,"power":13624,"unknown_45":8843521580467648512,"unknown_85":12288,"ignition":44,"odometer":null}} 
[2026-07-19 08:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":136409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:03:53] local.INFO: GPS data processed {"connection_id":136409,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:03:53] local.INFO: Acknowledgment sent {"connection_id":136409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:04:09] local.INFO: TCP Data received {"connection_id":138746,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:04:09] local.INFO: Processing buffer {"connection_id":138746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:04:09] local.INFO: Packet analysis {"connection_id":138746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7838"} 
[2026-07-19 08:04:09] local.INFO: Extracted packet for processing {"connection_id":138746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7838"} 
[2026-07-19 08:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":43,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813589248001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:04: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-07-19 08:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784428384000,"timestamp_ms":1784428384000,"timestamp_seconds":1784428384,"priority":1,"record_length":96,"hex_timestamp":"0000019f78384f00"} 
[2026-07-19 08:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-19 08:04: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-07-19 08: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-07-19 08:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:04: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-07-19 08:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813589248001,"66":25647,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 08:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813589248001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:04:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:04:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813589248001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":138746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:04:09] local.INFO: GPS data processed {"connection_id":138746,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:04:09] local.INFO: Acknowledgment sent {"connection_id":138746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:04:19] local.INFO: TCP Data received {"connection_id":137340,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:04:19] local.INFO: Processing buffer {"connection_id":137340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:04:19] local.INFO: IMEI packet received {"connection_id":137340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":137340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:04:20] local.INFO: TCP Data received {"connection_id":137340,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:04:20] local.INFO: Processing buffer {"connection_id":137340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:04:20] local.INFO: IMEI packet received {"connection_id":137340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":137340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:04:24] local.INFO: TCP Data received {"connection_id":137340,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:04:24] local.INFO: Processing buffer {"connection_id":137340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:04:24] local.INFO: IMEI packet received {"connection_id":137340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":137340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:04:25] local.INFO: TCP Data received {"connection_id":137340,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7838fae0012d7c65c005bf7ad00000005410..."} 
[2026-07-19 08:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7838fae0012d7c65c005bf7ad00000005410..."} 
[2026-07-19 08:04:25] local.INFO: Processing buffer {"connection_id":137340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7838fae0012d7c65c005bf7ad00000005410..."} 
[2026-07-19 08:04:25] local.INFO: Packet analysis {"connection_id":137340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7838"} 
[2026-07-19 08:04:25] local.INFO: Extracted packet for processing {"connection_id":137340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7838"} 
[2026-07-19 08:04:25] local.INFO: GPS Element Parsed {"raw_longitude":763127232,"raw_latitude":96434896,"longitude_deg":76.3127232,"latitude_deg":9.6434896,"altitude":0,"angle":84,"satellites":16,"speed":46,"hex_longitude":"2d7c65c0","hex_latitude":"05bf7ad0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813675776001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108083818371481600,"note":"Value kept but may cause issues"} 
[2026-07-19 08:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953719033853124608,"note":"Value kept but may cause issues"} 
[2026-07-19 08:04:25] 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-07-19 08:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784428428000,"timestamp_ms":1784428428000,"timestamp_seconds":1784428428,"priority":1,"record_length":96,"hex_timestamp":"0000019f7838fae0"} 
[2026-07-19 08:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:04:25] 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-07-19 08: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-19 08:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":137340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":137340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":137340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813675776001,"66":13678,"109":206,"85":12288,"24":46,"16":108083818371481600,"45":8953719033853124608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-19 08:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813675776001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:04:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-19 08:04:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108083818371481600,"km_value":108083818371481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953719033853124608,"description":"Unknown IO ID 45"} 
[2026-07-19 08:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813675776001,"power":13678,"unknown_109":206,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":8953719033853124608}} 
[2026-07-19 08:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":137340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:04:25] local.INFO: GPS data processed {"connection_id":137340,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:04:25] local.INFO: Acknowledgment sent {"connection_id":137340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:04:27] local.INFO: TCP Data received {"connection_id":137341,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:04:27] local.INFO: Processing buffer {"connection_id":137341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:04:27] local.INFO: IMEI packet received {"connection_id":137341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 08:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":137341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:04:32] local.INFO: TCP Data received {"connection_id":138747,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:04:32] local.INFO: Processing buffer {"connection_id":138747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:04:32] local.INFO: IMEI packet received {"connection_id":138747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":138747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:04:37] local.INFO: TCP Data received {"connection_id":138747,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:04:37] local.INFO: Processing buffer {"connection_id":138747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:04:37] local.INFO: IMEI packet received {"connection_id":138747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":138747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:04:38] local.INFO: TCP Data received {"connection_id":138747,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:04:38] local.INFO: Processing buffer {"connection_id":138747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:04:38] local.INFO: Packet analysis {"connection_id":138747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7838"} 
[2026-07-19 08:04:38] local.INFO: Extracted packet for processing {"connection_id":138747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7838"} 
[2026-07-19 08:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":43,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813589248001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:04: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-07-19 08:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784428384000,"timestamp_ms":1784428384000,"timestamp_seconds":1784428384,"priority":1,"record_length":96,"hex_timestamp":"0000019f78384f00"} 
[2026-07-19 08:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-19 08:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:04: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-07-19 08:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813589248001,"66":25647,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 08:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813589248001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:04:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:04:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813589248001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":138747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:04:38] local.INFO: GPS data processed {"connection_id":138747,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:04:38] local.INFO: Acknowledgment sent {"connection_id":138747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:04:57] local.INFO: TCP Data received {"connection_id":137340,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78390698012d7c728005bf7d400001004710..."} 
[2026-07-19 08:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78390698012d7c728005bf7d400001004710..."} 
[2026-07-19 08:04:57] local.INFO: Processing buffer {"connection_id":137340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78390698012d7c728005bf7d400001004710..."} 
[2026-07-19 08:04:57] local.INFO: Packet analysis {"connection_id":137340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7839"} 
[2026-07-19 08:04:57] local.INFO: Extracted packet for processing {"connection_id":137340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7839"} 
[2026-07-19 08:04:57] local.INFO: GPS Element Parsed {"raw_longitude":763130496,"raw_latitude":96435520,"longitude_deg":76.3130496,"latitude_deg":9.643552,"altitude":1,"angle":71,"satellites":16,"speed":42,"hex_longitude":"2d7c7280","hex_latitude":"05bf7d40","is_valid_coordinates":true} 
[2026-07-19 08:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813677568001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108083977285271552,"note":"Value kept but may cause issues"} 
[2026-07-19 08:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963781764270706688,"note":"Value kept but may cause issues"} 
[2026-07-19 08:04:57] 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-07-19 08:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784428431000,"timestamp_ms":1784428431000,"timestamp_seconds":1784428431,"priority":1,"record_length":96,"hex_timestamp":"0000019f78390698"} 
[2026-07-19 08:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:04: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-07-19 08:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-19 08:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813677568001,"66":13830,"109":206,"85":12288,"24":42,"16":108083977285271552,"45":8963781764270706688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-19 08:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813677568001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:04:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-19 08:04:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108083977285271552,"km_value":108083977285271.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963781764270706688,"description":"Unknown IO ID 45"} 
[2026-07-19 08:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813677568001,"power":13830,"unknown_109":206,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":8963781764270706688}} 
[2026-07-19 08:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":137340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:04:57] local.INFO: GPS data processed {"connection_id":137340,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:04:57] local.INFO: Acknowledgment sent {"connection_id":137340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:05:09] local.INFO: TCP Data received {"connection_id":138747,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:05:09] local.INFO: Processing buffer {"connection_id":138747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:05:09] local.INFO: Packet analysis {"connection_id":138747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7838"} 
[2026-07-19 08:05:09] local.INFO: Extracted packet for processing {"connection_id":138747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7838"} 
[2026-07-19 08:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":43,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813589248001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08: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-07-19 08:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784428384000,"timestamp_ms":1784428384000,"timestamp_seconds":1784428384,"priority":1,"record_length":96,"hex_timestamp":"0000019f78384f00"} 
[2026-07-19 08:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-19 08:05: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-07-19 08: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-07-19 08:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:05: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-07-19 08:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813589248001,"66":25647,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 08:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813589248001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:05:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813589248001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":138747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:05:09] local.INFO: GPS data processed {"connection_id":138747,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:05:09] local.INFO: Acknowledgment sent {"connection_id":138747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:05:18] local.INFO: TCP Data received {"connection_id":136283,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:05:18] local.INFO: Processing buffer {"connection_id":136283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:05:18] local.INFO: IMEI packet received {"connection_id":136283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":136283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:05:19] local.INFO: TCP Data received {"connection_id":136283,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:05:19] local.INFO: Processing buffer {"connection_id":136283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:05:19] local.INFO: IMEI packet received {"connection_id":136283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":136283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:05:22] local.INFO: TCP Data received {"connection_id":136283,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:05:22] local.INFO: Processing buffer {"connection_id":136283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:05:22] local.INFO: IMEI packet received {"connection_id":136283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":136283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:05:24] local.INFO: TCP Data received {"connection_id":136283,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:05:24] local.INFO: Processing buffer {"connection_id":136283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:05:24] local.INFO: IMEI packet received {"connection_id":136283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":136283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:05:25] local.INFO: TCP Data received {"connection_id":136283,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78391a20012d7c888005bf84200002005210..."} 
[2026-07-19 08:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78391a20012d7c888005bf84200002005210..."} 
[2026-07-19 08:05:25] local.INFO: Processing buffer {"connection_id":136283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78391a20012d7c888005bf84200002005210..."} 
[2026-07-19 08:05:25] local.INFO: Packet analysis {"connection_id":136283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7839"} 
[2026-07-19 08:05:25] local.INFO: Extracted packet for processing {"connection_id":136283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7839"} 
[2026-07-19 08:05:25] local.INFO: GPS Element Parsed {"raw_longitude":763136128,"raw_latitude":96437280,"longitude_deg":76.3136128,"latitude_deg":9.643728,"altitude":2,"angle":82,"satellites":16,"speed":48,"hex_longitude":"2d7c8880","hex_latitude":"05bf8420","is_valid_coordinates":true} 
[2026-07-19 08:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813678336001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108084260753113088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967370570223927296,"note":"Value kept but may cause issues"} 
[2026-07-19 08:05:25] 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-07-19 08:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784428436000,"timestamp_ms":1784428436000,"timestamp_seconds":1784428436,"priority":1,"record_length":96,"hex_timestamp":"0000019f78391a20"} 
[2026-07-19 08:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:05:25] 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-07-19 08:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-07-19 08:05:25] local.WARNING: Large IO value detected {"io_id":24,"raw_value":11259007674155008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:05:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652628471693056,"note":"Value kept but may cause issues"} 
[2026-07-19 08:05:25] local.WARNING: Large IO value detected {"io_id":252,"raw_value":3523215360,"note":"Value kept but may cause issues"} 
[2026-07-19 08:05:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1751974094,"corrected_to":0} 
[2026-07-19 08:05:25] local.WARNING: Large IO value detected {"io_id":137,"raw_value":2550214011,"note":"Value kept but may cause issues"} 
[2026-07-19 08:05:25] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3221602157,"note":"Value kept but may cause issues"} 
[2026-07-19 08:05:25] local.WARNING: Large IO value detected {"io_id":127,"raw_value":4230807552,"note":"Value kept but may cause issues"} 
[2026-07-19 08:05:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3211040768,"note":"Value kept but may cause issues"} 
[2026-07-19 08:05:25] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-2881972277652486721,"note":"Value kept but may cause issues"} 
[2026-07-19 08:05:25] local.WARNING: Large IO value detected {"io_id":93,"raw_value":8070450533591089181,"note":"Value kept but may cause issues"} 
[2026-07-19 08:05:25] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,109,85,24,241,157,16,253,159,250,45,192,122,10,66,223,120,128,1,240,197,227,252,191,4,113,205,42,137,225,208,15,239,53,2,127,5,40,43,93],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1751974094,"validated":0}]} 
[2026-07-19 08:05:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72135728085729280,"timestamp_seconds":72135728085729.28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 08:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813678336001,"66":13798,"109":206,"85":12288,"24":48,"16":108084260753113088,"45":8967370570223927296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-19 08:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813678336001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:05:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-19 08:05:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108084260753113088,"km_value":108084260753113.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967370570223927296,"description":"Unknown IO ID 45"} 
[2026-07-19 08:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813678336001,"power":13798,"unknown_109":206,"unknown_85":12288,"ignition":48,"odometer":null,"unknown_45":8967370570223927296}} 
[2026-07-19 08:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":136283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:05:25] local.INFO: GPS data processed {"connection_id":136283,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:05:25] local.INFO: Acknowledgment sent {"connection_id":136283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:05:29] local.INFO: TCP Data received {"connection_id":136283,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78393578012d7cac8005bf85700002005c0f..."} 
[2026-07-19 08:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78393578012d7cac8005bf85700002005c0f..."} 
[2026-07-19 08:05:29] local.INFO: Processing buffer {"connection_id":136283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78393578012d7cac8005bf85700002005c0f..."} 
[2026-07-19 08:05:29] local.INFO: Packet analysis {"connection_id":136283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7839"} 
[2026-07-19 08:05:29] local.INFO: Extracted packet for processing {"connection_id":136283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7839"} 
[2026-07-19 08:05:29] local.INFO: GPS Element Parsed {"raw_longitude":763145344,"raw_latitude":96437616,"longitude_deg":76.3145344,"latitude_deg":9.6437616,"altitude":2,"angle":92,"satellites":15,"speed":54,"hex_longitude":"2d7cac80","hex_latitude":"05bf8570","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813679616001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108084703134744576,"note":"Value kept but may cause issues"} 
[2026-07-19 08:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973563019712012288,"note":"Value kept but may cause issues"} 
[2026-07-19 08:05:29] 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-07-19 08:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784428443000,"timestamp_ms":1784428443000,"timestamp_seconds":1784428443,"priority":1,"record_length":96,"hex_timestamp":"0000019f78393578"} 
[2026-07-19 08:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-19 08:05:29] 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-07-19 08: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-07-19 08:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":136283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":136283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":136283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813679616001,"66":13830,"109":206,"85":12288,"24":54,"16":108084703134744576,"45":8973563019712012288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-19 08:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813679616001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:05:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-19 08:05:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108084703134744576,"km_value":108084703134744.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973563019712012288,"description":"Unknown IO ID 45"} 
[2026-07-19 08:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813679616001,"power":13830,"unknown_109":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":8973563019712012288}} 
[2026-07-19 08:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":136283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:05:29] local.INFO: GPS data processed {"connection_id":136283,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:05:29] local.INFO: Acknowledgment sent {"connection_id":136283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:05:32] local.INFO: TCP Data received {"connection_id":138749,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:05:32] local.INFO: Processing buffer {"connection_id":138749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:05:32] local.INFO: IMEI packet received {"connection_id":138749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":138749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:05:37] local.INFO: TCP Data received {"connection_id":138749,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:05:37] local.INFO: Processing buffer {"connection_id":138749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:05:37] local.INFO: IMEI packet received {"connection_id":138749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":138749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:05:38] local.INFO: TCP Data received {"connection_id":138749,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:05:38] local.INFO: Processing buffer {"connection_id":138749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:05:38] local.INFO: Packet analysis {"connection_id":138749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7838"} 
[2026-07-19 08:05:38] local.INFO: Extracted packet for processing {"connection_id":138749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7838"} 
[2026-07-19 08:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":43,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813589248001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:05: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-07-19 08:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784428384000,"timestamp_ms":1784428384000,"timestamp_seconds":1784428384,"priority":1,"record_length":96,"hex_timestamp":"0000019f78384f00"} 
[2026-07-19 08:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-19 08:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:05: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-07-19 08:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813589248001,"66":25647,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 08:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813589248001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:05:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813589248001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":138749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:05:38] local.INFO: GPS data processed {"connection_id":138749,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:05:38] local.INFO: Acknowledgment sent {"connection_id":138749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:06:00] local.INFO: TCP Data received {"connection_id":136283,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783a8568012d7d398005c029280000016210..."} 
[2026-07-19 08:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783a8568012d7d398005c029280000016210..."} 
[2026-07-19 08:06:00] local.INFO: Processing buffer {"connection_id":136283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783a8568012d7d398005c029280000016210..."} 
[2026-07-19 08:06:00] local.INFO: Packet analysis {"connection_id":136283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783a"} 
[2026-07-19 08:06:00] local.INFO: Extracted packet for processing {"connection_id":136283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783a"} 
[2026-07-19 08:06:00] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":96479528,"longitude_deg":76.318144,"latitude_deg":9.6479528,"altitude":0,"angle":354,"satellites":16,"speed":19,"hex_longitude":"2d7d3980","hex_latitude":"05c02928","is_valid_coordinates":true} 
[2026-07-19 08:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813701120001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108088169173352448,"note":"Value kept but may cause issues"} 
[2026-07-19 08:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023595196831125504,"note":"Value kept but may cause issues"} 
[2026-07-19 08:06:00] 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-07-19 08:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784428529000,"timestamp_ms":1784428529000,"timestamp_seconds":1784428529,"priority":1,"record_length":96,"hex_timestamp":"0000019f783a8568"} 
[2026-07-19 08:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-19 08:06:00] 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-07-19 08:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":136283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":136283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":136283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813701120001,"66":13515,"10":206,"85":12288,"24":19,"16":108088169173352448,"45":9023595196831125504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-07-19 08:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813701120001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:06:00] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-19 08:06:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108088169173352448,"km_value":108088169173352.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023595196831125504,"description":"Unknown IO ID 45"} 
[2026-07-19 08:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813701120001,"power":13515,"unknown_10":206,"unknown_85":12288,"ignition":19,"odometer":null,"unknown_45":9023595196831125504}} 
[2026-07-19 08:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":136283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:06:01] local.INFO: GPS data processed {"connection_id":136283,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:06:01] local.INFO: Acknowledgment sent {"connection_id":136283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:06:09] local.INFO: TCP Data received {"connection_id":138749,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:06:09] local.INFO: Processing buffer {"connection_id":138749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:06:09] local.INFO: Packet analysis {"connection_id":138749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7838"} 
[2026-07-19 08:06:09] local.INFO: Extracted packet for processing {"connection_id":138749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7838"} 
[2026-07-19 08:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":43,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813589248001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:06: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-07-19 08:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784428384000,"timestamp_ms":1784428384000,"timestamp_seconds":1784428384,"priority":1,"record_length":96,"hex_timestamp":"0000019f78384f00"} 
[2026-07-19 08:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":102,"data_length":795,"current_offset":136} 
[2026-07-19 08:06: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-07-19 08: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-07-19 08:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:06: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-07-19 08:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813589248001,"66":25647,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 08:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813589248001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:06:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813589248001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":138749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:06:09] local.INFO: GPS data processed {"connection_id":138749,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:06:09] local.INFO: Acknowledgment sent {"connection_id":138749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:06:19] local.INFO: TCP Data received {"connection_id":137342,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:06:19] local.INFO: Processing buffer {"connection_id":137342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:06:19] local.INFO: IMEI packet received {"connection_id":137342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":137342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:06:24] local.INFO: TCP Data received {"connection_id":137342,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:06:24] local.INFO: Processing buffer {"connection_id":137342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:06:24] local.INFO: IMEI packet received {"connection_id":137342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":137342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:06:25] local.INFO: TCP Data received {"connection_id":137342,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783aa890012d7d394005c02b400000000511..."} 
[2026-07-19 08:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783aa890012d7d394005c02b400000000511..."} 
[2026-07-19 08:06:25] local.INFO: Processing buffer {"connection_id":137342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783aa890012d7d394005c02b400000000511..."} 
[2026-07-19 08:06:25] local.INFO: Packet analysis {"connection_id":137342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783a"} 
[2026-07-19 08:06:25] local.INFO: Extracted packet for processing {"connection_id":137342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783a"} 
[2026-07-19 08:06:25] local.INFO: GPS Element Parsed {"raw_longitude":763181376,"raw_latitude":96480064,"longitude_deg":76.3181376,"latitude_deg":9.6480064,"altitude":0,"angle":5,"satellites":17,"speed":10,"hex_longitude":"2d7d3940","hex_latitude":"05c02b40","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813703424001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108088216417992704,"note":"Value kept but may cause issues"} 
[2026-07-19 08:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384090600613888,"note":"Value kept but may cause issues"} 
[2026-07-19 08:06: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-07-19 08:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784428538000,"timestamp_ms":1784428538000,"timestamp_seconds":1784428538,"priority":1,"record_length":96,"hex_timestamp":"0000019f783aa890"} 
[2026-07-19 08:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:06: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-07-19 08: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":203,"data_length":795,"current_offset":136} 
[2026-07-19 08:06: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-07-19 08: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-07-19 08:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":137342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":137342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":137342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813703424001,"66":13396,"10":206,"85":12288,"24":10,"16":108088216417992704,"45":9023384090600613888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-07-19 08:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813703424001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:06:25] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-19 08:06:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108088216417992704,"km_value":108088216417992.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384090600613888,"description":"Unknown IO ID 45"} 
[2026-07-19 08:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813703424001,"power":13396,"unknown_10":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":9023384090600613888}} 
[2026-07-19 08:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":137342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:06:25] local.INFO: GPS data processed {"connection_id":137342,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:06:25] local.INFO: Acknowledgment sent {"connection_id":137342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:06:32] local.INFO: TCP Data received {"connection_id":136410,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:06:32] local.INFO: Processing buffer {"connection_id":136410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:06:32] local.INFO: IMEI packet received {"connection_id":136410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":136410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:06:37] local.INFO: TCP Data received {"connection_id":136410,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:06:37] local.INFO: Processing buffer {"connection_id":136410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:06:37] local.INFO: IMEI packet received {"connection_id":136410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":136410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:06:38] local.INFO: TCP Data received {"connection_id":136410,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:06:38] local.INFO: Processing buffer {"connection_id":136410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:06:38] local.INFO: Packet analysis {"connection_id":136410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7838"} 
[2026-07-19 08:06:38] local.INFO: Extracted packet for processing {"connection_id":136410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7838"} 
[2026-07-19 08:06:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":43,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813589248001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:06: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-07-19 08:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784428384000,"timestamp_ms":1784428384000,"timestamp_seconds":1784428384,"priority":1,"record_length":96,"hex_timestamp":"0000019f78384f00"} 
[2026-07-19 08:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-19 08:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:06: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-07-19 08:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813589248001,"66":25647,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 08:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813589248001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:06:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:06:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813589248001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":136410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:06:38] local.INFO: GPS data processed {"connection_id":136410,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:06:38] local.INFO: Acknowledgment sent {"connection_id":136410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:06:56] local.INFO: TCP Data received {"connection_id":137342,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783adb58012d7d3a4005c04eb80000000211..."} 
[2026-07-19 08:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783adb58012d7d3a4005c04eb80000000211..."} 
[2026-07-19 08:06:56] local.INFO: Processing buffer {"connection_id":137342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783adb58012d7d3a4005c04eb80000000211..."} 
[2026-07-19 08:06:56] local.INFO: Packet analysis {"connection_id":137342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783a"} 
[2026-07-19 08:06:56] local.INFO: Extracted packet for processing {"connection_id":137342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783a"} 
[2026-07-19 08:06:56] local.INFO: GPS Element Parsed {"raw_longitude":763181632,"raw_latitude":96489144,"longitude_deg":76.3181632,"latitude_deg":9.6489144,"altitude":0,"angle":2,"satellites":17,"speed":43,"hex_longitude":"2d7d3a40","hex_latitude":"05c04eb8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813705728001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108088658799624192,"note":"Value kept but may cause issues"} 
[2026-07-19 08:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023313721856573440,"note":"Value kept but may cause issues"} 
[2026-07-19 08:06: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-07-19 08:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784428551000,"timestamp_ms":1784428551000,"timestamp_seconds":1784428551,"priority":1,"record_length":96,"hex_timestamp":"0000019f783adb58"} 
[2026-07-19 08:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:06:56] 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-07-19 08: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-19 08:06:56] 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-07-19 08: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-07-19 08:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813705728001,"66":13374,"10":206,"85":12288,"24":43,"16":108088658799624192,"45":9023313721856573440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-07-19 08:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813705728001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:06:56] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-19 08:06:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108088658799624192,"km_value":108088658799624.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023313721856573440,"description":"Unknown IO ID 45"} 
[2026-07-19 08:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813705728001,"power":13374,"unknown_10":206,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":9023313721856573440}} 
[2026-07-19 08:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":137342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:06:56] local.INFO: GPS data processed {"connection_id":137342,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:06:56] local.INFO: Acknowledgment sent {"connection_id":137342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:07:10] local.INFO: TCP Data received {"connection_id":136410,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:07:10] local.INFO: Processing buffer {"connection_id":136410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:07:10] local.INFO: Packet analysis {"connection_id":136410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7838"} 
[2026-07-19 08:07:10] local.INFO: Extracted packet for processing {"connection_id":136410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7838"} 
[2026-07-19 08:07:10] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":43,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813589248001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:07: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-07-19 08:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784428384000,"timestamp_ms":1784428384000,"timestamp_seconds":1784428384,"priority":1,"record_length":96,"hex_timestamp":"0000019f78384f00"} 
[2026-07-19 08:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-19 08:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:07:10] 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-07-19 08:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813589248001,"66":25647,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 08:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813589248001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:07:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:07:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813589248001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":136410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:07:10] local.INFO: GPS data processed {"connection_id":136410,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:07:10] local.INFO: Acknowledgment sent {"connection_id":136410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:07:23] local.INFO: TCP Data received {"connection_id":136284,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:07:23] local.INFO: Processing buffer {"connection_id":136284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:07:23] local.INFO: IMEI packet received {"connection_id":136284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":136284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:07:24] local.INFO: TCP Data received {"connection_id":136284,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:07:24] local.INFO: Processing buffer {"connection_id":136284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:07:24] local.INFO: IMEI packet received {"connection_id":136284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":136284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:07:29] local.INFO: TCP Data received {"connection_id":136284,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:07:29] local.INFO: Processing buffer {"connection_id":136284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:07:29] local.INFO: IMEI packet received {"connection_id":136284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":136284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:07:30] local.INFO: TCP Data received {"connection_id":136284,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783afa98012d7d3cc005c074000000000211..."} 
[2026-07-19 08:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783afa98012d7d3cc005c074000000000211..."} 
[2026-07-19 08:07:30] local.INFO: Processing buffer {"connection_id":136284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783afa98012d7d3cc005c074000000000211..."} 
[2026-07-19 08:07:30] local.INFO: Packet analysis {"connection_id":136284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783a"} 
[2026-07-19 08:07:30] local.INFO: Extracted packet for processing {"connection_id":136284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783a"} 
[2026-07-19 08:07:30] local.INFO: GPS Element Parsed {"raw_longitude":763182272,"raw_latitude":96498688,"longitude_deg":76.3182272,"latitude_deg":9.6498688,"altitude":0,"angle":2,"satellites":17,"speed":45,"hex_longitude":"2d7d3cc0","hex_latitude":"05c07400","is_valid_coordinates":true} 
[2026-07-19 08:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813709056001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108089122656092160,"note":"Value kept but may cause issues"} 
[2026-07-19 08:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023595196835608576,"note":"Value kept but may cause issues"} 
[2026-07-19 08:07:30] 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-07-19 08:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784428559000,"timestamp_ms":1784428559000,"timestamp_seconds":1784428559,"priority":1,"record_length":96,"hex_timestamp":"0000019f783afa98"} 
[2026-07-19 08:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:07:30] 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-07-19 08:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-19 08:07:30] 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-07-19 08:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":136284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":136284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":136284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813709056001,"66":13656,"10":206,"85":12288,"24":45,"16":108089122656092160,"45":9023595196835608576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-07-19 08:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813709056001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:07:30] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-19 08:07:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108089122656092160,"km_value":108089122656092.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023595196835608576,"description":"Unknown IO ID 45"} 
[2026-07-19 08:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813709056001,"power":13656,"unknown_10":206,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":9023595196835608576}} 
[2026-07-19 08:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":136284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:07:30] local.INFO: GPS data processed {"connection_id":136284,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:07:30] local.INFO: Acknowledgment sent {"connection_id":136284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:07:30] local.INFO: TCP Data received {"connection_id":136284,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783b0e20012d7d3bc005c08a800000015e11..."} 
[2026-07-19 08:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783b0e20012d7d3bc005c08a800000015e11..."} 
[2026-07-19 08:07:30] local.INFO: Processing buffer {"connection_id":136284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783b0e20012d7d3bc005c08a800000015e11..."} 
[2026-07-19 08:07:30] local.INFO: Packet analysis {"connection_id":136284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783b"} 
[2026-07-19 08:07:30] local.INFO: Extracted packet for processing {"connection_id":136284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783b"} 
[2026-07-19 08:07:30] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":96504448,"longitude_deg":76.3182016,"latitude_deg":9.6504448,"altitude":0,"angle":350,"satellites":17,"speed":45,"hex_longitude":"2d7d3bc0","hex_latitude":"05c08a80","is_valid_coordinates":true} 
[2026-07-19 08:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813711104001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108089401828966400,"note":"Value kept but may cause issues"} 
[2026-07-19 08:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024298884279828480,"note":"Value kept but may cause issues"} 
[2026-07-19 08:07:30] 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-07-19 08:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784428564000,"timestamp_ms":1784428564000,"timestamp_seconds":1784428564,"priority":1,"record_length":96,"hex_timestamp":"0000019f783b0e20"} 
[2026-07-19 08:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:07:30] 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-07-19 08:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-19 08:07: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-07-19 08:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":136284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":136284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":136284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813711104001,"66":13319,"10":206,"85":12288,"24":45,"16":108089401828966400,"45":9024298884279828480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-07-19 08:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813711104001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:07:30] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-19 08:07:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108089401828966400,"km_value":108089401828966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024298884279828480,"description":"Unknown IO ID 45"} 
[2026-07-19 08:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813711104001,"power":13319,"unknown_10":206,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":9024298884279828480}} 
[2026-07-19 08:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":136284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:07:30] local.INFO: GPS data processed {"connection_id":136284,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:07:30] local.INFO: Acknowledgment sent {"connection_id":136284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:07:32] local.INFO: TCP Data received {"connection_id":137343,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:07:32] local.INFO: Processing buffer {"connection_id":137343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:07:32] local.INFO: IMEI packet received {"connection_id":137343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":137343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:07:37] local.INFO: TCP Data received {"connection_id":137343,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:07:37] local.INFO: Processing buffer {"connection_id":137343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:07:37] local.INFO: IMEI packet received {"connection_id":137343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":137343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:07:38] local.INFO: TCP Data received {"connection_id":137343,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:07:38] local.INFO: Processing buffer {"connection_id":137343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:07:38] local.INFO: Packet analysis {"connection_id":137343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7838"} 
[2026-07-19 08:07:38] local.INFO: Extracted packet for processing {"connection_id":137343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7838"} 
[2026-07-19 08:07:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":43,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813589248001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:07: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-07-19 08:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784428384000,"timestamp_ms":1784428384000,"timestamp_seconds":1784428384,"priority":1,"record_length":96,"hex_timestamp":"0000019f78384f00"} 
[2026-07-19 08:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-19 08:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813589248001,"66":25647,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 08:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813589248001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:07:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:07:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813589248001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":137343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:07:38] local.INFO: GPS data processed {"connection_id":137343,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:07:38] local.INFO: Acknowledgment sent {"connection_id":137343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:08:04] local.INFO: TCP Data received {"connection_id":136284,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783b3148012d7d32c005c0ae500000015a11..."} 
[2026-07-19 08:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783b3148012d7d32c005c0ae500000015a11..."} 
[2026-07-19 08:08:04] local.INFO: Processing buffer {"connection_id":136284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783b3148012d7d32c005c0ae500000015a11..."} 
[2026-07-19 08:08:04] local.INFO: Packet analysis {"connection_id":136284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783b"} 
[2026-07-19 08:08:04] local.INFO: Extracted packet for processing {"connection_id":136284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783b"} 
[2026-07-19 08:08:04] local.INFO: GPS Element Parsed {"raw_longitude":763179712,"raw_latitude":96513616,"longitude_deg":76.3179712,"latitude_deg":9.6513616,"altitude":0,"angle":346,"satellites":17,"speed":37,"hex_longitude":"2d7d32c0","hex_latitude":"05c0ae50","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813712384001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108089861390467072,"note":"Value kept but may cause issues"} 
[2026-07-19 08:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409304592384,"note":"Value kept but may cause issues"} 
[2026-07-19 08:08:04] 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-07-19 08:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784428573000,"timestamp_ms":1784428573000,"timestamp_seconds":1784428573,"priority":1,"record_length":96,"hex_timestamp":"0000019f783b3148"} 
[2026-07-19 08:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-19 08:08:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 08:08:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-19 08:08:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2802450638,"corrected_to":0} 
[2026-07-19 08:08:04] local.WARNING: Large IO value detected {"io_id":58,"raw_value":5390810048848314373,"note":"Value kept but may cause issues"} 
[2026-07-19 08:08:04] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911010,"note":"Value kept but may cause issues"} 
[2026-07-19 08:08:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3220975616,"note":"Value kept but may cause issues"} 
[2026-07-19 08:08:04] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57810229752911152,"note":"Value kept but may cause issues"} 
[2026-07-19 08:08:04] local.WARNING: Large IO value detected {"io_id":191,"raw_value":-758856537210155008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:08:04] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,10,85,24,241,157,16,2,159,250,45,192,116,17,66,219,64,78,168,1,240,84,227,120,4,113,205,19,98,58,80,15,239,53,25,128,5,36,138,191],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2802450638,"validated":0}]} 
[2026-07-19 08:08:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":384902087114752,"timestamp_seconds":384902087114.752,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 08:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":136284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":136284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":136284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813712384001,"66":13689,"10":206,"85":12288,"24":37,"16":108089861390467072,"45":9024017409304592384},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-07-19 08:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813712384001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:08:04] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-19 08:08:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108089861390467072,"km_value":108089861390467.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409304592384,"description":"Unknown IO ID 45"} 
[2026-07-19 08:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813712384001,"power":13689,"unknown_10":206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9024017409304592384}} 
[2026-07-19 08:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":136284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:08:04] local.INFO: GPS data processed {"connection_id":136284,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:08:04] local.INFO: Acknowledgment sent {"connection_id":136284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:08:09] local.INFO: TCP Data received {"connection_id":137343,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:08:09] local.INFO: Processing buffer {"connection_id":137343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:08:09] local.INFO: Packet analysis {"connection_id":137343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7838"} 
[2026-07-19 08:08:09] local.INFO: Extracted packet for processing {"connection_id":137343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7838"} 
[2026-07-19 08:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":43,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813589248001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:08: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-07-19 08:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784428384000,"timestamp_ms":1784428384000,"timestamp_seconds":1784428384,"priority":1,"record_length":96,"hex_timestamp":"0000019f78384f00"} 
[2026-07-19 08:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-19 08:08: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-07-19 08:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813589248001,"66":25647,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 08:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813589248001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:08:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813589248001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":137343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:08:09] local.INFO: GPS data processed {"connection_id":137343,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:08:09] local.INFO: Acknowledgment sent {"connection_id":137343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:08:19] local.INFO: TCP Data received {"connection_id":138751,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:08:19] local.INFO: Processing buffer {"connection_id":138751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:08:19] local.INFO: IMEI packet received {"connection_id":138751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":138751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:08:24] local.INFO: TCP Data received {"connection_id":138751,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:08:24] local.INFO: Processing buffer {"connection_id":138751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:08:24] local.INFO: IMEI packet received {"connection_id":138751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":138751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:08:25] local.INFO: TCP Data received {"connection_id":138751,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783b6028012d7d2a4005c0d3000000015b11..."} 
[2026-07-19 08:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783b6028012d7d2a4005c0d3000000015b11..."} 
[2026-07-19 08:08:25] local.INFO: Processing buffer {"connection_id":138751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783b6028012d7d2a4005c0d3000000015b11..."} 
[2026-07-19 08:08:25] local.INFO: Packet analysis {"connection_id":138751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783b"} 
[2026-07-19 08:08:25] local.INFO: Extracted packet for processing {"connection_id":138751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783b"} 
[2026-07-19 08:08:25] local.INFO: GPS Element Parsed {"raw_longitude":763177536,"raw_latitude":96523008,"longitude_deg":76.3177536,"latitude_deg":9.6523008,"altitude":0,"angle":347,"satellites":17,"speed":33,"hex_longitude":"2d7d2a40","hex_latitude":"05c0d300","is_valid_coordinates":true} 
[2026-07-19 08:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813714688001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108090325246935040,"note":"Value kept but may cause issues"} 
[2026-07-19 08:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021484134516543488,"note":"Value kept but may cause issues"} 
[2026-07-19 08:08: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-07-19 08:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784428585000,"timestamp_ms":1784428585000,"timestamp_seconds":1784428585,"priority":1,"record_length":96,"hex_timestamp":"0000019f783b6028"} 
[2026-07-19 08:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:08: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-07-19 08:08:25] local.INFO: IO Element 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-07-19 08:08:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:08:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":138751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":138751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":138751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:08:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813714688001,"66":13798,"9":206,"85":12288,"24":33,"16":108090325246935040,"45":9021484134516543488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-07-19 08:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813714688001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:08:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-19 08:08:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108090325246935040,"km_value":108090325246935.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021484134516543488,"description":"Unknown IO ID 45"} 
[2026-07-19 08:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813714688001,"power":13798,"unknown_9":206,"unknown_85":12288,"ignition":33,"odometer":null,"unknown_45":9021484134516543488}} 
[2026-07-19 08:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":138751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:08:25] local.INFO: GPS data processed {"connection_id":138751,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:08:25] local.INFO: Acknowledgment sent {"connection_id":138751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:08:32] local.INFO: TCP Data received {"connection_id":136412,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:08:32] local.INFO: Processing buffer {"connection_id":136412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:08:32] local.INFO: IMEI packet received {"connection_id":136412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":136412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:08:37] local.INFO: TCP Data received {"connection_id":136412,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:08:37] local.INFO: Processing buffer {"connection_id":136412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:08:37] local.INFO: IMEI packet received {"connection_id":136412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":136412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:08:38] local.INFO: TCP Data received {"connection_id":136412,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:08:38] local.INFO: Processing buffer {"connection_id":136412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78384f00012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:08:38] local.INFO: Packet analysis {"connection_id":136412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7838"} 
[2026-07-19 08:08:38] local.INFO: Extracted packet for processing {"connection_id":136412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7838"} 
[2026-07-19 08:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":43,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813589248001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:08: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-07-19 08:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784428384000,"timestamp_ms":1784428384000,"timestamp_seconds":1784428384,"priority":1,"record_length":96,"hex_timestamp":"0000019f78384f00"} 
[2026-07-19 08:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-19 08:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:08: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-07-19 08:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813589248001,"66":25647,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813589248001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:08:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:08:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813589248001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":136412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:08:38] local.INFO: GPS data processed {"connection_id":136412,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:08:38] local.INFO: Acknowledgment sent {"connection_id":136412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:08:56] local.INFO: TCP Data received {"connection_id":138751,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783d4870012d7d418005c238080000000814..."} 
[2026-07-19 08:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783d4870012d7d418005c238080000000814..."} 
[2026-07-19 08:08:56] local.INFO: Processing buffer {"connection_id":138751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783d4870012d7d418005c238080000000814..."} 
[2026-07-19 08:08:56] local.INFO: Packet analysis {"connection_id":138751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783d"} 
[2026-07-19 08:08:56] local.INFO: Extracted packet for processing {"connection_id":138751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783d"} 
[2026-07-19 08:08:56] local.INFO: GPS Element Parsed {"raw_longitude":763183488,"raw_latitude":96614408,"longitude_deg":76.3183488,"latitude_deg":9.6614408,"altitude":0,"angle":8,"satellites":20,"speed":27,"hex_longitude":"2d7d4180","hex_latitude":"05c23808","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813744640001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108094817782726656,"note":"Value kept but may cause issues"} 
[2026-07-19 08:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025072940493459456,"note":"Value kept but may cause issues"} 
[2026-07-19 08:08: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-07-19 08:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784428710000,"timestamp_ms":1784428710000,"timestamp_seconds":1784428710,"priority":1,"record_length":96,"hex_timestamp":"0000019f783d4870"} 
[2026-07-19 08:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:08: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-07-19 08: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":94,"data_length":795,"current_offset":136} 
[2026-07-19 08:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":138751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":138751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":138751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813744640001,"66":13493,"9":206,"85":12288,"24":27,"16":108094817782726656,"45":9025072940493459456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-07-19 08:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813744640001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:08:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-19 08:08:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108094817782726656,"km_value":108094817782726.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025072940493459456,"description":"Unknown IO ID 45"} 
[2026-07-19 08:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813744640001,"power":13493,"unknown_9":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":9025072940493459456}} 
[2026-07-19 08:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":138751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:08:56] local.INFO: GPS data processed {"connection_id":138751,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:08:56] local.INFO: Acknowledgment sent {"connection_id":138751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:09:11] local.INFO: TCP Data received {"connection_id":136412,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:09:12] local.INFO: Processing buffer {"connection_id":136412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:09:12] local.INFO: Packet analysis {"connection_id":136412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783c"} 
[2026-07-19 08:09:12] local.INFO: Extracted packet for processing {"connection_id":136412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783c"} 
[2026-07-19 08:09:12] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":43,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813666304001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:09: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-07-19 08:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784428685000,"timestamp_ms":1784428685000,"timestamp_seconds":1784428685,"priority":1,"record_length":96,"hex_timestamp":"0000019f783ce6c8"} 
[2026-07-19 08:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 08:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":136412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":136412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":136412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:09: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-07-19 08:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813666304001,"66":25615,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813666304001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:09:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:09:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813666304001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":136412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:09:12] local.INFO: GPS data processed {"connection_id":136412,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:09:12] local.INFO: Acknowledgment sent {"connection_id":136412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:09:19] local.INFO: TCP Data received {"connection_id":136286,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:09:19] local.INFO: Processing buffer {"connection_id":136286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:09:19] local.INFO: IMEI packet received {"connection_id":136286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":136286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:09:24] local.INFO: TCP Data received {"connection_id":136286,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:09:24] local.INFO: Processing buffer {"connection_id":136286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:09:24] local.INFO: IMEI packet received {"connection_id":136286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":136286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:09:25] local.INFO: TCP Data received {"connection_id":136286,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783d6f80012d7d458005c25b880001000814..."} 
[2026-07-19 08:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783d6f80012d7d458005c25b880001000814..."} 
[2026-07-19 08:09:25] local.INFO: Processing buffer {"connection_id":136286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783d6f80012d7d458005c25b880001000814..."} 
[2026-07-19 08:09:25] local.INFO: Packet analysis {"connection_id":136286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783d"} 
[2026-07-19 08:09:25] local.INFO: Extracted packet for processing {"connection_id":136286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783d"} 
[2026-07-19 08:09:25] local.INFO: GPS Element Parsed {"raw_longitude":763184512,"raw_latitude":96623496,"longitude_deg":76.3184512,"latitude_deg":9.6623496,"altitude":1,"angle":8,"satellites":20,"speed":45,"hex_longitude":"2d7d4580","hex_latitude":"05c25b88","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813749760001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108095260164358144,"note":"Value kept but may cause issues"} 
[2026-07-19 08:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025635890448828416,"note":"Value kept but may cause issues"} 
[2026-07-19 08:09: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-07-19 08:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784428720000,"timestamp_ms":1784428720000,"timestamp_seconds":1784428720,"priority":1,"record_length":96,"hex_timestamp":"0000019f783d6f80"} 
[2026-07-19 08:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:09: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-07-19 08: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-19 08:09:25] 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-07-19 08: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-07-19 08:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813749760001,"66":13450,"9":206,"85":12288,"24":45,"16":108095260164358144,"45":9025635890448828416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-07-19 08:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813749760001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:09:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-19 08:09:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108095260164358144,"km_value":108095260164358.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025635890448828416,"description":"Unknown IO ID 45"} 
[2026-07-19 08:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813749760001,"power":13450,"unknown_9":206,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":9025635890448828416}} 
[2026-07-19 08:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":136286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:09:25] local.INFO: GPS data processed {"connection_id":136286,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:09:25] local.INFO: Acknowledgment sent {"connection_id":136286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:09:37] local.INFO: TCP Data received {"connection_id":138752,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:09:37] local.INFO: Processing buffer {"connection_id":138752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:09:37] local.INFO: IMEI packet received {"connection_id":138752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":138752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:09:42] local.INFO: TCP Data received {"connection_id":138752,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:09:42] local.INFO: Processing buffer {"connection_id":138752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:09:42] local.INFO: IMEI packet received {"connection_id":138752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":138752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:09:42] local.INFO: TCP Data received {"connection_id":136413,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:09:42] local.INFO: Processing buffer {"connection_id":136413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:09:42] local.INFO: IMEI packet received {"connection_id":136413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 08:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":136413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:09:43] local.INFO: TCP Data received {"connection_id":138752,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:09:43] local.INFO: Processing buffer {"connection_id":138752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:09:43] local.INFO: Packet analysis {"connection_id":138752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783c"} 
[2026-07-19 08:09:43] local.INFO: Extracted packet for processing {"connection_id":138752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783c"} 
[2026-07-19 08:09:43] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":43,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813666304001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:09: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-07-19 08:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784428685000,"timestamp_ms":1784428685000,"timestamp_seconds":1784428685,"priority":1,"record_length":96,"hex_timestamp":"0000019f783ce6c8"} 
[2026-07-19 08:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 08:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":138752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":138752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":138752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813666304001,"66":25615,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813666304001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:09:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:09:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813666304001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":138752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:09:43] local.INFO: GPS data processed {"connection_id":138752,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:09:43] local.INFO: Acknowledgment sent {"connection_id":138752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:09:47] local.INFO: TCP Data received {"connection_id":138752,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:09:47] local.INFO: Processing buffer {"connection_id":138752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:09:47] local.INFO: Packet analysis {"connection_id":138752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783c"} 
[2026-07-19 08:09:47] local.INFO: Extracted packet for processing {"connection_id":138752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783c"} 
[2026-07-19 08:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":43,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813666304001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784428685000,"timestamp_ms":1784428685000,"timestamp_seconds":1784428685,"priority":1,"record_length":96,"hex_timestamp":"0000019f783ce6c8"} 
[2026-07-19 08:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 08:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":138752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":138752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":138752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813666304001,"66":25615,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813666304001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:09:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:09:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813666304001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":138752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:09:47] local.INFO: GPS data processed {"connection_id":138752,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:09:47] local.INFO: Acknowledgment sent {"connection_id":138752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:09:56] local.INFO: TCP Data received {"connection_id":136286,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783d8ec0012d7d4b8005c280980000000a15..."} 
[2026-07-19 08:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783d8ec0012d7d4b8005c280980000000a15..."} 
[2026-07-19 08:09:56] local.INFO: Processing buffer {"connection_id":136286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783d8ec0012d7d4b8005c280980000000a15..."} 
[2026-07-19 08:09:56] local.INFO: Packet analysis {"connection_id":136286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783d"} 
[2026-07-19 08:09:56] local.INFO: Extracted packet for processing {"connection_id":136286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783d"} 
[2026-07-19 08:09:56] local.INFO: GPS Element Parsed {"raw_longitude":763186048,"raw_latitude":96632984,"longitude_deg":76.3186048,"latitude_deg":9.6632984,"altitude":0,"angle":10,"satellites":21,"speed":50,"hex_longitude":"2d7d4b80","hex_latitude":"05c28098","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813752320001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108095728315793408,"note":"Value kept but may cause issues"} 
[2026-07-19 08:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026761790357997568,"note":"Value kept but may cause issues"} 
[2026-07-19 08:09: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-07-19 08:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784428728000,"timestamp_ms":1784428728000,"timestamp_seconds":1784428728,"priority":1,"record_length":96,"hex_timestamp":"0000019f783d8ec0"} 
[2026-07-19 08:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:09: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-07-19 08: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-19 08:09: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-07-19 08: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-07-19 08:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813752320001,"66":13624,"9":206,"85":12288,"24":50,"16":108095728315793408,"45":9026761790357997568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-07-19 08:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813752320001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:09:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-19 08:09:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108095728315793408,"km_value":108095728315793.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026761790357997568,"description":"Unknown IO ID 45"} 
[2026-07-19 08:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813752320001,"power":13624,"unknown_9":206,"unknown_85":12288,"ignition":50,"odometer":null,"unknown_45":9026761790357997568}} 
[2026-07-19 08:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":136286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:09:56] local.INFO: GPS data processed {"connection_id":136286,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:09:56] local.INFO: Acknowledgment sent {"connection_id":136286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:10:19] local.INFO: TCP Data received {"connection_id":136414,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:10:19] local.INFO: Processing buffer {"connection_id":136414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:10:19] local.INFO: IMEI packet received {"connection_id":136414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":136414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:10:22] local.INFO: TCP Data received {"connection_id":136414,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:10:22] local.INFO: Processing buffer {"connection_id":136414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:10:22] local.INFO: IMEI packet received {"connection_id":136414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":136414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:10:23] local.INFO: TCP Data received {"connection_id":136414,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783daa18012d7d518005c2a4600000000815..."} 
[2026-07-19 08:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783daa18012d7d518005c2a4600000000815..."} 
[2026-07-19 08:10:23] local.INFO: Processing buffer {"connection_id":136414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783daa18012d7d518005c2a4600000000815..."} 
[2026-07-19 08:10:23] local.INFO: Packet analysis {"connection_id":136414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783d"} 
[2026-07-19 08:10:23] local.INFO: Extracted packet for processing {"connection_id":136414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783d"} 
[2026-07-19 08:10:23] local.INFO: GPS Element Parsed {"raw_longitude":763187584,"raw_latitude":96642144,"longitude_deg":76.3187584,"latitude_deg":9.6642144,"altitude":0,"angle":8,"satellites":21,"speed":52,"hex_longitude":"2d7d5180","hex_latitude":"05c2a460","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813754368001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108096174992392192,"note":"Value kept but may cause issues"} 
[2026-07-19 08:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028450640220690432,"note":"Value kept but may cause issues"} 
[2026-07-19 08:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784428735000,"timestamp_ms":1784428735000,"timestamp_seconds":1784428735,"priority":1,"record_length":96,"hex_timestamp":"0000019f783daa18"} 
[2026-07-19 08:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-19 08:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":136414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":136414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":136414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813754368001,"66":13319,"9":206,"85":12288,"24":52,"16":108096174992392192,"45":9028450640220690432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-07-19 08:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813754368001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:10:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-19 08:10:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108096174992392192,"km_value":108096174992392.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028450640220690432,"description":"Unknown IO ID 45"} 
[2026-07-19 08:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813754368001,"power":13319,"unknown_9":206,"unknown_85":12288,"ignition":52,"odometer":null,"unknown_45":9028450640220690432}} 
[2026-07-19 08:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":136414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:10:23] local.INFO: GPS data processed {"connection_id":136414,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:10:23] local.INFO: Acknowledgment sent {"connection_id":136414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:10:27] local.INFO: TCP Data received {"connection_id":136287,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:10:27] local.INFO: Processing buffer {"connection_id":136287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:10:27] local.INFO: IMEI packet received {"connection_id":136287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 08:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":136287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:10:32] local.INFO: TCP Data received {"connection_id":138753,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:10:32] local.INFO: Processing buffer {"connection_id":138753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:10:32] local.INFO: IMEI packet received {"connection_id":138753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":138753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:10:37] local.INFO: TCP Data received {"connection_id":138753,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:10:37] local.INFO: Processing buffer {"connection_id":138753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:10:37] local.INFO: IMEI packet received {"connection_id":138753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":138753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:10:38] local.INFO: TCP Data received {"connection_id":138753,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:10:38] local.INFO: Processing buffer {"connection_id":138753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:10:38] local.INFO: Packet analysis {"connection_id":138753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783c"} 
[2026-07-19 08:10:38] local.INFO: Extracted packet for processing {"connection_id":138753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783c"} 
[2026-07-19 08:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":43,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 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-07-19 08:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813666304001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:10: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-07-19 08:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784428685000,"timestamp_ms":1784428685000,"timestamp_seconds":1784428685,"priority":1,"record_length":96,"hex_timestamp":"0000019f783ce6c8"} 
[2026-07-19 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-07-19 08:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 08:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 08:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:10: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-07-19 08:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813666304001,"66":25615,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813666304001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813666304001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":138753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:10:38] local.INFO: GPS data processed {"connection_id":138753,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:10:38] local.INFO: Acknowledgment sent {"connection_id":138753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:10:54] local.INFO: TCP Data received {"connection_id":136414,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783f2118012d7d3ec005c3f3300001016616..."} 
[2026-07-19 08:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783f2118012d7d3ec005c3f3300001016616..."} 
[2026-07-19 08:10:54] local.INFO: Processing buffer {"connection_id":136414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783f2118012d7d3ec005c3f3300001016616..."} 
[2026-07-19 08:10:54] local.INFO: Packet analysis {"connection_id":136414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783f"} 
[2026-07-19 08:10:54] local.INFO: Extracted packet for processing {"connection_id":136414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783f"} 
[2026-07-19 08:10:54] local.INFO: GPS Element Parsed {"raw_longitude":763182784,"raw_latitude":96727856,"longitude_deg":76.3182784,"latitude_deg":9.6727856,"altitude":1,"angle":358,"satellites":22,"speed":49,"hex_longitude":"2d7d3ec0","hex_latitude":"05c3f330","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813779712001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108100379765374976,"note":"Value kept but may cause issues"} 
[2026-07-19 08:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025495152988243968,"note":"Value kept but may cause issues"} 
[2026-07-19 08:10:54] 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-07-19 08:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784428831000,"timestamp_ms":1784428831000,"timestamp_seconds":1784428831,"priority":1,"record_length":96,"hex_timestamp":"0000019f783f2118"} 
[2026-07-19 08:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:10: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-07-19 08:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-19 08:10:54] 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-07-19 08: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-07-19 08:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":136414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":136414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":136414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813779712001,"66":13559,"135":206,"85":12288,"24":49,"16":108100379765374976,"45":9025495152988243968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-19 08:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813779712001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:10:54] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-19 08:10:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108100379765374976,"km_value":108100379765374.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025495152988243968,"description":"Unknown IO ID 45"} 
[2026-07-19 08:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813779712001,"power":13559,"unknown_135":206,"unknown_85":12288,"ignition":49,"odometer":null,"unknown_45":9025495152988243968}} 
[2026-07-19 08:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":136414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:10:54] local.INFO: GPS data processed {"connection_id":136414,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:10:54] local.INFO: Acknowledgment sent {"connection_id":136414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:11:09] local.INFO: TCP Data received {"connection_id":138753,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:11:09] local.INFO: Processing buffer {"connection_id":138753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:11:09] local.INFO: Packet analysis {"connection_id":138753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783c"} 
[2026-07-19 08:11:09] local.INFO: Extracted packet for processing {"connection_id":138753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783c"} 
[2026-07-19 08:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":43,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813666304001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:11: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-07-19 08:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784428685000,"timestamp_ms":1784428685000,"timestamp_seconds":1784428685,"priority":1,"record_length":96,"hex_timestamp":"0000019f783ce6c8"} 
[2026-07-19 08:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:11: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-07-19 08:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 08:11: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-07-19 08:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:11: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-07-19 08:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813666304001,"66":25615,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813666304001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:11:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813666304001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":138753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:11:09] local.INFO: GPS data processed {"connection_id":138753,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:11:09] local.INFO: Acknowledgment sent {"connection_id":138753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:11:19] local.INFO: TCP Data received {"connection_id":136415,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:11:19] local.INFO: Processing buffer {"connection_id":136415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:11:19] local.INFO: IMEI packet received {"connection_id":136415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":136415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:11:19] local.INFO: TCP Data received {"connection_id":136415,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:11:19] local.INFO: Processing buffer {"connection_id":136415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:11:19] local.INFO: IMEI packet received {"connection_id":136415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":136415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:11:24] local.INFO: TCP Data received {"connection_id":136415,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:11:24] local.INFO: Processing buffer {"connection_id":136415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:11:24] local.INFO: IMEI packet received {"connection_id":136415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":136415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:11:25] local.INFO: TCP Data received {"connection_id":136415,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783f4058012d7d418005c41a280000000216..."} 
[2026-07-19 08:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783f4058012d7d418005c41a280000000216..."} 
[2026-07-19 08:11:25] local.INFO: Processing buffer {"connection_id":136415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783f4058012d7d418005c41a280000000216..."} 
[2026-07-19 08:11:25] local.INFO: Packet analysis {"connection_id":136415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783f"} 
[2026-07-19 08:11:25] local.INFO: Extracted packet for processing {"connection_id":136415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783f"} 
[2026-07-19 08:11:25] local.INFO: GPS Element Parsed {"raw_longitude":763183488,"raw_latitude":96737832,"longitude_deg":76.3183488,"latitude_deg":9.6737832,"altitude":0,"angle":2,"satellites":22,"speed":50,"hex_longitude":"2d7d4180","hex_latitude":"05c41a28","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813780736001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108100865096679424,"note":"Value kept but may cause issues"} 
[2026-07-19 08:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024861834291916800,"note":"Value kept but may cause issues"} 
[2026-07-19 08:11: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-07-19 08:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784428839000,"timestamp_ms":1784428839000,"timestamp_seconds":1784428839,"priority":1,"record_length":96,"hex_timestamp":"0000019f783f4058"} 
[2026-07-19 08:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:11:25] 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-07-19 08: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":247,"data_length":795,"current_offset":136} 
[2026-07-19 08:11: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-07-19 08: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-07-19 08:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813780736001,"66":13624,"135":206,"85":12288,"24":50,"16":108100865096679424,"45":9024861834291916800},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-19 08:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813780736001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:11:25] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-19 08:11:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108100865096679424,"km_value":108100865096679.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024861834291916800,"description":"Unknown IO ID 45"} 
[2026-07-19 08:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813780736001,"power":13624,"unknown_135":206,"unknown_85":12288,"ignition":50,"odometer":null,"unknown_45":9024861834291916800}} 
[2026-07-19 08:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":136415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:11:25] local.INFO: GPS data processed {"connection_id":136415,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:11:25] local.INFO: Acknowledgment sent {"connection_id":136415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:11:32] local.INFO: TCP Data received {"connection_id":136289,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:11:32] local.INFO: Processing buffer {"connection_id":136289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:11:32] local.INFO: IMEI packet received {"connection_id":136289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":136289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:11:37] local.INFO: TCP Data received {"connection_id":136289,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:11:37] local.INFO: Processing buffer {"connection_id":136289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:11:37] local.INFO: IMEI packet received {"connection_id":136289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":136289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:11:38] local.INFO: TCP Data received {"connection_id":136289,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:11:38] local.INFO: Processing buffer {"connection_id":136289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:11:38] local.INFO: Packet analysis {"connection_id":136289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783c"} 
[2026-07-19 08:11:38] local.INFO: Extracted packet for processing {"connection_id":136289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783c"} 
[2026-07-19 08:11:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":43,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813666304001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:11: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-07-19 08:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784428685000,"timestamp_ms":1784428685000,"timestamp_seconds":1784428685,"priority":1,"record_length":96,"hex_timestamp":"0000019f783ce6c8"} 
[2026-07-19 08:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 08:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:11: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-07-19 08:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813666304001,"66":25615,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813666304001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:11:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:11:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813666304001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":136289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:11:38] local.INFO: GPS data processed {"connection_id":136289,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:11:38] local.INFO: Acknowledgment sent {"connection_id":136289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:11:57] local.INFO: TCP Data received {"connection_id":136415,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783f5f98012d7d42c005c43f680000000016..."} 
[2026-07-19 08:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783f5f98012d7d42c005c43f680000000016..."} 
[2026-07-19 08:11:57] local.INFO: Processing buffer {"connection_id":136415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783f5f98012d7d42c005c43f680000000016..."} 
[2026-07-19 08:11:57] local.INFO: Packet analysis {"connection_id":136415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783f"} 
[2026-07-19 08:11:57] local.INFO: Extracted packet for processing {"connection_id":136415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783f"} 
[2026-07-19 08:11:57] local.INFO: GPS Element Parsed {"raw_longitude":763183808,"raw_latitude":96747368,"longitude_deg":76.3183808,"latitude_deg":9.6747368,"altitude":0,"angle":0,"satellites":22,"speed":36,"hex_longitude":"2d7d42c0","hex_latitude":"05c43f68","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813782784001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108101328953147392,"note":"Value kept but may cause issues"} 
[2026-07-19 08:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025635890480424960,"note":"Value kept but may cause issues"} 
[2026-07-19 08:11:57] 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-07-19 08:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784428847000,"timestamp_ms":1784428847000,"timestamp_seconds":1784428847,"priority":1,"record_length":96,"hex_timestamp":"0000019f783f5f98"} 
[2026-07-19 08:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:11:57] 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-07-19 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-19 08:11:57] 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-07-19 08: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-07-19 08:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813782784001,"66":13363,"135":206,"85":12288,"24":36,"16":108101328953147392,"45":9025635890480424960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-19 08:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813782784001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:11:57] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-19 08:11:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108101328953147392,"km_value":108101328953147.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025635890480424960,"description":"Unknown IO ID 45"} 
[2026-07-19 08:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813782784001,"power":13363,"unknown_135":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":9025635890480424960}} 
[2026-07-19 08:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":136415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:11:57] local.INFO: GPS data processed {"connection_id":136415,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:11:57] local.INFO: Acknowledgment sent {"connection_id":136415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:12:09] local.INFO: TCP Data received {"connection_id":136289,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:12:09] local.INFO: Processing buffer {"connection_id":136289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:12:09] local.INFO: Packet analysis {"connection_id":136289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783c"} 
[2026-07-19 08:12:09] local.INFO: Extracted packet for processing {"connection_id":136289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783c"} 
[2026-07-19 08:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":43,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 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-07-19 08:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813666304001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:12: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-07-19 08:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784428685000,"timestamp_ms":1784428685000,"timestamp_seconds":1784428685,"priority":1,"record_length":96,"hex_timestamp":"0000019f783ce6c8"} 
[2026-07-19 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-07-19 08:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 08:12: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-07-19 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-07-19 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-07-19 08:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:12: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-07-19 08:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813666304001,"66":25615,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813666304001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:12:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:12:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813666304001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":136289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:12:09] local.INFO: GPS data processed {"connection_id":136289,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:12:09] local.INFO: Acknowledgment sent {"connection_id":136289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:12:19] local.INFO: TCP Data received {"connection_id":136290,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:12:19] local.INFO: Processing buffer {"connection_id":136290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:12:19] local.INFO: IMEI packet received {"connection_id":136290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":136290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:12:24] local.INFO: TCP Data received {"connection_id":136290,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:12:24] local.INFO: Processing buffer {"connection_id":136290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:12:24] local.INFO: IMEI packet received {"connection_id":136290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":136290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:12:25] local.INFO: TCP Data received {"connection_id":136290,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783fadb8012d7d43c005c455a80002000216..."} 
[2026-07-19 08:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783fadb8012d7d43c005c455a80002000216..."} 
[2026-07-19 08:12:25] local.INFO: Processing buffer {"connection_id":136290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783fadb8012d7d43c005c455a80002000216..."} 
[2026-07-19 08:12:25] local.INFO: Packet analysis {"connection_id":136290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783f"} 
[2026-07-19 08:12:25] local.INFO: Extracted packet for processing {"connection_id":136290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783f"} 
[2026-07-19 08:12:25] local.INFO: GPS Element Parsed {"raw_longitude":763184064,"raw_latitude":96753064,"longitude_deg":76.3184064,"latitude_deg":9.6753064,"altitude":2,"angle":2,"satellites":22,"speed":26,"hex_longitude":"2d7d43c0","hex_latitude":"05c455a8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813784832001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108101621010923520,"note":"Value kept but may cause issues"} 
[2026-07-19 08:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025987734203754496,"note":"Value kept but may cause issues"} 
[2026-07-19 08:12: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-07-19 08:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784428867000,"timestamp_ms":1784428867000,"timestamp_seconds":1784428867,"priority":1,"record_length":96,"hex_timestamp":"0000019f783fadb8"} 
[2026-07-19 08:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:12:25] 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-07-19 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 08:12: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-07-19 08: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-07-19 08:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813784832001,"66":13406,"135":206,"85":12288,"24":26,"16":108101621010923520,"45":9025987734203754496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-19 08:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813784832001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:12:25] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-19 08:12:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108101621010923520,"km_value":108101621010923.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025987734203754496,"description":"Unknown IO ID 45"} 
[2026-07-19 08:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813784832001,"power":13406,"unknown_135":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9025987734203754496}} 
[2026-07-19 08:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":136290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:12:25] local.INFO: GPS data processed {"connection_id":136290,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:12:25] local.INFO: Acknowledgment sent {"connection_id":136290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:12:32] local.INFO: TCP Data received {"connection_id":138754,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:12:32] local.INFO: Processing buffer {"connection_id":138754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:12:32] local.INFO: IMEI packet received {"connection_id":138754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":138754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:12:37] local.INFO: TCP Data received {"connection_id":138754,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:12:37] local.INFO: Processing buffer {"connection_id":138754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:12:37] local.INFO: IMEI packet received {"connection_id":138754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":138754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:12:38] local.INFO: TCP Data received {"connection_id":138754,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:12:38] local.INFO: Processing buffer {"connection_id":138754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:12:38] local.INFO: Packet analysis {"connection_id":138754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783c"} 
[2026-07-19 08:12:38] local.INFO: Extracted packet for processing {"connection_id":138754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783c"} 
[2026-07-19 08:12:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":43,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813666304001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:12: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-07-19 08:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784428685000,"timestamp_ms":1784428685000,"timestamp_seconds":1784428685,"priority":1,"record_length":96,"hex_timestamp":"0000019f783ce6c8"} 
[2026-07-19 08:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 08:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813666304001,"66":25615,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 08:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813666304001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:12:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:12:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813666304001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":138754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:12:38] local.INFO: GPS data processed {"connection_id":138754,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:12:38] local.INFO: Acknowledgment sent {"connection_id":138754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:12:56] local.INFO: TCP Data received {"connection_id":136290,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783fd4c8012d7d458005c47ca00005000116..."} 
[2026-07-19 08:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783fd4c8012d7d458005c47ca00005000116..."} 
[2026-07-19 08:12:56] local.INFO: Processing buffer {"connection_id":136290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783fd4c8012d7d458005c47ca00005000116..."} 
[2026-07-19 08:12:56] local.INFO: Packet analysis {"connection_id":136290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783f"} 
[2026-07-19 08:12:56] local.INFO: Extracted packet for processing {"connection_id":136290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783f"} 
[2026-07-19 08:12:56] local.INFO: GPS Element Parsed {"raw_longitude":763184512,"raw_latitude":96763040,"longitude_deg":76.3184512,"latitude_deg":9.676304,"altitude":5,"angle":1,"satellites":22,"speed":45,"hex_longitude":"2d7d4580","hex_latitude":"05c47ca0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813789952001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108102106342227968,"note":"Value kept but may cause issues"} 
[2026-07-19 08:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026269209181923328,"note":"Value kept but may cause issues"} 
[2026-07-19 08:12:56] 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-07-19 08:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784428877000,"timestamp_ms":1784428877000,"timestamp_seconds":1784428877,"priority":1,"record_length":96,"hex_timestamp":"0000019f783fd4c8"} 
[2026-07-19 08:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:12: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-07-19 08: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":94,"data_length":795,"current_offset":136} 
[2026-07-19 08:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813789952001,"66":13439,"135":206,"85":12288,"24":45,"16":108102106342227968,"45":9026269209181923328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-19 08:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813789952001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:12:56] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-19 08:12:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108102106342227968,"km_value":108102106342227.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026269209181923328,"description":"Unknown IO ID 45"} 
[2026-07-19 08:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813789952001,"power":13439,"unknown_135":206,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":9026269209181923328}} 
[2026-07-19 08:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":136290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:12:56] local.INFO: GPS data processed {"connection_id":136290,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:12:56] local.INFO: Acknowledgment sent {"connection_id":136290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:13:09] local.INFO: TCP Data received {"connection_id":138754,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:13:09] local.INFO: Processing buffer {"connection_id":138754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:13:09] local.INFO: Packet analysis {"connection_id":138754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783c"} 
[2026-07-19 08:13:09] local.INFO: Extracted packet for processing {"connection_id":138754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783c"} 
[2026-07-19 08:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":43,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813666304001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:13: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-07-19 08:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784428685000,"timestamp_ms":1784428685000,"timestamp_seconds":1784428685,"priority":1,"record_length":96,"hex_timestamp":"0000019f783ce6c8"} 
[2026-07-19 08:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 08:13: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-07-19 08: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-07-19 08:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813666304001,"66":25615,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 08:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813666304001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:13:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:13:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813666304001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":138754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:13:09] local.INFO: GPS data processed {"connection_id":138754,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:13:09] local.INFO: Acknowledgment sent {"connection_id":138754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:13:19] local.INFO: TCP Data received {"connection_id":138755,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138755,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:13:19] local.INFO: Processing buffer {"connection_id":138755,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:13:19] local.INFO: IMEI packet received {"connection_id":138755,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":138755,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:13:23] local.INFO: TCP Data received {"connection_id":138755,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138755,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:13:23] local.INFO: Processing buffer {"connection_id":138755,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:13:23] local.INFO: IMEI packet received {"connection_id":138755,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":138755,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:13:24] local.INFO: TCP Data received {"connection_id":138755,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138755,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:13:24] local.INFO: Processing buffer {"connection_id":138755,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:13:24] local.INFO: IMEI packet received {"connection_id":138755,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":138755,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:13:24] local.INFO: TCP Data received {"connection_id":138755,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783ff7f0012d7d4a0005c4a1a80006000416..."} 
[2026-07-19 08:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783ff7f0012d7d4a0005c4a1a80006000416..."} 
[2026-07-19 08:13:24] local.INFO: Processing buffer {"connection_id":138755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783ff7f0012d7d4a0005c4a1a80006000416..."} 
[2026-07-19 08:13:24] local.INFO: Packet analysis {"connection_id":138755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783f"} 
[2026-07-19 08:13:24] local.INFO: Extracted packet for processing {"connection_id":138755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783f"} 
[2026-07-19 08:13:24] local.INFO: GPS Element Parsed {"raw_longitude":763185664,"raw_latitude":96772520,"longitude_deg":76.3185664,"latitude_deg":9.677252,"altitude":6,"angle":4,"satellites":22,"speed":40,"hex_longitude":"2d7d4a00","hex_latitude":"05c4a1a8","is_valid_coordinates":true} 
[2026-07-19 08:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813792512001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108102570198695936,"note":"Value kept but may cause issues"} 
[2026-07-19 08:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026761790393720832,"note":"Value kept but may cause issues"} 
[2026-07-19 08:13:24] 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-07-19 08:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784428886000,"timestamp_ms":1784428886000,"timestamp_seconds":1784428886,"priority":1,"record_length":96,"hex_timestamp":"0000019f783ff7f0"} 
[2026-07-19 08:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-07-19 08:13:24] 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-07-19 08:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":138755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":138755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":138755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813792512001,"66":13363,"135":206,"85":12288,"24":40,"16":108102570198695936,"45":9026761790393720832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-19 08:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813792512001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:13:24] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-19 08:13:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108102570198695936,"km_value":108102570198695.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026761790393720832,"description":"Unknown IO ID 45"} 
[2026-07-19 08:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813792512001,"power":13363,"unknown_135":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":9026761790393720832}} 
[2026-07-19 08:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":138755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:13:24] local.INFO: GPS data processed {"connection_id":138755,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:13:24] local.INFO: Acknowledgment sent {"connection_id":138755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:13:30] local.INFO: TCP Data received {"connection_id":138755,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78401730012d7d49c005c4c7e80006016516..."} 
[2026-07-19 08:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78401730012d7d49c005c4c7e80006016516..."} 
[2026-07-19 08:13:30] local.INFO: Processing buffer {"connection_id":138755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78401730012d7d49c005c4c7e80006016516..."} 
[2026-07-19 08:13:30] local.INFO: Packet analysis {"connection_id":138755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7840"} 
[2026-07-19 08:13:30] local.INFO: Extracted packet for processing {"connection_id":138755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7840"} 
[2026-07-19 08:13:30] local.INFO: GPS Element Parsed {"raw_longitude":763185600,"raw_latitude":96782312,"longitude_deg":76.31856,"latitude_deg":9.6782312,"altitude":6,"angle":357,"satellites":22,"speed":53,"hex_longitude":"2d7d49c0","hex_latitude":"05c4c7e8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813794816001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108103042645098496,"note":"Value kept but may cause issues"} 
[2026-07-19 08:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427791345664,"note":"Value kept but may cause issues"} 
[2026-07-19 08:13:30] 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-07-19 08:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784428894000,"timestamp_ms":1784428894000,"timestamp_seconds":1784428894,"priority":1,"record_length":96,"hex_timestamp":"0000019f78401730"} 
[2026-07-19 08:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08: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":51,"data_length":795,"current_offset":136} 
[2026-07-19 08:13:30] 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-07-19 08: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-07-19 08:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":138755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":138755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":138755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813794816001,"66":13319,"135":206,"85":12288,"24":53,"16":108103042645098496,"45":9028028427791345664},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-19 08:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813794816001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:13:30] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-19 08:13:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108103042645098496,"km_value":108103042645098.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427791345664,"description":"Unknown IO ID 45"} 
[2026-07-19 08:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813794816001,"power":13319,"unknown_135":206,"unknown_85":12288,"ignition":53,"odometer":null,"unknown_45":9028028427791345664}} 
[2026-07-19 08:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":138755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:13:30] local.INFO: GPS data processed {"connection_id":138755,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:13:30] local.INFO: Acknowledgment sent {"connection_id":138755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:13:32] local.INFO: TCP Data received {"connection_id":137345,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:13:32] local.INFO: Processing buffer {"connection_id":137345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:13:32] local.INFO: IMEI packet received {"connection_id":137345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":137345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:13:37] local.INFO: TCP Data received {"connection_id":137345,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:13:37] local.INFO: Processing buffer {"connection_id":137345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:13:37] local.INFO: IMEI packet received {"connection_id":137345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":137345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:13:38] local.INFO: TCP Data received {"connection_id":137345,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:13:38] local.INFO: Processing buffer {"connection_id":137345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f783ce6c8012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:13:38] local.INFO: Packet analysis {"connection_id":137345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f783c"} 
[2026-07-19 08:13:38] local.INFO: Extracted packet for processing {"connection_id":137345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f783c"} 
[2026-07-19 08:13:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":43,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813666304001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:13: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-07-19 08:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784428685000,"timestamp_ms":1784428685000,"timestamp_seconds":1784428685,"priority":1,"record_length":96,"hex_timestamp":"0000019f783ce6c8"} 
[2026-07-19 08:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 08:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813666304001,"66":25615,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 08:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813666304001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:13:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:13:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813666304001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":137345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:13:38] local.INFO: GPS data processed {"connection_id":137345,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:13:38] local.INFO: Acknowledgment sent {"connection_id":137345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:14:01] local.INFO: TCP Data received {"connection_id":138755,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78403288012d7d484005c4ed180006016116..."} 
[2026-07-19 08:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78403288012d7d484005c4ed180006016116..."} 
[2026-07-19 08:14:01] local.INFO: Processing buffer {"connection_id":138755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78403288012d7d484005c4ed180006016116..."} 
[2026-07-19 08:14:01] local.INFO: Packet analysis {"connection_id":138755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7840"} 
[2026-07-19 08:14:01] local.INFO: Extracted packet for processing {"connection_id":138755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7840"} 
[2026-07-19 08:14:01] local.INFO: GPS Element Parsed {"raw_longitude":763185216,"raw_latitude":96791832,"longitude_deg":76.3185216,"latitude_deg":9.6791832,"altitude":6,"angle":353,"satellites":22,"speed":52,"hex_longitude":"2d7d4840","hex_latitude":"05c4ed18","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813796864001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108103506501566464,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027958059049674752,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:01] 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-07-19 08:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784428901000,"timestamp_ms":1784428901000,"timestamp_seconds":1784428901,"priority":1,"record_length":96,"hex_timestamp":"0000019f78403288"} 
[2026-07-19 08:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08: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-07-19 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-19 08:14:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:01] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57887668013258032,"corrected_to":0} 
[2026-07-19 08:14:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3287494656,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:01] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2827419854,"corrected_to":0} 
[2026-07-19 08:14:01] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2147861530,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:01] local.WARNING: Large IO value detected {"io_id":63,"raw_value":1258757390736621573,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:01] local.WARNING: Large IO value detected {"io_id":195,"raw_value":-2321605599296809472,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:01] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,135,85,24,241,157,16,15,159,247,45,161,6,22,10,66,14,212,128,124,5,173,192,1,240,94,227,13,120,196,4,113,205,36,64,65,40,239,53,2,49,63,195],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":247,"original":57887668013258032,"validated":0},{"io_id":205,"original":2827419854,"validated":0}]} 
[2026-07-19 08:14:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432738184371437568,"timestamp_seconds":432738184371437.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 08:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":138755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":138755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":138755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813796864001,"66":13656,"227":206,"85":12288,"24":52,"16":108103506501566464,"45":9027958059049674752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-07-19 08:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813796864001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:14:01] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-19 08:14:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108103506501566464,"km_value":108103506501566.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027958059049674752,"description":"Unknown IO ID 45"} 
[2026-07-19 08:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813796864001,"power":13656,"unknown_227":206,"unknown_85":12288,"ignition":52,"odometer":null,"unknown_45":9027958059049674752}} 
[2026-07-19 08:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":138755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:14:01] local.INFO: GPS data processed {"connection_id":138755,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:14:01] local.INFO: Acknowledgment sent {"connection_id":138755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:14:09] local.INFO: TCP Data received {"connection_id":137345,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78417e90012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78417e90012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:14:09] local.INFO: Processing buffer {"connection_id":137345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78417e90012d34c2c006aa4140000701002b..."} 
[2026-07-19 08:14:09] local.INFO: Packet analysis {"connection_id":137345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7841"} 
[2026-07-19 08:14:09] local.INFO: Extracted packet for processing {"connection_id":137345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7841"} 
[2026-07-19 08:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":43,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813743360001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14: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-07-19 08:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784428986000,"timestamp_ms":1784428986000,"timestamp_seconds":1784428986,"priority":1,"record_length":96,"hex_timestamp":"0000019f78417e90"} 
[2026-07-19 08:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":15,"data_length":795,"current_offset":136} 
[2026-07-19 08:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813743360001,"66":25625,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 08:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813743360001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:14:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813743360001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":137345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:14:09] local.INFO: GPS data processed {"connection_id":137345,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:14:09] local.INFO: Acknowledgment sent {"connection_id":137345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:14:24] local.INFO: TCP Data received {"connection_id":136291,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:14:24] local.INFO: Processing buffer {"connection_id":136291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:14:24] local.INFO: IMEI packet received {"connection_id":136291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":136291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:14:25] local.INFO: TCP Data received {"connection_id":136291,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:14:25] local.INFO: Processing buffer {"connection_id":136291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:14:25] local.INFO: IMEI packet received {"connection_id":136291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":136291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:14:26] local.INFO: TCP Data received {"connection_id":136291,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78421300012d7d340005c63e980005000517..."} 
[2026-07-19 08:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78421300012d7d340005c63e980005000517..."} 
[2026-07-19 08:14:26] local.INFO: Processing buffer {"connection_id":136291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78421300012d7d340005c63e980005000517..."} 
[2026-07-19 08:14:26] local.INFO: Packet analysis {"connection_id":136291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7842"} 
[2026-07-19 08:14:26] local.INFO: Extracted packet for processing {"connection_id":136291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7842"} 
[2026-07-19 08:14:26] local.INFO: GPS Element Parsed {"raw_longitude":763180032,"raw_latitude":96878232,"longitude_deg":76.3180032,"latitude_deg":9.6878232,"altitude":5,"angle":5,"satellites":23,"speed":7,"hex_longitude":"2d7d3400","hex_latitude":"05c63e98","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813829120001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108107724159451136,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021695240842196992,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:26] 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-07-19 08:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784429024000,"timestamp_ms":1784429024000,"timestamp_seconds":1784429024,"priority":1,"record_length":96,"hex_timestamp":"0000019f78421300"} 
[2026-07-19 08:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:14: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-07-19 08: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":149,"data_length":795,"current_offset":136} 
[2026-07-19 08:14:26] 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-07-19 08: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-07-19 08:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":136291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":136291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":136291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813829120001,"66":13526,"229":206,"85":12288,"24":7,"16":108107724159451136,"45":9021695240842196992},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813829120001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:14:26] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:14:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108107724159451136,"km_value":108107724159451.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021695240842196992,"description":"Unknown IO ID 45"} 
[2026-07-19 08:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813829120001,"power":13526,"unknown_229":206,"unknown_85":12288,"ignition":7,"odometer":null,"unknown_45":9021695240842196992}} 
[2026-07-19 08:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":136291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:14:26] local.INFO: GPS data processed {"connection_id":136291,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:14:26] local.INFO: Acknowledgment sent {"connection_id":136291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:14:29] local.INFO: TCP Data received {"connection_id":136291,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78426120012d7d374005c65b680005000517..."} 
[2026-07-19 08:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78426120012d7d374005c65b680005000517..."} 
[2026-07-19 08:14:29] local.INFO: Processing buffer {"connection_id":136291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78426120012d7d374005c65b680005000517..."} 
[2026-07-19 08:14:29] local.INFO: Packet analysis {"connection_id":136291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7842"} 
[2026-07-19 08:14:29] local.INFO: Extracted packet for processing {"connection_id":136291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7842"} 
[2026-07-19 08:14:29] local.INFO: GPS Element Parsed {"raw_longitude":763180864,"raw_latitude":96885608,"longitude_deg":76.3180864,"latitude_deg":9.6885608,"altitude":5,"angle":5,"satellites":23,"speed":29,"hex_longitude":"2d7d3740","hex_latitude":"05c65b68","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813830144001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108108089231671296,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021835978330773504,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:29] 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-07-19 08:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784429044000,"timestamp_ms":1784429044000,"timestamp_seconds":1784429044,"priority":1,"record_length":96,"hex_timestamp":"0000019f78426120"} 
[2026-07-19 08:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08: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-07-19 08: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-19 08:14: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-07-19 08: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-07-19 08:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":136291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":136291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":136291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813830144001,"66":13559,"229":206,"85":12288,"24":29,"16":108108089231671296,"45":9021835978330773504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813830144001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:14:29] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:14:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108108089231671296,"km_value":108108089231671.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021835978330773504,"description":"Unknown IO ID 45"} 
[2026-07-19 08:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813830144001,"power":13559,"unknown_229":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":9021835978330773504}} 
[2026-07-19 08:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":136291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:14:29] local.INFO: GPS data processed {"connection_id":136291,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:14:29] local.INFO: Acknowledgment sent {"connection_id":136291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:14:37] local.INFO: TCP Data received {"connection_id":138757,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:14:37] local.INFO: Processing buffer {"connection_id":138757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:14:37] local.INFO: IMEI packet received {"connection_id":138757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":138757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:14:41] local.INFO: TCP Data received {"connection_id":138757,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:14:41] local.INFO: Processing buffer {"connection_id":138757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:14:41] local.INFO: IMEI packet received {"connection_id":138757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":138757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:14:41] local.INFO: TCP Data received {"connection_id":138757,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78425950012d34c2c006aa41400007010029..."} 
[2026-07-19 08:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78425950012d34c2c006aa41400007010029..."} 
[2026-07-19 08:14:41] local.INFO: Processing buffer {"connection_id":138757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78425950012d34c2c006aa41400007010029..."} 
[2026-07-19 08:14:41] local.INFO: Packet analysis {"connection_id":138757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7842"} 
[2026-07-19 08:14:41] local.INFO: Extracted packet for processing {"connection_id":138757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7842"} 
[2026-07-19 08:14:41] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":41,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813820416001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784429042000,"timestamp_ms":1784429042000,"timestamp_seconds":1784429042,"priority":1,"record_length":96,"hex_timestamp":"0000019f78425950"} 
[2026-07-19 08:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 08:14: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-07-19 08:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":138757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":138757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":138757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813820416001,"66":25582,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 08:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813820416001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:14:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:14:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813820416001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":138757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:14:41] local.INFO: GPS data processed {"connection_id":138757,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:14:41] local.INFO: Acknowledgment sent {"connection_id":138757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:14:42] local.INFO: TCP Data received {"connection_id":138757,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78425950012d34c2c006aa41400007010029..."} 
[2026-07-19 08:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78425950012d34c2c006aa41400007010029..."} 
[2026-07-19 08:14:42] local.INFO: Processing buffer {"connection_id":138757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78425950012d34c2c006aa41400007010029..."} 
[2026-07-19 08:14:42] local.INFO: Packet analysis {"connection_id":138757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7842"} 
[2026-07-19 08:14:42] local.INFO: Extracted packet for processing {"connection_id":138757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7842"} 
[2026-07-19 08:14:42] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821120,"longitude_deg":75.8432448,"latitude_deg":11.182112,"altitude":7,"angle":256,"satellites":41,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-07-19 08:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813820416001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784429042000,"timestamp_ms":1784429042000,"timestamp_seconds":1784429042,"priority":1,"record_length":96,"hex_timestamp":"0000019f78425950"} 
[2026-07-19 08:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 08:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":138757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":138757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":138757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813820416001,"66":25582,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 08:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813820416001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:14:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:14:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813820416001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":138757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:14:42] local.INFO: GPS data processed {"connection_id":138757,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:14:42] local.INFO: Acknowledgment sent {"connection_id":138757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:15:01] local.INFO: TCP Data received {"connection_id":136291,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78429000012d7d3b0005c680a00006000519..."} 
[2026-07-19 08:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78429000012d7d3b0005c680a00006000519..."} 
[2026-07-19 08:15:01] local.INFO: Processing buffer {"connection_id":136291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78429000012d7d3b0005c680a00006000519..."} 
[2026-07-19 08:15:01] local.INFO: Packet analysis {"connection_id":136291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7842"} 
[2026-07-19 08:15:01] local.INFO: Extracted packet for processing {"connection_id":136291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7842"} 
[2026-07-19 08:15:01] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":96895136,"longitude_deg":76.3181824,"latitude_deg":9.6895136,"altitude":6,"angle":5,"satellites":25,"speed":33,"hex_longitude":"2d7d3b00","hex_latitude":"05c680a0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813835264001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108108553088139264,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022750772006971392,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15: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-07-19 08:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784429056000,"timestamp_ms":1784429056000,"timestamp_seconds":1784429056,"priority":1,"record_length":96,"hex_timestamp":"0000019f78429000"} 
[2026-07-19 08:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:15: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-07-19 08: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-19 08:15:01] 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-07-19 08: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-07-19 08:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813835264001,"66":13330,"229":206,"85":12288,"24":33,"16":108108553088139264,"45":9022750772006971392},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813835264001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:15:01] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:15:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108108553088139264,"km_value":108108553088139.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022750772006971392,"description":"Unknown IO ID 45"} 
[2026-07-19 08:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813835264001,"power":13330,"unknown_229":206,"unknown_85":12288,"ignition":33,"odometer":null,"unknown_45":9022750772006971392}} 
[2026-07-19 08:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":136291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:15:01] local.INFO: GPS data processed {"connection_id":136291,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:15:01] local.INFO: Acknowledgment sent {"connection_id":136291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:15:14] local.INFO: TCP Data received {"connection_id":138757,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78426508012d34c0c006aa40c00007010c2a..."} 
[2026-07-19 08:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78426508012d34c0c006aa40c00007010c2a..."} 
[2026-07-19 08:15:14] local.INFO: Processing buffer {"connection_id":138757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78426508012d34c0c006aa40c00007010c2a..."} 
[2026-07-19 08:15:14] local.INFO: Packet analysis {"connection_id":138757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7842"} 
[2026-07-19 08:15:14] local.INFO: Extracted packet for processing {"connection_id":138757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7842"} 
[2026-07-19 08:15:14] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111820992,"longitude_deg":75.8431936,"latitude_deg":11.1820992,"altitude":7,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa40c0","is_valid_coordinates":true} 
[2026-07-19 08:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813834752001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312859648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15: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-07-19 08:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784429045000,"timestamp_ms":1784429045000,"timestamp_seconds":1784429045,"priority":1,"record_length":96,"hex_timestamp":"0000019f78426508"} 
[2026-07-19 08:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 08:15:14] 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-07-19 08:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":138757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":138757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":138757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813834752001,"66":25430,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801812170312859648},"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-07-19 08:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813834752001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:15:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:15:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312859648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813834752001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312859648}} 
[2026-07-19 08:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":138757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:15:14] local.INFO: GPS data processed {"connection_id":138757,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:15:14] local.INFO: Acknowledgment sent {"connection_id":138757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:15:19] local.INFO: TCP Data received {"connection_id":136293,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:15:19] local.INFO: Processing buffer {"connection_id":136293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:15:19] local.INFO: IMEI packet received {"connection_id":136293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":136293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:15:24] local.INFO: TCP Data received {"connection_id":136293,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:15:24] local.INFO: Processing buffer {"connection_id":136293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:15:24] local.INFO: IMEI packet received {"connection_id":136293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":136293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:15:25] local.INFO: TCP Data received {"connection_id":136293,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7842ab58012d7d3bc005c68fb00005015b19..."} 
[2026-07-19 08:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7842ab58012d7d3bc005c68fb00005015b19..."} 
[2026-07-19 08:15:25] local.INFO: Processing buffer {"connection_id":136293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7842ab58012d7d3bc005c68fb00005015b19..."} 
[2026-07-19 08:15:25] local.INFO: Packet analysis {"connection_id":136293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7842"} 
[2026-07-19 08:15:25] local.INFO: Extracted packet for processing {"connection_id":136293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7842"} 
[2026-07-19 08:15:25] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":96898992,"longitude_deg":76.3182016,"latitude_deg":9.6898992,"altitude":5,"angle":347,"satellites":25,"speed":19,"hex_longitude":"2d7d3bc0","hex_latitude":"05c68fb0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813838336001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108108742066700288,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023806303172075520,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15: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-07-19 08:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784429063000,"timestamp_ms":1784429063000,"timestamp_seconds":1784429063,"priority":1,"record_length":96,"hex_timestamp":"0000019f7842ab58"} 
[2026-07-19 08:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08: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-07-19 08: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":18,"data_length":795,"current_offset":136} 
[2026-07-19 08:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3319316480,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277847572148232184,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1508180174,"corrected_to":0} 
[2026-07-19 08:15:25] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376793,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:25] local.WARNING: Large IO value detected {"io_id":27,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:25] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57801201731654960,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:25] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2927341052677210117,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:25] local.WARNING: Large IO value detected {"io_id":197,"raw_value":-5339017328160401920,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:25] local.WARNING: Large IO value detected {"io_id":89,"raw_value":-2089443361827055616,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:25] local.WARNING: Large IO value detected {"io_id":70,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:25] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,229,85,24,241,157,16,20,159,97,45,64,91,5,23,10,66,19,62,3,128,1,240,149,227,120,198,4,113,205,33,146,49,160,22,239,52,2,27,29,65,197,89,70],"length":626,"final_offset":756,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1508180174,"validated":0}]} 
[2026-07-19 08:15:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432351169162051584,"timestamp_seconds":432351169162051.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 08:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813838336001,"66":13363,"229":206,"85":12288,"24":19,"16":108108742066700288,"45":9023806303172075520},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813838336001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:15:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:15:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108108742066700288,"km_value":108108742066700.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023806303172075520,"description":"Unknown IO ID 45"} 
[2026-07-19 08:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813838336001,"power":13363,"unknown_229":206,"unknown_85":12288,"ignition":19,"odometer":null,"unknown_45":9023806303172075520}} 
[2026-07-19 08:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":136293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:15:25] local.INFO: GPS data processed {"connection_id":136293,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:15:25] local.INFO: Acknowledgment sent {"connection_id":136293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:15:29] local.INFO: TCP Data received {"connection_id":136293,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7842d268012d7d314005c6ac680006014e19..."} 
[2026-07-19 08:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7842d268012d7d314005c6ac680006014e19..."} 
[2026-07-19 08:15:29] local.INFO: Processing buffer {"connection_id":136293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7842d268012d7d314005c6ac680006014e19..."} 
[2026-07-19 08:15:29] local.INFO: Packet analysis {"connection_id":136293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7842"} 
[2026-07-19 08:15:29] local.INFO: Extracted packet for processing {"connection_id":136293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7842"} 
[2026-07-19 08:15:29] local.INFO: GPS Element Parsed {"raw_longitude":763179328,"raw_latitude":96906344,"longitude_deg":76.3179328,"latitude_deg":9.6906344,"altitude":6,"angle":334,"satellites":25,"speed":35,"hex_longitude":"2d7d3140","hex_latitude":"05c6ac68","is_valid_coordinates":true} 
[2026-07-19 08:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813840128001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108109120023822336,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409405595648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:29] 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-07-19 08:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784429073000,"timestamp_ms":1784429073000,"timestamp_seconds":1784429073,"priority":1,"record_length":96,"hex_timestamp":"0000019f7842d268"} 
[2026-07-19 08:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:15: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-07-19 08:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 08:15:29] 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-07-19 08:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":136293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":136293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":136293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813840128001,"66":13406,"229":206,"85":12288,"24":35,"16":108109120023822336,"45":9024017409405595648},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813840128001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:15:29] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:15:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108109120023822336,"km_value":108109120023822.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409405595648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813840128001,"power":13406,"unknown_229":206,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":9024017409405595648}} 
[2026-07-19 08:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":136293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:15:29] local.INFO: GPS data processed {"connection_id":136293,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:15:29] local.INFO: Acknowledgment sent {"connection_id":136293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:15:32] local.INFO: TCP Data received {"connection_id":138759,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:15:32] local.INFO: Processing buffer {"connection_id":138759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:15:32] local.INFO: IMEI packet received {"connection_id":138759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":138759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:15:34] local.INFO: TCP Data received {"connection_id":138759,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:15:34] local.INFO: Processing buffer {"connection_id":138759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:15:34] local.INFO: IMEI packet received {"connection_id":138759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":138759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:15:36] local.INFO: TCP Data received {"connection_id":138759,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:15:36] local.INFO: Processing buffer {"connection_id":138759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:15:36] local.INFO: IMEI packet received {"connection_id":138759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":138759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:15:37] local.INFO: TCP Data received {"connection_id":138759,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7842b710012d34c0c006aa40c00007010c2b..."} 
[2026-07-19 08:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7842b710012d34c0c006aa40c00007010c2b..."} 
[2026-07-19 08:15:37] local.INFO: Processing buffer {"connection_id":138759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7842b710012d34c0c006aa40c00007010c2b..."} 
[2026-07-19 08:15:37] local.INFO: Packet analysis {"connection_id":138759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7842"} 
[2026-07-19 08:15:37] local.INFO: Extracted packet for processing {"connection_id":138759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7842"} 
[2026-07-19 08:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111820992,"longitude_deg":75.8431936,"latitude_deg":11.1820992,"altitude":7,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa40c0","is_valid_coordinates":true} 
[2026-07-19 08:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813835520001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359405568,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15: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-07-19 08:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784429066000,"timestamp_ms":1784429066000,"timestamp_seconds":1784429066,"priority":1,"record_length":96,"hex_timestamp":"0000019f7842b710"} 
[2026-07-19 08:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 08:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813835520001,"66":27865,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801249220359405568},"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-07-19 08:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813835520001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359405568,"description":"Unknown IO ID 45"} 
[2026-07-19 08:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813835520001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359405568}} 
[2026-07-19 08:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":138759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:15:37] local.INFO: GPS data processed {"connection_id":138759,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:15:37] local.INFO: Acknowledgment sent {"connection_id":138759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:15:38] local.INFO: TCP Data received {"connection_id":138759,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78430918012d34c0c006aa40c00007010c2b..."} 
[2026-07-19 08:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78430918012d34c0c006aa40c00007010c2b..."} 
[2026-07-19 08:15:38] local.INFO: Processing buffer {"connection_id":138759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78430918012d34c0c006aa40c00007010c2b..."} 
[2026-07-19 08:15:38] local.INFO: Packet analysis {"connection_id":138759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:15:38] local.INFO: Extracted packet for processing {"connection_id":138759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:15:38] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111820992,"longitude_deg":75.8431936,"latitude_deg":11.1820992,"altitude":7,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa40c0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813840896001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306838621913088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359405568,"note":"Value kept but may cause issues"} 
[2026-07-19 08:15: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-07-19 08:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784429087000,"timestamp_ms":1784429087000,"timestamp_seconds":1784429087,"priority":1,"record_length":96,"hex_timestamp":"0000019f78430918"} 
[2026-07-19 08:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08: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":217,"data_length":795,"current_offset":136} 
[2026-07-19 08:15: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-07-19 08: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-07-19 08:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813840896001,"66":27767,"97":206,"81":23296,"24":0,"16":352306838621913088,"45":3801249220359405568},"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-07-19 08:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813840896001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:15:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:15:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306838621913088,"km_value":352306838621913.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359405568,"description":"Unknown IO ID 45"} 
[2026-07-19 08:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813840896001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359405568}} 
[2026-07-19 08:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":138759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:15:38] local.INFO: GPS data processed {"connection_id":138759,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:15:38] local.INFO: Acknowledgment sent {"connection_id":138759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:15:52] local.INFO: TCP Data received {"connection_id":138758,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:15:52] local.INFO: Processing buffer {"connection_id":138758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:15:52] local.INFO: IMEI packet received {"connection_id":138758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 08:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":138758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:16:00] local.INFO: TCP Data received {"connection_id":136293,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7842f1a8012d7d284005c6c2c80003015f1a..."} 
[2026-07-19 08:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7842f1a8012d7d284005c6c2c80003015f1a..."} 
[2026-07-19 08:16:00] local.INFO: Processing buffer {"connection_id":136293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7842f1a8012d7d284005c6c2c80003015f1a..."} 
[2026-07-19 08:16:00] local.INFO: Packet analysis {"connection_id":136293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7842"} 
[2026-07-19 08:16:00] local.INFO: Extracted packet for processing {"connection_id":136293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7842"} 
[2026-07-19 08:16:00] local.INFO: GPS Element Parsed {"raw_longitude":763177024,"raw_latitude":96912072,"longitude_deg":76.3177024,"latitude_deg":9.6912072,"altitude":3,"angle":351,"satellites":26,"speed":25,"hex_longitude":"2d7d2840","hex_latitude":"05c6c2c8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813842688001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108109420671533056,"note":"Value kept but may cause issues"} 
[2026-07-19 08:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021061922152015872,"note":"Value kept but may cause issues"} 
[2026-07-19 08:16: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-07-19 08:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784429081000,"timestamp_ms":1784429081000,"timestamp_seconds":1784429081,"priority":1,"record_length":96,"hex_timestamp":"0000019f7842f1a8"} 
[2026-07-19 08:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:16: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-07-19 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-19 08:16: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-07-19 08: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-07-19 08:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":136293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":136293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":136293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813842688001,"66":13624,"229":206,"85":12288,"24":25,"16":108109420671533056,"45":9021061922152015872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813842688001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:16:00] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:16:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108109420671533056,"km_value":108109420671533.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021061922152015872,"description":"Unknown IO ID 45"} 
[2026-07-19 08:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813842688001,"power":13624,"unknown_229":206,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":9021061922152015872}} 
[2026-07-19 08:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":136293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:16:00] local.INFO: GPS data processed {"connection_id":136293,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:16:00] local.INFO: Acknowledgment sent {"connection_id":136293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:16:09] local.INFO: TCP Data received {"connection_id":138759,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f784314d0012d34c10006aa41300006003b2b..."} 
[2026-07-19 08:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784314d0012d34c10006aa41300006003b2b..."} 
[2026-07-19 08:16:09] local.INFO: Processing buffer {"connection_id":138759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784314d0012d34c10006aa41300006003b2b..."} 
[2026-07-19 08:16:09] local.INFO: Packet analysis {"connection_id":138759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:16:09] local.INFO: Extracted packet for processing {"connection_id":138759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758432000,"raw_latitude":111821104,"longitude_deg":75.8432,"latitude_deg":11.1821104,"altitude":6,"angle":59,"satellites":43,"speed":1,"hex_longitude":"2d34c100","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-07-19 08:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813846272001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306842916880384,"note":"Value kept but may cause issues"} 
[2026-07-19 08:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359405568,"note":"Value kept but may cause issues"} 
[2026-07-19 08:16: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-07-19 08:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784429090000,"timestamp_ms":1784429090000,"timestamp_seconds":1784429090,"priority":1,"record_length":96,"hex_timestamp":"0000019f784314d0"} 
[2026-07-19 08:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:16: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-07-19 08:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-19 08:16: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-07-19 08:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813846272001,"66":27995,"97":206,"81":23296,"24":1,"16":352306842916880384,"45":3801249220359405568},"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-07-19 08:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813846272001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306842916880384,"km_value":352306842916880.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359405568,"description":"Unknown IO ID 45"} 
[2026-07-19 08:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813846272001,"power":27995,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3801249220359405568}} 
[2026-07-19 08:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":138759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:16:09] local.INFO: GPS data processed {"connection_id":138759,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:16:09] local.INFO: Acknowledgment sent {"connection_id":138759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:16:19] local.INFO: TCP Data received {"connection_id":136294,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:16:19] local.INFO: Processing buffer {"connection_id":136294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:16:19] local.INFO: IMEI packet received {"connection_id":136294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":136294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:16:19] local.INFO: TCP Data received {"connection_id":136294,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:16:19] local.INFO: Processing buffer {"connection_id":136294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:16:19] local.INFO: IMEI packet received {"connection_id":136294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":136294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:16:24] local.INFO: TCP Data received {"connection_id":136294,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:16:24] local.INFO: Processing buffer {"connection_id":136294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:16:24] local.INFO: IMEI packet received {"connection_id":136294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":136294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:16:25] local.INFO: TCP Data received {"connection_id":136294,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f784314d0012d7d264005c6df90000200011a..."} 
[2026-07-19 08:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784314d0012d7d264005c6df90000200011a..."} 
[2026-07-19 08:16:25] local.INFO: Processing buffer {"connection_id":136294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784314d0012d7d264005c6df90000200011a..."} 
[2026-07-19 08:16:25] local.INFO: Packet analysis {"connection_id":136294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:16:25] local.INFO: Extracted packet for processing {"connection_id":136294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:16:25] local.INFO: GPS Element Parsed {"raw_longitude":763176512,"raw_latitude":96919440,"longitude_deg":76.3176512,"latitude_deg":9.691944,"altitude":2,"angle":1,"satellites":26,"speed":35,"hex_longitude":"2d7d2640","hex_latitude":"05c6df90","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813844736001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108109781448785920,"note":"Value kept but may cause issues"} 
[2026-07-19 08:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018528647363086336,"note":"Value kept but may cause issues"} 
[2026-07-19 08: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-07-19 08:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784429090000,"timestamp_ms":1784429090000,"timestamp_seconds":1784429090,"priority":1,"record_length":96,"hex_timestamp":"0000019f784314d0"} 
[2026-07-19 08:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:16:25] 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-07-19 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-19 08:16: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-07-19 08: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-07-19 08:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813844736001,"66":13515,"229":206,"85":12288,"24":35,"16":108109781448785920,"45":9018528647363086336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813844736001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:16:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:16:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108109781448785920,"km_value":108109781448785.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018528647363086336,"description":"Unknown IO ID 45"} 
[2026-07-19 08:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813844736001,"power":13515,"unknown_229":206,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":9018528647363086336}} 
[2026-07-19 08:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":136294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:16:25] local.INFO: GPS data processed {"connection_id":136294,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:16:25] local.INFO: Acknowledgment sent {"connection_id":136294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:16:27] local.INFO: TCP Data received {"connection_id":136295,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:16:27] local.INFO: Processing buffer {"connection_id":136295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:16:27] local.INFO: IMEI packet received {"connection_id":136295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 08:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":136295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:16:32] local.INFO: TCP Data received {"connection_id":138760,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:16:32] local.INFO: Processing buffer {"connection_id":138760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:16:32] local.INFO: IMEI packet received {"connection_id":138760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":138760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:16:37] local.INFO: TCP Data received {"connection_id":138760,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:16:37] local.INFO: Processing buffer {"connection_id":138760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:16:37] local.INFO: IMEI packet received {"connection_id":138760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":138760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:16:38] local.INFO: TCP Data received {"connection_id":138760,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78432c40012d34c2c006aa41e8000600482b..."} 
[2026-07-19 08:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78432c40012d34c2c006aa41e8000600482b..."} 
[2026-07-19 08:16:38] local.INFO: Processing buffer {"connection_id":138760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78432c40012d34c2c006aa41e8000600482b..."} 
[2026-07-19 08:16:38] local.INFO: Packet analysis {"connection_id":138760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:16:38] local.INFO: Extracted packet for processing {"connection_id":138760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:16:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821288,"longitude_deg":75.8432448,"latitude_deg":11.1821288,"altitude":6,"angle":72,"satellites":43,"speed":4,"hex_longitude":"2d34c2c0","hex_latitude":"06aa41e8","is_valid_coordinates":true} 
[2026-07-19 08:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813847040001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306868686684160,"note":"Value kept but may cause issues"} 
[2026-07-19 08:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801319589103611904,"note":"Value kept but may cause issues"} 
[2026-07-19 08:16: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-07-19 08:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784429096000,"timestamp_ms":1784429096000,"timestamp_seconds":1784429096,"priority":1,"record_length":96,"hex_timestamp":"0000019f78432c40"} 
[2026-07-19 08:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-19 08:16: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-07-19 08:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813847040001,"66":27919,"97":206,"81":23296,"24":4,"16":352306868686684160,"45":3801319589103611904},"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-07-19 08:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813847040001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:16:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:16:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306868686684160,"km_value":352306868686684.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801319589103611904,"description":"Unknown IO ID 45"} 
[2026-07-19 08:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813847040001,"power":27919,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3801319589103611904}} 
[2026-07-19 08:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":138760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:16:38] local.INFO: GPS data processed {"connection_id":138760,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:16:38] local.INFO: Acknowledgment sent {"connection_id":138760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:16:56] local.INFO: TCP Data received {"connection_id":136294,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78448bd0012d7d344005c7d058000e014e1a..."} 
[2026-07-19 08:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78448bd0012d7d344005c7d058000e014e1a..."} 
[2026-07-19 08:16:56] local.INFO: Processing buffer {"connection_id":136294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78448bd0012d7d344005c7d058000e014e1a..."} 
[2026-07-19 08:16:56] local.INFO: Packet analysis {"connection_id":136294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7844"} 
[2026-07-19 08:16:56] local.INFO: Extracted packet for processing {"connection_id":136294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7844"} 
[2026-07-19 08:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":96981080,"longitude_deg":76.3180096,"latitude_deg":9.698108,"altitude":14,"angle":334,"satellites":26,"speed":13,"hex_longitude":"2d7d3440","hex_latitude":"05c7d058","is_valid_coordinates":true} 
[2026-07-19 08:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813871104001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:16:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-19 08:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108112908184977408,"note":"Value kept but may cause issues"} 
[2026-07-19 08:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453333665792,"note":"Value kept but may cause issues"} 
[2026-07-19 08:16: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-07-19 08:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784429186000,"timestamp_ms":1784429186000,"timestamp_seconds":1784429186,"priority":1,"record_length":96,"hex_timestamp":"0000019f78448bd0"} 
[2026-07-19 08:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:16: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-07-19 08:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-19 08:16: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-07-19 08:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813871104001,"66":13493,"200":0,"85":12288,"24":13,"16":108112908184977408,"45":9022117453333665792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-19 08:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813871104001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:16:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108112908184977408,"km_value":108112908184977.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453333665792,"description":"Unknown IO ID 45"} 
[2026-07-19 08:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813871104001,"power":13493,"gsm_signal":0,"unknown_85":12288,"ignition":13,"odometer":null,"unknown_45":9022117453333665792}} 
[2026-07-19 08:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":136294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:16:56] local.INFO: GPS data processed {"connection_id":136294,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:16:56] local.INFO: Acknowledgment sent {"connection_id":136294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:17:09] local.INFO: TCP Data received {"connection_id":138760,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78433410012d34c3c006aa4218000600642b..."} 
[2026-07-19 08:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78433410012d34c3c006aa4218000600642b..."} 
[2026-07-19 08:17:09] local.INFO: Processing buffer {"connection_id":138760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78433410012d34c3c006aa4218000600642b..."} 
[2026-07-19 08:17:09] local.INFO: Packet analysis {"connection_id":138760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:17:09] local.INFO: Extracted packet for processing {"connection_id":138760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821336,"longitude_deg":75.8432704,"latitude_deg":11.1821336,"altitude":6,"angle":100,"satellites":43,"speed":4,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4218","is_valid_coordinates":true} 
[2026-07-19 08:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813848576001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306877276618752,"note":"Value kept but may cause issues"} 
[2026-07-19 08:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312902656,"note":"Value kept but may cause issues"} 
[2026-07-19 08:17: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-07-19 08:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784429098000,"timestamp_ms":1784429098000,"timestamp_seconds":1784429098,"priority":1,"record_length":96,"hex_timestamp":"0000019f78433410"} 
[2026-07-19 08:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 08:17: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-07-19 08:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813848576001,"66":27767,"97":206,"81":23296,"24":4,"16":352306877276618752,"45":3801812170312902656},"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-07-19 08:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813848576001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:17:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:17:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306877276618752,"km_value":352306877276618.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312902656,"description":"Unknown IO ID 45"} 
[2026-07-19 08:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813848576001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3801812170312902656}} 
[2026-07-19 08:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":138760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:17:09] local.INFO: GPS data processed {"connection_id":138760,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:17:09] local.INFO: Acknowledgment sent {"connection_id":138760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:17:19] local.INFO: TCP Data received {"connection_id":136296,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:17:19] local.INFO: Processing buffer {"connection_id":136296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:17:19] local.INFO: IMEI packet received {"connection_id":136296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":136296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:17:24] local.INFO: TCP Data received {"connection_id":136296,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:17:24] local.INFO: Processing buffer {"connection_id":136296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:17:24] local.INFO: IMEI packet received {"connection_id":136296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":136296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:17:25] local.INFO: TCP Data received {"connection_id":136296,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7844bab0012d7d284005c7f248000f015818..."} 
[2026-07-19 08:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7844bab0012d7d284005c7f248000f015818..."} 
[2026-07-19 08:17:25] local.INFO: Processing buffer {"connection_id":136296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7844bab0012d7d284005c7f248000f015818..."} 
[2026-07-19 08:17:25] local.INFO: Packet analysis {"connection_id":136296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7844"} 
[2026-07-19 08:17:25] local.INFO: Extracted packet for processing {"connection_id":136296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7844"} 
[2026-07-19 08:17:25] local.INFO: GPS Element Parsed {"raw_longitude":763177024,"raw_latitude":96989768,"longitude_deg":76.3177024,"latitude_deg":9.6989768,"altitude":15,"angle":344,"satellites":24,"speed":42,"hex_longitude":"2d7d2840","hex_latitude":"05c7f248","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813871616001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:17:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-19 08:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108113354861576192,"note":"Value kept but may cause issues"} 
[2026-07-19 08:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347101280256,"note":"Value kept but may cause issues"} 
[2026-07-19 08:17: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-07-19 08:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784429198000,"timestamp_ms":1784429198000,"timestamp_seconds":1784429198,"priority":1,"record_length":96,"hex_timestamp":"0000019f7844bab0"} 
[2026-07-19 08:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-19 08:17:25] 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-07-19 08: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-07-19 08:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813871616001,"66":13493,"200":0,"85":12288,"24":42,"16":108113354861576192,"45":9021906347101280256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-19 08:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813871616001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:17:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108113354861576192,"km_value":108113354861576.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347101280256,"description":"Unknown IO ID 45"} 
[2026-07-19 08:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813871616001,"power":13493,"gsm_signal":0,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9021906347101280256}} 
[2026-07-19 08:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":136296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:17:25] local.INFO: GPS data processed {"connection_id":136296,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:17:25] local.INFO: Acknowledgment sent {"connection_id":136296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:17:32] local.INFO: TCP Data received {"connection_id":138761,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:17:32] local.INFO: Processing buffer {"connection_id":138761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:17:32] local.INFO: IMEI packet received {"connection_id":138761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":138761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:17:37] local.INFO: TCP Data received {"connection_id":138761,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:17:37] local.INFO: Processing buffer {"connection_id":138761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:17:37] local.INFO: IMEI packet received {"connection_id":138761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":138761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:17:38] local.INFO: TCP Data received {"connection_id":138761,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f784337f8012d34c44006aa42100006006f2b..."} 
[2026-07-19 08:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784337f8012d34c44006aa42100006006f2b..."} 
[2026-07-19 08:17:38] local.INFO: Processing buffer {"connection_id":138761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784337f8012d34c44006aa42100006006f2b..."} 
[2026-07-19 08:17:38] local.INFO: Packet analysis {"connection_id":138761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:17:38] local.INFO: Extracted packet for processing {"connection_id":138761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:17:38] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821328,"longitude_deg":75.8432832,"latitude_deg":11.1821328,"altitude":6,"angle":111,"satellites":43,"speed":3,"hex_longitude":"2d34c440","hex_latitude":"06aa4210","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813849088001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306885866553344,"note":"Value kept but may cause issues"} 
[2026-07-19 08:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289625600,"note":"Value kept but may cause issues"} 
[2026-07-19 08:17: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-07-19 08:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784429099000,"timestamp_ms":1784429099000,"timestamp_seconds":1784429099,"priority":1,"record_length":96,"hex_timestamp":"0000019f784337f8"} 
[2026-07-19 08:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-19 08:17: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-07-19 08: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-07-19 08:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813849088001,"66":27919,"97":206,"81":23296,"24":3,"16":352306885866553344,"45":3802093645289625600},"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-07-19 08:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813849088001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:17:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306885866553344,"km_value":352306885866553.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289625600,"description":"Unknown IO ID 45"} 
[2026-07-19 08:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813849088001,"power":27919,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802093645289625600}} 
[2026-07-19 08:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":138761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:17:38] local.INFO: GPS data processed {"connection_id":138761,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:17:38] local.INFO: Acknowledgment sent {"connection_id":138761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:17:56] local.INFO: TCP Data received {"connection_id":136296,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7844d9f0012d7d20c005c81508000d015e19..."} 
[2026-07-19 08:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7844d9f0012d7d20c005c81508000d015e19..."} 
[2026-07-19 08:17:56] local.INFO: Processing buffer {"connection_id":136296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7844d9f0012d7d20c005c81508000d015e19..."} 
[2026-07-19 08:17:56] local.INFO: Packet analysis {"connection_id":136296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7844"} 
[2026-07-19 08:17:56] local.INFO: Extracted packet for processing {"connection_id":136296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7844"} 
[2026-07-19 08:17:56] local.INFO: GPS Element Parsed {"raw_longitude":763175104,"raw_latitude":96998664,"longitude_deg":76.3175104,"latitude_deg":9.6998664,"altitude":13,"angle":350,"satellites":25,"speed":44,"hex_longitude":"2d7d20c0","hex_latitude":"05c81508","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813874688001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:17:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-19 08:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108113797243207680,"note":"Value kept but may cause issues"} 
[2026-07-19 08:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018528647382976512,"note":"Value kept but may cause issues"} 
[2026-07-19 08:17: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-07-19 08:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784429206000,"timestamp_ms":1784429206000,"timestamp_seconds":1784429206,"priority":1,"record_length":96,"hex_timestamp":"0000019f7844d9f0"} 
[2026-07-19 08:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:17: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-07-19 08:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-19 08:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813874688001,"66":13319,"200":0,"85":12288,"24":44,"16":108113797243207680,"45":9018528647382976512},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-19 08:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813874688001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:17:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108113797243207680,"km_value":108113797243207.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018528647382976512,"description":"Unknown IO ID 45"} 
[2026-07-19 08:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813874688001,"power":13319,"gsm_signal":0,"unknown_85":12288,"ignition":44,"odometer":null,"unknown_45":9018528647382976512}} 
[2026-07-19 08:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":136296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:17:56] local.INFO: GPS data processed {"connection_id":136296,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:17:56] local.INFO: Acknowledgment sent {"connection_id":136296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:18:09] local.INFO: TCP Data received {"connection_id":138761,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78433fc8012d34c50006aa41d0000700852b..."} 
[2026-07-19 08:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78433fc8012d34c50006aa41d0000700852b..."} 
[2026-07-19 08:18:09] local.INFO: Processing buffer {"connection_id":138761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78433fc8012d34c50006aa41d0000700852b..."} 
[2026-07-19 08:18:09] local.INFO: Packet analysis {"connection_id":138761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:18:09] local.INFO: Extracted packet for processing {"connection_id":138761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821264,"longitude_deg":75.8433024,"latitude_deg":11.1821264,"altitude":7,"angle":133,"satellites":43,"speed":4,"hex_longitude":"2d34c500","hex_latitude":"06aa41d0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813849344001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306894456487936,"note":"Value kept but may cause issues"} 
[2026-07-19 08:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777978880,"note":"Value kept but may cause issues"} 
[2026-07-19 08:18: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-07-19 08:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784429101000,"timestamp_ms":1784429101000,"timestamp_seconds":1784429101,"priority":1,"record_length":96,"hex_timestamp":"0000019f78433fc8"} 
[2026-07-19 08:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08: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":15,"data_length":795,"current_offset":136} 
[2026-07-19 08:18: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-07-19 08: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-07-19 08:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813849344001,"66":28028,"97":206,"81":23296,"24":4,"16":352306894456487936,"45":3802234382777978880},"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-07-19 08:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813849344001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:18:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:18:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306894456487936,"km_value":352306894456487.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777978880,"description":"Unknown IO ID 45"} 
[2026-07-19 08:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813849344001,"power":28028,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3802234382777978880}} 
[2026-07-19 08:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":138761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:18:09] local.INFO: GPS data processed {"connection_id":138761,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:18:09] local.INFO: Acknowledgment sent {"connection_id":138761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:18:18] local.INFO: TCP Data received {"connection_id":137346,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:18:18] local.INFO: Processing buffer {"connection_id":137346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:18:18] local.INFO: IMEI packet received {"connection_id":137346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":137346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:18:19] local.INFO: TCP Data received {"connection_id":137346,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:18:19] local.INFO: Processing buffer {"connection_id":137346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:18:19] local.INFO: IMEI packet received {"connection_id":137346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":137346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:18:24] local.INFO: TCP Data received {"connection_id":137346,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:18:24] local.INFO: Processing buffer {"connection_id":137346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:18:24] local.INFO: IMEI packet received {"connection_id":137346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":137346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:18:25] local.INFO: TCP Data received {"connection_id":137346,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7844f930012d7d1bc005c83780000b01601a..."} 
[2026-07-19 08:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7844f930012d7d1bc005c83780000b01601a..."} 
[2026-07-19 08:18:25] local.INFO: Processing buffer {"connection_id":137346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7844f930012d7d1bc005c83780000b01601a..."} 
[2026-07-19 08:18:25] local.INFO: Packet analysis {"connection_id":137346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7844"} 
[2026-07-19 08:18:25] local.INFO: Extracted packet for processing {"connection_id":137346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7844"} 
[2026-07-19 08:18:25] local.INFO: GPS Element Parsed {"raw_longitude":763173824,"raw_latitude":97007488,"longitude_deg":76.3173824,"latitude_deg":9.7007488,"altitude":11,"angle":352,"satellites":26,"speed":44,"hex_longitude":"2d7d1bc0","hex_latitude":"05c83780","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813876736001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:18:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-19 08:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108114231034904576,"note":"Value kept but may cause issues"} 
[2026-07-19 08:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016417585059923968,"note":"Value kept but may cause issues"} 
[2026-07-19 08:18: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-07-19 08:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784429214000,"timestamp_ms":1784429214000,"timestamp_seconds":1784429214,"priority":1,"record_length":96,"hex_timestamp":"0000019f7844f930"} 
[2026-07-19 08:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-19 08:18:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13522224,"corrected_to":0} 
[2026-07-19 08:18:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 08:18:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-19 08:18:25] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3037679243546034181,"note":"Value kept but may cause issues"} 
[2026-07-19 08:18:25] local.WARNING: Large IO value detected {"io_id":199,"raw_value":-4361736200451843584,"note":"Value kept but may cause issues"} 
[2026-07-19 08:18:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2814902478,"corrected_to":0} 
[2026-07-19 08:18:25] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3355520381,"note":"Value kept but may cause issues"} 
[2026-07-19 08:18:25] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2147862470,"note":"Value kept but may cause issues"} 
[2026-07-19 08:18:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3351574528,"note":"Value kept but may cause issues"} 
[2026-07-19 08:18:25] local.WARNING: Large IO value detected {"io_id":181,"raw_value":57886847674504496,"note":"Value kept but may cause issues"} 
[2026-07-19 08:18:25] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,200,85,24,241,157,16,159,186,45,64,242,15,10,66,139,208,14,26,132,1,240,68,227,120,199,4,113,205,6,57,39,128,23,239,53,2,5,9,13,181],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":200,"original":13522224,"validated":0},{"io_id":205,"original":2814902478,"validated":0}]} 
[2026-07-19 08:18:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937133658939850752,"timestamp_seconds":937133658939850.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 08:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":137346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":137346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":137346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813876736001,"66":13015,"200":0,"85":12288,"24":44,"16":108114231034904576,"45":9016417585059923968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-19 08:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813876736001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:18:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108114231034904576,"km_value":108114231034904.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016417585059923968,"description":"Unknown IO ID 45"} 
[2026-07-19 08:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813876736001,"power":13015,"gsm_signal":0,"unknown_85":12288,"ignition":44,"odometer":null,"unknown_45":9016417585059923968}} 
[2026-07-19 08:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":137346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:18:25] local.INFO: GPS data processed {"connection_id":137346,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:18:25] local.INFO: Acknowledgment sent {"connection_id":137346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:18:32] local.INFO: TCP Data received {"connection_id":136298,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:18:32] local.INFO: Processing buffer {"connection_id":136298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:18:32] local.INFO: IMEI packet received {"connection_id":136298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":136298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:18:37] local.INFO: TCP Data received {"connection_id":136298,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:18:37] local.INFO: Processing buffer {"connection_id":136298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:18:37] local.INFO: IMEI packet received {"connection_id":136298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":136298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:18:39] local.INFO: TCP Data received {"connection_id":136298,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f784343b0012d34c54006aa4190000700942b..."} 
[2026-07-19 08:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784343b0012d34c54006aa4190000700942b..."} 
[2026-07-19 08:18:39] local.INFO: Processing buffer {"connection_id":136298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784343b0012d34c54006aa4190000700942b..."} 
[2026-07-19 08:18:39] local.INFO: Packet analysis {"connection_id":136298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:18:39] local.INFO: Extracted packet for processing {"connection_id":136298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:18:39] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821200,"longitude_deg":75.8433088,"latitude_deg":11.18212,"altitude":7,"angle":148,"satellites":43,"speed":2,"hex_longitude":"2d34c540","hex_latitude":"06aa4190","is_valid_coordinates":true} 
[2026-07-19 08:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813849856001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306898751455232,"note":"Value kept but may cause issues"} 
[2026-07-19 08:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010495488,"note":"Value kept but may cause issues"} 
[2026-07-19 08:18: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-07-19 08:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784429102000,"timestamp_ms":1784429102000,"timestamp_seconds":1784429102,"priority":1,"record_length":96,"hex_timestamp":"0000019f784343b0"} 
[2026-07-19 08:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:18: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-07-19 08:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-19 08:18:39] 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-07-19 08:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:18: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-07-19 08:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813849856001,"66":28028,"97":206,"81":23296,"24":2,"16":352306898751455232,"45":3802445489010495488},"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-07-19 08:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813849856001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:18:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:18:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306898751455232,"km_value":352306898751455.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010495488,"description":"Unknown IO ID 45"} 
[2026-07-19 08:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813849856001,"power":28028,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802445489010495488}} 
[2026-07-19 08:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":136298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:18:39] local.INFO: GPS data processed {"connection_id":136298,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:18:39] local.INFO: Acknowledgment sent {"connection_id":136298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:18:56] local.INFO: TCP Data received {"connection_id":137346,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78451870012d7d174005c85a18000901601a..."} 
[2026-07-19 08:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78451870012d7d174005c85a18000901601a..."} 
[2026-07-19 08:18:56] local.INFO: Processing buffer {"connection_id":137346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78451870012d7d174005c85a18000901601a..."} 
[2026-07-19 08:18:56] local.INFO: Packet analysis {"connection_id":137346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7845"} 
[2026-07-19 08:18:56] local.INFO: Extracted packet for processing {"connection_id":137346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7845"} 
[2026-07-19 08:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763172672,"raw_latitude":97016344,"longitude_deg":76.3172672,"latitude_deg":9.7016344,"altitude":9,"angle":352,"satellites":26,"speed":42,"hex_longitude":"2d7d1740","hex_latitude":"05c85a18","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813878784001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:18:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-19 08:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108114664826601472,"note":"Value kept but may cause issues"} 
[2026-07-19 08:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015010210178629632,"note":"Value kept but may cause issues"} 
[2026-07-19 08:18: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-07-19 08:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784429222000,"timestamp_ms":1784429222000,"timestamp_seconds":1784429222,"priority":1,"record_length":96,"hex_timestamp":"0000019f78451870"} 
[2026-07-19 08:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:18: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-07-19 08: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-19 08:18:56] 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-07-19 08: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-07-19 08:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813878784001,"66":13580,"200":0,"85":12288,"24":42,"16":108114664826601472,"45":9015010210178629632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-19 08:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813878784001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108114664826601472,"km_value":108114664826601.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015010210178629632,"description":"Unknown IO ID 45"} 
[2026-07-19 08:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813878784001,"power":13580,"gsm_signal":0,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9015010210178629632}} 
[2026-07-19 08:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":137346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:18:56] local.INFO: GPS data processed {"connection_id":137346,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:18:56] local.INFO: Acknowledgment sent {"connection_id":137346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:19:11] local.INFO: TCP Data received {"connection_id":136298,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78434798012d34c58006aa4150000700a72a..."} 
[2026-07-19 08:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78434798012d34c58006aa4150000700a72a..."} 
[2026-07-19 08:19:11] local.INFO: Processing buffer {"connection_id":136298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78434798012d34c58006aa4150000700a72a..."} 
[2026-07-19 08:19:11] local.INFO: Packet analysis {"connection_id":136298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:19:11] local.INFO: Extracted packet for processing {"connection_id":136298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:19:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821136,"longitude_deg":75.8433152,"latitude_deg":11.1821136,"altitude":7,"angle":167,"satellites":42,"speed":4,"hex_longitude":"2d34c580","hex_latitude":"06aa4150","is_valid_coordinates":true} 
[2026-07-19 08:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813850112001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306903046422528,"note":"Value kept but may cause issues"} 
[2026-07-19 08:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754656768,"note":"Value kept but may cause issues"} 
[2026-07-19 08:19: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-07-19 08:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784429103000,"timestamp_ms":1784429103000,"timestamp_seconds":1784429103,"priority":1,"record_length":96,"hex_timestamp":"0000019f78434798"} 
[2026-07-19 08:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:19: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-07-19 08:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-19 08:19: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-07-19 08:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":136298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":136298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":136298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813850112001,"66":27745,"97":206,"81":23296,"24":4,"16":352306903046422528,"45":3802515857754656768},"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-07-19 08:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813850112001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:19:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:19:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306903046422528,"km_value":352306903046422.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754656768,"description":"Unknown IO ID 45"} 
[2026-07-19 08:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813850112001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3802515857754656768}} 
[2026-07-19 08:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":136298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:19:11] local.INFO: GPS data processed {"connection_id":136298,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:19:11] local.INFO: Acknowledgment sent {"connection_id":136298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:19:19] local.INFO: TCP Data received {"connection_id":136417,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:19:19] local.INFO: Processing buffer {"connection_id":136417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:19:19] local.INFO: IMEI packet received {"connection_id":136417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":136417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:19:24] local.INFO: TCP Data received {"connection_id":136417,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:19:24] local.INFO: Processing buffer {"connection_id":136417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:19:24] local.INFO: IMEI packet received {"connection_id":136417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":136417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:19:25] local.INFO: TCP Data received {"connection_id":136417,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78453f80012d7d120005c87de80008015e1a..."} 
[2026-07-19 08:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78453f80012d7d120005c87de80008015e1a..."} 
[2026-07-19 08:19:25] local.INFO: Processing buffer {"connection_id":136417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78453f80012d7d120005c87de80008015e1a..."} 
[2026-07-19 08:19:25] local.INFO: Packet analysis {"connection_id":136417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7845"} 
[2026-07-19 08:19:25] local.INFO: Extracted packet for processing {"connection_id":136417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7845"} 
[2026-07-19 08:19:25] local.INFO: GPS Element Parsed {"raw_longitude":763171328,"raw_latitude":97025512,"longitude_deg":76.3171328,"latitude_deg":9.7025512,"altitude":8,"angle":350,"satellites":26,"speed":32,"hex_longitude":"2d7d1200","hex_latitude":"05c87de8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 08:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813880832001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:19:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-19 08:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108115111503200256,"note":"Value kept but may cause issues"} 
[2026-07-19 08:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013743572785698816,"note":"Value kept but may cause issues"} 
[2026-07-19 08:19: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-07-19 08:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784429232000,"timestamp_ms":1784429232000,"timestamp_seconds":1784429232,"priority":1,"record_length":96,"hex_timestamp":"0000019f78453f80"} 
[2026-07-19 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-07-19 08:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-19 08:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751611927,"note":"Value kept but may cause issues"} 
[2026-07-19 08:19:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13522224,"corrected_to":0} 
[2026-07-19 08:19:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 08:19:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-9216599045227675648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:19:25] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-19 08:19:25] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3495428110,"note":"Value kept but may cause issues"} 
[2026-07-19 08:19:25] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633994800048072,"note":"Value kept but may cause issues"} 
[2026-07-19 08:19:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2814902478,"corrected_to":0} 
[2026-07-19 08:19:25] local.WARNING: Large IO value detected {"io_id":53,"raw_value":5620718455457107541,"note":"Value kept but may cause issues"} 
[2026-07-19 08:19:25] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-19 08:19:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3352072192,"note":"Value kept but may cause issues"} 
[2026-07-19 08:19:25] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2846281320085061642,"note":"Value kept but may cause issues"} 
[2026-07-19 08:19:25] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-07-19 08:19:25] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,200,85,24,241,157,16,25,159,249,45,192,55,11,26,10,66,217,21,13,186,64,1,240,181,227,120,199,4,113,205,132,53,239,51,2,128,5,6,125,48],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":200,"original":13522224,"validated":0},{"io_id":205,"original":2814902478,"validated":0}]} 
[2026-07-19 08:19:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648905486106230784,"timestamp_seconds":648905486106230.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 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-07-19 08:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813880832001,"66":13515,"200":0,"85":12288,"24":32,"16":108115111503200256,"45":9013743572785698816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-19 08:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813880832001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:19:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 08:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108115111503200256,"km_value":108115111503200.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013743572785698816,"description":"Unknown IO ID 45"} 
[2026-07-19 08:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813880832001,"power":13515,"gsm_signal":0,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9013743572785698816}} 
[2026-07-19 08:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":136417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:19:25] local.INFO: GPS data processed {"connection_id":136417,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:19:25] local.INFO: Acknowledgment sent {"connection_id":136417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:19:32] local.INFO: TCP Data received {"connection_id":136299,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:19:32] local.INFO: Processing buffer {"connection_id":136299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:19:32] local.INFO: IMEI packet received {"connection_id":136299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":136299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:19:37] local.INFO: TCP Data received {"connection_id":136299,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:19:37] local.INFO: Processing buffer {"connection_id":136299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:19:37] local.INFO: IMEI packet received {"connection_id":136299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":136299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:19:38] local.INFO: TCP Data received {"connection_id":136299,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78434f68012d34c58006aa40c0000700b42b..."} 
[2026-07-19 08:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78434f68012d34c58006aa40c0000700b42b..."} 
[2026-07-19 08:19:38] local.INFO: Processing buffer {"connection_id":136299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78434f68012d34c58006aa40c0000700b42b..."} 
[2026-07-19 08:19:38] local.INFO: Packet analysis {"connection_id":136299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:19:38] local.INFO: Extracted packet for processing {"connection_id":136299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:19:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820992,"longitude_deg":75.8433152,"latitude_deg":11.1820992,"altitude":7,"angle":180,"satellites":43,"speed":2,"hex_longitude":"2d34c580","hex_latitude":"06aa40c0","is_valid_coordinates":true} 
[2026-07-19 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-07-19 08:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813850368001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306911636357120,"note":"Value kept but may cause issues"} 
[2026-07-19 08:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498818048,"note":"Value kept but may cause issues"} 
[2026-07-19 08:19: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-07-19 08:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784429105000,"timestamp_ms":1784429105000,"timestamp_seconds":1784429105,"priority":1,"record_length":96,"hex_timestamp":"0000019f78434f68"} 
[2026-07-19 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-07-19 08:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 08:19:38] 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-07-19 08:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 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-07-19 08:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:19: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-07-19 08:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813850368001,"66":27995,"97":206,"81":23296,"24":2,"16":352306911636357120,"45":3802586226498818048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813850368001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:19:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:19:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306911636357120,"km_value":352306911636357.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498818048,"description":"Unknown IO ID 45"} 
[2026-07-19 08:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813850368001,"power":27995,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802586226498818048}} 
[2026-07-19 08:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":136299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:19:38] local.INFO: GPS data processed {"connection_id":136299,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:19:38] local.INFO: Acknowledgment sent {"connection_id":136299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:19:56] local.INFO: TCP Data received {"connection_id":136417,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f784781a0012d7d1ac005ca5d60000c00051e..."} 
[2026-07-19 08:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784781a0012d7d1ac005ca5d60000c00051e..."} 
[2026-07-19 08:19:56] local.INFO: Processing buffer {"connection_id":136417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784781a0012d7d1ac005ca5d60000c00051e..."} 
[2026-07-19 08:19:56] local.INFO: Packet analysis {"connection_id":136417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7847"} 
[2026-07-19 08:19:56] local.INFO: Extracted packet for processing {"connection_id":136417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7847"} 
[2026-07-19 08:19:56] local.INFO: GPS Element Parsed {"raw_longitude":763173568,"raw_latitude":97148256,"longitude_deg":76.3173568,"latitude_deg":9.7148256,"altitude":12,"angle":5,"satellites":30,"speed":66,"hex_longitude":"2d7d1ac0","hex_latitude":"05ca5d60","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813919744001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108121090097676288,"note":"Value kept but may cause issues"} 
[2026-07-19 08:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013391729095999488,"note":"Value kept but may cause issues"} 
[2026-07-19 08:19:56] 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-07-19 08:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784429380000,"timestamp_ms":1784429380000,"timestamp_seconds":1784429380,"priority":1,"record_length":96,"hex_timestamp":"0000019f784781a0"} 
[2026-07-19 08:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:19: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-07-19 08:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-19 08:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813919744001,"66":13396,"131":206,"85":15104,"24":66,"16":108121090097676288,"45":9013391729095999488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-19 08:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813919744001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:19:56] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-19 08:19:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108121090097676288,"km_value":108121090097676.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013391729095999488,"description":"Unknown IO ID 45"} 
[2026-07-19 08:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813919744001,"power":13396,"unknown_131":206,"unknown_85":15104,"ignition":66,"odometer":null,"unknown_45":9013391729095999488}} 
[2026-07-19 08:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":136417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511171,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:19:56] local.INFO: GPS data processed {"connection_id":136417,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:19:56] local.INFO: Acknowledgment sent {"connection_id":136417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:20:09] local.INFO: TCP Data received {"connection_id":136299,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78435350012d34c58006aa4090000700c62b..."} 
[2026-07-19 08:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78435350012d34c58006aa4090000700c62b..."} 
[2026-07-19 08:20:09] local.INFO: Processing buffer {"connection_id":136299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78435350012d34c58006aa4090000700c62b..."} 
[2026-07-19 08:20:09] local.INFO: Packet analysis {"connection_id":136299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:20:09] local.INFO: Extracted packet for processing {"connection_id":136299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820944,"longitude_deg":75.8433152,"latitude_deg":11.1820944,"altitude":7,"angle":198,"satellites":43,"speed":2,"hex_longitude":"2d34c580","hex_latitude":"06aa4090","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813850880001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306911636357120,"note":"Value kept but may cause issues"} 
[2026-07-19 08:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498781184,"note":"Value kept but may cause issues"} 
[2026-07-19 08:20: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-07-19 08:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784429106000,"timestamp_ms":1784429106000,"timestamp_seconds":1784429106,"priority":1,"record_length":96,"hex_timestamp":"0000019f78435350"} 
[2026-07-19 08:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08: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":91,"data_length":795,"current_offset":136} 
[2026-07-19 08:20: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-07-19 08: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-07-19 08:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:20: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-07-19 08:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813850880001,"66":27995,"97":206,"81":23296,"24":2,"16":352306911636357120,"45":3802586226498781184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813850880001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306911636357120,"km_value":352306911636357.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498781184,"description":"Unknown IO ID 45"} 
[2026-07-19 08:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813850880001,"power":27995,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802586226498781184}} 
[2026-07-19 08:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":136299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:20:09] local.INFO: GPS data processed {"connection_id":136299,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:20:09] local.INFO: Acknowledgment sent {"connection_id":136299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:20:20] local.INFO: TCP Data received {"connection_id":136300,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:20:20] local.INFO: Processing buffer {"connection_id":136300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:20:20] local.INFO: IMEI packet received {"connection_id":136300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":136300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:20:24] local.INFO: TCP Data received {"connection_id":136300,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:20:24] local.INFO: Processing buffer {"connection_id":136300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:20:24] local.INFO: IMEI packet received {"connection_id":136300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":136300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:20:25] local.INFO: TCP Data received {"connection_id":136300,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:20:25] local.INFO: Processing buffer {"connection_id":136300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:20:25] local.INFO: IMEI packet received {"connection_id":136300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":136300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:20:25] local.INFO: TCP Data received {"connection_id":136300,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78479910012d7d1ec005ca8480000b00051e..."} 
[2026-07-19 08:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78479910012d7d1ec005ca8480000b00051e..."} 
[2026-07-19 08:20:25] local.INFO: Processing buffer {"connection_id":136300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78479910012d7d1ec005ca8480000b00051e..."} 
[2026-07-19 08:20:25] local.INFO: Packet analysis {"connection_id":136300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7847"} 
[2026-07-19 08:20:25] local.INFO: Extracted packet for processing {"connection_id":136300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7847"} 
[2026-07-19 08:20:25] local.INFO: GPS Element Parsed {"raw_longitude":763174592,"raw_latitude":97158272,"longitude_deg":76.3174592,"latitude_deg":9.7158272,"altitude":11,"angle":5,"satellites":30,"speed":67,"hex_longitude":"2d7d1ec0","hex_latitude":"05ca8480","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813921280001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108121575428980736,"note":"Value kept but may cause issues"} 
[2026-07-19 08:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014728735237955584,"note":"Value kept but may cause issues"} 
[2026-07-19 08:20:25] 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-07-19 08:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784429386000,"timestamp_ms":1784429386000,"timestamp_seconds":1784429386,"priority":1,"record_length":96,"hex_timestamp":"0000019f78479910"} 
[2026-07-19 08:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:20:25] 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-07-19 08: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":84,"data_length":795,"current_offset":136} 
[2026-07-19 08:20: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-07-19 08: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-07-19 08:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813921280001,"66":12526,"131":206,"85":15104,"24":67,"16":108121575428980736,"45":9014728735237955584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-19 08:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813921280001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:20:25] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-19 08:20:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108121575428980736,"km_value":108121575428980.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014728735237955584,"description":"Unknown IO ID 45"} 
[2026-07-19 08:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813921280001,"power":12526,"unknown_131":206,"unknown_85":15104,"ignition":67,"odometer":null,"unknown_45":9014728735237955584}} 
[2026-07-19 08:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":136300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:20:25] local.INFO: GPS data processed {"connection_id":136300,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:20:25] local.INFO: Acknowledgment sent {"connection_id":136300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:20:29] local.INFO: TCP Data received {"connection_id":136300,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7847b080012d7d228005caac08000a00061e..."} 
[2026-07-19 08:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7847b080012d7d228005caac08000a00061e..."} 
[2026-07-19 08:20:29] local.INFO: Processing buffer {"connection_id":136300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7847b080012d7d228005caac08000a00061e..."} 
[2026-07-19 08:20:29] local.INFO: Packet analysis {"connection_id":136300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7847"} 
[2026-07-19 08:20:29] local.INFO: Extracted packet for processing {"connection_id":136300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7847"} 
[2026-07-19 08:20:29] local.INFO: GPS Element Parsed {"raw_longitude":763175552,"raw_latitude":97168392,"longitude_deg":76.3175552,"latitude_deg":9.7168392,"altitude":10,"angle":6,"satellites":30,"speed":66,"hex_longitude":"2d7d2280","hex_latitude":"05caac08","is_valid_coordinates":true} 
[2026-07-19 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-07-19 08:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813922816001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108122069350219776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015854635147362304,"note":"Value kept but may cause issues"} 
[2026-07-19 08:20:29] 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-07-19 08:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784429392000,"timestamp_ms":1784429392000,"timestamp_seconds":1784429392,"priority":1,"record_length":96,"hex_timestamp":"0000019f7847b080"} 
[2026-07-19 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-07-19 08:20:29] 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-07-19 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 08:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 08:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":136300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":136300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":136300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813922816001,"66":13493,"131":206,"85":15104,"24":66,"16":108122069350219776,"45":9015854635147362304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-19 08:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813922816001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:20:29] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-19 08:20:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108122069350219776,"km_value":108122069350219.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015854635147362304,"description":"Unknown IO ID 45"} 
[2026-07-19 08:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813922816001,"power":13493,"unknown_131":206,"unknown_85":15104,"ignition":66,"odometer":null,"unknown_45":9015854635147362304}} 
[2026-07-19 08:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":136300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:20:29] local.INFO: GPS data processed {"connection_id":136300,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:20:29] local.INFO: Acknowledgment sent {"connection_id":136300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:20:32] local.INFO: TCP Data received {"connection_id":138763,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:20:32] local.INFO: Processing buffer {"connection_id":138763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:20:32] local.INFO: IMEI packet received {"connection_id":138763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":138763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:20:37] local.INFO: TCP Data received {"connection_id":138763,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:20:37] local.INFO: Processing buffer {"connection_id":138763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:20:37] local.INFO: IMEI packet received {"connection_id":138763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":138763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:20:38] local.INFO: TCP Data received {"connection_id":138763,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f784362f0012d34c58006aa3fa0000800ae2a..."} 
[2026-07-19 08:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784362f0012d34c58006aa3fa0000800ae2a..."} 
[2026-07-19 08:20:38] local.INFO: Processing buffer {"connection_id":138763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784362f0012d34c58006aa3fa0000800ae2a..."} 
[2026-07-19 08:20:38] local.INFO: Packet analysis {"connection_id":138763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:20:38] local.INFO: Extracted packet for processing {"connection_id":138763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820704,"longitude_deg":75.8433152,"latitude_deg":11.1820704,"altitude":8,"angle":174,"satellites":42,"speed":1,"hex_longitude":"2d34c580","hex_latitude":"06aa3fa0","is_valid_coordinates":true} 
[2026-07-19 08:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813851136001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498768896,"note":"Value kept but may cause issues"} 
[2026-07-19 08:20: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-07-19 08:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784429110000,"timestamp_ms":1784429110000,"timestamp_seconds":1784429110,"priority":1,"record_length":96,"hex_timestamp":"0000019f784362f0"} 
[2026-07-19 08:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-19 08:20: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-07-19 08:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:20: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-07-19 08:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813851136001,"66":28017,"97":206,"81":23296,"24":1,"16":352306924521259008,"45":3802586226498768896},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813851136001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498768896,"description":"Unknown IO ID 45"} 
[2026-07-19 08:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813851136001,"power":28017,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3802586226498768896}} 
[2026-07-19 08:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":138763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:20:38] local.INFO: GPS data processed {"connection_id":138763,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:20:38] local.INFO: Acknowledgment sent {"connection_id":138763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:21:00] local.INFO: TCP Data received {"connection_id":136300,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7847c7f0012d7d254005cad248000a00021f..."} 
[2026-07-19 08:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7847c7f0012d7d254005cad248000a00021f..."} 
[2026-07-19 08:21:00] local.INFO: Processing buffer {"connection_id":136300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7847c7f0012d7d254005cad248000a00021f..."} 
[2026-07-19 08:21:00] local.INFO: Packet analysis {"connection_id":136300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7847"} 
[2026-07-19 08:21:00] local.INFO: Extracted packet for processing {"connection_id":136300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7847"} 
[2026-07-19 08:21:00] local.INFO: GPS Element Parsed {"raw_longitude":763176256,"raw_latitude":97178184,"longitude_deg":76.3176256,"latitude_deg":9.7178184,"altitude":10,"angle":2,"satellites":31,"speed":66,"hex_longitude":"2d7d2540","hex_latitude":"05cad248","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813924352001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108122546091589632,"note":"Value kept but may cause issues"} 
[2026-07-19 08:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016910166312617984,"note":"Value kept but may cause issues"} 
[2026-07-19 08:21:00] 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-07-19 08:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784429398000,"timestamp_ms":1784429398000,"timestamp_seconds":1784429398,"priority":1,"record_length":96,"hex_timestamp":"0000019f7847c7f0"} 
[2026-07-19 08:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-19 08:21:00] 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-07-19 08: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-07-19 08:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":136300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":136300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":136300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813924352001,"66":13428,"131":206,"85":15104,"24":66,"16":108122546091589632,"45":9016910166312617984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-19 08:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813924352001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:21:00] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-19 08:21:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108122546091589632,"km_value":108122546091589.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016910166312617984,"description":"Unknown IO ID 45"} 
[2026-07-19 08:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813924352001,"power":13428,"unknown_131":206,"unknown_85":15104,"ignition":66,"odometer":null,"unknown_45":9016910166312617984}} 
[2026-07-19 08:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":136300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:21:00] local.INFO: GPS data processed {"connection_id":136300,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:21:00] local.INFO: Acknowledgment sent {"connection_id":136300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:21:09] local.INFO: TCP Data received {"connection_id":138763,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78436ea8012d34c58006aa3f88000800b52b..."} 
[2026-07-19 08:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78436ea8012d34c58006aa3f88000800b52b..."} 
[2026-07-19 08:21:09] local.INFO: Processing buffer {"connection_id":138763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78436ea8012d34c58006aa3f88000800b52b..."} 
[2026-07-19 08:21:09] local.INFO: Packet analysis {"connection_id":138763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:21:09] local.INFO: Extracted packet for processing {"connection_id":138763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7843"} 
[2026-07-19 08:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820680,"longitude_deg":75.8433152,"latitude_deg":11.182068,"altitude":8,"angle":181,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f88","is_valid_coordinates":true} 
[2026-07-19 08:21: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-07-19 08:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813852160001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498707456,"note":"Value kept but may cause issues"} 
[2026-07-19 08:21: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-07-19 08:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784429113000,"timestamp_ms":1784429113000,"timestamp_seconds":1784429113,"priority":1,"record_length":96,"hex_timestamp":"0000019f78436ea8"} 
[2026-07-19 08:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-19 08:21:09] 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-07-19 08:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:21: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-07-19 08:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813852160001,"66":27691,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802586226498707456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813852160001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498707456,"description":"Unknown IO ID 45"} 
[2026-07-19 08:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813852160001,"power":27691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498707456}} 
[2026-07-19 08:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":138763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:21:09] local.INFO: GPS data processed {"connection_id":138763,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:21:09] local.INFO: Acknowledgment sent {"connection_id":138763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:21:19] local.INFO: TCP Data received {"connection_id":137349,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:21:19] local.INFO: Processing buffer {"connection_id":137349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:21:19] local.INFO: IMEI packet received {"connection_id":137349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":137349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:21:24] local.INFO: TCP Data received {"connection_id":137349,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:21:24] local.INFO: Processing buffer {"connection_id":137349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:21:24] local.INFO: IMEI packet received {"connection_id":137349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":137349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:21:26] local.INFO: TCP Data received {"connection_id":137349,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7847df60012d7d27c005caf980000b00031f..."} 
[2026-07-19 08:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7847df60012d7d27c005caf980000b00031f..."} 
[2026-07-19 08:21:26] local.INFO: Processing buffer {"connection_id":137349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7847df60012d7d27c005caf980000b00031f..."} 
[2026-07-19 08:21:26] local.INFO: Packet analysis {"connection_id":137349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7847"} 
[2026-07-19 08:21:26] local.INFO: Extracted packet for processing {"connection_id":137349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7847"} 
[2026-07-19 08:21:26] local.INFO: GPS Element Parsed {"raw_longitude":763176896,"raw_latitude":97188224,"longitude_deg":76.3176896,"latitude_deg":9.7188224,"altitude":11,"angle":3,"satellites":31,"speed":66,"hex_longitude":"2d7d27c0","hex_latitude":"05caf980","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813925888001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108123035717861376,"note":"Value kept but may cause issues"} 
[2026-07-19 08:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017684222501079040,"note":"Value kept but may cause issues"} 
[2026-07-19 08:21: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-07-19 08:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784429404000,"timestamp_ms":1784429404000,"timestamp_seconds":1784429404,"priority":1,"record_length":96,"hex_timestamp":"0000019f7847df60"} 
[2026-07-19 08:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:21: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-07-19 08: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-19 08:21:26] 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-07-19 08: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-07-19 08:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":137349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":137349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":137349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813925888001,"66":13243,"131":206,"85":15104,"24":66,"16":108123035717861376,"45":9017684222501079040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-19 08:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813925888001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:21:26] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-19 08:21:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108123035717861376,"km_value":108123035717861.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017684222501079040,"description":"Unknown IO ID 45"} 
[2026-07-19 08:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813925888001,"power":13243,"unknown_131":206,"unknown_85":15104,"ignition":66,"odometer":null,"unknown_45":9017684222501079040}} 
[2026-07-19 08:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":137349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:21:26] local.INFO: GPS data processed {"connection_id":137349,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:21:26] local.INFO: Acknowledgment sent {"connection_id":137349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:21:32] local.INFO: TCP Data received {"connection_id":136301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:21:32] local.INFO: Processing buffer {"connection_id":136301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:21:32] local.INFO: IMEI packet received {"connection_id":136301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":136301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:21:37] local.INFO: TCP Data received {"connection_id":136301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:21:37] local.INFO: Processing buffer {"connection_id":136301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:21:37] local.INFO: IMEI packet received {"connection_id":136301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":136301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:21:38] local.INFO: TCP Data received {"connection_id":136301,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:21:38] local.INFO: Processing buffer {"connection_id":136301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:21:38] local.INFO: Packet analysis {"connection_id":136301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7848"} 
[2026-07-19 08:21:38] local.INFO: Extracted packet for processing {"connection_id":136301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7848"} 
[2026-07-19 08:21:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":34,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813852928001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498701312,"note":"Value kept but may cause issues"} 
[2026-07-19 08:21: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-07-19 08:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784429415000,"timestamp_ms":1784429415000,"timestamp_seconds":1784429415,"priority":1,"record_length":96,"hex_timestamp":"0000019f78480a58"} 
[2026-07-19 08:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-19 08:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:21: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-07-19 08:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813852928001,"66":26158,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802586226498701312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813852928001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:21:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:21:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498701312,"description":"Unknown IO ID 45"} 
[2026-07-19 08:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813852928001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498701312}} 
[2026-07-19 08:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":136301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:21:38] local.INFO: GPS data processed {"connection_id":136301,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:21:38] local.INFO: Acknowledgment sent {"connection_id":136301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:21:52] local.INFO: TCP Data received {"connection_id":137350,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:21:52] local.INFO: Processing buffer {"connection_id":137350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:21:52] local.INFO: IMEI packet received {"connection_id":137350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 08:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":137350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:22:02] local.INFO: TCP Data received {"connection_id":137349,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7847f6d0012d7d2a0005cb1e28000b00031f..."} 
[2026-07-19 08:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7847f6d0012d7d2a0005cb1e28000b00031f..."} 
[2026-07-19 08:22:02] local.INFO: Processing buffer {"connection_id":137349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7847f6d0012d7d2a0005cb1e28000b00031f..."} 
[2026-07-19 08:22:02] local.INFO: Packet analysis {"connection_id":137349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7847"} 
[2026-07-19 08:22:02] local.INFO: Extracted packet for processing {"connection_id":137349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7847"} 
[2026-07-19 08:22:02] local.INFO: GPS Element Parsed {"raw_longitude":763177472,"raw_latitude":97197608,"longitude_deg":76.3177472,"latitude_deg":9.7197608,"altitude":11,"angle":3,"satellites":31,"speed":59,"hex_longitude":"2d7d2a00","hex_latitude":"05cb1e28","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813927424001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108123490984394752,"note":"Value kept but may cause issues"} 
[2026-07-19 08:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018387909945425920,"note":"Value kept but may cause issues"} 
[2026-07-19 08:22:02] 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-07-19 08:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784429410000,"timestamp_ms":1784429410000,"timestamp_seconds":1784429410,"priority":1,"record_length":96,"hex_timestamp":"0000019f7847f6d0"} 
[2026-07-19 08:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:22: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-07-19 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-19 08:22:02] 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-07-19 08: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-07-19 08:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":137349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":137349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":137349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813927424001,"66":13276,"131":206,"85":15104,"24":59,"16":108123490984394752,"45":9018387909945425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-19 08:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813927424001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:22:02] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-19 08:22:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108123490984394752,"km_value":108123490984394.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018387909945425920,"description":"Unknown IO ID 45"} 
[2026-07-19 08:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813927424001,"power":13276,"unknown_131":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9018387909945425920}} 
[2026-07-19 08:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":137349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:22:02] local.INFO: GPS data processed {"connection_id":137349,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:22:02] local.INFO: Acknowledgment sent {"connection_id":137349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:22:09] local.INFO: TCP Data received {"connection_id":136301,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:22:09] local.INFO: Processing buffer {"connection_id":136301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:22:09] local.INFO: Packet analysis {"connection_id":136301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7848"} 
[2026-07-19 08:22:09] local.INFO: Extracted packet for processing {"connection_id":136301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7848"} 
[2026-07-19 08:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":34,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813852928001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498701312,"note":"Value kept but may cause issues"} 
[2026-07-19 08: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-07-19 08:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784429415000,"timestamp_ms":1784429415000,"timestamp_seconds":1784429415,"priority":1,"record_length":96,"hex_timestamp":"0000019f78480a58"} 
[2026-07-19 08:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-19 08:22:09] 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-07-19 08:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:22: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-07-19 08:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813852928001,"66":26158,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802586226498701312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813852928001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:22:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:22:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498701312,"description":"Unknown IO ID 45"} 
[2026-07-19 08:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813852928001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498701312}} 
[2026-07-19 08:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":136301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:22:09] local.INFO: GPS data processed {"connection_id":136301,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:22:09] local.INFO: Acknowledgment sent {"connection_id":136301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:22:21] local.INFO: TCP Data received {"connection_id":138764,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:22:21] local.INFO: Processing buffer {"connection_id":138764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:22:21] local.INFO: IMEI packet received {"connection_id":138764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":138764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:22:22] local.INFO: TCP Data received {"connection_id":138764,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:22:22] local.INFO: Processing buffer {"connection_id":138764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:22:22] local.INFO: IMEI packet received {"connection_id":138764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":138764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:22:24] local.INFO: TCP Data received {"connection_id":138764,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:22:24] local.INFO: Processing buffer {"connection_id":138764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:22:24] local.INFO: IMEI packet received {"connection_id":138764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":138764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:22:25] local.INFO: TCP Data received {"connection_id":138764,"ip":"42.106.6.15","data_length":1340,"data_hex":"000000000000030f8e0a0000019f784998c8012d7d540005cc89f0000a000320..."} 
[2026-07-19 08:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138764,"packet_length":1340,"packet_hex":"000000000000030f8e0a0000019f784998c8012d7d540005cc89f0000a000320..."} 
[2026-07-19 08:22:25] local.INFO: Processing buffer {"connection_id":138764,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a0000019f784998c8012d7d540005cc89f0000a000320..."} 
[2026-07-19 08:22:25] local.INFO: Packet analysis {"connection_id":138764,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a0000019f7849"} 
[2026-07-19 08:22:25] local.INFO: Extracted packet for processing {"connection_id":138764,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019f7849"} 
[2026-07-19 08:22:25] local.INFO: GPS Element Parsed {"raw_longitude":763188224,"raw_latitude":97290736,"longitude_deg":76.3188224,"latitude_deg":9.7290736,"altitude":10,"angle":3,"satellites":32,"speed":54,"hex_longitude":"2d7d5400","hex_latitude":"05cc89f0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813954304001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108128047944695808,"note":"Value kept but may cause issues"} 
[2026-07-19 08:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029998752758489088,"note":"Value kept but may cause issues"} 
[2026-07-19 08:22:25] 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-07-19 08:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784429517000,"timestamp_ms":1784429517000,"timestamp_seconds":1784429517,"priority":1,"record_length":96,"hex_timestamp":"0000019f784998c8"} 
[2026-07-19 08:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:22: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-07-19 08: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-19 08:22: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-07-19 08: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-07-19 08:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":138764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":138764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":138764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813954304001,"66":13559,"129":206,"85":15104,"24":54,"16":108128047944695808,"45":9029998752758489088},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-19 08:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813954304001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:22:25] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-19 08:22:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108128047944695808,"km_value":108128047944695.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029998752758489088,"description":"Unknown IO ID 45"} 
[2026-07-19 08:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813954304001,"power":13559,"unknown_129":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9029998752758489088}} 
[2026-07-19 08:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":138764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:22:25] local.INFO: GPS data processed {"connection_id":138764,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:22:25] local.INFO: Acknowledgment sent {"connection_id":138764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:22:25] local.INFO: Packet analysis {"connection_id":138764,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019f7849"} 
[2026-07-19 08:22:25] local.INFO: Incomplete packet, waiting for more data {"connection_id":138764,"needed":795,"available":545} 
[2026-07-19 08:22:26] local.INFO: TCP Data received {"connection_id":138764,"ip":"42.106.6.15","data_length":250,"data_hex":"e30010018023d2000000000000019f7848b638012d7d31c005cbb33800090007..."} 
[2026-07-19 08:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138764,"packet_length":250,"packet_hex":"e30010018023d2000000000000019f7848b638012d7d31c005cbb33800090007..."} 
[2026-07-19 08:22:26] local.INFO: Processing buffer {"connection_id":138764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7849b420012d7d54c005ccb1480009016620..."} 
[2026-07-19 08:22:26] local.INFO: Packet analysis {"connection_id":138764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7849"} 
[2026-07-19 08:22:26] local.INFO: Extracted packet for processing {"connection_id":138764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7849"} 
[2026-07-19 08:22:26] local.INFO: GPS Element Parsed {"raw_longitude":763188416,"raw_latitude":97300808,"longitude_deg":76.3188416,"latitude_deg":9.7300808,"altitude":9,"angle":358,"satellites":32,"speed":61,"hex_longitude":"2d7d54c0","hex_latitude":"05ccb148","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813956352001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108128537570967552,"note":"Value kept but may cause issues"} 
[2026-07-19 08:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030843177691115520,"note":"Value kept but may cause issues"} 
[2026-07-19 08:22:26] 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-07-19 08:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784429524000,"timestamp_ms":1784429524000,"timestamp_seconds":1784429524,"priority":1,"record_length":96,"hex_timestamp":"0000019f7849b420"} 
[2026-07-19 08:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:22: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-07-19 08: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-19 08:22: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-07-19 08: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-07-19 08:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":138764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":138764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":138764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813956352001,"66":12917,"129":206,"85":15104,"24":61,"16":108128537570967552,"45":9030843177691115520},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-19 08:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813956352001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:22:26] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-19 08:22:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108128537570967552,"km_value":108128537570967.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030843177691115520,"description":"Unknown IO ID 45"} 
[2026-07-19 08:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813956352001,"power":12917,"unknown_129":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":9030843177691115520}} 
[2026-07-19 08:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":138764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:22:26] local.INFO: GPS data processed {"connection_id":138764,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:22:26] local.INFO: Acknowledgment sent {"connection_id":138764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:22:27] local.INFO: TCP Data received {"connection_id":136418,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:22:27] local.INFO: Processing buffer {"connection_id":136418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:22:27] local.INFO: IMEI packet received {"connection_id":136418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 08:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":136418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:22:29] local.INFO: TCP Data received {"connection_id":138764,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7849cb90012d7d530005ccd7480009016420..."} 
[2026-07-19 08:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7849cb90012d7d530005ccd7480009016420..."} 
[2026-07-19 08:22:29] local.INFO: Processing buffer {"connection_id":138764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7849cb90012d7d530005ccd7480009016420..."} 
[2026-07-19 08:22:29] local.INFO: Packet analysis {"connection_id":138764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7849"} 
[2026-07-19 08:22:29] local.INFO: Extracted packet for processing {"connection_id":138764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7849"} 
[2026-07-19 08:22:29] local.INFO: GPS Element Parsed {"raw_longitude":763187968,"raw_latitude":97310536,"longitude_deg":76.3187968,"latitude_deg":9.7310536,"altitude":9,"angle":356,"satellites":32,"speed":65,"hex_longitude":"2d7d5300","hex_latitude":"05ccd748","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813958144001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108129010017370112,"note":"Value kept but may cause issues"} 
[2026-07-19 08:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031054283926226944,"note":"Value kept but may cause issues"} 
[2026-07-19 08:22: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-07-19 08:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784429530000,"timestamp_ms":1784429530000,"timestamp_seconds":1784429530,"priority":1,"record_length":96,"hex_timestamp":"0000019f7849cb90"} 
[2026-07-19 08:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:22:29] 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-07-19 08: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-19 08:22:29] 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-07-19 08: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-07-19 08:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":138764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":138764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":138764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813958144001,"66":13396,"129":206,"85":15104,"24":65,"16":108129010017370112,"45":9031054283926226944},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-19 08:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813958144001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:22:29] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-19 08:22:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108129010017370112,"km_value":108129010017370.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031054283926226944,"description":"Unknown IO ID 45"} 
[2026-07-19 08:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813958144001,"power":13396,"unknown_129":206,"unknown_85":15104,"ignition":65,"odometer":null,"unknown_45":9031054283926226944}} 
[2026-07-19 08:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":138764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:22:29] local.INFO: GPS data processed {"connection_id":138764,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:22:29] local.INFO: Acknowledgment sent {"connection_id":138764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:22:32] local.INFO: TCP Data received {"connection_id":138765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:22:32] local.INFO: Processing buffer {"connection_id":138765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:22:32] local.INFO: IMEI packet received {"connection_id":138765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":138765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:22:37] local.INFO: TCP Data received {"connection_id":138765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:22:37] local.INFO: Processing buffer {"connection_id":138765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:22:37] local.INFO: IMEI packet received {"connection_id":138765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":138765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:22:38] local.INFO: TCP Data received {"connection_id":138765,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:22:38] local.INFO: Processing buffer {"connection_id":138765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:22:38] local.INFO: Packet analysis {"connection_id":138765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7848"} 
[2026-07-19 08:22:38] local.INFO: Extracted packet for processing {"connection_id":138765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7848"} 
[2026-07-19 08:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":34,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 08:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813852928001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498701312,"note":"Value kept but may cause issues"} 
[2026-07-19 08:22: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-07-19 08:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784429415000,"timestamp_ms":1784429415000,"timestamp_seconds":1784429415,"priority":1,"record_length":96,"hex_timestamp":"0000019f78480a58"} 
[2026-07-19 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-07-19 08:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":43,"data_length":795,"current_offset":136} 
[2026-07-19 08:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 08:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:22: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-07-19 08:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813852928001,"66":26158,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802586226498701312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813852928001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:22:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498701312,"description":"Unknown IO ID 45"} 
[2026-07-19 08:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813852928001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498701312}} 
[2026-07-19 08:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":138765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:22:38] local.INFO: GPS data processed {"connection_id":138765,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:22:38] local.INFO: Acknowledgment sent {"connection_id":138765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:23:01] local.INFO: TCP Data received {"connection_id":138764,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7849e300012d7d500005ccfcd00008016422..."} 
[2026-07-19 08:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7849e300012d7d500005ccfcd00008016422..."} 
[2026-07-19 08:23:01] local.INFO: Processing buffer {"connection_id":138764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7849e300012d7d500005ccfcd00008016422..."} 
[2026-07-19 08:23:01] local.INFO: Packet analysis {"connection_id":138764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7849"} 
[2026-07-19 08:23:01] local.INFO: Extracted packet for processing {"connection_id":138764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7849"} 
[2026-07-19 08:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763187200,"raw_latitude":97320144,"longitude_deg":76.31872,"latitude_deg":9.7320144,"altitude":8,"angle":356,"satellites":34,"speed":62,"hex_longitude":"2d7d5000","hex_latitude":"05ccfcd0","is_valid_coordinates":true} 
[2026-07-19 08:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813959680001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108129478168805376,"note":"Value kept but may cause issues"} 
[2026-07-19 08:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030561702719473664,"note":"Value kept but may cause issues"} 
[2026-07-19 08:23:01] 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-07-19 08:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784429536000,"timestamp_ms":1784429536000,"timestamp_seconds":1784429536,"priority":1,"record_length":96,"hex_timestamp":"0000019f7849e300"} 
[2026-07-19 08:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:23: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-07-19 08:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-19 08:23:01] 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-07-19 08:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":138764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":138764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":138764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813959680001,"66":13374,"129":206,"85":15104,"24":62,"16":108129478168805376,"45":9030561702719473664},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-19 08:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813959680001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:23:01] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-19 08:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108129478168805376,"km_value":108129478168805.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030561702719473664,"description":"Unknown IO ID 45"} 
[2026-07-19 08:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813959680001,"power":13374,"unknown_129":206,"unknown_85":15104,"ignition":62,"odometer":null,"unknown_45":9030561702719473664}} 
[2026-07-19 08:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":138764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:23:01] local.INFO: GPS data processed {"connection_id":138764,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:23:01] local.INFO: Acknowledgment sent {"connection_id":138764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:23:11] local.INFO: TCP Data received {"connection_id":138765,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:23:11] local.INFO: Processing buffer {"connection_id":138765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:23:11] local.INFO: Packet analysis {"connection_id":138765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7848"} 
[2026-07-19 08:23:11] local.INFO: Extracted packet for processing {"connection_id":138765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7848"} 
[2026-07-19 08:23:11] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":34,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813852928001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498701312,"note":"Value kept but may cause issues"} 
[2026-07-19 08:23: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-07-19 08:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784429415000,"timestamp_ms":1784429415000,"timestamp_seconds":1784429415,"priority":1,"record_length":96,"hex_timestamp":"0000019f78480a58"} 
[2026-07-19 08:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-19 08:23:11] 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-07-19 08: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-07-19 08:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":138765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":138765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":138765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813852928001,"66":26158,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802586226498701312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813852928001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:23:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:23:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498701312,"description":"Unknown IO ID 45"} 
[2026-07-19 08:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813852928001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498701312}} 
[2026-07-19 08:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":138765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:23:11] local.INFO: GPS data processed {"connection_id":138765,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:23:11] local.INFO: Acknowledgment sent {"connection_id":138765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:23:19] local.INFO: TCP Data received {"connection_id":137351,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:23:19] local.INFO: Processing buffer {"connection_id":137351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:23:19] local.INFO: IMEI packet received {"connection_id":137351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":137351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:23:24] local.INFO: TCP Data received {"connection_id":137351,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:23:24] local.INFO: Processing buffer {"connection_id":137351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:23:24] local.INFO: IMEI packet received {"connection_id":137351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":137351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:23:25] local.INFO: TCP Data received {"connection_id":137351,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7849fe58012d7d4d4005cd24600007016423..."} 
[2026-07-19 08:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7849fe58012d7d4d4005cd24600007016423..."} 
[2026-07-19 08:23:25] local.INFO: Processing buffer {"connection_id":137351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7849fe58012d7d4d4005cd24600007016423..."} 
[2026-07-19 08:23:25] local.INFO: Packet analysis {"connection_id":137351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7849"} 
[2026-07-19 08:23:25] local.INFO: Extracted packet for processing {"connection_id":137351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7849"} 
[2026-07-19 08:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763186496,"raw_latitude":97330272,"longitude_deg":76.3186496,"latitude_deg":9.7330272,"altitude":7,"angle":356,"satellites":35,"speed":53,"hex_longitude":"2d7d4d40","hex_latitude":"05cd2460","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813961216001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108129967795077120,"note":"Value kept but may cause issues"} 
[2026-07-19 08:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029717277791801344,"note":"Value kept but may cause issues"} 
[2026-07-19 08:23:25] 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-07-19 08:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784429543000,"timestamp_ms":1784429543000,"timestamp_seconds":1784429543,"priority":1,"record_length":96,"hex_timestamp":"0000019f7849fe58"} 
[2026-07-19 08:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:23: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-07-19 08: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":62,"data_length":795,"current_offset":136} 
[2026-07-19 08:23: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-07-19 08: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-07-19 08:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":137351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":137351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":137351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813961216001,"66":13396,"129":206,"85":15104,"24":53,"16":108129967795077120,"45":9029717277791801344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-19 08:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813961216001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:23:25] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-19 08:23:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108129967795077120,"km_value":108129967795077.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029717277791801344,"description":"Unknown IO ID 45"} 
[2026-07-19 08:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813961216001,"power":13396,"unknown_129":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9029717277791801344}} 
[2026-07-19 08:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":137351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:23:25] local.INFO: GPS data processed {"connection_id":137351,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:23:25] local.INFO: Acknowledgment sent {"connection_id":137351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:23:32] local.INFO: TCP Data received {"connection_id":137352,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:23:32] local.INFO: Processing buffer {"connection_id":137352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:23:32] local.INFO: IMEI packet received {"connection_id":137352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":137352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:23:37] local.INFO: TCP Data received {"connection_id":137352,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:23:37] local.INFO: Processing buffer {"connection_id":137352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:23:37] local.INFO: IMEI packet received {"connection_id":137352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":137352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:23:38] local.INFO: TCP Data received {"connection_id":137352,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:23:38] local.INFO: Processing buffer {"connection_id":137352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:23:38] local.INFO: Packet analysis {"connection_id":137352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7848"} 
[2026-07-19 08:23:38] local.INFO: Extracted packet for processing {"connection_id":137352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7848"} 
[2026-07-19 08:23:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":34,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813852928001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498701312,"note":"Value kept but may cause issues"} 
[2026-07-19 08:23: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-07-19 08:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784429415000,"timestamp_ms":1784429415000,"timestamp_seconds":1784429415,"priority":1,"record_length":96,"hex_timestamp":"0000019f78480a58"} 
[2026-07-19 08:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-19 08:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813852928001,"66":26158,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802586226498701312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813852928001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:23:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:23:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498701312,"description":"Unknown IO ID 45"} 
[2026-07-19 08:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813852928001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498701312}} 
[2026-07-19 08:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":137352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:23:38] local.INFO: GPS data processed {"connection_id":137352,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:23:38] local.INFO: Acknowledgment sent {"connection_id":137352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:23:55] local.INFO: TCP Data received {"connection_id":137351,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f784a19b0012d7d4a4005cd4a880007016224..."} 
[2026-07-19 08:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784a19b0012d7d4a4005cd4a880007016224..."} 
[2026-07-19 08:23:55] local.INFO: Processing buffer {"connection_id":137351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784a19b0012d7d4a4005cd4a880007016224..."} 
[2026-07-19 08:23:55] local.INFO: Packet analysis {"connection_id":137351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784a"} 
[2026-07-19 08:23:55] local.INFO: Extracted packet for processing {"connection_id":137351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784a"} 
[2026-07-19 08:23:55] local.INFO: GPS Element Parsed {"raw_longitude":763185728,"raw_latitude":97340040,"longitude_deg":76.3185728,"latitude_deg":9.734004,"altitude":7,"angle":354,"satellites":36,"speed":55,"hex_longitude":"2d7d4a40","hex_latitude":"05cd4a88","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813963008001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108130444536446976,"note":"Value kept but may cause issues"} 
[2026-07-19 08:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028943221608439808,"note":"Value kept but may cause issues"} 
[2026-07-19 08:23:55] 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-07-19 08:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784429550000,"timestamp_ms":1784429550000,"timestamp_seconds":1784429550,"priority":1,"record_length":96,"hex_timestamp":"0000019f784a19b0"} 
[2026-07-19 08:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08: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-07-19 08: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-19 08:23:55] 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-07-19 08: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-07-19 08:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":137351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":137351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":137351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813963008001,"66":13439,"129":206,"85":15104,"24":55,"16":108130444536446976,"45":9028943221608439808},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-19 08:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813963008001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:23:55] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-19 08:23:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108130444536446976,"km_value":108130444536446.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028943221608439808,"description":"Unknown IO ID 45"} 
[2026-07-19 08:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813963008001,"power":13439,"unknown_129":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9028943221608439808}} 
[2026-07-19 08:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":137351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:23:56] local.INFO: GPS data processed {"connection_id":137351,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:23:56] local.INFO: Acknowledgment sent {"connection_id":137351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:24:10] local.INFO: TCP Data received {"connection_id":137352,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:24:10] local.INFO: Processing buffer {"connection_id":137352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:24:10] local.INFO: Packet analysis {"connection_id":137352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7848"} 
[2026-07-19 08:24:10] local.INFO: Extracted packet for processing {"connection_id":137352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7848"} 
[2026-07-19 08:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":34,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813852928001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498701312,"note":"Value kept but may cause issues"} 
[2026-07-19 08:24: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-07-19 08:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784429415000,"timestamp_ms":1784429415000,"timestamp_seconds":1784429415,"priority":1,"record_length":96,"hex_timestamp":"0000019f78480a58"} 
[2026-07-19 08:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-19 08:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813852928001,"66":26158,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802586226498701312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813852928001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:24:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498701312,"description":"Unknown IO ID 45"} 
[2026-07-19 08:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813852928001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498701312}} 
[2026-07-19 08:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":137352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:24:10] local.INFO: GPS data processed {"connection_id":137352,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:24:10] local.INFO: Acknowledgment sent {"connection_id":137352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:24:19] local.INFO: TCP Data received {"connection_id":137353,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:24:19] local.INFO: Processing buffer {"connection_id":137353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:24:19] local.INFO: IMEI packet received {"connection_id":137353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":137353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:24:24] local.INFO: TCP Data received {"connection_id":137353,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:24:24] local.INFO: Processing buffer {"connection_id":137353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:24:24] local.INFO: IMEI packet received {"connection_id":137353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":137353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:24:25] local.INFO: TCP Data received {"connection_id":137353,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f784a38f0012d7d45c005cd70980007016124..."} 
[2026-07-19 08:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784a38f0012d7d45c005cd70980007016124..."} 
[2026-07-19 08:24:25] local.INFO: Processing buffer {"connection_id":137353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784a38f0012d7d45c005cd70980007016124..."} 
[2026-07-19 08:24:25] local.INFO: Packet analysis {"connection_id":137353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784a"} 
[2026-07-19 08:24:25] local.INFO: Extracted packet for processing {"connection_id":137353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784a"} 
[2026-07-19 08:24:25] local.INFO: GPS Element Parsed {"raw_longitude":763184576,"raw_latitude":97349784,"longitude_deg":76.3184576,"latitude_deg":9.7349784,"altitude":7,"angle":353,"satellites":36,"speed":42,"hex_longitude":"2d7d45c0","hex_latitude":"05cd7098","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813964800001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108130916982849536,"note":"Value kept but may cause issues"} 
[2026-07-19 08:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028098796680808448,"note":"Value kept but may cause issues"} 
[2026-07-19 08:24:25] 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-07-19 08:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784429558000,"timestamp_ms":1784429558000,"timestamp_seconds":1784429558,"priority":1,"record_length":96,"hex_timestamp":"0000019f784a38f0"} 
[2026-07-19 08:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:24: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-07-19 08: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":127,"data_length":795,"current_offset":136} 
[2026-07-19 08:24: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-07-19 08: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-07-19 08:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":137353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":137353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":137353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813964800001,"66":13330,"129":206,"85":15104,"24":42,"16":108130916982849536,"45":9028098796680808448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-19 08:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813964800001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:24:25] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-19 08:24:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108130916982849536,"km_value":108130916982849.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028098796680808448,"description":"Unknown IO ID 45"} 
[2026-07-19 08:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813964800001,"power":13330,"unknown_129":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9028098796680808448}} 
[2026-07-19 08:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":137353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:24:25] local.INFO: GPS data processed {"connection_id":137353,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:24:25] local.INFO: Acknowledgment sent {"connection_id":137353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:24:37] local.INFO: TCP Data received {"connection_id":138767,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:24:37] local.INFO: Processing buffer {"connection_id":138767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:24:37] local.INFO: IMEI packet received {"connection_id":138767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":138767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:24:42] local.INFO: TCP Data received {"connection_id":138767,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:24:42] local.INFO: Processing buffer {"connection_id":138767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:24:42] local.INFO: IMEI packet received {"connection_id":138767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":138767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:24:43] local.INFO: TCP Data received {"connection_id":138767,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:24:43] local.INFO: Processing buffer {"connection_id":138767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:24:43] local.INFO: Packet analysis {"connection_id":138767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7848"} 
[2026-07-19 08:24:43] local.INFO: Extracted packet for processing {"connection_id":138767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7848"} 
[2026-07-19 08:24:43] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":34,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813852928001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498701312,"note":"Value kept but may cause issues"} 
[2026-07-19 08:24: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-07-19 08:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784429415000,"timestamp_ms":1784429415000,"timestamp_seconds":1784429415,"priority":1,"record_length":96,"hex_timestamp":"0000019f78480a58"} 
[2026-07-19 08:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-19 08:24:43] 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-07-19 08:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":138767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":138767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":138767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813852928001,"66":26158,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802586226498701312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813852928001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:24:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:24:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498701312,"description":"Unknown IO ID 45"} 
[2026-07-19 08:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813852928001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498701312}} 
[2026-07-19 08:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":138767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:24:43] local.INFO: GPS data processed {"connection_id":138767,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:24:43] local.INFO: Acknowledgment sent {"connection_id":138767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:24:56] local.INFO: TCP Data received {"connection_id":137353,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f784a5060012d7d42c005cd81c80007015624..."} 
[2026-07-19 08:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784a5060012d7d42c005cd81c80007015624..."} 
[2026-07-19 08:24:56] local.INFO: Processing buffer {"connection_id":137353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784a5060012d7d42c005cd81c80007015624..."} 
[2026-07-19 08:24:56] local.INFO: Packet analysis {"connection_id":137353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784a"} 
[2026-07-19 08:24:56] local.INFO: Extracted packet for processing {"connection_id":137353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784a"} 
[2026-07-19 08:24:56] local.INFO: GPS Element Parsed {"raw_longitude":763183808,"raw_latitude":97354184,"longitude_deg":76.3183808,"latitude_deg":9.7354184,"altitude":7,"angle":342,"satellites":36,"speed":22,"hex_longitude":"2d7d42c0","hex_latitude":"05cd81c8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813966848001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108131136026181632,"note":"Value kept but may cause issues"} 
[2026-07-19 08:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026832159288104960,"note":"Value kept but may cause issues"} 
[2026-07-19 08:24:56] 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-07-19 08:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784429564000,"timestamp_ms":1784429564000,"timestamp_seconds":1784429564,"priority":1,"record_length":96,"hex_timestamp":"0000019f784a5060"} 
[2026-07-19 08:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:24: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-07-19 08: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":18,"data_length":795,"current_offset":136} 
[2026-07-19 08:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-19 08:24:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 08:24:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277857192875409824,"note":"Value kept but may cause issues"} 
[2026-07-19 08:24:56] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":7196752251783159808,"corrected_to":0} 
[2026-07-19 08:24:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2894135502,"corrected_to":0} 
[2026-07-19 08:24:56] local.WARNING: Large IO value detected {"io_id":84,"raw_value":3221605553,"note":"Value kept but may cause issues"} 
[2026-07-19 08:24:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3431591936,"note":"Value kept but may cause issues"} 
[2026-07-19 08:24:56] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57892040289965371,"corrected_to":0} 
[2026-07-19 08:24:56] local.WARNING: Large IO value detected {"io_id":73,"raw_value":8757250770309545989,"note":"Value kept but may cause issues"} 
[2026-07-19 08:24:56] local.WARNING: Large IO value detected {"io_id":42,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-19 08:24:56] local.WARNING: Large IO value detected {"io_id":172,"raw_value":-9151087577359443968,"note":"Value kept but may cause issues"} 
[2026-07-19 08:24:56] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-19 08:24:56] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,129,85,24,241,157,16,40,159,25,45,64,74,7,36,10,66,254,35,39,227,1,240,62,120,204,4,113,205,65,180,84,72,32,239,50,2,128,5,54,247,73,42,172,76],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":204,"original":7196752251783159808,"validated":0},{"io_id":205,"original":2894135502,"validated":0},{"io_id":247,"original":57892040289965371,"validated":0}]} 
[2026-07-19 08:24:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504791440491675648,"timestamp_seconds":504791440491675.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 08:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813966848001,"66":13341,"129":206,"85":15104,"24":22,"16":108131136026181632,"45":9026832159288104960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-19 08:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813966848001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:24:56] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-19 08:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108131136026181632,"km_value":108131136026181.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026832159288104960,"description":"Unknown IO ID 45"} 
[2026-07-19 08:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813966848001,"power":13341,"unknown_129":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9026832159288104960}} 
[2026-07-19 08:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":137353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511194,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:24:56] local.INFO: GPS data processed {"connection_id":137353,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:24:56] local.INFO: Acknowledgment sent {"connection_id":137353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:25:18] local.INFO: TCP Data received {"connection_id":138767,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:25:18] local.INFO: Processing buffer {"connection_id":138767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:25:18] local.INFO: Packet analysis {"connection_id":138767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7848"} 
[2026-07-19 08:25:18] local.INFO: Extracted packet for processing {"connection_id":138767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7848"} 
[2026-07-19 08:25:18] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":34,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813852928001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498701312,"note":"Value kept but may cause issues"} 
[2026-07-19 08:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784429415000,"timestamp_ms":1784429415000,"timestamp_seconds":1784429415,"priority":1,"record_length":96,"hex_timestamp":"0000019f78480a58"} 
[2026-07-19 08:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-19 08:25:18] 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-07-19 08:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":138767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":138767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":138767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813852928001,"66":26158,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802586226498701312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813852928001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:25:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:25:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498701312,"description":"Unknown IO ID 45"} 
[2026-07-19 08:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813852928001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498701312}} 
[2026-07-19 08:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":138767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:25:19] local.INFO: GPS data processed {"connection_id":138767,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:25:19] local.INFO: Acknowledgment sent {"connection_id":138767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:25:19] local.INFO: TCP Data received {"connection_id":137354,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:25:19] local.INFO: Processing buffer {"connection_id":137354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:25:19] local.INFO: IMEI packet received {"connection_id":137354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":137354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:25:24] local.INFO: TCP Data received {"connection_id":137354,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:25:24] local.INFO: Processing buffer {"connection_id":137354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:25:24] local.INFO: IMEI packet received {"connection_id":137354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":137354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:25:25] local.INFO: TCP Data received {"connection_id":137354,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f784c5fb8012d7d474005cef2400005000023..."} 
[2026-07-19 08:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784c5fb8012d7d474005cef2400005000023..."} 
[2026-07-19 08:25:25] local.INFO: Processing buffer {"connection_id":137354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784c5fb8012d7d474005cef2400005000023..."} 
[2026-07-19 08:25:25] local.INFO: Packet analysis {"connection_id":137354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:25:25] local.INFO: Extracted packet for processing {"connection_id":137354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:25:25] local.INFO: GPS Element Parsed {"raw_longitude":763184960,"raw_latitude":97448512,"longitude_deg":76.318496,"latitude_deg":9.7448512,"altitude":5,"angle":0,"satellites":35,"speed":39,"hex_longitude":"2d7d4740","hex_latitude":"05cef240","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814000384001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108135727346221056,"note":"Value kept but may cause issues"} 
[2026-07-19 08:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027254371776036864,"note":"Value kept but may cause issues"} 
[2026-07-19 08:25:25] 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-07-19 08:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784429699000,"timestamp_ms":1784429699000,"timestamp_seconds":1784429699,"priority":1,"record_length":96,"hex_timestamp":"0000019f784c5fb8"} 
[2026-07-19 08:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-19 08:25: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-07-19 08: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-07-19 08:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":137354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":137354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":137354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814000384001,"66":13189,"235":206,"85":15104,"24":39,"16":108135727346221056,"45":9027254371776036864},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-19 08:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814000384001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:25:25] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-19 08:25:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108135727346221056,"km_value":108135727346221.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027254371776036864,"description":"Unknown IO ID 45"} 
[2026-07-19 08:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814000384001,"power":13189,"unknown_235":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9027254371776036864}} 
[2026-07-19 08:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":137354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:25:25] local.INFO: GPS data processed {"connection_id":137354,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:25:25] local.INFO: Acknowledgment sent {"connection_id":137354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:25:33] local.INFO: TCP Data received {"connection_id":136302,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:25:33] local.INFO: Processing buffer {"connection_id":136302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:25:33] local.INFO: IMEI packet received {"connection_id":136302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":136302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:25:37] local.INFO: TCP Data received {"connection_id":136302,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:25:37] local.INFO: Processing buffer {"connection_id":136302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:25:37] local.INFO: IMEI packet received {"connection_id":136302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":136302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:25:39] local.INFO: TCP Data received {"connection_id":136302,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:25:39] local.INFO: Processing buffer {"connection_id":136302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78480a58012d34c48006aa3da8001800aa22..."} 
[2026-07-19 08:25:39] local.INFO: Packet analysis {"connection_id":136302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7848"} 
[2026-07-19 08:25:39] local.INFO: Extracted packet for processing {"connection_id":136302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7848"} 
[2026-07-19 08:25:39] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":34,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813852928001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498701312,"note":"Value kept but may cause issues"} 
[2026-07-19 08:25: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-07-19 08:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784429415000,"timestamp_ms":1784429415000,"timestamp_seconds":1784429415,"priority":1,"record_length":96,"hex_timestamp":"0000019f78480a58"} 
[2026-07-19 08:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-19 08:25:39] 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-07-19 08: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-07-19 08:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:25: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-07-19 08:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813852928001,"66":26158,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802586226498701312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813852928001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:25:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:25:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498701312,"description":"Unknown IO ID 45"} 
[2026-07-19 08:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813852928001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498701312}} 
[2026-07-19 08:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":136302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:25:39] local.INFO: GPS data processed {"connection_id":136302,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:25:39] local.INFO: Acknowledgment sent {"connection_id":136302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:26:00] local.INFO: TCP Data received {"connection_id":137354,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f784c82e0012d7d46c005cf17d80005016724..."} 
[2026-07-19 08:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784c82e0012d7d46c005cf17d80005016724..."} 
[2026-07-19 08:26:00] local.INFO: Processing buffer {"connection_id":137354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784c82e0012d7d46c005cf17d80005016724..."} 
[2026-07-19 08:26:00] local.INFO: Packet analysis {"connection_id":137354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:26:00] local.INFO: Extracted packet for processing {"connection_id":137354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:26:00] local.INFO: GPS Element Parsed {"raw_longitude":763184832,"raw_latitude":97458136,"longitude_deg":76.3184832,"latitude_deg":9.7458136,"altitude":5,"angle":359,"satellites":36,"speed":46,"hex_longitude":"2d7d46c0","hex_latitude":"05cf17d8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814002944001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108136195497656320,"note":"Value kept but may cause issues"} 
[2026-07-19 08:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027254371778445312,"note":"Value kept but may cause issues"} 
[2026-07-19 08:26:00] 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-07-19 08:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784429708000,"timestamp_ms":1784429708000,"timestamp_seconds":1784429708,"priority":1,"record_length":96,"hex_timestamp":"0000019f784c82e0"} 
[2026-07-19 08:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:26: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-07-19 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-19 08:26:00] 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-07-19 08: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-07-19 08:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":137354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":137354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":137354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814002944001,"66":13352,"235":206,"85":15104,"24":46,"16":108136195497656320,"45":9027254371778445312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-19 08:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814002944001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:26:00] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-19 08:26:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108136195497656320,"km_value":108136195497656.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027254371778445312,"description":"Unknown IO ID 45"} 
[2026-07-19 08:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814002944001,"power":13352,"unknown_235":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9027254371778445312}} 
[2026-07-19 08:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":137354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:26:00] local.INFO: GPS data processed {"connection_id":137354,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:26:00] local.INFO: Acknowledgment sent {"connection_id":137354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:26:15] local.INFO: TCP Data received {"connection_id":136302,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:26:15] local.INFO: Processing buffer {"connection_id":136302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:26:15] local.INFO: Packet analysis {"connection_id":136302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:26:15] local.INFO: Extracted packet for processing {"connection_id":136302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:26:15] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813930240001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784429716000,"timestamp_ms":1784429716000,"timestamp_seconds":1784429716,"priority":1,"record_length":96,"hex_timestamp":"0000019f784ca220"} 
[2026-07-19 08:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 08:26:15] 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-07-19 08:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":136302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":136302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":136302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813930240001,"66":25952,"96":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-19 08:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813930240001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:26:15] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-19 08:26:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813930240001,"power":25952,"unknown_96":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":136302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:26:15] local.INFO: GPS data processed {"connection_id":136302,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:26:15] local.INFO: Acknowledgment sent {"connection_id":136302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:26:20] local.INFO: TCP Data received {"connection_id":136303,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:26:20] local.INFO: Processing buffer {"connection_id":136303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:26:20] local.INFO: IMEI packet received {"connection_id":136303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":136303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:26:22] local.INFO: TCP Data received {"connection_id":136303,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:26:22] local.INFO: Processing buffer {"connection_id":136303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:26:22] local.INFO: IMEI packet received {"connection_id":136303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":136303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:26:24] local.INFO: TCP Data received {"connection_id":136303,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:26:24] local.INFO: Processing buffer {"connection_id":136303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:26:24] local.INFO: IMEI packet received {"connection_id":136303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":136303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:26:29] local.INFO: TCP Data received {"connection_id":136303,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:26:29] local.INFO: Processing buffer {"connection_id":136303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:26:29] local.INFO: IMEI packet received {"connection_id":136303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":136303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:26:30] local.INFO: TCP Data received {"connection_id":136303,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f784ca220012d7d468005cf3c800004000124..."} 
[2026-07-19 08:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784ca220012d7d468005cf3c800004000124..."} 
[2026-07-19 08:26:30] local.INFO: Processing buffer {"connection_id":136303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784ca220012d7d468005cf3c800004000124..."} 
[2026-07-19 08:26:30] local.INFO: Packet analysis {"connection_id":136303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:26:30] local.INFO: Extracted packet for processing {"connection_id":136303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:26:30] local.INFO: GPS Element Parsed {"raw_longitude":763184768,"raw_latitude":97467520,"longitude_deg":76.3184768,"latitude_deg":9.746752,"altitude":4,"angle":1,"satellites":36,"speed":45,"hex_longitude":"2d7d4680","hex_latitude":"05cf3c80","is_valid_coordinates":true} 
[2026-07-19 08:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814005248001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108136650764189696,"note":"Value kept but may cause issues"} 
[2026-07-19 08:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027113634292553728,"note":"Value kept but may cause issues"} 
[2026-07-19 08:26:30] 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-07-19 08:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784429716000,"timestamp_ms":1784429716000,"timestamp_seconds":1784429716,"priority":1,"record_length":96,"hex_timestamp":"0000019f784ca220"} 
[2026-07-19 08:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:26: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-07-19 08:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-19 08:26:30] 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-07-19 08:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":136303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":136303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":136303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814005248001,"66":13450,"235":206,"85":15104,"24":45,"16":108136650764189696,"45":9027113634292553728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-19 08:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814005248001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:26:30] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-19 08:26:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108136650764189696,"km_value":108136650764189.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027113634292553728,"description":"Unknown IO ID 45"} 
[2026-07-19 08:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814005248001,"power":13450,"unknown_235":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9027113634292553728}} 
[2026-07-19 08:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":136303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:26:30] local.INFO: GPS data processed {"connection_id":136303,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:26:30] local.INFO: Acknowledgment sent {"connection_id":136303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:26:33] local.INFO: TCP Data received {"connection_id":136303,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f784cc160012d7d4a0005cf63980003000124..."} 
[2026-07-19 08:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784cc160012d7d4a0005cf63980003000124..."} 
[2026-07-19 08:26:33] local.INFO: Processing buffer {"connection_id":136303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784cc160012d7d4a0005cf63980003000124..."} 
[2026-07-19 08:26:33] local.INFO: Packet analysis {"connection_id":136303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:26:33] local.INFO: Extracted packet for processing {"connection_id":136303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763185664,"raw_latitude":97477528,"longitude_deg":76.3185664,"latitude_deg":9.7477528,"altitude":3,"angle":1,"satellites":36,"speed":54,"hex_longitude":"2d7d4a00","hex_latitude":"05cf6398","is_valid_coordinates":true} 
[2026-07-19 08:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814007296001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108137136095494144,"note":"Value kept but may cause issues"} 
[2026-07-19 08:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027043265550778368,"note":"Value kept but may cause issues"} 
[2026-07-19 08:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784429724000,"timestamp_ms":1784429724000,"timestamp_seconds":1784429724,"priority":1,"record_length":96,"hex_timestamp":"0000019f784cc160"} 
[2026-07-19 08:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:26: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-07-19 08:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-19 08:26: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-07-19 08:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":136303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":136303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":136303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814007296001,"66":13363,"235":206,"85":15104,"24":54,"16":108137136095494144,"45":9027043265550778368},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-19 08:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814007296001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:26:33] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-19 08:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108137136095494144,"km_value":108137136095494.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027043265550778368,"description":"Unknown IO ID 45"} 
[2026-07-19 08:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814007296001,"power":13363,"unknown_235":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9027043265550778368}} 
[2026-07-19 08:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":136303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:26:33] local.INFO: GPS data processed {"connection_id":136303,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:26:33] local.INFO: Acknowledgment sent {"connection_id":136303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:26:37] local.INFO: TCP Data received {"connection_id":138769,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:26:37] local.INFO: Processing buffer {"connection_id":138769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:26:37] local.INFO: IMEI packet received {"connection_id":138769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":138769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:26:42] local.INFO: TCP Data received {"connection_id":138769,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:26:42] local.INFO: Processing buffer {"connection_id":138769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:26:42] local.INFO: IMEI packet received {"connection_id":138769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":138769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:26:44] local.INFO: TCP Data received {"connection_id":138769,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:26:44] local.INFO: Processing buffer {"connection_id":138769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:26:44] local.INFO: Packet analysis {"connection_id":138769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:26:44] local.INFO: Extracted packet for processing {"connection_id":138769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:26:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813930240001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784429716000,"timestamp_ms":1784429716000,"timestamp_seconds":1784429716,"priority":1,"record_length":96,"hex_timestamp":"0000019f784ca220"} 
[2026-07-19 08:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 08:26:44] 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-07-19 08:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":138769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":138769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":138769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813930240001,"66":25952,"96":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-19 08:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813930240001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:26:44] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-19 08:26:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813930240001,"power":25952,"unknown_96":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":138769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:26:44] local.INFO: GPS data processed {"connection_id":138769,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:26:44] local.INFO: Acknowledgment sent {"connection_id":138769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:26:47] local.INFO: TCP Data received {"connection_id":138769,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:26:47] local.INFO: Processing buffer {"connection_id":138769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:26:47] local.INFO: Packet analysis {"connection_id":138769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:26:47] local.INFO: Extracted packet for processing {"connection_id":138769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813930240001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784429716000,"timestamp_ms":1784429716000,"timestamp_seconds":1784429716,"priority":1,"record_length":96,"hex_timestamp":"0000019f784ca220"} 
[2026-07-19 08:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 08:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":138769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":138769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":138769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813930240001,"66":25952,"96":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-19 08:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813930240001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:26:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-19 08:26:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813930240001,"power":25952,"unknown_96":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":138769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:26:47] local.INFO: GPS data processed {"connection_id":138769,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:26:47] local.INFO: Acknowledgment sent {"connection_id":138769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:27:04] local.INFO: TCP Data received {"connection_id":136303,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f784de658012d7d450005d07d500006016225..."} 
[2026-07-19 08:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784de658012d7d450005d07d500006016225..."} 
[2026-07-19 08:27:04] local.INFO: Processing buffer {"connection_id":136303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784de658012d7d450005d07d500006016225..."} 
[2026-07-19 08:27:04] local.INFO: Packet analysis {"connection_id":136303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784d"} 
[2026-07-19 08:27:04] local.INFO: Extracted packet for processing {"connection_id":136303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784d"} 
[2026-07-19 08:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763184384,"raw_latitude":97549648,"longitude_deg":76.3184384,"latitude_deg":9.7549648,"altitude":6,"angle":354,"satellites":37,"speed":48,"hex_longitude":"2d7d4500","hex_latitude":"05d07d50","is_valid_coordinates":true} 
[2026-07-19 08:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814026496001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108140645083774976,"note":"Value kept but may cause issues"} 
[2026-07-19 08:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027324740546131968,"note":"Value kept but may cause issues"} 
[2026-07-19 08:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784429799000,"timestamp_ms":1784429799000,"timestamp_seconds":1784429799,"priority":1,"record_length":96,"hex_timestamp":"0000019f784de658"} 
[2026-07-19 08:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-19 08:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":136303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":136303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":136303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814026496001,"66":13178,"198":206,"85":15104,"24":48,"16":108140645083774976,"45":9027324740546131968},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-07-19 08:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814026496001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:27:04] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-19 08:27:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108140645083774976,"km_value":108140645083774.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027324740546131968,"description":"Unknown IO ID 45"} 
[2026-07-19 08:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814026496001,"power":13178,"unknown_198":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9027324740546131968}} 
[2026-07-19 08:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":136303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:27:04] local.INFO: GPS data processed {"connection_id":136303,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:27:04] local.INFO: Acknowledgment sent {"connection_id":136303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:27:17] local.INFO: TCP Data received {"connection_id":136304,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:27:17] local.INFO: Processing buffer {"connection_id":136304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:27:17] local.INFO: IMEI packet received {"connection_id":136304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":136304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:27:19] local.INFO: TCP Data received {"connection_id":136304,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:27:19] local.INFO: Processing buffer {"connection_id":136304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:27:19] local.INFO: IMEI packet received {"connection_id":136304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":136304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:27:24] local.INFO: TCP Data received {"connection_id":136304,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:27:24] local.INFO: Processing buffer {"connection_id":136304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:27:24] local.INFO: IMEI packet received {"connection_id":136304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":136304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:27:25] local.INFO: TCP Data received {"connection_id":136304,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f784e0980012d7d3fc005d0a2200005016125..."} 
[2026-07-19 08:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784e0980012d7d3fc005d0a2200005016125..."} 
[2026-07-19 08:27:25] local.INFO: Processing buffer {"connection_id":136304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784e0980012d7d3fc005d0a2200005016125..."} 
[2026-07-19 08:27:25] local.INFO: Packet analysis {"connection_id":136304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784e"} 
[2026-07-19 08:27:25] local.INFO: Extracted packet for processing {"connection_id":136304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784e"} 
[2026-07-19 08:27:25] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":97559072,"longitude_deg":76.318304,"latitude_deg":9.7559072,"altitude":5,"angle":353,"satellites":37,"speed":40,"hex_longitude":"2d7d3fc0","hex_latitude":"05d0a220","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814028544001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108141104645275648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026621053106737152,"note":"Value kept but may cause issues"} 
[2026-07-19 08:27:25] 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-07-19 08:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784429808000,"timestamp_ms":1784429808000,"timestamp_seconds":1784429808,"priority":1,"record_length":96,"hex_timestamp":"0000019f784e0980"} 
[2026-07-19 08:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:27: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-07-19 08: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-19 08:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814028544001,"66":13515,"198":206,"85":15104,"24":40,"16":108141104645275648,"45":9026621053106737152},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-07-19 08:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814028544001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:27:25] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-19 08:27:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108141104645275648,"km_value":108141104645275.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026621053106737152,"description":"Unknown IO ID 45"} 
[2026-07-19 08:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814028544001,"power":13515,"unknown_198":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9026621053106737152}} 
[2026-07-19 08:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":136304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:27:25] local.INFO: GPS data processed {"connection_id":136304,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:27:25] local.INFO: Acknowledgment sent {"connection_id":136304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:27:32] local.INFO: TCP Data received {"connection_id":136305,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:27:32] local.INFO: Processing buffer {"connection_id":136305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:27:32] local.INFO: IMEI packet received {"connection_id":136305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":136305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:27:37] local.INFO: TCP Data received {"connection_id":136305,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:27:37] local.INFO: Processing buffer {"connection_id":136305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:27:37] local.INFO: IMEI packet received {"connection_id":136305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":136305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:27:38] local.INFO: TCP Data received {"connection_id":136305,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:27:38] local.INFO: Processing buffer {"connection_id":136305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:27:38] local.INFO: Packet analysis {"connection_id":136305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:27:38] local.INFO: Extracted packet for processing {"connection_id":136305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:27:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813930240001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784429716000,"timestamp_ms":1784429716000,"timestamp_seconds":1784429716,"priority":1,"record_length":96,"hex_timestamp":"0000019f784ca220"} 
[2026-07-19 08:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 08:27:38] 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-07-19 08:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:27: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-07-19 08:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813930240001,"66":25952,"96":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-19 08:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813930240001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:27:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-19 08:27:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813930240001,"power":25952,"unknown_96":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":136305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:27:38] local.INFO: GPS data processed {"connection_id":136305,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:27:38] local.INFO: Acknowledgment sent {"connection_id":136305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:27:47] local.INFO: TCP Data received {"connection_id":136421,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136421,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:27:47] local.INFO: Processing buffer {"connection_id":136421,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:27:47] local.INFO: IMEI packet received {"connection_id":136421,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 08:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":136421,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:27:56] local.INFO: TCP Data received {"connection_id":136304,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f784e28c0012d7d3d4005d0c6600005016325..."} 
[2026-07-19 08:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784e28c0012d7d3d4005d0c6600005016325..."} 
[2026-07-19 08:27:56] local.INFO: Processing buffer {"connection_id":136304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784e28c0012d7d3d4005d0c6600005016325..."} 
[2026-07-19 08:27:56] local.INFO: Packet analysis {"connection_id":136304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784e"} 
[2026-07-19 08:27:56] local.INFO: Extracted packet for processing {"connection_id":136304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784e"} 
[2026-07-19 08:27:56] local.INFO: GPS Element Parsed {"raw_longitude":763182400,"raw_latitude":97568352,"longitude_deg":76.31824,"latitude_deg":9.7568352,"altitude":5,"angle":355,"satellites":37,"speed":51,"hex_longitude":"2d7d3d40","hex_latitude":"05d0c660","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814030848001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108141555616841728,"note":"Value kept but may cause issues"} 
[2026-07-19 08:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309481418752,"note":"Value kept but may cause issues"} 
[2026-07-19 08:27:56] 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-07-19 08:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784429816000,"timestamp_ms":1784429816000,"timestamp_seconds":1784429816,"priority":1,"record_length":96,"hex_timestamp":"0000019f784e28c0"} 
[2026-07-19 08:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:27: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-07-19 08: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-19 08:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814030848001,"66":13472,"198":206,"85":15104,"24":51,"16":108141555616841728,"45":9025143309481418752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-07-19 08:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814030848001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:27:56] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-19 08:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108141555616841728,"km_value":108141555616841.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309481418752,"description":"Unknown IO ID 45"} 
[2026-07-19 08:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814030848001,"power":13472,"unknown_198":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9025143309481418752}} 
[2026-07-19 08:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":136304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:27:56] local.INFO: GPS data processed {"connection_id":136304,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:27:56] local.INFO: Acknowledgment sent {"connection_id":136304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:28:10] local.INFO: TCP Data received {"connection_id":136305,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:28:10] local.INFO: Processing buffer {"connection_id":136305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:28:10] local.INFO: Packet analysis {"connection_id":136305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:28:10] local.INFO: Extracted packet for processing {"connection_id":136305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813930240001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784429716000,"timestamp_ms":1784429716000,"timestamp_seconds":1784429716,"priority":1,"record_length":96,"hex_timestamp":"0000019f784ca220"} 
[2026-07-19 08:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 08:28:10] 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-07-19 08:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813930240001,"66":25952,"96":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-19 08:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813930240001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:28:10] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-19 08:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813930240001,"power":25952,"unknown_96":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":136305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:28:10] local.INFO: GPS data processed {"connection_id":136305,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:28:10] local.INFO: Acknowledgment sent {"connection_id":136305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:28:24] local.INFO: TCP Data received {"connection_id":138770,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:28:24] local.INFO: Processing buffer {"connection_id":138770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:28:24] local.INFO: IMEI packet received {"connection_id":138770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":138770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:28:25] local.INFO: TCP Data received {"connection_id":138770,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:28:25] local.INFO: Processing buffer {"connection_id":138770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:28:25] local.INFO: IMEI packet received {"connection_id":138770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":138770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:28:27] local.INFO: TCP Data received {"connection_id":136422,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:28:27] local.INFO: Processing buffer {"connection_id":136422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:28:27] local.INFO: IMEI packet received {"connection_id":136422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 08:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":136422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:28:32] local.INFO: TCP Data received {"connection_id":138771,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:28:32] local.INFO: Processing buffer {"connection_id":138771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:28:32] local.INFO: IMEI packet received {"connection_id":138771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":138771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:28:37] local.INFO: TCP Data received {"connection_id":138771,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:28:37] local.INFO: Processing buffer {"connection_id":138771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:28:37] local.INFO: IMEI packet received {"connection_id":138771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":138771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:28:38] local.INFO: TCP Data received {"connection_id":138771,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:28:38] local.INFO: Processing buffer {"connection_id":138771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:28:38] local.INFO: Packet analysis {"connection_id":138771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:28:38] local.INFO: Extracted packet for processing {"connection_id":138771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:28:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813930240001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784429716000,"timestamp_ms":1784429716000,"timestamp_seconds":1784429716,"priority":1,"record_length":96,"hex_timestamp":"0000019f784ca220"} 
[2026-07-19 08:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 08:28:38] 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-07-19 08:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813930240001,"66":25952,"96":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-19 08:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813930240001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:28:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-19 08:28:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813930240001,"power":25952,"unknown_96":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":138771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:28:38] local.INFO: GPS data processed {"connection_id":138771,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:28:38] local.INFO: Acknowledgment sent {"connection_id":138771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:28:50] local.INFO: TCP Data received {"connection_id":138770,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f784e4418012d7d3ac005d0ed280006016525..."} 
[2026-07-19 08:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784e4418012d7d3ac005d0ed280006016525..."} 
[2026-07-19 08:28:51] local.INFO: Processing buffer {"connection_id":138770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784e4418012d7d3ac005d0ed280006016525..."} 
[2026-07-19 08:28:51] local.INFO: Packet analysis {"connection_id":138770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784e"} 
[2026-07-19 08:28:51] local.INFO: Extracted packet for processing {"connection_id":138770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784e"} 
[2026-07-19 08:28:51] local.INFO: GPS Element Parsed {"raw_longitude":763181760,"raw_latitude":97578280,"longitude_deg":76.318176,"latitude_deg":9.757828,"altitude":6,"angle":357,"satellites":37,"speed":60,"hex_longitude":"2d7d3ac0","hex_latitude":"05d0ed28","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814032896001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108142036653178880,"note":"Value kept but may cause issues"} 
[2026-07-19 08:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024439622042017792,"note":"Value kept but may cause issues"} 
[2026-07-19 08:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784429823000,"timestamp_ms":1784429823000,"timestamp_seconds":1784429823,"priority":1,"record_length":96,"hex_timestamp":"0000019f784e4418"} 
[2026-07-19 08:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:28: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-07-19 08:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-19 08:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":138770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":138770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":138770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814032896001,"66":13037,"197":206,"85":15104,"24":60,"16":108142036653178880,"45":9024439622042017792},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 08:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814032896001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:28:51] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 08:28:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108142036653178880,"km_value":108142036653178.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024439622042017792,"description":"Unknown IO ID 45"} 
[2026-07-19 08:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814032896001,"power":13037,"unknown_197":206,"unknown_85":15104,"ignition":60,"odometer":null,"unknown_45":9024439622042017792}} 
[2026-07-19 08:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":138770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:28:51] local.INFO: GPS data processed {"connection_id":138770,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:28:51] local.INFO: Acknowledgment sent {"connection_id":138770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:28:54] local.INFO: TCP Data received {"connection_id":138770,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f784e5b88012d7d38c005d111880007016425..."} 
[2026-07-19 08:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784e5b88012d7d38c005d111880007016425..."} 
[2026-07-19 08:28:54] local.INFO: Processing buffer {"connection_id":138770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784e5b88012d7d38c005d111880007016425..."} 
[2026-07-19 08:28:54] local.INFO: Packet analysis {"connection_id":138770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784e"} 
[2026-07-19 08:28:54] local.INFO: Extracted packet for processing {"connection_id":138770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784e"} 
[2026-07-19 08:28:54] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":97587592,"longitude_deg":76.3181248,"latitude_deg":9.7587592,"altitude":7,"angle":356,"satellites":37,"speed":62,"hex_longitude":"2d7d38c0","hex_latitude":"05d11188","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814034688001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108142491919712256,"note":"Value kept but may cause issues"} 
[2026-07-19 08:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023735934602782720,"note":"Value kept but may cause issues"} 
[2026-07-19 08:28:54] 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-07-19 08:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784429829000,"timestamp_ms":1784429829000,"timestamp_seconds":1784429829,"priority":1,"record_length":96,"hex_timestamp":"0000019f784e5b88"} 
[2026-07-19 08:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-19 08:28:54] 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-07-19 08: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-07-19 08:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":138770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":138770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":138770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814034688001,"66":13037,"197":206,"85":15104,"24":62,"16":108142491919712256,"45":9023735934602782720},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 08:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814034688001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:28:54] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 08:28:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108142491919712256,"km_value":108142491919712.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023735934602782720,"description":"Unknown IO ID 45"} 
[2026-07-19 08:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814034688001,"power":13037,"unknown_197":206,"unknown_85":15104,"ignition":62,"odometer":null,"unknown_45":9023735934602782720}} 
[2026-07-19 08:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":138770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:28:54] local.INFO: GPS data processed {"connection_id":138770,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:28:54] local.INFO: Acknowledgment sent {"connection_id":138770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:29:08] local.INFO: TCP Data received {"connection_id":138771,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:29:08] local.INFO: Processing buffer {"connection_id":138771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:29:08] local.INFO: Packet analysis {"connection_id":138771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:29:08] local.INFO: Extracted packet for processing {"connection_id":138771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813930240001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784429716000,"timestamp_ms":1784429716000,"timestamp_seconds":1784429716,"priority":1,"record_length":96,"hex_timestamp":"0000019f784ca220"} 
[2026-07-19 08:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 08:29:08] 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-07-19 08: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-07-19 08:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":138771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":138771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":138771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813930240001,"66":25952,"96":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-19 08:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813930240001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:29:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-19 08:29:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813930240001,"power":25952,"unknown_96":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":138771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:29:09] local.INFO: GPS data processed {"connection_id":138771,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:29:09] local.INFO: Acknowledgment sent {"connection_id":138771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:29:19] local.INFO: TCP Data received {"connection_id":137355,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:29:19] local.INFO: Processing buffer {"connection_id":137355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:29:19] local.INFO: IMEI packet received {"connection_id":137355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":137355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:29:20] local.INFO: TCP Data received {"connection_id":137355,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:29:20] local.INFO: Processing buffer {"connection_id":137355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:29:20] local.INFO: IMEI packet received {"connection_id":137355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":137355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:29:24] local.INFO: TCP Data received {"connection_id":137355,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:29:24] local.INFO: Processing buffer {"connection_id":137355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:29:24] local.INFO: IMEI packet received {"connection_id":137355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":137355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:29:24] local.INFO: TCP Data received {"connection_id":137355,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f784fd288012d7d368005d280700007000324..."} 
[2026-07-19 08:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784fd288012d7d368005d280700007000324..."} 
[2026-07-19 08:29:24] local.INFO: Processing buffer {"connection_id":137355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784fd288012d7d368005d280700007000324..."} 
[2026-07-19 08:29:24] local.INFO: Packet analysis {"connection_id":137355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784f"} 
[2026-07-19 08:29:24] local.INFO: Extracted packet for processing {"connection_id":137355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784f"} 
[2026-07-19 08:29:24] local.INFO: GPS Element Parsed {"raw_longitude":763180672,"raw_latitude":97681520,"longitude_deg":76.3180672,"latitude_deg":9.768152,"altitude":7,"angle":3,"satellites":36,"speed":26,"hex_longitude":"2d7d3680","hex_latitude":"05d28070","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814057728001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108147091829686272,"note":"Value kept but may cause issues"} 
[2026-07-19 08:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202659836469248,"note":"Value kept but may cause issues"} 
[2026-07-19 08:29:24] 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-07-19 08:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784429925000,"timestamp_ms":1784429925000,"timestamp_seconds":1784429925,"priority":1,"record_length":96,"hex_timestamp":"0000019f784fd288"} 
[2026-07-19 08:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:29: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-07-19 08: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":181,"data_length":795,"current_offset":136} 
[2026-07-19 08:29: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-07-19 08: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-07-19 08:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":137355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":137355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":137355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814057728001,"66":13254,"23":206,"85":15104,"24":26,"16":108147091829686272,"45":9021202659836469248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-19 08:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814057728001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:29:24] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-19 08:29:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108147091829686272,"km_value":108147091829686.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202659836469248,"description":"Unknown IO ID 45"} 
[2026-07-19 08:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814057728001,"power":13254,"unknown_23":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9021202659836469248}} 
[2026-07-19 08:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":137355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:29:24] local.INFO: GPS data processed {"connection_id":137355,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:29:24] local.INFO: Acknowledgment sent {"connection_id":137355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:29:32] local.INFO: TCP Data received {"connection_id":138773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:29:32] local.INFO: Processing buffer {"connection_id":138773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:29:32] local.INFO: IMEI packet received {"connection_id":138773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":138773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:29:37] local.INFO: TCP Data received {"connection_id":138773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:29:37] local.INFO: Processing buffer {"connection_id":138773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:29:37] local.INFO: IMEI packet received {"connection_id":138773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":138773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:29:38] local.INFO: TCP Data received {"connection_id":138773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:29:38] local.INFO: Processing buffer {"connection_id":138773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:29:38] local.INFO: Packet analysis {"connection_id":138773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:29:38] local.INFO: Extracted packet for processing {"connection_id":138773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:29:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813930240001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784429716000,"timestamp_ms":1784429716000,"timestamp_seconds":1784429716,"priority":1,"record_length":96,"hex_timestamp":"0000019f784ca220"} 
[2026-07-19 08:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 08:29:38] 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-07-19 08:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:29: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-07-19 08:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813930240001,"66":25952,"96":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-19 08:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813930240001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:29:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-19 08:29:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813930240001,"power":25952,"unknown_96":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":138773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:29:38] local.INFO: GPS data processed {"connection_id":138773,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:29:38] local.INFO: Acknowledgment sent {"connection_id":138773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:29:56] local.INFO: TCP Data received {"connection_id":137355,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f784ff1c8012d7d378005d28d380007001325..."} 
[2026-07-19 08:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784ff1c8012d7d378005d28d380007001325..."} 
[2026-07-19 08:29:56] local.INFO: Processing buffer {"connection_id":137355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784ff1c8012d7d378005d28d380007001325..."} 
[2026-07-19 08:29:56] local.INFO: Packet analysis {"connection_id":137355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784f"} 
[2026-07-19 08:29:56] local.INFO: Extracted packet for processing {"connection_id":137355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784f"} 
[2026-07-19 08:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763180928,"raw_latitude":97684792,"longitude_deg":76.3180928,"latitude_deg":9.7684792,"altitude":7,"angle":19,"satellites":37,"speed":11,"hex_longitude":"2d7d3780","hex_latitude":"05d28d38","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814060800001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108147250743476224,"note":"Value kept but may cause issues"} 
[2026-07-19 08:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539665978191872,"note":"Value kept but may cause issues"} 
[2026-07-19 08:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784429933000,"timestamp_ms":1784429933000,"timestamp_seconds":1784429933,"priority":1,"record_length":96,"hex_timestamp":"0000019f784ff1c8"} 
[2026-07-19 08:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:29: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-07-19 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-19 08:29: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-07-19 08: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-07-19 08:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814060800001,"66":13319,"23":206,"85":15104,"24":11,"16":108147250743476224,"45":9022539665978191872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-19 08:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814060800001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:29:56] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-19 08:29:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108147250743476224,"km_value":108147250743476.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539665978191872,"description":"Unknown IO ID 45"} 
[2026-07-19 08:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814060800001,"power":13319,"unknown_23":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9022539665978191872}} 
[2026-07-19 08:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":137355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:29:56] local.INFO: GPS data processed {"connection_id":137355,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:29:56] local.INFO: Acknowledgment sent {"connection_id":137355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:30:11] local.INFO: TCP Data received {"connection_id":138773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:30:11] local.INFO: Processing buffer {"connection_id":138773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:30:11] local.INFO: Packet analysis {"connection_id":138773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:30:11] local.INFO: Extracted packet for processing {"connection_id":138773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:30:11] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813930240001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784429716000,"timestamp_ms":1784429716000,"timestamp_seconds":1784429716,"priority":1,"record_length":96,"hex_timestamp":"0000019f784ca220"} 
[2026-07-19 08:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 08:30:11] 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-07-19 08: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-07-19 08:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":138773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":138773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":138773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813930240001,"66":25952,"96":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-19 08:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813930240001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:30:11] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-19 08:30:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813930240001,"power":25952,"unknown_96":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":138773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:30:11] local.INFO: GPS data processed {"connection_id":138773,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:30:11] local.INFO: Acknowledgment sent {"connection_id":138773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:30:19] local.INFO: TCP Data received {"connection_id":137356,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:30:19] local.INFO: Processing buffer {"connection_id":137356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:30:19] local.INFO: IMEI packet received {"connection_id":137356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":137356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:30:19] local.INFO: TCP Data received {"connection_id":137356,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:30:19] local.INFO: Processing buffer {"connection_id":137356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:30:19] local.INFO: IMEI packet received {"connection_id":137356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":137356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:30:24] local.INFO: TCP Data received {"connection_id":137356,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:30:24] local.INFO: Processing buffer {"connection_id":137356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:30:24] local.INFO: IMEI packet received {"connection_id":137356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":137356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:30:24] local.INFO: TCP Data received {"connection_id":137356,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78501108012d7d3ac005d296d00005000325..."} 
[2026-07-19 08:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78501108012d7d3ac005d296d00005000325..."} 
[2026-07-19 08:30:24] local.INFO: Processing buffer {"connection_id":137356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78501108012d7d3ac005d296d00005000325..."} 
[2026-07-19 08:30:24] local.INFO: Packet analysis {"connection_id":137356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7850"} 
[2026-07-19 08:30:24] local.INFO: Extracted packet for processing {"connection_id":137356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7850"} 
[2026-07-19 08:30:24] local.INFO: GPS Element Parsed {"raw_longitude":763181760,"raw_latitude":97687248,"longitude_deg":76.318176,"latitude_deg":9.7687248,"altitude":5,"angle":3,"satellites":37,"speed":12,"hex_longitude":"2d7d3ac0","hex_latitude":"05d296d0","is_valid_coordinates":true} 
[2026-07-19 08:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814062848001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108147375297527808,"note":"Value kept but may cause issues"} 
[2026-07-19 08:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022821140955740160,"note":"Value kept but may cause issues"} 
[2026-07-19 08:30:24] 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-07-19 08:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784429941000,"timestamp_ms":1784429941000,"timestamp_seconds":1784429941,"priority":1,"record_length":96,"hex_timestamp":"0000019f78501108"} 
[2026-07-19 08:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:30: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-07-19 08:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-19 08:30:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 08:30:24] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57887191271888187,"note":"Value kept but may cause issues"} 
[2026-07-19 08:30:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-19 08:30:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2820079822,"corrected_to":0} 
[2026-07-19 08:30:24] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137392040,"note":"Value kept but may cause issues"} 
[2026-07-19 08:30:24] local.WARNING: Large IO value detected {"io_id":78,"raw_value":-2281071916378292219,"note":"Value kept but may cause issues"} 
[2026-07-19 08:30:24] local.WARNING: Large IO value detected {"io_id":209,"raw_value":-5541679319981284096,"note":"Value kept but may cause issues"} 
[2026-07-19 08:30:24] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,23,85,24,241,157,16,55,159,210,45,128,7,36,10,66,163,192,92,6,54,124,1,240,160,227,120,4,113,205,35,50,48,37,239,51,2,5,78,209],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2820079822,"validated":0}]} 
[2026-07-19 08:30:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504424207900934144,"timestamp_seconds":504424207900934.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 08:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":137356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":137356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":137356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814062848001,"66":13374,"23":206,"85":15104,"24":12,"16":108147375297527808,"45":9022821140955740160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-19 08:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814062848001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:30:24] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-19 08:30:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108147375297527808,"km_value":108147375297527.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022821140955740160,"description":"Unknown IO ID 45"} 
[2026-07-19 08:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814062848001,"power":13374,"unknown_23":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9022821140955740160}} 
[2026-07-19 08:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":137356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:30:24] local.INFO: GPS data processed {"connection_id":137356,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:30:24] local.INFO: Acknowledgment sent {"connection_id":137356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:30:33] local.INFO: TCP Data received {"connection_id":136306,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:30:33] local.INFO: Processing buffer {"connection_id":136306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:30:33] local.INFO: IMEI packet received {"connection_id":136306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":136306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:30:37] local.INFO: TCP Data received {"connection_id":136306,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:30:37] local.INFO: Processing buffer {"connection_id":136306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:30:37] local.INFO: IMEI packet received {"connection_id":136306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":136306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:30:40] local.INFO: TCP Data received {"connection_id":136306,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:30:40] local.INFO: Processing buffer {"connection_id":136306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f784ca220012d34c48006aa3da8001800aa26..."} 
[2026-07-19 08:30:40] local.INFO: Packet analysis {"connection_id":136306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:30:40] local.INFO: Extracted packet for processing {"connection_id":136306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f784c"} 
[2026-07-19 08:30:40] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456813930240001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784429716000,"timestamp_ms":1784429716000,"timestamp_seconds":1784429716,"priority":1,"record_length":96,"hex_timestamp":"0000019f784ca220"} 
[2026-07-19 08:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 08:30:40] 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-07-19 08: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-07-19 08:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":136306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":136306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":136306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:30: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-07-19 08:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456813930240001,"66":25952,"96":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-19 08:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456813930240001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:30:40] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-19 08:30:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456813930240001,"power":25952,"unknown_96":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":136306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:30:40] local.INFO: GPS data processed {"connection_id":136306,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:30:40] local.INFO: Acknowledgment sent {"connection_id":136306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:30:55] local.INFO: TCP Data received {"connection_id":137356,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f785197a8012d7d37c005d477300000015e17..."} 
[2026-07-19 08:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785197a8012d7d37c005d477300000015e17..."} 
[2026-07-19 08:30:55] local.INFO: Processing buffer {"connection_id":137356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785197a8012d7d37c005d477300000015e17..."} 
[2026-07-19 08:30:55] local.INFO: Packet analysis {"connection_id":137356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:30:55] local.INFO: Extracted packet for processing {"connection_id":137356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:30:55] local.INFO: GPS Element Parsed {"raw_longitude":763180992,"raw_latitude":97810224,"longitude_deg":76.3180992,"latitude_deg":9.7810224,"altitude":0,"angle":350,"satellites":23,"speed":59,"hex_longitude":"2d7d37c0","hex_latitude":"05d47730","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814088960001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108153358186971136,"note":"Value kept but may cause issues"} 
[2026-07-19 08:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024087778380781568,"note":"Value kept but may cause issues"} 
[2026-07-19 08:30:55] 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-07-19 08:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784430041000,"timestamp_ms":1784430041000,"timestamp_seconds":1784430041,"priority":1,"record_length":96,"hex_timestamp":"0000019f785197a8"} 
[2026-07-19 08:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:30: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-07-19 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-19 08:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":137356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":137356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":137356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814088960001,"66":13341,"81":206,"85":15104,"24":59,"16":108153358186971136,"45":9024087778380781568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-19 08:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814088960001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:30:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-19 08:30:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108153358186971136,"km_value":108153358186971.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024087778380781568,"description":"Unknown IO ID 45"} 
[2026-07-19 08:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814088960001,"power":13341,"unknown_81":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9024087778380781568}} 
[2026-07-19 08:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":137356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:30:55] local.INFO: GPS data processed {"connection_id":137356,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:30:55] local.INFO: Acknowledgment sent {"connection_id":137356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:31:12] local.INFO: TCP Data received {"connection_id":136306,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:31:12] local.INFO: Processing buffer {"connection_id":136306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:31:12] local.INFO: Packet analysis {"connection_id":136306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:31:12] local.INFO: Extracted packet for processing {"connection_id":136306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:31:12] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814007296001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784430017000,"timestamp_ms":1784430017000,"timestamp_seconds":1784430017,"priority":1,"record_length":96,"hex_timestamp":"0000019f785139e8"} 
[2026-07-19 08:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 08:31:12] 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-07-19 08:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":136306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":136306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":136306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:31: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-07-19 08:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814007296001,"66":25756,"96":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-19 08:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814007296001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:31:12] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-19 08:31:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814007296001,"power":25756,"unknown_96":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":136306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:31:12] local.INFO: GPS data processed {"connection_id":136306,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:31:12] local.INFO: Acknowledgment sent {"connection_id":136306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:31:19] local.INFO: TCP Data received {"connection_id":137357,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:31:19] local.INFO: Processing buffer {"connection_id":137357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:31:19] local.INFO: IMEI packet received {"connection_id":137357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":137357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:31:19] local.INFO: TCP Data received {"connection_id":137357,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:31:19] local.INFO: Processing buffer {"connection_id":137357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:31:19] local.INFO: IMEI packet received {"connection_id":137357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":137357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:31:24] local.INFO: TCP Data received {"connection_id":137357,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:31:24] local.INFO: Processing buffer {"connection_id":137357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:31:24] local.INFO: IMEI packet received {"connection_id":137357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":137357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:31:25] local.INFO: TCP Data received {"connection_id":137357,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7851af18012d7d31c005d49b000000015d17..."} 
[2026-07-19 08:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7851af18012d7d31c005d49b000000015d17..."} 
[2026-07-19 08:31:25] local.INFO: Processing buffer {"connection_id":137357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7851af18012d7d31c005d49b000000015d17..."} 
[2026-07-19 08:31:25] local.INFO: Packet analysis {"connection_id":137357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:31:25] local.INFO: Extracted packet for processing {"connection_id":137357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:31:25] local.INFO: GPS Element Parsed {"raw_longitude":763179456,"raw_latitude":97819392,"longitude_deg":76.3179456,"latitude_deg":9.7819392,"altitude":0,"angle":349,"satellites":23,"speed":63,"hex_longitude":"2d7d31c0","hex_latitude":"05d49b00","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814090496001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108153809158537216,"note":"Value kept but may cause issues"} 
[2026-07-19 08:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022891509732028416,"note":"Value kept but may cause issues"} 
[2026-07-19 08:31: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-07-19 08:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784430047000,"timestamp_ms":1784430047000,"timestamp_seconds":1784430047,"priority":1,"record_length":96,"hex_timestamp":"0000019f7851af18"} 
[2026-07-19 08:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:31: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-07-19 08: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-19 08:31: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-07-19 08: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-07-19 08:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":137357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":137357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":137357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814090496001,"66":13515,"81":206,"85":15104,"24":63,"16":108153809158537216,"45":9022891509732028416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-19 08:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814090496001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:31:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-19 08:31:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108153809158537216,"km_value":108153809158537.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022891509732028416,"description":"Unknown IO ID 45"} 
[2026-07-19 08:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814090496001,"power":13515,"unknown_81":206,"unknown_85":15104,"ignition":63,"odometer":null,"unknown_45":9022891509732028416}} 
[2026-07-19 08:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":137357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:31:25] local.INFO: GPS data processed {"connection_id":137357,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:31:25] local.INFO: Acknowledgment sent {"connection_id":137357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:31:32] local.INFO: TCP Data received {"connection_id":138774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:31:32] local.INFO: Processing buffer {"connection_id":138774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:31:32] local.INFO: IMEI packet received {"connection_id":138774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":138774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:31:37] local.INFO: TCP Data received {"connection_id":138774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:31:37] local.INFO: Processing buffer {"connection_id":138774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:31:37] local.INFO: IMEI packet received {"connection_id":138774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":138774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:31:38] local.INFO: TCP Data received {"connection_id":138774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:31:38] local.INFO: Processing buffer {"connection_id":138774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:31:38] local.INFO: Packet analysis {"connection_id":138774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:31:38] local.INFO: Extracted packet for processing {"connection_id":138774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 08:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814007296001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784430017000,"timestamp_ms":1784430017000,"timestamp_seconds":1784430017,"priority":1,"record_length":96,"hex_timestamp":"0000019f785139e8"} 
[2026-07-19 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-07-19 08:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 08:31:38] 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-07-19 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-07-19 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-07-19 08:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814007296001,"66":25756,"96":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-19 08:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814007296001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:31:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-19 08:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814007296001,"power":25756,"unknown_96":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":138774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:31:38] local.INFO: GPS data processed {"connection_id":138774,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:31:38] local.INFO: Acknowledgment sent {"connection_id":138774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:31:57] local.INFO: TCP Data received {"connection_id":137357,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7851c688012d7d2c8005d4c0300000016016..."} 
[2026-07-19 08:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7851c688012d7d2c8005d4c0300000016016..."} 
[2026-07-19 08:31:57] local.INFO: Processing buffer {"connection_id":137357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7851c688012d7d2c8005d4c0300000016016..."} 
[2026-07-19 08:31:57] local.INFO: Packet analysis {"connection_id":137357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:31:57] local.INFO: Extracted packet for processing {"connection_id":137357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:31:57] local.INFO: GPS Element Parsed {"raw_longitude":763178112,"raw_latitude":97828912,"longitude_deg":76.3178112,"latitude_deg":9.7828912,"altitude":0,"angle":352,"satellites":22,"speed":63,"hex_longitude":"2d7d2c80","hex_latitude":"05d4c030","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814092032001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108154273015005184,"note":"Value kept but may cause issues"} 
[2026-07-19 08:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202659874111488,"note":"Value kept but may cause issues"} 
[2026-07-19 08:31:57] 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-07-19 08:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784430053000,"timestamp_ms":1784430053000,"timestamp_seconds":1784430053,"priority":1,"record_length":96,"hex_timestamp":"0000019f7851c688"} 
[2026-07-19 08:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-19 08:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814092032001,"66":13135,"81":206,"85":15104,"24":63,"16":108154273015005184,"45":9021202659874111488},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-19 08:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814092032001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:31:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-19 08:31:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108154273015005184,"km_value":108154273015005.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202659874111488,"description":"Unknown IO ID 45"} 
[2026-07-19 08:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814092032001,"power":13135,"unknown_81":206,"unknown_85":15104,"ignition":63,"odometer":null,"unknown_45":9021202659874111488}} 
[2026-07-19 08:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":137357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:31:57] local.INFO: GPS data processed {"connection_id":137357,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:31:57] local.INFO: Acknowledgment sent {"connection_id":137357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:32:10] local.INFO: TCP Data received {"connection_id":138774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:32:10] local.INFO: Processing buffer {"connection_id":138774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:32:10] local.INFO: Packet analysis {"connection_id":138774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:32:10] local.INFO: Extracted packet for processing {"connection_id":138774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814007296001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784430017000,"timestamp_ms":1784430017000,"timestamp_seconds":1784430017,"priority":1,"record_length":96,"hex_timestamp":"0000019f785139e8"} 
[2026-07-19 08:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 08:32:10] 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-07-19 08:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814007296001,"66":25756,"96":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-19 08:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814007296001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:32:10] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-19 08:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814007296001,"power":25756,"unknown_96":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":138774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:32:10] local.INFO: GPS data processed {"connection_id":138774,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:32:10] local.INFO: Acknowledgment sent {"connection_id":138774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:32:24] local.INFO: TCP Data received {"connection_id":137358,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:32:24] local.INFO: Processing buffer {"connection_id":137358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:32:24] local.INFO: IMEI packet received {"connection_id":137358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":137358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:32:25] local.INFO: TCP Data received {"connection_id":137358,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:32:25] local.INFO: Processing buffer {"connection_id":137358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:32:25] local.INFO: IMEI packet received {"connection_id":137358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":137358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:32:25] local.INFO: TCP Data received {"connection_id":137358,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7851e1e0012d7d288005d4e6980002015f18..."} 
[2026-07-19 08:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7851e1e0012d7d288005d4e6980002015f18..."} 
[2026-07-19 08:32:25] local.INFO: Processing buffer {"connection_id":137358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7851e1e0012d7d288005d4e6980002015f18..."} 
[2026-07-19 08:32:25] local.INFO: Packet analysis {"connection_id":137358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:32:25] local.INFO: Extracted packet for processing {"connection_id":137358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:32:25] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":97838744,"longitude_deg":76.3177088,"latitude_deg":9.7838744,"altitude":2,"angle":351,"satellites":24,"speed":42,"hex_longitude":"2d7d2880","hex_latitude":"05d4e698","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814093568001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108154754051342336,"note":"Value kept but may cause issues"} 
[2026-07-19 08:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019724916248817664,"note":"Value kept but may cause issues"} 
[2026-07-19 08:32: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-07-19 08:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784430060000,"timestamp_ms":1784430060000,"timestamp_seconds":1784430060,"priority":1,"record_length":96,"hex_timestamp":"0000019f7851e1e0"} 
[2026-07-19 08:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:32: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-07-19 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-19 08:32: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-07-19 08: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-07-19 08:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":137358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":137358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":137358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814093568001,"66":13363,"81":206,"85":15104,"24":42,"16":108154754051342336,"45":9019724916248817664},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-19 08:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814093568001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:32:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-19 08:32:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108154754051342336,"km_value":108154754051342.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019724916248817664,"description":"Unknown IO ID 45"} 
[2026-07-19 08:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814093568001,"power":13363,"unknown_81":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9019724916248817664}} 
[2026-07-19 08:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":137358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:32:26] local.INFO: GPS data processed {"connection_id":137358,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:32:26] local.INFO: Acknowledgment sent {"connection_id":137358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:32:29] local.INFO: TCP Data received {"connection_id":137358,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78520508012d7d264005d50b080001016518..."} 
[2026-07-19 08:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78520508012d7d264005d50b080001016518..."} 
[2026-07-19 08:32:29] local.INFO: Processing buffer {"connection_id":137358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78520508012d7d264005d50b080001016518..."} 
[2026-07-19 08:32:29] local.INFO: Packet analysis {"connection_id":137358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7852"} 
[2026-07-19 08:32:29] local.INFO: Extracted packet for processing {"connection_id":137358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7852"} 
[2026-07-19 08:32:29] local.INFO: GPS Element Parsed {"raw_longitude":763176512,"raw_latitude":97848072,"longitude_deg":76.3176512,"latitude_deg":9.7848072,"altitude":1,"angle":357,"satellites":24,"speed":45,"hex_longitude":"2d7d2640","hex_latitude":"05d50b08","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814095360001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108155205022908416,"note":"Value kept but may cause issues"} 
[2026-07-19 08:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016344492032,"note":"Value kept but may cause issues"} 
[2026-07-19 08:32:29] 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-07-19 08:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784430069000,"timestamp_ms":1784430069000,"timestamp_seconds":1784430069,"priority":1,"record_length":96,"hex_timestamp":"0000019f78520508"} 
[2026-07-19 08:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:32: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-07-19 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 08:32:29] 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-07-19 08: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-07-19 08:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":137358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":137358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":137358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814095360001,"66":13319,"81":206,"85":15104,"24":45,"16":108155205022908416,"45":9018599016344492032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-19 08:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814095360001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:32:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-19 08:32:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108155205022908416,"km_value":108155205022908.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016344492032,"description":"Unknown IO ID 45"} 
[2026-07-19 08:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814095360001,"power":13319,"unknown_81":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9018599016344492032}} 
[2026-07-19 08:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":137358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:32:29] local.INFO: GPS data processed {"connection_id":137358,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:32:29] local.INFO: Acknowledgment sent {"connection_id":137358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:32:32] local.INFO: TCP Data received {"connection_id":138775,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:32:32] local.INFO: Processing buffer {"connection_id":138775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:32:32] local.INFO: IMEI packet received {"connection_id":138775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":138775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:32:37] local.INFO: TCP Data received {"connection_id":138775,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:32:37] local.INFO: Processing buffer {"connection_id":138775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:32:37] local.INFO: IMEI packet received {"connection_id":138775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":138775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:32:37] local.INFO: TCP Data received {"connection_id":138775,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:32:37] local.INFO: Processing buffer {"connection_id":138775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:32:37] local.INFO: Packet analysis {"connection_id":138775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:32:37] local.INFO: Extracted packet for processing {"connection_id":138775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814007296001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784430017000,"timestamp_ms":1784430017000,"timestamp_seconds":1784430017,"priority":1,"record_length":96,"hex_timestamp":"0000019f785139e8"} 
[2026-07-19 08:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 08:32:37] 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-07-19 08:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:32: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-07-19 08:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814007296001,"66":25756,"96":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-19 08:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814007296001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:32:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-19 08:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814007296001,"power":25756,"unknown_96":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":138775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:32:37] local.INFO: GPS data processed {"connection_id":138775,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:32:37] local.INFO: Acknowledgment sent {"connection_id":138775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:33:00] local.INFO: TCP Data received {"connection_id":137358,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f785358e0012d7cdf4005d6c6500002015d17..."} 
[2026-07-19 08:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785358e0012d7cdf4005d6c6500002015d17..."} 
[2026-07-19 08:33:00] local.INFO: Processing buffer {"connection_id":137358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785358e0012d7cdf4005d6c6500002015d17..."} 
[2026-07-19 08:33:00] local.INFO: Packet analysis {"connection_id":137358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7853"} 
[2026-07-19 08:33:00] local.INFO: Extracted packet for processing {"connection_id":137358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7853"} 
[2026-07-19 08:33:00] local.INFO: GPS Element Parsed {"raw_longitude":763158336,"raw_latitude":97961552,"longitude_deg":76.3158336,"latitude_deg":9.7961552,"altitude":2,"angle":349,"satellites":23,"speed":57,"hex_longitude":"2d7cdf40","hex_latitude":"05d6c650","is_valid_coordinates":true} 
[2026-07-19 08:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814118144001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108160809955229696,"note":"Value kept but may cause issues"} 
[2026-07-19 08:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999810561677922304,"note":"Value kept but may cause issues"} 
[2026-07-19 08:33:00] 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-07-19 08:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784430156000,"timestamp_ms":1784430156000,"timestamp_seconds":1784430156,"priority":1,"record_length":96,"hex_timestamp":"0000019f785358e0"} 
[2026-07-19 08:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:33: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-07-19 08:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-19 08:33:00] 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-07-19 08:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":137358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":137358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":137358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814118144001,"66":13254,"29":206,"85":15104,"24":57,"16":108160809955229696,"45":8999810561677922304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-19 08:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814118144001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:33:00] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-19 08:33:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108160809955229696,"km_value":108160809955229.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999810561677922304,"description":"Unknown IO ID 45"} 
[2026-07-19 08:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814118144001,"power":13254,"unknown_29":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":8999810561677922304}} 
[2026-07-19 08:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":137358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:33:01] local.INFO: GPS data processed {"connection_id":137358,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:33:01] local.INFO: Acknowledgment sent {"connection_id":137358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:33:09] local.INFO: TCP Data received {"connection_id":138775,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:33:09] local.INFO: Processing buffer {"connection_id":138775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:33:09] local.INFO: Packet analysis {"connection_id":138775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:33:09] local.INFO: Extracted packet for processing {"connection_id":138775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:33:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814007296001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784430017000,"timestamp_ms":1784430017000,"timestamp_seconds":1784430017,"priority":1,"record_length":96,"hex_timestamp":"0000019f785139e8"} 
[2026-07-19 08:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 08:33: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-07-19 08: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-07-19 08:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:33: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-07-19 08:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814007296001,"66":25756,"96":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-19 08:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814007296001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:33:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-19 08:33:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814007296001,"power":25756,"unknown_96":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":138775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:33:09] local.INFO: GPS data processed {"connection_id":138775,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:33:09] local.INFO: Acknowledgment sent {"connection_id":138775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:33:19] local.INFO: TCP Data received {"connection_id":137359,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:33:19] local.INFO: Processing buffer {"connection_id":137359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:33:19] local.INFO: IMEI packet received {"connection_id":137359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":137359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:33:21] local.INFO: TCP Data received {"connection_id":137359,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:33:21] local.INFO: Processing buffer {"connection_id":137359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:33:21] local.INFO: IMEI packet received {"connection_id":137359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":137359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:33:24] local.INFO: TCP Data received {"connection_id":137359,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:33:24] local.INFO: Processing buffer {"connection_id":137359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:33:24] local.INFO: IMEI packet received {"connection_id":137359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":137359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:33:24] local.INFO: TCP Data received {"connection_id":137359,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78537820012d7cd5c005d6e9180000015718..."} 
[2026-07-19 08:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78537820012d7cd5c005d6e9180000015718..."} 
[2026-07-19 08:33:24] local.INFO: Processing buffer {"connection_id":137359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78537820012d7cd5c005d6e9180000015718..."} 
[2026-07-19 08:33:24] local.INFO: Packet analysis {"connection_id":137359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7853"} 
[2026-07-19 08:33:24] local.INFO: Extracted packet for processing {"connection_id":137359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7853"} 
[2026-07-19 08:33:24] local.INFO: GPS Element Parsed {"raw_longitude":763155904,"raw_latitude":97970456,"longitude_deg":76.3155904,"latitude_deg":9.7970456,"altitude":0,"angle":343,"satellites":24,"speed":45,"hex_longitude":"2d7cd5c0","hex_latitude":"05d6e918","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814119936001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108161260926795776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997980974331875328,"note":"Value kept but may cause issues"} 
[2026-07-19 08:33:24] 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-07-19 08:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784430164000,"timestamp_ms":1784430164000,"timestamp_seconds":1784430164,"priority":1,"record_length":96,"hex_timestamp":"0000019f78537820"} 
[2026-07-19 08:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:33: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-07-19 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-19 08:33:24] 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-07-19 08: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-07-19 08:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":137359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":137359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":137359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814119936001,"66":13526,"29":206,"85":15104,"24":45,"16":108161260926795776,"45":8997980974331875328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-19 08:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814119936001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:33:24] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-19 08:33:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108161260926795776,"km_value":108161260926795.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997980974331875328,"description":"Unknown IO ID 45"} 
[2026-07-19 08:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814119936001,"power":13526,"unknown_29":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8997980974331875328}} 
[2026-07-19 08:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":137359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:33:25] local.INFO: GPS data processed {"connection_id":137359,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:33:25] local.INFO: Acknowledgment sent {"connection_id":137359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:33:32] local.INFO: TCP Data received {"connection_id":136426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:33:32] local.INFO: Processing buffer {"connection_id":136426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:33:32] local.INFO: IMEI packet received {"connection_id":136426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":136426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:33:37] local.INFO: TCP Data received {"connection_id":136426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:33:37] local.INFO: Processing buffer {"connection_id":136426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:33:37] local.INFO: IMEI packet received {"connection_id":136426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":136426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:33:38] local.INFO: TCP Data received {"connection_id":136426,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:33:38] local.INFO: Processing buffer {"connection_id":136426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:33:38] local.INFO: Packet analysis {"connection_id":136426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:33:38] local.INFO: Extracted packet for processing {"connection_id":136426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814007296001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784430017000,"timestamp_ms":1784430017000,"timestamp_seconds":1784430017,"priority":1,"record_length":96,"hex_timestamp":"0000019f785139e8"} 
[2026-07-19 08:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 08:33:38] 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-07-19 08:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:33: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-07-19 08:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814007296001,"66":25756,"96":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-19 08:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814007296001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:33:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-19 08:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814007296001,"power":25756,"unknown_96":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":136426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:33:38] local.INFO: GPS data processed {"connection_id":136426,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:33:38] local.INFO: Acknowledgment sent {"connection_id":136426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:33:52] local.INFO: TCP Data received {"connection_id":136425,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:33:52] local.INFO: Processing buffer {"connection_id":136425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:33:52] local.INFO: IMEI packet received {"connection_id":136425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 08:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":136425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:33:58] local.INFO: TCP Data received {"connection_id":137359,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78539760012d7cca0005d70e580000015618..."} 
[2026-07-19 08:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78539760012d7cca0005d70e580000015618..."} 
[2026-07-19 08:33:58] local.INFO: Processing buffer {"connection_id":137359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78539760012d7cca0005d70e580000015618..."} 
[2026-07-19 08:33:58] local.INFO: Packet analysis {"connection_id":137359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7853"} 
[2026-07-19 08:33:58] local.INFO: Extracted packet for processing {"connection_id":137359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7853"} 
[2026-07-19 08:33:58] local.INFO: GPS Element Parsed {"raw_longitude":763152896,"raw_latitude":97979992,"longitude_deg":76.3152896,"latitude_deg":9.7979992,"altitude":0,"angle":342,"satellites":24,"speed":52,"hex_longitude":"2d7cca00","hex_latitude":"05d70e58","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814121984001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108161741963132928,"note":"Value kept but may cause issues"} 
[2026-07-19 08:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995306962055403520,"note":"Value kept but may cause issues"} 
[2026-07-19 08:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784430172000,"timestamp_ms":1784430172000,"timestamp_seconds":1784430172,"priority":1,"record_length":96,"hex_timestamp":"0000019f78539760"} 
[2026-07-19 08:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:33: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-07-19 08: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-19 08:33:58] 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-07-19 08: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-07-19 08:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":137359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":137359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":137359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814121984001,"66":13559,"29":206,"85":15104,"24":52,"16":108161741963132928,"45":8995306962055403520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-19 08:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814121984001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:33:58] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-19 08:33:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108161741963132928,"km_value":108161741963132.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995306962055403520,"description":"Unknown IO ID 45"} 
[2026-07-19 08:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814121984001,"power":13559,"unknown_29":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8995306962055403520}} 
[2026-07-19 08:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":137359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:33:58] local.INFO: GPS data processed {"connection_id":137359,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:33:58] local.INFO: Acknowledgment sent {"connection_id":137359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:34:10] local.INFO: TCP Data received {"connection_id":136426,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:34:10] local.INFO: Processing buffer {"connection_id":136426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:34:10] local.INFO: Packet analysis {"connection_id":136426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:34:10] local.INFO: Extracted packet for processing {"connection_id":136426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814007296001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784430017000,"timestamp_ms":1784430017000,"timestamp_seconds":1784430017,"priority":1,"record_length":96,"hex_timestamp":"0000019f785139e8"} 
[2026-07-19 08:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 08:34:10] 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-07-19 08: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-07-19 08:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814007296001,"66":25756,"96":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-19 08:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814007296001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:34:10] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-19 08:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814007296001,"power":25756,"unknown_96":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":136426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:34:10] local.INFO: GPS data processed {"connection_id":136426,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:34:10] local.INFO: Acknowledgment sent {"connection_id":136426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:34:19] local.INFO: TCP Data received {"connection_id":136427,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:34:19] local.INFO: Processing buffer {"connection_id":136427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:34:19] local.INFO: IMEI packet received {"connection_id":136427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":136427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:34:24] local.INFO: TCP Data received {"connection_id":136427,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:34:24] local.INFO: Processing buffer {"connection_id":136427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:34:24] local.INFO: IMEI packet received {"connection_id":136427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":136427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:34:25] local.INFO: TCP Data received {"connection_id":136427,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7853b2b8012d7cbe0005d732980000015716..."} 
[2026-07-19 08:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7853b2b8012d7cbe0005d732980000015716..."} 
[2026-07-19 08:34:25] local.INFO: Processing buffer {"connection_id":136427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7853b2b8012d7cbe0005d732980000015716..."} 
[2026-07-19 08:34:25] local.INFO: Packet analysis {"connection_id":136427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7853"} 
[2026-07-19 08:34:25] local.INFO: Extracted packet for processing {"connection_id":136427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7853"} 
[2026-07-19 08:34:25] local.INFO: GPS Element Parsed {"raw_longitude":763149824,"raw_latitude":97989272,"longitude_deg":76.3149824,"latitude_deg":9.7989272,"altitude":0,"angle":343,"satellites":22,"speed":58,"hex_longitude":"2d7cbe00","hex_latitude":"05d73298","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814124032001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108162218704502784,"note":"Value kept but may cause issues"} 
[2026-07-19 08:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8991999631081494528,"note":"Value kept but may cause issues"} 
[2026-07-19 08:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784430179000,"timestamp_ms":1784430179000,"timestamp_seconds":1784430179,"priority":1,"record_length":96,"hex_timestamp":"0000019f7853b2b8"} 
[2026-07-19 08:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-19 08:34: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-07-19 08:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814124032001,"66":13428,"30":206,"85":15104,"24":58,"16":108162218704502784,"45":8991999631081494528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-07-19 08:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814124032001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:34:25] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-19 08:34:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108162218704502784,"km_value":108162218704502.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8991999631081494528,"description":"Unknown IO ID 45"} 
[2026-07-19 08:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814124032001,"power":13428,"unknown_30":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":8991999631081494528}} 
[2026-07-19 08:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":136427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:34:25] local.INFO: GPS data processed {"connection_id":136427,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:34:25] local.INFO: Acknowledgment sent {"connection_id":136427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:34:27] local.INFO: TCP Data received {"connection_id":136428,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:34:27] local.INFO: Processing buffer {"connection_id":136428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:34:27] local.INFO: IMEI packet received {"connection_id":136428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 08:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":136428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:34:31] local.INFO: TCP Data received {"connection_id":137360,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:34:31] local.INFO: Processing buffer {"connection_id":137360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:34:31] local.INFO: IMEI packet received {"connection_id":137360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":137360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:34:37] local.INFO: TCP Data received {"connection_id":137360,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:34:37] local.INFO: Processing buffer {"connection_id":137360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:34:37] local.INFO: IMEI packet received {"connection_id":137360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":137360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:34:37] local.INFO: TCP Data received {"connection_id":137360,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:34:37] local.INFO: Processing buffer {"connection_id":137360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:34:37] local.INFO: Packet analysis {"connection_id":137360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:34:37] local.INFO: Extracted packet for processing {"connection_id":137360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 08:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814007296001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784430017000,"timestamp_ms":1784430017000,"timestamp_seconds":1784430017,"priority":1,"record_length":96,"hex_timestamp":"0000019f785139e8"} 
[2026-07-19 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-07-19 08:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 08:34:37] 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-07-19 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-07-19 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-07-19 08:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:34: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-07-19 08:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814007296001,"66":25756,"96":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-19 08:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814007296001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:34:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-19 08:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814007296001,"power":25756,"unknown_96":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":137360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:34:37] local.INFO: GPS data processed {"connection_id":137360,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:34:37] local.INFO: Acknowledgment sent {"connection_id":137360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:34:56] local.INFO: TCP Data received {"connection_id":136427,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7853ca28012d7cb3c005d753e00000015716..."} 
[2026-07-19 08:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7853ca28012d7cb3c005d753e00000015716..."} 
[2026-07-19 08:34:56] local.INFO: Processing buffer {"connection_id":136427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7853ca28012d7cb3c005d753e00000015716..."} 
[2026-07-19 08:34:56] local.INFO: Packet analysis {"connection_id":136427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7853"} 
[2026-07-19 08:34:56] local.INFO: Extracted packet for processing {"connection_id":136427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7853"} 
[2026-07-19 08:34:56] local.INFO: GPS Element Parsed {"raw_longitude":763147200,"raw_latitude":97997792,"longitude_deg":76.31472,"latitude_deg":9.7997792,"altitude":0,"angle":343,"satellites":22,"speed":59,"hex_longitude":"2d7cb3c0","hex_latitude":"05d753e0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814125824001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108162648201232384,"note":"Value kept but may cause issues"} 
[2026-07-19 08:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8988621931363342336,"note":"Value kept but may cause issues"} 
[2026-07-19 08:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784430185000,"timestamp_ms":1784430185000,"timestamp_seconds":1784430185,"priority":1,"record_length":96,"hex_timestamp":"0000019f7853ca28"} 
[2026-07-19 08:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:34: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-07-19 08: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":116,"data_length":795,"current_offset":136} 
[2026-07-19 08:34: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-07-19 08: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-07-19 08:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814125824001,"66":13319,"30":206,"85":15104,"24":59,"16":108162648201232384,"45":8988621931363342336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-07-19 08:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814125824001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:34:56] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-19 08:34:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108162648201232384,"km_value":108162648201232.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8988621931363342336,"description":"Unknown IO ID 45"} 
[2026-07-19 08:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814125824001,"power":13319,"unknown_30":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":8988621931363342336}} 
[2026-07-19 08:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":136427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:34:56] local.INFO: GPS data processed {"connection_id":136427,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:34:56] local.INFO: Acknowledgment sent {"connection_id":136427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:35:08] local.INFO: TCP Data received {"connection_id":137360,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:35:08] local.INFO: Processing buffer {"connection_id":137360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:35:08] local.INFO: Packet analysis {"connection_id":137360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:35:08] local.INFO: Extracted packet for processing {"connection_id":137360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:35:08] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 08:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814007296001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784430017000,"timestamp_ms":1784430017000,"timestamp_seconds":1784430017,"priority":1,"record_length":96,"hex_timestamp":"0000019f785139e8"} 
[2026-07-19 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-07-19 08:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 08:35:08] 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-07-19 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-07-19 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-07-19 08:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814007296001,"66":25756,"96":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-19 08:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814007296001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:35:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-19 08:35:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814007296001,"power":25756,"unknown_96":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":137360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:35:08] local.INFO: GPS data processed {"connection_id":137360,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:35:08] local.INFO: Acknowledgment sent {"connection_id":137360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:35:19] local.INFO: TCP Data received {"connection_id":136308,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:35:19] local.INFO: Processing buffer {"connection_id":136308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:35:19] local.INFO: IMEI packet received {"connection_id":136308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":136308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:35:24] local.INFO: TCP Data received {"connection_id":136308,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:35:24] local.INFO: Processing buffer {"connection_id":136308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:35:24] local.INFO: IMEI packet received {"connection_id":136308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":136308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:35:24] local.INFO: TCP Data received {"connection_id":136308,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78555898012d7c8d4005d8e7b00003015f15..."} 
[2026-07-19 08:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78555898012d7c8d4005d8e7b00003015f15..."} 
[2026-07-19 08:35:24] local.INFO: Processing buffer {"connection_id":136308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78555898012d7c8d4005d8e7b00003015f15..."} 
[2026-07-19 08:35:24] local.INFO: Packet analysis {"connection_id":136308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:35:24] local.INFO: Extracted packet for processing {"connection_id":136308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:35:24] local.INFO: GPS Element Parsed {"raw_longitude":763137344,"raw_latitude":98101168,"longitude_deg":76.3137344,"latitude_deg":9.8101168,"altitude":3,"angle":351,"satellites":21,"speed":40,"hex_longitude":"2d7c8d40","hex_latitude":"05d8e7b0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814151168001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108167699082772480,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976166663670091776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:24] 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-07-19 08:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784430287000,"timestamp_ms":1784430287000,"timestamp_seconds":1784430287,"priority":1,"record_length":96,"hex_timestamp":"0000019f78555898"} 
[2026-07-19 08:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:35: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-07-19 08: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-19 08:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:24] local.WARNING: Large IO value detected {"io_id":22,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:24] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":61441,"corrected_to":0} 
[2026-07-19 08:35:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277673299556408800,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455620302,"corrected_to":0} 
[2026-07-19 08:35:24] local.WARNING: Large IO value detected {"io_id":133,"raw_value":2818649468,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:24] local.WARNING: Large IO value detected {"io_id":153,"raw_value":3221608456,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:24] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376871,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3622074368,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:24] local.WARNING: Large IO value detected {"io_id":192,"raw_value":57886121825031483,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:24] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2875549656951947269,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:24] local.WARNING: Large IO value detected {"io_id":215,"raw_value":-4555391023062050816,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:24] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2234012280633169920,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:24] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:24] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,196,85,24,241,157,16,73,159,22,45,128,156,4,19,10,66,246,64,120,20,72,207,1,240,68,227,216,113,205,39,133,153,21,239,52,31,2,5,32,192,84,215,167,82],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":246,"original":61441,"validated":0},{"io_id":205,"original":1455620302,"validated":0}]} 
[2026-07-19 08:35:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288620792976769024,"timestamp_seconds":288620792976769.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 08:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":136308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":136308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":136308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814151168001,"66":13319,"196":206,"85":15104,"24":40,"16":108167699082772480,"45":8976166663670091776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-19 08:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814151168001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:35:24] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-19 08:35:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108167699082772480,"km_value":108167699082772.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976166663670091776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814151168001,"power":13319,"unknown_196":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8976166663670091776}} 
[2026-07-19 08:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":136308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:35:24] local.INFO: GPS data processed {"connection_id":136308,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:35:24] local.INFO: Acknowledgment sent {"connection_id":136308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:35:31] local.INFO: TCP Data received {"connection_id":136309,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:35:31] local.INFO: Processing buffer {"connection_id":136309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:35:31] local.INFO: IMEI packet received {"connection_id":136309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":136309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:35:37] local.INFO: TCP Data received {"connection_id":136309,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:35:37] local.INFO: Processing buffer {"connection_id":136309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:35:37] local.INFO: IMEI packet received {"connection_id":136309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":136309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:35:38] local.INFO: TCP Data received {"connection_id":136309,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:35:38] local.INFO: Processing buffer {"connection_id":136309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785139e8012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:35:38] local.INFO: Packet analysis {"connection_id":136309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:35:38] local.INFO: Extracted packet for processing {"connection_id":136309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7851"} 
[2026-07-19 08:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814007296001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784430017000,"timestamp_ms":1784430017000,"timestamp_seconds":1784430017,"priority":1,"record_length":96,"hex_timestamp":"0000019f785139e8"} 
[2026-07-19 08:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 08:35:38] 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-07-19 08: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-07-19 08:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:35: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-07-19 08:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814007296001,"66":25756,"96":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-19 08:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814007296001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:35:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-19 08:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814007296001,"power":25756,"unknown_96":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":136309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:35:38] local.INFO: GPS data processed {"connection_id":136309,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:35:38] local.INFO: Acknowledgment sent {"connection_id":136309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:35:55] local.INFO: TCP Data received {"connection_id":136308,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78557bc0012d7c888005d90d480003016214..."} 
[2026-07-19 08:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78557bc0012d7c888005d90d480003016214..."} 
[2026-07-19 08:35:55] local.INFO: Processing buffer {"connection_id":136308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78557bc0012d7c888005d90d480003016214..."} 
[2026-07-19 08:35:55] local.INFO: Packet analysis {"connection_id":136308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:35:55] local.INFO: Extracted packet for processing {"connection_id":136308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:35:55] local.INFO: GPS Element Parsed {"raw_longitude":763136128,"raw_latitude":98110792,"longitude_deg":76.3136128,"latitude_deg":9.8110792,"altitude":3,"angle":354,"satellites":20,"speed":42,"hex_longitude":"2d7c8880","hex_latitude":"05d90d48","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814153472001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108168171529175040,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974900026277343232,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:55] 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-07-19 08:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784430296000,"timestamp_ms":1784430296000,"timestamp_seconds":1784430296,"priority":1,"record_length":96,"hex_timestamp":"0000019f78557bc0"} 
[2026-07-19 08:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:35: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-07-19 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-19 08:35:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:55] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":61441,"corrected_to":0} 
[2026-07-19 08:35:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:55] local.WARNING: Large IO value detected {"io_id":72,"raw_value":2952790016,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455620302,"corrected_to":0} 
[2026-07-19 08:35:55] local.WARNING: Large IO value detected {"io_id":168,"raw_value":3489738108,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3624407040,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:55] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57886121825031483,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:55] local.WARNING: Large IO value detected {"io_id":84,"raw_value":6816199330900934661,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:55] local.WARNING: Large IO value detected {"io_id":215,"raw_value":-1983835635833366784,"note":"Value kept but may cause issues"} 
[2026-07-19 08:35:55] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,196,85,24,241,157,16,73,159,53,45,192,194,4,21,10,66,22,128,156,19,246,64,1,240,122,227,72,120,216,113,205,35,168,153,239,52,195,2,5,41,214,84,215],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":246,"original":61441,"validated":0},{"io_id":205,"original":1455620302,"validated":0}]} 
[2026-07-19 08:35:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216558800892067840,"timestamp_seconds":216558800892067.84,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 08:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":136308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":136308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":136308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814153472001,"66":13319,"196":206,"85":15104,"24":42,"16":108168171529175040,"45":8974900026277343232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-19 08:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814153472001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:35:55] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-19 08:35:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108168171529175040,"km_value":108168171529175.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974900026277343232,"description":"Unknown IO ID 45"} 
[2026-07-19 08:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814153472001,"power":13319,"unknown_196":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8974900026277343232}} 
[2026-07-19 08:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":136308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:35:55] local.INFO: GPS data processed {"connection_id":136308,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:35:55] local.INFO: Acknowledgment sent {"connection_id":136308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:36:10] local.INFO: TCP Data received {"connection_id":136309,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:36:10] local.INFO: Processing buffer {"connection_id":136309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:36:10] local.INFO: Packet analysis {"connection_id":136309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:36:10] local.INFO: Extracted packet for processing {"connection_id":136309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 08:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814084352001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784430318000,"timestamp_ms":1784430318000,"timestamp_seconds":1784430318,"priority":1,"record_length":96,"hex_timestamp":"0000019f7855d1b0"} 
[2026-07-19 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-07-19 08:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 08:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 08:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814084352001,"66":25734,"32":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-19 08:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814084352001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:36:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-19 08:36:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814084352001,"power":25734,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":136309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:36:10] local.INFO: GPS data processed {"connection_id":136309,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:36:10] local.INFO: Acknowledgment sent {"connection_id":136309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:36:24] local.INFO: TCP Data received {"connection_id":138776,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:36:24] local.INFO: Processing buffer {"connection_id":138776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:36:24] local.INFO: IMEI packet received {"connection_id":138776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":138776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:36:25] local.INFO: TCP Data received {"connection_id":138776,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:36:25] local.INFO: Processing buffer {"connection_id":138776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:36:25] local.INFO: IMEI packet received {"connection_id":138776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":138776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:36:26] local.INFO: TCP Data received {"connection_id":138776,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78559ee8012d7c84c005d933f80000016214..."} 
[2026-07-19 08:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78559ee8012d7c84c005d933f80000016214..."} 
[2026-07-19 08:36:26] local.INFO: Processing buffer {"connection_id":138776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78559ee8012d7c84c005d933f80000016214..."} 
[2026-07-19 08:36:26] local.INFO: Packet analysis {"connection_id":138776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:36:26] local.INFO: Extracted packet for processing {"connection_id":138776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:36:26] local.INFO: GPS Element Parsed {"raw_longitude":763135168,"raw_latitude":98120696,"longitude_deg":76.3135168,"latitude_deg":9.8120696,"altitude":0,"angle":354,"satellites":20,"speed":44,"hex_longitude":"2d7c84c0","hex_latitude":"05d933f8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814155776001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108168652565512192,"note":"Value kept but may cause issues"} 
[2026-07-19 08:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973563020140431360,"note":"Value kept but may cause issues"} 
[2026-07-19 08:36:26] 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-07-19 08:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784430305000,"timestamp_ms":1784430305000,"timestamp_seconds":1784430305,"priority":1,"record_length":96,"hex_timestamp":"0000019f78559ee8"} 
[2026-07-19 08:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:36: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-07-19 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-19 08:36:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 08:36:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-19 08:36:26] local.WARNING: Large IO value detected {"io_id":216,"raw_value":580964351954195712,"note":"Value kept but may cause issues"} 
[2026-07-19 08:36:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455685838,"corrected_to":0} 
[2026-07-19 08:36:26] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3758173564,"note":"Value kept but may cause issues"} 
[2026-07-19 08:36:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3626860544,"note":"Value kept but may cause issues"} 
[2026-07-19 08:36:26] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57797765757818171,"note":"Value kept but may cause issues"} 
[2026-07-19 08:36:26] local.WARNING: Large IO value detected {"io_id":84,"raw_value":-8815794975702138875,"note":"Value kept but may cause issues"} 
[2026-07-19 08:36:26] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,196,85,24,241,157,16,74,159,88,45,64,231,3,21,10,66,73,53,192,194,4,22,128,1,240,116,227,120,216,113,205,44,207,151,184,239,51,195,2,5,39,94,84],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1455685838,"validated":0}]} 
[2026-07-19 08:36:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216562095132114944,"timestamp_seconds":216562095132114.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 08:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":138776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":138776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":138776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814155776001,"66":13319,"196":206,"85":15104,"24":44,"16":108168652565512192,"45":8973563020140431360},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-19 08:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814155776001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:36:26] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-19 08:36:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108168652565512192,"km_value":108168652565512.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973563020140431360,"description":"Unknown IO ID 45"} 
[2026-07-19 08:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814155776001,"power":13319,"unknown_196":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8973563020140431360}} 
[2026-07-19 08:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":138776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:36:26] local.INFO: GPS data processed {"connection_id":138776,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:36:26] local.INFO: Acknowledgment sent {"connection_id":138776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:36:31] local.INFO: TCP Data received {"connection_id":136310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:36:31] local.INFO: Processing buffer {"connection_id":136310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:36:31] local.INFO: IMEI packet received {"connection_id":136310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":136310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:36:37] local.INFO: TCP Data received {"connection_id":136310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:36:37] local.INFO: Processing buffer {"connection_id":136310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:36:37] local.INFO: IMEI packet received {"connection_id":136310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":136310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:36:37] local.INFO: TCP Data received {"connection_id":136310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:36:37] local.INFO: Processing buffer {"connection_id":136310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:36:37] local.INFO: Packet analysis {"connection_id":136310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:36:37] local.INFO: Extracted packet for processing {"connection_id":136310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814084352001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784430318000,"timestamp_ms":1784430318000,"timestamp_seconds":1784430318,"priority":1,"record_length":96,"hex_timestamp":"0000019f7855d1b0"} 
[2026-07-19 08:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 08:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08: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-07-19 08:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814084352001,"66":25734,"32":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-19 08:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814084352001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:36:37] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-19 08:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814084352001,"power":25734,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":136310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:36:37] local.INFO: GPS data processed {"connection_id":136310,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:36:37] local.INFO: Acknowledgment sent {"connection_id":136310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:36:56] local.INFO: TCP Data received {"connection_id":138776,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78573910012d7c23c005daef100000013f1c..."} 
[2026-07-19 08:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78573910012d7c23c005daef100000013f1c..."} 
[2026-07-19 08:36:56] local.INFO: Processing buffer {"connection_id":138776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78573910012d7c23c005daef100000013f1c..."} 
[2026-07-19 08:36:56] local.INFO: Packet analysis {"connection_id":138776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7857"} 
[2026-07-19 08:36:56] local.INFO: Extracted packet for processing {"connection_id":138776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7857"} 
[2026-07-19 08:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763110336,"raw_latitude":98234128,"longitude_deg":76.3110336,"latitude_deg":9.8234128,"altitude":0,"angle":319,"satellites":28,"speed":7,"hex_longitude":"2d7c23c0","hex_latitude":"05daef10","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814183168001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108174317627375616,"note":"Value kept but may cause issues"} 
[2026-07-19 08:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946330316174419968,"note":"Value kept but may cause issues"} 
[2026-07-19 08:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784430410000,"timestamp_ms":1784430410000,"timestamp_seconds":1784430410,"priority":1,"record_length":96,"hex_timestamp":"0000019f78573910"} 
[2026-07-19 08:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:36: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-07-19 08:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-19 08:36: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-07-19 08:36:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":138776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":138776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":138776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814183168001,"66":12428,"187":206,"85":15104,"24":7,"16":108174317627375616,"45":8946330316174419968},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-19 08:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814183168001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:36:56] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-19 08:36:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108174317627375616,"km_value":108174317627375.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946330316174419968,"description":"Unknown IO ID 45"} 
[2026-07-19 08:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814183168001,"power":12428,"unknown_187":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8946330316174419968}} 
[2026-07-19 08:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":138776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:36:56] local.INFO: GPS data processed {"connection_id":138776,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:36:56] local.INFO: Acknowledgment sent {"connection_id":138776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:37:09] local.INFO: TCP Data received {"connection_id":136310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:37:09] local.INFO: Processing buffer {"connection_id":136310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:37:09] local.INFO: Packet analysis {"connection_id":136310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:37:09] local.INFO: Extracted packet for processing {"connection_id":136310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814084352001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784430318000,"timestamp_ms":1784430318000,"timestamp_seconds":1784430318,"priority":1,"record_length":96,"hex_timestamp":"0000019f7855d1b0"} 
[2026-07-19 08:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 08:37: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-07-19 08: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-07-19 08:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:37: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-07-19 08:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814084352001,"66":25734,"32":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-19 08:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814084352001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:37:09] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-19 08:37:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814084352001,"power":25734,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":136310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:37:09] local.INFO: GPS data processed {"connection_id":136310,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:37:09] local.INFO: Acknowledgment sent {"connection_id":136310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:37:19] local.INFO: TCP Data received {"connection_id":138777,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:37:19] local.INFO: Processing buffer {"connection_id":138777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:37:19] local.INFO: IMEI packet received {"connection_id":138777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":138777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:37:23] local.INFO: TCP Data received {"connection_id":138777,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:37:23] local.INFO: Processing buffer {"connection_id":138777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:37:23] local.INFO: IMEI packet received {"connection_id":138777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":138777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:37:24] local.INFO: TCP Data received {"connection_id":138777,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f785744c8012d7c220005daefb00000011d1c..."} 
[2026-07-19 08:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785744c8012d7c220005daefb00000011d1c..."} 
[2026-07-19 08:37:24] local.INFO: Processing buffer {"connection_id":138777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785744c8012d7c220005daefb00000011d1c..."} 
[2026-07-19 08:37:24] local.INFO: Packet analysis {"connection_id":138777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7857"} 
[2026-07-19 08:37:24] local.INFO: Extracted packet for processing {"connection_id":138777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7857"} 
[2026-07-19 08:37:24] local.INFO: GPS Element Parsed {"raw_longitude":763109888,"raw_latitude":98234288,"longitude_deg":76.3109888,"latitude_deg":9.8234288,"altitude":0,"angle":285,"satellites":28,"speed":6,"hex_longitude":"2d7c2200","hex_latitude":"05daefb0","is_valid_coordinates":true} 
[2026-07-19 08:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814184960001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108174339102212096,"note":"Value kept but may cause issues"} 
[2026-07-19 08:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945204416268406784,"note":"Value kept but may cause issues"} 
[2026-07-19 08:37:24] 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-07-19 08:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784430413000,"timestamp_ms":1784430413000,"timestamp_seconds":1784430413,"priority":1,"record_length":96,"hex_timestamp":"0000019f785744c8"} 
[2026-07-19 08:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-19 08:37: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-07-19 08:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":138777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":138777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":138777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814184960001,"66":12863,"187":206,"85":15104,"24":6,"16":108174339102212096,"45":8945204416268406784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-19 08:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814184960001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:37:24] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-19 08:37:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108174339102212096,"km_value":108174339102212.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945204416268406784,"description":"Unknown IO ID 45"} 
[2026-07-19 08:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814184960001,"power":12863,"unknown_187":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8945204416268406784}} 
[2026-07-19 08:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":138777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:37:24] local.INFO: GPS data processed {"connection_id":138777,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:37:24] local.INFO: Acknowledgment sent {"connection_id":138777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:37:32] local.INFO: TCP Data received {"connection_id":137364,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:37:32] local.INFO: Processing buffer {"connection_id":137364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:37:32] local.INFO: IMEI packet received {"connection_id":137364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":137364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:37:39] local.INFO: TCP Data received {"connection_id":137364,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:37:39] local.INFO: Processing buffer {"connection_id":137364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:37:39] local.INFO: IMEI packet received {"connection_id":137364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":137364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:37:40] local.INFO: TCP Data received {"connection_id":137364,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:37:40] local.INFO: Processing buffer {"connection_id":137364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:37:40] local.INFO: Packet analysis {"connection_id":137364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:37:40] local.INFO: Extracted packet for processing {"connection_id":137364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:37:40] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814084352001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784430318000,"timestamp_ms":1784430318000,"timestamp_seconds":1784430318,"priority":1,"record_length":96,"hex_timestamp":"0000019f7855d1b0"} 
[2026-07-19 08:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 08:37: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-07-19 08:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":137364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":137364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":137364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:37: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-07-19 08:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814084352001,"66":25734,"32":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-19 08:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814084352001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:37:40] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-19 08:37:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814084352001,"power":25734,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":137364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:37:40] local.INFO: GPS data processed {"connection_id":137364,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:37:40] local.INFO: Acknowledgment sent {"connection_id":137364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:37:55] local.INFO: TCP Data received {"connection_id":138777,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f785748b0012d7c218005daefa8000001101f..."} 
[2026-07-19 08:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785748b0012d7c218005daefa8000001101f..."} 
[2026-07-19 08:37:55] local.INFO: Processing buffer {"connection_id":138777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785748b0012d7c218005daefa8000001101f..."} 
[2026-07-19 08:37:55] local.INFO: Packet analysis {"connection_id":138777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7857"} 
[2026-07-19 08:37:55] local.INFO: Extracted packet for processing {"connection_id":138777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7857"} 
[2026-07-19 08:37:55] local.INFO: GPS Element Parsed {"raw_longitude":763109760,"raw_latitude":98234280,"longitude_deg":76.310976,"latitude_deg":9.823428,"altitude":0,"angle":272,"satellites":31,"speed":8,"hex_longitude":"2d7c2180","hex_latitude":"05daefa8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814185728001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108174347692146688,"note":"Value kept but may cause issues"} 
[2026-07-19 08:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944711835059204096,"note":"Value kept but may cause issues"} 
[2026-07-19 08:37:55] 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-07-19 08:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784430414000,"timestamp_ms":1784430414000,"timestamp_seconds":1784430414,"priority":1,"record_length":96,"hex_timestamp":"0000019f785748b0"} 
[2026-07-19 08:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:37: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-07-19 08: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-19 08:37: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-07-19 08: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-07-19 08:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":138777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":138777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":138777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814185728001,"66":12863,"187":206,"85":15104,"24":8,"16":108174347692146688,"45":8944711835059204096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-19 08:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814185728001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:37:55] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-19 08:37:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108174347692146688,"km_value":108174347692146.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944711835059204096,"description":"Unknown IO ID 45"} 
[2026-07-19 08:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814185728001,"power":12863,"unknown_187":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8944711835059204096}} 
[2026-07-19 08:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":138777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:37:55] local.INFO: GPS data processed {"connection_id":138777,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:37:55] local.INFO: Acknowledgment sent {"connection_id":138777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:38:12] local.INFO: TCP Data received {"connection_id":137364,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:38:12] local.INFO: Processing buffer {"connection_id":137364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:38:12] local.INFO: Packet analysis {"connection_id":137364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:38:12] local.INFO: Extracted packet for processing {"connection_id":137364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:38:12] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814084352001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784430318000,"timestamp_ms":1784430318000,"timestamp_seconds":1784430318,"priority":1,"record_length":96,"hex_timestamp":"0000019f7855d1b0"} 
[2026-07-19 08:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 08:38: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-07-19 08: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-07-19 08:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":137364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":137364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":137364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:38: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-07-19 08:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814084352001,"66":25734,"32":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-19 08:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814084352001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:38:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-19 08:38:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814084352001,"power":25734,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":137364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:38:13] local.INFO: GPS data processed {"connection_id":137364,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:38:13] local.INFO: Acknowledgment sent {"connection_id":137364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:38:17] local.INFO: TCP Data received {"connection_id":136429,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:38:17] local.INFO: Processing buffer {"connection_id":136429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:38:17] local.INFO: IMEI packet received {"connection_id":136429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":136429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:38:19] local.INFO: TCP Data received {"connection_id":136429,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:38:19] local.INFO: Processing buffer {"connection_id":136429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:38:19] local.INFO: IMEI packet received {"connection_id":136429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":136429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:38:24] local.INFO: TCP Data received {"connection_id":136429,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:38:24] local.INFO: Processing buffer {"connection_id":136429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:38:24] local.INFO: IMEI packet received {"connection_id":136429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":136429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:38:25] local.INFO: TCP Data received {"connection_id":136429,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78578b18012d7bfd4005daee700002010f20..."} 
[2026-07-19 08:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78578b18012d7bfd4005daee700002010f20..."} 
[2026-07-19 08:38:25] local.INFO: Processing buffer {"connection_id":136429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78578b18012d7bfd4005daee700002010f20..."} 
[2026-07-19 08:38:25] local.INFO: Packet analysis {"connection_id":136429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7857"} 
[2026-07-19 08:38:25] local.INFO: Extracted packet for processing {"connection_id":136429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7857"} 
[2026-07-19 08:38:25] local.INFO: GPS Element Parsed {"raw_longitude":763100480,"raw_latitude":98233968,"longitude_deg":76.310048,"latitude_deg":9.8233968,"altitude":2,"angle":271,"satellites":32,"speed":24,"hex_longitude":"2d7bfd40","hex_latitude":"05daee70","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814185984001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108174790073778176,"note":"Value kept but may cause issues"} 
[2026-07-19 08:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944571097570846720,"note":"Value kept but may cause issues"} 
[2026-07-19 08:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784430431000,"timestamp_ms":1784430431000,"timestamp_seconds":1784430431,"priority":1,"record_length":96,"hex_timestamp":"0000019f78578b18"} 
[2026-07-19 08:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:38: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-07-19 08: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-19 08:38:25] 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-07-19 08: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-07-19 08:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814185984001,"66":13493,"187":206,"85":15104,"24":24,"16":108174790073778176,"45":8944571097570846720},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-19 08:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814185984001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:38:25] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-19 08:38:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108174790073778176,"km_value":108174790073778.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944571097570846720,"description":"Unknown IO ID 45"} 
[2026-07-19 08:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814185984001,"power":13493,"unknown_187":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8944571097570846720}} 
[2026-07-19 08:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":136429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:38:25] local.INFO: GPS data processed {"connection_id":136429,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:38:25] local.INFO: Acknowledgment sent {"connection_id":136429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:38:32] local.INFO: TCP Data received {"connection_id":138778,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:38:32] local.INFO: Processing buffer {"connection_id":138778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:38:32] local.INFO: IMEI packet received {"connection_id":138778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":138778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:38:37] local.INFO: TCP Data received {"connection_id":138778,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:38:37] local.INFO: Processing buffer {"connection_id":138778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:38:37] local.INFO: IMEI packet received {"connection_id":138778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":138778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:38:38] local.INFO: TCP Data received {"connection_id":138778,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:38:38] local.INFO: Processing buffer {"connection_id":138778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:38:38] local.INFO: Packet analysis {"connection_id":138778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:38:38] local.INFO: Extracted packet for processing {"connection_id":138778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814084352001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784430318000,"timestamp_ms":1784430318000,"timestamp_seconds":1784430318,"priority":1,"record_length":96,"hex_timestamp":"0000019f7855d1b0"} 
[2026-07-19 08:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 08:38: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-07-19 08:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:38: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-07-19 08:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814084352001,"66":25734,"32":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-19 08:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814084352001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:38:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-19 08:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814084352001,"power":25734,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":138778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:38:38] local.INFO: GPS data processed {"connection_id":138778,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:38:38] local.INFO: Acknowledgment sent {"connection_id":138778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:38:55] local.INFO: TCP Data received {"connection_id":136429,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7857b228012d7bda4005daecf00002010b21..."} 
[2026-07-19 08:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7857b228012d7bda4005daecf00002010b21..."} 
[2026-07-19 08:38:56] local.INFO: Processing buffer {"connection_id":136429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7857b228012d7bda4005daecf00002010b21..."} 
[2026-07-19 08:38:56] local.INFO: Packet analysis {"connection_id":136429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7857"} 
[2026-07-19 08:38:56] local.INFO: Extracted packet for processing {"connection_id":136429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7857"} 
[2026-07-19 08:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763091520,"raw_latitude":98233584,"longitude_deg":76.309152,"latitude_deg":9.8233584,"altitude":2,"angle":267,"satellites":33,"speed":44,"hex_longitude":"2d7bda40","hex_latitude":"05daecf0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814190336001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108175219570507776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934367629665005568,"note":"Value kept but may cause issues"} 
[2026-07-19 08:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784430441000,"timestamp_ms":1784430441000,"timestamp_seconds":1784430441,"priority":1,"record_length":96,"hex_timestamp":"0000019f7857b228"} 
[2026-07-19 08:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:38: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-07-19 08: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":181,"data_length":795,"current_offset":136} 
[2026-07-19 08:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814190336001,"66":13461,"187":206,"85":15104,"24":44,"16":108175219570507776,"45":8934367629665005568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-19 08:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814190336001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:38:56] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-19 08:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108175219570507776,"km_value":108175219570507.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934367629665005568,"description":"Unknown IO ID 45"} 
[2026-07-19 08:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814190336001,"power":13461,"unknown_187":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8934367629665005568}} 
[2026-07-19 08:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":136429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:38:56] local.INFO: GPS data processed {"connection_id":136429,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:38:56] local.INFO: Acknowledgment sent {"connection_id":136429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:39:10] local.INFO: TCP Data received {"connection_id":138778,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:39:10] local.INFO: Processing buffer {"connection_id":138778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:39:10] local.INFO: Packet analysis {"connection_id":138778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:39:10] local.INFO: Extracted packet for processing {"connection_id":138778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:39:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814084352001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784430318000,"timestamp_ms":1784430318000,"timestamp_seconds":1784430318,"priority":1,"record_length":96,"hex_timestamp":"0000019f7855d1b0"} 
[2026-07-19 08:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 08:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814084352001,"66":25734,"32":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-19 08:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814084352001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:39:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-19 08:39:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814084352001,"power":25734,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":138778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:39:10] local.INFO: GPS data processed {"connection_id":138778,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:39:10] local.INFO: Acknowledgment sent {"connection_id":138778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:39:19] local.INFO: TCP Data received {"connection_id":136312,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:39:19] local.INFO: Processing buffer {"connection_id":136312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:39:19] local.INFO: IMEI packet received {"connection_id":136312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":136312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:39:24] local.INFO: TCP Data received {"connection_id":136312,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:39:24] local.INFO: Processing buffer {"connection_id":136312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:39:24] local.INFO: IMEI packet received {"connection_id":136312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":136312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:39:24] local.INFO: TCP Data received {"connection_id":136312,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7857d168012d7bb3c005daea880002010920..."} 
[2026-07-19 08:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7857d168012d7bb3c005daea880002010920..."} 
[2026-07-19 08:39:24] local.INFO: Processing buffer {"connection_id":136312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7857d168012d7bb3c005daea880002010920..."} 
[2026-07-19 08:39:24] local.INFO: Packet analysis {"connection_id":136312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7857"} 
[2026-07-19 08:39:24] local.INFO: Extracted packet for processing {"connection_id":136312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7857"} 
[2026-07-19 08:39:24] local.INFO: GPS Element Parsed {"raw_longitude":763081664,"raw_latitude":98232968,"longitude_deg":76.3081664,"latitude_deg":9.8232968,"altitude":2,"angle":265,"satellites":32,"speed":51,"hex_longitude":"2d7bb3c0","hex_latitude":"05daea88","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814192896001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108175692016910336,"note":"Value kept but may cause issues"} 
[2026-07-19 08:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924516005480034304,"note":"Value kept but may cause issues"} 
[2026-07-19 08:39: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-07-19 08:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784430449000,"timestamp_ms":1784430449000,"timestamp_seconds":1784430449,"priority":1,"record_length":96,"hex_timestamp":"0000019f7857d168"} 
[2026-07-19 08:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:39: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-07-19 08: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-07-19 08:39: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-07-19 08: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-07-19 08:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":136312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":136312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":136312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814192896001,"66":13374,"188":206,"85":15104,"24":51,"16":108175692016910336,"45":8924516005480034304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 08:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814192896001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:39:24] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 08:39:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108175692016910336,"km_value":108175692016910.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924516005480034304,"description":"Unknown IO ID 45"} 
[2026-07-19 08:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814192896001,"power":13374,"unknown_188":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8924516005480034304}} 
[2026-07-19 08:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":136312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:39:24] local.INFO: GPS data processed {"connection_id":136312,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:39:24] local.INFO: Acknowledgment sent {"connection_id":136312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:39:32] local.INFO: TCP Data received {"connection_id":136430,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:39:32] local.INFO: Processing buffer {"connection_id":136430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:39:32] local.INFO: IMEI packet received {"connection_id":136430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":136430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:39:37] local.INFO: TCP Data received {"connection_id":136430,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:39:37] local.INFO: Processing buffer {"connection_id":136430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:39:37] local.INFO: IMEI packet received {"connection_id":136430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":136430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:39:38] local.INFO: TCP Data received {"connection_id":136430,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:39:38] local.INFO: Processing buffer {"connection_id":136430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:39:38] local.INFO: Packet analysis {"connection_id":136430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:39:38] local.INFO: Extracted packet for processing {"connection_id":136430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814084352001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784430318000,"timestamp_ms":1784430318000,"timestamp_seconds":1784430318,"priority":1,"record_length":96,"hex_timestamp":"0000019f7855d1b0"} 
[2026-07-19 08:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 08:39: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-07-19 08:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:39: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-07-19 08:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814084352001,"66":25734,"32":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-19 08:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814084352001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:39:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-19 08:39:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814084352001,"power":25734,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":136430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:39:38] local.INFO: GPS data processed {"connection_id":136430,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:39:38] local.INFO: Acknowledgment sent {"connection_id":136430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:39:52] local.INFO: TCP Data received {"connection_id":138779,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:39:52] local.INFO: Processing buffer {"connection_id":138779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:39:52] local.INFO: IMEI packet received {"connection_id":138779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 08:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":138779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:39:55] local.INFO: TCP Data received {"connection_id":136312,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7857ecc0012d7b8e4005dae6b00002010120..."} 
[2026-07-19 08:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7857ecc0012d7b8e4005dae6b00002010120..."} 
[2026-07-19 08:39:55] local.INFO: Processing buffer {"connection_id":136312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7857ecc0012d7b8e4005dae6b00002010120..."} 
[2026-07-19 08:39:55] local.INFO: Packet analysis {"connection_id":136312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7857"} 
[2026-07-19 08:39:55] local.INFO: Extracted packet for processing {"connection_id":136312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7857"} 
[2026-07-19 08:39:55] local.INFO: GPS Element Parsed {"raw_longitude":763072064,"raw_latitude":98231984,"longitude_deg":76.3072064,"latitude_deg":9.8231984,"altitude":2,"angle":257,"satellites":32,"speed":56,"hex_longitude":"2d7b8e40","hex_latitude":"05dae6b0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814194944001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108176155873378304,"note":"Value kept but may cause issues"} 
[2026-07-19 08:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913679218876516352,"note":"Value kept but may cause issues"} 
[2026-07-19 08:39:55] 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-07-19 08:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784430456000,"timestamp_ms":1784430456000,"timestamp_seconds":1784430456,"priority":1,"record_length":96,"hex_timestamp":"0000019f7857ecc0"} 
[2026-07-19 08:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:39: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-07-19 08: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":62,"data_length":795,"current_offset":136} 
[2026-07-19 08:39:55] 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-07-19 08: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-07-19 08:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":136312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":136312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":136312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814194944001,"66":13515,"188":206,"85":15104,"24":56,"16":108176155873378304,"45":8913679218876516352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 08:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814194944001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:39:55] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 08:39:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108176155873378304,"km_value":108176155873378.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913679218876516352,"description":"Unknown IO ID 45"} 
[2026-07-19 08:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814194944001,"power":13515,"unknown_188":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":8913679218876516352}} 
[2026-07-19 08:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":136312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511256,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:39:55] local.INFO: GPS data processed {"connection_id":136312,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:39:55] local.INFO: Acknowledgment sent {"connection_id":136312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:40:09] local.INFO: TCP Data received {"connection_id":136430,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:40:09] local.INFO: Processing buffer {"connection_id":136430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:40:09] local.INFO: Packet analysis {"connection_id":136430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:40:09] local.INFO: Extracted packet for processing {"connection_id":136430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814084352001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784430318000,"timestamp_ms":1784430318000,"timestamp_seconds":1784430318,"priority":1,"record_length":96,"hex_timestamp":"0000019f7855d1b0"} 
[2026-07-19 08:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 08:40: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-07-19 08:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:40: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-07-19 08:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814084352001,"66":25734,"32":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-19 08:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814084352001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:40:09] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-19 08:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814084352001,"power":25734,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":136430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:40:09] local.INFO: GPS data processed {"connection_id":136430,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:40:09] local.INFO: Acknowledgment sent {"connection_id":136430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:40:19] local.INFO: TCP Data received {"connection_id":138780,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:40:19] local.INFO: Processing buffer {"connection_id":138780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:40:19] local.INFO: IMEI packet received {"connection_id":138780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":138780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:40:24] local.INFO: TCP Data received {"connection_id":138780,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:40:24] local.INFO: Processing buffer {"connection_id":138780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:40:24] local.INFO: IMEI packet received {"connection_id":138780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":138780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:40:25] local.INFO: TCP Data received {"connection_id":138780,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78580818012d7b6a8005dadce0000700fd21..."} 
[2026-07-19 08:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78580818012d7b6a8005dadce0000700fd21..."} 
[2026-07-19 08:40:25] local.INFO: Processing buffer {"connection_id":138780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78580818012d7b6a8005dadce0000700fd21..."} 
[2026-07-19 08:40:25] local.INFO: Packet analysis {"connection_id":138780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7858"} 
[2026-07-19 08:40:25] local.INFO: Extracted packet for processing {"connection_id":138780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7858"} 
[2026-07-19 08:40:25] local.INFO: GPS Element Parsed {"raw_longitude":763062912,"raw_latitude":98229472,"longitude_deg":76.3062912,"latitude_deg":9.8229472,"altitude":7,"angle":253,"satellites":33,"speed":42,"hex_longitude":"2d7b6a80","hex_latitude":"05dadce0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814196736001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108176606844944384,"note":"Value kept but may cause issues"} 
[2026-07-19 08:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903123907249614848,"note":"Value kept but may cause issues"} 
[2026-07-19 08:40: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-07-19 08:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784430463000,"timestamp_ms":1784430463000,"timestamp_seconds":1784430463,"priority":1,"record_length":96,"hex_timestamp":"0000019f78580818"} 
[2026-07-19 08:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:40: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-07-19 08: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-19 08:40: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-07-19 08: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-07-19 08:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":138780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":138780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":138780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814196736001,"66":13559,"188":206,"85":15104,"24":42,"16":108176606844944384,"45":8903123907249614848},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 08:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814196736001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:40:25] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 08:40:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108176606844944384,"km_value":108176606844944.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903123907249614848,"description":"Unknown IO ID 45"} 
[2026-07-19 08:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814196736001,"power":13559,"unknown_188":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8903123907249614848}} 
[2026-07-19 08:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":138780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:40:25] local.INFO: GPS data processed {"connection_id":138780,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:40:25] local.INFO: Acknowledgment sent {"connection_id":138780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:40:32] local.INFO: TCP Data received {"connection_id":136313,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:40:32] local.INFO: Processing buffer {"connection_id":136313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:40:32] local.INFO: IMEI packet received {"connection_id":136313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":136313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:40:32] local.INFO: TCP Data received {"connection_id":136431,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:40:32] local.INFO: Processing buffer {"connection_id":136431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:40:32] local.INFO: IMEI packet received {"connection_id":136431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 08:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":136431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:40:37] local.INFO: TCP Data received {"connection_id":136313,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:40:37] local.INFO: Processing buffer {"connection_id":136313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:40:37] local.INFO: IMEI packet received {"connection_id":136313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":136313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:40:38] local.INFO: TCP Data received {"connection_id":136313,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:40:38] local.INFO: Processing buffer {"connection_id":136313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7855d1b0012d34c48006aa3da8001800aa25..."} 
[2026-07-19 08:40:38] local.INFO: Packet analysis {"connection_id":136313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:40:38] local.INFO: Extracted packet for processing {"connection_id":136313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7855"} 
[2026-07-19 08:40:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814084352001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784430318000,"timestamp_ms":1784430318000,"timestamp_seconds":1784430318,"priority":1,"record_length":96,"hex_timestamp":"0000019f7855d1b0"} 
[2026-07-19 08:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 08:40: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-07-19 08:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:40: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-07-19 08:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814084352001,"66":25734,"32":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-19 08:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814084352001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:40:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-19 08:40:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814084352001,"power":25734,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":136313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:40:38] local.INFO: GPS data processed {"connection_id":136313,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:40:38] local.INFO: Acknowledgment sent {"connection_id":136313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:40:55] local.INFO: TCP Data received {"connection_id":138780,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78582b40012d7b458005dad328000400fb25..."} 
[2026-07-19 08:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78582b40012d7b458005dad328000400fb25..."} 
[2026-07-19 08:40:55] local.INFO: Processing buffer {"connection_id":138780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78582b40012d7b458005dad328000400fb25..."} 
[2026-07-19 08:40:55] local.INFO: Packet analysis {"connection_id":138780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7858"} 
[2026-07-19 08:40:55] local.INFO: Extracted packet for processing {"connection_id":138780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7858"} 
[2026-07-19 08:40:55] local.INFO: GPS Element Parsed {"raw_longitude":763053440,"raw_latitude":98226984,"longitude_deg":76.305344,"latitude_deg":9.8226984,"altitude":4,"angle":251,"satellites":37,"speed":46,"hex_longitude":"2d7b4580","hex_latitude":"05dad328","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814198528001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108177074996379648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893061176831565824,"note":"Value kept but may cause issues"} 
[2026-07-19 08:40:55] 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-07-19 08:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784430472000,"timestamp_ms":1784430472000,"timestamp_seconds":1784430472,"priority":1,"record_length":96,"hex_timestamp":"0000019f78582b40"} 
[2026-07-19 08:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:40: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-07-19 08: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-19 08:40:55] 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-07-19 08: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-07-19 08:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":138780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":138780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":138780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814198528001,"66":13472,"188":206,"85":15104,"24":46,"16":108177074996379648,"45":8893061176831565824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 08:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814198528001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:40:55] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 08:40:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108177074996379648,"km_value":108177074996379.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893061176831565824,"description":"Unknown IO ID 45"} 
[2026-07-19 08:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814198528001,"power":13472,"unknown_188":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8893061176831565824}} 
[2026-07-19 08:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":138780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:40:55] local.INFO: GPS data processed {"connection_id":138780,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:40:55] local.INFO: Acknowledgment sent {"connection_id":138780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:41:09] local.INFO: TCP Data received {"connection_id":136313,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:41:09] local.INFO: Processing buffer {"connection_id":136313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:41:09] local.INFO: Packet analysis {"connection_id":136313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785a"} 
[2026-07-19 08:41:09] local.INFO: Extracted packet for processing {"connection_id":136313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785a"} 
[2026-07-19 08:41:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814161408001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784430619000,"timestamp_ms":1784430619000,"timestamp_seconds":1784430619,"priority":1,"record_length":96,"hex_timestamp":"0000019f785a6978"} 
[2026-07-19 08:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":134,"data_length":795,"current_offset":136} 
[2026-07-19 08:41:09] 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-07-19 08: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-07-19 08:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:41: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-07-19 08:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814161408001,"66":25680,"142":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-07-19 08:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814161408001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:41:09] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-19 08:41:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814161408001,"power":25680,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":136313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:41:09] local.INFO: GPS data processed {"connection_id":136313,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:41:09] local.INFO: Acknowledgment sent {"connection_id":136313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:41:19] local.INFO: TCP Data received {"connection_id":137365,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:41:19] local.INFO: Processing buffer {"connection_id":137365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:41:19] local.INFO: IMEI packet received {"connection_id":137365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":137365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:41:22] local.INFO: TCP Data received {"connection_id":137365,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:41:22] local.INFO: Processing buffer {"connection_id":137365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:41:22] local.INFO: IMEI packet received {"connection_id":137365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":137365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:41:23] local.INFO: TCP Data received {"connection_id":137365,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f78584e68012d7b234005dac9d00001010323..."} 
[2026-07-19 08:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78584e68012d7b234005dac9d00001010323..."} 
[2026-07-19 08:41:23] local.INFO: Processing buffer {"connection_id":137365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78584e68012d7b234005dac9d00001010323..."} 
[2026-07-19 08:41:23] local.INFO: Packet analysis {"connection_id":137365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7858"} 
[2026-07-19 08:41:23] local.INFO: Extracted packet for processing {"connection_id":137365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7858"} 
[2026-07-19 08:41:23] local.INFO: GPS Element Parsed {"raw_longitude":763044672,"raw_latitude":98224592,"longitude_deg":76.3044672,"latitude_deg":9.8224592,"altitude":1,"angle":259,"satellites":35,"speed":28,"hex_longitude":"2d7b2340","hex_latitude":"05dac9d0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814200832001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108177513083043840,"note":"Value kept but may cause issues"} 
[2026-07-19 08:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882646602692634624,"note":"Value kept but may cause issues"} 
[2026-07-19 08:41:23] 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-07-19 08:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784430481000,"timestamp_ms":1784430481000,"timestamp_seconds":1784430481,"priority":1,"record_length":96,"hex_timestamp":"0000019f78584e68"} 
[2026-07-19 08:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08: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-07-19 08: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-19 08:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":137365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":137365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":137365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814200832001,"66":13222,"188":206,"85":15104,"24":28,"16":108177513083043840,"45":8882646602692634624},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 08:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814200832001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:41:23] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 08:41:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108177513083043840,"km_value":108177513083043.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882646602692634624,"description":"Unknown IO ID 45"} 
[2026-07-19 08:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814200832001,"power":13222,"unknown_188":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8882646602692634624}} 
[2026-07-19 08:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":137365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:41:23] local.INFO: GPS data processed {"connection_id":137365,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:41:23] local.INFO: Acknowledgment sent {"connection_id":137365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:41:32] local.INFO: TCP Data received {"connection_id":136432,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:41:32] local.INFO: Processing buffer {"connection_id":136432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:41:32] local.INFO: IMEI packet received {"connection_id":136432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":136432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:41:37] local.INFO: TCP Data received {"connection_id":136432,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:41:37] local.INFO: Processing buffer {"connection_id":136432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:41:37] local.INFO: IMEI packet received {"connection_id":136432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":136432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:41:38] local.INFO: TCP Data received {"connection_id":136432,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:41:38] local.INFO: Processing buffer {"connection_id":136432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:41:38] local.INFO: Packet analysis {"connection_id":136432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785a"} 
[2026-07-19 08:41:38] local.INFO: Extracted packet for processing {"connection_id":136432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785a"} 
[2026-07-19 08:41:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814161408001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784430619000,"timestamp_ms":1784430619000,"timestamp_seconds":1784430619,"priority":1,"record_length":96,"hex_timestamp":"0000019f785a6978"} 
[2026-07-19 08:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 08:41: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-07-19 08: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-07-19 08:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08: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-07-19 08:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814161408001,"66":25680,"142":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-07-19 08:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814161408001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:41:38] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-19 08:41:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814161408001,"power":25680,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":136432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:41:38] local.INFO: GPS data processed {"connection_id":136432,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:41:38] local.INFO: Acknowledgment sent {"connection_id":136432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:41:54] local.INFO: TCP Data received {"connection_id":137365,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f78588518012d7afe4005dac0d00003010223..."} 
[2026-07-19 08:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78588518012d7afe4005dac0d00003010223..."} 
[2026-07-19 08:41:54] local.INFO: Processing buffer {"connection_id":137365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78588518012d7afe4005dac0d00003010223..."} 
[2026-07-19 08:41:54] local.INFO: Packet analysis {"connection_id":137365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7858"} 
[2026-07-19 08:41:54] local.INFO: Extracted packet for processing {"connection_id":137365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7858"} 
[2026-07-19 08:41:54] local.INFO: GPS Element Parsed {"raw_longitude":763035200,"raw_latitude":98222288,"longitude_deg":76.30352,"latitude_deg":9.8222288,"altitude":3,"angle":258,"satellites":35,"speed":43,"hex_longitude":"2d7afe40","hex_latitude":"05dac0d0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814203136001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108177976939511808,"note":"Value kept but may cause issues"} 
[2026-07-19 08:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873006084739682304,"note":"Value kept but may cause issues"} 
[2026-07-19 08:41:54] 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-07-19 08:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784430495000,"timestamp_ms":1784430495000,"timestamp_seconds":1784430495,"priority":1,"record_length":96,"hex_timestamp":"0000019f78588518"} 
[2026-07-19 08:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-19 08:41:54] 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-07-19 08: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-07-19 08:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":137365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":137365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":137365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814203136001,"66":13406,"188":206,"85":15104,"24":43,"16":108177976939511808,"45":8873006084739682304},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 08:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814203136001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:41:54] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 08:41:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108177976939511808,"km_value":108177976939511.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873006084739682304,"description":"Unknown IO ID 45"} 
[2026-07-19 08:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814203136001,"power":13406,"unknown_188":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8873006084739682304}} 
[2026-07-19 08:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":137365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:41:54] local.INFO: GPS data processed {"connection_id":137365,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:41:54] local.INFO: Acknowledgment sent {"connection_id":137365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:42:10] local.INFO: TCP Data received {"connection_id":136432,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:42:10] local.INFO: Processing buffer {"connection_id":136432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:42:10] local.INFO: Packet analysis {"connection_id":136432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785a"} 
[2026-07-19 08:42:10] local.INFO: Extracted packet for processing {"connection_id":136432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785a"} 
[2026-07-19 08:42:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814161408001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784430619000,"timestamp_ms":1784430619000,"timestamp_seconds":1784430619,"priority":1,"record_length":96,"hex_timestamp":"0000019f785a6978"} 
[2026-07-19 08:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 08:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814161408001,"66":25680,"142":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-07-19 08:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814161408001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:42:10] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-19 08:42:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814161408001,"power":25680,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":136432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:42:10] local.INFO: GPS data processed {"connection_id":136432,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:42:10] local.INFO: Acknowledgment sent {"connection_id":136432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:42:19] local.INFO: TCP Data received {"connection_id":137366,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:42:19] local.INFO: Processing buffer {"connection_id":137366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:42:19] local.INFO: IMEI packet received {"connection_id":137366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":137366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:42:24] local.INFO: TCP Data received {"connection_id":137366,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:42:24] local.INFO: Processing buffer {"connection_id":137366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:42:24] local.INFO: IMEI packet received {"connection_id":137366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":137366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:42:25] local.INFO: TCP Data received {"connection_id":137366,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7858a840012d7ada4005dab798000400fc23..."} 
[2026-07-19 08:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7858a840012d7ada4005dab798000400fc23..."} 
[2026-07-19 08:42:25] local.INFO: Processing buffer {"connection_id":137366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7858a840012d7ada4005dab798000400fc23..."} 
[2026-07-19 08:42:25] local.INFO: Packet analysis {"connection_id":137366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7858"} 
[2026-07-19 08:42:25] local.INFO: Extracted packet for processing {"connection_id":137366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7858"} 
[2026-07-19 08:42:25] local.INFO: GPS Element Parsed {"raw_longitude":763025984,"raw_latitude":98219928,"longitude_deg":76.3025984,"latitude_deg":9.8219928,"altitude":4,"angle":252,"satellites":35,"speed":39,"hex_longitude":"2d7ada40","hex_latitude":"05dab798","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814206720001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108178432206045184,"note":"Value kept but may cause issues"} 
[2026-07-19 08:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8862591510600798208,"note":"Value kept but may cause issues"} 
[2026-07-19 08:42: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-07-19 08:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784430504000,"timestamp_ms":1784430504000,"timestamp_seconds":1784430504,"priority":1,"record_length":96,"hex_timestamp":"0000019f7858a840"} 
[2026-07-19 08:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:42: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-07-19 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-19 08:42: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-07-19 08: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-07-19 08:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":137366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":137366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":137366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814206720001,"66":13406,"188":206,"85":15104,"24":39,"16":108178432206045184,"45":8862591510600798208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 08:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814206720001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:42:25] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 08:42:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108178432206045184,"km_value":108178432206045.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8862591510600798208,"description":"Unknown IO ID 45"} 
[2026-07-19 08:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814206720001,"power":13406,"unknown_188":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8862591510600798208}} 
[2026-07-19 08:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":137366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:42:25] local.INFO: GPS data processed {"connection_id":137366,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:42:25] local.INFO: Acknowledgment sent {"connection_id":137366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:42:37] local.INFO: TCP Data received {"connection_id":137368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:42:37] local.INFO: Processing buffer {"connection_id":137368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:42:37] local.INFO: IMEI packet received {"connection_id":137368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":137368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:42:42] local.INFO: TCP Data received {"connection_id":137368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:42:42] local.INFO: Processing buffer {"connection_id":137368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:42:42] local.INFO: IMEI packet received {"connection_id":137368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":137368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:42:42] local.INFO: TCP Data received {"connection_id":137368,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:42:42] local.INFO: Processing buffer {"connection_id":137368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:42:42] local.INFO: Packet analysis {"connection_id":137368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785a"} 
[2026-07-19 08:42:42] local.INFO: Extracted packet for processing {"connection_id":137368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785a"} 
[2026-07-19 08:42:42] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 08:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814161408001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784430619000,"timestamp_ms":1784430619000,"timestamp_seconds":1784430619,"priority":1,"record_length":96,"hex_timestamp":"0000019f785a6978"} 
[2026-07-19 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-07-19 08:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 08:42:42] 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-07-19 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-07-19 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-07-19 08:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814161408001,"66":25680,"142":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-07-19 08:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814161408001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:42:42] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-19 08:42:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814161408001,"power":25680,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":137368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:42:42] local.INFO: GPS data processed {"connection_id":137368,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:42:42] local.INFO: Acknowledgment sent {"connection_id":137368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:42:55] local.INFO: TCP Data received {"connection_id":137366,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7858f660012d7abf8005daaed80001010320..."} 
[2026-07-19 08:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7858f660012d7abf8005daaed80001010320..."} 
[2026-07-19 08:42:55] local.INFO: Processing buffer {"connection_id":137366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7858f660012d7abf8005daaed80001010320..."} 
[2026-07-19 08:42:55] local.INFO: Packet analysis {"connection_id":137366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7858"} 
[2026-07-19 08:42:55] local.INFO: Extracted packet for processing {"connection_id":137366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7858"} 
[2026-07-19 08:42:55] local.INFO: GPS Element Parsed {"raw_longitude":763019136,"raw_latitude":98217688,"longitude_deg":76.3019136,"latitude_deg":9.8217688,"altitude":1,"angle":259,"satellites":32,"speed":0,"hex_longitude":"2d7abf80","hex_latitude":"05daaed8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814209024001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108178788688330752,"note":"Value kept but may cause issues"} 
[2026-07-19 08:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852458411438610432,"note":"Value kept but may cause issues"} 
[2026-07-19 08:42:55] 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-07-19 08:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784430524000,"timestamp_ms":1784430524000,"timestamp_seconds":1784430524,"priority":1,"record_length":96,"hex_timestamp":"0000019f7858f660"} 
[2026-07-19 08:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:42: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-07-19 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-19 08:42:55] 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-07-19 08: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-07-19 08:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":137366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":137366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":137366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814209024001,"66":13243,"188":206,"85":15104,"24":0,"16":108178788688330752,"45":8852458411438610432},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 08:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814209024001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:42:55] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 08:42:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108178788688330752,"km_value":108178788688330.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852458411438610432,"description":"Unknown IO ID 45"} 
[2026-07-19 08:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814209024001,"power":13243,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8852458411438610432}} 
[2026-07-19 08:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":137366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:42:55] local.INFO: GPS data processed {"connection_id":137366,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:42:55] local.INFO: Acknowledgment sent {"connection_id":137366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:43:15] local.INFO: TCP Data received {"connection_id":137368,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:43:15] local.INFO: Processing buffer {"connection_id":137368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:43:15] local.INFO: Packet analysis {"connection_id":137368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785a"} 
[2026-07-19 08:43:15] local.INFO: Extracted packet for processing {"connection_id":137368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785a"} 
[2026-07-19 08:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814161408001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784430619000,"timestamp_ms":1784430619000,"timestamp_seconds":1784430619,"priority":1,"record_length":96,"hex_timestamp":"0000019f785a6978"} 
[2026-07-19 08:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 08:43:15] 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-07-19 08: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-07-19 08:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":137368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":137368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":137368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814161408001,"66":25680,"142":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-07-19 08:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814161408001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:43:15] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-19 08:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814161408001,"power":25680,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":137368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:43:15] local.INFO: GPS data processed {"connection_id":137368,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:43:15] local.INFO: Acknowledgment sent {"connection_id":137368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:43:24] local.INFO: TCP Data received {"connection_id":136314,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136314,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:43:24] local.INFO: Processing buffer {"connection_id":136314,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:43:24] local.INFO: IMEI packet received {"connection_id":136314,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":136314,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:43:28] local.INFO: TCP Data received {"connection_id":136314,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136314,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:43:28] local.INFO: Processing buffer {"connection_id":136314,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:43:28] local.INFO: IMEI packet received {"connection_id":136314,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":136314,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:43:29] local.INFO: TCP Data received {"connection_id":136314,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f785cbf20012d7aac8005daa918000400fa27..."} 
[2026-07-19 08:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785cbf20012d7aac8005daa918000400fa27..."} 
[2026-07-19 08:43:29] local.INFO: Processing buffer {"connection_id":136314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785cbf20012d7aac8005daa918000400fa27..."} 
[2026-07-19 08:43:29] local.INFO: Packet analysis {"connection_id":136314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785c"} 
[2026-07-19 08:43:29] local.INFO: Extracted packet for processing {"connection_id":136314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785c"} 
[2026-07-19 08:43:29] local.INFO: GPS Element Parsed {"raw_longitude":763014272,"raw_latitude":98216216,"longitude_deg":76.3014272,"latitude_deg":9.8216216,"altitude":4,"angle":250,"satellites":39,"speed":6,"hex_longitude":"2d7aac80","hex_latitude":"05daa918","is_valid_coordinates":true} 
[2026-07-19 08:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814275072001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108179029206499328,"note":"Value kept but may cause issues"} 
[2026-07-19 08:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8841340149857675264,"note":"Value kept but may cause issues"} 
[2026-07-19 08:43:29] 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-07-19 08:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784430772000,"timestamp_ms":1784430772000,"timestamp_seconds":1784430772,"priority":1,"record_length":96,"hex_timestamp":"0000019f785cbf20"} 
[2026-07-19 08:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-19 08:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":136314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":136314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":136314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814275072001,"66":13037,"188":206,"85":15104,"24":6,"16":108179029206499328,"45":8841340149857675264},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 08:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814275072001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:43:29] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 08:43:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108179029206499328,"km_value":108179029206499.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8841340149857675264,"description":"Unknown IO ID 45"} 
[2026-07-19 08:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814275072001,"power":13037,"unknown_188":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8841340149857675264}} 
[2026-07-19 08:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":136314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:43:29] local.INFO: GPS data processed {"connection_id":136314,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:43:29] local.INFO: Acknowledgment sent {"connection_id":136314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:43:29] local.INFO: TCP Data received {"connection_id":136314,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f785d0d40012d7a9d0005daa488000500f726..."} 
[2026-07-19 08:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785d0d40012d7a9d0005daa488000500f726..."} 
[2026-07-19 08:43:29] local.INFO: Processing buffer {"connection_id":136314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785d0d40012d7a9d0005daa488000500f726..."} 
[2026-07-19 08:43:29] local.INFO: Packet analysis {"connection_id":136314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785d"} 
[2026-07-19 08:43:29] local.INFO: Extracted packet for processing {"connection_id":136314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785d"} 
[2026-07-19 08:43:29] local.INFO: GPS Element Parsed {"raw_longitude":763010304,"raw_latitude":98215048,"longitude_deg":76.3010304,"latitude_deg":9.8215048,"altitude":5,"angle":247,"satellites":38,"speed":15,"hex_longitude":"2d7a9d00","hex_latitude":"05daa488","is_valid_coordinates":true} 
[2026-07-19 08:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814277632001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108179226774994944,"note":"Value kept but may cause issues"} 
[2026-07-19 08:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8839580931253147648,"note":"Value kept but may cause issues"} 
[2026-07-19 08:43:29] 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-07-19 08:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784430792000,"timestamp_ms":1784430792000,"timestamp_seconds":1784430792,"priority":1,"record_length":96,"hex_timestamp":"0000019f785d0d40"} 
[2026-07-19 08:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:43: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-07-19 08:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-19 08:43:29] 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-07-19 08:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":136314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":136314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":136314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814277632001,"66":12928,"188":206,"85":15104,"24":15,"16":108179226774994944,"45":8839580931253147648},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 08:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814277632001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:43:29] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 08:43:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108179226774994944,"km_value":108179226774994.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8839580931253147648,"description":"Unknown IO ID 45"} 
[2026-07-19 08:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814277632001,"power":12928,"unknown_188":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8839580931253147648}} 
[2026-07-19 08:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":136314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:43:29] local.INFO: GPS data processed {"connection_id":136314,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:43:29] local.INFO: Acknowledgment sent {"connection_id":136314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:43:32] local.INFO: TCP Data received {"connection_id":137369,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:43:32] local.INFO: Processing buffer {"connection_id":137369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:43:32] local.INFO: IMEI packet received {"connection_id":137369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":137369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:43:37] local.INFO: TCP Data received {"connection_id":137369,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:43:37] local.INFO: Processing buffer {"connection_id":137369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:43:37] local.INFO: IMEI packet received {"connection_id":137369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":137369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:43:37] local.INFO: TCP Data received {"connection_id":137369,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:43:37] local.INFO: Processing buffer {"connection_id":137369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:43:37] local.INFO: Packet analysis {"connection_id":137369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785a"} 
[2026-07-19 08:43:37] local.INFO: Extracted packet for processing {"connection_id":137369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785a"} 
[2026-07-19 08:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814161408001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784430619000,"timestamp_ms":1784430619000,"timestamp_seconds":1784430619,"priority":1,"record_length":96,"hex_timestamp":"0000019f785a6978"} 
[2026-07-19 08:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 08:43: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-07-19 08:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:43: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-07-19 08:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814161408001,"66":25680,"142":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-07-19 08:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814161408001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:43:37] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-19 08:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814161408001,"power":25680,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":137369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:43:38] local.INFO: GPS data processed {"connection_id":137369,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:43:38] local.INFO: Acknowledgment sent {"connection_id":137369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:44:00] local.INFO: TCP Data received {"connection_id":136314,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f785d43f0012d7a7dc005da9be00003010326..."} 
[2026-07-19 08:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785d43f0012d7a7dc005da9be00003010326..."} 
[2026-07-19 08:44:00] local.INFO: Processing buffer {"connection_id":136314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785d43f0012d7a7dc005da9be00003010326..."} 
[2026-07-19 08:44:00] local.INFO: Packet analysis {"connection_id":136314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785d"} 
[2026-07-19 08:44:00] local.INFO: Extracted packet for processing {"connection_id":136314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785d"} 
[2026-07-19 08:44:00] local.INFO: GPS Element Parsed {"raw_longitude":763002304,"raw_latitude":98212832,"longitude_deg":76.3002304,"latitude_deg":9.8212832,"altitude":3,"angle":259,"satellites":38,"speed":21,"hex_longitude":"2d7a7dc0","hex_latitude":"05da9be0","is_valid_coordinates":true} 
[2026-07-19 08:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814282752001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108179626206953472,"note":"Value kept but may cause issues"} 
[2026-07-19 08:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835218069113833472,"note":"Value kept but may cause issues"} 
[2026-07-19 08:44:00] 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-07-19 08:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784430806000,"timestamp_ms":1784430806000,"timestamp_seconds":1784430806,"priority":1,"record_length":96,"hex_timestamp":"0000019f785d43f0"} 
[2026-07-19 08:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:44: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-07-19 08: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-19 08:44:00] 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-07-19 08: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-07-19 08:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":136314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":136314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":136314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814282752001,"66":13015,"188":206,"85":15104,"24":21,"16":108179626206953472,"45":8835218069113833472},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 08:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814282752001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:44:00] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 08:44:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108179626206953472,"km_value":108179626206953.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835218069113833472,"description":"Unknown IO ID 45"} 
[2026-07-19 08:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814282752001,"power":13015,"unknown_188":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8835218069113833472}} 
[2026-07-19 08:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":136314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:44:00] local.INFO: GPS data processed {"connection_id":136314,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:44:00] local.INFO: Acknowledgment sent {"connection_id":136314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:44:10] local.INFO: TCP Data received {"connection_id":137369,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:44:10] local.INFO: Processing buffer {"connection_id":137369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:44:10] local.INFO: Packet analysis {"connection_id":137369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785a"} 
[2026-07-19 08:44:10] local.INFO: Extracted packet for processing {"connection_id":137369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785a"} 
[2026-07-19 08:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814161408001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784430619000,"timestamp_ms":1784430619000,"timestamp_seconds":1784430619,"priority":1,"record_length":96,"hex_timestamp":"0000019f785a6978"} 
[2026-07-19 08:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 08:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814161408001,"66":25680,"142":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-07-19 08:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814161408001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:44:10] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-19 08:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814161408001,"power":25680,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":137369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:44:10] local.INFO: GPS data processed {"connection_id":137369,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:44:10] local.INFO: Acknowledgment sent {"connection_id":137369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:44:19] local.INFO: TCP Data received {"connection_id":136315,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:44:19] local.INFO: Processing buffer {"connection_id":136315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:44:19] local.INFO: IMEI packet received {"connection_id":136315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":136315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:44:24] local.INFO: TCP Data received {"connection_id":136315,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:44:24] local.INFO: Processing buffer {"connection_id":136315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:44:24] local.INFO: IMEI packet received {"connection_id":136315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":136315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:44:25] local.INFO: TCP Data received {"connection_id":136315,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f785d6718012d7a718005da98b0000100f826..."} 
[2026-07-19 08:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785d6718012d7a718005da98b0000100f826..."} 
[2026-07-19 08:44:25] local.INFO: Processing buffer {"connection_id":136315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785d6718012d7a718005da98b0000100f826..."} 
[2026-07-19 08:44:25] local.INFO: Packet analysis {"connection_id":136315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785d"} 
[2026-07-19 08:44:25] local.INFO: Extracted packet for processing {"connection_id":136315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785d"} 
[2026-07-19 08:44:25] local.INFO: GPS Element Parsed {"raw_longitude":762999168,"raw_latitude":98212016,"longitude_deg":76.2999168,"latitude_deg":9.8212016,"altitude":1,"angle":248,"satellites":38,"speed":16,"hex_longitude":"2d7a7180","hex_latitude":"05da98b0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814286336001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108179780825776128,"note":"Value kept but may cause issues"} 
[2026-07-19 08:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826421976091058176,"note":"Value kept but may cause issues"} 
[2026-07-19 08:44: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-07-19 08:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784430815000,"timestamp_ms":1784430815000,"timestamp_seconds":1784430815,"priority":1,"record_length":96,"hex_timestamp":"0000019f785d6718"} 
[2026-07-19 08:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:44: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-07-19 08: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-19 08:44:25] 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-07-19 08: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-07-19 08:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814286336001,"66":13472,"188":206,"85":15104,"24":16,"16":108179780825776128,"45":8826421976091058176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 08:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814286336001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:44:25] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 08:44:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108179780825776128,"km_value":108179780825776.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826421976091058176,"description":"Unknown IO ID 45"} 
[2026-07-19 08:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814286336001,"power":13472,"unknown_188":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8826421976091058176}} 
[2026-07-19 08:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":136315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511275,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:44:25] local.INFO: GPS data processed {"connection_id":136315,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:44:25] local.INFO: Acknowledgment sent {"connection_id":136315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:44:31] local.INFO: TCP Data received {"connection_id":136434,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:44:31] local.INFO: Processing buffer {"connection_id":136434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:44:31] local.INFO: IMEI packet received {"connection_id":136434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":136434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:44:37] local.INFO: TCP Data received {"connection_id":136434,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:44:37] local.INFO: Processing buffer {"connection_id":136434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:44:37] local.INFO: IMEI packet received {"connection_id":136434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":136434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:44:38] local.INFO: TCP Data received {"connection_id":136434,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:44:38] local.INFO: Processing buffer {"connection_id":136434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:44:38] local.INFO: Packet analysis {"connection_id":136434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785a"} 
[2026-07-19 08:44:38] local.INFO: Extracted packet for processing {"connection_id":136434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785a"} 
[2026-07-19 08:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814161408001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784430619000,"timestamp_ms":1784430619000,"timestamp_seconds":1784430619,"priority":1,"record_length":96,"hex_timestamp":"0000019f785a6978"} 
[2026-07-19 08:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 08:44: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-07-19 08:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:44: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-07-19 08:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814161408001,"66":25680,"142":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-07-19 08:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814161408001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:44:38] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-19 08:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814161408001,"power":25680,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":136434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:44:38] local.INFO: GPS data processed {"connection_id":136434,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:44:38] local.INFO: Acknowledgment sent {"connection_id":136434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:44:56] local.INFO: TCP Data received {"connection_id":136315,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f785d76b8012d7a68c005da96a80002010426..."} 
[2026-07-19 08:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785d76b8012d7a68c005da96a80002010426..."} 
[2026-07-19 08:44:56] local.INFO: Processing buffer {"connection_id":136315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785d76b8012d7a68c005da96a80002010426..."} 
[2026-07-19 08:44:56] local.INFO: Packet analysis {"connection_id":136315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785d"} 
[2026-07-19 08:44:56] local.INFO: Extracted packet for processing {"connection_id":136315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785d"} 
[2026-07-19 08:44:56] local.INFO: GPS Element Parsed {"raw_longitude":762996928,"raw_latitude":98211496,"longitude_deg":76.2996928,"latitude_deg":9.8211496,"altitude":2,"angle":260,"satellites":38,"speed":23,"hex_longitude":"2d7a68c0","hex_latitude":"05da96a8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814288640001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108179892494925824,"note":"Value kept but may cause issues"} 
[2026-07-19 08:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822973907626143744,"note":"Value kept but may cause issues"} 
[2026-07-19 08:44: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-07-19 08:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784430819000,"timestamp_ms":1784430819000,"timestamp_seconds":1784430819,"priority":1,"record_length":96,"hex_timestamp":"0000019f785d76b8"} 
[2026-07-19 08:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:44: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-07-19 08: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-19 08:44: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-07-19 08: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-07-19 08:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814288640001,"66":13363,"188":206,"85":15104,"24":23,"16":108179892494925824,"45":8822973907626143744},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 08:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814288640001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:44:56] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 08:44:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108179892494925824,"km_value":108179892494925.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822973907626143744,"description":"Unknown IO ID 45"} 
[2026-07-19 08:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814288640001,"power":13363,"unknown_188":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8822973907626143744}} 
[2026-07-19 08:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":136315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:44:56] local.INFO: GPS data processed {"connection_id":136315,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:44:56] local.INFO: Acknowledgment sent {"connection_id":136315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:45:09] local.INFO: TCP Data received {"connection_id":136434,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:45:09] local.INFO: Processing buffer {"connection_id":136434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:45:09] local.INFO: Packet analysis {"connection_id":136434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785a"} 
[2026-07-19 08:45:09] local.INFO: Extracted packet for processing {"connection_id":136434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785a"} 
[2026-07-19 08:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814161408001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784430619000,"timestamp_ms":1784430619000,"timestamp_seconds":1784430619,"priority":1,"record_length":96,"hex_timestamp":"0000019f785a6978"} 
[2026-07-19 08:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 08:45:09] 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-07-19 08:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:45: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-07-19 08:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814161408001,"66":25680,"142":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-07-19 08:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814161408001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:45:09] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-19 08:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814161408001,"power":25680,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":136434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:45:09] local.INFO: GPS data processed {"connection_id":136434,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:45:09] local.INFO: Acknowledgment sent {"connection_id":136434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:45:19] local.INFO: TCP Data received {"connection_id":137371,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:45:19] local.INFO: Processing buffer {"connection_id":137371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:45:19] local.INFO: IMEI packet received {"connection_id":137371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":137371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:45:21] local.INFO: TCP Data received {"connection_id":137371,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:45:21] local.INFO: Processing buffer {"connection_id":137371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:45:21] local.INFO: IMEI packet received {"connection_id":137371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":137371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:45:22] local.INFO: TCP Data received {"connection_id":137371,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f785dad68012d7a444005da93580003010826..."} 
[2026-07-19 08:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785dad68012d7a444005da93580003010826..."} 
[2026-07-19 08:45:22] local.INFO: Processing buffer {"connection_id":137371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785dad68012d7a444005da93580003010826..."} 
[2026-07-19 08:45:22] local.INFO: Packet analysis {"connection_id":137371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785d"} 
[2026-07-19 08:45:22] local.INFO: Extracted packet for processing {"connection_id":137371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785d"} 
[2026-07-19 08:45:22] local.INFO: GPS Element Parsed {"raw_longitude":762987584,"raw_latitude":98210648,"longitude_deg":76.2987584,"latitude_deg":9.8210648,"altitude":3,"angle":264,"satellites":38,"speed":13,"hex_longitude":"2d7a4440","hex_latitude":"05da9358","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814289664001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108180339171524608,"note":"Value kept but may cause issues"} 
[2026-07-19 08:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820511001579792384,"note":"Value kept but may cause issues"} 
[2026-07-19 08:45:22] 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-07-19 08:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784430833000,"timestamp_ms":1784430833000,"timestamp_seconds":1784430833,"priority":1,"record_length":96,"hex_timestamp":"0000019f785dad68"} 
[2026-07-19 08:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:45: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-07-19 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 08:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":137371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":137371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":137371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814289664001,"66":13015,"188":206,"85":15104,"24":13,"16":108180339171524608,"45":8820511001579792384},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 08:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814289664001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:45:22] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 08:45:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108180339171524608,"km_value":108180339171524.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820511001579792384,"description":"Unknown IO ID 45"} 
[2026-07-19 08:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814289664001,"power":13015,"unknown_188":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8820511001579792384}} 
[2026-07-19 08:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":137371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:45:22] local.INFO: GPS data processed {"connection_id":137371,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:45:22] local.INFO: Acknowledgment sent {"connection_id":137371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:45:32] local.INFO: TCP Data received {"connection_id":136316,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:45:32] local.INFO: Processing buffer {"connection_id":136316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:45:32] local.INFO: IMEI packet received {"connection_id":136316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":136316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:45:37] local.INFO: TCP Data received {"connection_id":136316,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:45:37] local.INFO: Processing buffer {"connection_id":136316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:45:37] local.INFO: IMEI packet received {"connection_id":136316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":136316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:45:38] local.INFO: TCP Data received {"connection_id":136316,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:45:38] local.INFO: Processing buffer {"connection_id":136316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785a6978012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:45:38] local.INFO: Packet analysis {"connection_id":136316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785a"} 
[2026-07-19 08:45:38] local.INFO: Extracted packet for processing {"connection_id":136316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785a"} 
[2026-07-19 08:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814161408001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784430619000,"timestamp_ms":1784430619000,"timestamp_seconds":1784430619,"priority":1,"record_length":96,"hex_timestamp":"0000019f785a6978"} 
[2026-07-19 08:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 08:45: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-07-19 08:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814161408001,"66":25680,"142":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-07-19 08:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814161408001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:45:38] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-19 08:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814161408001,"power":25680,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":136316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:45:38] local.INFO: GPS data processed {"connection_id":136316,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:45:38] local.INFO: Acknowledgment sent {"connection_id":136316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:45:53] local.INFO: TCP Data received {"connection_id":137371,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f785f5f00012d7a320005daa6300005007028..."} 
[2026-07-19 08:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785f5f00012d7a320005daa6300005007028..."} 
[2026-07-19 08:45:53] local.INFO: Processing buffer {"connection_id":137371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785f5f00012d7a320005daa6300005007028..."} 
[2026-07-19 08:45:53] local.INFO: Packet analysis {"connection_id":137371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:45:53] local.INFO: Extracted packet for processing {"connection_id":137371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:45:53] local.INFO: GPS Element Parsed {"raw_longitude":762982912,"raw_latitude":98215472,"longitude_deg":76.2982912,"latitude_deg":9.8215472,"altitude":5,"angle":112,"satellites":40,"speed":1,"hex_longitude":"2d7a3200","hex_latitude":"05daa630","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814317824001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108180760078319616,"note":"Value kept but may cause issues"} 
[2026-07-19 08:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090326796288,"note":"Value kept but may cause issues"} 
[2026-07-19 08:45:53] 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-07-19 08:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784430944000,"timestamp_ms":1784430944000,"timestamp_seconds":1784430944,"priority":1,"record_length":96,"hex_timestamp":"0000019f785f5f00"} 
[2026-07-19 08:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-19 08:45:53] 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-07-19 08: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-07-19 08:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":137371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":137371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":137371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814317824001,"66":13396,"229":206,"85":15104,"24":1,"16":108180760078319616,"45":8805452090326796288},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814317824001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:45:53] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:45:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108180760078319616,"km_value":108180760078319.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090326796288,"description":"Unknown IO ID 45"} 
[2026-07-19 08:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814317824001,"power":13396,"unknown_229":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8805452090326796288}} 
[2026-07-19 08:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":137371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:45:53] local.INFO: GPS data processed {"connection_id":137371,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:45:53] local.INFO: Acknowledgment sent {"connection_id":137371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:45:57] local.INFO: TCP Data received {"connection_id":137372,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:45:57] local.INFO: Processing buffer {"connection_id":137372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:45:57] local.INFO: IMEI packet received {"connection_id":137372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 08:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":137372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:46:09] local.INFO: TCP Data received {"connection_id":136316,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:46:09] local.INFO: Processing buffer {"connection_id":136316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:46:09] local.INFO: Packet analysis {"connection_id":136316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:46:09] local.INFO: Extracted packet for processing {"connection_id":136316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 08:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814238464001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:46: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-07-19 08:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784430920000,"timestamp_ms":1784430920000,"timestamp_seconds":1784430920,"priority":1,"record_length":96,"hex_timestamp":"0000019f785f0140"} 
[2026-07-19 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-07-19 08:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 08:46: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-07-19 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-07-19 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-07-19 08:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814238464001,"66":25647,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814238464001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:46:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814238464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":136316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:46:09] local.INFO: GPS data processed {"connection_id":136316,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:46:09] local.INFO: Acknowledgment sent {"connection_id":136316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:46:19] local.INFO: TCP Data received {"connection_id":137373,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:46:19] local.INFO: Processing buffer {"connection_id":137373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:46:19] local.INFO: IMEI packet received {"connection_id":137373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":137373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:46:19] local.INFO: TCP Data received {"connection_id":137373,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:46:19] local.INFO: Processing buffer {"connection_id":137373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:46:19] local.INFO: IMEI packet received {"connection_id":137373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":137373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:46:22] local.INFO: TCP Data received {"connection_id":137373,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:46:22] local.INFO: Processing buffer {"connection_id":137373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:46:22] local.INFO: IMEI packet received {"connection_id":137373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":137373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:46:23] local.INFO: TCP Data received {"connection_id":137373,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f785f6ea0012d7a32c005daa5d00004007d27..."} 
[2026-07-19 08:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785f6ea0012d7a32c005daa5d00004007d27..."} 
[2026-07-19 08:46:23] local.INFO: Processing buffer {"connection_id":137373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785f6ea0012d7a32c005daa5d00004007d27..."} 
[2026-07-19 08:46:23] local.INFO: Packet analysis {"connection_id":137373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:46:23] local.INFO: Extracted packet for processing {"connection_id":137373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:46:23] local.INFO: GPS Element Parsed {"raw_longitude":762983104,"raw_latitude":98215376,"longitude_deg":76.2983104,"latitude_deg":9.8215376,"altitude":4,"angle":125,"satellites":39,"speed":2,"hex_longitude":"2d7a32c0","hex_latitude":"05daa5d0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814321664001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108180768668254208,"note":"Value kept but may cause issues"} 
[2026-07-19 08:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805100246605901824,"note":"Value kept but may cause issues"} 
[2026-07-19 08:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784430948000,"timestamp_ms":1784430948000,"timestamp_seconds":1784430948,"priority":1,"record_length":96,"hex_timestamp":"0000019f785f6ea0"} 
[2026-07-19 08:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:46:23] 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-07-19 08: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-19 08:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":137373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":137373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":137373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814321664001,"66":13559,"229":206,"85":15104,"24":2,"16":108180768668254208,"45":8805100246605901824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814321664001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:46:23] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:46:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108180768668254208,"km_value":108180768668254.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805100246605901824,"description":"Unknown IO ID 45"} 
[2026-07-19 08:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814321664001,"power":13559,"unknown_229":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8805100246605901824}} 
[2026-07-19 08:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":137373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:46:23] local.INFO: GPS data processed {"connection_id":137373,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:46:23] local.INFO: Acknowledgment sent {"connection_id":137373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:46:27] local.INFO: TCP Data received {"connection_id":138782,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:46:27] local.INFO: Processing buffer {"connection_id":138782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:46:27] local.INFO: IMEI packet received {"connection_id":138782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 08:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":138782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:46:32] local.INFO: TCP Data received {"connection_id":136435,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:46:32] local.INFO: Processing buffer {"connection_id":136435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:46:32] local.INFO: IMEI packet received {"connection_id":136435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":136435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:46:37] local.INFO: TCP Data received {"connection_id":136435,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:46:37] local.INFO: Processing buffer {"connection_id":136435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:46:37] local.INFO: IMEI packet received {"connection_id":136435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":136435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:46:38] local.INFO: TCP Data received {"connection_id":136435,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:46:38] local.INFO: Processing buffer {"connection_id":136435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:46:38] local.INFO: Packet analysis {"connection_id":136435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:46:38] local.INFO: Extracted packet for processing {"connection_id":136435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814238464001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:46: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-07-19 08:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784430920000,"timestamp_ms":1784430920000,"timestamp_seconds":1784430920,"priority":1,"record_length":96,"hex_timestamp":"0000019f785f0140"} 
[2026-07-19 08:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 08:46:38] 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-07-19 08:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814238464001,"66":25647,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814238464001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:46:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:46:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814238464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":136435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:46:38] local.INFO: GPS data processed {"connection_id":136435,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:46:38] local.INFO: Acknowledgment sent {"connection_id":136435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:46:54] local.INFO: TCP Data received {"connection_id":137373,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f785ff758012d7a3b0005daa348000600a224..."} 
[2026-07-19 08:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785ff758012d7a3b0005daa348000600a224..."} 
[2026-07-19 08:46:54] local.INFO: Processing buffer {"connection_id":137373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785ff758012d7a3b0005daa348000600a224..."} 
[2026-07-19 08:46:54] local.INFO: Packet analysis {"connection_id":137373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:46:54] local.INFO: Extracted packet for processing {"connection_id":137373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:46:54] local.INFO: GPS Element Parsed {"raw_longitude":762985216,"raw_latitude":98214728,"longitude_deg":76.2985216,"latitude_deg":9.8214728,"altitude":6,"angle":162,"satellites":36,"speed":10,"hex_longitude":"2d7a3b00","hex_latitude":"05daa348","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814330880001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108180923287076864,"note":"Value kept but may cause issues"} 
[2026-07-19 08:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807281677675354112,"note":"Value kept but may cause issues"} 
[2026-07-19 08:46:54] 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-07-19 08:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784430983000,"timestamp_ms":1784430983000,"timestamp_seconds":1784430983,"priority":1,"record_length":96,"hex_timestamp":"0000019f785ff758"} 
[2026-07-19 08:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 08: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 08:46: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-07-19 08: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-07-19 08:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":137373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":137373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":137373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814330880001,"66":13319,"229":206,"85":15104,"24":10,"16":108180923287076864,"45":8807281677675354112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814330880001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:46:54] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:46:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108180923287076864,"km_value":108180923287076.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807281677675354112,"description":"Unknown IO ID 45"} 
[2026-07-19 08:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814330880001,"power":13319,"unknown_229":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8807281677675354112}} 
[2026-07-19 08:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":137373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:46:54] local.INFO: GPS data processed {"connection_id":137373,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:46:54] local.INFO: Acknowledgment sent {"connection_id":137373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:47:09] local.INFO: TCP Data received {"connection_id":136435,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:47:09] local.INFO: Processing buffer {"connection_id":136435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:47:09] local.INFO: Packet analysis {"connection_id":136435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:47:09] local.INFO: Extracted packet for processing {"connection_id":136435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814238464001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08: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-07-19 08:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784430920000,"timestamp_ms":1784430920000,"timestamp_seconds":1784430920,"priority":1,"record_length":96,"hex_timestamp":"0000019f785f0140"} 
[2026-07-19 08:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08: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-07-19 08: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-07-19 08:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814238464001,"66":25647,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814238464001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:47:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814238464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":136435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:47:09] local.INFO: GPS data processed {"connection_id":136435,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:47:09] local.INFO: Acknowledgment sent {"connection_id":136435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:47:19] local.INFO: TCP Data received {"connection_id":137374,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:47:19] local.INFO: Processing buffer {"connection_id":137374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:47:19] local.INFO: IMEI packet received {"connection_id":137374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":137374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:47:24] local.INFO: TCP Data received {"connection_id":137374,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:47:24] local.INFO: Processing buffer {"connection_id":137374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:47:24] local.INFO: IMEI packet received {"connection_id":137374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":137374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:47:25] local.INFO: TCP Data received {"connection_id":137374,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f785fff28012d7a3bc005daa148000600ad26..."} 
[2026-07-19 08:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785fff28012d7a3bc005daa148000600ad26..."} 
[2026-07-19 08:47:25] local.INFO: Processing buffer {"connection_id":137374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785fff28012d7a3bc005daa148000600ad26..."} 
[2026-07-19 08:47:25] local.INFO: Packet analysis {"connection_id":137374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:47:25] local.INFO: Extracted packet for processing {"connection_id":137374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:47:25] local.INFO: GPS Element Parsed {"raw_longitude":762985408,"raw_latitude":98214216,"longitude_deg":76.2985408,"latitude_deg":9.8214216,"altitude":6,"angle":173,"satellites":38,"speed":10,"hex_longitude":"2d7a3bc0","hex_latitude":"05daa148","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814331648001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108180949056880640,"note":"Value kept but may cause issues"} 
[2026-07-19 08:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807633521396107264,"note":"Value kept but may cause issues"} 
[2026-07-19 08:47: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-07-19 08:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784430985000,"timestamp_ms":1784430985000,"timestamp_seconds":1784430985,"priority":1,"record_length":96,"hex_timestamp":"0000019f785fff28"} 
[2026-07-19 08:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:47: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-07-19 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-19 08:47:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 08:47:25] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2818649466,"note":"Value kept but may cause issues"} 
[2026-07-19 08:47:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-19 08:47:25] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-6527967642692212992,"note":"Value kept but may cause issues"} 
[2026-07-19 08:47:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2816803022,"corrected_to":0} 
[2026-07-19 08:47:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3668295680,"note":"Value kept but may cause issues"} 
[2026-07-19 08:47:25] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57886972228556091,"note":"Value kept but may cause issues"} 
[2026-07-19 08:47:25] local.WARNING: Large IO value detected {"io_id":95,"raw_value":-5408821857636630523,"note":"Value kept but may cause issues"} 
[2026-07-19 08:47:25] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,229,85,24,241,157,16,159,235,45,192,165,6,36,10,66,223,166,212,64,1,240,68,227,120,218,4,113,205,53,88,39,239,51,2,128,5,29,95],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2816803022,"validated":0}]} 
[2026-07-19 08:47:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432523839730745344,"timestamp_seconds":432523839730745.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 08:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":137374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":137374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":137374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814331648001,"66":13341,"229":206,"85":15104,"24":10,"16":108180949056880640,"45":8807633521396107264},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814331648001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:47:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:47:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108180949056880640,"km_value":108180949056880.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807633521396107264,"description":"Unknown IO ID 45"} 
[2026-07-19 08:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814331648001,"power":13341,"unknown_229":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8807633521396107264}} 
[2026-07-19 08:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":137374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:47:25] local.INFO: GPS data processed {"connection_id":137374,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:47:25] local.INFO: Acknowledgment sent {"connection_id":137374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:47:32] local.INFO: TCP Data received {"connection_id":138784,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:47:32] local.INFO: Processing buffer {"connection_id":138784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:47:32] local.INFO: IMEI packet received {"connection_id":138784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":138784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:47:37] local.INFO: TCP Data received {"connection_id":138784,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:47:37] local.INFO: Processing buffer {"connection_id":138784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:47:37] local.INFO: IMEI packet received {"connection_id":138784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":138784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:47:38] local.INFO: TCP Data received {"connection_id":138784,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:47:38] local.INFO: Processing buffer {"connection_id":138784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:47:38] local.INFO: Packet analysis {"connection_id":138784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:47:38] local.INFO: Extracted packet for processing {"connection_id":138784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814238464001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:47: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-07-19 08:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784430920000,"timestamp_ms":1784430920000,"timestamp_seconds":1784430920,"priority":1,"record_length":96,"hex_timestamp":"0000019f785f0140"} 
[2026-07-19 08:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 08:47:38] 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-07-19 08:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:47: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-07-19 08:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814238464001,"66":25647,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814238464001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814238464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":138784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:47:38] local.INFO: GPS data processed {"connection_id":138784,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:47:38] local.INFO: Acknowledgment sent {"connection_id":138784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:47:56] local.INFO: TCP Data received {"connection_id":137374,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f78604d48012d7a3f4005da8a78000700ac28..."} 
[2026-07-19 08:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78604d48012d7a3f4005da8a78000700ac28..."} 
[2026-07-19 08:47:56] local.INFO: Processing buffer {"connection_id":137374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78604d48012d7a3f4005da8a78000700ac28..."} 
[2026-07-19 08:47:56] local.INFO: Packet analysis {"connection_id":137374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7860"} 
[2026-07-19 08:47:56] local.INFO: Extracted packet for processing {"connection_id":137374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7860"} 
[2026-07-19 08:47:56] local.INFO: GPS Element Parsed {"raw_longitude":762986304,"raw_latitude":98208376,"longitude_deg":76.2986304,"latitude_deg":9.8208376,"altitude":7,"angle":172,"satellites":40,"speed":6,"hex_longitude":"2d7a3f40","hex_latitude":"05da8a78","is_valid_coordinates":true} 
[2026-07-19 08:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814332160001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181236819689472,"note":"Value kept but may cause issues"} 
[2026-07-19 08:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807844627628509184,"note":"Value kept but may cause issues"} 
[2026-07-19 08:47: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-07-19 08:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784431005000,"timestamp_ms":1784431005000,"timestamp_seconds":1784431005,"priority":1,"record_length":96,"hex_timestamp":"0000019f78604d48"} 
[2026-07-19 08:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:47: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-07-19 08:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-19 08:47:56] 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-07-19 08:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814332160001,"66":13015,"229":206,"85":15104,"24":6,"16":108181236819689472,"45":8807844627628509184},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814332160001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:47:56] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:47:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181236819689472,"km_value":108181236819689.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807844627628509184,"description":"Unknown IO ID 45"} 
[2026-07-19 08:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814332160001,"power":13015,"unknown_229":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8807844627628509184}} 
[2026-07-19 08:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":137374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:47:56] local.INFO: GPS data processed {"connection_id":137374,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:47:56] local.INFO: Acknowledgment sent {"connection_id":137374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:48:09] local.INFO: TCP Data received {"connection_id":138784,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:48:10] local.INFO: Processing buffer {"connection_id":138784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:48:10] local.INFO: Packet analysis {"connection_id":138784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:48:10] local.INFO: Extracted packet for processing {"connection_id":138784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814238464001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:48: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-07-19 08:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784430920000,"timestamp_ms":1784430920000,"timestamp_seconds":1784430920,"priority":1,"record_length":96,"hex_timestamp":"0000019f785f0140"} 
[2026-07-19 08:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 08:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:48: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-07-19 08:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814238464001,"66":25647,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814238464001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:48:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814238464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":138784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:48:10] local.INFO: GPS data processed {"connection_id":138784,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:48:10] local.INFO: Acknowledgment sent {"connection_id":138784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:48:19] local.INFO: TCP Data received {"connection_id":138785,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:48:19] local.INFO: Processing buffer {"connection_id":138785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:48:19] local.INFO: IMEI packet received {"connection_id":138785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":138785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:48:24] local.INFO: TCP Data received {"connection_id":138785,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:48:24] local.INFO: Processing buffer {"connection_id":138785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:48:24] local.INFO: IMEI packet received {"connection_id":138785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":138785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:48:25] local.INFO: TCP Data received {"connection_id":138785,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f78609f50012d7a418005da7b78000600ac28..."} 
[2026-07-19 08:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78609f50012d7a418005da7b78000600ac28..."} 
[2026-07-19 08:48:25] local.INFO: Processing buffer {"connection_id":138785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78609f50012d7a418005da7b78000600ac28..."} 
[2026-07-19 08:48:25] local.INFO: Packet analysis {"connection_id":138785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7860"} 
[2026-07-19 08:48:25] local.INFO: Extracted packet for processing {"connection_id":138785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7860"} 
[2026-07-19 08:48:25] local.INFO: GPS Element Parsed {"raw_longitude":762986880,"raw_latitude":98204536,"longitude_deg":76.298688,"latitude_deg":9.8204536,"altitude":6,"angle":172,"satellites":40,"speed":1,"hex_longitude":"2d7a4180","hex_latitude":"05da7b78","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814337280001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181430093217792,"note":"Value kept but may cause issues"} 
[2026-07-19 08:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808829790045501440,"note":"Value kept but may cause issues"} 
[2026-07-19 08:48: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-07-19 08:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784431026000,"timestamp_ms":1784431026000,"timestamp_seconds":1784431026,"priority":1,"record_length":96,"hex_timestamp":"0000019f78609f50"} 
[2026-07-19 08:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:48: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-07-19 08: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-19 08:48:25] 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-07-19 08: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-07-19 08:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":138785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":138785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":138785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814337280001,"66":13102,"229":206,"85":15104,"24":1,"16":108181430093217792,"45":8808829790045501440},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814337280001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:48:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:48:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181430093217792,"km_value":108181430093217.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808829790045501440,"description":"Unknown IO ID 45"} 
[2026-07-19 08:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814337280001,"power":13102,"unknown_229":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8808829790045501440}} 
[2026-07-19 08:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":138785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:48:25] local.INFO: GPS data processed {"connection_id":138785,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:48:25] local.INFO: Acknowledgment sent {"connection_id":138785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:48:32] local.INFO: TCP Data received {"connection_id":137375,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:48:32] local.INFO: Processing buffer {"connection_id":137375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:48:32] local.INFO: IMEI packet received {"connection_id":137375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":137375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:48:37] local.INFO: TCP Data received {"connection_id":137375,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:48:37] local.INFO: Processing buffer {"connection_id":137375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:48:37] local.INFO: IMEI packet received {"connection_id":137375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":137375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:48:38] local.INFO: TCP Data received {"connection_id":137375,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:48:38] local.INFO: Processing buffer {"connection_id":137375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:48:38] local.INFO: Packet analysis {"connection_id":137375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:48:38] local.INFO: Extracted packet for processing {"connection_id":137375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:48:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814238464001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:48: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-07-19 08:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784430920000,"timestamp_ms":1784430920000,"timestamp_seconds":1784430920,"priority":1,"record_length":96,"hex_timestamp":"0000019f785f0140"} 
[2026-07-19 08:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 08:48:38] 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-07-19 08:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:48: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-07-19 08:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814238464001,"66":25647,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814238464001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:48:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:48:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814238464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":137375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:48:38] local.INFO: GPS data processed {"connection_id":137375,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:48:38] local.INFO: Acknowledgment sent {"connection_id":137375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:48:56] local.INFO: TCP Data received {"connection_id":138785,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7860f158012d7a414005da77a0000600ac28..."} 
[2026-07-19 08:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7860f158012d7a414005da77a0000600ac28..."} 
[2026-07-19 08:48:56] local.INFO: Processing buffer {"connection_id":138785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7860f158012d7a414005da77a0000600ac28..."} 
[2026-07-19 08:48:56] local.INFO: Packet analysis {"connection_id":138785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7860"} 
[2026-07-19 08:48:56] local.INFO: Extracted packet for processing {"connection_id":138785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7860"} 
[2026-07-19 08:48:56] local.INFO: GPS Element Parsed {"raw_longitude":762986816,"raw_latitude":98203552,"longitude_deg":76.2986816,"latitude_deg":9.8203552,"altitude":6,"angle":172,"satellites":40,"speed":2,"hex_longitude":"2d7a4140","hex_latitude":"05da77a0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814342656001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181481632825344,"note":"Value kept but may cause issues"} 
[2026-07-19 08:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809463108742117376,"note":"Value kept but may cause issues"} 
[2026-07-19 08:48: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-07-19 08:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784431047000,"timestamp_ms":1784431047000,"timestamp_seconds":1784431047,"priority":1,"record_length":96,"hex_timestamp":"0000019f7860f158"} 
[2026-07-19 08:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:48: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-07-19 08:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 08:48:56] 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-07-19 08: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-07-19 08:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":138785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":138785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":138785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814342656001,"66":13613,"229":206,"85":15104,"24":2,"16":108181481632825344,"45":8809463108742117376},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814342656001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:48:56] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:48:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181481632825344,"km_value":108181481632825.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809463108742117376,"description":"Unknown IO ID 45"} 
[2026-07-19 08:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814342656001,"power":13613,"unknown_229":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8809463108742117376}} 
[2026-07-19 08:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":138785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:48:56] local.INFO: GPS data processed {"connection_id":138785,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:48:56] local.INFO: Acknowledgment sent {"connection_id":138785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:49:09] local.INFO: TCP Data received {"connection_id":137375,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:49:09] local.INFO: Processing buffer {"connection_id":137375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:49:09] local.INFO: Packet analysis {"connection_id":137375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:49:09] local.INFO: Extracted packet for processing {"connection_id":137375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814238464001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:49: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-07-19 08:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784430920000,"timestamp_ms":1784430920000,"timestamp_seconds":1784430920,"priority":1,"record_length":96,"hex_timestamp":"0000019f785f0140"} 
[2026-07-19 08:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 08:49: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-07-19 08: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-07-19 08:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:49: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-07-19 08:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814238464001,"66":25647,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814238464001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:49:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814238464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":137375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:49:09] local.INFO: GPS data processed {"connection_id":137375,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:49:09] local.INFO: Acknowledgment sent {"connection_id":137375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:49:19] local.INFO: TCP Data received {"connection_id":137376,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:49:19] local.INFO: Processing buffer {"connection_id":137376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:49:19] local.INFO: IMEI packet received {"connection_id":137376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":137376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:49:24] local.INFO: TCP Data received {"connection_id":137376,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:49:24] local.INFO: Processing buffer {"connection_id":137376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:49:24] local.INFO: IMEI packet received {"connection_id":137376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":137376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:49:25] local.INFO: TCP Data received {"connection_id":137376,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f78614360012d7a414005da76a0000600ac28..."} 
[2026-07-19 08:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78614360012d7a414005da76a0000600ac28..."} 
[2026-07-19 08:49:25] local.INFO: Processing buffer {"connection_id":137376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78614360012d7a414005da76a0000600ac28..."} 
[2026-07-19 08:49:25] local.INFO: Packet analysis {"connection_id":137376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7861"} 
[2026-07-19 08:49:25] local.INFO: Extracted packet for processing {"connection_id":137376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7861"} 
[2026-07-19 08:49:25] local.INFO: GPS Element Parsed {"raw_longitude":762986816,"raw_latitude":98203296,"longitude_deg":76.2986816,"latitude_deg":9.8203296,"altitude":6,"angle":172,"satellites":40,"speed":0,"hex_longitude":"2d7a4140","hex_latitude":"05da76a0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814348032001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 08:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809392739997687808,"note":"Value kept but may cause issues"} 
[2026-07-19 08:49: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-07-19 08:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784431068000,"timestamp_ms":1784431068000,"timestamp_seconds":1784431068,"priority":1,"record_length":96,"hex_timestamp":"0000019f78614360"} 
[2026-07-19 08:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:49: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-07-19 08: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":45,"data_length":795,"current_offset":136} 
[2026-07-19 08:49:25] 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-07-19 08: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-07-19 08:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":137376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":137376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":137376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814348032001,"66":13363,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809392739997687808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814348032001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:49:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:49:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809392739997687808,"description":"Unknown IO ID 45"} 
[2026-07-19 08:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814348032001,"power":13363,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809392739997687808}} 
[2026-07-19 08:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":137376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:49:25] local.INFO: GPS data processed {"connection_id":137376,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:49:25] local.INFO: Acknowledgment sent {"connection_id":137376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:49:31] local.INFO: TCP Data received {"connection_id":136436,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:49:31] local.INFO: Processing buffer {"connection_id":136436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:49:31] local.INFO: IMEI packet received {"connection_id":136436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":136436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:49:37] local.INFO: TCP Data received {"connection_id":136436,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:49:37] local.INFO: Processing buffer {"connection_id":136436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:49:37] local.INFO: IMEI packet received {"connection_id":136436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":136436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:49:38] local.INFO: TCP Data received {"connection_id":136436,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:49:38] local.INFO: Processing buffer {"connection_id":136436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:49:38] local.INFO: Packet analysis {"connection_id":136436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:49:38] local.INFO: Extracted packet for processing {"connection_id":136436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:49:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814238464001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:49: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-07-19 08:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784430920000,"timestamp_ms":1784430920000,"timestamp_seconds":1784430920,"priority":1,"record_length":96,"hex_timestamp":"0000019f785f0140"} 
[2026-07-19 08:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 08:49:38] 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-07-19 08: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-07-19 08:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:49: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-07-19 08:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814238464001,"66":25647,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814238464001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:49:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:49:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814238464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":136436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:49:38] local.INFO: GPS data processed {"connection_id":136436,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:49:38] local.INFO: Acknowledgment sent {"connection_id":136436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:49:56] local.INFO: TCP Data received {"connection_id":137376,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f78619568012d7a414005da76a0000600ac27..."} 
[2026-07-19 08:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78619568012d7a414005da76a0000600ac27..."} 
[2026-07-19 08:49:56] local.INFO: Processing buffer {"connection_id":137376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78619568012d7a414005da76a0000600ac27..."} 
[2026-07-19 08:49:56] local.INFO: Packet analysis {"connection_id":137376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7861"} 
[2026-07-19 08:49:56] local.INFO: Extracted packet for processing {"connection_id":137376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7861"} 
[2026-07-19 08:49:56] local.INFO: GPS Element Parsed {"raw_longitude":762986816,"raw_latitude":98203296,"longitude_deg":76.2986816,"latitude_deg":9.8203296,"altitude":6,"angle":172,"satellites":39,"speed":0,"hex_longitude":"2d7a4140","hex_latitude":"05da76a0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814353408001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 08:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809392739997622272,"note":"Value kept but may cause issues"} 
[2026-07-19 08:49: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-07-19 08:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784431089000,"timestamp_ms":1784431089000,"timestamp_seconds":1784431089,"priority":1,"record_length":96,"hex_timestamp":"0000019f78619568"} 
[2026-07-19 08:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:49: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-07-19 08: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":51,"data_length":795,"current_offset":136} 
[2026-07-19 08:49: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-07-19 08: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-07-19 08:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814353408001,"66":13319,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809392739997622272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814353408001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:49:56] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:49:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809392739997622272,"description":"Unknown IO ID 45"} 
[2026-07-19 08:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814353408001,"power":13319,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809392739997622272}} 
[2026-07-19 08:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":137376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:49:56] local.INFO: GPS data processed {"connection_id":137376,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:49:56] local.INFO: Acknowledgment sent {"connection_id":137376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:50:09] local.INFO: TCP Data received {"connection_id":136436,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:50:09] local.INFO: Processing buffer {"connection_id":136436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:50:09] local.INFO: Packet analysis {"connection_id":136436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:50:09] local.INFO: Extracted packet for processing {"connection_id":136436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814238464001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:50: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-07-19 08:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784430920000,"timestamp_ms":1784430920000,"timestamp_seconds":1784430920,"priority":1,"record_length":96,"hex_timestamp":"0000019f785f0140"} 
[2026-07-19 08:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 08:50: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-07-19 08: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-07-19 08:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:50: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-07-19 08:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814238464001,"66":25647,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814238464001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:50:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814238464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":136436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:50:09] local.INFO: GPS data processed {"connection_id":136436,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:50:09] local.INFO: Acknowledgment sent {"connection_id":136436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:50:24] local.INFO: TCP Data received {"connection_id":136437,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:50:24] local.INFO: Processing buffer {"connection_id":136437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:50:24] local.INFO: IMEI packet received {"connection_id":136437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":136437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:50:29] local.INFO: TCP Data received {"connection_id":136437,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:50:29] local.INFO: Processing buffer {"connection_id":136437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:50:29] local.INFO: IMEI packet received {"connection_id":136437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":136437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:50:30] local.INFO: TCP Data received {"connection_id":136437,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f78619950012d7a414005da76a0000600ac27..."} 
[2026-07-19 08:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78619950012d7a414005da76a0000600ac27..."} 
[2026-07-19 08:50:30] local.INFO: Processing buffer {"connection_id":136437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78619950012d7a414005da76a0000600ac27..."} 
[2026-07-19 08:50:30] local.INFO: Packet analysis {"connection_id":136437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7861"} 
[2026-07-19 08:50:30] local.INFO: Extracted packet for processing {"connection_id":136437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7861"} 
[2026-07-19 08:50:30] local.INFO: GPS Element Parsed {"raw_longitude":762986816,"raw_latitude":98203296,"longitude_deg":76.2986816,"latitude_deg":9.8203296,"altitude":6,"angle":172,"satellites":39,"speed":0,"hex_longitude":"2d7a4140","hex_latitude":"05da76a0","is_valid_coordinates":true} 
[2026-07-19 08:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814358784001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 08:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809392739997622272,"note":"Value kept but may cause issues"} 
[2026-07-19 08:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 08:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784431090000,"timestamp_ms":1784431090000,"timestamp_seconds":1784431090,"priority":1,"record_length":96,"hex_timestamp":"0000019f78619950"} 
[2026-07-19 08:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:50: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-07-19 08:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-19 08:50:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 08:50:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-19 08:50:30] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-6532471233721523200,"note":"Value kept but may cause issues"} 
[2026-07-19 08:50:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2816803022,"corrected_to":0} 
[2026-07-19 08:50:30] local.WARNING: Large IO value detected {"io_id":59,"raw_value":3221609121,"note":"Value kept but may cause issues"} 
[2026-07-19 08:50:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3668133888,"note":"Value kept but may cause issues"} 
[2026-07-19 08:50:30] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57886972228556091,"note":"Value kept but may cause issues"} 
[2026-07-19 08:50:30] local.WARNING: Large IO value detected {"io_id":95,"raw_value":-1468172183687020539,"note":"Value kept but may cause issues"} 
[2026-07-19 08:50:30] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,229,85,24,241,157,16,86,159,67,45,64,118,6,40,10,66,119,128,1,240,46,227,120,218,4,113,205,255,59,72,38,239,52,2,5,7,95],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2816803022,"validated":0}]} 
[2026-07-19 08:50:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432534847731269632,"timestamp_seconds":432534847731269.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 08:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":136437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":136437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":136437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814358784001,"66":13363,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809392739997622272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814358784001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:50:30] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:50:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809392739997622272,"description":"Unknown IO ID 45"} 
[2026-07-19 08:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814358784001,"power":13363,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809392739997622272}} 
[2026-07-19 08:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":136437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:50:30] local.INFO: GPS data processed {"connection_id":136437,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:50:30] local.INFO: Acknowledgment sent {"connection_id":136437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:50:32] local.INFO: TCP Data received {"connection_id":138787,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:50:32] local.INFO: Processing buffer {"connection_id":138787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:50:32] local.INFO: IMEI packet received {"connection_id":138787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":138787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:50:34] local.INFO: TCP Data received {"connection_id":136437,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f78619950012d7a414005da76a0000600ac27..."} 
[2026-07-19 08:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78619950012d7a414005da76a0000600ac27..."} 
[2026-07-19 08:50:34] local.INFO: Processing buffer {"connection_id":136437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78619950012d7a414005da76a0000600ac27..."} 
[2026-07-19 08:50:34] local.INFO: Packet analysis {"connection_id":136437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7861"} 
[2026-07-19 08:50:34] local.INFO: Extracted packet for processing {"connection_id":136437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7861"} 
[2026-07-19 08:50:34] local.INFO: GPS Element Parsed {"raw_longitude":762986816,"raw_latitude":98203296,"longitude_deg":76.2986816,"latitude_deg":9.8203296,"altitude":6,"angle":172,"satellites":39,"speed":0,"hex_longitude":"2d7a4140","hex_latitude":"05da76a0","is_valid_coordinates":true} 
[2026-07-19 08:50:34] 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-07-19 08:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814359040001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 08:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809392739997622272,"note":"Value kept but may cause issues"} 
[2026-07-19 08:50: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-07-19 08:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784431090000,"timestamp_ms":1784431090000,"timestamp_seconds":1784431090,"priority":1,"record_length":96,"hex_timestamp":"0000019f78619950"} 
[2026-07-19 08:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 08:50:34] 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-07-19 08: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-07-19 08:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":136437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":136437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":136437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814359040001,"66":13363,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809392739997622272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814359040001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:50:34] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:50:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809392739997622272,"description":"Unknown IO ID 45"} 
[2026-07-19 08:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814359040001,"power":13363,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809392739997622272}} 
[2026-07-19 08:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":136437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:50:34] local.INFO: GPS data processed {"connection_id":136437,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:50:34] local.INFO: Acknowledgment sent {"connection_id":136437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:50:37] local.INFO: TCP Data received {"connection_id":138787,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:50:37] local.INFO: Processing buffer {"connection_id":138787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:50:37] local.INFO: IMEI packet received {"connection_id":138787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":138787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:50:39] local.INFO: TCP Data received {"connection_id":138787,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:50:39] local.INFO: Processing buffer {"connection_id":138787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785f0140012d34c48006aa3da8001800aa2a..."} 
[2026-07-19 08:50:39] local.INFO: Packet analysis {"connection_id":138787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:50:39] local.INFO: Extracted packet for processing {"connection_id":138787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 08:50:39] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814238464001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08: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-07-19 08:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784430920000,"timestamp_ms":1784430920000,"timestamp_seconds":1784430920,"priority":1,"record_length":96,"hex_timestamp":"0000019f785f0140"} 
[2026-07-19 08:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 08:50: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-07-19 08: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-07-19 08:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":138787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":138787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":138787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:50: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-07-19 08:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814238464001,"66":25647,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814238464001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:50:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:50:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814238464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":138787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:50:39] local.INFO: GPS data processed {"connection_id":138787,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:50:39] local.INFO: Acknowledgment sent {"connection_id":138787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:51:12] local.INFO: TCP Data received {"connection_id":138787,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:51:12] local.INFO: Processing buffer {"connection_id":138787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:51:12] local.INFO: Packet analysis {"connection_id":138787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7863"} 
[2026-07-19 08:51:12] local.INFO: Extracted packet for processing {"connection_id":138787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7863"} 
[2026-07-19 08:51:12] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814315520001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08: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-07-19 08:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784431221000,"timestamp_ms":1784431221000,"timestamp_seconds":1784431221,"priority":1,"record_length":96,"hex_timestamp":"0000019f78639908"} 
[2026-07-19 08:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 08:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":138787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":138787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":138787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:51: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-07-19 08:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814315520001,"66":25625,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814315520001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:51:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:51:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814315520001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":138787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:51:12] local.INFO: GPS data processed {"connection_id":138787,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:51:12] local.INFO: Acknowledgment sent {"connection_id":138787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:51:19] local.INFO: TCP Data received {"connection_id":137377,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:51:19] local.INFO: Processing buffer {"connection_id":137377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:51:19] local.INFO: IMEI packet received {"connection_id":137377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":137377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:51:24] local.INFO: TCP Data received {"connection_id":137377,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:51:24] local.INFO: Processing buffer {"connection_id":137377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:51:24] local.INFO: IMEI packet received {"connection_id":137377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":137377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:51:25] local.INFO: TCP Data received {"connection_id":137377,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f78619950012d7a414005da76a0000600ac27..."} 
[2026-07-19 08:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78619950012d7a414005da76a0000600ac27..."} 
[2026-07-19 08:51:25] local.INFO: Processing buffer {"connection_id":137377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78619950012d7a414005da76a0000600ac27..."} 
[2026-07-19 08:51:25] local.INFO: Packet analysis {"connection_id":137377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7861"} 
[2026-07-19 08:51:25] local.INFO: Extracted packet for processing {"connection_id":137377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7861"} 
[2026-07-19 08:51:25] local.INFO: GPS Element Parsed {"raw_longitude":762986816,"raw_latitude":98203296,"longitude_deg":76.2986816,"latitude_deg":9.8203296,"altitude":6,"angle":172,"satellites":39,"speed":0,"hex_longitude":"2d7a4140","hex_latitude":"05da76a0","is_valid_coordinates":true} 
[2026-07-19 08:51: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-07-19 08:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814359040001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 08:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809392739997622272,"note":"Value kept but may cause issues"} 
[2026-07-19 08:51: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-07-19 08:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784431090000,"timestamp_ms":1784431090000,"timestamp_seconds":1784431090,"priority":1,"record_length":96,"hex_timestamp":"0000019f78619950"} 
[2026-07-19 08:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 08:51: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-07-19 08:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":137377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":137377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":137377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814359040001,"66":13363,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809392739997622272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814359040001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:51:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:51:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809392739997622272,"description":"Unknown IO ID 45"} 
[2026-07-19 08:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814359040001,"power":13363,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809392739997622272}} 
[2026-07-19 08:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":137377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:51:25] local.INFO: GPS data processed {"connection_id":137377,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:51:25] local.INFO: Acknowledgment sent {"connection_id":137377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:51:32] local.INFO: TCP Data received {"connection_id":136440,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:51:32] local.INFO: Processing buffer {"connection_id":136440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:51:32] local.INFO: IMEI packet received {"connection_id":136440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":136440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:51:37] local.INFO: TCP Data received {"connection_id":136440,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:51:37] local.INFO: Processing buffer {"connection_id":136440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:51:37] local.INFO: IMEI packet received {"connection_id":136440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":136440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:51:38] local.INFO: TCP Data received {"connection_id":136440,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:51:38] local.INFO: Processing buffer {"connection_id":136440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:51:38] local.INFO: Packet analysis {"connection_id":136440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7863"} 
[2026-07-19 08:51:38] local.INFO: Extracted packet for processing {"connection_id":136440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7863"} 
[2026-07-19 08:51:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814315520001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:51: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-07-19 08:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784431221000,"timestamp_ms":1784431221000,"timestamp_seconds":1784431221,"priority":1,"record_length":96,"hex_timestamp":"0000019f78639908"} 
[2026-07-19 08:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 08:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:51: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-07-19 08:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814315520001,"66":25625,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814315520001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:51:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:51:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814315520001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":136440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:51:38] local.INFO: GPS data processed {"connection_id":136440,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:51:38] local.INFO: Acknowledgment sent {"connection_id":136440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:51:52] local.INFO: TCP Data received {"connection_id":136439,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:51:52] local.INFO: Processing buffer {"connection_id":136439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:51:52] local.INFO: IMEI packet received {"connection_id":136439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 08:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":136439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:51:56] local.INFO: TCP Data received {"connection_id":137377,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f78619950012d7a414005da76a0000600ac27..."} 
[2026-07-19 08:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78619950012d7a414005da76a0000600ac27..."} 
[2026-07-19 08:51:56] local.INFO: Processing buffer {"connection_id":137377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78619950012d7a414005da76a0000600ac27..."} 
[2026-07-19 08:51:56] local.INFO: Packet analysis {"connection_id":137377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7861"} 
[2026-07-19 08:51:56] local.INFO: Extracted packet for processing {"connection_id":137377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7861"} 
[2026-07-19 08:51:56] local.INFO: GPS Element Parsed {"raw_longitude":762986816,"raw_latitude":98203296,"longitude_deg":76.2986816,"latitude_deg":9.8203296,"altitude":6,"angle":172,"satellites":39,"speed":0,"hex_longitude":"2d7a4140","hex_latitude":"05da76a0","is_valid_coordinates":true} 
[2026-07-19 08:51: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-07-19 08:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814359040001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 08:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809392739997622272,"note":"Value kept but may cause issues"} 
[2026-07-19 08:51: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-07-19 08:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784431090000,"timestamp_ms":1784431090000,"timestamp_seconds":1784431090,"priority":1,"record_length":96,"hex_timestamp":"0000019f78619950"} 
[2026-07-19 08:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":51,"data_length":795,"current_offset":136} 
[2026-07-19 08:51: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-07-19 08: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-07-19 08:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814359040001,"66":13363,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809392739997622272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814359040001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:51:56] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:51:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809392739997622272,"description":"Unknown IO ID 45"} 
[2026-07-19 08:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814359040001,"power":13363,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809392739997622272}} 
[2026-07-19 08:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":137377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:51:56] local.INFO: GPS data processed {"connection_id":137377,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:51:56] local.INFO: Acknowledgment sent {"connection_id":137377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:52:09] local.INFO: TCP Data received {"connection_id":136440,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:52:09] local.INFO: Processing buffer {"connection_id":136440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:52:09] local.INFO: Packet analysis {"connection_id":136440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7863"} 
[2026-07-19 08:52:09] local.INFO: Extracted packet for processing {"connection_id":136440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7863"} 
[2026-07-19 08:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814315520001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:52: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-07-19 08:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784431221000,"timestamp_ms":1784431221000,"timestamp_seconds":1784431221,"priority":1,"record_length":96,"hex_timestamp":"0000019f78639908"} 
[2026-07-19 08:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 08:52: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-07-19 08:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:52: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-07-19 08:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814315520001,"66":25625,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814315520001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:52:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814315520001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":136440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:52:09] local.INFO: GPS data processed {"connection_id":136440,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:52:09] local.INFO: Acknowledgment sent {"connection_id":136440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:52:19] local.INFO: TCP Data received {"connection_id":137378,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:52:19] local.INFO: Processing buffer {"connection_id":137378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:52:19] local.INFO: IMEI packet received {"connection_id":137378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":137378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:52:24] local.INFO: TCP Data received {"connection_id":137378,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:52:24] local.INFO: Processing buffer {"connection_id":137378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:52:24] local.INFO: IMEI packet received {"connection_id":137378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":137378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:52:25] local.INFO: TCP Data received {"connection_id":137378,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f78619950012d7a414005da76a0000600ac27..."} 
[2026-07-19 08:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78619950012d7a414005da76a0000600ac27..."} 
[2026-07-19 08:52:25] local.INFO: Processing buffer {"connection_id":137378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78619950012d7a414005da76a0000600ac27..."} 
[2026-07-19 08:52:25] local.INFO: Packet analysis {"connection_id":137378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7861"} 
[2026-07-19 08:52:25] local.INFO: Extracted packet for processing {"connection_id":137378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7861"} 
[2026-07-19 08:52:25] local.INFO: GPS Element Parsed {"raw_longitude":762986816,"raw_latitude":98203296,"longitude_deg":76.2986816,"latitude_deg":9.8203296,"altitude":6,"angle":172,"satellites":39,"speed":0,"hex_longitude":"2d7a4140","hex_latitude":"05da76a0","is_valid_coordinates":true} 
[2026-07-19 08:52: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-07-19 08:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814359040001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 08:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809392739997622272,"note":"Value kept but may cause issues"} 
[2026-07-19 08:52: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-07-19 08:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784431090000,"timestamp_ms":1784431090000,"timestamp_seconds":1784431090,"priority":1,"record_length":96,"hex_timestamp":"0000019f78619950"} 
[2026-07-19 08:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 08:52: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-07-19 08:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":137378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":137378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":137378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814359040001,"66":13363,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809392739997622272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814359040001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:52:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:52:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809392739997622272,"description":"Unknown IO ID 45"} 
[2026-07-19 08:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814359040001,"power":13363,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809392739997622272}} 
[2026-07-19 08:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":137378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:52:25] local.INFO: GPS data processed {"connection_id":137378,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:52:25] local.INFO: Acknowledgment sent {"connection_id":137378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:52:27] local.INFO: TCP Data received {"connection_id":138788,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:52:27] local.INFO: Processing buffer {"connection_id":138788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:52:27] local.INFO: IMEI packet received {"connection_id":138788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 08:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":138788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:52:32] local.INFO: TCP Data received {"connection_id":136441,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:52:32] local.INFO: Processing buffer {"connection_id":136441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:52:32] local.INFO: IMEI packet received {"connection_id":136441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":136441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:52:37] local.INFO: TCP Data received {"connection_id":136441,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:52:37] local.INFO: Processing buffer {"connection_id":136441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:52:37] local.INFO: IMEI packet received {"connection_id":136441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":136441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:52:38] local.INFO: TCP Data received {"connection_id":136441,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:52:38] local.INFO: Processing buffer {"connection_id":136441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:52:38] local.INFO: Packet analysis {"connection_id":136441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7863"} 
[2026-07-19 08:52:38] local.INFO: Extracted packet for processing {"connection_id":136441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7863"} 
[2026-07-19 08:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814315520001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:52: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-07-19 08:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784431221000,"timestamp_ms":1784431221000,"timestamp_seconds":1784431221,"priority":1,"record_length":96,"hex_timestamp":"0000019f78639908"} 
[2026-07-19 08:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 08:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:52: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-07-19 08:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814315520001,"66":25625,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814315520001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:52:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:52:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814315520001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":136441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:52:38] local.INFO: GPS data processed {"connection_id":136441,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:52:38] local.INFO: Acknowledgment sent {"connection_id":136441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:52:56] local.INFO: TCP Data received {"connection_id":137378,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f78619950012d7a414005da76a0000600ac27..."} 
[2026-07-19 08:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78619950012d7a414005da76a0000600ac27..."} 
[2026-07-19 08:52:56] local.INFO: Processing buffer {"connection_id":137378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78619950012d7a414005da76a0000600ac27..."} 
[2026-07-19 08:52:56] local.INFO: Packet analysis {"connection_id":137378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7861"} 
[2026-07-19 08:52:56] local.INFO: Extracted packet for processing {"connection_id":137378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7861"} 
[2026-07-19 08:52:56] local.INFO: GPS Element Parsed {"raw_longitude":762986816,"raw_latitude":98203296,"longitude_deg":76.2986816,"latitude_deg":9.8203296,"altitude":6,"angle":172,"satellites":39,"speed":0,"hex_longitude":"2d7a4140","hex_latitude":"05da76a0","is_valid_coordinates":true} 
[2026-07-19 08:52: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-07-19 08:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814359040001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 08:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809392739997622272,"note":"Value kept but may cause issues"} 
[2026-07-19 08:52: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-07-19 08:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784431090000,"timestamp_ms":1784431090000,"timestamp_seconds":1784431090,"priority":1,"record_length":96,"hex_timestamp":"0000019f78619950"} 
[2026-07-19 08:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 08:52: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-07-19 08: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-07-19 08:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814359040001,"66":13363,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809392739997622272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814359040001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:52:56] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:52:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809392739997622272,"description":"Unknown IO ID 45"} 
[2026-07-19 08:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814359040001,"power":13363,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809392739997622272}} 
[2026-07-19 08:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":137378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511309,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:52:56] local.INFO: GPS data processed {"connection_id":137378,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:52:56] local.INFO: Acknowledgment sent {"connection_id":137378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:53:09] local.INFO: TCP Data received {"connection_id":136441,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:53:10] local.INFO: Processing buffer {"connection_id":136441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:53:10] local.INFO: Packet analysis {"connection_id":136441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7863"} 
[2026-07-19 08:53:10] local.INFO: Extracted packet for processing {"connection_id":136441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7863"} 
[2026-07-19 08:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814315520001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:53: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-07-19 08:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784431221000,"timestamp_ms":1784431221000,"timestamp_seconds":1784431221,"priority":1,"record_length":96,"hex_timestamp":"0000019f78639908"} 
[2026-07-19 08:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 08:53: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-07-19 08:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:53: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-07-19 08:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814315520001,"66":25625,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814315520001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:53:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814315520001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":136441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:53:10] local.INFO: GPS data processed {"connection_id":136441,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:53:10] local.INFO: Acknowledgment sent {"connection_id":136441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:53:19] local.INFO: TCP Data received {"connection_id":136318,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:53:19] local.INFO: Processing buffer {"connection_id":136318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:53:19] local.INFO: IMEI packet received {"connection_id":136318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":136318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:53:24] local.INFO: TCP Data received {"connection_id":136318,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:53:24] local.INFO: Processing buffer {"connection_id":136318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:53:24] local.INFO: IMEI packet received {"connection_id":136318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":136318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:53:24] local.INFO: TCP Data received {"connection_id":136318,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:53:24] local.INFO: Processing buffer {"connection_id":136318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:53:24] local.INFO: Packet analysis {"connection_id":136318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7866"} 
[2026-07-19 08:53:24] local.INFO: Extracted packet for processing {"connection_id":136318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7866"} 
[2026-07-19 08:53:24] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 08:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814359040001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 08:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809392739997622272,"note":"Value kept but may cause issues"} 
[2026-07-19 08:53:24] 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-07-19 08:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784431392000,"timestamp_ms":1784431392000,"timestamp_seconds":1784431392,"priority":1,"record_length":96,"hex_timestamp":"0000019f78663500"} 
[2026-07-19 08:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 08:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":136318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":136318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":136318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814359040001,"66":12939,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809392739997622272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814359040001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:53:24] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:53:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809392739997622272,"description":"Unknown IO ID 45"} 
[2026-07-19 08:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814359040001,"power":12939,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809392739997622272}} 
[2026-07-19 08:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":136318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:53:24] local.INFO: GPS data processed {"connection_id":136318,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:53:24] local.INFO: Acknowledgment sent {"connection_id":136318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:53:32] local.INFO: TCP Data received {"connection_id":136319,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:53:32] local.INFO: Processing buffer {"connection_id":136319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:53:32] local.INFO: IMEI packet received {"connection_id":136319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":136319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:53:37] local.INFO: TCP Data received {"connection_id":136319,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:53:37] local.INFO: Processing buffer {"connection_id":136319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:53:37] local.INFO: IMEI packet received {"connection_id":136319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":136319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:53:38] local.INFO: TCP Data received {"connection_id":136319,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:53:38] local.INFO: Processing buffer {"connection_id":136319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:53:38] local.INFO: Packet analysis {"connection_id":136319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7863"} 
[2026-07-19 08:53:38] local.INFO: Extracted packet for processing {"connection_id":136319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7863"} 
[2026-07-19 08:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814315520001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:53: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-07-19 08:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784431221000,"timestamp_ms":1784431221000,"timestamp_seconds":1784431221,"priority":1,"record_length":96,"hex_timestamp":"0000019f78639908"} 
[2026-07-19 08:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":47,"data_length":795,"current_offset":136} 
[2026-07-19 08:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:53: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-07-19 08:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814315520001,"66":25625,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814315520001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814315520001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":136319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:53:38] local.INFO: GPS data processed {"connection_id":136319,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:53:38] local.INFO: Acknowledgment sent {"connection_id":136319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:53:55] local.INFO: TCP Data received {"connection_id":136318,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:53:55] local.INFO: Processing buffer {"connection_id":136318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:53:55] local.INFO: Packet analysis {"connection_id":136318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7866"} 
[2026-07-19 08:53:55] local.INFO: Extracted packet for processing {"connection_id":136318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7866"} 
[2026-07-19 08:53:55] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814359040001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 08:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809392739997622272,"note":"Value kept but may cause issues"} 
[2026-07-19 08:53:55] 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-07-19 08:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784431392000,"timestamp_ms":1784431392000,"timestamp_seconds":1784431392,"priority":1,"record_length":96,"hex_timestamp":"0000019f78663500"} 
[2026-07-19 08:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 08:53:55] 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-07-19 08: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-07-19 08:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":136318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":136318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":136318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814359040001,"66":12939,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809392739997622272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814359040001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:53:55] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:53:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809392739997622272,"description":"Unknown IO ID 45"} 
[2026-07-19 08:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814359040001,"power":12939,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809392739997622272}} 
[2026-07-19 08:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":136318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:53:55] local.INFO: GPS data processed {"connection_id":136318,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:53:55] local.INFO: Acknowledgment sent {"connection_id":136318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:54:09] local.INFO: TCP Data received {"connection_id":136319,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:54:09] local.INFO: Processing buffer {"connection_id":136319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:54:09] local.INFO: Packet analysis {"connection_id":136319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7863"} 
[2026-07-19 08:54:09] local.INFO: Extracted packet for processing {"connection_id":136319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7863"} 
[2026-07-19 08:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814315520001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08: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-07-19 08:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784431221000,"timestamp_ms":1784431221000,"timestamp_seconds":1784431221,"priority":1,"record_length":96,"hex_timestamp":"0000019f78639908"} 
[2026-07-19 08:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":47,"data_length":795,"current_offset":136} 
[2026-07-19 08:54: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-07-19 08: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-07-19 08:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:54: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-07-19 08:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814315520001,"66":25625,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814315520001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814315520001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":136319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:54:09] local.INFO: GPS data processed {"connection_id":136319,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:54:09] local.INFO: Acknowledgment sent {"connection_id":136319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:54:19] local.INFO: TCP Data received {"connection_id":138790,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:54:19] local.INFO: Processing buffer {"connection_id":138790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:54:19] local.INFO: IMEI packet received {"connection_id":138790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":138790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:54:24] local.INFO: TCP Data received {"connection_id":138790,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:54:24] local.INFO: Processing buffer {"connection_id":138790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:54:24] local.INFO: IMEI packet received {"connection_id":138790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":138790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:54:25] local.INFO: TCP Data received {"connection_id":138790,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:54:25] local.INFO: Processing buffer {"connection_id":138790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:54:25] local.INFO: Packet analysis {"connection_id":138790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7866"} 
[2026-07-19 08:54:25] local.INFO: Extracted packet for processing {"connection_id":138790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7866"} 
[2026-07-19 08:54:25] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814359040001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 08:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809392739997622272,"note":"Value kept but may cause issues"} 
[2026-07-19 08:54: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-07-19 08:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784431392000,"timestamp_ms":1784431392000,"timestamp_seconds":1784431392,"priority":1,"record_length":96,"hex_timestamp":"0000019f78663500"} 
[2026-07-19 08:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 08:54: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-07-19 08: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-07-19 08:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":138790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":138790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":138790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814359040001,"66":12939,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809392739997622272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814359040001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:54:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:54:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809392739997622272,"description":"Unknown IO ID 45"} 
[2026-07-19 08:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814359040001,"power":12939,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809392739997622272}} 
[2026-07-19 08:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":138790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:54:25] local.INFO: GPS data processed {"connection_id":138790,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:54:25] local.INFO: Acknowledgment sent {"connection_id":138790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:54:31] local.INFO: TCP Data received {"connection_id":138792,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:54:31] local.INFO: Processing buffer {"connection_id":138792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:54:31] local.INFO: IMEI packet received {"connection_id":138792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":138792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:54:37] local.INFO: TCP Data received {"connection_id":138792,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:54:37] local.INFO: Processing buffer {"connection_id":138792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:54:37] local.INFO: IMEI packet received {"connection_id":138792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":138792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:54:40] local.INFO: TCP Data received {"connection_id":138792,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:54:40] local.INFO: Processing buffer {"connection_id":138792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:54:40] local.INFO: Packet analysis {"connection_id":138792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7863"} 
[2026-07-19 08:54:40] local.INFO: Extracted packet for processing {"connection_id":138792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7863"} 
[2026-07-19 08:54:40] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814315520001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:54: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-07-19 08:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784431221000,"timestamp_ms":1784431221000,"timestamp_seconds":1784431221,"priority":1,"record_length":96,"hex_timestamp":"0000019f78639908"} 
[2026-07-19 08:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 08:54: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-07-19 08: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-07-19 08:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":138792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":138792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":138792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:54: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-07-19 08:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814315520001,"66":25625,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814315520001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:54:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:54:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814315520001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":138792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:54:40] local.INFO: GPS data processed {"connection_id":138792,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:54:40] local.INFO: Acknowledgment sent {"connection_id":138792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:54:56] local.INFO: TCP Data received {"connection_id":138790,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:54:56] local.INFO: Processing buffer {"connection_id":138790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:54:56] local.INFO: Packet analysis {"connection_id":138790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7866"} 
[2026-07-19 08:54:56] local.INFO: Extracted packet for processing {"connection_id":138790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7866"} 
[2026-07-19 08:54:56] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814359040001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 08:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809392739997622272,"note":"Value kept but may cause issues"} 
[2026-07-19 08:54: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-07-19 08:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784431392000,"timestamp_ms":1784431392000,"timestamp_seconds":1784431392,"priority":1,"record_length":96,"hex_timestamp":"0000019f78663500"} 
[2026-07-19 08:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 08:54: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-07-19 08: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-07-19 08:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":138790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":138790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":138790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814359040001,"66":12939,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809392739997622272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814359040001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:54:56] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:54:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809392739997622272,"description":"Unknown IO ID 45"} 
[2026-07-19 08:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814359040001,"power":12939,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809392739997622272}} 
[2026-07-19 08:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":138790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:54:56] local.INFO: GPS data processed {"connection_id":138790,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:54:56] local.INFO: Acknowledgment sent {"connection_id":138790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:55:11] local.INFO: TCP Data received {"connection_id":138792,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:55:11] local.INFO: Processing buffer {"connection_id":138792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:55:11] local.INFO: Packet analysis {"connection_id":138792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7863"} 
[2026-07-19 08:55:11] local.INFO: Extracted packet for processing {"connection_id":138792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7863"} 
[2026-07-19 08:55:11] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 08:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814315520001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:55: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-07-19 08:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784431221000,"timestamp_ms":1784431221000,"timestamp_seconds":1784431221,"priority":1,"record_length":96,"hex_timestamp":"0000019f78639908"} 
[2026-07-19 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-07-19 08:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 08:55: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-07-19 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-07-19 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-07-19 08:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":138792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":138792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":138792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:55: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-07-19 08:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814315520001,"66":25625,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814315520001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:55:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:55:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814315520001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":138792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:55:11] local.INFO: GPS data processed {"connection_id":138792,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:55:11] local.INFO: Acknowledgment sent {"connection_id":138792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:55:19] local.INFO: TCP Data received {"connection_id":137379,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:55:19] local.INFO: Processing buffer {"connection_id":137379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:55:19] local.INFO: IMEI packet received {"connection_id":137379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":137379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:55:24] local.INFO: TCP Data received {"connection_id":137379,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:55:24] local.INFO: Processing buffer {"connection_id":137379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:55:24] local.INFO: IMEI packet received {"connection_id":137379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":137379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:55:25] local.INFO: TCP Data received {"connection_id":137379,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:55:25] local.INFO: Processing buffer {"connection_id":137379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:55:25] local.INFO: Packet analysis {"connection_id":137379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7866"} 
[2026-07-19 08:55:25] local.INFO: Extracted packet for processing {"connection_id":137379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7866"} 
[2026-07-19 08:55:25] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814359040001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 08:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809392739997622272,"note":"Value kept but may cause issues"} 
[2026-07-19 08:55: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-07-19 08:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784431392000,"timestamp_ms":1784431392000,"timestamp_seconds":1784431392,"priority":1,"record_length":96,"hex_timestamp":"0000019f78663500"} 
[2026-07-19 08:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":51,"data_length":795,"current_offset":136} 
[2026-07-19 08:55: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-07-19 08: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-07-19 08:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":137379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":137379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":137379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814359040001,"66":12939,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809392739997622272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814359040001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:55:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:55:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809392739997622272,"description":"Unknown IO ID 45"} 
[2026-07-19 08:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814359040001,"power":12939,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809392739997622272}} 
[2026-07-19 08:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":137379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:55:25] local.INFO: GPS data processed {"connection_id":137379,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:55:25] local.INFO: Acknowledgment sent {"connection_id":137379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:55:32] local.INFO: TCP Data received {"connection_id":136442,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:55:32] local.INFO: Processing buffer {"connection_id":136442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:55:32] local.INFO: IMEI packet received {"connection_id":136442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":136442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:55:42] local.INFO: TCP Data received {"connection_id":136442,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:55:42] local.INFO: Processing buffer {"connection_id":136442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:55:42] local.INFO: IMEI packet received {"connection_id":136442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":136442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:55:43] local.INFO: TCP Data received {"connection_id":136442,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:55:43] local.INFO: Processing buffer {"connection_id":136442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78639908012d34c48006aa3da8001800aa29..."} 
[2026-07-19 08:55:43] local.INFO: Packet analysis {"connection_id":136442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7863"} 
[2026-07-19 08:55:43] local.INFO: Extracted packet for processing {"connection_id":136442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7863"} 
[2026-07-19 08:55:43] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814315520001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:55: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-07-19 08:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784431221000,"timestamp_ms":1784431221000,"timestamp_seconds":1784431221,"priority":1,"record_length":96,"hex_timestamp":"0000019f78639908"} 
[2026-07-19 08:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 08:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814315520001,"66":25625,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814315520001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:55:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:55:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814315520001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":136442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:55:43] local.INFO: GPS data processed {"connection_id":136442,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:55:43] local.INFO: Acknowledgment sent {"connection_id":136442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:55:56] local.INFO: TCP Data received {"connection_id":137379,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:55:56] local.INFO: Processing buffer {"connection_id":137379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:55:56] local.INFO: Packet analysis {"connection_id":137379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7866"} 
[2026-07-19 08:55:56] local.INFO: Extracted packet for processing {"connection_id":137379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7866"} 
[2026-07-19 08:55:56] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 08:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814359040001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 08:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809392739997622272,"note":"Value kept but may cause issues"} 
[2026-07-19 08:55: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-07-19 08:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784431392000,"timestamp_ms":1784431392000,"timestamp_seconds":1784431392,"priority":1,"record_length":96,"hex_timestamp":"0000019f78663500"} 
[2026-07-19 08:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 08:55: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-07-19 08:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814359040001,"66":12939,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809392739997622272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814359040001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:55:56] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:55:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809392739997622272,"description":"Unknown IO ID 45"} 
[2026-07-19 08:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814359040001,"power":12939,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809392739997622272}} 
[2026-07-19 08:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":137379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:55:56] local.INFO: GPS data processed {"connection_id":137379,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:55:56] local.INFO: Acknowledgment sent {"connection_id":137379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:56:14] local.INFO: TCP Data received {"connection_id":136442,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:56:14] local.INFO: Processing buffer {"connection_id":136442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:56:14] local.INFO: Packet analysis {"connection_id":136442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7868"} 
[2026-07-19 08:56:14] local.INFO: Extracted packet for processing {"connection_id":136442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7868"} 
[2026-07-19 08:56:14] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814392576001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:56: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-07-19 08:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784431522000,"timestamp_ms":1784431522000,"timestamp_seconds":1784431522,"priority":1,"record_length":96,"hex_timestamp":"0000019f786830d0"} 
[2026-07-19 08:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 08:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":136442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":136442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":136442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:56: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-07-19 08:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814392576001,"66":25615,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814392576001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:56:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:56:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814392576001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":136442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:56:14] local.INFO: GPS data processed {"connection_id":136442,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:56:14] local.INFO: Acknowledgment sent {"connection_id":136442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:56:19] local.INFO: TCP Data received {"connection_id":137381,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:56:19] local.INFO: Processing buffer {"connection_id":137381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:56:19] local.INFO: IMEI packet received {"connection_id":137381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":137381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:56:24] local.INFO: TCP Data received {"connection_id":137381,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:56:24] local.INFO: Processing buffer {"connection_id":137381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:56:24] local.INFO: IMEI packet received {"connection_id":137381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":137381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:56:25] local.INFO: TCP Data received {"connection_id":137381,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:56:25] local.INFO: Processing buffer {"connection_id":137381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:56:25] local.INFO: Packet analysis {"connection_id":137381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7866"} 
[2026-07-19 08:56:25] local.INFO: Extracted packet for processing {"connection_id":137381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7866"} 
[2026-07-19 08:56:25] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814359040001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 08:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809392739997622272,"note":"Value kept but may cause issues"} 
[2026-07-19 08:56: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-07-19 08:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784431392000,"timestamp_ms":1784431392000,"timestamp_seconds":1784431392,"priority":1,"record_length":96,"hex_timestamp":"0000019f78663500"} 
[2026-07-19 08:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":51,"data_length":795,"current_offset":136} 
[2026-07-19 08:56: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-07-19 08: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-07-19 08:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":137381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":137381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":137381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814359040001,"66":12939,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809392739997622272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814359040001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:56:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:56:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809392739997622272,"description":"Unknown IO ID 45"} 
[2026-07-19 08:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814359040001,"power":12939,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809392739997622272}} 
[2026-07-19 08:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":137381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:56:25] local.INFO: GPS data processed {"connection_id":137381,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:56:25] local.INFO: Acknowledgment sent {"connection_id":137381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:56:32] local.INFO: TCP Data received {"connection_id":136321,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:56:32] local.INFO: Processing buffer {"connection_id":136321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:56:32] local.INFO: IMEI packet received {"connection_id":136321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":136321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:56:37] local.INFO: TCP Data received {"connection_id":136321,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:56:37] local.INFO: Processing buffer {"connection_id":136321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:56:37] local.INFO: IMEI packet received {"connection_id":136321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":136321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:56:38] local.INFO: TCP Data received {"connection_id":136321,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:56:38] local.INFO: Processing buffer {"connection_id":136321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:56:38] local.INFO: Packet analysis {"connection_id":136321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7868"} 
[2026-07-19 08:56:38] local.INFO: Extracted packet for processing {"connection_id":136321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7868"} 
[2026-07-19 08:56:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814392576001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08: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-07-19 08:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784431522000,"timestamp_ms":1784431522000,"timestamp_seconds":1784431522,"priority":1,"record_length":96,"hex_timestamp":"0000019f786830d0"} 
[2026-07-19 08:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 08:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:56: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-07-19 08:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814392576001,"66":25615,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814392576001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:56:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:56:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814392576001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":136321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:56:38] local.INFO: GPS data processed {"connection_id":136321,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:56:38] local.INFO: Acknowledgment sent {"connection_id":136321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:56:56] local.INFO: TCP Data received {"connection_id":137381,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:56:56] local.INFO: Processing buffer {"connection_id":137381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:56:56] local.INFO: Packet analysis {"connection_id":137381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7866"} 
[2026-07-19 08:56:56] local.INFO: Extracted packet for processing {"connection_id":137381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7866"} 
[2026-07-19 08:56:56] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 08:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814359040001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 08:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809392739997622272,"note":"Value kept but may cause issues"} 
[2026-07-19 08:56: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-07-19 08:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784431392000,"timestamp_ms":1784431392000,"timestamp_seconds":1784431392,"priority":1,"record_length":96,"hex_timestamp":"0000019f78663500"} 
[2026-07-19 08:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 08:56: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-07-19 08:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814359040001,"66":12939,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809392739997622272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814359040001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:56:56] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:56:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809392739997622272,"description":"Unknown IO ID 45"} 
[2026-07-19 08:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814359040001,"power":12939,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809392739997622272}} 
[2026-07-19 08:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":137381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:56:56] local.INFO: GPS data processed {"connection_id":137381,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:56:56] local.INFO: Acknowledgment sent {"connection_id":137381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:57:09] local.INFO: TCP Data received {"connection_id":136321,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:57:09] local.INFO: Processing buffer {"connection_id":136321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:57:09] local.INFO: Packet analysis {"connection_id":136321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7868"} 
[2026-07-19 08:57:09] local.INFO: Extracted packet for processing {"connection_id":136321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7868"} 
[2026-07-19 08:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814392576001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:57: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-07-19 08:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784431522000,"timestamp_ms":1784431522000,"timestamp_seconds":1784431522,"priority":1,"record_length":96,"hex_timestamp":"0000019f786830d0"} 
[2026-07-19 08:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 08:57: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-07-19 08:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:57: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-07-19 08:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814392576001,"66":25615,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814392576001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:57:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814392576001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":136321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:57:09] local.INFO: GPS data processed {"connection_id":136321,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:57:09] local.INFO: Acknowledgment sent {"connection_id":136321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:57:19] local.INFO: TCP Data received {"connection_id":136443,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:57:19] local.INFO: Processing buffer {"connection_id":136443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:57:19] local.INFO: IMEI packet received {"connection_id":136443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 08:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":136443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:57:24] local.INFO: TCP Data received {"connection_id":136443,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:57:24] local.INFO: Processing buffer {"connection_id":136443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 08:57:24] local.INFO: IMEI packet received {"connection_id":136443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 08:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":136443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:57:25] local.INFO: TCP Data received {"connection_id":136443,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:57:25] local.INFO: Processing buffer {"connection_id":136443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:57:25] local.INFO: Packet analysis {"connection_id":136443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7866"} 
[2026-07-19 08:57:25] local.INFO: Extracted packet for processing {"connection_id":136443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7866"} 
[2026-07-19 08:57:25] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814359040001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 08:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809392739997622272,"note":"Value kept but may cause issues"} 
[2026-07-19 08:57: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-07-19 08:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784431392000,"timestamp_ms":1784431392000,"timestamp_seconds":1784431392,"priority":1,"record_length":96,"hex_timestamp":"0000019f78663500"} 
[2026-07-19 08:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 08:57: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-07-19 08: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-07-19 08:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814359040001,"66":12939,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809392739997622272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814359040001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:57:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:57:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809392739997622272,"description":"Unknown IO ID 45"} 
[2026-07-19 08:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814359040001,"power":12939,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809392739997622272}} 
[2026-07-19 08:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":136443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:57:25] local.INFO: GPS data processed {"connection_id":136443,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:57:25] local.INFO: Acknowledgment sent {"connection_id":136443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:57:32] local.INFO: TCP Data received {"connection_id":137382,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:57:32] local.INFO: Processing buffer {"connection_id":137382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:57:32] local.INFO: IMEI packet received {"connection_id":137382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":137382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:57:37] local.INFO: TCP Data received {"connection_id":137382,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:57:37] local.INFO: Processing buffer {"connection_id":137382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:57:37] local.INFO: IMEI packet received {"connection_id":137382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":137382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:57:38] local.INFO: TCP Data received {"connection_id":137382,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:57:38] local.INFO: Processing buffer {"connection_id":137382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:57:38] local.INFO: Packet analysis {"connection_id":137382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7868"} 
[2026-07-19 08:57:38] local.INFO: Extracted packet for processing {"connection_id":137382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7868"} 
[2026-07-19 08:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814392576001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:57: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-07-19 08:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784431522000,"timestamp_ms":1784431522000,"timestamp_seconds":1784431522,"priority":1,"record_length":96,"hex_timestamp":"0000019f786830d0"} 
[2026-07-19 08:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 08:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:57:38] 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-07-19 08:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814392576001,"66":25615,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814392576001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:57:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814392576001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":137382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:57:38] local.INFO: GPS data processed {"connection_id":137382,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:57:38] local.INFO: Acknowledgment sent {"connection_id":137382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:57:56] local.INFO: TCP Data received {"connection_id":136443,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:57:56] local.INFO: Processing buffer {"connection_id":136443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78663500012d7a408005da76c0000600ac29..."} 
[2026-07-19 08:57:56] local.INFO: Packet analysis {"connection_id":136443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7866"} 
[2026-07-19 08:57:56] local.INFO: Extracted packet for processing {"connection_id":136443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7866"} 
[2026-07-19 08:57:56] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814359040001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 08:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809392739997622272,"note":"Value kept but may cause issues"} 
[2026-07-19 08:57: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-07-19 08:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784431392000,"timestamp_ms":1784431392000,"timestamp_seconds":1784431392,"priority":1,"record_length":96,"hex_timestamp":"0000019f78663500"} 
[2026-07-19 08:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":51,"data_length":795,"current_offset":136} 
[2026-07-19 08:57: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-07-19 08: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-07-19 08:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 08:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 08:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 08:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 08:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814359040001,"66":12939,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809392739997622272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 08:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 08:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 08:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814359040001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:57:56] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 08:57:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 08:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809392739997622272,"description":"Unknown IO ID 45"} 
[2026-07-19 08:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814359040001,"power":12939,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809392739997622272}} 
[2026-07-19 08:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":136443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:57:56] local.INFO: GPS data processed {"connection_id":136443,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:57:56] local.INFO: Acknowledgment sent {"connection_id":136443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:57:57] local.INFO: TCP Data received {"connection_id":136322,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136322,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:57:57] local.INFO: Processing buffer {"connection_id":136322,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:57:57] local.INFO: IMEI packet received {"connection_id":136322,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 08:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":136322,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:58:10] local.INFO: TCP Data received {"connection_id":137382,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:58:10] local.INFO: Processing buffer {"connection_id":137382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:58:10] local.INFO: Packet analysis {"connection_id":137382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7868"} 
[2026-07-19 08:58:10] local.INFO: Extracted packet for processing {"connection_id":137382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7868"} 
[2026-07-19 08:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814392576001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:58: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-07-19 08:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784431522000,"timestamp_ms":1784431522000,"timestamp_seconds":1784431522,"priority":1,"record_length":96,"hex_timestamp":"0000019f786830d0"} 
[2026-07-19 08:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 08:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:58:10] 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-07-19 08:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814392576001,"66":25615,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814392576001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:58:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814392576001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":137382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:58:10] local.INFO: GPS data processed {"connection_id":137382,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:58:10] local.INFO: Acknowledgment sent {"connection_id":137382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:58:27] local.INFO: TCP Data received {"connection_id":137383,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:58:27] local.INFO: Processing buffer {"connection_id":137383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 08:58:27] local.INFO: IMEI packet received {"connection_id":137383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 08:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":137383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:58:32] local.INFO: TCP Data received {"connection_id":138793,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:58:32] local.INFO: Processing buffer {"connection_id":138793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:58:32] local.INFO: IMEI packet received {"connection_id":138793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":138793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:58:37] local.INFO: TCP Data received {"connection_id":138793,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:58:37] local.INFO: Processing buffer {"connection_id":138793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:58:37] local.INFO: IMEI packet received {"connection_id":138793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":138793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:58:39] local.INFO: TCP Data received {"connection_id":138793,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:58:39] local.INFO: Processing buffer {"connection_id":138793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:58:39] local.INFO: Packet analysis {"connection_id":138793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7868"} 
[2026-07-19 08:58:39] local.INFO: Extracted packet for processing {"connection_id":138793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7868"} 
[2026-07-19 08:58:39] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814392576001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:58: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-07-19 08:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784431522000,"timestamp_ms":1784431522000,"timestamp_seconds":1784431522,"priority":1,"record_length":96,"hex_timestamp":"0000019f786830d0"} 
[2026-07-19 08:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 08:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":138793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":138793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":138793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:58:39] 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-07-19 08:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814392576001,"66":25615,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814392576001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:58:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:58:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814392576001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":138793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:58:39] local.INFO: GPS data processed {"connection_id":138793,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:58:39] local.INFO: Acknowledgment sent {"connection_id":138793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:59:11] local.INFO: TCP Data received {"connection_id":138793,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:59:11] local.INFO: Processing buffer {"connection_id":138793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:59:11] local.INFO: Packet analysis {"connection_id":138793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7868"} 
[2026-07-19 08:59:11] local.INFO: Extracted packet for processing {"connection_id":138793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7868"} 
[2026-07-19 08:59:11] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 08:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814392576001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08:59: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-07-19 08:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784431522000,"timestamp_ms":1784431522000,"timestamp_seconds":1784431522,"priority":1,"record_length":96,"hex_timestamp":"0000019f786830d0"} 
[2026-07-19 08:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 08:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 08:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":138793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":138793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":138793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:59:11] 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-07-19 08:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814392576001,"66":25615,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 08:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814392576001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:59:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:59:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814392576001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":138793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:59:11] local.INFO: GPS data processed {"connection_id":138793,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:59:11] local.INFO: Acknowledgment sent {"connection_id":138793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 08:59:31] local.INFO: TCP Data received {"connection_id":138795,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:59:31] local.INFO: Processing buffer {"connection_id":138795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:59:31] local.INFO: IMEI packet received {"connection_id":138795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 08:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":138795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 08:59:37] local.INFO: TCP Data received {"connection_id":138795,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:59:37] local.INFO: Processing buffer {"connection_id":138795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 08:59:37] local.INFO: IMEI packet received {"connection_id":138795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 08:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":138795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 08:59:38] local.INFO: TCP Data received {"connection_id":138795,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:59:38] local.INFO: Processing buffer {"connection_id":138795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 08:59:38] local.INFO: Packet analysis {"connection_id":138795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7868"} 
[2026-07-19 08:59:38] local.INFO: Extracted packet for processing {"connection_id":138795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7868"} 
[2026-07-19 08:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 08: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-07-19 08:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814392576001,"note":"Value kept but may cause issues"} 
[2026-07-19 08:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 08:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 08: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-07-19 08:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784431522000,"timestamp_ms":1784431522000,"timestamp_seconds":1784431522,"priority":1,"record_length":96,"hex_timestamp":"0000019f786830d0"} 
[2026-07-19 08:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 08:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 08: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":25,"data_length":795,"current_offset":136} 
[2026-07-19 08:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 08: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-07-19 08:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 08:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 08:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 08:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 08:59: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-07-19 08:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 08:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 08:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814392576001,"66":25615,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 08:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 08:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 08:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814392576001,"description":"Unknown IO ID 0"} 
[2026-07-19 08:59:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 08:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 08:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 08:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 08:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814392576001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 08:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":138795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 08:59:38] local.INFO: GPS data processed {"connection_id":138795,"processed":1,"errors":0,"total":1} 
[2026-07-19 08:59:38] local.INFO: Acknowledgment sent {"connection_id":138795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:00:09] local.INFO: TCP Data received {"connection_id":138795,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 09:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 09:00:09] local.INFO: Processing buffer {"connection_id":138795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 09:00:09] local.INFO: Packet analysis {"connection_id":138795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7868"} 
[2026-07-19 09:00:09] local.INFO: Extracted packet for processing {"connection_id":138795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7868"} 
[2026-07-19 09:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814392576001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09: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-07-19 09:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784431522000,"timestamp_ms":1784431522000,"timestamp_seconds":1784431522,"priority":1,"record_length":96,"hex_timestamp":"0000019f786830d0"} 
[2026-07-19 09:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 09:00: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-07-19 09: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-07-19 09:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09: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-07-19 09:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814392576001,"66":25615,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 09:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814392576001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:00:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:00:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814392576001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":138795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:00:09] local.INFO: GPS data processed {"connection_id":138795,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:00:09] local.INFO: Acknowledgment sent {"connection_id":138795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:00:31] local.INFO: TCP Data received {"connection_id":136444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:00:31] local.INFO: Processing buffer {"connection_id":136444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:00:31] local.INFO: IMEI packet received {"connection_id":136444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":136444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:00:37] local.INFO: TCP Data received {"connection_id":136444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:00:37] local.INFO: Processing buffer {"connection_id":136444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:00:37] local.INFO: IMEI packet received {"connection_id":136444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":136444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:00:37] local.INFO: TCP Data received {"connection_id":136444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 09:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 09:00:37] local.INFO: Processing buffer {"connection_id":136444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786830d0012d34c48006aa3da8001800aa24..."} 
[2026-07-19 09:00:37] local.INFO: Packet analysis {"connection_id":136444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7868"} 
[2026-07-19 09:00:37] local.INFO: Extracted packet for processing {"connection_id":136444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7868"} 
[2026-07-19 09:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":24,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814392576001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:00: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-07-19 09:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784431522000,"timestamp_ms":1784431522000,"timestamp_seconds":1784431522,"priority":1,"record_length":96,"hex_timestamp":"0000019f786830d0"} 
[2026-07-19 09:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 09:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814392576001,"66":25615,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 09:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814392576001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:00:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:00:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814392576001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":136444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:00:38] local.INFO: GPS data processed {"connection_id":136444,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:00:38] local.INFO: Acknowledgment sent {"connection_id":136444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:01:08] local.INFO: TCP Data received {"connection_id":136444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:01:08] local.INFO: Processing buffer {"connection_id":136444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:01:08] local.INFO: Packet analysis {"connection_id":136444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f786c"} 
[2026-07-19 09:01:08] local.INFO: Extracted packet for processing {"connection_id":136444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f786c"} 
[2026-07-19 09:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814469632001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09: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-07-19 09:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784431823000,"timestamp_ms":1784431823000,"timestamp_seconds":1784431823,"priority":1,"record_length":96,"hex_timestamp":"0000019f786cc898"} 
[2026-07-19 09:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":15,"data_length":795,"current_offset":136} 
[2026-07-19 09:01: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-07-19 09: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-07-19 09:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:01: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-07-19 09:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814469632001,"66":25560,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 09:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814469632001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:01:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:01:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814469632001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":136444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:01:08] local.INFO: GPS data processed {"connection_id":136444,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:01:08] local.INFO: Acknowledgment sent {"connection_id":136444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:01:37] local.INFO: TCP Data received {"connection_id":138796,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:01:37] local.INFO: Processing buffer {"connection_id":138796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:01:37] local.INFO: IMEI packet received {"connection_id":138796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":138796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:01:42] local.INFO: TCP Data received {"connection_id":138796,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:01:42] local.INFO: Processing buffer {"connection_id":138796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:01:42] local.INFO: IMEI packet received {"connection_id":138796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":138796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:01:43] local.INFO: TCP Data received {"connection_id":138796,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:01:43] local.INFO: Processing buffer {"connection_id":138796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:01:43] local.INFO: Packet analysis {"connection_id":138796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f786c"} 
[2026-07-19 09:01:43] local.INFO: Extracted packet for processing {"connection_id":138796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f786c"} 
[2026-07-19 09:01:43] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814469632001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:01: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-07-19 09:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784431823000,"timestamp_ms":1784431823000,"timestamp_seconds":1784431823,"priority":1,"record_length":96,"hex_timestamp":"0000019f786cc898"} 
[2026-07-19 09:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 09:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":138796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":138796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":138796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814469632001,"66":25560,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814469632001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:01:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:01:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814469632001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":138796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:01:43] local.INFO: GPS data processed {"connection_id":138796,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:01:43] local.INFO: Acknowledgment sent {"connection_id":138796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:02:14] local.INFO: TCP Data received {"connection_id":138796,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:02:14] local.INFO: Processing buffer {"connection_id":138796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:02:14] local.INFO: Packet analysis {"connection_id":138796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f786c"} 
[2026-07-19 09:02:14] local.INFO: Extracted packet for processing {"connection_id":138796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f786c"} 
[2026-07-19 09:02:14] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814469632001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:02: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-07-19 09:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784431823000,"timestamp_ms":1784431823000,"timestamp_seconds":1784431823,"priority":1,"record_length":96,"hex_timestamp":"0000019f786cc898"} 
[2026-07-19 09:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 09:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":138796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":138796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":138796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814469632001,"66":25560,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814469632001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:02:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:02:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814469632001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":138796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:02:14] local.INFO: GPS data processed {"connection_id":138796,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:02:14] local.INFO: Acknowledgment sent {"connection_id":138796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:02:32] local.INFO: TCP Data received {"connection_id":136445,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:02:32] local.INFO: Processing buffer {"connection_id":136445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:02:32] local.INFO: IMEI packet received {"connection_id":136445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":136445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:02:37] local.INFO: TCP Data received {"connection_id":136445,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:02:37] local.INFO: Processing buffer {"connection_id":136445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:02:37] local.INFO: IMEI packet received {"connection_id":136445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":136445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:02:38] local.INFO: TCP Data received {"connection_id":136445,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:02:38] local.INFO: Processing buffer {"connection_id":136445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:02:38] local.INFO: Packet analysis {"connection_id":136445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f786c"} 
[2026-07-19 09:02:38] local.INFO: Extracted packet for processing {"connection_id":136445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f786c"} 
[2026-07-19 09:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814469632001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:02: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-07-19 09:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784431823000,"timestamp_ms":1784431823000,"timestamp_seconds":1784431823,"priority":1,"record_length":96,"hex_timestamp":"0000019f786cc898"} 
[2026-07-19 09:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 09:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814469632001,"66":25560,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814469632001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:02:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:02:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814469632001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":136445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:02:38] local.INFO: GPS data processed {"connection_id":136445,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:02:38] local.INFO: Acknowledgment sent {"connection_id":136445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:02:49] local.INFO: TCP Data received {"connection_id":137386,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:02:49] local.INFO: Processing buffer {"connection_id":137386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:02:49] local.INFO: IMEI packet received {"connection_id":137386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 09:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":137386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:02:54] local.INFO: TCP Data received {"connection_id":137386,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:02:54] local.INFO: Processing buffer {"connection_id":137386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:02:54] local.INFO: IMEI packet received {"connection_id":137386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 09:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":137386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:02:55] local.INFO: TCP Data received {"connection_id":137386,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f786abd28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786abd28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:02:55] local.INFO: Processing buffer {"connection_id":137386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786abd28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:02:55] local.INFO: Packet analysis {"connection_id":137386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f786a"} 
[2026-07-19 09:02:55] local.INFO: Extracted packet for processing {"connection_id":137386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f786a"} 
[2026-07-19 09:02:55] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 09:02: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-07-19 09:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814436352001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:02:55] 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-07-19 09:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784431689000,"timestamp_ms":1784431689000,"timestamp_seconds":1784431689,"priority":1,"record_length":96,"hex_timestamp":"0000019f786abd28"} 
[2026-07-19 09:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:02:55] 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-07-19 09:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-19 09:02:55] 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-07-19 09:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":137386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":137386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":137386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814436352001,"66":12613,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 09:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814436352001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:02:55] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:02:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814436352001,"power":12613,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":137386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:02:55] local.INFO: GPS data processed {"connection_id":137386,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:02:55] local.INFO: Acknowledgment sent {"connection_id":137386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:02:59] local.INFO: TCP Data received {"connection_id":137386,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f786abd28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786abd28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:02:59] local.INFO: Processing buffer {"connection_id":137386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786abd28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:02:59] local.INFO: Packet analysis {"connection_id":137386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f786a"} 
[2026-07-19 09:02:59] local.INFO: Extracted packet for processing {"connection_id":137386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f786a"} 
[2026-07-19 09:02:59] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 09:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814512384001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:02:59] 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-07-19 09:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784431689000,"timestamp_ms":1784431689000,"timestamp_seconds":1784431689,"priority":1,"record_length":96,"hex_timestamp":"0000019f786abd28"} 
[2026-07-19 09:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:02: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-07-19 09:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-19 09:02:59] 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-07-19 09:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":137386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":137386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":137386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814512384001,"66":12613,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 09:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814512384001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:02:59] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:02:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814512384001,"power":12613,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":137386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:02:59] local.INFO: GPS data processed {"connection_id":137386,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:02:59] local.INFO: Acknowledgment sent {"connection_id":137386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:03:11] local.INFO: TCP Data received {"connection_id":136445,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:03:11] local.INFO: Processing buffer {"connection_id":136445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:03:11] local.INFO: Packet analysis {"connection_id":136445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f786c"} 
[2026-07-19 09:03:11] local.INFO: Extracted packet for processing {"connection_id":136445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f786c"} 
[2026-07-19 09:03:11] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 09:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814469632001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:03: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-07-19 09:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784431823000,"timestamp_ms":1784431823000,"timestamp_seconds":1784431823,"priority":1,"record_length":96,"hex_timestamp":"0000019f786cc898"} 
[2026-07-19 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-07-19 09:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 09:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 09:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":136445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":136445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":136445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814469632001,"66":25560,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814469632001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:03:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:03:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814469632001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":136445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:03:11] local.INFO: GPS data processed {"connection_id":136445,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:03:11] local.INFO: Acknowledgment sent {"connection_id":136445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:03:14] local.INFO: TCP Data received {"connection_id":138797,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:03:14] local.INFO: Processing buffer {"connection_id":138797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:03:14] local.INFO: IMEI packet received {"connection_id":138797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 09:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":138797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:03:19] local.INFO: TCP Data received {"connection_id":138797,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:03:19] local.INFO: Processing buffer {"connection_id":138797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:03:19] local.INFO: IMEI packet received {"connection_id":138797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 09:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":138797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:03:20] local.INFO: TCP Data received {"connection_id":138797,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f786accc8012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786accc8012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:03:20] local.INFO: Processing buffer {"connection_id":138797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786accc8012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:03:20] local.INFO: Packet analysis {"connection_id":138797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f786a"} 
[2026-07-19 09:03:20] local.INFO: Extracted packet for processing {"connection_id":138797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f786a"} 
[2026-07-19 09:03:20] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 09:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814512384001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:03:20] 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-07-19 09:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784431693000,"timestamp_ms":1784431693000,"timestamp_seconds":1784431693,"priority":1,"record_length":96,"hex_timestamp":"0000019f786accc8"} 
[2026-07-19 09:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:03:20] 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-07-19 09:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-19 09:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":138797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":138797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":138797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814512384001,"66":4264,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 09:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814512384001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:03:20] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:03:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814512384001,"power":4264,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":138797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:03:20] local.INFO: GPS data processed {"connection_id":138797,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:03:20] local.INFO: Acknowledgment sent {"connection_id":138797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:03:32] local.INFO: TCP Data received {"connection_id":138799,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:03:32] local.INFO: Processing buffer {"connection_id":138799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:03:32] local.INFO: IMEI packet received {"connection_id":138799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":138799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:03:37] local.INFO: TCP Data received {"connection_id":138799,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:03:37] local.INFO: Processing buffer {"connection_id":138799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:03:37] local.INFO: IMEI packet received {"connection_id":138799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":138799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:03:38] local.INFO: TCP Data received {"connection_id":138799,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:03:38] local.INFO: Processing buffer {"connection_id":138799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:03:38] local.INFO: Packet analysis {"connection_id":138799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f786c"} 
[2026-07-19 09:03:38] local.INFO: Extracted packet for processing {"connection_id":138799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f786c"} 
[2026-07-19 09:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814469632001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:03: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-07-19 09:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784431823000,"timestamp_ms":1784431823000,"timestamp_seconds":1784431823,"priority":1,"record_length":96,"hex_timestamp":"0000019f786cc898"} 
[2026-07-19 09:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 09:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814469632001,"66":25560,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814469632001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:03:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:03:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814469632001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":138799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:03:38] local.INFO: GPS data processed {"connection_id":138799,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:03:38] local.INFO: Acknowledgment sent {"connection_id":138799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:03:51] local.INFO: TCP Data received {"connection_id":138797,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f786accc8012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786accc8012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:03:51] local.INFO: Processing buffer {"connection_id":138797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786accc8012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:03:51] local.INFO: Packet analysis {"connection_id":138797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f786a"} 
[2026-07-19 09:03:51] local.INFO: Extracted packet for processing {"connection_id":138797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f786a"} 
[2026-07-19 09:03:51] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814512384001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:03:51] 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-07-19 09:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784431693000,"timestamp_ms":1784431693000,"timestamp_seconds":1784431693,"priority":1,"record_length":96,"hex_timestamp":"0000019f786accc8"} 
[2026-07-19 09:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:03:51] 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-07-19 09: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-19 09:03:51] 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-07-19 09: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-07-19 09:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":138797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":138797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":138797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814512384001,"66":4264,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 09:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814512384001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:03:51] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:03:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814512384001,"power":4264,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":138797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:03:51] local.INFO: GPS data processed {"connection_id":138797,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:03:51] local.INFO: Acknowledgment sent {"connection_id":138797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:03:52] local.INFO: TCP Data received {"connection_id":138798,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:03:52] local.INFO: Processing buffer {"connection_id":138798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:03:52] local.INFO: IMEI packet received {"connection_id":138798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 09:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":138798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:04:09] local.INFO: TCP Data received {"connection_id":138799,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:04:09] local.INFO: Processing buffer {"connection_id":138799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:04:09] local.INFO: Packet analysis {"connection_id":138799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f786c"} 
[2026-07-19 09:04:09] local.INFO: Extracted packet for processing {"connection_id":138799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f786c"} 
[2026-07-19 09:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814469632001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:04: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-07-19 09:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784431823000,"timestamp_ms":1784431823000,"timestamp_seconds":1784431823,"priority":1,"record_length":96,"hex_timestamp":"0000019f786cc898"} 
[2026-07-19 09:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 09:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:04: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-07-19 09:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814469632001,"66":25560,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814469632001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:04:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:04:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814469632001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":138799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:04:09] local.INFO: GPS data processed {"connection_id":138799,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:04:09] local.INFO: Acknowledgment sent {"connection_id":138799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:04:32] local.INFO: TCP Data received {"connection_id":136325,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:04:32] local.INFO: Processing buffer {"connection_id":136325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:04:32] local.INFO: IMEI packet received {"connection_id":136325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":136325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:04:32] local.INFO: TCP Data received {"connection_id":136324,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:04:32] local.INFO: Processing buffer {"connection_id":136324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:04:32] local.INFO: IMEI packet received {"connection_id":136324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 09:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":136324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:04:37] local.INFO: TCP Data received {"connection_id":136325,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:04:37] local.INFO: Processing buffer {"connection_id":136325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:04:37] local.INFO: IMEI packet received {"connection_id":136325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":136325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:04:38] local.INFO: TCP Data received {"connection_id":136325,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:04:38] local.INFO: Processing buffer {"connection_id":136325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:04:38] local.INFO: Packet analysis {"connection_id":136325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f786c"} 
[2026-07-19 09:04:38] local.INFO: Extracted packet for processing {"connection_id":136325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f786c"} 
[2026-07-19 09:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814469632001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:04: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-07-19 09:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784431823000,"timestamp_ms":1784431823000,"timestamp_seconds":1784431823,"priority":1,"record_length":96,"hex_timestamp":"0000019f786cc898"} 
[2026-07-19 09:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 09:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814469632001,"66":25560,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814469632001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:04:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:04:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814469632001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":136325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:04:38] local.INFO: GPS data processed {"connection_id":136325,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:04:38] local.INFO: Acknowledgment sent {"connection_id":136325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:05:09] local.INFO: TCP Data received {"connection_id":136325,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:05:09] local.INFO: Processing buffer {"connection_id":136325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:05:09] local.INFO: Packet analysis {"connection_id":136325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f786c"} 
[2026-07-19 09:05:09] local.INFO: Extracted packet for processing {"connection_id":136325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f786c"} 
[2026-07-19 09:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814469632001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09: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-07-19 09:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784431823000,"timestamp_ms":1784431823000,"timestamp_seconds":1784431823,"priority":1,"record_length":96,"hex_timestamp":"0000019f786cc898"} 
[2026-07-19 09:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 09:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:05: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-07-19 09:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814469632001,"66":25560,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814469632001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:05:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814469632001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":136325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:05:09] local.INFO: GPS data processed {"connection_id":136325,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:05:09] local.INFO: Acknowledgment sent {"connection_id":136325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:05:31] local.INFO: TCP Data received {"connection_id":137388,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:05:31] local.INFO: Processing buffer {"connection_id":137388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:05:31] local.INFO: IMEI packet received {"connection_id":137388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":137388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:05:37] local.INFO: TCP Data received {"connection_id":137388,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:05:37] local.INFO: Processing buffer {"connection_id":137388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:05:37] local.INFO: IMEI packet received {"connection_id":137388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":137388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:05:38] local.INFO: TCP Data received {"connection_id":137388,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:05:38] local.INFO: Processing buffer {"connection_id":137388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786cc898012d34c48006aa3da8001000aa25..."} 
[2026-07-19 09:05:38] local.INFO: Packet analysis {"connection_id":137388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f786c"} 
[2026-07-19 09:05:38] local.INFO: Extracted packet for processing {"connection_id":137388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f786c"} 
[2026-07-19 09:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814469632001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:05: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-07-19 09:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784431823000,"timestamp_ms":1784431823000,"timestamp_seconds":1784431823,"priority":1,"record_length":96,"hex_timestamp":"0000019f786cc898"} 
[2026-07-19 09:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 09:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814469632001,"66":25560,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814469632001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:05:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814469632001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":137388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:05:38] local.INFO: GPS data processed {"connection_id":137388,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:05:38] local.INFO: Acknowledgment sent {"connection_id":137388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:06:09] local.INFO: TCP Data received {"connection_id":137388,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:06:09] local.INFO: Processing buffer {"connection_id":137388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:06:09] local.INFO: Packet analysis {"connection_id":137388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7871"} 
[2026-07-19 09:06:09] local.INFO: Extracted packet for processing {"connection_id":137388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7871"} 
[2026-07-19 09:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814546688001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:06: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-07-19 09:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784432124000,"timestamp_ms":1784432124000,"timestamp_seconds":1784432124,"priority":1,"record_length":96,"hex_timestamp":"0000019f78716060"} 
[2026-07-19 09:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 09:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:06:09] 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-07-19 09:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814546688001,"66":25582,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814546688001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:06:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814546688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":137388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:06:09] local.INFO: GPS data processed {"connection_id":137388,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:06:09] local.INFO: Acknowledgment sent {"connection_id":137388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:06:14] local.INFO: TCP Data received {"connection_id":138800,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:06:14] local.INFO: Processing buffer {"connection_id":138800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:06:14] local.INFO: IMEI packet received {"connection_id":138800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 09:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":138800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:06:19] local.INFO: TCP Data received {"connection_id":138800,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:06:19] local.INFO: Processing buffer {"connection_id":138800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:06:19] local.INFO: IMEI packet received {"connection_id":138800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 09:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":138800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:06:20] local.INFO: TCP Data received {"connection_id":138800,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f786accc8012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786accc8012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:06:20] local.INFO: Processing buffer {"connection_id":138800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786accc8012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:06:20] local.INFO: Packet analysis {"connection_id":138800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f786a"} 
[2026-07-19 09:06:20] local.INFO: Extracted packet for processing {"connection_id":138800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f786a"} 
[2026-07-19 09:06:20] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814512384001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:06:20] 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-07-19 09:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784431693000,"timestamp_ms":1784431693000,"timestamp_seconds":1784431693,"priority":1,"record_length":96,"hex_timestamp":"0000019f786accc8"} 
[2026-07-19 09:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:06:20] 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-07-19 09:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-19 09:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":138800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":138800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":138800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814512384001,"66":4264,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 09:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814512384001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:06:20] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:06:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814512384001,"power":4264,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":138800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:06:20] local.INFO: GPS data processed {"connection_id":138800,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:06:20] local.INFO: Acknowledgment sent {"connection_id":138800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:06:37] local.INFO: TCP Data received {"connection_id":136446,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:06:37] local.INFO: Processing buffer {"connection_id":136446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:06:37] local.INFO: IMEI packet received {"connection_id":136446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":136446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:06:42] local.INFO: TCP Data received {"connection_id":136446,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:06:42] local.INFO: Processing buffer {"connection_id":136446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:06:42] local.INFO: IMEI packet received {"connection_id":136446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":136446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:06:43] local.INFO: TCP Data received {"connection_id":136446,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:06:43] local.INFO: Processing buffer {"connection_id":136446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:06:43] local.INFO: Packet analysis {"connection_id":136446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7871"} 
[2026-07-19 09:06:43] local.INFO: Extracted packet for processing {"connection_id":136446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7871"} 
[2026-07-19 09:06:43] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814546688001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:06: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-07-19 09:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784432124000,"timestamp_ms":1784432124000,"timestamp_seconds":1784432124,"priority":1,"record_length":96,"hex_timestamp":"0000019f78716060"} 
[2026-07-19 09:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 09:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:06:43] 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-07-19 09:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814546688001,"66":25582,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814546688001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:06:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:06:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814546688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":136446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:06:43] local.INFO: GPS data processed {"connection_id":136446,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:06:43] local.INFO: Acknowledgment sent {"connection_id":136446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:06:49] local.INFO: TCP Data received {"connection_id":136446,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:06:49] local.INFO: Processing buffer {"connection_id":136446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:06:49] local.INFO: Packet analysis {"connection_id":136446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7871"} 
[2026-07-19 09:06:49] local.INFO: Extracted packet for processing {"connection_id":136446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7871"} 
[2026-07-19 09:06:49] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814546688001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 09:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784432124000,"timestamp_ms":1784432124000,"timestamp_seconds":1784432124,"priority":1,"record_length":96,"hex_timestamp":"0000019f78716060"} 
[2026-07-19 09:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 09:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":136446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":136446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":136446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:06:49] 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-07-19 09:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814546688001,"66":25582,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814546688001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:06:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:06:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814546688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":136446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:06:49] local.INFO: GPS data processed {"connection_id":136446,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:06:49] local.INFO: Acknowledgment sent {"connection_id":136446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:06:51] local.INFO: TCP Data received {"connection_id":138800,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f786accc8012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786accc8012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:06:51] local.INFO: Processing buffer {"connection_id":138800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786accc8012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:06:51] local.INFO: Packet analysis {"connection_id":138800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f786a"} 
[2026-07-19 09:06:51] local.INFO: Extracted packet for processing {"connection_id":138800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f786a"} 
[2026-07-19 09:06:51] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814512384001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:06:51] 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-07-19 09:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784431693000,"timestamp_ms":1784431693000,"timestamp_seconds":1784431693,"priority":1,"record_length":96,"hex_timestamp":"0000019f786accc8"} 
[2026-07-19 09:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:06:51] 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-07-19 09:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-19 09:06:51] 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-07-19 09: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-07-19 09:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":138800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":138800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":138800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814512384001,"66":4264,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 09:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814512384001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:06:51] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:06:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814512384001,"power":4264,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":138800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:06:51] local.INFO: GPS data processed {"connection_id":138800,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:06:51] local.INFO: Acknowledgment sent {"connection_id":138800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:07:24] local.INFO: TCP Data received {"connection_id":137389,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:07:24] local.INFO: Processing buffer {"connection_id":137389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:07:24] local.INFO: IMEI packet received {"connection_id":137389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 09:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":137389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:07:29] local.INFO: TCP Data received {"connection_id":137389,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:07:29] local.INFO: Processing buffer {"connection_id":137389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:07:29] local.INFO: IMEI packet received {"connection_id":137389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 09:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":137389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:07:30] local.INFO: TCP Data received {"connection_id":137389,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f786accc8012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786accc8012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:07:30] local.INFO: Processing buffer {"connection_id":137389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786accc8012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:07:30] local.INFO: Packet analysis {"connection_id":137389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f786a"} 
[2026-07-19 09:07:30] local.INFO: Extracted packet for processing {"connection_id":137389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f786a"} 
[2026-07-19 09:07:30] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 09:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814512384001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 09:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784431693000,"timestamp_ms":1784431693000,"timestamp_seconds":1784431693,"priority":1,"record_length":96,"hex_timestamp":"0000019f786accc8"} 
[2026-07-19 09:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:07:30] 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-07-19 09:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-19 09:07:30] 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-07-19 09:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":137389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":137389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":137389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814512384001,"66":4264,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 09:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814512384001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:07:30] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:07:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814512384001,"power":4264,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":137389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:07:30] local.INFO: GPS data processed {"connection_id":137389,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:07:30] local.INFO: Acknowledgment sent {"connection_id":137389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:07:32] local.INFO: TCP Data received {"connection_id":137390,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:07:32] local.INFO: Processing buffer {"connection_id":137390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:07:32] local.INFO: IMEI packet received {"connection_id":137390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":137390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:07:34] local.INFO: TCP Data received {"connection_id":137389,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f786accc8012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786accc8012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:07:34] local.INFO: Processing buffer {"connection_id":137389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786accc8012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:07:34] local.INFO: Packet analysis {"connection_id":137389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f786a"} 
[2026-07-19 09:07:34] local.INFO: Extracted packet for processing {"connection_id":137389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f786a"} 
[2026-07-19 09:07:34] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814512384001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:07: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-07-19 09:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784431693000,"timestamp_ms":1784431693000,"timestamp_seconds":1784431693,"priority":1,"record_length":96,"hex_timestamp":"0000019f786accc8"} 
[2026-07-19 09:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:07: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-07-19 09: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-19 09:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":137389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":137389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":137389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814512384001,"66":4264,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 09:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814512384001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:07:34] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:07:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814512384001,"power":4264,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":137389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:07:34] local.INFO: GPS data processed {"connection_id":137389,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:07:34] local.INFO: Acknowledgment sent {"connection_id":137389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:07:37] local.INFO: TCP Data received {"connection_id":137390,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:07:37] local.INFO: Processing buffer {"connection_id":137390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:07:37] local.INFO: IMEI packet received {"connection_id":137390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":137390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:07:38] local.INFO: TCP Data received {"connection_id":137390,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:07:38] local.INFO: Processing buffer {"connection_id":137390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:07:38] local.INFO: Packet analysis {"connection_id":137390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7871"} 
[2026-07-19 09:07:38] local.INFO: Extracted packet for processing {"connection_id":137390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7871"} 
[2026-07-19 09:07:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814546688001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:07: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-07-19 09:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784432124000,"timestamp_ms":1784432124000,"timestamp_seconds":1784432124,"priority":1,"record_length":96,"hex_timestamp":"0000019f78716060"} 
[2026-07-19 09:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 09:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814546688001,"66":25582,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814546688001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:07:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:07:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814546688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":137390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:07:38] local.INFO: GPS data processed {"connection_id":137390,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:07:38] local.INFO: Acknowledgment sent {"connection_id":137390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:08:09] local.INFO: TCP Data received {"connection_id":137390,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:08:09] local.INFO: Processing buffer {"connection_id":137390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:08:09] local.INFO: Packet analysis {"connection_id":137390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7871"} 
[2026-07-19 09:08:09] local.INFO: Extracted packet for processing {"connection_id":137390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7871"} 
[2026-07-19 09:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814546688001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:08: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-07-19 09:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784432124000,"timestamp_ms":1784432124000,"timestamp_seconds":1784432124,"priority":1,"record_length":96,"hex_timestamp":"0000019f78716060"} 
[2026-07-19 09:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 09:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:08: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-07-19 09:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814546688001,"66":25582,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814546688001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:08:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814546688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":137390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:08:09] local.INFO: GPS data processed {"connection_id":137390,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:08:09] local.INFO: Acknowledgment sent {"connection_id":137390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:08:19] local.INFO: TCP Data received {"connection_id":136327,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:08:19] local.INFO: Processing buffer {"connection_id":136327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:08:19] local.INFO: IMEI packet received {"connection_id":136327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 09:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":136327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:08:24] local.INFO: TCP Data received {"connection_id":136327,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:08:24] local.INFO: Processing buffer {"connection_id":136327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:08:24] local.INFO: IMEI packet received {"connection_id":136327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 09:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":136327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:08:25] local.INFO: TCP Data received {"connection_id":136327,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:08:25] local.INFO: Processing buffer {"connection_id":136327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:08:25] local.INFO: Packet analysis {"connection_id":136327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7873"} 
[2026-07-19 09:08:25] local.INFO: Extracted packet for processing {"connection_id":136327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7873"} 
[2026-07-19 09:08:25] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 09:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814513408001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:08: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-07-19 09:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784432252000,"timestamp_ms":1784432252000,"timestamp_seconds":1784432252,"priority":1,"record_length":96,"hex_timestamp":"0000019f78735460"} 
[2026-07-19 09:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:08: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-07-19 09:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-19 09:08:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:08:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:08:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814513408001,"66":2231,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 09:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814513408001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:08:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:08:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814513408001,"power":2231,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":136327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:08:25] local.INFO: GPS data processed {"connection_id":136327,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:08:25] local.INFO: Acknowledgment sent {"connection_id":136327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:08:32] local.INFO: TCP Data received {"connection_id":136448,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:08:32] local.INFO: Processing buffer {"connection_id":136448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:08:32] local.INFO: IMEI packet received {"connection_id":136448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":136448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:08:37] local.INFO: TCP Data received {"connection_id":136448,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:08:37] local.INFO: Processing buffer {"connection_id":136448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:08:37] local.INFO: IMEI packet received {"connection_id":136448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":136448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:08:38] local.INFO: TCP Data received {"connection_id":136448,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:08:38] local.INFO: Processing buffer {"connection_id":136448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:08:38] local.INFO: Packet analysis {"connection_id":136448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7871"} 
[2026-07-19 09:08:38] local.INFO: Extracted packet for processing {"connection_id":136448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7871"} 
[2026-07-19 09:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814546688001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:08: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-07-19 09:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784432124000,"timestamp_ms":1784432124000,"timestamp_seconds":1784432124,"priority":1,"record_length":96,"hex_timestamp":"0000019f78716060"} 
[2026-07-19 09:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 09:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814546688001,"66":25582,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814546688001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:08:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:08:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814546688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":136448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:08:38] local.INFO: GPS data processed {"connection_id":136448,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:08:38] local.INFO: Acknowledgment sent {"connection_id":136448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:08:56] local.INFO: TCP Data received {"connection_id":136327,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:08:56] local.INFO: Processing buffer {"connection_id":136327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:08:56] local.INFO: Packet analysis {"connection_id":136327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7873"} 
[2026-07-19 09:08:56] local.INFO: Extracted packet for processing {"connection_id":136327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7873"} 
[2026-07-19 09:08:56] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 09:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814513408001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:08: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-07-19 09:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784432252000,"timestamp_ms":1784432252000,"timestamp_seconds":1784432252,"priority":1,"record_length":96,"hex_timestamp":"0000019f78735460"} 
[2026-07-19 09:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:08:56] 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-07-19 09:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-19 09:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814513408001,"66":2231,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 09:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814513408001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:08:56] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:08:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814513408001,"power":2231,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":136327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:08:56] local.INFO: GPS data processed {"connection_id":136327,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:08:56] local.INFO: Acknowledgment sent {"connection_id":136327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:09:10] local.INFO: TCP Data received {"connection_id":136448,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:09:10] local.INFO: Processing buffer {"connection_id":136448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:09:10] local.INFO: Packet analysis {"connection_id":136448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7871"} 
[2026-07-19 09:09:10] local.INFO: Extracted packet for processing {"connection_id":136448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7871"} 
[2026-07-19 09:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814546688001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:09: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-07-19 09:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784432124000,"timestamp_ms":1784432124000,"timestamp_seconds":1784432124,"priority":1,"record_length":96,"hex_timestamp":"0000019f78716060"} 
[2026-07-19 09:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 09:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:09:10] 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-07-19 09:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814546688001,"66":25582,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814546688001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:09:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:09:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814546688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":136448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:09:10] local.INFO: GPS data processed {"connection_id":136448,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:09:10] local.INFO: Acknowledgment sent {"connection_id":136448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:09:19] local.INFO: TCP Data received {"connection_id":137391,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:09:19] local.INFO: Processing buffer {"connection_id":137391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:09:19] local.INFO: IMEI packet received {"connection_id":137391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 09:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":137391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:09:24] local.INFO: TCP Data received {"connection_id":137391,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:09:24] local.INFO: Processing buffer {"connection_id":137391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:09:24] local.INFO: IMEI packet received {"connection_id":137391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 09:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":137391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:09:25] local.INFO: TCP Data received {"connection_id":137391,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:09:25] local.INFO: Processing buffer {"connection_id":137391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:09:25] local.INFO: Packet analysis {"connection_id":137391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7873"} 
[2026-07-19 09:09:25] local.INFO: Extracted packet for processing {"connection_id":137391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7873"} 
[2026-07-19 09:09:25] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814513408001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:09: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-07-19 09:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784432252000,"timestamp_ms":1784432252000,"timestamp_seconds":1784432252,"priority":1,"record_length":96,"hex_timestamp":"0000019f78735460"} 
[2026-07-19 09:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:09: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-07-19 09: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":16,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-19 09:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":137391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":137391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":137391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814513408001,"66":2231,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 09:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814513408001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:09:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:09:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814513408001,"power":2231,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":137391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:09:25] local.INFO: GPS data processed {"connection_id":137391,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:09:25] local.INFO: Acknowledgment sent {"connection_id":137391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:09:32] local.INFO: TCP Data received {"connection_id":136450,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:09:32] local.INFO: Processing buffer {"connection_id":136450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:09:32] local.INFO: IMEI packet received {"connection_id":136450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":136450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:09:37] local.INFO: TCP Data received {"connection_id":136450,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:09:37] local.INFO: Processing buffer {"connection_id":136450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:09:37] local.INFO: IMEI packet received {"connection_id":136450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":136450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:09:38] local.INFO: TCP Data received {"connection_id":136450,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:09:38] local.INFO: Processing buffer {"connection_id":136450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:09:38] local.INFO: Packet analysis {"connection_id":136450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7871"} 
[2026-07-19 09:09:38] local.INFO: Extracted packet for processing {"connection_id":136450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7871"} 
[2026-07-19 09:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814546688001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:09: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-07-19 09:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784432124000,"timestamp_ms":1784432124000,"timestamp_seconds":1784432124,"priority":1,"record_length":96,"hex_timestamp":"0000019f78716060"} 
[2026-07-19 09:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 09:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814546688001,"66":25582,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814546688001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:09:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:09:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814546688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":136450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:09:38] local.INFO: GPS data processed {"connection_id":136450,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:09:38] local.INFO: Acknowledgment sent {"connection_id":136450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:09:56] local.INFO: TCP Data received {"connection_id":137391,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:09:56] local.INFO: Processing buffer {"connection_id":137391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:09:56] local.INFO: Packet analysis {"connection_id":137391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7873"} 
[2026-07-19 09:09:56] local.INFO: Extracted packet for processing {"connection_id":137391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7873"} 
[2026-07-19 09:09:56] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814513408001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:09: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-07-19 09:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784432252000,"timestamp_ms":1784432252000,"timestamp_seconds":1784432252,"priority":1,"record_length":96,"hex_timestamp":"0000019f78735460"} 
[2026-07-19 09:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:09:56] 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-07-19 09: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":16,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-19 09:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814513408001,"66":2231,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 09:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814513408001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:09:56] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:09:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814513408001,"power":2231,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":137391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:09:56] local.INFO: GPS data processed {"connection_id":137391,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:09:56] local.INFO: Acknowledgment sent {"connection_id":137391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:10:02] local.INFO: TCP Data received {"connection_id":136449,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:10:02] local.INFO: Processing buffer {"connection_id":136449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:10:02] local.INFO: IMEI packet received {"connection_id":136449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 09:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":136449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:10:09] local.INFO: TCP Data received {"connection_id":136450,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:10:09] local.INFO: Processing buffer {"connection_id":136450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:10:09] local.INFO: Packet analysis {"connection_id":136450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7871"} 
[2026-07-19 09:10:09] local.INFO: Extracted packet for processing {"connection_id":136450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7871"} 
[2026-07-19 09:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814546688001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:10: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-07-19 09:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784432124000,"timestamp_ms":1784432124000,"timestamp_seconds":1784432124,"priority":1,"record_length":96,"hex_timestamp":"0000019f78716060"} 
[2026-07-19 09:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 09:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:10: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-07-19 09:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814546688001,"66":25582,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814546688001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814546688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":136450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:10:09] local.INFO: GPS data processed {"connection_id":136450,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:10:09] local.INFO: Acknowledgment sent {"connection_id":136450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:10:19] local.INFO: TCP Data received {"connection_id":138802,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138802,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:10:19] local.INFO: Processing buffer {"connection_id":138802,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:10:19] local.INFO: IMEI packet received {"connection_id":138802,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 09:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":138802,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:10:24] local.INFO: TCP Data received {"connection_id":138802,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138802,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:10:24] local.INFO: Processing buffer {"connection_id":138802,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:10:24] local.INFO: IMEI packet received {"connection_id":138802,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 09:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":138802,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:10:25] local.INFO: TCP Data received {"connection_id":138802,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:10:25] local.INFO: Processing buffer {"connection_id":138802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:10:25] local.INFO: Packet analysis {"connection_id":138802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7873"} 
[2026-07-19 09:10:25] local.INFO: Extracted packet for processing {"connection_id":138802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7873"} 
[2026-07-19 09:10:25] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814513408001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:10: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-07-19 09:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784432252000,"timestamp_ms":1784432252000,"timestamp_seconds":1784432252,"priority":1,"record_length":96,"hex_timestamp":"0000019f78735460"} 
[2026-07-19 09:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:10: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-07-19 09: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":16,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-19 09:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":138802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":138802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":138802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:10:25] 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-07-19 09:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814513408001,"66":2231,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"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-07-19 09:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814513408001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:10:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:10:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814513408001,"power":2231,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":138802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:10:25] local.INFO: GPS data processed {"connection_id":138802,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:10:25] local.INFO: Acknowledgment sent {"connection_id":138802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:10:27] local.INFO: TCP Data received {"connection_id":137392,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137392,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:10:27] local.INFO: Processing buffer {"connection_id":137392,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:10:27] local.INFO: IMEI packet received {"connection_id":137392,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 09:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":137392,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:10:32] local.INFO: TCP Data received {"connection_id":136328,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:10:32] local.INFO: Processing buffer {"connection_id":136328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:10:32] local.INFO: IMEI packet received {"connection_id":136328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":136328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:10:37] local.INFO: TCP Data received {"connection_id":136328,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:10:37] local.INFO: Processing buffer {"connection_id":136328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:10:37] local.INFO: IMEI packet received {"connection_id":136328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":136328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:10:38] local.INFO: TCP Data received {"connection_id":136328,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:10:38] local.INFO: Processing buffer {"connection_id":136328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78716060012d34c48006aa3da8001000aa2b..."} 
[2026-07-19 09:10:38] local.INFO: Packet analysis {"connection_id":136328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7871"} 
[2026-07-19 09:10:38] local.INFO: Extracted packet for processing {"connection_id":136328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7871"} 
[2026-07-19 09:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814546688001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:10: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-07-19 09:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784432124000,"timestamp_ms":1784432124000,"timestamp_seconds":1784432124,"priority":1,"record_length":96,"hex_timestamp":"0000019f78716060"} 
[2026-07-19 09:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 09:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:10: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-07-19 09:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814546688001,"66":25582,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814546688001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814546688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":136328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:10:38] local.INFO: GPS data processed {"connection_id":136328,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:10:38] local.INFO: Acknowledgment sent {"connection_id":136328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:10:56] local.INFO: TCP Data received {"connection_id":138802,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:10:56] local.INFO: Processing buffer {"connection_id":138802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:10:56] local.INFO: Packet analysis {"connection_id":138802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7873"} 
[2026-07-19 09:10:56] local.INFO: Extracted packet for processing {"connection_id":138802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7873"} 
[2026-07-19 09:10:56] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814513408001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:10: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-07-19 09:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784432252000,"timestamp_ms":1784432252000,"timestamp_seconds":1784432252,"priority":1,"record_length":96,"hex_timestamp":"0000019f78735460"} 
[2026-07-19 09:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:10:56] 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-07-19 09: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":16,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-19 09:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":138802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":138802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":138802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:10:56] 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-07-19 09:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814513408001,"66":2231,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"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-07-19 09:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814513408001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:10:56] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814513408001,"power":2231,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":138802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:10:56] local.INFO: GPS data processed {"connection_id":138802,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:10:56] local.INFO: Acknowledgment sent {"connection_id":138802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:11:10] local.INFO: TCP Data received {"connection_id":136328,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:11:10] local.INFO: Processing buffer {"connection_id":136328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:11:10] local.INFO: Packet analysis {"connection_id":136328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7875"} 
[2026-07-19 09:11:10] local.INFO: Extracted packet for processing {"connection_id":136328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7875"} 
[2026-07-19 09:11:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814623744001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:11: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-07-19 09:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784432425000,"timestamp_ms":1784432425000,"timestamp_seconds":1784432425,"priority":1,"record_length":96,"hex_timestamp":"0000019f7875f828"} 
[2026-07-19 09:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 09:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:11: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-07-19 09:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814623744001,"66":25582,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814623744001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:11:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:11:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814623744001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":136328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:11:10] local.INFO: GPS data processed {"connection_id":136328,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:11:10] local.INFO: Acknowledgment sent {"connection_id":136328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:11:19] local.INFO: TCP Data received {"connection_id":136329,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:11:19] local.INFO: Processing buffer {"connection_id":136329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:11:19] local.INFO: IMEI packet received {"connection_id":136329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 09:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":136329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:11:24] local.INFO: TCP Data received {"connection_id":136329,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:11:24] local.INFO: Processing buffer {"connection_id":136329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:11:24] local.INFO: IMEI packet received {"connection_id":136329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 09:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":136329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:11:25] local.INFO: TCP Data received {"connection_id":136329,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:11:25] local.INFO: Processing buffer {"connection_id":136329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:11:25] local.INFO: Packet analysis {"connection_id":136329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7873"} 
[2026-07-19 09:11:25] local.INFO: Extracted packet for processing {"connection_id":136329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7873"} 
[2026-07-19 09:11:25] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814513408001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:11: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-07-19 09:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784432252000,"timestamp_ms":1784432252000,"timestamp_seconds":1784432252,"priority":1,"record_length":96,"hex_timestamp":"0000019f78735460"} 
[2026-07-19 09:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:11: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-07-19 09: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":16,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-19 09:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:11:25] 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-07-19 09:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814513408001,"66":2231,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"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-07-19 09:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814513408001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:11:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:11:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814513408001,"power":2231,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":136329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:11:25] local.INFO: GPS data processed {"connection_id":136329,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:11:25] local.INFO: Acknowledgment sent {"connection_id":136329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:11:37] local.INFO: TCP Data received {"connection_id":136451,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:11:37] local.INFO: Processing buffer {"connection_id":136451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:11:37] local.INFO: IMEI packet received {"connection_id":136451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":136451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:11:42] local.INFO: TCP Data received {"connection_id":136451,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:11:42] local.INFO: Processing buffer {"connection_id":136451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:11:42] local.INFO: IMEI packet received {"connection_id":136451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":136451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:11:43] local.INFO: TCP Data received {"connection_id":136451,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:11:43] local.INFO: Processing buffer {"connection_id":136451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:11:43] local.INFO: Packet analysis {"connection_id":136451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7875"} 
[2026-07-19 09:11:43] local.INFO: Extracted packet for processing {"connection_id":136451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7875"} 
[2026-07-19 09:11:43] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814623744001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:11: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-07-19 09:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784432425000,"timestamp_ms":1784432425000,"timestamp_seconds":1784432425,"priority":1,"record_length":96,"hex_timestamp":"0000019f7875f828"} 
[2026-07-19 09:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 09:11:43] 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-07-19 09:11:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:11:43] 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-07-19 09:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814623744001,"66":25582,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814623744001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:11:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:11:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814623744001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":136451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:11:43] local.INFO: GPS data processed {"connection_id":136451,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:11:43] local.INFO: Acknowledgment sent {"connection_id":136451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:11:47] local.INFO: TCP Data received {"connection_id":136451,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:11:47] local.INFO: Processing buffer {"connection_id":136451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:11:47] local.INFO: Packet analysis {"connection_id":136451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7875"} 
[2026-07-19 09:11:47] local.INFO: Extracted packet for processing {"connection_id":136451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7875"} 
[2026-07-19 09:11:47] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814623744001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 09:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784432425000,"timestamp_ms":1784432425000,"timestamp_seconds":1784432425,"priority":1,"record_length":96,"hex_timestamp":"0000019f7875f828"} 
[2026-07-19 09:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 09:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814623744001,"66":25582,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814623744001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:11:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:11:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814623744001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":136451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:11:47] local.INFO: GPS data processed {"connection_id":136451,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:11:47] local.INFO: Acknowledgment sent {"connection_id":136451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:11:56] local.INFO: TCP Data received {"connection_id":136329,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:11:56] local.INFO: Processing buffer {"connection_id":136329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:11:56] local.INFO: Packet analysis {"connection_id":136329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7873"} 
[2026-07-19 09:11:56] local.INFO: Extracted packet for processing {"connection_id":136329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7873"} 
[2026-07-19 09:11:56] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814513408001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:11: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-07-19 09:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784432252000,"timestamp_ms":1784432252000,"timestamp_seconds":1784432252,"priority":1,"record_length":96,"hex_timestamp":"0000019f78735460"} 
[2026-07-19 09:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:11:56] 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-07-19 09: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":16,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-19 09:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:11:56] 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-07-19 09:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814513408001,"66":2231,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"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-07-19 09:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814513408001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:11:56] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814513408001,"power":2231,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":136329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:11:56] local.INFO: GPS data processed {"connection_id":136329,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:11:56] local.INFO: Acknowledgment sent {"connection_id":136329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:12:24] local.INFO: TCP Data received {"connection_id":137393,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:12:24] local.INFO: Processing buffer {"connection_id":137393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:12:24] local.INFO: IMEI packet received {"connection_id":137393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 09:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":137393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:12:29] local.INFO: TCP Data received {"connection_id":137393,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:12:29] local.INFO: Processing buffer {"connection_id":137393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:12:29] local.INFO: IMEI packet received {"connection_id":137393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 09:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":137393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:12:29] local.INFO: TCP Data received {"connection_id":137393,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:12:29] local.INFO: Processing buffer {"connection_id":137393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:12:29] local.INFO: Packet analysis {"connection_id":137393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7873"} 
[2026-07-19 09:12:29] local.INFO: Extracted packet for processing {"connection_id":137393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7873"} 
[2026-07-19 09:12:29] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 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-07-19 09:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814513408001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:12:29] 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-07-19 09:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784432252000,"timestamp_ms":1784432252000,"timestamp_seconds":1784432252,"priority":1,"record_length":96,"hex_timestamp":"0000019f78735460"} 
[2026-07-19 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-07-19 09:12:29] 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-07-19 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":16,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-19 09:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 09:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":137393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":137393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":137393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:12:29] 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-07-19 09:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814513408001,"66":2231,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"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-07-19 09:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814513408001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:12:29] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:12:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814513408001,"power":2231,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":137393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:12:29] local.INFO: GPS data processed {"connection_id":137393,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:12:29] local.INFO: Acknowledgment sent {"connection_id":137393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:12:32] local.INFO: TCP Data received {"connection_id":136452,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:12:32] local.INFO: Processing buffer {"connection_id":136452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:12:32] local.INFO: IMEI packet received {"connection_id":136452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":136452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:12:34] local.INFO: TCP Data received {"connection_id":137393,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:12:34] local.INFO: Processing buffer {"connection_id":137393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78735460012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:12:34] local.INFO: Packet analysis {"connection_id":137393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7873"} 
[2026-07-19 09:12:34] local.INFO: Extracted packet for processing {"connection_id":137393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7873"} 
[2026-07-19 09:12:34] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814513408001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:12: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-07-19 09:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784432252000,"timestamp_ms":1784432252000,"timestamp_seconds":1784432252,"priority":1,"record_length":96,"hex_timestamp":"0000019f78735460"} 
[2026-07-19 09:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:12:34] 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-07-19 09: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":16,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-19 09:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":137393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":137393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":137393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:12:34] 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-07-19 09:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814513408001,"66":2231,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"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-07-19 09:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814513408001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:12:34] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:12:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814513408001,"power":2231,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":137393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:12:34] local.INFO: GPS data processed {"connection_id":137393,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:12:34] local.INFO: Acknowledgment sent {"connection_id":137393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:12:37] local.INFO: TCP Data received {"connection_id":136452,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:12:37] local.INFO: Processing buffer {"connection_id":136452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:12:37] local.INFO: IMEI packet received {"connection_id":136452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":136452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:12:39] local.INFO: TCP Data received {"connection_id":136452,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:12:39] local.INFO: Processing buffer {"connection_id":136452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:12:39] local.INFO: Packet analysis {"connection_id":136452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7875"} 
[2026-07-19 09:12:39] local.INFO: Extracted packet for processing {"connection_id":136452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7875"} 
[2026-07-19 09:12:39] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814623744001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:12: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-07-19 09:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784432425000,"timestamp_ms":1784432425000,"timestamp_seconds":1784432425,"priority":1,"record_length":96,"hex_timestamp":"0000019f7875f828"} 
[2026-07-19 09:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 09:12:39] 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-07-19 09:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:12:39] 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-07-19 09:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814623744001,"66":25582,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814623744001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:12:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:12:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814623744001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":136452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:12:39] local.INFO: GPS data processed {"connection_id":136452,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:12:39] local.INFO: Acknowledgment sent {"connection_id":136452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:13:10] local.INFO: TCP Data received {"connection_id":136452,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:13:10] local.INFO: Processing buffer {"connection_id":136452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:13:10] local.INFO: Packet analysis {"connection_id":136452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7875"} 
[2026-07-19 09:13:10] local.INFO: Extracted packet for processing {"connection_id":136452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7875"} 
[2026-07-19 09:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814623744001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:13: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-07-19 09:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784432425000,"timestamp_ms":1784432425000,"timestamp_seconds":1784432425,"priority":1,"record_length":96,"hex_timestamp":"0000019f7875f828"} 
[2026-07-19 09:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 09:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:13:10] 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-07-19 09:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814623744001,"66":25582,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814623744001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:13:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814623744001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":136452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:13:10] local.INFO: GPS data processed {"connection_id":136452,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:13:10] local.INFO: Acknowledgment sent {"connection_id":136452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:13:19] local.INFO: TCP Data received {"connection_id":137394,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:13:19] local.INFO: Processing buffer {"connection_id":137394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:13:19] local.INFO: IMEI packet received {"connection_id":137394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 09:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":137394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:13:24] local.INFO: TCP Data received {"connection_id":137394,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:13:24] local.INFO: Processing buffer {"connection_id":137394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:13:24] local.INFO: IMEI packet received {"connection_id":137394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 09:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":137394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:13:25] local.INFO: TCP Data received {"connection_id":137394,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7877ec28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7877ec28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:13:25] local.INFO: Processing buffer {"connection_id":137394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7877ec28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:13:25] local.INFO: Packet analysis {"connection_id":137394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7877"} 
[2026-07-19 09:13:25] local.INFO: Extracted packet for processing {"connection_id":137394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7877"} 
[2026-07-19 09:13:25] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814656512001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:13: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-07-19 09:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784432553000,"timestamp_ms":1784432553000,"timestamp_seconds":1784432553,"priority":1,"record_length":96,"hex_timestamp":"0000019f7877ec28"} 
[2026-07-19 09:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:13:25] 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-07-19 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-19 09:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":137394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":137394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":137394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:13:25] 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-07-19 09:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814656512001,"66":2242,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"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-07-19 09:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814656512001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:13:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:13:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814656512001,"power":2242,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":137394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:13:25] local.INFO: GPS data processed {"connection_id":137394,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:13:25] local.INFO: Acknowledgment sent {"connection_id":137394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:13:32] local.INFO: TCP Data received {"connection_id":138806,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:13:32] local.INFO: Processing buffer {"connection_id":138806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:13:32] local.INFO: IMEI packet received {"connection_id":138806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":138806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:13:37] local.INFO: TCP Data received {"connection_id":138806,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:13:37] local.INFO: Processing buffer {"connection_id":138806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:13:37] local.INFO: IMEI packet received {"connection_id":138806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":138806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:13:38] local.INFO: TCP Data received {"connection_id":138806,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:13:38] local.INFO: Processing buffer {"connection_id":138806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:13:38] local.INFO: Packet analysis {"connection_id":138806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7875"} 
[2026-07-19 09:13:38] local.INFO: Extracted packet for processing {"connection_id":138806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7875"} 
[2026-07-19 09:13:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814623744001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:13: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-07-19 09:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784432425000,"timestamp_ms":1784432425000,"timestamp_seconds":1784432425,"priority":1,"record_length":96,"hex_timestamp":"0000019f7875f828"} 
[2026-07-19 09:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 09:13:38] 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-07-19 09: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-07-19 09:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:13: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-07-19 09:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814623744001,"66":25582,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814623744001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:13:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:13:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814623744001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":138806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:13:38] local.INFO: GPS data processed {"connection_id":138806,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:13:38] local.INFO: Acknowledgment sent {"connection_id":138806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:13:56] local.INFO: TCP Data received {"connection_id":137394,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7877ec28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7877ec28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:13:56] local.INFO: Processing buffer {"connection_id":137394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7877ec28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:13:56] local.INFO: Packet analysis {"connection_id":137394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7877"} 
[2026-07-19 09:13:56] local.INFO: Extracted packet for processing {"connection_id":137394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7877"} 
[2026-07-19 09:13:56] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 09:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814656512001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:13: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-07-19 09:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784432553000,"timestamp_ms":1784432553000,"timestamp_seconds":1784432553,"priority":1,"record_length":96,"hex_timestamp":"0000019f7877ec28"} 
[2026-07-19 09:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:13:56] 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-07-19 09:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-19 09:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:13:56] 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-07-19 09:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814656512001,"66":2242,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"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-07-19 09:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814656512001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:13:56] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:13:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814656512001,"power":2242,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":137394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:13:56] local.INFO: GPS data processed {"connection_id":137394,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:13:56] local.INFO: Acknowledgment sent {"connection_id":137394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:14:10] local.INFO: TCP Data received {"connection_id":138806,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:14:10] local.INFO: Processing buffer {"connection_id":138806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:14:10] local.INFO: Packet analysis {"connection_id":138806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7875"} 
[2026-07-19 09:14:10] local.INFO: Extracted packet for processing {"connection_id":138806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7875"} 
[2026-07-19 09:14:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814623744001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:14: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-07-19 09:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784432425000,"timestamp_ms":1784432425000,"timestamp_seconds":1784432425,"priority":1,"record_length":96,"hex_timestamp":"0000019f7875f828"} 
[2026-07-19 09:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 09:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:14:10] 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-07-19 09:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814623744001,"66":25582,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814623744001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:14:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:14:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814623744001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":138806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:14:10] local.INFO: GPS data processed {"connection_id":138806,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:14:10] local.INFO: Acknowledgment sent {"connection_id":138806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:14:19] local.INFO: TCP Data received {"connection_id":136453,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:14:19] local.INFO: Processing buffer {"connection_id":136453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:14:19] local.INFO: IMEI packet received {"connection_id":136453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 09:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":136453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:14:24] local.INFO: TCP Data received {"connection_id":136453,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:14:24] local.INFO: Processing buffer {"connection_id":136453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:14:24] local.INFO: IMEI packet received {"connection_id":136453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 09:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":136453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:14:25] local.INFO: TCP Data received {"connection_id":136453,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7877ec28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7877ec28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:14:25] local.INFO: Processing buffer {"connection_id":136453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7877ec28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:14:25] local.INFO: Packet analysis {"connection_id":136453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7877"} 
[2026-07-19 09:14:25] local.INFO: Extracted packet for processing {"connection_id":136453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7877"} 
[2026-07-19 09:14:25] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 09:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814656512001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:14: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-07-19 09:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784432553000,"timestamp_ms":1784432553000,"timestamp_seconds":1784432553,"priority":1,"record_length":96,"hex_timestamp":"0000019f7877ec28"} 
[2026-07-19 09:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:14:25] 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-07-19 09:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-19 09:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:14:25] 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-07-19 09:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814656512001,"66":2242,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"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-07-19 09:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814656512001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:14:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:14:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814656512001,"power":2242,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":136453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:14:25] local.INFO: GPS data processed {"connection_id":136453,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:14:25] local.INFO: Acknowledgment sent {"connection_id":136453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:14:32] local.INFO: TCP Data received {"connection_id":136331,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:14:32] local.INFO: Processing buffer {"connection_id":136331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:14:32] local.INFO: IMEI packet received {"connection_id":136331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":136331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:14:37] local.INFO: TCP Data received {"connection_id":136331,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:14:37] local.INFO: Processing buffer {"connection_id":136331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:14:37] local.INFO: IMEI packet received {"connection_id":136331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":136331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:14:38] local.INFO: TCP Data received {"connection_id":136331,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:14:38] local.INFO: Processing buffer {"connection_id":136331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:14:38] local.INFO: Packet analysis {"connection_id":136331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7875"} 
[2026-07-19 09:14:38] local.INFO: Extracted packet for processing {"connection_id":136331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7875"} 
[2026-07-19 09:14:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814623744001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:14: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-07-19 09:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784432425000,"timestamp_ms":1784432425000,"timestamp_seconds":1784432425,"priority":1,"record_length":96,"hex_timestamp":"0000019f7875f828"} 
[2026-07-19 09:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 09:14:39] 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-07-19 09:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:14:39] 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-07-19 09:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814623744001,"66":25582,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814623744001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:14:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:14:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814623744001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":136331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:14:39] local.INFO: GPS data processed {"connection_id":136331,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:14:39] local.INFO: Acknowledgment sent {"connection_id":136331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:14:55] local.INFO: TCP Data received {"connection_id":136453,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7877ec28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7877ec28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:14:55] local.INFO: Processing buffer {"connection_id":136453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7877ec28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:14:55] local.INFO: Packet analysis {"connection_id":136453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7877"} 
[2026-07-19 09:14:55] local.INFO: Extracted packet for processing {"connection_id":136453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7877"} 
[2026-07-19 09:14:55] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 09:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814656512001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:14:55] 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-07-19 09:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784432553000,"timestamp_ms":1784432553000,"timestamp_seconds":1784432553,"priority":1,"record_length":96,"hex_timestamp":"0000019f7877ec28"} 
[2026-07-19 09:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:14: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-07-19 09:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-19 09:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":136453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":136453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":136453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:14:55] 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-07-19 09:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814656512001,"66":2242,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"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-07-19 09:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814656512001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:14:55] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:14:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814656512001,"power":2242,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":136453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:14:55] local.INFO: GPS data processed {"connection_id":136453,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:14:55] local.INFO: Acknowledgment sent {"connection_id":136453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:15:10] local.INFO: TCP Data received {"connection_id":136331,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:15:10] local.INFO: Processing buffer {"connection_id":136331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:15:10] local.INFO: Packet analysis {"connection_id":136331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7875"} 
[2026-07-19 09:15:10] local.INFO: Extracted packet for processing {"connection_id":136331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7875"} 
[2026-07-19 09:15:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814623744001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:15: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-07-19 09:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784432425000,"timestamp_ms":1784432425000,"timestamp_seconds":1784432425,"priority":1,"record_length":96,"hex_timestamp":"0000019f7875f828"} 
[2026-07-19 09:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 09:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:15:10] 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-07-19 09:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814623744001,"66":25582,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814623744001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:15:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:15:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814623744001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":136331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:15:10] local.INFO: GPS data processed {"connection_id":136331,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:15:10] local.INFO: Acknowledgment sent {"connection_id":136331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:15:19] local.INFO: TCP Data received {"connection_id":136332,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136332,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:15:19] local.INFO: Processing buffer {"connection_id":136332,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:15:19] local.INFO: IMEI packet received {"connection_id":136332,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 09:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":136332,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:15:24] local.INFO: TCP Data received {"connection_id":136332,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136332,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:15:24] local.INFO: Processing buffer {"connection_id":136332,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 09:15:24] local.INFO: IMEI packet received {"connection_id":136332,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 09:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":136332,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:15:25] local.INFO: TCP Data received {"connection_id":136332,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7877ec28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7877ec28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:15:25] local.INFO: Processing buffer {"connection_id":136332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7877ec28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:15:25] local.INFO: Packet analysis {"connection_id":136332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7877"} 
[2026-07-19 09:15:25] local.INFO: Extracted packet for processing {"connection_id":136332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7877"} 
[2026-07-19 09:15:25] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814656512001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:15: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-07-19 09:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784432553000,"timestamp_ms":1784432553000,"timestamp_seconds":1784432553,"priority":1,"record_length":96,"hex_timestamp":"0000019f7877ec28"} 
[2026-07-19 09:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:15:25] 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-07-19 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-19 09:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:15:25] 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-07-19 09:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814656512001,"66":2242,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"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-07-19 09:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814656512001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:15:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:15:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814656512001,"power":2242,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":136332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:15:25] local.INFO: GPS data processed {"connection_id":136332,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:15:25] local.INFO: Acknowledgment sent {"connection_id":136332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:15:31] local.INFO: TCP Data received {"connection_id":136454,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:15:31] local.INFO: Processing buffer {"connection_id":136454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:15:31] local.INFO: IMEI packet received {"connection_id":136454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":136454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:15:38] local.INFO: TCP Data received {"connection_id":136454,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:15:38] local.INFO: Processing buffer {"connection_id":136454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:15:38] local.INFO: IMEI packet received {"connection_id":136454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":136454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:15:39] local.INFO: TCP Data received {"connection_id":136454,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:15:39] local.INFO: Processing buffer {"connection_id":136454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7875f828012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:15:39] local.INFO: Packet analysis {"connection_id":136454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7875"} 
[2026-07-19 09:15:39] local.INFO: Extracted packet for processing {"connection_id":136454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7875"} 
[2026-07-19 09:15:39] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:15: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-07-19 09:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814623744001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:15: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-07-19 09:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784432425000,"timestamp_ms":1784432425000,"timestamp_seconds":1784432425,"priority":1,"record_length":96,"hex_timestamp":"0000019f7875f828"} 
[2026-07-19 09:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:15: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":238,"data_length":795,"current_offset":136} 
[2026-07-19 09:15:39] 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-07-19 09:15: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-07-19 09:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:15:39] 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-07-19 09:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814623744001,"66":25582,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814623744001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:15:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:15:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814623744001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":136454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:15:39] local.INFO: GPS data processed {"connection_id":136454,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:15:39] local.INFO: Acknowledgment sent {"connection_id":136454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:15:52] local.INFO: TCP Data received {"connection_id":137395,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:15:52] local.INFO: Processing buffer {"connection_id":137395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:15:52] local.INFO: IMEI packet received {"connection_id":137395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 09:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":137395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:15:55] local.INFO: TCP Data received {"connection_id":136332,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7877ec28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7877ec28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:15:55] local.INFO: Processing buffer {"connection_id":136332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7877ec28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 09:15:55] local.INFO: Packet analysis {"connection_id":136332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7877"} 
[2026-07-19 09:15:55] local.INFO: Extracted packet for processing {"connection_id":136332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7877"} 
[2026-07-19 09:15:55] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 09:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814656512001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 09:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 09:15:55] 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-07-19 09:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784432553000,"timestamp_ms":1784432553000,"timestamp_seconds":1784432553,"priority":1,"record_length":96,"hex_timestamp":"0000019f7877ec28"} 
[2026-07-19 09:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:15: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-07-19 09:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-19 09:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":136332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":136332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":136332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 09:15:55] 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-07-19 09:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 09:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 09:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814656512001,"66":2242,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"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-07-19 09:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 09:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 09:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814656512001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:15:55] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 09:15:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 09:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 09:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814656512001,"power":2242,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 09:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":136332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:15:55] local.INFO: GPS data processed {"connection_id":136332,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:15:55] local.INFO: Acknowledgment sent {"connection_id":136332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:16:10] local.INFO: TCP Data received {"connection_id":136454,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:16:10] local.INFO: Processing buffer {"connection_id":136454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:16:10] local.INFO: Packet analysis {"connection_id":136454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f787a"} 
[2026-07-19 09:16:10] local.INFO: Extracted packet for processing {"connection_id":136454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f787a"} 
[2026-07-19 09:16:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814700800001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:16: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-07-19 09:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784432726000,"timestamp_ms":1784432726000,"timestamp_seconds":1784432726,"priority":1,"record_length":96,"hex_timestamp":"0000019f787a8ff0"} 
[2026-07-19 09:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 09:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:16:10] 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-07-19 09:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814700800001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814700800001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:16:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:16:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814700800001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":136454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:16:10] local.INFO: GPS data processed {"connection_id":136454,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:16:10] local.INFO: Acknowledgment sent {"connection_id":136454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:16:27] local.INFO: TCP Data received {"connection_id":137396,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:16:27] local.INFO: Processing buffer {"connection_id":137396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:16:27] local.INFO: IMEI packet received {"connection_id":137396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 09:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":137396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:16:37] local.INFO: TCP Data received {"connection_id":137397,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:16:37] local.INFO: Processing buffer {"connection_id":137397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:16:37] local.INFO: IMEI packet received {"connection_id":137397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":137397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:16:42] local.INFO: TCP Data received {"connection_id":137397,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:16:42] local.INFO: Processing buffer {"connection_id":137397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:16:42] local.INFO: IMEI packet received {"connection_id":137397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":137397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:16:43] local.INFO: TCP Data received {"connection_id":137397,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:16:43] local.INFO: Processing buffer {"connection_id":137397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:16:43] local.INFO: Packet analysis {"connection_id":137397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f787a"} 
[2026-07-19 09:16:43] local.INFO: Extracted packet for processing {"connection_id":137397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f787a"} 
[2026-07-19 09:16:43] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:16: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-07-19 09:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814700800001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:16: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-07-19 09:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784432726000,"timestamp_ms":1784432726000,"timestamp_seconds":1784432726,"priority":1,"record_length":96,"hex_timestamp":"0000019f787a8ff0"} 
[2026-07-19 09:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 09:16:43] 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-07-19 09:16: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-07-19 09:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:16:43] 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-07-19 09:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814700800001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814700800001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:16:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:16:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814700800001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":137397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:16:43] local.INFO: GPS data processed {"connection_id":137397,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:16:43] local.INFO: Acknowledgment sent {"connection_id":137397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:16:48] local.INFO: TCP Data received {"connection_id":137397,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:16:48] local.INFO: Processing buffer {"connection_id":137397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:16:48] local.INFO: Packet analysis {"connection_id":137397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f787a"} 
[2026-07-19 09:16:48] local.INFO: Extracted packet for processing {"connection_id":137397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f787a"} 
[2026-07-19 09:16:48] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814700800001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 09:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784432726000,"timestamp_ms":1784432726000,"timestamp_seconds":1784432726,"priority":1,"record_length":96,"hex_timestamp":"0000019f787a8ff0"} 
[2026-07-19 09:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 09:16:48] 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-07-19 09:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":137397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":137397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":137397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814700800001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814700800001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:16:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:16:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814700800001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":137397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:16:48] local.INFO: GPS data processed {"connection_id":137397,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:16:48] local.INFO: Acknowledgment sent {"connection_id":137397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:17:32] local.INFO: TCP Data received {"connection_id":137398,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:17:32] local.INFO: Processing buffer {"connection_id":137398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:17:32] local.INFO: IMEI packet received {"connection_id":137398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":137398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:17:37] local.INFO: TCP Data received {"connection_id":137398,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:17:37] local.INFO: Processing buffer {"connection_id":137398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:17:37] local.INFO: IMEI packet received {"connection_id":137398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":137398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:17:38] local.INFO: TCP Data received {"connection_id":137398,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:17:38] local.INFO: Processing buffer {"connection_id":137398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:17:38] local.INFO: Packet analysis {"connection_id":137398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f787a"} 
[2026-07-19 09:17:38] local.INFO: Extracted packet for processing {"connection_id":137398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f787a"} 
[2026-07-19 09:17:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814700800001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:17: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-07-19 09:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784432726000,"timestamp_ms":1784432726000,"timestamp_seconds":1784432726,"priority":1,"record_length":96,"hex_timestamp":"0000019f787a8ff0"} 
[2026-07-19 09:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 09:17:38] 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-07-19 09:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:17: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-07-19 09:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814700800001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814700800001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:17:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814700800001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":137398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:17:38] local.INFO: GPS data processed {"connection_id":137398,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:17:38] local.INFO: Acknowledgment sent {"connection_id":137398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:18:10] local.INFO: TCP Data received {"connection_id":137398,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:18:10] local.INFO: Processing buffer {"connection_id":137398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:18:10] local.INFO: Packet analysis {"connection_id":137398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f787a"} 
[2026-07-19 09:18:10] local.INFO: Extracted packet for processing {"connection_id":137398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f787a"} 
[2026-07-19 09:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 09:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814700800001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:18: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-07-19 09:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784432726000,"timestamp_ms":1784432726000,"timestamp_seconds":1784432726,"priority":1,"record_length":96,"hex_timestamp":"0000019f787a8ff0"} 
[2026-07-19 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-07-19 09:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 09:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 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-07-19 09:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:18:10] 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-07-19 09:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814700800001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814700800001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:18:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814700800001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":137398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:18:10] local.INFO: GPS data processed {"connection_id":137398,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:18:10] local.INFO: Acknowledgment sent {"connection_id":137398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:18:32] local.INFO: TCP Data received {"connection_id":136456,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:18:32] local.INFO: Processing buffer {"connection_id":136456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:18:32] local.INFO: IMEI packet received {"connection_id":136456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":136456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:18:37] local.INFO: TCP Data received {"connection_id":136456,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:18:37] local.INFO: Processing buffer {"connection_id":136456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:18:37] local.INFO: IMEI packet received {"connection_id":136456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":136456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:18:38] local.INFO: TCP Data received {"connection_id":136456,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:18:38] local.INFO: Processing buffer {"connection_id":136456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:18:38] local.INFO: Packet analysis {"connection_id":136456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f787a"} 
[2026-07-19 09:18:38] local.INFO: Extracted packet for processing {"connection_id":136456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f787a"} 
[2026-07-19 09:18:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814700800001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:18: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-07-19 09:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784432726000,"timestamp_ms":1784432726000,"timestamp_seconds":1784432726,"priority":1,"record_length":96,"hex_timestamp":"0000019f787a8ff0"} 
[2026-07-19 09:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 09:18:38] 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-07-19 09:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:18: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-07-19 09:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814700800001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814700800001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:18:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:18:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814700800001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":136456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:18:38] local.INFO: GPS data processed {"connection_id":136456,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:18:38] local.INFO: Acknowledgment sent {"connection_id":136456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:19:09] local.INFO: TCP Data received {"connection_id":136456,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:19:09] local.INFO: Processing buffer {"connection_id":136456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:19:09] local.INFO: Packet analysis {"connection_id":136456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f787a"} 
[2026-07-19 09:19:09] local.INFO: Extracted packet for processing {"connection_id":136456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f787a"} 
[2026-07-19 09:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814700800001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:19: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-07-19 09:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784432726000,"timestamp_ms":1784432726000,"timestamp_seconds":1784432726,"priority":1,"record_length":96,"hex_timestamp":"0000019f787a8ff0"} 
[2026-07-19 09:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 09:19: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-07-19 09:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:19: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-07-19 09:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814700800001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814700800001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:19:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814700800001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":136456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:19:09] local.INFO: GPS data processed {"connection_id":136456,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:19:09] local.INFO: Acknowledgment sent {"connection_id":136456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:19:31] local.INFO: TCP Data received {"connection_id":138808,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:19:31] local.INFO: Processing buffer {"connection_id":138808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:19:31] local.INFO: IMEI packet received {"connection_id":138808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":138808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:19:37] local.INFO: TCP Data received {"connection_id":138808,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:19:37] local.INFO: Processing buffer {"connection_id":138808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:19:37] local.INFO: IMEI packet received {"connection_id":138808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":138808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:19:38] local.INFO: TCP Data received {"connection_id":138808,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:19:38] local.INFO: Processing buffer {"connection_id":138808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:19:38] local.INFO: Packet analysis {"connection_id":138808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f787a"} 
[2026-07-19 09:19:38] local.INFO: Extracted packet for processing {"connection_id":138808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f787a"} 
[2026-07-19 09:19:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814700800001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:19: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-07-19 09:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784432726000,"timestamp_ms":1784432726000,"timestamp_seconds":1784432726,"priority":1,"record_length":96,"hex_timestamp":"0000019f787a8ff0"} 
[2026-07-19 09:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 09:19:38] 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-07-19 09:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814700800001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 09:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814700800001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:19:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:19:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814700800001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":138808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:19:38] local.INFO: GPS data processed {"connection_id":138808,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:19:38] local.INFO: Acknowledgment sent {"connection_id":138808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:20:09] local.INFO: TCP Data received {"connection_id":138808,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:20:09] local.INFO: Processing buffer {"connection_id":138808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:20:09] local.INFO: Packet analysis {"connection_id":138808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f787a"} 
[2026-07-19 09:20:09] local.INFO: Extracted packet for processing {"connection_id":138808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f787a"} 
[2026-07-19 09:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814700800001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:20: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-07-19 09:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784432726000,"timestamp_ms":1784432726000,"timestamp_seconds":1784432726,"priority":1,"record_length":96,"hex_timestamp":"0000019f787a8ff0"} 
[2026-07-19 09:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 09:20: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-07-19 09:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814700800001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 09:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814700800001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814700800001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":138808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:20:09] local.INFO: GPS data processed {"connection_id":138808,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:20:09] local.INFO: Acknowledgment sent {"connection_id":138808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:20:31] local.INFO: TCP Data received {"connection_id":137399,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:20:31] local.INFO: Processing buffer {"connection_id":137399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:20:31] local.INFO: IMEI packet received {"connection_id":137399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":137399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:20:37] local.INFO: TCP Data received {"connection_id":137399,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:20:37] local.INFO: Processing buffer {"connection_id":137399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:20:37] local.INFO: IMEI packet received {"connection_id":137399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":137399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:20:38] local.INFO: TCP Data received {"connection_id":137399,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:20:38] local.INFO: Processing buffer {"connection_id":137399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f787a8ff0012d34c48006aa3da8001000aa29..."} 
[2026-07-19 09:20:38] local.INFO: Packet analysis {"connection_id":137399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f787a"} 
[2026-07-19 09:20:38] local.INFO: Extracted packet for processing {"connection_id":137399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f787a"} 
[2026-07-19 09:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814700800001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:20: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-07-19 09:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784432726000,"timestamp_ms":1784432726000,"timestamp_seconds":1784432726,"priority":1,"record_length":96,"hex_timestamp":"0000019f787a8ff0"} 
[2026-07-19 09:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 09:20:38] 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-07-19 09: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-07-19 09:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:20:38] 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-07-19 09:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814700800001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814700800001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814700800001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":137399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:20:38] local.INFO: GPS data processed {"connection_id":137399,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:20:38] local.INFO: Acknowledgment sent {"connection_id":137399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:21:09] local.INFO: TCP Data received {"connection_id":137399,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:21:09] local.INFO: Processing buffer {"connection_id":137399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:21:09] local.INFO: Packet analysis {"connection_id":137399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f787f"} 
[2026-07-19 09:21:09] local.INFO: Extracted packet for processing {"connection_id":137399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f787f"} 
[2026-07-19 09:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814777856001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:21: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-07-19 09:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784433027000,"timestamp_ms":1784433027000,"timestamp_seconds":1784433027,"priority":1,"record_length":96,"hex_timestamp":"0000019f787f27b8"} 
[2026-07-19 09:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:21:09] 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-07-19 09:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814777856001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814777856001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814777856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":137399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:21:09] local.INFO: GPS data processed {"connection_id":137399,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:21:09] local.INFO: Acknowledgment sent {"connection_id":137399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:21:37] local.INFO: TCP Data received {"connection_id":137400,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:21:37] local.INFO: Processing buffer {"connection_id":137400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:21:37] local.INFO: IMEI packet received {"connection_id":137400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":137400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:21:42] local.INFO: TCP Data received {"connection_id":137400,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:21:42] local.INFO: Processing buffer {"connection_id":137400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:21:42] local.INFO: IMEI packet received {"connection_id":137400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":137400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:21:43] local.INFO: TCP Data received {"connection_id":137400,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:21:43] local.INFO: Processing buffer {"connection_id":137400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:21:43] local.INFO: Packet analysis {"connection_id":137400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f787f"} 
[2026-07-19 09:21:43] local.INFO: Extracted packet for processing {"connection_id":137400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f787f"} 
[2026-07-19 09:21:43] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814777856001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:21: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-07-19 09:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784433027000,"timestamp_ms":1784433027000,"timestamp_seconds":1784433027,"priority":1,"record_length":96,"hex_timestamp":"0000019f787f27b8"} 
[2026-07-19 09:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:21:43] 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-07-19 09:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814777856001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814777856001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:21:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:21:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814777856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":137400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:21:43] local.INFO: GPS data processed {"connection_id":137400,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:21:43] local.INFO: Acknowledgment sent {"connection_id":137400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:21:47] local.INFO: TCP Data received {"connection_id":137400,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:21:47] local.INFO: Processing buffer {"connection_id":137400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:21:47] local.INFO: Packet analysis {"connection_id":137400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f787f"} 
[2026-07-19 09:21:47] local.INFO: Extracted packet for processing {"connection_id":137400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f787f"} 
[2026-07-19 09:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814777856001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 09:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784433027000,"timestamp_ms":1784433027000,"timestamp_seconds":1784433027,"priority":1,"record_length":96,"hex_timestamp":"0000019f787f27b8"} 
[2026-07-19 09:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":137400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":137400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":137400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814777856001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814777856001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:21:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814777856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":137400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:21:47] local.INFO: GPS data processed {"connection_id":137400,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:21:47] local.INFO: Acknowledgment sent {"connection_id":137400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:21:57] local.INFO: TCP Data received {"connection_id":136457,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136457,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:21:57] local.INFO: Processing buffer {"connection_id":136457,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:21:57] local.INFO: IMEI packet received {"connection_id":136457,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 09:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":136457,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:22:27] local.INFO: TCP Data received {"connection_id":138810,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:22:27] local.INFO: Processing buffer {"connection_id":138810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:22:27] local.INFO: IMEI packet received {"connection_id":138810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 09:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":138810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:22:32] local.INFO: TCP Data received {"connection_id":138811,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:22:32] local.INFO: Processing buffer {"connection_id":138811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:22:32] local.INFO: IMEI packet received {"connection_id":138811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":138811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:22:37] local.INFO: TCP Data received {"connection_id":138811,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:22:37] local.INFO: Processing buffer {"connection_id":138811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:22:37] local.INFO: IMEI packet received {"connection_id":138811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":138811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:22:38] local.INFO: TCP Data received {"connection_id":138811,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:22:38] local.INFO: Processing buffer {"connection_id":138811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:22:38] local.INFO: Packet analysis {"connection_id":138811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f787f"} 
[2026-07-19 09:22:38] local.INFO: Extracted packet for processing {"connection_id":138811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f787f"} 
[2026-07-19 09:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814777856001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:22: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-07-19 09:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784433027000,"timestamp_ms":1784433027000,"timestamp_seconds":1784433027,"priority":1,"record_length":96,"hex_timestamp":"0000019f787f27b8"} 
[2026-07-19 09:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:22: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-07-19 09:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814777856001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814777856001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:22:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814777856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":138811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:22:38] local.INFO: GPS data processed {"connection_id":138811,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:22:38] local.INFO: Acknowledgment sent {"connection_id":138811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:23:10] local.INFO: TCP Data received {"connection_id":138811,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:23:10] local.INFO: Processing buffer {"connection_id":138811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:23:10] local.INFO: Packet analysis {"connection_id":138811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f787f"} 
[2026-07-19 09:23:10] local.INFO: Extracted packet for processing {"connection_id":138811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f787f"} 
[2026-07-19 09:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814777856001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:23: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-07-19 09:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784433027000,"timestamp_ms":1784433027000,"timestamp_seconds":1784433027,"priority":1,"record_length":96,"hex_timestamp":"0000019f787f27b8"} 
[2026-07-19 09:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:23: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-07-19 09:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814777856001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814777856001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:23:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:23:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814777856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":138811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:23:10] local.INFO: GPS data processed {"connection_id":138811,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:23:10] local.INFO: Acknowledgment sent {"connection_id":138811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:23:32] local.INFO: TCP Data received {"connection_id":136458,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:23:32] local.INFO: Processing buffer {"connection_id":136458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:23:32] local.INFO: IMEI packet received {"connection_id":136458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":136458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:23:37] local.INFO: TCP Data received {"connection_id":136458,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:23:37] local.INFO: Processing buffer {"connection_id":136458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:23:37] local.INFO: IMEI packet received {"connection_id":136458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":136458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:23:39] local.INFO: TCP Data received {"connection_id":136458,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:23:39] local.INFO: Processing buffer {"connection_id":136458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:23:39] local.INFO: Packet analysis {"connection_id":136458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f787f"} 
[2026-07-19 09:23:39] local.INFO: Extracted packet for processing {"connection_id":136458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f787f"} 
[2026-07-19 09:23:39] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814777856001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:23: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-07-19 09:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784433027000,"timestamp_ms":1784433027000,"timestamp_seconds":1784433027,"priority":1,"record_length":96,"hex_timestamp":"0000019f787f27b8"} 
[2026-07-19 09:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:23: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-07-19 09:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814777856001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814777856001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:23:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:23:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814777856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":136458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:23:39] local.INFO: GPS data processed {"connection_id":136458,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:23:39] local.INFO: Acknowledgment sent {"connection_id":136458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:24:10] local.INFO: TCP Data received {"connection_id":136458,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:24:10] local.INFO: Processing buffer {"connection_id":136458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:24:10] local.INFO: Packet analysis {"connection_id":136458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f787f"} 
[2026-07-19 09:24:10] local.INFO: Extracted packet for processing {"connection_id":136458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f787f"} 
[2026-07-19 09:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814777856001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:24: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-07-19 09:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784433027000,"timestamp_ms":1784433027000,"timestamp_seconds":1784433027,"priority":1,"record_length":96,"hex_timestamp":"0000019f787f27b8"} 
[2026-07-19 09:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:24: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-07-19 09:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814777856001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814777856001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:24:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814777856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":136458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:24:10] local.INFO: GPS data processed {"connection_id":136458,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:24:10] local.INFO: Acknowledgment sent {"connection_id":136458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:24:31] local.INFO: TCP Data received {"connection_id":138812,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:24:31] local.INFO: Processing buffer {"connection_id":138812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:24:31] local.INFO: IMEI packet received {"connection_id":138812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":138812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:24:37] local.INFO: TCP Data received {"connection_id":138812,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:24:37] local.INFO: Processing buffer {"connection_id":138812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:24:37] local.INFO: IMEI packet received {"connection_id":138812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":138812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:24:38] local.INFO: TCP Data received {"connection_id":138812,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:24:38] local.INFO: Processing buffer {"connection_id":138812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:24:38] local.INFO: Packet analysis {"connection_id":138812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f787f"} 
[2026-07-19 09:24:38] local.INFO: Extracted packet for processing {"connection_id":138812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f787f"} 
[2026-07-19 09:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814777856001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:24: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-07-19 09:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784433027000,"timestamp_ms":1784433027000,"timestamp_seconds":1784433027,"priority":1,"record_length":96,"hex_timestamp":"0000019f787f27b8"} 
[2026-07-19 09:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:24: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-07-19 09:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814777856001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814777856001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:24:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814777856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":138812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:24:38] local.INFO: GPS data processed {"connection_id":138812,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:24:38] local.INFO: Acknowledgment sent {"connection_id":138812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:25:10] local.INFO: TCP Data received {"connection_id":138812,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:25:10] local.INFO: Processing buffer {"connection_id":138812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:25:10] local.INFO: Packet analysis {"connection_id":138812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f787f"} 
[2026-07-19 09:25:10] local.INFO: Extracted packet for processing {"connection_id":138812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f787f"} 
[2026-07-19 09:25:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814777856001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:25: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-07-19 09:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784433027000,"timestamp_ms":1784433027000,"timestamp_seconds":1784433027,"priority":1,"record_length":96,"hex_timestamp":"0000019f787f27b8"} 
[2026-07-19 09:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:25:10] 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-07-19 09:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814777856001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814777856001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:25:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:25:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814777856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":138812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:25:10] local.INFO: GPS data processed {"connection_id":138812,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:25:10] local.INFO: Acknowledgment sent {"connection_id":138812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:25:31] local.INFO: TCP Data received {"connection_id":137403,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:25:31] local.INFO: Processing buffer {"connection_id":137403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:25:31] local.INFO: IMEI packet received {"connection_id":137403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":137403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:25:37] local.INFO: TCP Data received {"connection_id":137403,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:25:37] local.INFO: Processing buffer {"connection_id":137403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:25:37] local.INFO: IMEI packet received {"connection_id":137403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":137403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:25:38] local.INFO: TCP Data received {"connection_id":137403,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:25:38] local.INFO: Processing buffer {"connection_id":137403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f787f27b8012d34c48006aa3da8001000aa23..."} 
[2026-07-19 09:25:38] local.INFO: Packet analysis {"connection_id":137403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f787f"} 
[2026-07-19 09:25:38] local.INFO: Extracted packet for processing {"connection_id":137403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f787f"} 
[2026-07-19 09:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814777856001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:25: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-07-19 09:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784433027000,"timestamp_ms":1784433027000,"timestamp_seconds":1784433027,"priority":1,"record_length":96,"hex_timestamp":"0000019f787f27b8"} 
[2026-07-19 09:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:25:38] 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-07-19 09:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814777856001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814777856001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:25:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:25:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814777856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":137403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:25:38] local.INFO: GPS data processed {"connection_id":137403,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:25:38] local.INFO: Acknowledgment sent {"connection_id":137403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:26:09] local.INFO: TCP Data received {"connection_id":137403,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:26:09] local.INFO: Processing buffer {"connection_id":137403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:26:09] local.INFO: Packet analysis {"connection_id":137403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7883"} 
[2026-07-19 09:26:09] local.INFO: Extracted packet for processing {"connection_id":137403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7883"} 
[2026-07-19 09:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814854912001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09: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-07-19 09:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784433328000,"timestamp_ms":1784433328000,"timestamp_seconds":1784433328,"priority":1,"record_length":96,"hex_timestamp":"0000019f7883bf80"} 
[2026-07-19 09:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09: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-07-19 09:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814854912001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814854912001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814854912001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":137403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:26:09] local.INFO: GPS data processed {"connection_id":137403,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:26:09] local.INFO: Acknowledgment sent {"connection_id":137403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:26:37] local.INFO: TCP Data received {"connection_id":136460,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:26:37] local.INFO: Processing buffer {"connection_id":136460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:26:37] local.INFO: IMEI packet received {"connection_id":136460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":136460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:26:42] local.INFO: TCP Data received {"connection_id":136460,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:26:42] local.INFO: Processing buffer {"connection_id":136460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:26:42] local.INFO: IMEI packet received {"connection_id":136460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":136460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:26:43] local.INFO: TCP Data received {"connection_id":136460,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:26:43] local.INFO: Processing buffer {"connection_id":136460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:26:43] local.INFO: Packet analysis {"connection_id":136460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7883"} 
[2026-07-19 09:26:43] local.INFO: Extracted packet for processing {"connection_id":136460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7883"} 
[2026-07-19 09:26:43] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 09:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814854912001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:26: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-07-19 09:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784433328000,"timestamp_ms":1784433328000,"timestamp_seconds":1784433328,"priority":1,"record_length":96,"hex_timestamp":"0000019f7883bf80"} 
[2026-07-19 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-07-19 09:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 09:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814854912001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814854912001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:26:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:26:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814854912001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":136460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:26:43] local.INFO: GPS data processed {"connection_id":136460,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:26:43] local.INFO: Acknowledgment sent {"connection_id":136460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:26:47] local.INFO: TCP Data received {"connection_id":136460,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:26:47] local.INFO: Processing buffer {"connection_id":136460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:26:47] local.INFO: Packet analysis {"connection_id":136460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7883"} 
[2026-07-19 09:26:47] local.INFO: Extracted packet for processing {"connection_id":136460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7883"} 
[2026-07-19 09:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814854912001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 09:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784433328000,"timestamp_ms":1784433328000,"timestamp_seconds":1784433328,"priority":1,"record_length":96,"hex_timestamp":"0000019f7883bf80"} 
[2026-07-19 09:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814854912001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814854912001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:26:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:26:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814854912001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":136460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:26:47] local.INFO: GPS data processed {"connection_id":136460,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:26:47] local.INFO: Acknowledgment sent {"connection_id":136460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:27:32] local.INFO: TCP Data received {"connection_id":138813,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:27:32] local.INFO: Processing buffer {"connection_id":138813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:27:32] local.INFO: IMEI packet received {"connection_id":138813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":138813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:27:37] local.INFO: TCP Data received {"connection_id":138813,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:27:37] local.INFO: Processing buffer {"connection_id":138813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:27:37] local.INFO: IMEI packet received {"connection_id":138813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":138813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:27:39] local.INFO: TCP Data received {"connection_id":138813,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:27:39] local.INFO: Processing buffer {"connection_id":138813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:27:39] local.INFO: Packet analysis {"connection_id":138813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7883"} 
[2026-07-19 09:27:39] local.INFO: Extracted packet for processing {"connection_id":138813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7883"} 
[2026-07-19 09:27:39] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 09:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814854912001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:27: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-07-19 09:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784433328000,"timestamp_ms":1784433328000,"timestamp_seconds":1784433328,"priority":1,"record_length":96,"hex_timestamp":"0000019f7883bf80"} 
[2026-07-19 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-07-19 09:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 09:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":138813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":138813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":138813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:27:39] 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-07-19 09:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814854912001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814854912001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:27:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:27:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814854912001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":138813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:27:39] local.INFO: GPS data processed {"connection_id":138813,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:27:39] local.INFO: Acknowledgment sent {"connection_id":138813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:27:52] local.INFO: TCP Data received {"connection_id":136335,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:27:52] local.INFO: Processing buffer {"connection_id":136335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:27:52] local.INFO: IMEI packet received {"connection_id":136335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 09:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":136335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:28:10] local.INFO: TCP Data received {"connection_id":138813,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:28:10] local.INFO: Processing buffer {"connection_id":138813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:28:10] local.INFO: Packet analysis {"connection_id":138813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7883"} 
[2026-07-19 09:28:10] local.INFO: Extracted packet for processing {"connection_id":138813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7883"} 
[2026-07-19 09:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814854912001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:28: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-07-19 09:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784433328000,"timestamp_ms":1784433328000,"timestamp_seconds":1784433328,"priority":1,"record_length":96,"hex_timestamp":"0000019f7883bf80"} 
[2026-07-19 09:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:28:10] 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-07-19 09:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814854912001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814854912001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:28:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814854912001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":138813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:28:10] local.INFO: GPS data processed {"connection_id":138813,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:28:10] local.INFO: Acknowledgment sent {"connection_id":138813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:28:27] local.INFO: TCP Data received {"connection_id":137404,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:28:27] local.INFO: Processing buffer {"connection_id":137404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:28:27] local.INFO: IMEI packet received {"connection_id":137404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 09:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":137404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:28:32] local.INFO: TCP Data received {"connection_id":136336,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:28:32] local.INFO: Processing buffer {"connection_id":136336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:28:32] local.INFO: IMEI packet received {"connection_id":136336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":136336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:28:37] local.INFO: TCP Data received {"connection_id":136336,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:28:37] local.INFO: Processing buffer {"connection_id":136336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:28:37] local.INFO: IMEI packet received {"connection_id":136336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":136336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:28:38] local.INFO: TCP Data received {"connection_id":136336,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:28:38] local.INFO: Processing buffer {"connection_id":136336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:28:38] local.INFO: Packet analysis {"connection_id":136336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7883"} 
[2026-07-19 09:28:38] local.INFO: Extracted packet for processing {"connection_id":136336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7883"} 
[2026-07-19 09:28:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814854912001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:28: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-07-19 09:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784433328000,"timestamp_ms":1784433328000,"timestamp_seconds":1784433328,"priority":1,"record_length":96,"hex_timestamp":"0000019f7883bf80"} 
[2026-07-19 09:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814854912001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 09:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814854912001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:28:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:28:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814854912001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":136336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:28:38] local.INFO: GPS data processed {"connection_id":136336,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:28:38] local.INFO: Acknowledgment sent {"connection_id":136336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:29:09] local.INFO: TCP Data received {"connection_id":136336,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:29:09] local.INFO: Processing buffer {"connection_id":136336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:29:09] local.INFO: Packet analysis {"connection_id":136336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7883"} 
[2026-07-19 09:29:09] local.INFO: Extracted packet for processing {"connection_id":136336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7883"} 
[2026-07-19 09:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814854912001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:29: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-07-19 09:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784433328000,"timestamp_ms":1784433328000,"timestamp_seconds":1784433328,"priority":1,"record_length":96,"hex_timestamp":"0000019f7883bf80"} 
[2026-07-19 09:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:29: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-07-19 09:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814854912001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 09:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814854912001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:29:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:29:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814854912001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":136336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:29:09] local.INFO: GPS data processed {"connection_id":136336,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:29:09] local.INFO: Acknowledgment sent {"connection_id":136336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:29:31] local.INFO: TCP Data received {"connection_id":137405,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:29:31] local.INFO: Processing buffer {"connection_id":137405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:29:31] local.INFO: IMEI packet received {"connection_id":137405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":137405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:29:37] local.INFO: TCP Data received {"connection_id":137405,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:29:37] local.INFO: Processing buffer {"connection_id":137405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:29:37] local.INFO: IMEI packet received {"connection_id":137405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":137405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:29:38] local.INFO: TCP Data received {"connection_id":137405,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:29:38] local.INFO: Processing buffer {"connection_id":137405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:29:38] local.INFO: Packet analysis {"connection_id":137405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7883"} 
[2026-07-19 09:29:38] local.INFO: Extracted packet for processing {"connection_id":137405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7883"} 
[2026-07-19 09:29:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814854912001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:29: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-07-19 09:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784433328000,"timestamp_ms":1784433328000,"timestamp_seconds":1784433328,"priority":1,"record_length":96,"hex_timestamp":"0000019f7883bf80"} 
[2026-07-19 09:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:29:38] 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-07-19 09:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814854912001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814854912001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:29:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:29:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814854912001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":137405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:29:38] local.INFO: GPS data processed {"connection_id":137405,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:29:38] local.INFO: Acknowledgment sent {"connection_id":137405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:30:11] local.INFO: TCP Data received {"connection_id":137405,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:30:11] local.INFO: Processing buffer {"connection_id":137405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:30:11] local.INFO: Packet analysis {"connection_id":137405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7883"} 
[2026-07-19 09:30:11] local.INFO: Extracted packet for processing {"connection_id":137405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7883"} 
[2026-07-19 09:30:11] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 09:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814854912001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:30: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-07-19 09:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784433328000,"timestamp_ms":1784433328000,"timestamp_seconds":1784433328,"priority":1,"record_length":96,"hex_timestamp":"0000019f7883bf80"} 
[2026-07-19 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-07-19 09:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 09:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":137405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":137405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":137405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:30:11] 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-07-19 09:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814854912001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814854912001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:30:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:30:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814854912001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":137405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:30:11] local.INFO: GPS data processed {"connection_id":137405,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:30:11] local.INFO: Acknowledgment sent {"connection_id":137405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:30:32] local.INFO: TCP Data received {"connection_id":136337,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:30:32] local.INFO: Processing buffer {"connection_id":136337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:30:32] local.INFO: IMEI packet received {"connection_id":136337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":136337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:30:37] local.INFO: TCP Data received {"connection_id":136337,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:30:37] local.INFO: Processing buffer {"connection_id":136337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:30:37] local.INFO: IMEI packet received {"connection_id":136337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":136337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:30:38] local.INFO: TCP Data received {"connection_id":136337,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:30:38] local.INFO: Processing buffer {"connection_id":136337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7883bf80012d34c48006aa3da8001000aa28..."} 
[2026-07-19 09:30:38] local.INFO: Packet analysis {"connection_id":136337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7883"} 
[2026-07-19 09:30:38] local.INFO: Extracted packet for processing {"connection_id":136337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7883"} 
[2026-07-19 09:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":16,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814854912001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:30: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-07-19 09:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784433328000,"timestamp_ms":1784433328000,"timestamp_seconds":1784433328,"priority":1,"record_length":96,"hex_timestamp":"0000019f7883bf80"} 
[2026-07-19 09:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:30: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-07-19 09:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814854912001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814854912001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:30:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814854912001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":136337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:30:38] local.INFO: GPS data processed {"connection_id":136337,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:30:38] local.INFO: Acknowledgment sent {"connection_id":136337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:31:09] local.INFO: TCP Data received {"connection_id":136337,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:31:09] local.INFO: Processing buffer {"connection_id":136337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:31:09] local.INFO: Packet analysis {"connection_id":136337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7888"} 
[2026-07-19 09:31:09] local.INFO: Extracted packet for processing {"connection_id":136337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7888"} 
[2026-07-19 09:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":13,"angle":170,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814931968001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:31: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-07-19 09:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784433629000,"timestamp_ms":1784433629000,"timestamp_seconds":1784433629,"priority":1,"record_length":96,"hex_timestamp":"0000019f78885748"} 
[2026-07-19 09:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:31: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-07-19 09:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814931968001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814931968001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814931968001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":136337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:31:09] local.INFO: GPS data processed {"connection_id":136337,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:31:09] local.INFO: Acknowledgment sent {"connection_id":136337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:31:37] local.INFO: TCP Data received {"connection_id":138816,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:31:37] local.INFO: Processing buffer {"connection_id":138816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:31:37] local.INFO: IMEI packet received {"connection_id":138816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":138816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:31:42] local.INFO: TCP Data received {"connection_id":138816,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:31:42] local.INFO: Processing buffer {"connection_id":138816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:31:42] local.INFO: IMEI packet received {"connection_id":138816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":138816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:31:43] local.INFO: TCP Data received {"connection_id":138816,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:31:43] local.INFO: Processing buffer {"connection_id":138816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:31:43] local.INFO: Packet analysis {"connection_id":138816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7888"} 
[2026-07-19 09:31:43] local.INFO: Extracted packet for processing {"connection_id":138816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7888"} 
[2026-07-19 09:31:43] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":13,"angle":170,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814931968001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:31: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-07-19 09:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784433629000,"timestamp_ms":1784433629000,"timestamp_seconds":1784433629,"priority":1,"record_length":96,"hex_timestamp":"0000019f78885748"} 
[2026-07-19 09:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":138816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":138816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":138816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814931968001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 09:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814931968001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:31:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:31:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814931968001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":138816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:31:43] local.INFO: GPS data processed {"connection_id":138816,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:31:43] local.INFO: Acknowledgment sent {"connection_id":138816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:32:14] local.INFO: TCP Data received {"connection_id":138816,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:32:14] local.INFO: Processing buffer {"connection_id":138816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:32:14] local.INFO: Packet analysis {"connection_id":138816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7888"} 
[2026-07-19 09:32:14] local.INFO: Extracted packet for processing {"connection_id":138816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7888"} 
[2026-07-19 09:32:14] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":13,"angle":170,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814931968001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:32: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-07-19 09:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784433629000,"timestamp_ms":1784433629000,"timestamp_seconds":1784433629,"priority":1,"record_length":96,"hex_timestamp":"0000019f78885748"} 
[2026-07-19 09:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":138816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":138816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":138816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814931968001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 09:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814931968001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:32:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:32:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814931968001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":138816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:32:14] local.INFO: GPS data processed {"connection_id":138816,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:32:14] local.INFO: Acknowledgment sent {"connection_id":138816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:32:32] local.INFO: TCP Data received {"connection_id":136338,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:32:32] local.INFO: Processing buffer {"connection_id":136338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:32:32] local.INFO: IMEI packet received {"connection_id":136338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":136338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:32:37] local.INFO: TCP Data received {"connection_id":136338,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:32:37] local.INFO: Processing buffer {"connection_id":136338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:32:37] local.INFO: IMEI packet received {"connection_id":136338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":136338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:32:38] local.INFO: TCP Data received {"connection_id":136338,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:32:38] local.INFO: Processing buffer {"connection_id":136338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:32:38] local.INFO: Packet analysis {"connection_id":136338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7888"} 
[2026-07-19 09:32:38] local.INFO: Extracted packet for processing {"connection_id":136338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7888"} 
[2026-07-19 09:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":13,"angle":170,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814931968001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:32: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-07-19 09:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784433629000,"timestamp_ms":1784433629000,"timestamp_seconds":1784433629,"priority":1,"record_length":96,"hex_timestamp":"0000019f78885748"} 
[2026-07-19 09:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:32:38] 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-07-19 09:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814931968001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814931968001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:32:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814931968001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":136338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:32:38] local.INFO: GPS data processed {"connection_id":136338,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:32:38] local.INFO: Acknowledgment sent {"connection_id":136338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:32:40] local.INFO: TCP Data received {"connection_id":136464,"ip":"172.104.241.98","data_length":4,"data_hex":"0d0a0d0a..."} 
[2026-07-19 09:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136464,"packet_length":4,"packet_hex":"0d0a0d0a..."} 
[2026-07-19 09:32:40] local.INFO: Processing buffer {"connection_id":136464,"buffer_length":4,"buffer_hex":"0d0a0d0a..."} 
[2026-07-19 09:32:45] local.INFO: TCP Data received {"connection_id":137406,"ip":"172.104.241.98","data_length":18,"data_hex":"474554202f20485454502f312e300d0a0d0a..."} 
[2026-07-19 09:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137406,"packet_length":18,"packet_hex":"474554202f20485454502f312e300d0a0d0a..."} 
[2026-07-19 09:32:45] local.INFO: Processing buffer {"connection_id":137406,"buffer_length":18,"buffer_hex":"474554202f20485454502f312e300d0a0d0a..."} 
[2026-07-19 09:32:45] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":137406,"buffer_length":18,"first_bytes_hex":"474554202f20485454502f312e300d0a"} 
[2026-07-19 09:32:50] local.INFO: TCP Data received {"connection_id":136465,"ip":"172.104.241.98","data_length":22,"data_hex":"4f5054494f4e53202f20485454502f312e300d0a0d0a..."} 
[2026-07-19 09:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136465,"packet_length":22,"packet_hex":"4f5054494f4e53202f20485454502f312e300d0a0d0a..."} 
[2026-07-19 09:32:50] local.INFO: Processing buffer {"connection_id":136465,"buffer_length":22,"buffer_hex":"4f5054494f4e53202f20485454502f312e300d0a0d0a..."} 
[2026-07-19 09:32:50] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":136465,"buffer_length":22,"first_bytes_hex":"4f5054494f4e53202f20485454502f31"} 
[2026-07-19 09:32:55] local.INFO: TCP Data received {"connection_id":136339,"ip":"172.104.241.98","data_length":22,"data_hex":"4f5054494f4e53202f20525453502f312e300d0a0d0a..."} 
[2026-07-19 09:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136339,"packet_length":22,"packet_hex":"4f5054494f4e53202f20525453502f312e300d0a0d0a..."} 
[2026-07-19 09:32:55] local.INFO: Processing buffer {"connection_id":136339,"buffer_length":22,"buffer_hex":"4f5054494f4e53202f20525453502f312e300d0a0d0a..."} 
[2026-07-19 09:32:55] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":136339,"buffer_length":22,"first_bytes_hex":"4f5054494f4e53202f20525453502f31"} 
[2026-07-19 09:33:00] local.INFO: TCP Data received {"connection_id":136340,"ip":"172.104.241.98","data_length":44,"data_hex":"8000002872fe1d130000000000000002000186a00001977c0000000000000000..."} 
[2026-07-19 09:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136340,"packet_length":44,"packet_hex":"8000002872fe1d130000000000000002000186a00001977c0000000000000000..."} 
[2026-07-19 09:33:00] local.INFO: Processing buffer {"connection_id":136340,"buffer_length":44,"buffer_hex":"8000002872fe1d130000000000000002000186a00001977c0000000000000000..."} 
[2026-07-19 09:33:00] local.INFO: Found valid packet candidate {"position":8,"data_field_length":2,"total_length":14,"packet_hex_start":"0000000000000002000186a00001977c"} 
[2026-07-19 09:33:00] local.INFO: Found valid Teltonika packet at position {"connection_id":136340,"packet_position":8,"bytes_removed":8} 
[2026-07-19 09:33:00] local.INFO: Packet analysis {"connection_id":136340,"data_field_length":2,"total_packet_length":14,"buffer_length":36,"packet_hex_start":"0000000000000002000186a00001977c"} 
[2026-07-19 09:33:00] local.INFO: Extracted packet for processing {"connection_id":136340,"packet_length":14,"remaining_buffer_length":22,"packet_hex_start":"0000000000000002000186a00001"} 
[2026-07-19 09:33:00] local.WARNING: Failed to parse Teltonika packet {"connection_id":136340,"packet_length":14} 
[2026-07-19 09:33:00] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":136340,"buffer_length":22,"first_bytes_hex":"977c0000000000000000000000000000"} 
[2026-07-19 09:33:05] local.INFO: TCP Data received {"connection_id":136466,"ip":"172.104.241.98","data_length":32,"data_hex":"001e0006010000010000000000000776657273696f6e0462696e640000100003..."} 
[2026-07-19 09:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136466,"packet_length":32,"packet_hex":"001e0006010000010000000000000776657273696f6e0462696e640000100003..."} 
[2026-07-19 09:33:05] local.INFO: Processing buffer {"connection_id":136466,"buffer_length":32,"buffer_hex":"001e0006010000010000000000000776657273696f6e0462696e640000100003..."} 
[2026-07-19 09:33:05] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":136466,"buffer_length":32,"first_bytes_hex":"001e0006010000010000000000000776"} 
[2026-07-19 09:33:09] local.INFO: TCP Data received {"connection_id":136338,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:33:09] local.INFO: Processing buffer {"connection_id":136338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:33:09] local.INFO: Packet analysis {"connection_id":136338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7888"} 
[2026-07-19 09:33:09] local.INFO: Extracted packet for processing {"connection_id":136338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7888"} 
[2026-07-19 09:33:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":13,"angle":170,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814931968001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09: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-07-19 09:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784433629000,"timestamp_ms":1784433629000,"timestamp_seconds":1784433629,"priority":1,"record_length":96,"hex_timestamp":"0000019f78885748"} 
[2026-07-19 09:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09: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-07-19 09:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814931968001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814931968001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:33:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:33:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814931968001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":136338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:33:09] local.INFO: GPS data processed {"connection_id":136338,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:33:09] local.INFO: Acknowledgment sent {"connection_id":136338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:33:10] local.INFO: TCP Data received {"connection_id":136467,"ip":"172.104.241.98","data_length":14,"data_hex":"000c000010000000000000000000..."} 
[2026-07-19 09:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136467,"packet_length":14,"packet_hex":"000c000010000000000000000000..."} 
[2026-07-19 09:33:10] local.INFO: Processing buffer {"connection_id":136467,"buffer_length":14,"buffer_hex":"000c000010000000000000000000..."} 
[2026-07-19 09:33:15] local.INFO: TCP Data received {"connection_id":136468,"ip":"172.104.241.98","data_length":6,"data_hex":"48454c500d0a..."} 
[2026-07-19 09:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136468,"packet_length":6,"packet_hex":"48454c500d0a..."} 
[2026-07-19 09:33:15] local.INFO: Processing buffer {"connection_id":136468,"buffer_length":6,"buffer_hex":"48454c500d0a..."} 
[2026-07-19 09:33:23] local.INFO: TCP Data received {"connection_id":138817,"ip":"172.104.241.98","data_length":88,"data_hex":"16030000530100004f03003f47d7f7ba2ceeeab2607ef300fd827bb9d596c877..."} 
[2026-07-19 09:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138817,"packet_length":88,"packet_hex":"16030000530100004f03003f47d7f7ba2ceeeab2607ef300fd827bb9d596c877..."} 
[2026-07-19 09:33:23] local.INFO: Processing buffer {"connection_id":138817,"buffer_length":88,"buffer_hex":"16030000530100004f03003f47d7f7ba2ceeeab2607ef300fd827bb9d596c877..."} 
[2026-07-19 09:33:23] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":138817,"buffer_length":88,"first_bytes_hex":"16030000530100004f03003f47d7f7ba"} 
[2026-07-19 09:33:28] local.INFO: TCP Data received {"connection_id":136469,"ip":"172.104.241.98","data_length":42,"data_hex":"0300002a25e00000000000436f6f6b69653a206d737473686173683d6e6d6170..."} 
[2026-07-19 09:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136469,"packet_length":42,"packet_hex":"0300002a25e00000000000436f6f6b69653a206d737473686173683d6e6d6170..."} 
[2026-07-19 09:33:28] local.INFO: Processing buffer {"connection_id":136469,"buffer_length":42,"buffer_hex":"0300002a25e00000000000436f6f6b69653a206d737473686173683d6e6d6170..."} 
[2026-07-19 09:33:28] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":136469,"buffer_length":42,"first_bytes_hex":"0300002a25e00000000000436f6f6b69"} 
[2026-07-19 09:33:32] local.INFO: TCP Data received {"connection_id":136470,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:33:32] local.INFO: Processing buffer {"connection_id":136470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:33:32] local.INFO: IMEI packet received {"connection_id":136470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":136470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:33:33] local.INFO: TCP Data received {"connection_id":137407,"ip":"172.104.241.98","data_length":110,"data_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-07-19 09:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137407,"packet_length":110,"packet_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-07-19 09:33:33] local.INFO: Processing buffer {"connection_id":137407,"buffer_length":110,"buffer_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-07-19 09:33:33] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":137407,"buffer_length":110,"first_bytes_hex":"1603000069010000650303551ca7e472"} 
[2026-07-19 09:33:37] local.INFO: TCP Data received {"connection_id":136470,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:33:37] local.INFO: Processing buffer {"connection_id":136470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:33:37] local.INFO: IMEI packet received {"connection_id":136470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":136470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:33:38] local.INFO: TCP Data received {"connection_id":138819,"ip":"172.104.241.98","data_length":117,"data_hex":"000000716a816e30816ba103020105a20302010aa4815e305ca0070305005080..."} 
[2026-07-19 09:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138819,"packet_length":117,"packet_hex":"000000716a816e30816ba103020105a20302010aa4815e305ca0070305005080..."} 
[2026-07-19 09:33:38] local.INFO: Processing buffer {"connection_id":138819,"buffer_length":117,"buffer_hex":"000000716a816e30816ba103020105a20302010aa4815e305ca0070305005080..."} 
[2026-07-19 09:33:38] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":138819,"buffer_length":117,"first_bytes_hex":"000000716a816e30816ba103020105a2"} 
[2026-07-19 09:33:39] local.INFO: TCP Data received {"connection_id":136470,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:33:39] local.INFO: Processing buffer {"connection_id":136470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:33:39] local.INFO: Packet analysis {"connection_id":136470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7888"} 
[2026-07-19 09:33:39] local.INFO: Extracted packet for processing {"connection_id":136470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7888"} 
[2026-07-19 09:33:39] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":13,"angle":170,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814931968001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:33: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-07-19 09:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784433629000,"timestamp_ms":1784433629000,"timestamp_seconds":1784433629,"priority":1,"record_length":96,"hex_timestamp":"0000019f78885748"} 
[2026-07-19 09:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:33:39] 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-07-19 09:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814931968001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814931968001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:33:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:33:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814931968001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":136470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:33:39] local.INFO: GPS data processed {"connection_id":136470,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:33:39] local.INFO: Acknowledgment sent {"connection_id":136470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:33:43] local.INFO: TCP Data received {"connection_id":138820,"ip":"172.104.241.98","data_length":168,"data_hex":"000000a4ff534d42720000000008014000000000000000000000000000004006..."} 
[2026-07-19 09:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138820,"packet_length":168,"packet_hex":"000000a4ff534d42720000000008014000000000000000000000000000004006..."} 
[2026-07-19 09:33:43] local.INFO: Processing buffer {"connection_id":138820,"buffer_length":168,"buffer_hex":"000000a4ff534d42720000000008014000000000000000000000000000004006..."} 
[2026-07-19 09:33:43] local.INFO: Found valid packet candidate {"position":23,"data_field_length":64,"total_length":76,"packet_hex_start":"00000000000000400600000100008100"} 
[2026-07-19 09:33:43] local.INFO: Found valid Teltonika packet at position {"connection_id":138820,"packet_position":23,"bytes_removed":23} 
[2026-07-19 09:33:43] local.INFO: Packet analysis {"connection_id":138820,"data_field_length":64,"total_packet_length":76,"buffer_length":145,"packet_hex_start":"00000000000000400600000100008100"} 
[2026-07-19 09:33:43] local.INFO: Extracted packet for processing {"connection_id":138820,"packet_length":76,"remaining_buffer_length":69,"packet_hex_start":"00000000000000400600000100008100"} 
[2026-07-19 09:33:43] local.WARNING: Failed to parse Teltonika packet {"connection_id":138820,"packet_length":76} 
[2026-07-19 09:33:43] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":138820,"buffer_length":69,"first_bytes_hex":"4e4554574f524b5320332e3000024c41"} 
[2026-07-19 09:33:48] local.INFO: TCP Data received {"connection_id":136341,"ip":"172.104.241.98","data_length":12,"data_hex":"6c000b000000000000000000..."} 
[2026-07-19 09:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136341,"packet_length":12,"packet_hex":"6c000b000000000000000000..."} 
[2026-07-19 09:33:48] local.INFO: Processing buffer {"connection_id":136341,"buffer_length":12,"buffer_hex":"6c000b000000000000000000..."} 
[2026-07-19 09:33:52] local.INFO: TCP Data received {"connection_id":138818,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:33:52] local.INFO: Processing buffer {"connection_id":138818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:33:52] local.INFO: IMEI packet received {"connection_id":138818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 09:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":138818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:33:53] local.INFO: TCP Data received {"connection_id":137408,"ip":"172.104.241.98","data_length":53,"data_hex":"474554202f6e696365253230706f7274732532432f5472692536456974792e74..."} 
[2026-07-19 09:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137408,"packet_length":53,"packet_hex":"474554202f6e696365253230706f7274732532432f5472692536456974792e74..."} 
[2026-07-19 09:33:53] local.INFO: Processing buffer {"connection_id":137408,"buffer_length":53,"buffer_hex":"474554202f6e696365253230706f7274732532432f5472692536456974792e74..."} 
[2026-07-19 09:33:53] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":137408,"buffer_length":53,"first_bytes_hex":"474554202f6e696365253230706f7274"} 
[2026-07-19 09:33:58] local.INFO: TCP Data received {"connection_id":137409,"ip":"172.104.241.98","data_length":9,"data_hex":"0164656661756c740a..."} 
[2026-07-19 09:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137409,"packet_length":9,"packet_hex":"0164656661756c740a..."} 
[2026-07-19 09:33:58] local.INFO: Processing buffer {"connection_id":137409,"buffer_length":9,"buffer_hex":"0164656661756c740a..."} 
[2026-07-19 09:34:03] local.INFO: TCP Data received {"connection_id":137410,"ip":"172.104.241.98","data_length":51,"data_hex":"30840000002d02010763840000002404000a01000a0100020100020164010100..."} 
[2026-07-19 09:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137410,"packet_length":51,"packet_hex":"30840000002d02010763840000002404000a01000a0100020100020164010100..."} 
[2026-07-19 09:34:03] local.INFO: Processing buffer {"connection_id":137410,"buffer_length":51,"buffer_hex":"30840000002d02010763840000002404000a01000a0100020100020164010100..."} 
[2026-07-19 09:34:03] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":137410,"buffer_length":51,"first_bytes_hex":"30840000002d02010763840000002404"} 
[2026-07-19 09:34:08] local.INFO: TCP Data received {"connection_id":136471,"ip":"172.104.241.98","data_length":14,"data_hex":"300c020101600702010204008000..."} 
[2026-07-19 09:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136471,"packet_length":14,"packet_hex":"300c020101600702010204008000..."} 
[2026-07-19 09:34:08] local.INFO: Processing buffer {"connection_id":136471,"buffer_length":14,"buffer_hex":"300c020101600702010204008000..."} 
[2026-07-19 09:34:10] local.INFO: TCP Data received {"connection_id":136470,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:34:10] local.INFO: Processing buffer {"connection_id":136470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:34:10] local.INFO: Packet analysis {"connection_id":136470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7888"} 
[2026-07-19 09:34:10] local.INFO: Extracted packet for processing {"connection_id":136470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7888"} 
[2026-07-19 09:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":13,"angle":170,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814931968001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:34: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-07-19 09:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784433629000,"timestamp_ms":1784433629000,"timestamp_seconds":1784433629,"priority":1,"record_length":96,"hex_timestamp":"0000019f78885748"} 
[2026-07-19 09:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:34:10] 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-07-19 09:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814931968001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814931968001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:34:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814931968001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":136470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:34:10] local.INFO: GPS data processed {"connection_id":136470,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:34:10] local.INFO: Acknowledgment sent {"connection_id":136470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:34:13] local.INFO: TCP Data received {"connection_id":137411,"ip":"172.104.241.98","data_length":223,"data_hex":"4f5054494f4e53207369703a6e6d205349502f322e300d0a5669613a20534950..."} 
[2026-07-19 09:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137411,"packet_length":223,"packet_hex":"4f5054494f4e53207369703a6e6d205349502f322e300d0a5669613a20534950..."} 
[2026-07-19 09:34:13] local.INFO: Processing buffer {"connection_id":137411,"buffer_length":223,"buffer_hex":"4f5054494f4e53207369703a6e6d205349502f322e300d0a5669613a20534950..."} 
[2026-07-19 09:34:13] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":137411,"buffer_length":223,"first_bytes_hex":"4f5054494f4e53207369703a6e6d2053"} 
[2026-07-19 09:34:20] local.INFO: TCP Data received {"connection_id":137412,"ip":"172.104.241.98","data_length":16,"data_hex":"544e4d5004000000544e4d4500000400..."} 
[2026-07-19 09:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137412,"packet_length":16,"packet_hex":"544e4d5004000000544e4d4500000400..."} 
[2026-07-19 09:34:20] local.INFO: Processing buffer {"connection_id":137412,"buffer_length":16,"buffer_hex":"544e4d5004000000544e4d4500000400..."} 
[2026-07-19 09:34:20] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":137412,"buffer_length":16,"first_bytes_hex":"544e4d5004000000544e4d4500000400"} 
[2026-07-19 09:34:26] local.INFO: TCP Data received {"connection_id":136343,"ip":"172.104.241.98","data_length":11,"data_hex":"0300000b06e00000000000..."} 
[2026-07-19 09:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136343,"packet_length":11,"packet_hex":"0300000b06e00000000000..."} 
[2026-07-19 09:34:26] local.INFO: Processing buffer {"connection_id":136343,"buffer_length":11,"buffer_hex":"0300000b06e00000000000..."} 
[2026-07-19 09:34:27] local.INFO: TCP Data received {"connection_id":136342,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:34:27] local.INFO: Processing buffer {"connection_id":136342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:34:27] local.INFO: IMEI packet received {"connection_id":136342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 09:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":136342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:34:31] local.INFO: TCP Data received {"connection_id":138821,"ip":"172.104.241.98","data_length":23,"data_hex":"446d6454000000170000000100000000111100ff01ff13..."} 
[2026-07-19 09:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138821,"packet_length":23,"packet_hex":"446d6454000000170000000100000000111100ff01ff13..."} 
[2026-07-19 09:34:31] local.INFO: Processing buffer {"connection_id":138821,"buffer_length":23,"buffer_hex":"446d6454000000170000000100000000111100ff01ff13..."} 
[2026-07-19 09:34:31] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":138821,"buffer_length":23,"first_bytes_hex":"446d6454000000170000000100000000"} 
[2026-07-19 09:34:31] local.INFO: TCP Data received {"connection_id":137413,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:34:31] local.INFO: Processing buffer {"connection_id":137413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:34:31] local.INFO: IMEI packet received {"connection_id":137413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":137413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:34:36] local.INFO: TCP Data received {"connection_id":137414,"ip":"172.104.241.98","data_length":60,"data_hex":"3a0000002f00000002000040020f0001003d050000000000000000000000002f..."} 
[2026-07-19 09:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137414,"packet_length":60,"packet_hex":"3a0000002f00000002000040020f0001003d050000000000000000000000002f..."} 
[2026-07-19 09:34:36] local.INFO: Processing buffer {"connection_id":137414,"buffer_length":60,"buffer_hex":"3a0000002f00000002000040020f0001003d050000000000000000000000002f..."} 
[2026-07-19 09:34:36] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":137414,"buffer_length":60,"first_bytes_hex":"3a0000002f00000002000040020f0001"} 
[2026-07-19 09:34:37] local.INFO: TCP Data received {"connection_id":137413,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:34:37] local.INFO: Processing buffer {"connection_id":137413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:34:37] local.INFO: IMEI packet received {"connection_id":137413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":137413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:34:38] local.INFO: TCP Data received {"connection_id":137413,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:34:38] local.INFO: Processing buffer {"connection_id":137413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:34:38] local.INFO: Packet analysis {"connection_id":137413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7888"} 
[2026-07-19 09:34:38] local.INFO: Extracted packet for processing {"connection_id":137413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7888"} 
[2026-07-19 09:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":13,"angle":170,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814931968001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:34: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-07-19 09:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784433629000,"timestamp_ms":1784433629000,"timestamp_seconds":1784433629,"priority":1,"record_length":96,"hex_timestamp":"0000019f78885748"} 
[2026-07-19 09:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:34: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-07-19 09:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814931968001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814931968001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:34:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:34:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814931968001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":137413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:34:38] local.INFO: GPS data processed {"connection_id":137413,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:34:38] local.INFO: Acknowledgment sent {"connection_id":137413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:34:41] local.INFO: TCP Data received {"connection_id":138822,"ip":"172.104.241.98","data_length":7,"data_hex":"4a524d4900024b..."} 
[2026-07-19 09:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138822,"packet_length":7,"packet_hex":"4a524d4900024b..."} 
[2026-07-19 09:34:41] local.INFO: Processing buffer {"connection_id":138822,"buffer_length":7,"buffer_hex":"4a524d4900024b..."} 
[2026-07-19 09:34:46] local.INFO: TCP Data received {"connection_id":138823,"ip":"172.104.241.98","data_length":175,"data_hex":"010000fdcefa0bb0a00000004d4d531400000000000000000000000000000012..."} 
[2026-07-19 09:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138823,"packet_length":175,"packet_hex":"010000fdcefa0bb0a00000004d4d531400000000000000000000000000000012..."} 
[2026-07-19 09:34:46] local.INFO: Processing buffer {"connection_id":138823,"buffer_length":175,"buffer_hex":"010000fdcefa0bb0a00000004d4d531400000000000000000000000000000012..."} 
[2026-07-19 09:34:46] local.INFO: Found valid packet candidate {"position":24,"data_field_length":18,"total_length":30,"packet_hex_start":"000000000000001200000001000300f0"} 
[2026-07-19 09:34:46] local.INFO: Found valid Teltonika packet at position {"connection_id":138823,"packet_position":24,"bytes_removed":24} 
[2026-07-19 09:34:46] local.INFO: Packet analysis {"connection_id":138823,"data_field_length":18,"total_packet_length":30,"buffer_length":151,"packet_hex_start":"000000000000001200000001000300f0"} 
[2026-07-19 09:34:46] local.INFO: Extracted packet for processing {"connection_id":138823,"packet_length":30,"remaining_buffer_length":121,"packet_hex_start":"000000000000001200000001000300f0"} 
[2026-07-19 09:34:46] local.WARNING: Failed to parse Teltonika packet {"connection_id":138823,"packet_length":30} 
[2026-07-19 09:34:46] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":138823,"buffer_length":121,"first_bytes_hex":"0050006c0061007900650072002f0039"} 
[2026-07-19 09:34:51] local.INFO: TCP Data received {"connection_id":136472,"ip":"172.104.241.98","data_length":90,"data_hex":"005a0000010000000136012c000008007fff7f08000000010020003a00000000..."} 
[2026-07-19 09:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136472,"packet_length":90,"packet_hex":"005a0000010000000136012c000008007fff7f08000000010020003a00000000..."} 
[2026-07-19 09:34:51] local.INFO: Processing buffer {"connection_id":136472,"buffer_length":90,"buffer_hex":"005a0000010000000136012c000008007fff7f08000000010020003a00000000..."} 
[2026-07-19 09:34:51] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":136472,"buffer_length":90,"first_bytes_hex":"005a0000010000000136012c00000800"} 
[2026-07-19 09:34:56] local.INFO: TCP Data received {"connection_id":136344,"ip":"172.104.241.98","data_length":52,"data_hex":"1201003400000000000015000601001b000102001c000c0300280004ff080001..."} 
[2026-07-19 09:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136344,"packet_length":52,"packet_hex":"1201003400000000000015000601001b000102001c000c0300280004ff080001..."} 
[2026-07-19 09:34:56] local.INFO: Processing buffer {"connection_id":136344,"buffer_length":52,"buffer_hex":"1201003400000000000015000601001b000102001c000c0300280004ff080001..."} 
[2026-07-19 09:34:56] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":136344,"buffer_length":52,"first_bytes_hex":"1201003400000000000015000601001b"} 
[2026-07-19 09:35:01] local.INFO: TCP Data received {"connection_id":136473,"ip":"172.104.241.98","data_length":18,"data_hex":"000300010000000000000002000000000f00..."} 
[2026-07-19 09:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136473,"packet_length":18,"packet_hex":"000300010000000000000002000000000f00..."} 
[2026-07-19 09:35:01] local.INFO: Processing buffer {"connection_id":136473,"buffer_length":18,"buffer_hex":"000300010000000000000002000000000f00..."} 
[2026-07-19 09:35:01] local.INFO: Found valid packet candidate {"position":4,"data_field_length":2,"total_length":14,"packet_hex_start":"0000000000000002000000000f00"} 
[2026-07-19 09:35:01] local.INFO: Found valid Teltonika packet at position {"connection_id":136473,"packet_position":4,"bytes_removed":4} 
[2026-07-19 09:35:06] local.INFO: TCP Data received {"connection_id":138824,"ip":"172.104.241.98","data_length":48,"data_hex":"47494f5001000100240000000000000001000000010000000600000061626364..."} 
[2026-07-19 09:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138824,"packet_length":48,"packet_hex":"47494f5001000100240000000000000001000000010000000600000061626364..."} 
[2026-07-19 09:35:06] local.INFO: Processing buffer {"connection_id":138824,"buffer_length":48,"buffer_hex":"47494f5001000100240000000000000001000000010000000600000061626364..."} 
[2026-07-19 09:35:06] local.INFO: Found valid packet candidate {"position":9,"data_field_length":1,"total_length":13,"packet_hex_start":"00000000000000010000000100000006"} 
[2026-07-19 09:35:06] local.INFO: Found valid Teltonika packet at position {"connection_id":138824,"packet_position":9,"bytes_removed":9} 
[2026-07-19 09:35:06] local.INFO: Packet analysis {"connection_id":138824,"data_field_length":1,"total_packet_length":13,"buffer_length":39,"packet_hex_start":"00000000000000010000000100000006"} 
[2026-07-19 09:35:06] local.INFO: Extracted packet for processing {"connection_id":138824,"packet_length":13,"remaining_buffer_length":26,"packet_hex_start":"00000000000000010000000100"} 
[2026-07-19 09:35:06] local.WARNING: Failed to parse Teltonika packet {"connection_id":138824,"packet_length":13} 
[2026-07-19 09:35:06] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":138824,"buffer_length":26,"first_bytes_hex":"00000600000061626364656600000400"} 
[2026-07-19 09:35:11] local.INFO: TCP Data received {"connection_id":136345,"ip":"172.104.241.98","data_length":8,"data_hex":"414d515000000901..."} 
[2026-07-19 09:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136345,"packet_length":8,"packet_hex":"414d515000000901..."} 
[2026-07-19 09:35:11] local.INFO: Processing buffer {"connection_id":136345,"buffer_length":8,"buffer_hex":"414d515000000901..."} 
[2026-07-19 09:35:16] local.INFO: TCP Data received {"connection_id":138825,"ip":"172.104.241.98","data_length":32,"data_hex":"474554202f646576696365646573632e786d6c20485454502f312e310d0a0d0a..."} 
[2026-07-19 09:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138825,"packet_length":32,"packet_hex":"474554202f646576696365646573632e786d6c20485454502f312e310d0a0d0a..."} 
[2026-07-19 09:35:16] local.INFO: Processing buffer {"connection_id":138825,"buffer_length":32,"buffer_hex":"474554202f646576696365646573632e786d6c20485454502f312e310d0a0d0a..."} 
[2026-07-19 09:35:16] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":138825,"buffer_length":32,"first_bytes_hex":"474554202f646576696365646573632e"} 
[2026-07-19 09:35:16] local.INFO: TCP Data received {"connection_id":137413,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:35:16] local.INFO: Processing buffer {"connection_id":137413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:35:16] local.INFO: Packet analysis {"connection_id":137413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7888"} 
[2026-07-19 09:35:16] local.INFO: Extracted packet for processing {"connection_id":137413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7888"} 
[2026-07-19 09:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":13,"angle":170,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814931968001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 09:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784433629000,"timestamp_ms":1784433629000,"timestamp_seconds":1784433629,"priority":1,"record_length":96,"hex_timestamp":"0000019f78885748"} 
[2026-07-19 09:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":137413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":137413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":137413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814931968001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814931968001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:35:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:35:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814931968001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":137413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:35:16] local.INFO: GPS data processed {"connection_id":137413,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:35:16] local.INFO: Acknowledgment sent {"connection_id":137413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:35:21] local.INFO: TCP Data received {"connection_id":138826,"ip":"172.104.241.98","data_length":29,"data_hex":"434f4e4e4543540a6163636570742d76657273696f6e3a312e320a0a00..."} 
[2026-07-19 09:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138826,"packet_length":29,"packet_hex":"434f4e4e4543540a6163636570742d76657273696f6e3a312e320a0a00..."} 
[2026-07-19 09:35:21] local.INFO: Processing buffer {"connection_id":138826,"buffer_length":29,"buffer_hex":"434f4e4e4543540a6163636570742d76657273696f6e3a312e320a0a00..."} 
[2026-07-19 09:35:21] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":138826,"buffer_length":29,"first_bytes_hex":"434f4e4e4543540a6163636570742d76"} 
[2026-07-19 09:35:26] local.INFO: TCP Data received {"connection_id":138827,"ip":"172.104.241.98","data_length":64,"data_hex":"a4000000000000000b0000000000000000000000000000000000000000000000..."} 
[2026-07-19 09:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138827,"packet_length":64,"packet_hex":"a4000000000000000b0000000000000000000000000000000000000000000000..."} 
[2026-07-19 09:35:26] local.INFO: Processing buffer {"connection_id":138827,"buffer_length":64,"buffer_hex":"a4000000000000000b0000000000000000000000000000000000000000000000..."} 
[2026-07-19 09:35:26] local.INFO: Found valid packet candidate {"position":1,"data_field_length":11,"total_length":23,"packet_hex_start":"000000000000000b0000000000000000"} 
[2026-07-19 09:35:26] local.INFO: Found valid Teltonika packet at position {"connection_id":138827,"packet_position":1,"bytes_removed":1} 
[2026-07-19 09:35:26] local.INFO: Packet analysis {"connection_id":138827,"data_field_length":11,"total_packet_length":23,"buffer_length":63,"packet_hex_start":"000000000000000b0000000000000000"} 
[2026-07-19 09:35:26] local.INFO: Extracted packet for processing {"connection_id":138827,"packet_length":23,"remaining_buffer_length":40,"packet_hex_start":"000000000000000b0000000000000000"} 
[2026-07-19 09:35:26] local.WARNING: Failed to parse Teltonika packet {"connection_id":138827,"packet_length":23} 
[2026-07-19 09:35:26] local.WARNING: Invalid data field length, searching for next valid packet {"connection_id":138827,"data_field_length":0,"buffer_length":40} 
[2026-07-19 09:35:26] local.INFO: Found valid packet candidate {"position":5,"data_field_length":8,"total_length":20,"packet_hex_start":"00000000000000080000000000000000"} 
[2026-07-19 09:35:26] local.INFO: Packet analysis {"connection_id":138827,"data_field_length":8,"total_packet_length":20,"buffer_length":31,"packet_hex_start":"00000000000000080000000000000000"} 
[2026-07-19 09:35:26] local.INFO: Extracted packet for processing {"connection_id":138827,"packet_length":20,"remaining_buffer_length":11,"packet_hex_start":"00000000000000080000000000000000"} 
[2026-07-19 09:35:26] local.WARNING: Failed to parse Teltonika packet {"connection_id":138827,"packet_length":20} 
[2026-07-19 09:35:31] local.INFO: TCP Data received {"connection_id":138829,"ip":"172.104.241.98","data_length":4,"data_hex":"01000000..."} 
[2026-07-19 09:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138829,"packet_length":4,"packet_hex":"01000000..."} 
[2026-07-19 09:35:31] local.INFO: Processing buffer {"connection_id":138829,"buffer_length":4,"buffer_hex":"01000000..."} 
[2026-07-19 09:35:31] local.INFO: TCP Data received {"connection_id":136346,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:35:31] local.INFO: Processing buffer {"connection_id":136346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:35:31] local.INFO: IMEI packet received {"connection_id":136346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":136346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:35:36] local.INFO: TCP Data received {"connection_id":138830,"ip":"172.104.241.98","data_length":24,"data_hex":"63000000000000000000000000000000c1debed100000000..."} 
[2026-07-19 09:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138830,"packet_length":24,"packet_hex":"63000000000000000000000000000000c1debed100000000..."} 
[2026-07-19 09:35:36] local.INFO: Processing buffer {"connection_id":138830,"buffer_length":24,"buffer_hex":"63000000000000000000000000000000c1debed100000000..."} 
[2026-07-19 09:35:36] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":138830,"buffer_length":24,"first_bytes_hex":"63000000000000000000000000000000"} 
[2026-07-19 09:35:37] local.INFO: TCP Data received {"connection_id":136346,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:35:37] local.INFO: Processing buffer {"connection_id":136346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:35:37] local.INFO: IMEI packet received {"connection_id":136346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":136346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:35:38] local.INFO: TCP Data received {"connection_id":136346,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:35:38] local.INFO: Processing buffer {"connection_id":136346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78885748012d34c48006aa3da8000d00aa2b..."} 
[2026-07-19 09:35:38] local.INFO: Packet analysis {"connection_id":136346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7888"} 
[2026-07-19 09:35:38] local.INFO: Extracted packet for processing {"connection_id":136346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7888"} 
[2026-07-19 09:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":13,"angle":170,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814931968001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:35: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-07-19 09:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784433629000,"timestamp_ms":1784433629000,"timestamp_seconds":1784433629,"priority":1,"record_length":96,"hex_timestamp":"0000019f78885748"} 
[2026-07-19 09:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:35: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-07-19 09:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814931968001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814931968001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:35:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814931968001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":136346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:35:38] local.INFO: GPS data processed {"connection_id":136346,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:35:38] local.INFO: Acknowledgment sent {"connection_id":136346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:35:45] local.INFO: TCP Data received {"connection_id":136474,"ip":"172.104.241.98","data_length":110,"data_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-07-19 09:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136474,"packet_length":110,"packet_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-07-19 09:35:45] local.INFO: Processing buffer {"connection_id":136474,"buffer_length":110,"buffer_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-07-19 09:35:45] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":136474,"buffer_length":110,"first_bytes_hex":"1603000069010000650303551ca7e472"} 
[2026-07-19 09:36:09] local.INFO: TCP Data received {"connection_id":136346,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:36:09] local.INFO: Processing buffer {"connection_id":136346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:36:09] local.INFO: Packet analysis {"connection_id":136346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f788c"} 
[2026-07-19 09:36:09] local.INFO: Extracted packet for processing {"connection_id":136346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f788c"} 
[2026-07-19 09:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815009024001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:36: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-07-19 09:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784433930000,"timestamp_ms":1784433930000,"timestamp_seconds":1784433930,"priority":1,"record_length":96,"hex_timestamp":"0000019f788cef10"} 
[2026-07-19 09:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:36: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-07-19 09:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815009024001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815009024001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:36:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815009024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":136346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:36:09] local.INFO: GPS data processed {"connection_id":136346,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:36:09] local.INFO: Acknowledgment sent {"connection_id":136346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:36:20] local.INFO: TCP Data received {"connection_id":136475,"ip":"172.104.241.98","data_length":44,"data_hex":"800000283f0db3b50000000000000002000186a0000000020000000000000000..."} 
[2026-07-19 09:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136475,"packet_length":44,"packet_hex":"800000283f0db3b50000000000000002000186a0000000020000000000000000..."} 
[2026-07-19 09:36:20] local.INFO: Processing buffer {"connection_id":136475,"buffer_length":44,"buffer_hex":"800000283f0db3b50000000000000002000186a0000000020000000000000000..."} 
[2026-07-19 09:36:20] local.INFO: Found valid packet candidate {"position":8,"data_field_length":2,"total_length":14,"packet_hex_start":"0000000000000002000186a000000002"} 
[2026-07-19 09:36:20] local.INFO: Found valid Teltonika packet at position {"connection_id":136475,"packet_position":8,"bytes_removed":8} 
[2026-07-19 09:36:20] local.INFO: Packet analysis {"connection_id":136475,"data_field_length":2,"total_packet_length":14,"buffer_length":36,"packet_hex_start":"0000000000000002000186a000000002"} 
[2026-07-19 09:36:20] local.INFO: Extracted packet for processing {"connection_id":136475,"packet_length":14,"remaining_buffer_length":22,"packet_hex_start":"0000000000000002000186a00000"} 
[2026-07-19 09:36:20] local.WARNING: Failed to parse Teltonika packet {"connection_id":136475,"packet_length":14} 
[2026-07-19 09:36:20] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":136475,"buffer_length":22,"first_bytes_hex":"00020000000000000000000000000000"} 
[2026-07-19 09:36:37] local.INFO: TCP Data received {"connection_id":138831,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:36:37] local.INFO: Processing buffer {"connection_id":138831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:36:37] local.INFO: IMEI packet received {"connection_id":138831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":138831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:36:42] local.INFO: TCP Data received {"connection_id":138831,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:36:42] local.INFO: Processing buffer {"connection_id":138831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:36:42] local.INFO: IMEI packet received {"connection_id":138831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":138831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:36:43] local.INFO: TCP Data received {"connection_id":138831,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:36:43] local.INFO: Processing buffer {"connection_id":138831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:36:43] local.INFO: Packet analysis {"connection_id":138831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f788c"} 
[2026-07-19 09:36:43] local.INFO: Extracted packet for processing {"connection_id":138831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f788c"} 
[2026-07-19 09:36:43] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815009024001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:36: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-07-19 09:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784433930000,"timestamp_ms":1784433930000,"timestamp_seconds":1784433930,"priority":1,"record_length":96,"hex_timestamp":"0000019f788cef10"} 
[2026-07-19 09:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":138831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":138831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":138831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815009024001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815009024001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:36:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:36:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815009024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":138831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:36:43] local.INFO: GPS data processed {"connection_id":138831,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:36:43] local.INFO: Acknowledgment sent {"connection_id":138831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:37:15] local.INFO: TCP Data received {"connection_id":138831,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:37:15] local.INFO: Processing buffer {"connection_id":138831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:37:15] local.INFO: Packet analysis {"connection_id":138831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f788c"} 
[2026-07-19 09:37:15] local.INFO: Extracted packet for processing {"connection_id":138831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f788c"} 
[2026-07-19 09:37:15] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815009024001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 09:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784433930000,"timestamp_ms":1784433930000,"timestamp_seconds":1784433930,"priority":1,"record_length":96,"hex_timestamp":"0000019f788cef10"} 
[2026-07-19 09:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":138831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":138831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":138831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815009024001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815009024001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:37:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:37:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815009024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":138831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:37:15] local.INFO: GPS data processed {"connection_id":138831,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:37:15] local.INFO: Acknowledgment sent {"connection_id":138831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:37:32] local.INFO: TCP Data received {"connection_id":136476,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:37:32] local.INFO: Processing buffer {"connection_id":136476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:37:32] local.INFO: IMEI packet received {"connection_id":136476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":136476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:37:37] local.INFO: TCP Data received {"connection_id":136476,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:37:37] local.INFO: Processing buffer {"connection_id":136476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:37:37] local.INFO: IMEI packet received {"connection_id":136476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":136476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:37:38] local.INFO: TCP Data received {"connection_id":136476,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:37:38] local.INFO: Processing buffer {"connection_id":136476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:37:38] local.INFO: Packet analysis {"connection_id":136476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f788c"} 
[2026-07-19 09:37:38] local.INFO: Extracted packet for processing {"connection_id":136476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f788c"} 
[2026-07-19 09:37:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815009024001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:37: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-07-19 09:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784433930000,"timestamp_ms":1784433930000,"timestamp_seconds":1784433930,"priority":1,"record_length":96,"hex_timestamp":"0000019f788cef10"} 
[2026-07-19 09:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815009024001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815009024001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:37:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:37:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815009024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":136476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:37:38] local.INFO: GPS data processed {"connection_id":136476,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:37:38] local.INFO: Acknowledgment sent {"connection_id":136476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:38:09] local.INFO: TCP Data received {"connection_id":136476,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:38:09] local.INFO: Processing buffer {"connection_id":136476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:38:09] local.INFO: Packet analysis {"connection_id":136476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f788c"} 
[2026-07-19 09:38:09] local.INFO: Extracted packet for processing {"connection_id":136476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f788c"} 
[2026-07-19 09:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815009024001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:38: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-07-19 09:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784433930000,"timestamp_ms":1784433930000,"timestamp_seconds":1784433930,"priority":1,"record_length":96,"hex_timestamp":"0000019f788cef10"} 
[2026-07-19 09:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:38: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-07-19 09:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815009024001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815009024001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:38:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815009024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":136476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:38:09] local.INFO: GPS data processed {"connection_id":136476,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:38:09] local.INFO: Acknowledgment sent {"connection_id":136476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:38:31] local.INFO: TCP Data received {"connection_id":136478,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:38:31] local.INFO: Processing buffer {"connection_id":136478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:38:31] local.INFO: IMEI packet received {"connection_id":136478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":136478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:38:37] local.INFO: TCP Data received {"connection_id":136478,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:38:37] local.INFO: Processing buffer {"connection_id":136478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:38:37] local.INFO: IMEI packet received {"connection_id":136478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":136478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:38:38] local.INFO: TCP Data received {"connection_id":136478,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:38:38] local.INFO: Processing buffer {"connection_id":136478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:38:38] local.INFO: Packet analysis {"connection_id":136478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f788c"} 
[2026-07-19 09:38:38] local.INFO: Extracted packet for processing {"connection_id":136478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f788c"} 
[2026-07-19 09:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815009024001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:38: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-07-19 09:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784433930000,"timestamp_ms":1784433930000,"timestamp_seconds":1784433930,"priority":1,"record_length":96,"hex_timestamp":"0000019f788cef10"} 
[2026-07-19 09:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815009024001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815009024001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:38:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815009024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":136478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:38:38] local.INFO: GPS data processed {"connection_id":136478,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:38:38] local.INFO: Acknowledgment sent {"connection_id":136478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:39:09] local.INFO: TCP Data received {"connection_id":136478,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:39:09] local.INFO: Processing buffer {"connection_id":136478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:39:09] local.INFO: Packet analysis {"connection_id":136478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f788c"} 
[2026-07-19 09:39:09] local.INFO: Extracted packet for processing {"connection_id":136478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f788c"} 
[2026-07-19 09:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815009024001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:39: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-07-19 09:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784433930000,"timestamp_ms":1784433930000,"timestamp_seconds":1784433930,"priority":1,"record_length":96,"hex_timestamp":"0000019f788cef10"} 
[2026-07-19 09:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:39:09] 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-07-19 09:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815009024001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815009024001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:39:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815009024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":136478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:39:09] local.INFO: GPS data processed {"connection_id":136478,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:39:09] local.INFO: Acknowledgment sent {"connection_id":136478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:39:31] local.INFO: TCP Data received {"connection_id":137417,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:39:31] local.INFO: Processing buffer {"connection_id":137417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:39:31] local.INFO: IMEI packet received {"connection_id":137417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":137417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:39:37] local.INFO: TCP Data received {"connection_id":137417,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:39:37] local.INFO: Processing buffer {"connection_id":137417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:39:37] local.INFO: IMEI packet received {"connection_id":137417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":137417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:39:39] local.INFO: TCP Data received {"connection_id":137417,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:39:39] local.INFO: Processing buffer {"connection_id":137417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:39:39] local.INFO: Packet analysis {"connection_id":137417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f788c"} 
[2026-07-19 09:39:39] local.INFO: Extracted packet for processing {"connection_id":137417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f788c"} 
[2026-07-19 09:39:39] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815009024001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:39: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-07-19 09:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784433930000,"timestamp_ms":1784433930000,"timestamp_seconds":1784433930,"priority":1,"record_length":96,"hex_timestamp":"0000019f788cef10"} 
[2026-07-19 09:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":137417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":137417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":137417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815009024001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815009024001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:39:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:39:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815009024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":137417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:39:39] local.INFO: GPS data processed {"connection_id":137417,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:39:39] local.INFO: Acknowledgment sent {"connection_id":137417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:39:52] local.INFO: TCP Data received {"connection_id":137416,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137416,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:39:52] local.INFO: Processing buffer {"connection_id":137416,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:39:52] local.INFO: IMEI packet received {"connection_id":137416,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 09:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":137416,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:40:10] local.INFO: TCP Data received {"connection_id":137417,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:40:10] local.INFO: Processing buffer {"connection_id":137417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:40:10] local.INFO: Packet analysis {"connection_id":137417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f788c"} 
[2026-07-19 09:40:10] local.INFO: Extracted packet for processing {"connection_id":137417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f788c"} 
[2026-07-19 09:40:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815009024001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:40: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-07-19 09:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784433930000,"timestamp_ms":1784433930000,"timestamp_seconds":1784433930,"priority":1,"record_length":96,"hex_timestamp":"0000019f788cef10"} 
[2026-07-19 09:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815009024001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815009024001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:40:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:40:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815009024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":137417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:40:10] local.INFO: GPS data processed {"connection_id":137417,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:40:10] local.INFO: Acknowledgment sent {"connection_id":137417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:40:31] local.INFO: TCP Data received {"connection_id":137418,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:40:31] local.INFO: Processing buffer {"connection_id":137418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:40:31] local.INFO: IMEI packet received {"connection_id":137418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":137418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:40:32] local.INFO: TCP Data received {"connection_id":136479,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:40:32] local.INFO: Processing buffer {"connection_id":136479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:40:32] local.INFO: IMEI packet received {"connection_id":136479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 09:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":136479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:40:37] local.INFO: TCP Data received {"connection_id":137418,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:40:37] local.INFO: Processing buffer {"connection_id":137418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:40:37] local.INFO: IMEI packet received {"connection_id":137418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":137418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:40:38] local.INFO: TCP Data received {"connection_id":137418,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:40:38] local.INFO: Processing buffer {"connection_id":137418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:40:38] local.INFO: Packet analysis {"connection_id":137418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f788c"} 
[2026-07-19 09:40:38] local.INFO: Extracted packet for processing {"connection_id":137418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f788c"} 
[2026-07-19 09:40:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815009024001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:40: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-07-19 09:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784433930000,"timestamp_ms":1784433930000,"timestamp_seconds":1784433930,"priority":1,"record_length":96,"hex_timestamp":"0000019f788cef10"} 
[2026-07-19 09:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:40: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-07-19 09:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815009024001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815009024001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:40:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:40:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815009024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":137418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:40:38] local.INFO: GPS data processed {"connection_id":137418,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:40:38] local.INFO: Acknowledgment sent {"connection_id":137418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:41:09] local.INFO: TCP Data received {"connection_id":137418,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:41:09] local.INFO: Processing buffer {"connection_id":137418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f788cef10012d34c48006aa3da8000f00aa28..."} 
[2026-07-19 09:41:09] local.INFO: Packet analysis {"connection_id":137418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f788c"} 
[2026-07-19 09:41:09] local.INFO: Extracted packet for processing {"connection_id":137418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f788c"} 
[2026-07-19 09:41:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815009024001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:41: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-07-19 09:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784433930000,"timestamp_ms":1784433930000,"timestamp_seconds":1784433930,"priority":1,"record_length":96,"hex_timestamp":"0000019f788cef10"} 
[2026-07-19 09:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:41: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-07-19 09:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815009024001,"66":25549,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815009024001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:41:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:41:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815009024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":137418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:41:09] local.INFO: GPS data processed {"connection_id":137418,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:41:09] local.INFO: Acknowledgment sent {"connection_id":137418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:41:37] local.INFO: TCP Data received {"connection_id":138834,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:41:37] local.INFO: Processing buffer {"connection_id":138834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:41:37] local.INFO: IMEI packet received {"connection_id":138834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":138834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:41:42] local.INFO: TCP Data received {"connection_id":138834,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:41:42] local.INFO: Processing buffer {"connection_id":138834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:41:42] local.INFO: IMEI packet received {"connection_id":138834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":138834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:41:43] local.INFO: TCP Data received {"connection_id":138834,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:41:43] local.INFO: Processing buffer {"connection_id":138834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:41:43] local.INFO: Packet analysis {"connection_id":138834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7891"} 
[2026-07-19 09:41:43] local.INFO: Extracted packet for processing {"connection_id":138834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7891"} 
[2026-07-19 09:41:43] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815086080001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:41: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-07-19 09:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784434231000,"timestamp_ms":1784434231000,"timestamp_seconds":1784434231,"priority":1,"record_length":96,"hex_timestamp":"0000019f789186d8"} 
[2026-07-19 09:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":138834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":138834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":138834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815086080001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815086080001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:41:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:41:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815086080001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":138834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:41:43] local.INFO: GPS data processed {"connection_id":138834,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:41:43] local.INFO: Acknowledgment sent {"connection_id":138834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:42:15] local.INFO: TCP Data received {"connection_id":138834,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:42:15] local.INFO: Processing buffer {"connection_id":138834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:42:15] local.INFO: Packet analysis {"connection_id":138834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7891"} 
[2026-07-19 09:42:15] local.INFO: Extracted packet for processing {"connection_id":138834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7891"} 
[2026-07-19 09:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815086080001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 09:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784434231000,"timestamp_ms":1784434231000,"timestamp_seconds":1784434231,"priority":1,"record_length":96,"hex_timestamp":"0000019f789186d8"} 
[2026-07-19 09:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":138834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":138834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":138834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:42:15] 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-07-19 09:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815086080001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815086080001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:42:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815086080001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":138834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:42:15] local.INFO: GPS data processed {"connection_id":138834,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:42:15] local.INFO: Acknowledgment sent {"connection_id":138834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:42:32] local.INFO: TCP Data received {"connection_id":136480,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:42:32] local.INFO: Processing buffer {"connection_id":136480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:42:32] local.INFO: IMEI packet received {"connection_id":136480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":136480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:42:37] local.INFO: TCP Data received {"connection_id":136480,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:42:37] local.INFO: Processing buffer {"connection_id":136480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:42:37] local.INFO: IMEI packet received {"connection_id":136480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":136480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:42:37] local.INFO: TCP Data received {"connection_id":136480,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:42:38] local.INFO: Processing buffer {"connection_id":136480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:42:38] local.INFO: Packet analysis {"connection_id":136480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7891"} 
[2026-07-19 09:42:38] local.INFO: Extracted packet for processing {"connection_id":136480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7891"} 
[2026-07-19 09:42:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815086080001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:42: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-07-19 09:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784434231000,"timestamp_ms":1784434231000,"timestamp_seconds":1784434231,"priority":1,"record_length":96,"hex_timestamp":"0000019f789186d8"} 
[2026-07-19 09:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:42:38] 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-07-19 09:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815086080001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 09:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815086080001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:42:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:42:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815086080001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":136480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:42:38] local.INFO: GPS data processed {"connection_id":136480,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:42:38] local.INFO: Acknowledgment sent {"connection_id":136480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:43:09] local.INFO: TCP Data received {"connection_id":136480,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:43:09] local.INFO: Processing buffer {"connection_id":136480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:43:09] local.INFO: Packet analysis {"connection_id":136480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7891"} 
[2026-07-19 09:43:09] local.INFO: Extracted packet for processing {"connection_id":136480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7891"} 
[2026-07-19 09:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815086080001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:43: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-07-19 09:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784434231000,"timestamp_ms":1784434231000,"timestamp_seconds":1784434231,"priority":1,"record_length":96,"hex_timestamp":"0000019f789186d8"} 
[2026-07-19 09:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:43:09] 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-07-19 09:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815086080001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 09:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815086080001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:43:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:43:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815086080001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":136480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:43:09] local.INFO: GPS data processed {"connection_id":136480,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:43:09] local.INFO: Acknowledgment sent {"connection_id":136480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:43:32] local.INFO: TCP Data received {"connection_id":137420,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:43:32] local.INFO: Processing buffer {"connection_id":137420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:43:32] local.INFO: IMEI packet received {"connection_id":137420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":137420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:43:37] local.INFO: TCP Data received {"connection_id":137420,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:43:37] local.INFO: Processing buffer {"connection_id":137420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:43:37] local.INFO: IMEI packet received {"connection_id":137420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":137420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:43:38] local.INFO: TCP Data received {"connection_id":137420,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:43:38] local.INFO: Processing buffer {"connection_id":137420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:43:38] local.INFO: Packet analysis {"connection_id":137420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7891"} 
[2026-07-19 09:43:38] local.INFO: Extracted packet for processing {"connection_id":137420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7891"} 
[2026-07-19 09:43:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815086080001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:43: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-07-19 09:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784434231000,"timestamp_ms":1784434231000,"timestamp_seconds":1784434231,"priority":1,"record_length":96,"hex_timestamp":"0000019f789186d8"} 
[2026-07-19 09:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:43: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-07-19 09:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815086080001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815086080001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:43:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:43:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815086080001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":137420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:43:38] local.INFO: GPS data processed {"connection_id":137420,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:43:38] local.INFO: Acknowledgment sent {"connection_id":137420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:44:09] local.INFO: TCP Data received {"connection_id":137420,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:44:09] local.INFO: Processing buffer {"connection_id":137420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:44:09] local.INFO: Packet analysis {"connection_id":137420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7891"} 
[2026-07-19 09:44:09] local.INFO: Extracted packet for processing {"connection_id":137420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7891"} 
[2026-07-19 09:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815086080001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09: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-07-19 09:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784434231000,"timestamp_ms":1784434231000,"timestamp_seconds":1784434231,"priority":1,"record_length":96,"hex_timestamp":"0000019f789186d8"} 
[2026-07-19 09:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:44:09] 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-07-19 09:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815086080001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815086080001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:44:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815086080001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":137420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:44:09] local.INFO: GPS data processed {"connection_id":137420,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:44:09] local.INFO: Acknowledgment sent {"connection_id":137420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:44:31] local.INFO: TCP Data received {"connection_id":136348,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:44:31] local.INFO: Processing buffer {"connection_id":136348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:44:31] local.INFO: IMEI packet received {"connection_id":136348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":136348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:44:37] local.INFO: TCP Data received {"connection_id":136348,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:44:37] local.INFO: Processing buffer {"connection_id":136348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:44:37] local.INFO: IMEI packet received {"connection_id":136348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":136348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:44:38] local.INFO: TCP Data received {"connection_id":136348,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:44:38] local.INFO: Processing buffer {"connection_id":136348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:44:38] local.INFO: Packet analysis {"connection_id":136348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7891"} 
[2026-07-19 09:44:38] local.INFO: Extracted packet for processing {"connection_id":136348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7891"} 
[2026-07-19 09:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815086080001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:44: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-07-19 09:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784434231000,"timestamp_ms":1784434231000,"timestamp_seconds":1784434231,"priority":1,"record_length":96,"hex_timestamp":"0000019f789186d8"} 
[2026-07-19 09:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815086080001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 09:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815086080001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:44:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815086080001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":136348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:44:38] local.INFO: GPS data processed {"connection_id":136348,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:44:38] local.INFO: Acknowledgment sent {"connection_id":136348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:45:09] local.INFO: TCP Data received {"connection_id":136348,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:45:09] local.INFO: Processing buffer {"connection_id":136348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:45:09] local.INFO: Packet analysis {"connection_id":136348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7891"} 
[2026-07-19 09:45:09] local.INFO: Extracted packet for processing {"connection_id":136348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7891"} 
[2026-07-19 09:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815086080001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:45: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-07-19 09:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784434231000,"timestamp_ms":1784434231000,"timestamp_seconds":1784434231,"priority":1,"record_length":96,"hex_timestamp":"0000019f789186d8"} 
[2026-07-19 09:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815086080001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 09:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815086080001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:45:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815086080001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":136348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:45:09] local.INFO: GPS data processed {"connection_id":136348,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:45:09] local.INFO: Acknowledgment sent {"connection_id":136348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:45:31] local.INFO: TCP Data received {"connection_id":138836,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:45:31] local.INFO: Processing buffer {"connection_id":138836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:45:31] local.INFO: IMEI packet received {"connection_id":138836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":138836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:45:37] local.INFO: TCP Data received {"connection_id":138836,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:45:37] local.INFO: Processing buffer {"connection_id":138836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:45:37] local.INFO: IMEI packet received {"connection_id":138836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":138836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:45:38] local.INFO: TCP Data received {"connection_id":138836,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:45:38] local.INFO: Processing buffer {"connection_id":138836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:45:38] local.INFO: Packet analysis {"connection_id":138836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7891"} 
[2026-07-19 09:45:38] local.INFO: Extracted packet for processing {"connection_id":138836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7891"} 
[2026-07-19 09:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815086080001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:45: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-07-19 09:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784434231000,"timestamp_ms":1784434231000,"timestamp_seconds":1784434231,"priority":1,"record_length":96,"hex_timestamp":"0000019f789186d8"} 
[2026-07-19 09:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:45: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-07-19 09:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815086080001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815086080001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:45:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815086080001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":138836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:45:38] local.INFO: GPS data processed {"connection_id":138836,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:45:38] local.INFO: Acknowledgment sent {"connection_id":138836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:45:57] local.INFO: TCP Data received {"connection_id":136481,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:45:57] local.INFO: Processing buffer {"connection_id":136481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:45:57] local.INFO: IMEI packet received {"connection_id":136481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 09:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":136481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:46:09] local.INFO: TCP Data received {"connection_id":138836,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:46:09] local.INFO: Processing buffer {"connection_id":138836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789186d8012d34c48006aa3da8000f00aa29..."} 
[2026-07-19 09:46:09] local.INFO: Packet analysis {"connection_id":138836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7891"} 
[2026-07-19 09:46:09] local.INFO: Extracted packet for processing {"connection_id":138836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7891"} 
[2026-07-19 09:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815086080001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:46: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-07-19 09:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784434231000,"timestamp_ms":1784434231000,"timestamp_seconds":1784434231,"priority":1,"record_length":96,"hex_timestamp":"0000019f789186d8"} 
[2026-07-19 09:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 09:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:46: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-07-19 09:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815086080001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815086080001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:46:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815086080001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":138836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:46:09] local.INFO: GPS data processed {"connection_id":138836,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:46:09] local.INFO: Acknowledgment sent {"connection_id":138836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:46:27] local.INFO: TCP Data received {"connection_id":136349,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:46:27] local.INFO: Processing buffer {"connection_id":136349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:46:27] local.INFO: IMEI packet received {"connection_id":136349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 09:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":136349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:46:37] local.INFO: TCP Data received {"connection_id":136350,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:46:37] local.INFO: Processing buffer {"connection_id":136350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:46:37] local.INFO: IMEI packet received {"connection_id":136350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":136350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:46:42] local.INFO: TCP Data received {"connection_id":136350,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:46:42] local.INFO: Processing buffer {"connection_id":136350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:46:42] local.INFO: IMEI packet received {"connection_id":136350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":136350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:46:44] local.INFO: TCP Data received {"connection_id":136350,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:46:44] local.INFO: Processing buffer {"connection_id":136350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:46:44] local.INFO: Packet analysis {"connection_id":136350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7896"} 
[2026-07-19 09:46:44] local.INFO: Extracted packet for processing {"connection_id":136350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7896"} 
[2026-07-19 09:46:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815163136001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:46: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-07-19 09:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784434532000,"timestamp_ms":1784434532000,"timestamp_seconds":1784434532,"priority":1,"record_length":96,"hex_timestamp":"0000019f78961ea0"} 
[2026-07-19 09:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 09:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":136350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":136350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":136350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815163136001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815163136001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:46:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:46:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815163136001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":136350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:46:44] local.INFO: GPS data processed {"connection_id":136350,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:46:44] local.INFO: Acknowledgment sent {"connection_id":136350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:47:15] local.INFO: TCP Data received {"connection_id":136350,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:47:15] local.INFO: Processing buffer {"connection_id":136350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:47:15] local.INFO: Packet analysis {"connection_id":136350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7896"} 
[2026-07-19 09:47:15] local.INFO: Extracted packet for processing {"connection_id":136350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7896"} 
[2026-07-19 09:47:15] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815163136001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 09:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784434532000,"timestamp_ms":1784434532000,"timestamp_seconds":1784434532,"priority":1,"record_length":96,"hex_timestamp":"0000019f78961ea0"} 
[2026-07-19 09:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 09:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":136350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":136350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":136350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:47: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-07-19 09:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815163136001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815163136001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:47:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:47:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815163136001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":136350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:47:15] local.INFO: GPS data processed {"connection_id":136350,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:47:15] local.INFO: Acknowledgment sent {"connection_id":136350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:47:32] local.INFO: TCP Data received {"connection_id":138838,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:47:32] local.INFO: Processing buffer {"connection_id":138838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:47:32] local.INFO: IMEI packet received {"connection_id":138838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":138838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:47:37] local.INFO: TCP Data received {"connection_id":138838,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:47:37] local.INFO: Processing buffer {"connection_id":138838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:47:37] local.INFO: IMEI packet received {"connection_id":138838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":138838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:47:38] local.INFO: TCP Data received {"connection_id":138838,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:47:38] local.INFO: Processing buffer {"connection_id":138838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:47:38] local.INFO: Packet analysis {"connection_id":138838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7896"} 
[2026-07-19 09:47:38] local.INFO: Extracted packet for processing {"connection_id":138838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7896"} 
[2026-07-19 09:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815163136001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:47: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-07-19 09:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784434532000,"timestamp_ms":1784434532000,"timestamp_seconds":1784434532,"priority":1,"record_length":96,"hex_timestamp":"0000019f78961ea0"} 
[2026-07-19 09:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 09:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:47: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-07-19 09:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815163136001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815163136001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815163136001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":138838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:47:38] local.INFO: GPS data processed {"connection_id":138838,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:47:38] local.INFO: Acknowledgment sent {"connection_id":138838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:48:10] local.INFO: TCP Data received {"connection_id":138838,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:48:10] local.INFO: Processing buffer {"connection_id":138838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:48:10] local.INFO: Packet analysis {"connection_id":138838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7896"} 
[2026-07-19 09:48:10] local.INFO: Extracted packet for processing {"connection_id":138838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7896"} 
[2026-07-19 09:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815163136001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:48: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-07-19 09:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784434532000,"timestamp_ms":1784434532000,"timestamp_seconds":1784434532,"priority":1,"record_length":96,"hex_timestamp":"0000019f78961ea0"} 
[2026-07-19 09:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 09:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815163136001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815163136001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:48:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815163136001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":138838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:48:10] local.INFO: GPS data processed {"connection_id":138838,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:48:10] local.INFO: Acknowledgment sent {"connection_id":138838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:48:31] local.INFO: TCP Data received {"connection_id":136482,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:48:31] local.INFO: Processing buffer {"connection_id":136482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:48:31] local.INFO: IMEI packet received {"connection_id":136482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":136482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:48:37] local.INFO: TCP Data received {"connection_id":136482,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:48:37] local.INFO: Processing buffer {"connection_id":136482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:48:37] local.INFO: IMEI packet received {"connection_id":136482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":136482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:48:37] local.INFO: TCP Data received {"connection_id":136482,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:48:37] local.INFO: Processing buffer {"connection_id":136482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:48:37] local.INFO: Packet analysis {"connection_id":136482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7896"} 
[2026-07-19 09:48:37] local.INFO: Extracted packet for processing {"connection_id":136482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7896"} 
[2026-07-19 09:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815163136001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:48: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-07-19 09:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784434532000,"timestamp_ms":1784434532000,"timestamp_seconds":1784434532,"priority":1,"record_length":96,"hex_timestamp":"0000019f78961ea0"} 
[2026-07-19 09:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 09:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815163136001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815163136001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:48:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:48:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815163136001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":136482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:48:38] local.INFO: GPS data processed {"connection_id":136482,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:48:38] local.INFO: Acknowledgment sent {"connection_id":136482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:49:09] local.INFO: TCP Data received {"connection_id":136482,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:49:09] local.INFO: Processing buffer {"connection_id":136482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:49:09] local.INFO: Packet analysis {"connection_id":136482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7896"} 
[2026-07-19 09:49:09] local.INFO: Extracted packet for processing {"connection_id":136482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7896"} 
[2026-07-19 09:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815163136001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:49: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-07-19 09:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784434532000,"timestamp_ms":1784434532000,"timestamp_seconds":1784434532,"priority":1,"record_length":96,"hex_timestamp":"0000019f78961ea0"} 
[2026-07-19 09:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 09:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815163136001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815163136001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:49:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815163136001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":136482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:49:09] local.INFO: GPS data processed {"connection_id":136482,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:49:09] local.INFO: Acknowledgment sent {"connection_id":136482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:49:31] local.INFO: TCP Data received {"connection_id":137424,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:49:31] local.INFO: Processing buffer {"connection_id":137424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:49:31] local.INFO: IMEI packet received {"connection_id":137424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":137424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:49:37] local.INFO: TCP Data received {"connection_id":137424,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:49:37] local.INFO: Processing buffer {"connection_id":137424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:49:37] local.INFO: IMEI packet received {"connection_id":137424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":137424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:49:38] local.INFO: TCP Data received {"connection_id":137424,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:49:38] local.INFO: Processing buffer {"connection_id":137424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:49:38] local.INFO: Packet analysis {"connection_id":137424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7896"} 
[2026-07-19 09:49:38] local.INFO: Extracted packet for processing {"connection_id":137424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7896"} 
[2026-07-19 09:49:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815163136001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:49: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-07-19 09:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784434532000,"timestamp_ms":1784434532000,"timestamp_seconds":1784434532,"priority":1,"record_length":96,"hex_timestamp":"0000019f78961ea0"} 
[2026-07-19 09:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 09:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:49: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-07-19 09:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815163136001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815163136001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:49:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:49:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815163136001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":137424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:49:38] local.INFO: GPS data processed {"connection_id":137424,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:49:38] local.INFO: Acknowledgment sent {"connection_id":137424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:50:10] local.INFO: TCP Data received {"connection_id":137424,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:50:10] local.INFO: Processing buffer {"connection_id":137424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:50:10] local.INFO: Packet analysis {"connection_id":137424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7896"} 
[2026-07-19 09:50:10] local.INFO: Extracted packet for processing {"connection_id":137424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7896"} 
[2026-07-19 09:50:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 09:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815163136001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:50: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-07-19 09:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784434532000,"timestamp_ms":1784434532000,"timestamp_seconds":1784434532,"priority":1,"record_length":96,"hex_timestamp":"0000019f78961ea0"} 
[2026-07-19 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-07-19 09:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 09:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 09:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:50: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-07-19 09:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815163136001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815163136001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:50:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:50:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815163136001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":137424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:50:10] local.INFO: GPS data processed {"connection_id":137424,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:50:10] local.INFO: Acknowledgment sent {"connection_id":137424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:50:31] local.INFO: TCP Data received {"connection_id":136352,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:50:31] local.INFO: Processing buffer {"connection_id":136352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:50:31] local.INFO: IMEI packet received {"connection_id":136352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":136352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:50:37] local.INFO: TCP Data received {"connection_id":136352,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:50:37] local.INFO: Processing buffer {"connection_id":136352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:50:37] local.INFO: IMEI packet received {"connection_id":136352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":136352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:50:38] local.INFO: TCP Data received {"connection_id":136352,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:50:38] local.INFO: Processing buffer {"connection_id":136352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:50:38] local.INFO: Packet analysis {"connection_id":136352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7896"} 
[2026-07-19 09:50:38] local.INFO: Extracted packet for processing {"connection_id":136352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7896"} 
[2026-07-19 09:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815163136001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:50: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-07-19 09:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784434532000,"timestamp_ms":1784434532000,"timestamp_seconds":1784434532,"priority":1,"record_length":96,"hex_timestamp":"0000019f78961ea0"} 
[2026-07-19 09:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 09:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:50: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-07-19 09:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815163136001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815163136001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:50:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:50:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815163136001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":136352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:50:38] local.INFO: GPS data processed {"connection_id":136352,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:50:38] local.INFO: Acknowledgment sent {"connection_id":136352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:51:09] local.INFO: TCP Data received {"connection_id":136352,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:51:09] local.INFO: Processing buffer {"connection_id":136352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78961ea0012d34c48006aa3da8000f00aa27..."} 
[2026-07-19 09:51:09] local.INFO: Packet analysis {"connection_id":136352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7896"} 
[2026-07-19 09:51:09] local.INFO: Extracted packet for processing {"connection_id":136352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7896"} 
[2026-07-19 09:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815163136001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:51: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-07-19 09:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784434532000,"timestamp_ms":1784434532000,"timestamp_seconds":1784434532,"priority":1,"record_length":96,"hex_timestamp":"0000019f78961ea0"} 
[2026-07-19 09:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 09:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:51: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-07-19 09:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815163136001,"66":25538,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815163136001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:51:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815163136001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":136352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:51:09] local.INFO: GPS data processed {"connection_id":136352,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:51:09] local.INFO: Acknowledgment sent {"connection_id":136352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:51:37] local.INFO: TCP Data received {"connection_id":136353,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:51:37] local.INFO: Processing buffer {"connection_id":136353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:51:37] local.INFO: IMEI packet received {"connection_id":136353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":136353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:51:42] local.INFO: TCP Data received {"connection_id":136353,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:51:42] local.INFO: Processing buffer {"connection_id":136353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:51:42] local.INFO: IMEI packet received {"connection_id":136353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":136353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:51:44] local.INFO: TCP Data received {"connection_id":136353,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:51:44] local.INFO: Processing buffer {"connection_id":136353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:51:44] local.INFO: Packet analysis {"connection_id":136353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f789a"} 
[2026-07-19 09:51:44] local.INFO: Extracted packet for processing {"connection_id":136353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f789a"} 
[2026-07-19 09:51:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815240192001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:51: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-07-19 09:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784434833000,"timestamp_ms":1784434833000,"timestamp_seconds":1784434833,"priority":1,"record_length":96,"hex_timestamp":"0000019f789ab668"} 
[2026-07-19 09:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":136353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":136353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":136353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:51:44] 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-07-19 09:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815240192001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815240192001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:51:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:51:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815240192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":136353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:51:44] local.INFO: GPS data processed {"connection_id":136353,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:51:44] local.INFO: Acknowledgment sent {"connection_id":136353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:51:52] local.INFO: TCP Data received {"connection_id":138839,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:51:52] local.INFO: Processing buffer {"connection_id":138839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:51:52] local.INFO: IMEI packet received {"connection_id":138839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 09:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":138839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:52:16] local.INFO: TCP Data received {"connection_id":136353,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:52:16] local.INFO: Processing buffer {"connection_id":136353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:52:16] local.INFO: Packet analysis {"connection_id":136353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f789a"} 
[2026-07-19 09:52:16] local.INFO: Extracted packet for processing {"connection_id":136353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f789a"} 
[2026-07-19 09:52:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815240192001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 09:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784434833000,"timestamp_ms":1784434833000,"timestamp_seconds":1784434833,"priority":1,"record_length":96,"hex_timestamp":"0000019f789ab668"} 
[2026-07-19 09:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":136353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":136353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":136353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815240192001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815240192001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:52:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:52:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815240192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":136353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:52:16] local.INFO: GPS data processed {"connection_id":136353,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:52:16] local.INFO: Acknowledgment sent {"connection_id":136353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:52:29] local.INFO: TCP Data received {"connection_id":136483,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:52:29] local.INFO: Processing buffer {"connection_id":136483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:52:29] local.INFO: IMEI packet received {"connection_id":136483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 09:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":136483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:52:33] local.INFO: TCP Data received {"connection_id":137425,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:52:33] local.INFO: Processing buffer {"connection_id":137425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:52:33] local.INFO: IMEI packet received {"connection_id":137425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":137425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:52:37] local.INFO: TCP Data received {"connection_id":137425,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:52:37] local.INFO: Processing buffer {"connection_id":137425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:52:37] local.INFO: IMEI packet received {"connection_id":137425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":137425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:52:38] local.INFO: TCP Data received {"connection_id":137425,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:52:38] local.INFO: Processing buffer {"connection_id":137425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:52:38] local.INFO: Packet analysis {"connection_id":137425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f789a"} 
[2026-07-19 09:52:38] local.INFO: Extracted packet for processing {"connection_id":137425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f789a"} 
[2026-07-19 09:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815240192001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:52: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-07-19 09:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784434833000,"timestamp_ms":1784434833000,"timestamp_seconds":1784434833,"priority":1,"record_length":96,"hex_timestamp":"0000019f789ab668"} 
[2026-07-19 09:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:52: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-07-19 09:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815240192001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815240192001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:52:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:52:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815240192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":137425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:52:38] local.INFO: GPS data processed {"connection_id":137425,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:52:38] local.INFO: Acknowledgment sent {"connection_id":137425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:52:42] local.INFO: TCP Data received {"connection_id":137425,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:52:42] local.INFO: Processing buffer {"connection_id":137425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:52:42] local.INFO: Packet analysis {"connection_id":137425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f789a"} 
[2026-07-19 09:52:42] local.INFO: Extracted packet for processing {"connection_id":137425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f789a"} 
[2026-07-19 09:52:42] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815240192001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 09:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784434833000,"timestamp_ms":1784434833000,"timestamp_seconds":1784434833,"priority":1,"record_length":96,"hex_timestamp":"0000019f789ab668"} 
[2026-07-19 09:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815240192001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815240192001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:52:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:52:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815240192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":137425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:52:42] local.INFO: GPS data processed {"connection_id":137425,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:52:42] local.INFO: Acknowledgment sent {"connection_id":137425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:53:14] local.INFO: TCP Data received {"connection_id":137425,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:53:14] local.INFO: Processing buffer {"connection_id":137425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:53:14] local.INFO: Packet analysis {"connection_id":137425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f789a"} 
[2026-07-19 09:53:14] local.INFO: Extracted packet for processing {"connection_id":137425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f789a"} 
[2026-07-19 09:53:14] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815240192001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:53: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-07-19 09:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784434833000,"timestamp_ms":1784434833000,"timestamp_seconds":1784434833,"priority":1,"record_length":96,"hex_timestamp":"0000019f789ab668"} 
[2026-07-19 09:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":137425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":137425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":137425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:53: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-07-19 09:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815240192001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815240192001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:53:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:53:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815240192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":137425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:53:14] local.INFO: GPS data processed {"connection_id":137425,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:53:14] local.INFO: Acknowledgment sent {"connection_id":137425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:53:32] local.INFO: TCP Data received {"connection_id":138840,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:53:32] local.INFO: Processing buffer {"connection_id":138840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:53:32] local.INFO: IMEI packet received {"connection_id":138840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":138840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:53:37] local.INFO: TCP Data received {"connection_id":138840,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:53:37] local.INFO: Processing buffer {"connection_id":138840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:53:37] local.INFO: IMEI packet received {"connection_id":138840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":138840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:53:37] local.INFO: TCP Data received {"connection_id":138840,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:53:37] local.INFO: Processing buffer {"connection_id":138840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:53:37] local.INFO: Packet analysis {"connection_id":138840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f789a"} 
[2026-07-19 09:53:37] local.INFO: Extracted packet for processing {"connection_id":138840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f789a"} 
[2026-07-19 09:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815240192001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:53: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-07-19 09:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784434833000,"timestamp_ms":1784434833000,"timestamp_seconds":1784434833,"priority":1,"record_length":96,"hex_timestamp":"0000019f789ab668"} 
[2026-07-19 09:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815240192001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815240192001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:53:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815240192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":138840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:53:38] local.INFO: GPS data processed {"connection_id":138840,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:53:38] local.INFO: Acknowledgment sent {"connection_id":138840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:54:09] local.INFO: TCP Data received {"connection_id":138840,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:54:09] local.INFO: Processing buffer {"connection_id":138840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:54:09] local.INFO: Packet analysis {"connection_id":138840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f789a"} 
[2026-07-19 09:54:09] local.INFO: Extracted packet for processing {"connection_id":138840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f789a"} 
[2026-07-19 09:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 09:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815240192001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09: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-07-19 09:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784434833000,"timestamp_ms":1784434833000,"timestamp_seconds":1784434833,"priority":1,"record_length":96,"hex_timestamp":"0000019f789ab668"} 
[2026-07-19 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-07-19 09:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 09:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:54:09] 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-07-19 09:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815240192001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815240192001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815240192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":138840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:54:09] local.INFO: GPS data processed {"connection_id":138840,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:54:09] local.INFO: Acknowledgment sent {"connection_id":138840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:54:37] local.INFO: TCP Data received {"connection_id":138841,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:54:37] local.INFO: Processing buffer {"connection_id":138841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:54:37] local.INFO: IMEI packet received {"connection_id":138841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":138841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:54:42] local.INFO: TCP Data received {"connection_id":138841,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:54:42] local.INFO: Processing buffer {"connection_id":138841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:54:42] local.INFO: IMEI packet received {"connection_id":138841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":138841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:54:47] local.INFO: TCP Data received {"connection_id":138841,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:54:47] local.INFO: Processing buffer {"connection_id":138841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:54:47] local.INFO: IMEI packet received {"connection_id":138841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":138841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:54:48] local.INFO: TCP Data received {"connection_id":138841,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:54:48] local.INFO: Processing buffer {"connection_id":138841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:54:48] local.INFO: Packet analysis {"connection_id":138841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f789a"} 
[2026-07-19 09:54:48] local.INFO: Extracted packet for processing {"connection_id":138841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f789a"} 
[2026-07-19 09:54:48] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815240192001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 09:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784434833000,"timestamp_ms":1784434833000,"timestamp_seconds":1784434833,"priority":1,"record_length":96,"hex_timestamp":"0000019f789ab668"} 
[2026-07-19 09:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":138841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":138841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":138841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815240192001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815240192001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:54:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:54:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815240192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":138841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:54:48] local.INFO: GPS data processed {"connection_id":138841,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:54:48] local.INFO: Acknowledgment sent {"connection_id":138841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:54:53] local.INFO: TCP Data received {"connection_id":138841,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:54:53] local.INFO: Processing buffer {"connection_id":138841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:54:53] local.INFO: Packet analysis {"connection_id":138841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f789a"} 
[2026-07-19 09:54:53] local.INFO: Extracted packet for processing {"connection_id":138841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f789a"} 
[2026-07-19 09:54:53] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815240192001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 09:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784434833000,"timestamp_ms":1784434833000,"timestamp_seconds":1784434833,"priority":1,"record_length":96,"hex_timestamp":"0000019f789ab668"} 
[2026-07-19 09:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:54: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-07-19 09:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":138841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":138841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":138841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:54:53] 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-07-19 09:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815240192001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815240192001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:54:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:54:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815240192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":138841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:54:53] local.INFO: GPS data processed {"connection_id":138841,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:54:53] local.INFO: Acknowledgment sent {"connection_id":138841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:55:32] local.INFO: TCP Data received {"connection_id":136485,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:55:32] local.INFO: Processing buffer {"connection_id":136485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:55:32] local.INFO: IMEI packet received {"connection_id":136485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":136485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:55:37] local.INFO: TCP Data received {"connection_id":136485,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:55:37] local.INFO: Processing buffer {"connection_id":136485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:55:37] local.INFO: IMEI packet received {"connection_id":136485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":136485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:55:37] local.INFO: TCP Data received {"connection_id":136485,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:55:37] local.INFO: Processing buffer {"connection_id":136485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:55:37] local.INFO: Packet analysis {"connection_id":136485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f789a"} 
[2026-07-19 09:55:37] local.INFO: Extracted packet for processing {"connection_id":136485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f789a"} 
[2026-07-19 09:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815240192001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:55: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-07-19 09:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784434833000,"timestamp_ms":1784434833000,"timestamp_seconds":1784434833,"priority":1,"record_length":96,"hex_timestamp":"0000019f789ab668"} 
[2026-07-19 09:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815240192001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815240192001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815240192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":136485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:55:38] local.INFO: GPS data processed {"connection_id":136485,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:55:38] local.INFO: Acknowledgment sent {"connection_id":136485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:56:09] local.INFO: TCP Data received {"connection_id":136485,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:56:09] local.INFO: Processing buffer {"connection_id":136485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789ab668012d34c48006aa3da8000f00aa25..."} 
[2026-07-19 09:56:09] local.INFO: Packet analysis {"connection_id":136485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f789a"} 
[2026-07-19 09:56:09] local.INFO: Extracted packet for processing {"connection_id":136485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f789a"} 
[2026-07-19 09:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":15,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815240192001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:56: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-07-19 09:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784434833000,"timestamp_ms":1784434833000,"timestamp_seconds":1784434833,"priority":1,"record_length":96,"hex_timestamp":"0000019f789ab668"} 
[2026-07-19 09:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 09:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815240192001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815240192001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815240192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":136485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:56:09] local.INFO: GPS data processed {"connection_id":136485,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:56:09] local.INFO: Acknowledgment sent {"connection_id":136485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:56:31] local.INFO: TCP Data received {"connection_id":136354,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:56:31] local.INFO: Processing buffer {"connection_id":136354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:56:31] local.INFO: IMEI packet received {"connection_id":136354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":136354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:56:37] local.INFO: TCP Data received {"connection_id":136354,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:56:37] local.INFO: Processing buffer {"connection_id":136354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:56:37] local.INFO: IMEI packet received {"connection_id":136354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":136354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:56:37] local.INFO: TCP Data received {"connection_id":136354,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 09:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 09:56:37] local.INFO: Processing buffer {"connection_id":136354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 09:56:37] local.INFO: Packet analysis {"connection_id":136354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f789f"} 
[2026-07-19 09:56:37] local.INFO: Extracted packet for processing {"connection_id":136354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f789f"} 
[2026-07-19 09:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815317248001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:56: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-07-19 09:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784435134000,"timestamp_ms":1784435134000,"timestamp_seconds":1784435134,"priority":1,"record_length":96,"hex_timestamp":"0000019f789f4e30"} 
[2026-07-19 09:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 09:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815317248001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815317248001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:56:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:56:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815317248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":136354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:56:38] local.INFO: GPS data processed {"connection_id":136354,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:56:38] local.INFO: Acknowledgment sent {"connection_id":136354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:57:09] local.INFO: TCP Data received {"connection_id":136354,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 09:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 09:57:09] local.INFO: Processing buffer {"connection_id":136354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 09:57:09] local.INFO: Packet analysis {"connection_id":136354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f789f"} 
[2026-07-19 09:57:09] local.INFO: Extracted packet for processing {"connection_id":136354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f789f"} 
[2026-07-19 09:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815317248001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:57: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-07-19 09:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784435134000,"timestamp_ms":1784435134000,"timestamp_seconds":1784435134,"priority":1,"record_length":96,"hex_timestamp":"0000019f789f4e30"} 
[2026-07-19 09:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 09:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:57: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-07-19 09:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815317248001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815317248001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:57:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815317248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":136354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:57:09] local.INFO: GPS data processed {"connection_id":136354,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:57:09] local.INFO: Acknowledgment sent {"connection_id":136354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:57:31] local.INFO: TCP Data received {"connection_id":136356,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:57:31] local.INFO: Processing buffer {"connection_id":136356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:57:31] local.INFO: IMEI packet received {"connection_id":136356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":136356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:57:37] local.INFO: TCP Data received {"connection_id":136356,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:57:37] local.INFO: Processing buffer {"connection_id":136356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:57:37] local.INFO: IMEI packet received {"connection_id":136356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":136356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:57:37] local.INFO: TCP Data received {"connection_id":136356,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 09:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 09:57:37] local.INFO: Processing buffer {"connection_id":136356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 09:57:37] local.INFO: Packet analysis {"connection_id":136356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f789f"} 
[2026-07-19 09:57:37] local.INFO: Extracted packet for processing {"connection_id":136356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f789f"} 
[2026-07-19 09:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815317248001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:57: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-07-19 09:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784435134000,"timestamp_ms":1784435134000,"timestamp_seconds":1784435134,"priority":1,"record_length":96,"hex_timestamp":"0000019f789f4e30"} 
[2026-07-19 09:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 09:57: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-07-19 09:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815317248001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 09:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815317248001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:57:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815317248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":136356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:57:37] local.INFO: GPS data processed {"connection_id":136356,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:57:37] local.INFO: Acknowledgment sent {"connection_id":136356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:57:47] local.INFO: TCP Data received {"connection_id":136355,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:57:47] local.INFO: Processing buffer {"connection_id":136355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:57:47] local.INFO: IMEI packet received {"connection_id":136355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 09:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":136355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:58:09] local.INFO: TCP Data received {"connection_id":136356,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 09:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 09:58:09] local.INFO: Processing buffer {"connection_id":136356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 09:58:09] local.INFO: Packet analysis {"connection_id":136356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f789f"} 
[2026-07-19 09:58:09] local.INFO: Extracted packet for processing {"connection_id":136356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f789f"} 
[2026-07-19 09:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815317248001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09: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-07-19 09:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784435134000,"timestamp_ms":1784435134000,"timestamp_seconds":1784435134,"priority":1,"record_length":96,"hex_timestamp":"0000019f789f4e30"} 
[2026-07-19 09:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 09:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:58: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-07-19 09:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815317248001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 09:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815317248001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:58:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:58:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815317248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":136356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:58:09] local.INFO: GPS data processed {"connection_id":136356,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:58:09] local.INFO: Acknowledgment sent {"connection_id":136356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:58:27] local.INFO: TCP Data received {"connection_id":136487,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:58:27] local.INFO: Processing buffer {"connection_id":136487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:58:27] local.INFO: IMEI packet received {"connection_id":136487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 09:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":136487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:58:32] local.INFO: TCP Data received {"connection_id":136487,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:58:32] local.INFO: Processing buffer {"connection_id":136487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:58:32] local.INFO: IMEI packet received {"connection_id":136487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-19 09:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":136487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:58:33] local.INFO: TCP Data received {"connection_id":136487,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f787d8d90012d34cbc006aa56b00008010228..."} 
[2026-07-19 09:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f787d8d90012d34cbc006aa56b00008010228..."} 
[2026-07-19 09:58:33] local.INFO: Processing buffer {"connection_id":136487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f787d8d90012d34cbc006aa56b00008010228..."} 
[2026-07-19 09:58:33] local.INFO: Packet analysis {"connection_id":136487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f787d"} 
[2026-07-19 09:58:33] local.INFO: Extracted packet for processing {"connection_id":136487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f787d"} 
[2026-07-19 09:58:33] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111826608,"longitude_deg":75.8434752,"latitude_deg":11.1826608,"altitude":8,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa56b0","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814750976001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":137892630867476480,"note":"Value kept but may cause issues"} 
[2026-07-19 09:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445104660480,"note":"Value kept but may cause issues"} 
[2026-07-19 09:58: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-07-19 09:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784432922000,"timestamp_ms":1784432922000,"timestamp_seconds":1784432922,"priority":1,"record_length":96,"hex_timestamp":"0000019f787d8d90"} 
[2026-07-19 09:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 09:58:33] 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-07-19 09: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-07-19 09:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":136487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":136487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-19 09:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":136487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-19 09:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-19 09:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-19 09:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814750976001,"66":25919,"97":206,"81":23296,"24":0,"16":137892630867476480,"45":3804345445104660480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 09:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-19 09:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-19 09:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814750976001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:58:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:58:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":137892630867476480,"km_value":137892630867476.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445104660480,"description":"Unknown IO ID 45"} 
[2026-07-19 09:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814750976001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445104660480}} 
[2026-07-19 09:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":136487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511476,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:58:33] local.INFO: GPS data processed {"connection_id":136487,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:58:33] local.INFO: Acknowledgment sent {"connection_id":136487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:58:36] local.INFO: TCP Data received {"connection_id":136488,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:58:36] local.INFO: Processing buffer {"connection_id":136488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:58:36] local.INFO: IMEI packet received {"connection_id":136488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":136488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:58:42] local.INFO: TCP Data received {"connection_id":136488,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:58:42] local.INFO: Processing buffer {"connection_id":136488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:58:42] local.INFO: IMEI packet received {"connection_id":136488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":136488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:58:43] local.INFO: TCP Data received {"connection_id":136488,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 09:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 09:58:43] local.INFO: Processing buffer {"connection_id":136488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 09:58:43] local.INFO: Packet analysis {"connection_id":136488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f789f"} 
[2026-07-19 09:58:43] local.INFO: Extracted packet for processing {"connection_id":136488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f789f"} 
[2026-07-19 09:58:43] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09: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-07-19 09:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815317248001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:58: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-07-19 09:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784435134000,"timestamp_ms":1784435134000,"timestamp_seconds":1784435134,"priority":1,"record_length":96,"hex_timestamp":"0000019f789f4e30"} 
[2026-07-19 09:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:58:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 09:58:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09: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-07-19 09:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815317248001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815317248001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:58:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:58:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815317248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":136488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:58:43] local.INFO: GPS data processed {"connection_id":136488,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:58:43] local.INFO: Acknowledgment sent {"connection_id":136488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:58:47] local.INFO: TCP Data received {"connection_id":136488,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 09:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 09:58:47] local.INFO: Processing buffer {"connection_id":136488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 09:58:47] local.INFO: Packet analysis {"connection_id":136488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f789f"} 
[2026-07-19 09:58:47] local.INFO: Extracted packet for processing {"connection_id":136488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f789f"} 
[2026-07-19 09:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 09:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 09:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815317248001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 09:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784435134000,"timestamp_ms":1784435134000,"timestamp_seconds":1784435134,"priority":1,"record_length":96,"hex_timestamp":"0000019f789f4e30"} 
[2026-07-19 09:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 09:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 09:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 09:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 09:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 09:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 09:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815317248001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815317248001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:58:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815317248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":136488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:58:47] local.INFO: GPS data processed {"connection_id":136488,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:58:47] local.INFO: Acknowledgment sent {"connection_id":136488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 09:59:17] local.INFO: TCP Data received {"connection_id":138843,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:59:17] local.INFO: Processing buffer {"connection_id":138843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:59:17] local.INFO: IMEI packet received {"connection_id":138843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 09:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":138843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:59:27] local.INFO: TCP Data received {"connection_id":138844,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:59:27] local.INFO: Processing buffer {"connection_id":138844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 09:59:27] local.INFO: IMEI packet received {"connection_id":138844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 09:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":138844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:59:32] local.INFO: TCP Data received {"connection_id":136489,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:59:32] local.INFO: Processing buffer {"connection_id":136489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:59:32] local.INFO: IMEI packet received {"connection_id":136489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 09:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":136489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 09:59:37] local.INFO: TCP Data received {"connection_id":136489,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:59:37] local.INFO: Processing buffer {"connection_id":136489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 09:59:37] local.INFO: IMEI packet received {"connection_id":136489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 09:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":136489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 09:59:38] local.INFO: TCP Data received {"connection_id":136489,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 09:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 09:59:38] local.INFO: Processing buffer {"connection_id":136489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 09:59:38] local.INFO: Packet analysis {"connection_id":136489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f789f"} 
[2026-07-19 09:59:38] local.INFO: Extracted packet for processing {"connection_id":136489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f789f"} 
[2026-07-19 09:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 09:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815317248001,"note":"Value kept but may cause issues"} 
[2026-07-19 09:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 09:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 09: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-07-19 09:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784435134000,"timestamp_ms":1784435134000,"timestamp_seconds":1784435134,"priority":1,"record_length":96,"hex_timestamp":"0000019f789f4e30"} 
[2026-07-19 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-07-19 09:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 09:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 09:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 09:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 09:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 09:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 09:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 09:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 09:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815317248001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 09:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 09:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 09:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815317248001,"description":"Unknown IO ID 0"} 
[2026-07-19 09:59:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 09:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 09:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 09:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 09:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815317248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 09:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":136489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 09:59:38] local.INFO: GPS data processed {"connection_id":136489,"processed":1,"errors":0,"total":1} 
[2026-07-19 09:59:38] local.INFO: Acknowledgment sent {"connection_id":136489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:00:10] local.INFO: TCP Data received {"connection_id":136489,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:00:10] local.INFO: Processing buffer {"connection_id":136489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:00:10] local.INFO: Packet analysis {"connection_id":136489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f789f"} 
[2026-07-19 10:00:10] local.INFO: Extracted packet for processing {"connection_id":136489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f789f"} 
[2026-07-19 10:00:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815317248001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:00: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-07-19 10:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784435134000,"timestamp_ms":1784435134000,"timestamp_seconds":1784435134,"priority":1,"record_length":96,"hex_timestamp":"0000019f789f4e30"} 
[2026-07-19 10:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 10:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:00: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-07-19 10:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815317248001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815317248001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:00:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:00:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815317248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":136489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:00:10] local.INFO: GPS data processed {"connection_id":136489,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:00:10] local.INFO: Acknowledgment sent {"connection_id":136489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:00:32] local.INFO: TCP Data received {"connection_id":138845,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:00:32] local.INFO: Processing buffer {"connection_id":138845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:00:32] local.INFO: IMEI packet received {"connection_id":138845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":138845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:00:37] local.INFO: TCP Data received {"connection_id":138845,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:00:37] local.INFO: Processing buffer {"connection_id":138845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:00:37] local.INFO: IMEI packet received {"connection_id":138845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":138845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:00:38] local.INFO: TCP Data received {"connection_id":138845,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:00:38] local.INFO: Processing buffer {"connection_id":138845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:00:38] local.INFO: Packet analysis {"connection_id":138845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f789f"} 
[2026-07-19 10:00:38] local.INFO: Extracted packet for processing {"connection_id":138845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f789f"} 
[2026-07-19 10:00:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815317248001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:00: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-07-19 10:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784435134000,"timestamp_ms":1784435134000,"timestamp_seconds":1784435134,"priority":1,"record_length":96,"hex_timestamp":"0000019f789f4e30"} 
[2026-07-19 10:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 10:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815317248001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815317248001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:00:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:00:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815317248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":138845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:00:38] local.INFO: GPS data processed {"connection_id":138845,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:00:38] local.INFO: Acknowledgment sent {"connection_id":138845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:01:09] local.INFO: TCP Data received {"connection_id":138845,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:01:09] local.INFO: Processing buffer {"connection_id":138845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f789f4e30012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:01:09] local.INFO: Packet analysis {"connection_id":138845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f789f"} 
[2026-07-19 10:01:09] local.INFO: Extracted packet for processing {"connection_id":138845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f789f"} 
[2026-07-19 10:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815317248001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:01: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-07-19 10:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784435134000,"timestamp_ms":1784435134000,"timestamp_seconds":1784435134,"priority":1,"record_length":96,"hex_timestamp":"0000019f789f4e30"} 
[2026-07-19 10:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 10:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815317248001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815317248001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:01:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:01:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815317248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":138845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:01:09] local.INFO: GPS data processed {"connection_id":138845,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:01:09] local.INFO: Acknowledgment sent {"connection_id":138845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:01:31] local.INFO: TCP Data received {"connection_id":136491,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:01:31] local.INFO: Processing buffer {"connection_id":136491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:01:31] local.INFO: IMEI packet received {"connection_id":136491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":136491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:01:37] local.INFO: TCP Data received {"connection_id":136491,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:01:37] local.INFO: Processing buffer {"connection_id":136491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:01:37] local.INFO: IMEI packet received {"connection_id":136491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":136491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:01:38] local.INFO: TCP Data received {"connection_id":136491,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:01:38] local.INFO: Processing buffer {"connection_id":136491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:01:38] local.INFO: Packet analysis {"connection_id":136491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78a3"} 
[2026-07-19 10:01:38] local.INFO: Extracted packet for processing {"connection_id":136491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78a3"} 
[2026-07-19 10:01:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815394304001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:01: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-07-19 10:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784435434000,"timestamp_ms":1784435434000,"timestamp_seconds":1784435434,"priority":1,"record_length":96,"hex_timestamp":"0000019f78a3e210"} 
[2026-07-19 10:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815394304001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815394304001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:01:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:01:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815394304001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":136491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:01:38] local.INFO: GPS data processed {"connection_id":136491,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:01:38] local.INFO: Acknowledgment sent {"connection_id":136491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:02:09] local.INFO: TCP Data received {"connection_id":136491,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:02:09] local.INFO: Processing buffer {"connection_id":136491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:02:09] local.INFO: Packet analysis {"connection_id":136491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78a3"} 
[2026-07-19 10:02:09] local.INFO: Extracted packet for processing {"connection_id":136491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78a3"} 
[2026-07-19 10:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815394304001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:02: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-07-19 10:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784435434000,"timestamp_ms":1784435434000,"timestamp_seconds":1784435434,"priority":1,"record_length":96,"hex_timestamp":"0000019f78a3e210"} 
[2026-07-19 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-07-19 10:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 10:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815394304001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815394304001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:02:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815394304001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":136491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:02:09] local.INFO: GPS data processed {"connection_id":136491,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:02:09] local.INFO: Acknowledgment sent {"connection_id":136491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:02:31] local.INFO: TCP Data received {"connection_id":137428,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:02:31] local.INFO: Processing buffer {"connection_id":137428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:02:31] local.INFO: IMEI packet received {"connection_id":137428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":137428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:02:37] local.INFO: TCP Data received {"connection_id":137428,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:02:37] local.INFO: Processing buffer {"connection_id":137428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:02:37] local.INFO: IMEI packet received {"connection_id":137428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":137428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:02:37] local.INFO: TCP Data received {"connection_id":137428,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:02:37] local.INFO: Processing buffer {"connection_id":137428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:02:37] local.INFO: Packet analysis {"connection_id":137428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78a3"} 
[2026-07-19 10:02:37] local.INFO: Extracted packet for processing {"connection_id":137428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78a3"} 
[2026-07-19 10:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815394304001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:02: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-07-19 10:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784435434000,"timestamp_ms":1784435434000,"timestamp_seconds":1784435434,"priority":1,"record_length":96,"hex_timestamp":"0000019f78a3e210"} 
[2026-07-19 10:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815394304001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815394304001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:02:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815394304001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":137428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:02:37] local.INFO: GPS data processed {"connection_id":137428,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:02:37] local.INFO: Acknowledgment sent {"connection_id":137428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:03:09] local.INFO: TCP Data received {"connection_id":137428,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:03:09] local.INFO: Processing buffer {"connection_id":137428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:03:09] local.INFO: Packet analysis {"connection_id":137428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78a3"} 
[2026-07-19 10:03:09] local.INFO: Extracted packet for processing {"connection_id":137428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78a3"} 
[2026-07-19 10:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815394304001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:03: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-07-19 10:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784435434000,"timestamp_ms":1784435434000,"timestamp_seconds":1784435434,"priority":1,"record_length":96,"hex_timestamp":"0000019f78a3e210"} 
[2026-07-19 10:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815394304001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815394304001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:03:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:03:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815394304001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":137428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:03:09] local.INFO: GPS data processed {"connection_id":137428,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:03:09] local.INFO: Acknowledgment sent {"connection_id":137428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:03:31] local.INFO: TCP Data received {"connection_id":137430,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:03:31] local.INFO: Processing buffer {"connection_id":137430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:03:31] local.INFO: IMEI packet received {"connection_id":137430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":137430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:03:37] local.INFO: TCP Data received {"connection_id":137430,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:03:37] local.INFO: Processing buffer {"connection_id":137430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:03:37] local.INFO: IMEI packet received {"connection_id":137430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":137430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:03:38] local.INFO: TCP Data received {"connection_id":137430,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:03:38] local.INFO: Processing buffer {"connection_id":137430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:03:38] local.INFO: Packet analysis {"connection_id":137430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78a3"} 
[2026-07-19 10:03:38] local.INFO: Extracted packet for processing {"connection_id":137430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78a3"} 
[2026-07-19 10:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815394304001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:03: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-07-19 10:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784435434000,"timestamp_ms":1784435434000,"timestamp_seconds":1784435434,"priority":1,"record_length":96,"hex_timestamp":"0000019f78a3e210"} 
[2026-07-19 10:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815394304001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815394304001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:03:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:03:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815394304001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":137430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:03:38] local.INFO: GPS data processed {"connection_id":137430,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:03:38] local.INFO: Acknowledgment sent {"connection_id":137430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:04:10] local.INFO: TCP Data received {"connection_id":137430,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:04:10] local.INFO: Processing buffer {"connection_id":137430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:04:10] local.INFO: Packet analysis {"connection_id":137430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78a3"} 
[2026-07-19 10:04:10] local.INFO: Extracted packet for processing {"connection_id":137430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78a3"} 
[2026-07-19 10:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815394304001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:04: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-07-19 10:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784435434000,"timestamp_ms":1784435434000,"timestamp_seconds":1784435434,"priority":1,"record_length":96,"hex_timestamp":"0000019f78a3e210"} 
[2026-07-19 10:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815394304001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815394304001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:04:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:04:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815394304001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":137430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:04:11] local.INFO: GPS data processed {"connection_id":137430,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:04:11] local.INFO: Acknowledgment sent {"connection_id":137430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:04:37] local.INFO: TCP Data received {"connection_id":136357,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:04:37] local.INFO: Processing buffer {"connection_id":136357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:04:37] local.INFO: IMEI packet received {"connection_id":136357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":136357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:04:42] local.INFO: TCP Data received {"connection_id":136357,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:04:42] local.INFO: Processing buffer {"connection_id":136357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:04:42] local.INFO: IMEI packet received {"connection_id":136357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":136357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:04:43] local.INFO: TCP Data received {"connection_id":136357,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:04:43] local.INFO: Processing buffer {"connection_id":136357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:04:43] local.INFO: Packet analysis {"connection_id":136357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78a3"} 
[2026-07-19 10:04:43] local.INFO: Extracted packet for processing {"connection_id":136357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78a3"} 
[2026-07-19 10:04:43] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815394304001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:04: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-07-19 10:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784435434000,"timestamp_ms":1784435434000,"timestamp_seconds":1784435434,"priority":1,"record_length":96,"hex_timestamp":"0000019f78a3e210"} 
[2026-07-19 10:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815394304001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815394304001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:04:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:04:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815394304001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":136357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:04:43] local.INFO: GPS data processed {"connection_id":136357,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:04:43] local.INFO: Acknowledgment sent {"connection_id":136357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:04:48] local.INFO: TCP Data received {"connection_id":136357,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:04:48] local.INFO: Processing buffer {"connection_id":136357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:04:48] local.INFO: Packet analysis {"connection_id":136357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78a3"} 
[2026-07-19 10:04:48] local.INFO: Extracted packet for processing {"connection_id":136357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78a3"} 
[2026-07-19 10:04:48] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815394304001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 10:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784435434000,"timestamp_ms":1784435434000,"timestamp_seconds":1784435434,"priority":1,"record_length":96,"hex_timestamp":"0000019f78a3e210"} 
[2026-07-19 10:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":136357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":136357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":136357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815394304001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815394304001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:04:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:04:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815394304001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":136357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:04:48] local.INFO: GPS data processed {"connection_id":136357,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:04:48] local.INFO: Acknowledgment sent {"connection_id":136357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:04:57] local.INFO: TCP Data received {"connection_id":138846,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:04:57] local.INFO: Processing buffer {"connection_id":138846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:04:57] local.INFO: IMEI packet received {"connection_id":138846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 10:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":138846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:05:32] local.INFO: TCP Data received {"connection_id":137431,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:05:32] local.INFO: Processing buffer {"connection_id":137431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:05:32] local.INFO: IMEI packet received {"connection_id":137431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":137431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:05:37] local.INFO: TCP Data received {"connection_id":137431,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:05:37] local.INFO: TCP Data received {"connection_id":136493,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:05:37] local.INFO: Processing buffer {"connection_id":137431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:05:37] local.INFO: IMEI packet received {"connection_id":137431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":137431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:05:37] local.INFO: Processing buffer {"connection_id":136493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:05:37] local.INFO: IMEI packet received {"connection_id":136493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 10:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":136493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:05:37] local.INFO: TCP Data received {"connection_id":137431,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:05:37] local.INFO: Processing buffer {"connection_id":137431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:05:37] local.INFO: Packet analysis {"connection_id":137431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78a3"} 
[2026-07-19 10:05:37] local.INFO: Extracted packet for processing {"connection_id":137431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78a3"} 
[2026-07-19 10:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815394304001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:05: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-07-19 10:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784435434000,"timestamp_ms":1784435434000,"timestamp_seconds":1784435434,"priority":1,"record_length":96,"hex_timestamp":"0000019f78a3e210"} 
[2026-07-19 10:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815394304001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815394304001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:05:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815394304001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":137431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:05:38] local.INFO: GPS data processed {"connection_id":137431,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:05:38] local.INFO: Acknowledgment sent {"connection_id":137431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:06:09] local.INFO: TCP Data received {"connection_id":137431,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:06:09] local.INFO: Processing buffer {"connection_id":137431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78a3e210012d34c48006aa3da8000a00aa27..."} 
[2026-07-19 10:06:09] local.INFO: Packet analysis {"connection_id":137431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78a3"} 
[2026-07-19 10:06:09] local.INFO: Extracted packet for processing {"connection_id":137431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78a3"} 
[2026-07-19 10:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815394304001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:06: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-07-19 10:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784435434000,"timestamp_ms":1784435434000,"timestamp_seconds":1784435434,"priority":1,"record_length":96,"hex_timestamp":"0000019f78a3e210"} 
[2026-07-19 10:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815394304001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815394304001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:06:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815394304001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":137431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:06:09] local.INFO: GPS data processed {"connection_id":137431,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:06:09] local.INFO: Acknowledgment sent {"connection_id":137431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:06:31] local.INFO: TCP Data received {"connection_id":136358,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:06:31] local.INFO: Processing buffer {"connection_id":136358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:06:31] local.INFO: IMEI packet received {"connection_id":136358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":136358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:06:37] local.INFO: TCP Data received {"connection_id":136358,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:06:37] local.INFO: Processing buffer {"connection_id":136358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:06:37] local.INFO: IMEI packet received {"connection_id":136358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":136358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:06:38] local.INFO: TCP Data received {"connection_id":136358,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:06:38] local.INFO: Processing buffer {"connection_id":136358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:06:38] local.INFO: Packet analysis {"connection_id":136358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78a8"} 
[2026-07-19 10:06:38] local.INFO: Extracted packet for processing {"connection_id":136358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78a8"} 
[2026-07-19 10:06:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815471104001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:06: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-07-19 10:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784435736000,"timestamp_ms":1784435736000,"timestamp_seconds":1784435736,"priority":1,"record_length":96,"hex_timestamp":"0000019f78a87dc0"} 
[2026-07-19 10:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:06: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-07-19 10:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815471104001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815471104001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:06:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:06:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815471104001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":136358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:06:38] local.INFO: GPS data processed {"connection_id":136358,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:06:38] local.INFO: Acknowledgment sent {"connection_id":136358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:07:09] local.INFO: TCP Data received {"connection_id":136358,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:07:09] local.INFO: Processing buffer {"connection_id":136358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:07:09] local.INFO: Packet analysis {"connection_id":136358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78a8"} 
[2026-07-19 10:07:09] local.INFO: Extracted packet for processing {"connection_id":136358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78a8"} 
[2026-07-19 10:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815471104001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:07: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-07-19 10:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784435736000,"timestamp_ms":1784435736000,"timestamp_seconds":1784435736,"priority":1,"record_length":96,"hex_timestamp":"0000019f78a87dc0"} 
[2026-07-19 10:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10: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-07-19 10:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815471104001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815471104001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:07:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:07:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815471104001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":136358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:07:09] local.INFO: GPS data processed {"connection_id":136358,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:07:09] local.INFO: Acknowledgment sent {"connection_id":136358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:07:31] local.INFO: TCP Data received {"connection_id":138847,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:07:31] local.INFO: Processing buffer {"connection_id":138847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:07:31] local.INFO: IMEI packet received {"connection_id":138847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":138847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:07:37] local.INFO: TCP Data received {"connection_id":138847,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:07:37] local.INFO: Processing buffer {"connection_id":138847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:07:37] local.INFO: IMEI packet received {"connection_id":138847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":138847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:07:38] local.INFO: TCP Data received {"connection_id":138847,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:07:38] local.INFO: Processing buffer {"connection_id":138847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:07:38] local.INFO: Packet analysis {"connection_id":138847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78a8"} 
[2026-07-19 10:07:38] local.INFO: Extracted packet for processing {"connection_id":138847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78a8"} 
[2026-07-19 10:07:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815471104001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:07: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-07-19 10:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784435736000,"timestamp_ms":1784435736000,"timestamp_seconds":1784435736,"priority":1,"record_length":96,"hex_timestamp":"0000019f78a87dc0"} 
[2026-07-19 10:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:07: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-07-19 10:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815471104001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815471104001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:07:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:07:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815471104001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":138847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:07:38] local.INFO: GPS data processed {"connection_id":138847,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:07:38] local.INFO: Acknowledgment sent {"connection_id":138847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:08:10] local.INFO: TCP Data received {"connection_id":138847,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:08:10] local.INFO: Processing buffer {"connection_id":138847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:08:10] local.INFO: Packet analysis {"connection_id":138847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78a8"} 
[2026-07-19 10:08:10] local.INFO: Extracted packet for processing {"connection_id":138847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78a8"} 
[2026-07-19 10:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815471104001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:08: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-07-19 10:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784435736000,"timestamp_ms":1784435736000,"timestamp_seconds":1784435736,"priority":1,"record_length":96,"hex_timestamp":"0000019f78a87dc0"} 
[2026-07-19 10:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:08: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-07-19 10:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815471104001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815471104001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:08:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815471104001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":138847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:08:10] local.INFO: GPS data processed {"connection_id":138847,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:08:10] local.INFO: Acknowledgment sent {"connection_id":138847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:08:31] local.INFO: TCP Data received {"connection_id":136360,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:08:31] local.INFO: Processing buffer {"connection_id":136360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:08:31] local.INFO: IMEI packet received {"connection_id":136360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":136360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:08:37] local.INFO: TCP Data received {"connection_id":136360,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:08:37] local.INFO: Processing buffer {"connection_id":136360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:08:37] local.INFO: IMEI packet received {"connection_id":136360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":136360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:08:37] local.INFO: TCP Data received {"connection_id":136360,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:08:37] local.INFO: Processing buffer {"connection_id":136360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:08:37] local.INFO: Packet analysis {"connection_id":136360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78a8"} 
[2026-07-19 10:08:37] local.INFO: Extracted packet for processing {"connection_id":136360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78a8"} 
[2026-07-19 10:08:37] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815471104001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:08: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-07-19 10:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784435736000,"timestamp_ms":1784435736000,"timestamp_seconds":1784435736,"priority":1,"record_length":96,"hex_timestamp":"0000019f78a87dc0"} 
[2026-07-19 10:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:08: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-07-19 10:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815471104001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815471104001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:08:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:08:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815471104001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":136360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:08:37] local.INFO: GPS data processed {"connection_id":136360,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:08:37] local.INFO: Acknowledgment sent {"connection_id":136360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:09:09] local.INFO: TCP Data received {"connection_id":136360,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:09:09] local.INFO: Processing buffer {"connection_id":136360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:09:09] local.INFO: Packet analysis {"connection_id":136360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78a8"} 
[2026-07-19 10:09:09] local.INFO: Extracted packet for processing {"connection_id":136360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78a8"} 
[2026-07-19 10:09:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815471104001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:09: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-07-19 10:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784435736000,"timestamp_ms":1784435736000,"timestamp_seconds":1784435736,"priority":1,"record_length":96,"hex_timestamp":"0000019f78a87dc0"} 
[2026-07-19 10:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:09: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-07-19 10:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815471104001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815471104001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:09:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:09:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815471104001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":136360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:09:09] local.INFO: GPS data processed {"connection_id":136360,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:09:09] local.INFO: Acknowledgment sent {"connection_id":136360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:09:37] local.INFO: TCP Data received {"connection_id":136361,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:09:37] local.INFO: Processing buffer {"connection_id":136361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:09:37] local.INFO: IMEI packet received {"connection_id":136361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":136361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:09:42] local.INFO: TCP Data received {"connection_id":136361,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:09:42] local.INFO: Processing buffer {"connection_id":136361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:09:42] local.INFO: IMEI packet received {"connection_id":136361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":136361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:09:45] local.INFO: TCP Data received {"connection_id":136361,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:09:45] local.INFO: Processing buffer {"connection_id":136361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:09:45] local.INFO: Packet analysis {"connection_id":136361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78a8"} 
[2026-07-19 10:09:45] local.INFO: Extracted packet for processing {"connection_id":136361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78a8"} 
[2026-07-19 10:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815471104001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 10:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784435736000,"timestamp_ms":1784435736000,"timestamp_seconds":1784435736,"priority":1,"record_length":96,"hex_timestamp":"0000019f78a87dc0"} 
[2026-07-19 10:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":136361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":136361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":136361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815471104001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815471104001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:09:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:09:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815471104001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":136361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:09:45] local.INFO: GPS data processed {"connection_id":136361,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:09:45] local.INFO: Acknowledgment sent {"connection_id":136361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:09:47] local.INFO: TCP Data received {"connection_id":136361,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:09:47] local.INFO: Processing buffer {"connection_id":136361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:09:47] local.INFO: Packet analysis {"connection_id":136361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78a8"} 
[2026-07-19 10:09:47] local.INFO: Extracted packet for processing {"connection_id":136361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78a8"} 
[2026-07-19 10:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815471104001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 10:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784435736000,"timestamp_ms":1784435736000,"timestamp_seconds":1784435736,"priority":1,"record_length":96,"hex_timestamp":"0000019f78a87dc0"} 
[2026-07-19 10:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815471104001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815471104001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:09:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:09:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815471104001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":136361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:09:47] local.INFO: GPS data processed {"connection_id":136361,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:09:47] local.INFO: Acknowledgment sent {"connection_id":136361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:10:32] local.INFO: TCP Data received {"connection_id":136362,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:10:32] local.INFO: Processing buffer {"connection_id":136362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:10:32] local.INFO: IMEI packet received {"connection_id":136362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":136362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:10:37] local.INFO: TCP Data received {"connection_id":136362,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:10:37] local.INFO: Processing buffer {"connection_id":136362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:10:37] local.INFO: IMEI packet received {"connection_id":136362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":136362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:10:38] local.INFO: TCP Data received {"connection_id":136362,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:10:38] local.INFO: Processing buffer {"connection_id":136362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:10:38] local.INFO: Packet analysis {"connection_id":136362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78a8"} 
[2026-07-19 10:10:38] local.INFO: Extracted packet for processing {"connection_id":136362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78a8"} 
[2026-07-19 10:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815471104001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:10: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-07-19 10:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784435736000,"timestamp_ms":1784435736000,"timestamp_seconds":1784435736,"priority":1,"record_length":96,"hex_timestamp":"0000019f78a87dc0"} 
[2026-07-19 10:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815471104001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815471104001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815471104001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":136362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:10:38] local.INFO: GPS data processed {"connection_id":136362,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:10:38] local.INFO: Acknowledgment sent {"connection_id":136362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:11:07] local.INFO: TCP Data received {"connection_id":136495,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136495,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:11:07] local.INFO: Processing buffer {"connection_id":136495,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:11:07] local.INFO: IMEI packet received {"connection_id":136495,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 10:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":136495,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:11:09] local.INFO: TCP Data received {"connection_id":136362,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:11:09] local.INFO: Processing buffer {"connection_id":136362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78a87dc0012d34c48006aa3da8000900aa24..."} 
[2026-07-19 10:11:09] local.INFO: Packet analysis {"connection_id":136362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78a8"} 
[2026-07-19 10:11:09] local.INFO: Extracted packet for processing {"connection_id":136362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78a8"} 
[2026-07-19 10:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815471104001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:11: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-07-19 10:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784435736000,"timestamp_ms":1784435736000,"timestamp_seconds":1784435736,"priority":1,"record_length":96,"hex_timestamp":"0000019f78a87dc0"} 
[2026-07-19 10:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:11: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-07-19 10:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815471104001,"66":25473,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815471104001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:11:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815471104001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":136362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:11:09] local.INFO: GPS data processed {"connection_id":136362,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:11:09] local.INFO: Acknowledgment sent {"connection_id":136362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:11:27] local.INFO: TCP Data received {"connection_id":138849,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:11:27] local.INFO: Processing buffer {"connection_id":138849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:11:27] local.INFO: IMEI packet received {"connection_id":138849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 10:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":138849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:11:32] local.INFO: TCP Data received {"connection_id":137433,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:11:32] local.INFO: Processing buffer {"connection_id":137433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:11:32] local.INFO: IMEI packet received {"connection_id":137433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":137433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:11:37] local.INFO: TCP Data received {"connection_id":137433,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:11:37] local.INFO: Processing buffer {"connection_id":137433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:11:37] local.INFO: IMEI packet received {"connection_id":137433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":137433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:11:38] local.INFO: TCP Data received {"connection_id":137433,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:11:38] local.INFO: Processing buffer {"connection_id":137433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:11:38] local.INFO: Packet analysis {"connection_id":137433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ad"} 
[2026-07-19 10:11:38] local.INFO: Extracted packet for processing {"connection_id":137433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ad"} 
[2026-07-19 10:11:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815548416001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:11: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-07-19 10:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784436037000,"timestamp_ms":1784436037000,"timestamp_seconds":1784436037,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ad1588"} 
[2026-07-19 10:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815548416001,"66":25517,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815548416001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:11:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:11:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815548416001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":137433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:11:38] local.INFO: GPS data processed {"connection_id":137433,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:11:38] local.INFO: Acknowledgment sent {"connection_id":137433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:12:09] local.INFO: TCP Data received {"connection_id":137433,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:12:09] local.INFO: Processing buffer {"connection_id":137433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:12:09] local.INFO: Packet analysis {"connection_id":137433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ad"} 
[2026-07-19 10:12:09] local.INFO: Extracted packet for processing {"connection_id":137433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ad"} 
[2026-07-19 10:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815548416001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:12: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-07-19 10:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784436037000,"timestamp_ms":1784436037000,"timestamp_seconds":1784436037,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ad1588"} 
[2026-07-19 10:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:12: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-07-19 10:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815548416001,"66":25517,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815548416001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:12:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:12:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815548416001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":137433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:12:09] local.INFO: GPS data processed {"connection_id":137433,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:12:09] local.INFO: Acknowledgment sent {"connection_id":137433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:12:31] local.INFO: TCP Data received {"connection_id":136364,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:12:31] local.INFO: Processing buffer {"connection_id":136364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:12:31] local.INFO: IMEI packet received {"connection_id":136364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":136364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:12:37] local.INFO: TCP Data received {"connection_id":136364,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:12:37] local.INFO: Processing buffer {"connection_id":136364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:12:37] local.INFO: IMEI packet received {"connection_id":136364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":136364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:12:37] local.INFO: TCP Data received {"connection_id":136364,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:12:37] local.INFO: Processing buffer {"connection_id":136364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:12:37] local.INFO: Packet analysis {"connection_id":136364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ad"} 
[2026-07-19 10:12:37] local.INFO: Extracted packet for processing {"connection_id":136364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ad"} 
[2026-07-19 10:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815548416001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:12: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-07-19 10:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784436037000,"timestamp_ms":1784436037000,"timestamp_seconds":1784436037,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ad1588"} 
[2026-07-19 10:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815548416001,"66":25517,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815548416001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:12:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815548416001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":136364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:12:37] local.INFO: GPS data processed {"connection_id":136364,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:12:37] local.INFO: Acknowledgment sent {"connection_id":136364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:13:09] local.INFO: TCP Data received {"connection_id":136364,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:13:09] local.INFO: Processing buffer {"connection_id":136364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:13:09] local.INFO: Packet analysis {"connection_id":136364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ad"} 
[2026-07-19 10:13:09] local.INFO: Extracted packet for processing {"connection_id":136364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ad"} 
[2026-07-19 10:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815548416001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:13: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-07-19 10:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784436037000,"timestamp_ms":1784436037000,"timestamp_seconds":1784436037,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ad1588"} 
[2026-07-19 10:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:13: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-07-19 10:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815548416001,"66":25517,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815548416001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:13:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:13:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815548416001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":136364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:13:09] local.INFO: GPS data processed {"connection_id":136364,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:13:09] local.INFO: Acknowledgment sent {"connection_id":136364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:13:31] local.INFO: TCP Data received {"connection_id":137434,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:13:31] local.INFO: Processing buffer {"connection_id":137434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:13:31] local.INFO: IMEI packet received {"connection_id":137434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":137434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:13:37] local.INFO: TCP Data received {"connection_id":137434,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:13:37] local.INFO: Processing buffer {"connection_id":137434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:13:37] local.INFO: IMEI packet received {"connection_id":137434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":137434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:13:38] local.INFO: TCP Data received {"connection_id":137434,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:13:38] local.INFO: Processing buffer {"connection_id":137434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:13:38] local.INFO: Packet analysis {"connection_id":137434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ad"} 
[2026-07-19 10:13:38] local.INFO: Extracted packet for processing {"connection_id":137434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ad"} 
[2026-07-19 10:13:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815548416001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:13: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-07-19 10:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784436037000,"timestamp_ms":1784436037000,"timestamp_seconds":1784436037,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ad1588"} 
[2026-07-19 10:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815548416001,"66":25517,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815548416001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:13:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:13:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815548416001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":137434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:13:38] local.INFO: GPS data processed {"connection_id":137434,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:13:38] local.INFO: Acknowledgment sent {"connection_id":137434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:14:10] local.INFO: TCP Data received {"connection_id":137434,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:14:10] local.INFO: Processing buffer {"connection_id":137434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:14:10] local.INFO: Packet analysis {"connection_id":137434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ad"} 
[2026-07-19 10:14:10] local.INFO: Extracted packet for processing {"connection_id":137434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ad"} 
[2026-07-19 10:14:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815548416001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:14: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-07-19 10:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784436037000,"timestamp_ms":1784436037000,"timestamp_seconds":1784436037,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ad1588"} 
[2026-07-19 10:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:14:10] 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-07-19 10:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815548416001,"66":25517,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815548416001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:14:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:14:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815548416001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":137434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:14:10] local.INFO: GPS data processed {"connection_id":137434,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:14:10] local.INFO: Acknowledgment sent {"connection_id":137434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:14:37] local.INFO: TCP Data received {"connection_id":136496,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:14:37] local.INFO: Processing buffer {"connection_id":136496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:14:37] local.INFO: IMEI packet received {"connection_id":136496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":136496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:14:42] local.INFO: TCP Data received {"connection_id":136496,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:14:42] local.INFO: Processing buffer {"connection_id":136496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:14:42] local.INFO: IMEI packet received {"connection_id":136496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":136496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:14:43] local.INFO: TCP Data received {"connection_id":136496,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:14:43] local.INFO: Processing buffer {"connection_id":136496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:14:43] local.INFO: Packet analysis {"connection_id":136496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ad"} 
[2026-07-19 10:14:43] local.INFO: Extracted packet for processing {"connection_id":136496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ad"} 
[2026-07-19 10:14:43] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815548416001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:14: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-07-19 10:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784436037000,"timestamp_ms":1784436037000,"timestamp_seconds":1784436037,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ad1588"} 
[2026-07-19 10:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:14:43] 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-07-19 10:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815548416001,"66":25517,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815548416001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:14:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:14:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815548416001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":136496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:14:43] local.INFO: GPS data processed {"connection_id":136496,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:14:43] local.INFO: Acknowledgment sent {"connection_id":136496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:14:47] local.INFO: TCP Data received {"connection_id":136496,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:14:47] local.INFO: Processing buffer {"connection_id":136496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:14:47] local.INFO: Packet analysis {"connection_id":136496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ad"} 
[2026-07-19 10:14:47] local.INFO: Extracted packet for processing {"connection_id":136496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ad"} 
[2026-07-19 10:14:47] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815548416001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 10:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784436037000,"timestamp_ms":1784436037000,"timestamp_seconds":1784436037,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ad1588"} 
[2026-07-19 10:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815548416001,"66":25517,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815548416001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:14:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:14:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815548416001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":136496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:14:47] local.INFO: GPS data processed {"connection_id":136496,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:14:47] local.INFO: Acknowledgment sent {"connection_id":136496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:15:32] local.INFO: TCP Data received {"connection_id":136497,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:15:32] local.INFO: Processing buffer {"connection_id":136497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:15:32] local.INFO: IMEI packet received {"connection_id":136497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":136497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:15:37] local.INFO: TCP Data received {"connection_id":136497,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:15:37] local.INFO: Processing buffer {"connection_id":136497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:15:37] local.INFO: IMEI packet received {"connection_id":136497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":136497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:15:38] local.INFO: TCP Data received {"connection_id":136497,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:15:38] local.INFO: Processing buffer {"connection_id":136497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:15:38] local.INFO: Packet analysis {"connection_id":136497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ad"} 
[2026-07-19 10:15:38] local.INFO: Extracted packet for processing {"connection_id":136497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ad"} 
[2026-07-19 10:15:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815548416001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:15: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-07-19 10:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784436037000,"timestamp_ms":1784436037000,"timestamp_seconds":1784436037,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ad1588"} 
[2026-07-19 10:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815548416001,"66":25517,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815548416001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:15:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:15:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815548416001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":136497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:15:38] local.INFO: GPS data processed {"connection_id":136497,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:15:38] local.INFO: Acknowledgment sent {"connection_id":136497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:16:09] local.INFO: TCP Data received {"connection_id":136497,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:16:09] local.INFO: Processing buffer {"connection_id":136497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ad1588012d34c48006aa3da8000900aa28..."} 
[2026-07-19 10:16:09] local.INFO: Packet analysis {"connection_id":136497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ad"} 
[2026-07-19 10:16:09] local.INFO: Extracted packet for processing {"connection_id":136497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ad"} 
[2026-07-19 10:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815548416001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:16: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-07-19 10:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784436037000,"timestamp_ms":1784436037000,"timestamp_seconds":1784436037,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ad1588"} 
[2026-07-19 10:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 10:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:16: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-07-19 10:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815548416001,"66":25517,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815548416001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815548416001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":136497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:16:09] local.INFO: GPS data processed {"connection_id":136497,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:16:09] local.INFO: Acknowledgment sent {"connection_id":136497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:16:31] local.INFO: TCP Data received {"connection_id":137435,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:16:31] local.INFO: Processing buffer {"connection_id":137435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:16:31] local.INFO: IMEI packet received {"connection_id":137435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":137435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:16:37] local.INFO: TCP Data received {"connection_id":137435,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:16:37] local.INFO: Processing buffer {"connection_id":137435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:16:37] local.INFO: IMEI packet received {"connection_id":137435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":137435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:16:38] local.INFO: TCP Data received {"connection_id":137435,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:16:38] local.INFO: Processing buffer {"connection_id":137435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:16:38] local.INFO: Packet analysis {"connection_id":137435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78b1"} 
[2026-07-19 10:16:38] local.INFO: Extracted packet for processing {"connection_id":137435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78b1"} 
[2026-07-19 10:16:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815625472001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:16: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-07-19 10:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784436338000,"timestamp_ms":1784436338000,"timestamp_seconds":1784436338,"priority":1,"record_length":96,"hex_timestamp":"0000019f78b1ad50"} 
[2026-07-19 10:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 10:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815625472001,"66":25462,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815625472001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:16:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:16:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815625472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":137435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:16:38] local.INFO: GPS data processed {"connection_id":137435,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:16:38] local.INFO: Acknowledgment sent {"connection_id":137435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:16:52] local.INFO: TCP Data received {"connection_id":138851,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:16:52] local.INFO: Processing buffer {"connection_id":138851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:16:52] local.INFO: IMEI packet received {"connection_id":138851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 10:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":138851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:17:09] local.INFO: TCP Data received {"connection_id":137435,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:17:09] local.INFO: Processing buffer {"connection_id":137435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:17:09] local.INFO: Packet analysis {"connection_id":137435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78b1"} 
[2026-07-19 10:17:09] local.INFO: Extracted packet for processing {"connection_id":137435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78b1"} 
[2026-07-19 10:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815625472001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:17: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-07-19 10:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784436338000,"timestamp_ms":1784436338000,"timestamp_seconds":1784436338,"priority":1,"record_length":96,"hex_timestamp":"0000019f78b1ad50"} 
[2026-07-19 10:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 10:17:09] 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-07-19 10: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-07-19 10:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:17: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-07-19 10:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815625472001,"66":25462,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815625472001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:17:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:17:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815625472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":137435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:17:09] local.INFO: GPS data processed {"connection_id":137435,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:17:09] local.INFO: Acknowledgment sent {"connection_id":137435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:17:31] local.INFO: TCP Data received {"connection_id":136368,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:17:31] local.INFO: Processing buffer {"connection_id":136368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:17:31] local.INFO: IMEI packet received {"connection_id":136368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":136368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:17:32] local.INFO: TCP Data received {"connection_id":136367,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:17:32] local.INFO: Processing buffer {"connection_id":136367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:17:32] local.INFO: IMEI packet received {"connection_id":136367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 10:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":136367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:17:37] local.INFO: TCP Data received {"connection_id":136368,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:17:37] local.INFO: Processing buffer {"connection_id":136368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:17:37] local.INFO: IMEI packet received {"connection_id":136368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":136368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:17:39] local.INFO: TCP Data received {"connection_id":136368,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:17:39] local.INFO: Processing buffer {"connection_id":136368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:17:39] local.INFO: Packet analysis {"connection_id":136368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78b1"} 
[2026-07-19 10:17:39] local.INFO: Extracted packet for processing {"connection_id":136368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78b1"} 
[2026-07-19 10:17:39] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815625472001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:17: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-07-19 10:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784436338000,"timestamp_ms":1784436338000,"timestamp_seconds":1784436338,"priority":1,"record_length":96,"hex_timestamp":"0000019f78b1ad50"} 
[2026-07-19 10:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 10:17:39] 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-07-19 10: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-07-19 10:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:17:39] 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-07-19 10:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815625472001,"66":25462,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815625472001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:17:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:17:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815625472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":136368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:17:39] local.INFO: GPS data processed {"connection_id":136368,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:17:39] local.INFO: Acknowledgment sent {"connection_id":136368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:18:10] local.INFO: TCP Data received {"connection_id":136368,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:18:10] local.INFO: Processing buffer {"connection_id":136368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:18:10] local.INFO: Packet analysis {"connection_id":136368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78b1"} 
[2026-07-19 10:18:10] local.INFO: Extracted packet for processing {"connection_id":136368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78b1"} 
[2026-07-19 10:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815625472001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:18: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-07-19 10:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784436338000,"timestamp_ms":1784436338000,"timestamp_seconds":1784436338,"priority":1,"record_length":96,"hex_timestamp":"0000019f78b1ad50"} 
[2026-07-19 10:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 10:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:18:10] 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-07-19 10:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815625472001,"66":25462,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815625472001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:18:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815625472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":136368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:18:10] local.INFO: GPS data processed {"connection_id":136368,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:18:10] local.INFO: Acknowledgment sent {"connection_id":136368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:18:37] local.INFO: TCP Data received {"connection_id":138852,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:18:37] local.INFO: Processing buffer {"connection_id":138852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:18:37] local.INFO: IMEI packet received {"connection_id":138852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":138852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:18:42] local.INFO: TCP Data received {"connection_id":138852,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:18:42] local.INFO: Processing buffer {"connection_id":138852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:18:42] local.INFO: IMEI packet received {"connection_id":138852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":138852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:18:43] local.INFO: TCP Data received {"connection_id":138852,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:18:43] local.INFO: Processing buffer {"connection_id":138852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:18:43] local.INFO: Packet analysis {"connection_id":138852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78b1"} 
[2026-07-19 10:18:43] local.INFO: Extracted packet for processing {"connection_id":138852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78b1"} 
[2026-07-19 10:18:43] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815625472001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:18: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-07-19 10:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784436338000,"timestamp_ms":1784436338000,"timestamp_seconds":1784436338,"priority":1,"record_length":96,"hex_timestamp":"0000019f78b1ad50"} 
[2026-07-19 10:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 10:18:43] 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-07-19 10:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":138852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":138852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":138852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:18:43] 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-07-19 10:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815625472001,"66":25462,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815625472001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:18:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:18:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815625472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":138852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:18:43] local.INFO: GPS data processed {"connection_id":138852,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:18:43] local.INFO: Acknowledgment sent {"connection_id":138852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:18:47] local.INFO: TCP Data received {"connection_id":138852,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:18:47] local.INFO: Processing buffer {"connection_id":138852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:18:47] local.INFO: Packet analysis {"connection_id":138852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78b1"} 
[2026-07-19 10:18:47] local.INFO: Extracted packet for processing {"connection_id":138852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78b1"} 
[2026-07-19 10:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815625472001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 10:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784436338000,"timestamp_ms":1784436338000,"timestamp_seconds":1784436338,"priority":1,"record_length":96,"hex_timestamp":"0000019f78b1ad50"} 
[2026-07-19 10:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 10:18:47] 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-07-19 10:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":138852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":138852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":138852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815625472001,"66":25462,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815625472001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:18:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815625472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":138852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:18:47] local.INFO: GPS data processed {"connection_id":138852,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:18:47] local.INFO: Acknowledgment sent {"connection_id":138852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:19:32] local.INFO: TCP Data received {"connection_id":136499,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:19:32] local.INFO: Processing buffer {"connection_id":136499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:19:32] local.INFO: IMEI packet received {"connection_id":136499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":136499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:19:37] local.INFO: TCP Data received {"connection_id":136499,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:19:37] local.INFO: Processing buffer {"connection_id":136499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:19:37] local.INFO: IMEI packet received {"connection_id":136499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":136499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:19:38] local.INFO: TCP Data received {"connection_id":136499,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:19:38] local.INFO: Processing buffer {"connection_id":136499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:19:38] local.INFO: Packet analysis {"connection_id":136499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78b1"} 
[2026-07-19 10:19:38] local.INFO: Extracted packet for processing {"connection_id":136499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78b1"} 
[2026-07-19 10:19:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815625472001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:19: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-07-19 10:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784436338000,"timestamp_ms":1784436338000,"timestamp_seconds":1784436338,"priority":1,"record_length":96,"hex_timestamp":"0000019f78b1ad50"} 
[2026-07-19 10:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 10:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815625472001,"66":25462,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815625472001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:19:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:19:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815625472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":136499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:19:38] local.INFO: GPS data processed {"connection_id":136499,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:19:38] local.INFO: Acknowledgment sent {"connection_id":136499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:20:09] local.INFO: TCP Data received {"connection_id":136499,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:20:09] local.INFO: Processing buffer {"connection_id":136499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:20:09] local.INFO: Packet analysis {"connection_id":136499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78b1"} 
[2026-07-19 10:20:09] local.INFO: Extracted packet for processing {"connection_id":136499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78b1"} 
[2026-07-19 10:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815625472001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:20: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-07-19 10:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784436338000,"timestamp_ms":1784436338000,"timestamp_seconds":1784436338,"priority":1,"record_length":96,"hex_timestamp":"0000019f78b1ad50"} 
[2026-07-19 10:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 10:20:09] 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-07-19 10:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:20: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-07-19 10:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815625472001,"66":25462,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815625472001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815625472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":136499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:20:09] local.INFO: GPS data processed {"connection_id":136499,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:20:09] local.INFO: Acknowledgment sent {"connection_id":136499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:20:32] local.INFO: TCP Data received {"connection_id":137438,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:20:32] local.INFO: Processing buffer {"connection_id":137438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:20:32] local.INFO: IMEI packet received {"connection_id":137438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":137438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:20:37] local.INFO: TCP Data received {"connection_id":137438,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:20:37] local.INFO: Processing buffer {"connection_id":137438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:20:37] local.INFO: IMEI packet received {"connection_id":137438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":137438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:20:38] local.INFO: TCP Data received {"connection_id":137438,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:20:38] local.INFO: Processing buffer {"connection_id":137438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:20:38] local.INFO: Packet analysis {"connection_id":137438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78b1"} 
[2026-07-19 10:20:38] local.INFO: Extracted packet for processing {"connection_id":137438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78b1"} 
[2026-07-19 10:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815625472001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:20: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-07-19 10:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784436338000,"timestamp_ms":1784436338000,"timestamp_seconds":1784436338,"priority":1,"record_length":96,"hex_timestamp":"0000019f78b1ad50"} 
[2026-07-19 10:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 10:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815625472001,"66":25462,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815625472001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815625472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":137438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:20:38] local.INFO: GPS data processed {"connection_id":137438,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:20:38] local.INFO: Acknowledgment sent {"connection_id":137438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:21:09] local.INFO: TCP Data received {"connection_id":137438,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:21:09] local.INFO: Processing buffer {"connection_id":137438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78b1ad50012d34c48006aa3da8000900aa27..."} 
[2026-07-19 10:21:09] local.INFO: Packet analysis {"connection_id":137438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78b1"} 
[2026-07-19 10:21:09] local.INFO: Extracted packet for processing {"connection_id":137438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78b1"} 
[2026-07-19 10:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815625472001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:21: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-07-19 10:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784436338000,"timestamp_ms":1784436338000,"timestamp_seconds":1784436338,"priority":1,"record_length":96,"hex_timestamp":"0000019f78b1ad50"} 
[2026-07-19 10:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 10:21:09] 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-07-19 10:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:21: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-07-19 10:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815625472001,"66":25462,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815625472001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815625472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":137438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:21:09] local.INFO: GPS data processed {"connection_id":137438,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:21:09] local.INFO: Acknowledgment sent {"connection_id":137438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:21:31] local.INFO: TCP Data received {"connection_id":136500,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:21:31] local.INFO: Processing buffer {"connection_id":136500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:21:31] local.INFO: IMEI packet received {"connection_id":136500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":136500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:21:37] local.INFO: TCP Data received {"connection_id":136500,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:21:37] local.INFO: Processing buffer {"connection_id":136500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:21:37] local.INFO: IMEI packet received {"connection_id":136500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":136500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:21:38] local.INFO: TCP Data received {"connection_id":136500,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:21:38] local.INFO: Processing buffer {"connection_id":136500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:21:38] local.INFO: Packet analysis {"connection_id":136500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78b6"} 
[2026-07-19 10:21:38] local.INFO: Extracted packet for processing {"connection_id":136500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78b6"} 
[2026-07-19 10:21:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815702528001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:21: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-07-19 10:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784436639000,"timestamp_ms":1784436639000,"timestamp_seconds":1784436639,"priority":1,"record_length":96,"hex_timestamp":"0000019f78b64518"} 
[2026-07-19 10:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 10:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:21:38] 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-07-19 10:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815702528001,"66":25462,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815702528001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:21:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:21:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815702528001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":136500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:21:38] local.INFO: GPS data processed {"connection_id":136500,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:21:38] local.INFO: Acknowledgment sent {"connection_id":136500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:22:10] local.INFO: TCP Data received {"connection_id":136500,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:22:10] local.INFO: Processing buffer {"connection_id":136500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:22:10] local.INFO: Packet analysis {"connection_id":136500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78b6"} 
[2026-07-19 10:22:10] local.INFO: Extracted packet for processing {"connection_id":136500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78b6"} 
[2026-07-19 10:22:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815702528001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:22: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-07-19 10:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784436639000,"timestamp_ms":1784436639000,"timestamp_seconds":1784436639,"priority":1,"record_length":96,"hex_timestamp":"0000019f78b64518"} 
[2026-07-19 10:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 10:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:22:10] 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-07-19 10:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815702528001,"66":25462,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815702528001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:22:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:22:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815702528001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":136500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:22:10] local.INFO: GPS data processed {"connection_id":136500,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:22:10] local.INFO: Acknowledgment sent {"connection_id":136500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:22:37] local.INFO: TCP Data received {"connection_id":138853,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:22:37] local.INFO: Processing buffer {"connection_id":138853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:22:37] local.INFO: IMEI packet received {"connection_id":138853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":138853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:22:42] local.INFO: TCP Data received {"connection_id":138853,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:22:42] local.INFO: Processing buffer {"connection_id":138853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:22:42] local.INFO: IMEI packet received {"connection_id":138853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":138853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:22:44] local.INFO: TCP Data received {"connection_id":138853,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:22:44] local.INFO: Processing buffer {"connection_id":138853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:22:44] local.INFO: Packet analysis {"connection_id":138853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78b6"} 
[2026-07-19 10:22:44] local.INFO: Extracted packet for processing {"connection_id":138853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78b6"} 
[2026-07-19 10:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815702528001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:22: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-07-19 10:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784436639000,"timestamp_ms":1784436639000,"timestamp_seconds":1784436639,"priority":1,"record_length":96,"hex_timestamp":"0000019f78b64518"} 
[2026-07-19 10:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 10:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":138853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":138853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":138853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815702528001,"66":25462,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815702528001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:22:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815702528001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":138853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:22:44] local.INFO: GPS data processed {"connection_id":138853,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:22:44] local.INFO: Acknowledgment sent {"connection_id":138853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:22:48] local.INFO: TCP Data received {"connection_id":138853,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:22:48] local.INFO: Processing buffer {"connection_id":138853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:22:48] local.INFO: Packet analysis {"connection_id":138853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78b6"} 
[2026-07-19 10:22:48] local.INFO: Extracted packet for processing {"connection_id":138853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78b6"} 
[2026-07-19 10:22:48] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815702528001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 10:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784436639000,"timestamp_ms":1784436639000,"timestamp_seconds":1784436639,"priority":1,"record_length":96,"hex_timestamp":"0000019f78b64518"} 
[2026-07-19 10:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 10:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":138853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":138853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":138853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:22:48] 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-07-19 10:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815702528001,"66":25462,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815702528001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:22:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:22:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815702528001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":138853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:22:48] local.INFO: GPS data processed {"connection_id":138853,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:22:48] local.INFO: Acknowledgment sent {"connection_id":138853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:22:52] local.INFO: TCP Data received {"connection_id":137439,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:22:52] local.INFO: Processing buffer {"connection_id":137439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:22:52] local.INFO: IMEI packet received {"connection_id":137439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 10:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":137439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:22:53] local.INFO: TCP Data received {"connection_id":138853,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:22:53] local.INFO: Processing buffer {"connection_id":138853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:22:53] local.INFO: Packet analysis {"connection_id":138853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78b6"} 
[2026-07-19 10:22:53] local.INFO: Extracted packet for processing {"connection_id":138853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78b6"} 
[2026-07-19 10:22:53] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815702528001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 10:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784436639000,"timestamp_ms":1784436639000,"timestamp_seconds":1784436639,"priority":1,"record_length":96,"hex_timestamp":"0000019f78b64518"} 
[2026-07-19 10:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:22: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-07-19 10: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 10:22: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-07-19 10: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-07-19 10:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":138853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":138853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":138853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:22:53] 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-07-19 10:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815702528001,"66":25462,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815702528001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:22:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:22:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815702528001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":138853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:22:53] local.INFO: GPS data processed {"connection_id":138853,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:22:53] local.INFO: Acknowledgment sent {"connection_id":138853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:23:27] local.INFO: TCP Data received {"connection_id":138854,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:23:27] local.INFO: Processing buffer {"connection_id":138854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:23:27] local.INFO: IMEI packet received {"connection_id":138854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 10:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":138854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:23:32] local.INFO: TCP Data received {"connection_id":136370,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:23:32] local.INFO: Processing buffer {"connection_id":136370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:23:32] local.INFO: IMEI packet received {"connection_id":136370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":136370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:23:37] local.INFO: TCP Data received {"connection_id":136370,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:23:37] local.INFO: Processing buffer {"connection_id":136370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:23:37] local.INFO: IMEI packet received {"connection_id":136370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":136370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:23:39] local.INFO: TCP Data received {"connection_id":136370,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:23:39] local.INFO: Processing buffer {"connection_id":136370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:23:39] local.INFO: Packet analysis {"connection_id":136370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78b6"} 
[2026-07-19 10:23:39] local.INFO: Extracted packet for processing {"connection_id":136370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78b6"} 
[2026-07-19 10:23:39] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815702528001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:23: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-07-19 10:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784436639000,"timestamp_ms":1784436639000,"timestamp_seconds":1784436639,"priority":1,"record_length":96,"hex_timestamp":"0000019f78b64518"} 
[2026-07-19 10:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 10:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:23:39] 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-07-19 10:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815702528001,"66":25462,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815702528001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:23:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:23:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815702528001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":136370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:23:39] local.INFO: GPS data processed {"connection_id":136370,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:23:39] local.INFO: Acknowledgment sent {"connection_id":136370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:24:10] local.INFO: TCP Data received {"connection_id":136370,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:24:10] local.INFO: Processing buffer {"connection_id":136370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:24:10] local.INFO: Packet analysis {"connection_id":136370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78b6"} 
[2026-07-19 10:24:10] local.INFO: Extracted packet for processing {"connection_id":136370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78b6"} 
[2026-07-19 10:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815702528001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:24: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-07-19 10:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784436639000,"timestamp_ms":1784436639000,"timestamp_seconds":1784436639,"priority":1,"record_length":96,"hex_timestamp":"0000019f78b64518"} 
[2026-07-19 10:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 10:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:24:10] 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-07-19 10:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815702528001,"66":25462,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815702528001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:24:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815702528001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":136370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:24:10] local.INFO: GPS data processed {"connection_id":136370,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:24:10] local.INFO: Acknowledgment sent {"connection_id":136370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:24:32] local.INFO: TCP Data received {"connection_id":136371,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:24:32] local.INFO: Processing buffer {"connection_id":136371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:24:32] local.INFO: IMEI packet received {"connection_id":136371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":136371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:24:37] local.INFO: TCP Data received {"connection_id":136371,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:24:37] local.INFO: Processing buffer {"connection_id":136371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:24:37] local.INFO: IMEI packet received {"connection_id":136371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":136371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:24:38] local.INFO: TCP Data received {"connection_id":136371,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:24:38] local.INFO: Processing buffer {"connection_id":136371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:24:38] local.INFO: Packet analysis {"connection_id":136371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78b6"} 
[2026-07-19 10:24:38] local.INFO: Extracted packet for processing {"connection_id":136371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78b6"} 
[2026-07-19 10:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815702528001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:24: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-07-19 10:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784436639000,"timestamp_ms":1784436639000,"timestamp_seconds":1784436639,"priority":1,"record_length":96,"hex_timestamp":"0000019f78b64518"} 
[2026-07-19 10:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 10:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815702528001,"66":25462,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815702528001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:24:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815702528001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":136371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:24:38] local.INFO: GPS data processed {"connection_id":136371,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:24:38] local.INFO: Acknowledgment sent {"connection_id":136371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:25:10] local.INFO: TCP Data received {"connection_id":136371,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:25:10] local.INFO: Processing buffer {"connection_id":136371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:25:10] local.INFO: Packet analysis {"connection_id":136371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78b6"} 
[2026-07-19 10:25:10] local.INFO: Extracted packet for processing {"connection_id":136371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78b6"} 
[2026-07-19 10:25:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815702528001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:25: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-07-19 10:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784436639000,"timestamp_ms":1784436639000,"timestamp_seconds":1784436639,"priority":1,"record_length":96,"hex_timestamp":"0000019f78b64518"} 
[2026-07-19 10:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 10:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:25:10] 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-07-19 10:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815702528001,"66":25462,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815702528001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:25:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:25:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815702528001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":136371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:25:10] local.INFO: GPS data processed {"connection_id":136371,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:25:10] local.INFO: Acknowledgment sent {"connection_id":136371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:25:32] local.INFO: TCP Data received {"connection_id":136372,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:25:32] local.INFO: Processing buffer {"connection_id":136372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:25:32] local.INFO: IMEI packet received {"connection_id":136372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":136372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:25:37] local.INFO: TCP Data received {"connection_id":136372,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:25:37] local.INFO: Processing buffer {"connection_id":136372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:25:37] local.INFO: IMEI packet received {"connection_id":136372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":136372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:25:38] local.INFO: TCP Data received {"connection_id":136372,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:25:38] local.INFO: Processing buffer {"connection_id":136372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:25:38] local.INFO: Packet analysis {"connection_id":136372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78b6"} 
[2026-07-19 10:25:38] local.INFO: Extracted packet for processing {"connection_id":136372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78b6"} 
[2026-07-19 10:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815702528001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:25: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-07-19 10:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784436639000,"timestamp_ms":1784436639000,"timestamp_seconds":1784436639,"priority":1,"record_length":96,"hex_timestamp":"0000019f78b64518"} 
[2026-07-19 10:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 10:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815702528001,"66":25462,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815702528001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:25:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:25:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815702528001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":136372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:25:38] local.INFO: GPS data processed {"connection_id":136372,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:25:38] local.INFO: Acknowledgment sent {"connection_id":136372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:26:09] local.INFO: TCP Data received {"connection_id":136372,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:26:09] local.INFO: Processing buffer {"connection_id":136372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78b64518012d34c48006aa3da8000900aa26..."} 
[2026-07-19 10:26:09] local.INFO: Packet analysis {"connection_id":136372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78b6"} 
[2026-07-19 10:26:09] local.INFO: Extracted packet for processing {"connection_id":136372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78b6"} 
[2026-07-19 10:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815702528001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10: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-07-19 10:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784436639000,"timestamp_ms":1784436639000,"timestamp_seconds":1784436639,"priority":1,"record_length":96,"hex_timestamp":"0000019f78b64518"} 
[2026-07-19 10:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 10:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:26:09] 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-07-19 10:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815702528001,"66":25462,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815702528001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815702528001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":136372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:26:09] local.INFO: GPS data processed {"connection_id":136372,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:26:09] local.INFO: Acknowledgment sent {"connection_id":136372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:26:32] local.INFO: TCP Data received {"connection_id":136502,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:26:32] local.INFO: Processing buffer {"connection_id":136502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:26:32] local.INFO: IMEI packet received {"connection_id":136502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":136502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:26:36] local.INFO: TCP Data received {"connection_id":136502,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:26:36] local.INFO: Processing buffer {"connection_id":136502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:26:36] local.INFO: IMEI packet received {"connection_id":136502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":136502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:26:38] local.INFO: TCP Data received {"connection_id":136502,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:26:38] local.INFO: Processing buffer {"connection_id":136502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:26:38] local.INFO: Packet analysis {"connection_id":136502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ba"} 
[2026-07-19 10:26:38] local.INFO: Extracted packet for processing {"connection_id":136502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ba"} 
[2026-07-19 10:26:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":34,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815779584001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:26: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-07-19 10:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784436939000,"timestamp_ms":1784436939000,"timestamp_seconds":1784436939,"priority":1,"record_length":96,"hex_timestamp":"0000019f78bad8f8"} 
[2026-07-19 10:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 10:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:26:38] 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-07-19 10:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815779584001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815779584001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:26:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:26:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815779584001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":136502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:26:38] local.INFO: GPS data processed {"connection_id":136502,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:26:38] local.INFO: Acknowledgment sent {"connection_id":136502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:27:10] local.INFO: TCP Data received {"connection_id":136502,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:27:10] local.INFO: Processing buffer {"connection_id":136502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:27:10] local.INFO: Packet analysis {"connection_id":136502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ba"} 
[2026-07-19 10:27:10] local.INFO: Extracted packet for processing {"connection_id":136502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ba"} 
[2026-07-19 10:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":34,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815779584001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:27: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-07-19 10:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784436939000,"timestamp_ms":1784436939000,"timestamp_seconds":1784436939,"priority":1,"record_length":96,"hex_timestamp":"0000019f78bad8f8"} 
[2026-07-19 10:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 10:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:27:10] 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-07-19 10:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815779584001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815779584001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:27:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815779584001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":136502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:27:10] local.INFO: GPS data processed {"connection_id":136502,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:27:10] local.INFO: Acknowledgment sent {"connection_id":136502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:27:32] local.INFO: TCP Data received {"connection_id":138856,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:27:32] local.INFO: Processing buffer {"connection_id":138856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:27:32] local.INFO: IMEI packet received {"connection_id":138856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":138856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:27:37] local.INFO: TCP Data received {"connection_id":138856,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:27:37] local.INFO: Processing buffer {"connection_id":138856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:27:37] local.INFO: IMEI packet received {"connection_id":138856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":138856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:27:38] local.INFO: TCP Data received {"connection_id":138856,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:27:38] local.INFO: Processing buffer {"connection_id":138856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:27:38] local.INFO: Packet analysis {"connection_id":138856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ba"} 
[2026-07-19 10:27:38] local.INFO: Extracted packet for processing {"connection_id":138856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ba"} 
[2026-07-19 10:27:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":34,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815779584001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:27: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-07-19 10:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784436939000,"timestamp_ms":1784436939000,"timestamp_seconds":1784436939,"priority":1,"record_length":96,"hex_timestamp":"0000019f78bad8f8"} 
[2026-07-19 10:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 10:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815779584001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815779584001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:27:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:27:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815779584001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":138856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:27:38] local.INFO: GPS data processed {"connection_id":138856,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:27:38] local.INFO: Acknowledgment sent {"connection_id":138856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:27:42] local.INFO: TCP Data received {"connection_id":138856,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:27:42] local.INFO: Processing buffer {"connection_id":138856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:27:42] local.INFO: Packet analysis {"connection_id":138856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ba"} 
[2026-07-19 10:27:42] local.INFO: Extracted packet for processing {"connection_id":138856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ba"} 
[2026-07-19 10:27:42] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":34,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815779584001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 10:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784436939000,"timestamp_ms":1784436939000,"timestamp_seconds":1784436939,"priority":1,"record_length":96,"hex_timestamp":"0000019f78bad8f8"} 
[2026-07-19 10:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 10:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":138856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":138856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":138856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815779584001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815779584001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:27:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:27:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815779584001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":138856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:27:42] local.INFO: GPS data processed {"connection_id":138856,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:27:42] local.INFO: Acknowledgment sent {"connection_id":138856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:28:13] local.INFO: TCP Data received {"connection_id":138856,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:28:13] local.INFO: Processing buffer {"connection_id":138856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:28:13] local.INFO: Packet analysis {"connection_id":138856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ba"} 
[2026-07-19 10:28:13] local.INFO: Extracted packet for processing {"connection_id":138856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ba"} 
[2026-07-19 10:28:13] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":34,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815779584001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10: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-07-19 10:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784436939000,"timestamp_ms":1784436939000,"timestamp_seconds":1784436939,"priority":1,"record_length":96,"hex_timestamp":"0000019f78bad8f8"} 
[2026-07-19 10:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 10:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":138856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":138856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":138856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:28:13] 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-07-19 10:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815779584001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815779584001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:28:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:28:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815779584001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":138856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:28:13] local.INFO: GPS data processed {"connection_id":138856,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:28:13] local.INFO: Acknowledgment sent {"connection_id":138856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:28:32] local.INFO: TCP Data received {"connection_id":137442,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:28:32] local.INFO: Processing buffer {"connection_id":137442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:28:32] local.INFO: IMEI packet received {"connection_id":137442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":137442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:28:37] local.INFO: TCP Data received {"connection_id":137442,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:28:37] local.INFO: Processing buffer {"connection_id":137442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:28:37] local.INFO: IMEI packet received {"connection_id":137442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":137442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:28:38] local.INFO: TCP Data received {"connection_id":137442,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:28:38] local.INFO: Processing buffer {"connection_id":137442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:28:38] local.INFO: Packet analysis {"connection_id":137442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ba"} 
[2026-07-19 10:28:38] local.INFO: Extracted packet for processing {"connection_id":137442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ba"} 
[2026-07-19 10:28:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":34,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815779584001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:28: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-07-19 10:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784436939000,"timestamp_ms":1784436939000,"timestamp_seconds":1784436939,"priority":1,"record_length":96,"hex_timestamp":"0000019f78bad8f8"} 
[2026-07-19 10:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 10:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815779584001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815779584001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:28:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:28:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815779584001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":137442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:28:38] local.INFO: GPS data processed {"connection_id":137442,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:28:38] local.INFO: Acknowledgment sent {"connection_id":137442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:28:47] local.INFO: TCP Data received {"connection_id":137443,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:28:47] local.INFO: Processing buffer {"connection_id":137443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:28:47] local.INFO: IMEI packet received {"connection_id":137443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 10:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":137443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:29:09] local.INFO: TCP Data received {"connection_id":137442,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:29:09] local.INFO: Processing buffer {"connection_id":137442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:29:09] local.INFO: Packet analysis {"connection_id":137442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ba"} 
[2026-07-19 10:29:09] local.INFO: Extracted packet for processing {"connection_id":137442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ba"} 
[2026-07-19 10:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":34,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815779584001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:29: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-07-19 10:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784436939000,"timestamp_ms":1784436939000,"timestamp_seconds":1784436939,"priority":1,"record_length":96,"hex_timestamp":"0000019f78bad8f8"} 
[2026-07-19 10:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 10:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815779584001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815779584001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:29:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:29:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815779584001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":137442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:29:09] local.INFO: GPS data processed {"connection_id":137442,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:29:09] local.INFO: Acknowledgment sent {"connection_id":137442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:29:27] local.INFO: TCP Data received {"connection_id":137444,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:29:27] local.INFO: Processing buffer {"connection_id":137444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:29:27] local.INFO: IMEI packet received {"connection_id":137444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 10:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":137444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:29:32] local.INFO: TCP Data received {"connection_id":138858,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:29:32] local.INFO: Processing buffer {"connection_id":138858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:29:32] local.INFO: IMEI packet received {"connection_id":138858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":138858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:29:37] local.INFO: TCP Data received {"connection_id":138858,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:29:37] local.INFO: Processing buffer {"connection_id":138858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:29:37] local.INFO: IMEI packet received {"connection_id":138858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":138858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:29:38] local.INFO: TCP Data received {"connection_id":138858,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:29:38] local.INFO: Processing buffer {"connection_id":138858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:29:38] local.INFO: Packet analysis {"connection_id":138858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ba"} 
[2026-07-19 10:29:38] local.INFO: Extracted packet for processing {"connection_id":138858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ba"} 
[2026-07-19 10:29:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":34,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815779584001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:29: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-07-19 10:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784436939000,"timestamp_ms":1784436939000,"timestamp_seconds":1784436939,"priority":1,"record_length":96,"hex_timestamp":"0000019f78bad8f8"} 
[2026-07-19 10:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 10:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:29: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-07-19 10:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815779584001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815779584001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:29:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:29:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815779584001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":138858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:29:38] local.INFO: GPS data processed {"connection_id":138858,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:29:38] local.INFO: Acknowledgment sent {"connection_id":138858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:30:09] local.INFO: TCP Data received {"connection_id":138858,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:30:09] local.INFO: Processing buffer {"connection_id":138858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:30:09] local.INFO: Packet analysis {"connection_id":138858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ba"} 
[2026-07-19 10:30:09] local.INFO: Extracted packet for processing {"connection_id":138858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ba"} 
[2026-07-19 10:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":34,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815779584001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10: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-07-19 10:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784436939000,"timestamp_ms":1784436939000,"timestamp_seconds":1784436939,"priority":1,"record_length":96,"hex_timestamp":"0000019f78bad8f8"} 
[2026-07-19 10:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 10:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:30: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-07-19 10:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815779584001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815779584001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:30:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:30:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815779584001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":138858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:30:09] local.INFO: GPS data processed {"connection_id":138858,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:30:09] local.INFO: Acknowledgment sent {"connection_id":138858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:30:31] local.INFO: TCP Data received {"connection_id":136504,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:30:31] local.INFO: Processing buffer {"connection_id":136504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:30:31] local.INFO: IMEI packet received {"connection_id":136504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":136504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:30:37] local.INFO: TCP Data received {"connection_id":136504,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:30:37] local.INFO: Processing buffer {"connection_id":136504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:30:37] local.INFO: IMEI packet received {"connection_id":136504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":136504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:30:38] local.INFO: TCP Data received {"connection_id":136504,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:30:38] local.INFO: Processing buffer {"connection_id":136504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:30:38] local.INFO: Packet analysis {"connection_id":136504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ba"} 
[2026-07-19 10:30:38] local.INFO: Extracted packet for processing {"connection_id":136504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ba"} 
[2026-07-19 10:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":34,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815779584001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:30: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-07-19 10:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784436939000,"timestamp_ms":1784436939000,"timestamp_seconds":1784436939,"priority":1,"record_length":96,"hex_timestamp":"0000019f78bad8f8"} 
[2026-07-19 10:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 10:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:30: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-07-19 10:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815779584001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815779584001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:30:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815779584001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":136504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:30:38] local.INFO: GPS data processed {"connection_id":136504,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:30:38] local.INFO: Acknowledgment sent {"connection_id":136504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:31:09] local.INFO: TCP Data received {"connection_id":136504,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:31:09] local.INFO: Processing buffer {"connection_id":136504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78bad8f8012d34c48006aa3da8000900aa22..."} 
[2026-07-19 10:31:09] local.INFO: Packet analysis {"connection_id":136504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ba"} 
[2026-07-19 10:31:09] local.INFO: Extracted packet for processing {"connection_id":136504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ba"} 
[2026-07-19 10:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":9,"angle":170,"satellites":34,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815779584001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:31: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-07-19 10:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784436939000,"timestamp_ms":1784436939000,"timestamp_seconds":1784436939,"priority":1,"record_length":96,"hex_timestamp":"0000019f78bad8f8"} 
[2026-07-19 10:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 10:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:31: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-07-19 10:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815779584001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815779584001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815779584001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":136504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:31:09] local.INFO: GPS data processed {"connection_id":136504,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:31:09] local.INFO: Acknowledgment sent {"connection_id":136504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:31:32] local.INFO: TCP Data received {"connection_id":136506,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:31:32] local.INFO: Processing buffer {"connection_id":136506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:31:32] local.INFO: IMEI packet received {"connection_id":136506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":136506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:31:37] local.INFO: TCP Data received {"connection_id":136506,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:31:37] local.INFO: Processing buffer {"connection_id":136506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:31:37] local.INFO: IMEI packet received {"connection_id":136506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":136506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:31:37] local.INFO: TCP Data received {"connection_id":136506,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f78bf70c0012d34c48006aa3da8000a00aa26..."} 
[2026-07-19 10:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78bf70c0012d34c48006aa3da8000a00aa26..."} 
[2026-07-19 10:31:37] local.INFO: Processing buffer {"connection_id":136506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78bf70c0012d34c48006aa3da8000a00aa26..."} 
[2026-07-19 10:31:37] local.INFO: Packet analysis {"connection_id":136506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78bf"} 
[2026-07-19 10:31:37] local.INFO: Extracted packet for processing {"connection_id":136506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78bf"} 
[2026-07-19 10:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815856384001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10: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-07-19 10:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784437240000,"timestamp_ms":1784437240000,"timestamp_seconds":1784437240,"priority":1,"record_length":96,"hex_timestamp":"0000019f78bf70c0"} 
[2026-07-19 10:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 10:31: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-07-19 10: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-07-19 10:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:31:37] 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-07-19 10:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815856384001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815856384001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:31:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815856384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":136506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:31:37] local.INFO: GPS data processed {"connection_id":136506,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:31:37] local.INFO: Acknowledgment sent {"connection_id":136506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:32:09] local.INFO: TCP Data received {"connection_id":136506,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f78bf70c0012d34c48006aa3da8000a00aa26..."} 
[2026-07-19 10:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78bf70c0012d34c48006aa3da8000a00aa26..."} 
[2026-07-19 10:32:09] local.INFO: Processing buffer {"connection_id":136506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78bf70c0012d34c48006aa3da8000a00aa26..."} 
[2026-07-19 10:32:09] local.INFO: Packet analysis {"connection_id":136506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78bf"} 
[2026-07-19 10:32:09] local.INFO: Extracted packet for processing {"connection_id":136506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78bf"} 
[2026-07-19 10:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815856384001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:32: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-07-19 10:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784437240000,"timestamp_ms":1784437240000,"timestamp_seconds":1784437240,"priority":1,"record_length":96,"hex_timestamp":"0000019f78bf70c0"} 
[2026-07-19 10:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:32: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-07-19 10:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 10:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:32: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-07-19 10:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815856384001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815856384001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:32:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815856384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":136506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:32:09] local.INFO: GPS data processed {"connection_id":136506,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:32:09] local.INFO: Acknowledgment sent {"connection_id":136506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:32:32] local.INFO: TCP Data received {"connection_id":138859,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:32:32] local.INFO: Processing buffer {"connection_id":138859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:32:32] local.INFO: IMEI packet received {"connection_id":138859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":138859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:32:37] local.INFO: TCP Data received {"connection_id":138859,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:32:37] local.INFO: Processing buffer {"connection_id":138859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:32:37] local.INFO: IMEI packet received {"connection_id":138859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":138859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:32:38] local.INFO: TCP Data received {"connection_id":138859,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78bf70c0012d34c48006aa3da8000a00aa26..."} 
[2026-07-19 10:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78bf70c0012d34c48006aa3da8000a00aa26..."} 
[2026-07-19 10:32:38] local.INFO: Processing buffer {"connection_id":138859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78bf70c0012d34c48006aa3da8000a00aa26..."} 
[2026-07-19 10:32:38] local.INFO: Packet analysis {"connection_id":138859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78bf"} 
[2026-07-19 10:32:38] local.INFO: Extracted packet for processing {"connection_id":138859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78bf"} 
[2026-07-19 10:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815856384001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:32: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-07-19 10:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784437240000,"timestamp_ms":1784437240000,"timestamp_seconds":1784437240,"priority":1,"record_length":96,"hex_timestamp":"0000019f78bf70c0"} 
[2026-07-19 10:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 10:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:32: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-07-19 10:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815856384001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 10:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815856384001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:32:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815856384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":138859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:32:38] local.INFO: GPS data processed {"connection_id":138859,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:32:38] local.INFO: Acknowledgment sent {"connection_id":138859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:33:09] local.INFO: TCP Data received {"connection_id":138859,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78bf70c0012d34c48006aa3da8000a00aa26..."} 
[2026-07-19 10:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78bf70c0012d34c48006aa3da8000a00aa26..."} 
[2026-07-19 10:33:09] local.INFO: Processing buffer {"connection_id":138859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78bf70c0012d34c48006aa3da8000a00aa26..."} 
[2026-07-19 10:33:09] local.INFO: Packet analysis {"connection_id":138859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78bf"} 
[2026-07-19 10:33:09] local.INFO: Extracted packet for processing {"connection_id":138859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78bf"} 
[2026-07-19 10:33:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 10:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815856384001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10: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-07-19 10:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784437240000,"timestamp_ms":1784437240000,"timestamp_seconds":1784437240,"priority":1,"record_length":96,"hex_timestamp":"0000019f78bf70c0"} 
[2026-07-19 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-07-19 10:33: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-07-19 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 10:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 10:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:33: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-07-19 10:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815856384001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 10:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815856384001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:33:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:33:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815856384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":138859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:33:09] local.INFO: GPS data processed {"connection_id":138859,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:33:09] local.INFO: Acknowledgment sent {"connection_id":138859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:33:32] local.INFO: TCP Data received {"connection_id":136507,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:33:32] local.INFO: Processing buffer {"connection_id":136507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:33:32] local.INFO: IMEI packet received {"connection_id":136507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":136507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:33:37] local.INFO: TCP Data received {"connection_id":136507,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:33:37] local.INFO: Processing buffer {"connection_id":136507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:33:37] local.INFO: IMEI packet received {"connection_id":136507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":136507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:33:38] local.INFO: TCP Data received {"connection_id":136507,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f78bf70c0012d34c48006aa3da8000a00aa26..."} 
[2026-07-19 10:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78bf70c0012d34c48006aa3da8000a00aa26..."} 
[2026-07-19 10:33:38] local.INFO: Processing buffer {"connection_id":136507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78bf70c0012d34c48006aa3da8000a00aa26..."} 
[2026-07-19 10:33:38] local.INFO: Packet analysis {"connection_id":136507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78bf"} 
[2026-07-19 10:33:38] local.INFO: Extracted packet for processing {"connection_id":136507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78bf"} 
[2026-07-19 10:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815856384001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:33: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-07-19 10:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784437240000,"timestamp_ms":1784437240000,"timestamp_seconds":1784437240,"priority":1,"record_length":96,"hex_timestamp":"0000019f78bf70c0"} 
[2026-07-19 10:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 10:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815856384001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815856384001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:33:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815856384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":136507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:33:38] local.INFO: GPS data processed {"connection_id":136507,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:33:38] local.INFO: Acknowledgment sent {"connection_id":136507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:34:10] local.INFO: TCP Data received {"connection_id":136507,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f78bf70c0012d34c48006aa3da8000a00aa26..."} 
[2026-07-19 10:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78bf70c0012d34c48006aa3da8000a00aa26..."} 
[2026-07-19 10:34:10] local.INFO: Processing buffer {"connection_id":136507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78bf70c0012d34c48006aa3da8000a00aa26..."} 
[2026-07-19 10:34:10] local.INFO: Packet analysis {"connection_id":136507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78bf"} 
[2026-07-19 10:34:10] local.INFO: Extracted packet for processing {"connection_id":136507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78bf"} 
[2026-07-19 10:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 10:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815856384001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:34: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-07-19 10:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784437240000,"timestamp_ms":1784437240000,"timestamp_seconds":1784437240,"priority":1,"record_length":96,"hex_timestamp":"0000019f78bf70c0"} 
[2026-07-19 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-07-19 10:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 10:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 10:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815856384001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815856384001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:34:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815856384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":136507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:34:10] local.INFO: GPS data processed {"connection_id":136507,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:34:10] local.INFO: Acknowledgment sent {"connection_id":136507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:34:33] local.INFO: TCP Data received {"connection_id":138861,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:34:33] local.INFO: Processing buffer {"connection_id":138861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:34:33] local.INFO: IMEI packet received {"connection_id":138861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":138861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:34:37] local.INFO: TCP Data received {"connection_id":138861,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:34:37] local.INFO: Processing buffer {"connection_id":138861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:34:37] local.INFO: IMEI packet received {"connection_id":138861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":138861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:34:38] local.INFO: TCP Data received {"connection_id":138861,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f78c24750012d34c48006aa3da8000a00aa26..."} 
[2026-07-19 10:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78c24750012d34c48006aa3da8000a00aa26..."} 
[2026-07-19 10:34:38] local.INFO: Processing buffer {"connection_id":138861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78c24750012d34c48006aa3da8000a00aa26..."} 
[2026-07-19 10:34:38] local.INFO: Packet analysis {"connection_id":138861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78c2"} 
[2026-07-19 10:34:38] local.INFO: Extracted packet for processing {"connection_id":138861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78c2"} 
[2026-07-19 10:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820200,"longitude_deg":75.8432896,"latitude_deg":11.18202,"altitude":10,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-07-19 10:34: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-07-19 10:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815933440001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:34: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-07-19 10:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784437426000,"timestamp_ms":1784437426000,"timestamp_seconds":1784437426,"priority":1,"record_length":96,"hex_timestamp":"0000019f78c24750"} 
[2026-07-19 10:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 10:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:34: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-07-19 10:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815933440001,"66":25495,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815933440001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:34:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:34:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815933440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":138861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:34:39] local.INFO: GPS data processed {"connection_id":138861,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:34:39] local.INFO: Acknowledgment sent {"connection_id":138861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:34:44] local.INFO: TCP Data received {"connection_id":138861,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f78c256f0012d34c2c006aa3d80000a011627..."} 
[2026-07-19 10:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78c256f0012d34c2c006aa3d80000a011627..."} 
[2026-07-19 10:34:44] local.INFO: Processing buffer {"connection_id":138861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78c256f0012d34c2c006aa3d80000a011627..."} 
[2026-07-19 10:34:44] local.INFO: Packet analysis {"connection_id":138861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78c2"} 
[2026-07-19 10:34:44] local.INFO: Extracted packet for processing {"connection_id":138861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78c2"} 
[2026-07-19 10:34:44] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820160,"longitude_deg":75.8432448,"latitude_deg":11.182016,"altitude":10,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3d80","is_valid_coordinates":true} 
[2026-07-19 10:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815981056001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521867776,"note":"Value kept but may cause issues"} 
[2026-07-19 10:34: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-07-19 10:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784437430000,"timestamp_ms":1784437430000,"timestamp_seconds":1784437430,"priority":1,"record_length":96,"hex_timestamp":"0000019f78c256f0"} 
[2026-07-19 10:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 10:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 10:34:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":138861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":138861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":138861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:34:44] 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-07-19 10:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815981056001,"66":25375,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3802304751521867776},"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-07-19 10:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815981056001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:34:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:34:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521867776,"description":"Unknown IO ID 45"} 
[2026-07-19 10:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815981056001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521867776}} 
[2026-07-19 10:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":138861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:34:44] local.INFO: GPS data processed {"connection_id":138861,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:34:44] local.INFO: Acknowledgment sent {"connection_id":138861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:34:52] local.INFO: TCP Data received {"connection_id":138860,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:34:52] local.INFO: Processing buffer {"connection_id":138860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:34:52] local.INFO: IMEI packet received {"connection_id":138860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 10:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":138860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:35:17] local.INFO: TCP Data received {"connection_id":138861,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f78c2a8f8012d34c2c006aa3d80000a011625..."} 
[2026-07-19 10:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78c2a8f8012d34c2c006aa3d80000a011625..."} 
[2026-07-19 10:35:17] local.INFO: Processing buffer {"connection_id":138861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78c2a8f8012d34c2c006aa3d80000a011625..."} 
[2026-07-19 10:35:17] local.INFO: Packet analysis {"connection_id":138861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78c2"} 
[2026-07-19 10:35:17] local.INFO: Extracted packet for processing {"connection_id":138861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78c2"} 
[2026-07-19 10:35:17] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820160,"longitude_deg":75.8432448,"latitude_deg":11.182016,"altitude":10,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3d80","is_valid_coordinates":true} 
[2026-07-19 10:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815982080001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312613888,"note":"Value kept but may cause issues"} 
[2026-07-19 10:35: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-07-19 10:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784437451000,"timestamp_ms":1784437451000,"timestamp_seconds":1784437451,"priority":1,"record_length":96,"hex_timestamp":"0000019f78c2a8f8"} 
[2026-07-19 10:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 10:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 10:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":138861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":138861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":138861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815982080001,"66":27789,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3801812170312613888},"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-07-19 10:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815982080001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:35:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:35:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312613888,"description":"Unknown IO ID 45"} 
[2026-07-19 10:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815982080001,"power":27789,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312613888}} 
[2026-07-19 10:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":138861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:35:17] local.INFO: GPS data processed {"connection_id":138861,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:35:17] local.INFO: Acknowledgment sent {"connection_id":138861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:35:27] local.INFO: TCP Data received {"connection_id":136508,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:35:27] local.INFO: Processing buffer {"connection_id":136508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:35:27] local.INFO: IMEI packet received {"connection_id":136508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 10:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":136508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:35:37] local.INFO: TCP Data received {"connection_id":137445,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:35:37] local.INFO: Processing buffer {"connection_id":137445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:35:37] local.INFO: IMEI packet received {"connection_id":137445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":137445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:35:42] local.INFO: TCP Data received {"connection_id":137445,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:35:42] local.INFO: Processing buffer {"connection_id":137445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:35:42] local.INFO: IMEI packet received {"connection_id":137445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":137445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:35:43] local.INFO: TCP Data received {"connection_id":137445,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f78c2fb00012d34c2c006aa3d80000a011625..."} 
[2026-07-19 10:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78c2fb00012d34c2c006aa3d80000a011625..."} 
[2026-07-19 10:35:43] local.INFO: Processing buffer {"connection_id":137445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78c2fb00012d34c2c006aa3d80000a011625..."} 
[2026-07-19 10:35:43] local.INFO: Packet analysis {"connection_id":137445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78c2"} 
[2026-07-19 10:35:43] local.INFO: Extracted packet for processing {"connection_id":137445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78c2"} 
[2026-07-19 10:35:43] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820160,"longitude_deg":75.8432448,"latitude_deg":11.182016,"altitude":10,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3d80","is_valid_coordinates":true} 
[2026-07-19 10:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815987456001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312613888,"note":"Value kept but may cause issues"} 
[2026-07-19 10:35: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-07-19 10:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784437472000,"timestamp_ms":1784437472000,"timestamp_seconds":1784437472,"priority":1,"record_length":96,"hex_timestamp":"0000019f78c2fb00"} 
[2026-07-19 10:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 10:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-19 10:35:43] 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-07-19 10:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:35:43] 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-07-19 10:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815987456001,"66":27930,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3801812170312613888},"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-07-19 10:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815987456001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:35:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:35:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312613888,"description":"Unknown IO ID 45"} 
[2026-07-19 10:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815987456001,"power":27930,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312613888}} 
[2026-07-19 10:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":137445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:35:43] local.INFO: GPS data processed {"connection_id":137445,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:35:43] local.INFO: Acknowledgment sent {"connection_id":137445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:35:47] local.INFO: TCP Data received {"connection_id":137445,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f78c34920012d34c2c006aa3d80000a011627..."} 
[2026-07-19 10:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78c34920012d34c2c006aa3d80000a011627..."} 
[2026-07-19 10:35:47] local.INFO: Processing buffer {"connection_id":137445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78c34920012d34c2c006aa3d80000a011627..."} 
[2026-07-19 10:35:47] local.INFO: Packet analysis {"connection_id":137445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78c3"} 
[2026-07-19 10:35:47] local.INFO: Extracted packet for processing {"connection_id":137445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78c3"} 
[2026-07-19 10:35:47] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820160,"longitude_deg":75.8432448,"latitude_deg":11.182016,"altitude":10,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3d80","is_valid_coordinates":true} 
[2026-07-19 10:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815992832001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312613888,"note":"Value kept but may cause issues"} 
[2026-07-19 10:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 10:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784437492000,"timestamp_ms":1784437492000,"timestamp_seconds":1784437492,"priority":1,"record_length":96,"hex_timestamp":"0000019f78c34920"} 
[2026-07-19 10:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:35: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-07-19 10:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-19 10:35:47] 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-07-19 10:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":137445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":137445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":137445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815992832001,"66":27908,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3801812170312613888},"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-07-19 10:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815992832001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:35:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:35:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312613888,"description":"Unknown IO ID 45"} 
[2026-07-19 10:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815992832001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312613888}} 
[2026-07-19 10:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":137445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:35:47] local.INFO: GPS data processed {"connection_id":137445,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:35:47] local.INFO: Acknowledgment sent {"connection_id":137445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:36:31] local.INFO: TCP Data received {"connection_id":136375,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:36:31] local.INFO: Processing buffer {"connection_id":136375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:36:31] local.INFO: IMEI packet received {"connection_id":136375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":136375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:36:32] local.INFO: TCP Data received {"connection_id":136375,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:36:32] local.INFO: Processing buffer {"connection_id":136375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:36:32] local.INFO: IMEI packet received {"connection_id":136375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":136375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:36:36] local.INFO: TCP Data received {"connection_id":136375,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:36:36] local.INFO: Processing buffer {"connection_id":136375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:36:36] local.INFO: IMEI packet received {"connection_id":136375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":136375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:36:37] local.INFO: TCP Data received {"connection_id":136375,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f78c39b28012d34c2c006aa3d80000a011626..."} 
[2026-07-19 10:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78c39b28012d34c2c006aa3d80000a011626..."} 
[2026-07-19 10:36:37] local.INFO: Processing buffer {"connection_id":136375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78c39b28012d34c2c006aa3d80000a011626..."} 
[2026-07-19 10:36:37] local.INFO: Packet analysis {"connection_id":136375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78c3"} 
[2026-07-19 10:36:37] local.INFO: Extracted packet for processing {"connection_id":136375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78c3"} 
[2026-07-19 10:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820160,"longitude_deg":75.8432448,"latitude_deg":11.182016,"altitude":10,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3d80","is_valid_coordinates":true} 
[2026-07-19 10:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815997952001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312613888,"note":"Value kept but may cause issues"} 
[2026-07-19 10:36: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-07-19 10:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784437513000,"timestamp_ms":1784437513000,"timestamp_seconds":1784437513,"priority":1,"record_length":96,"hex_timestamp":"0000019f78c39b28"} 
[2026-07-19 10:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 10:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 10:36:37] 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-07-19 10:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:36: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-07-19 10:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456815997952001,"66":27876,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3801812170312613888},"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-07-19 10:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456815997952001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312613888,"description":"Unknown IO ID 45"} 
[2026-07-19 10:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456815997952001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312613888}} 
[2026-07-19 10:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":136375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:36:37] local.INFO: GPS data processed {"connection_id":136375,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:36:37] local.INFO: Acknowledgment sent {"connection_id":136375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:36:38] local.INFO: TCP Data received {"connection_id":136375,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f78c3ed30012d34c2c006aa3d80000a011625..."} 
[2026-07-19 10:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78c3ed30012d34c2c006aa3d80000a011625..."} 
[2026-07-19 10:36:38] local.INFO: Processing buffer {"connection_id":136375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78c3ed30012d34c2c006aa3d80000a011625..."} 
[2026-07-19 10:36:38] local.INFO: Packet analysis {"connection_id":136375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78c3"} 
[2026-07-19 10:36:38] local.INFO: Extracted packet for processing {"connection_id":136375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78c3"} 
[2026-07-19 10:36:38] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820160,"longitude_deg":75.8432448,"latitude_deg":11.182016,"altitude":10,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3d80","is_valid_coordinates":true} 
[2026-07-19 10:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816003328001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306924521259008,"note":"Value kept but may cause issues"} 
[2026-07-19 10:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312613888,"note":"Value kept but may cause issues"} 
[2026-07-19 10:36: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-07-19 10:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784437534000,"timestamp_ms":1784437534000,"timestamp_seconds":1784437534,"priority":1,"record_length":96,"hex_timestamp":"0000019f78c3ed30"} 
[2026-07-19 10:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 10:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-19 10:36: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-07-19 10:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:36: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-07-19 10:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816003328001,"66":27995,"97":206,"81":23296,"24":0,"16":352306924521259008,"45":3801812170312613888},"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-07-19 10:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816003328001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:36:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:36:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306924521259008,"km_value":352306924521259.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312613888,"description":"Unknown IO ID 45"} 
[2026-07-19 10:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816003328001,"power":27995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312613888}} 
[2026-07-19 10:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":136375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:36:38] local.INFO: GPS data processed {"connection_id":136375,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:36:38] local.INFO: Acknowledgment sent {"connection_id":136375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:37:10] local.INFO: TCP Data received {"connection_id":136375,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f78c41ff8012d34c48006aa3d100004012126..."} 
[2026-07-19 10:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78c41ff8012d34c48006aa3d100004012126..."} 
[2026-07-19 10:37:10] local.INFO: Processing buffer {"connection_id":136375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78c41ff8012d34c48006aa3d100004012126..."} 
[2026-07-19 10:37:10] local.INFO: Packet analysis {"connection_id":136375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78c4"} 
[2026-07-19 10:37:10] local.INFO: Extracted packet for processing {"connection_id":136375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78c4"} 
[2026-07-19 10:37:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820048,"longitude_deg":75.8432896,"latitude_deg":11.1820048,"altitude":4,"angle":289,"satellites":38,"speed":2,"hex_longitude":"2d34c480","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-07-19 10:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816008704001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306963175964672,"note":"Value kept but may cause issues"} 
[2026-07-19 10:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312613888,"note":"Value kept but may cause issues"} 
[2026-07-19 10:37: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-07-19 10:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784437547000,"timestamp_ms":1784437547000,"timestamp_seconds":1784437547,"priority":1,"record_length":96,"hex_timestamp":"0000019f78c41ff8"} 
[2026-07-19 10:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:37: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-07-19 10:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-19 10:37:10] 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-07-19 10:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:37: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-07-19 10:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816008704001,"66":27908,"97":206,"81":23296,"24":2,"16":352306963175964672,"45":3801812170312613888},"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-07-19 10:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816008704001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:37:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:37:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306963175964672,"km_value":352306963175964.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312613888,"description":"Unknown IO ID 45"} 
[2026-07-19 10:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816008704001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3801812170312613888}} 
[2026-07-19 10:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":136375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:37:10] local.INFO: GPS data processed {"connection_id":136375,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:37:10] local.INFO: Acknowledgment sent {"connection_id":136375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:37:32] local.INFO: TCP Data received {"connection_id":136376,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:37:32] local.INFO: Processing buffer {"connection_id":136376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:37:32] local.INFO: IMEI packet received {"connection_id":136376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":136376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:37:37] local.INFO: TCP Data received {"connection_id":136376,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:37:37] local.INFO: Processing buffer {"connection_id":136376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:37:37] local.INFO: IMEI packet received {"connection_id":136376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":136376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:37:38] local.INFO: TCP Data received {"connection_id":136376,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f78c43768012d34c40006aa3d900005013928..."} 
[2026-07-19 10:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78c43768012d34c40006aa3d900005013928..."} 
[2026-07-19 10:37:38] local.INFO: Processing buffer {"connection_id":136376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78c43768012d34c40006aa3d900005013928..."} 
[2026-07-19 10:37:38] local.INFO: Packet analysis {"connection_id":136376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78c4"} 
[2026-07-19 10:37:38] local.INFO: Extracted packet for processing {"connection_id":136376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78c4"} 
[2026-07-19 10:37:38] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820176,"longitude_deg":75.8432768,"latitude_deg":11.1820176,"altitude":5,"angle":313,"satellites":40,"speed":2,"hex_longitude":"2d34c400","hex_latitude":"06aa3d90","is_valid_coordinates":true} 
[2026-07-19 10:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816012032001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352306976060866560,"note":"Value kept but may cause issues"} 
[2026-07-19 10:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521828864,"note":"Value kept but may cause issues"} 
[2026-07-19 10:37: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-07-19 10:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784437553000,"timestamp_ms":1784437553000,"timestamp_seconds":1784437553,"priority":1,"record_length":96,"hex_timestamp":"0000019f78c43768"} 
[2026-07-19 10:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 10:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 10:37: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-07-19 10:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:37: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-07-19 10:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816012032001,"66":27767,"97":206,"81":23296,"24":2,"16":352306976060866560,"45":3802304751521828864},"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-07-19 10:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816012032001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:37:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:37:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352306976060866560,"km_value":352306976060866.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521828864,"description":"Unknown IO ID 45"} 
[2026-07-19 10:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816012032001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802304751521828864}} 
[2026-07-19 10:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":136376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:37:38] local.INFO: GPS data processed {"connection_id":136376,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:37:38] local.INFO: Acknowledgment sent {"connection_id":136376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:38:10] local.INFO: TCP Data received {"connection_id":136376,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f78c55c60012d34c50006aa4d280008014127..."} 
[2026-07-19 10:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78c55c60012d34c50006aa4d280008014127..."} 
[2026-07-19 10:38:10] local.INFO: Processing buffer {"connection_id":136376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78c55c60012d34c50006aa4d280008014127..."} 
[2026-07-19 10:38:10] local.INFO: Packet analysis {"connection_id":136376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78c5"} 
[2026-07-19 10:38:10] local.INFO: Extracted packet for processing {"connection_id":136376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78c5"} 
[2026-07-19 10:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824168,"longitude_deg":75.8433024,"latitude_deg":11.1824168,"altitude":8,"angle":321,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4d28","is_valid_coordinates":true} 
[2026-07-19 10:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816027136001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701476122624,"note":"Value kept but may cause issues"} 
[2026-07-19 10:38: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-07-19 10:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784437628000,"timestamp_ms":1784437628000,"timestamp_seconds":1784437628,"priority":1,"record_length":96,"hex_timestamp":"0000019f78c55c60"} 
[2026-07-19 10:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:38: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-07-19 10:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 10:38: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-07-19 10:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:38: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-07-19 10:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816027136001,"66":27745,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802867701476122624},"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-07-19 10:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816027136001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:38:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:38:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701476122624,"description":"Unknown IO ID 45"} 
[2026-07-19 10:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816027136001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701476122624}} 
[2026-07-19 10:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":136376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:38:10] local.INFO: GPS data processed {"connection_id":136376,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:38:10] local.INFO: Acknowledgment sent {"connection_id":136376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:38:32] local.INFO: TCP Data received {"connection_id":138864,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:38:32] local.INFO: Processing buffer {"connection_id":138864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:38:32] local.INFO: IMEI packet received {"connection_id":138864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":138864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:38:37] local.INFO: TCP Data received {"connection_id":138864,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:38:37] local.INFO: Processing buffer {"connection_id":138864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:38:37] local.INFO: IMEI packet received {"connection_id":138864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":138864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:38:38] local.INFO: TCP Data received {"connection_id":138864,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f78c56c00012d34c50006aa4d280008014127..."} 
[2026-07-19 10:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78c56c00012d34c50006aa4d280008014127..."} 
[2026-07-19 10:38:38] local.INFO: Processing buffer {"connection_id":138864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78c56c00012d34c50006aa4d280008014127..."} 
[2026-07-19 10:38:38] local.INFO: Packet analysis {"connection_id":138864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78c5"} 
[2026-07-19 10:38:38] local.INFO: Extracted packet for processing {"connection_id":138864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78c5"} 
[2026-07-19 10:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824168,"longitude_deg":75.8433024,"latitude_deg":11.1824168,"altitude":8,"angle":321,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4d28","is_valid_coordinates":true} 
[2026-07-19 10:38: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-07-19 10:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816032768001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011238912,"note":"Value kept but may cause issues"} 
[2026-07-19 10:38: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-07-19 10:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784437632000,"timestamp_ms":1784437632000,"timestamp_seconds":1784437632,"priority":1,"record_length":96,"hex_timestamp":"0000019f78c56c00"} 
[2026-07-19 10:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 10:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 10:38:38] 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-07-19 10:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816032768001,"66":27800,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011238912},"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-07-19 10:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816032768001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:38:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011238912,"description":"Unknown IO ID 45"} 
[2026-07-19 10:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816032768001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011238912}} 
[2026-07-19 10:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":138864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:38:38] local.INFO: GPS data processed {"connection_id":138864,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:38:38] local.INFO: Acknowledgment sent {"connection_id":138864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:39:09] local.INFO: TCP Data received {"connection_id":138864,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:39:09] local.INFO: Processing buffer {"connection_id":138864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:39:09] local.INFO: Packet analysis {"connection_id":138864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78c5"} 
[2026-07-19 10:39:09] local.INFO: Extracted packet for processing {"connection_id":138864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78c5"} 
[2026-07-19 10:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111824104,"longitude_deg":75.8432896,"latitude_deg":11.1824104,"altitude":9,"angle":138,"satellites":40,"speed":3,"hex_longitude":"2d34c480","hex_latitude":"06aa4ce8","is_valid_coordinates":true} 
[2026-07-19 10:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816033792001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011238912,"note":"Value kept but may cause issues"} 
[2026-07-19 10:39: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-07-19 10:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784437634000,"timestamp_ms":1784437634000,"timestamp_seconds":1784437634,"priority":1,"record_length":96,"hex_timestamp":"0000019f78c573d0"} 
[2026-07-19 10:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-19 10:39:09] 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-07-19 10:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816033792001,"66":27800,"97":206,"81":23296,"24":3,"16":352307216579035136,"45":3802445489011238912},"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-07-19 10:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816033792001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:39:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011238912,"description":"Unknown IO ID 45"} 
[2026-07-19 10:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816033792001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802445489011238912}} 
[2026-07-19 10:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":138864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:39:09] local.INFO: GPS data processed {"connection_id":138864,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:39:09] local.INFO: Acknowledgment sent {"connection_id":138864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:39:32] local.INFO: TCP Data received {"connection_id":138865,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:39:32] local.INFO: Processing buffer {"connection_id":138865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:39:32] local.INFO: IMEI packet received {"connection_id":138865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":138865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:39:37] local.INFO: TCP Data received {"connection_id":138865,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:39:37] local.INFO: Processing buffer {"connection_id":138865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:39:37] local.INFO: IMEI packet received {"connection_id":138865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":138865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:39:38] local.INFO: TCP Data received {"connection_id":138865,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:39:38] local.INFO: Processing buffer {"connection_id":138865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:39:38] local.INFO: Packet analysis {"connection_id":138865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78c5"} 
[2026-07-19 10:39:38] local.INFO: Extracted packet for processing {"connection_id":138865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78c5"} 
[2026-07-19 10:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111824104,"longitude_deg":75.8432896,"latitude_deg":11.1824104,"altitude":9,"angle":138,"satellites":40,"speed":3,"hex_longitude":"2d34c480","hex_latitude":"06aa4ce8","is_valid_coordinates":true} 
[2026-07-19 10:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816033792001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011238912,"note":"Value kept but may cause issues"} 
[2026-07-19 10:39: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-07-19 10:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784437634000,"timestamp_ms":1784437634000,"timestamp_seconds":1784437634,"priority":1,"record_length":96,"hex_timestamp":"0000019f78c573d0"} 
[2026-07-19 10:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-19 10:39: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-07-19 10:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816033792001,"66":27800,"97":206,"81":23296,"24":3,"16":352307216579035136,"45":3802445489011238912},"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-07-19 10:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816033792001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:39:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:39:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011238912,"description":"Unknown IO ID 45"} 
[2026-07-19 10:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816033792001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802445489011238912}} 
[2026-07-19 10:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":138865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:39:38] local.INFO: GPS data processed {"connection_id":138865,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:39:38] local.INFO: Acknowledgment sent {"connection_id":138865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:40:09] local.INFO: TCP Data received {"connection_id":138865,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:40:09] local.INFO: Processing buffer {"connection_id":138865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:40:09] local.INFO: Packet analysis {"connection_id":138865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78c5"} 
[2026-07-19 10:40:09] local.INFO: Extracted packet for processing {"connection_id":138865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78c5"} 
[2026-07-19 10:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111824104,"longitude_deg":75.8432896,"latitude_deg":11.1824104,"altitude":9,"angle":138,"satellites":40,"speed":3,"hex_longitude":"2d34c480","hex_latitude":"06aa4ce8","is_valid_coordinates":true} 
[2026-07-19 10:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816033792001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011238912,"note":"Value kept but may cause issues"} 
[2026-07-19 10:40: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-07-19 10:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784437634000,"timestamp_ms":1784437634000,"timestamp_seconds":1784437634,"priority":1,"record_length":96,"hex_timestamp":"0000019f78c573d0"} 
[2026-07-19 10:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-19 10:40:09] 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-07-19 10:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:40:09] 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-07-19 10:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816033792001,"66":27800,"97":206,"81":23296,"24":3,"16":352307216579035136,"45":3802445489011238912},"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-07-19 10:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816033792001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011238912,"description":"Unknown IO ID 45"} 
[2026-07-19 10:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816033792001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802445489011238912}} 
[2026-07-19 10:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":138865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:40:09] local.INFO: GPS data processed {"connection_id":138865,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:40:09] local.INFO: Acknowledgment sent {"connection_id":138865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:40:31] local.INFO: TCP Data received {"connection_id":136510,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:40:31] local.INFO: Processing buffer {"connection_id":136510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:40:31] local.INFO: IMEI packet received {"connection_id":136510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":136510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:40:37] local.INFO: TCP Data received {"connection_id":136510,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:40:37] local.INFO: Processing buffer {"connection_id":136510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:40:37] local.INFO: IMEI packet received {"connection_id":136510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":136510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:40:37] local.INFO: TCP Data received {"connection_id":136510,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:40:37] local.INFO: Processing buffer {"connection_id":136510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:40:37] local.INFO: Packet analysis {"connection_id":136510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78c5"} 
[2026-07-19 10:40:37] local.INFO: Extracted packet for processing {"connection_id":136510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78c5"} 
[2026-07-19 10:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111824104,"longitude_deg":75.8432896,"latitude_deg":11.1824104,"altitude":9,"angle":138,"satellites":40,"speed":3,"hex_longitude":"2d34c480","hex_latitude":"06aa4ce8","is_valid_coordinates":true} 
[2026-07-19 10:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816033792001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011238912,"note":"Value kept but may cause issues"} 
[2026-07-19 10:40: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-07-19 10:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784437634000,"timestamp_ms":1784437634000,"timestamp_seconds":1784437634,"priority":1,"record_length":96,"hex_timestamp":"0000019f78c573d0"} 
[2026-07-19 10:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-19 10:40: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-07-19 10:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816033792001,"66":27800,"97":206,"81":23296,"24":3,"16":352307216579035136,"45":3802445489011238912},"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-07-19 10:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816033792001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:40:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011238912,"description":"Unknown IO ID 45"} 
[2026-07-19 10:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816033792001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802445489011238912}} 
[2026-07-19 10:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":136510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:40:37] local.INFO: GPS data processed {"connection_id":136510,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:40:37] local.INFO: Acknowledgment sent {"connection_id":136510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:40:47] local.INFO: TCP Data received {"connection_id":137447,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:40:47] local.INFO: Processing buffer {"connection_id":137447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:40:47] local.INFO: IMEI packet received {"connection_id":137447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 10:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":137447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:41:10] local.INFO: TCP Data received {"connection_id":136510,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:41:10] local.INFO: Processing buffer {"connection_id":136510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:41:10] local.INFO: Packet analysis {"connection_id":136510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78c5"} 
[2026-07-19 10:41:10] local.INFO: Extracted packet for processing {"connection_id":136510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78c5"} 
[2026-07-19 10:41:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111824104,"longitude_deg":75.8432896,"latitude_deg":11.1824104,"altitude":9,"angle":138,"satellites":40,"speed":3,"hex_longitude":"2d34c480","hex_latitude":"06aa4ce8","is_valid_coordinates":true} 
[2026-07-19 10:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816033792001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011238912,"note":"Value kept but may cause issues"} 
[2026-07-19 10:41: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-07-19 10:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784437634000,"timestamp_ms":1784437634000,"timestamp_seconds":1784437634,"priority":1,"record_length":96,"hex_timestamp":"0000019f78c573d0"} 
[2026-07-19 10:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-19 10:41:10] 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-07-19 10:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:41:10] 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-07-19 10:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816033792001,"66":27800,"97":206,"81":23296,"24":3,"16":352307216579035136,"45":3802445489011238912},"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-07-19 10:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816033792001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:41:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:41:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011238912,"description":"Unknown IO ID 45"} 
[2026-07-19 10:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816033792001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802445489011238912}} 
[2026-07-19 10:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":136510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:41:10] local.INFO: GPS data processed {"connection_id":136510,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:41:10] local.INFO: Acknowledgment sent {"connection_id":136510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:41:28] local.INFO: TCP Data received {"connection_id":138866,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:41:28] local.INFO: Processing buffer {"connection_id":138866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:41:28] local.INFO: IMEI packet received {"connection_id":138866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 10:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":138866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:41:31] local.INFO: TCP Data received {"connection_id":137448,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:41:31] local.INFO: Processing buffer {"connection_id":137448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:41:31] local.INFO: IMEI packet received {"connection_id":137448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":137448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:41:37] local.INFO: TCP Data received {"connection_id":137448,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:41:37] local.INFO: Processing buffer {"connection_id":137448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:41:37] local.INFO: IMEI packet received {"connection_id":137448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":137448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:41:37] local.INFO: TCP Data received {"connection_id":137448,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:41:37] local.INFO: Processing buffer {"connection_id":137448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:41:37] local.INFO: Packet analysis {"connection_id":137448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78c5"} 
[2026-07-19 10:41:37] local.INFO: Extracted packet for processing {"connection_id":137448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78c5"} 
[2026-07-19 10:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111824104,"longitude_deg":75.8432896,"latitude_deg":11.1824104,"altitude":9,"angle":138,"satellites":40,"speed":3,"hex_longitude":"2d34c480","hex_latitude":"06aa4ce8","is_valid_coordinates":true} 
[2026-07-19 10:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816033792001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011238912,"note":"Value kept but may cause issues"} 
[2026-07-19 10:41: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-07-19 10:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784437634000,"timestamp_ms":1784437634000,"timestamp_seconds":1784437634,"priority":1,"record_length":96,"hex_timestamp":"0000019f78c573d0"} 
[2026-07-19 10:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-19 10:41: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-07-19 10:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816033792001,"66":27800,"97":206,"81":23296,"24":3,"16":352307216579035136,"45":3802445489011238912},"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-07-19 10:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816033792001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:41:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011238912,"description":"Unknown IO ID 45"} 
[2026-07-19 10:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816033792001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802445489011238912}} 
[2026-07-19 10:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":137448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:41:37] local.INFO: GPS data processed {"connection_id":137448,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:41:37] local.INFO: Acknowledgment sent {"connection_id":137448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:42:09] local.INFO: TCP Data received {"connection_id":137448,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:42:09] local.INFO: Processing buffer {"connection_id":137448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:42:09] local.INFO: Packet analysis {"connection_id":137448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78c5"} 
[2026-07-19 10:42:09] local.INFO: Extracted packet for processing {"connection_id":137448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78c5"} 
[2026-07-19 10:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111824104,"longitude_deg":75.8432896,"latitude_deg":11.1824104,"altitude":9,"angle":138,"satellites":40,"speed":3,"hex_longitude":"2d34c480","hex_latitude":"06aa4ce8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816033792001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011238912,"note":"Value kept but may cause issues"} 
[2026-07-19 10: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-07-19 10:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784437634000,"timestamp_ms":1784437634000,"timestamp_seconds":1784437634,"priority":1,"record_length":96,"hex_timestamp":"0000019f78c573d0"} 
[2026-07-19 10:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-19 10:42:09] 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-07-19 10: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-07-19 10:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:42: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-07-19 10:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816033792001,"66":27800,"97":206,"81":23296,"24":3,"16":352307216579035136,"45":3802445489011238912},"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-07-19 10:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816033792001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:42:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011238912,"description":"Unknown IO ID 45"} 
[2026-07-19 10:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816033792001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802445489011238912}} 
[2026-07-19 10:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":137448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:42:09] local.INFO: GPS data processed {"connection_id":137448,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:42:09] local.INFO: Acknowledgment sent {"connection_id":137448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:42:37] local.INFO: TCP Data received {"connection_id":136377,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:42:37] local.INFO: Processing buffer {"connection_id":136377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:42:37] local.INFO: IMEI packet received {"connection_id":136377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":136377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:42:42] local.INFO: TCP Data received {"connection_id":136377,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:42:42] local.INFO: Processing buffer {"connection_id":136377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:42:42] local.INFO: IMEI packet received {"connection_id":136377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":136377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:42:42] local.INFO: TCP Data received {"connection_id":136377,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:42:42] local.INFO: Processing buffer {"connection_id":136377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:42:42] local.INFO: Packet analysis {"connection_id":136377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78c5"} 
[2026-07-19 10:42:42] local.INFO: Extracted packet for processing {"connection_id":136377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78c5"} 
[2026-07-19 10:42:42] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111824104,"longitude_deg":75.8432896,"latitude_deg":11.1824104,"altitude":9,"angle":138,"satellites":40,"speed":3,"hex_longitude":"2d34c480","hex_latitude":"06aa4ce8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816033792001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011238912,"note":"Value kept but may cause issues"} 
[2026-07-19 10:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 10:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784437634000,"timestamp_ms":1784437634000,"timestamp_seconds":1784437634,"priority":1,"record_length":96,"hex_timestamp":"0000019f78c573d0"} 
[2026-07-19 10:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10: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":152,"data_length":795,"current_offset":136} 
[2026-07-19 10:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816033792001,"66":27800,"97":206,"81":23296,"24":3,"16":352307216579035136,"45":3802445489011238912},"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-07-19 10:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816033792001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:42:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:42:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011238912,"description":"Unknown IO ID 45"} 
[2026-07-19 10:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816033792001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802445489011238912}} 
[2026-07-19 10:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":136377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:42:42] local.INFO: GPS data processed {"connection_id":136377,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:42:42] local.INFO: Acknowledgment sent {"connection_id":136377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:42:48] local.INFO: TCP Data received {"connection_id":136377,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:42:48] local.INFO: Processing buffer {"connection_id":136377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78c573d0012d34c48006aa4ce80009008a28..."} 
[2026-07-19 10:42:48] local.INFO: Packet analysis {"connection_id":136377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78c5"} 
[2026-07-19 10:42:48] local.INFO: Extracted packet for processing {"connection_id":136377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78c5"} 
[2026-07-19 10:42:48] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111824104,"longitude_deg":75.8432896,"latitude_deg":11.1824104,"altitude":9,"angle":138,"satellites":40,"speed":3,"hex_longitude":"2d34c480","hex_latitude":"06aa4ce8","is_valid_coordinates":true} 
[2026-07-19 10:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816033792001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011238912,"note":"Value kept but may cause issues"} 
[2026-07-19 10:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 10:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784437634000,"timestamp_ms":1784437634000,"timestamp_seconds":1784437634,"priority":1,"record_length":96,"hex_timestamp":"0000019f78c573d0"} 
[2026-07-19 10:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-19 10:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":136377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":136377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":136377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:42:48] 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-07-19 10:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816033792001,"66":27800,"97":206,"81":23296,"24":3,"16":352307216579035136,"45":3802445489011238912},"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-07-19 10:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816033792001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:42:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:42:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011238912,"description":"Unknown IO ID 45"} 
[2026-07-19 10:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816033792001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802445489011238912}} 
[2026-07-19 10:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":136377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:42:48] local.INFO: GPS data processed {"connection_id":136377,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:42:48] local.INFO: Acknowledgment sent {"connection_id":136377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:43:32] local.INFO: TCP Data received {"connection_id":136512,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:43:32] local.INFO: Processing buffer {"connection_id":136512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:43:32] local.INFO: IMEI packet received {"connection_id":136512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":136512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:43:37] local.INFO: TCP Data received {"connection_id":136512,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:43:37] local.INFO: Processing buffer {"connection_id":136512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:43:37] local.INFO: IMEI packet received {"connection_id":136512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":136512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:43:37] local.INFO: TCP Data received {"connection_id":136512,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:43:37] local.INFO: Processing buffer {"connection_id":136512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:43:37] local.INFO: Packet analysis {"connection_id":136512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ca"} 
[2026-07-19 10:43:37] local.INFO: Extracted packet for processing {"connection_id":136512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ca"} 
[2026-07-19 10:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816034304001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522867200,"note":"Value kept but may cause issues"} 
[2026-07-19 10:43: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-07-19 10:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784437935000,"timestamp_ms":1784437935000,"timestamp_seconds":1784437935,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ca0b98"} 
[2026-07-19 10:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-19 10:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816034304001,"66":26419,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802304751522867200},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 10:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816034304001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:43:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522867200,"description":"Unknown IO ID 45"} 
[2026-07-19 10:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816034304001,"power":26419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522867200}} 
[2026-07-19 10:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":136512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:43:38] local.INFO: GPS data processed {"connection_id":136512,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:43:38] local.INFO: Acknowledgment sent {"connection_id":136512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:44:10] local.INFO: TCP Data received {"connection_id":136512,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:44:10] local.INFO: Processing buffer {"connection_id":136512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:44:10] local.INFO: Packet analysis {"connection_id":136512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ca"} 
[2026-07-19 10:44:10] local.INFO: Extracted packet for processing {"connection_id":136512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ca"} 
[2026-07-19 10:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816034304001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522867200,"note":"Value kept but may cause issues"} 
[2026-07-19 10:44: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-07-19 10:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784437935000,"timestamp_ms":1784437935000,"timestamp_seconds":1784437935,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ca0b98"} 
[2026-07-19 10:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-19 10:44:10] 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-07-19 10:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816034304001,"66":26419,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802304751522867200},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 10:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816034304001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:44:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522867200,"description":"Unknown IO ID 45"} 
[2026-07-19 10:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816034304001,"power":26419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522867200}} 
[2026-07-19 10:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":136512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:44:10] local.INFO: GPS data processed {"connection_id":136512,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:44:10] local.INFO: Acknowledgment sent {"connection_id":136512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:44:31] local.INFO: TCP Data received {"connection_id":138869,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:44:31] local.INFO: Processing buffer {"connection_id":138869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:44:31] local.INFO: IMEI packet received {"connection_id":138869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":138869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:44:37] local.INFO: TCP Data received {"connection_id":138869,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:44:37] local.INFO: Processing buffer {"connection_id":138869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:44:37] local.INFO: IMEI packet received {"connection_id":138869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":138869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:44:38] local.INFO: TCP Data received {"connection_id":138869,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:44:38] local.INFO: Processing buffer {"connection_id":138869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:44:38] local.INFO: Packet analysis {"connection_id":138869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ca"} 
[2026-07-19 10:44:38] local.INFO: Extracted packet for processing {"connection_id":138869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ca"} 
[2026-07-19 10:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816034304001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522867200,"note":"Value kept but may cause issues"} 
[2026-07-19 10:44: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-07-19 10:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784437935000,"timestamp_ms":1784437935000,"timestamp_seconds":1784437935,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ca0b98"} 
[2026-07-19 10:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-19 10:44: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-07-19 10:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816034304001,"66":26419,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802304751522867200},"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-07-19 10:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816034304001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:44:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522867200,"description":"Unknown IO ID 45"} 
[2026-07-19 10:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816034304001,"power":26419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522867200}} 
[2026-07-19 10:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":138869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:44:38] local.INFO: GPS data processed {"connection_id":138869,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:44:38] local.INFO: Acknowledgment sent {"connection_id":138869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:45:10] local.INFO: TCP Data received {"connection_id":138869,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:45:10] local.INFO: Processing buffer {"connection_id":138869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:45:10] local.INFO: Packet analysis {"connection_id":138869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ca"} 
[2026-07-19 10:45:10] local.INFO: Extracted packet for processing {"connection_id":138869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ca"} 
[2026-07-19 10:45:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816034304001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522867200,"note":"Value kept but may cause issues"} 
[2026-07-19 10:45: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-07-19 10:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784437935000,"timestamp_ms":1784437935000,"timestamp_seconds":1784437935,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ca0b98"} 
[2026-07-19 10:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-19 10:45:10] 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-07-19 10:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:45:10] 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-07-19 10:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816034304001,"66":26419,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802304751522867200},"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-07-19 10:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816034304001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:45:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:45:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522867200,"description":"Unknown IO ID 45"} 
[2026-07-19 10:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816034304001,"power":26419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522867200}} 
[2026-07-19 10:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":138869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:45:10] local.INFO: GPS data processed {"connection_id":138869,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:45:10] local.INFO: Acknowledgment sent {"connection_id":138869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:45:31] local.INFO: TCP Data received {"connection_id":136378,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:45:31] local.INFO: Processing buffer {"connection_id":136378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:45:31] local.INFO: IMEI packet received {"connection_id":136378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":136378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:45:37] local.INFO: TCP Data received {"connection_id":136378,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:45:37] local.INFO: Processing buffer {"connection_id":136378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:45:37] local.INFO: IMEI packet received {"connection_id":136378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":136378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:45:37] local.INFO: TCP Data received {"connection_id":136378,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:45:37] local.INFO: Processing buffer {"connection_id":136378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:45:37] local.INFO: Packet analysis {"connection_id":136378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ca"} 
[2026-07-19 10:45:37] local.INFO: Extracted packet for processing {"connection_id":136378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ca"} 
[2026-07-19 10:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816034304001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522867200,"note":"Value kept but may cause issues"} 
[2026-07-19 10:45: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-07-19 10:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784437935000,"timestamp_ms":1784437935000,"timestamp_seconds":1784437935,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ca0b98"} 
[2026-07-19 10:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-19 10:45: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-07-19 10:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816034304001,"66":26419,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802304751522867200},"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-07-19 10:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816034304001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:45:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522867200,"description":"Unknown IO ID 45"} 
[2026-07-19 10:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816034304001,"power":26419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522867200}} 
[2026-07-19 10:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":136378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:45:38] local.INFO: GPS data processed {"connection_id":136378,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:45:38] local.INFO: Acknowledgment sent {"connection_id":136378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:46:09] local.INFO: TCP Data received {"connection_id":136378,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:46:09] local.INFO: Processing buffer {"connection_id":136378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:46:09] local.INFO: Packet analysis {"connection_id":136378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ca"} 
[2026-07-19 10:46:09] local.INFO: Extracted packet for processing {"connection_id":136378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ca"} 
[2026-07-19 10:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816034304001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522867200,"note":"Value kept but may cause issues"} 
[2026-07-19 10:46: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-07-19 10:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784437935000,"timestamp_ms":1784437935000,"timestamp_seconds":1784437935,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ca0b98"} 
[2026-07-19 10:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10: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":152,"data_length":795,"current_offset":136} 
[2026-07-19 10:46:09] 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-07-19 10: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-07-19 10:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:46: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-07-19 10:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816034304001,"66":26419,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802304751522867200},"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-07-19 10:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816034304001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:46:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522867200,"description":"Unknown IO ID 45"} 
[2026-07-19 10:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816034304001,"power":26419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522867200}} 
[2026-07-19 10:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":136378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:46:09] local.INFO: GPS data processed {"connection_id":136378,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:46:09] local.INFO: Acknowledgment sent {"connection_id":136378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:46:31] local.INFO: TCP Data received {"connection_id":136379,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:46:31] local.INFO: Processing buffer {"connection_id":136379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:46:31] local.INFO: IMEI packet received {"connection_id":136379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":136379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:46:37] local.INFO: TCP Data received {"connection_id":136379,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:46:37] local.INFO: Processing buffer {"connection_id":136379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:46:37] local.INFO: IMEI packet received {"connection_id":136379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":136379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:46:38] local.INFO: TCP Data received {"connection_id":136379,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:46:38] local.INFO: Processing buffer {"connection_id":136379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:46:38] local.INFO: Packet analysis {"connection_id":136379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ca"} 
[2026-07-19 10:46:38] local.INFO: Extracted packet for processing {"connection_id":136379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ca"} 
[2026-07-19 10:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816034304001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522867200,"note":"Value kept but may cause issues"} 
[2026-07-19 10:46: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-07-19 10:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784437935000,"timestamp_ms":1784437935000,"timestamp_seconds":1784437935,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ca0b98"} 
[2026-07-19 10:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-19 10:46: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-07-19 10:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:46:38] 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-07-19 10:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816034304001,"66":26419,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802304751522867200},"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-07-19 10:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816034304001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:46:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:46:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522867200,"description":"Unknown IO ID 45"} 
[2026-07-19 10:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816034304001,"power":26419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522867200}} 
[2026-07-19 10:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":136379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:46:38] local.INFO: GPS data processed {"connection_id":136379,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:46:38] local.INFO: Acknowledgment sent {"connection_id":136379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:46:47] local.INFO: TCP Data received {"connection_id":136514,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:46:47] local.INFO: Processing buffer {"connection_id":136514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:46:47] local.INFO: IMEI packet received {"connection_id":136514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 10:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":136514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:47:10] local.INFO: TCP Data received {"connection_id":136379,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:47:10] local.INFO: Processing buffer {"connection_id":136379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:47:10] local.INFO: Packet analysis {"connection_id":136379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ca"} 
[2026-07-19 10:47:10] local.INFO: Extracted packet for processing {"connection_id":136379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ca"} 
[2026-07-19 10:47:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10:47: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-07-19 10:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816034304001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522867200,"note":"Value kept but may cause issues"} 
[2026-07-19 10:47: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-07-19 10:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784437935000,"timestamp_ms":1784437935000,"timestamp_seconds":1784437935,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ca0b98"} 
[2026-07-19 10:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:47: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":152,"data_length":795,"current_offset":136} 
[2026-07-19 10:47:10] 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-07-19 10:47: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-07-19 10:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:47:10] 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-07-19 10:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816034304001,"66":26419,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802304751522867200},"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-07-19 10:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816034304001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:47:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:47:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522867200,"description":"Unknown IO ID 45"} 
[2026-07-19 10:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816034304001,"power":26419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522867200}} 
[2026-07-19 10:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":136379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:47:10] local.INFO: GPS data processed {"connection_id":136379,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:47:10] local.INFO: Acknowledgment sent {"connection_id":136379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:47:27] local.INFO: TCP Data received {"connection_id":136515,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136515,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:47:27] local.INFO: Processing buffer {"connection_id":136515,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:47:27] local.INFO: IMEI packet received {"connection_id":136515,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 10:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":136515,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:47:37] local.INFO: TCP Data received {"connection_id":137449,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:47:37] local.INFO: Processing buffer {"connection_id":137449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:47:37] local.INFO: IMEI packet received {"connection_id":137449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":137449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:47:42] local.INFO: TCP Data received {"connection_id":137449,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:47:42] local.INFO: Processing buffer {"connection_id":137449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:47:42] local.INFO: IMEI packet received {"connection_id":137449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":137449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:47:42] local.INFO: TCP Data received {"connection_id":137449,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:47:42] local.INFO: Processing buffer {"connection_id":137449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:47:42] local.INFO: Packet analysis {"connection_id":137449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ca"} 
[2026-07-19 10:47:42] local.INFO: Extracted packet for processing {"connection_id":137449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ca"} 
[2026-07-19 10:47:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816034304001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522867200,"note":"Value kept but may cause issues"} 
[2026-07-19 10:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 10:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784437935000,"timestamp_ms":1784437935000,"timestamp_seconds":1784437935,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ca0b98"} 
[2026-07-19 10:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-19 10:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816034304001,"66":26419,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802304751522867200},"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-07-19 10:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816034304001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:47:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:47:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522867200,"description":"Unknown IO ID 45"} 
[2026-07-19 10:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816034304001,"power":26419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522867200}} 
[2026-07-19 10:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":137449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:47:43] local.INFO: GPS data processed {"connection_id":137449,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:47:43] local.INFO: Acknowledgment sent {"connection_id":137449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:47:47] local.INFO: TCP Data received {"connection_id":137449,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:47:47] local.INFO: Processing buffer {"connection_id":137449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ca0b98012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:47:47] local.INFO: Packet analysis {"connection_id":137449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ca"} 
[2026-07-19 10:47:47] local.INFO: Extracted packet for processing {"connection_id":137449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ca"} 
[2026-07-19 10:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816034304001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522867200,"note":"Value kept but may cause issues"} 
[2026-07-19 10:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 10:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784437935000,"timestamp_ms":1784437935000,"timestamp_seconds":1784437935,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ca0b98"} 
[2026-07-19 10:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-19 10:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":137449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":137449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":137449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816034304001,"66":26419,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802304751522867200},"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-07-19 10:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816034304001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:47:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:47:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522867200,"description":"Unknown IO ID 45"} 
[2026-07-19 10:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816034304001,"power":26419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522867200}} 
[2026-07-19 10:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":137449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:47:47] local.INFO: GPS data processed {"connection_id":137449,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:47:47] local.INFO: Acknowledgment sent {"connection_id":137449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:48:32] local.INFO: TCP Data received {"connection_id":138870,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:48:32] local.INFO: Processing buffer {"connection_id":138870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:48:32] local.INFO: IMEI packet received {"connection_id":138870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":138870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:48:37] local.INFO: TCP Data received {"connection_id":138870,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:48:37] local.INFO: Processing buffer {"connection_id":138870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:48:37] local.INFO: IMEI packet received {"connection_id":138870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":138870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:48:38] local.INFO: TCP Data received {"connection_id":138870,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:48:38] local.INFO: Processing buffer {"connection_id":138870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:48:38] local.INFO: Packet analysis {"connection_id":138870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ce"} 
[2026-07-19 10:48:38] local.INFO: Extracted packet for processing {"connection_id":138870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ce"} 
[2026-07-19 10:48:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816111360001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 10:48: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-07-19 10:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784438236000,"timestamp_ms":1784438236000,"timestamp_seconds":1784438236,"priority":1,"record_length":96,"hex_timestamp":"0000019f78cea360"} 
[2026-07-19 10:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 10:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:48: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-07-19 10:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816111360001,"66":26136,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 10:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816111360001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:48:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:48:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 10:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816111360001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 10:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":138870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:48:38] local.INFO: GPS data processed {"connection_id":138870,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:48:38] local.INFO: Acknowledgment sent {"connection_id":138870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:49:09] local.INFO: TCP Data received {"connection_id":138870,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:49:09] local.INFO: Processing buffer {"connection_id":138870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:49:09] local.INFO: Packet analysis {"connection_id":138870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ce"} 
[2026-07-19 10:49:09] local.INFO: Extracted packet for processing {"connection_id":138870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ce"} 
[2026-07-19 10:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816111360001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 10:49: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-07-19 10:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784438236000,"timestamp_ms":1784438236000,"timestamp_seconds":1784438236,"priority":1,"record_length":96,"hex_timestamp":"0000019f78cea360"} 
[2026-07-19 10:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 10:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:49: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-07-19 10:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816111360001,"66":26136,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 10:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816111360001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:49:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 10:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816111360001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 10:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":138870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:49:09] local.INFO: GPS data processed {"connection_id":138870,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:49:09] local.INFO: Acknowledgment sent {"connection_id":138870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:49:31] local.INFO: TCP Data received {"connection_id":136518,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:49:31] local.INFO: Processing buffer {"connection_id":136518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:49:31] local.INFO: IMEI packet received {"connection_id":136518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":136518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:49:37] local.INFO: TCP Data received {"connection_id":136518,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:49:37] local.INFO: Processing buffer {"connection_id":136518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:49:37] local.INFO: IMEI packet received {"connection_id":136518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":136518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:49:37] local.INFO: TCP Data received {"connection_id":136518,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:49:37] local.INFO: Processing buffer {"connection_id":136518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:49:37] local.INFO: Packet analysis {"connection_id":136518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ce"} 
[2026-07-19 10:49:37] local.INFO: Extracted packet for processing {"connection_id":136518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ce"} 
[2026-07-19 10:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816111360001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 10:49: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-07-19 10:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784438236000,"timestamp_ms":1784438236000,"timestamp_seconds":1784438236,"priority":1,"record_length":96,"hex_timestamp":"0000019f78cea360"} 
[2026-07-19 10:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 10:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:49:37] 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-07-19 10:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816111360001,"66":26136,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 10:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816111360001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:49:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 10:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816111360001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 10:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":136518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:49:37] local.INFO: GPS data processed {"connection_id":136518,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:49:37] local.INFO: Acknowledgment sent {"connection_id":136518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:50:09] local.INFO: TCP Data received {"connection_id":136518,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:50:09] local.INFO: Processing buffer {"connection_id":136518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:50:09] local.INFO: Packet analysis {"connection_id":136518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ce"} 
[2026-07-19 10:50:09] local.INFO: Extracted packet for processing {"connection_id":136518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ce"} 
[2026-07-19 10:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816111360001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 10:50: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-07-19 10:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784438236000,"timestamp_ms":1784438236000,"timestamp_seconds":1784438236,"priority":1,"record_length":96,"hex_timestamp":"0000019f78cea360"} 
[2026-07-19 10:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 10:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10: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-07-19 10:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:50:09] 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-07-19 10:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816111360001,"66":26136,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 10:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816111360001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:50:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 10:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816111360001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 10:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":136518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:50:09] local.INFO: GPS data processed {"connection_id":136518,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:50:09] local.INFO: Acknowledgment sent {"connection_id":136518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:50:31] local.INFO: TCP Data received {"connection_id":137450,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:50:32] local.INFO: Processing buffer {"connection_id":137450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:50:32] local.INFO: IMEI packet received {"connection_id":137450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":137450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:50:37] local.INFO: TCP Data received {"connection_id":137450,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:50:37] local.INFO: Processing buffer {"connection_id":137450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:50:37] local.INFO: IMEI packet received {"connection_id":137450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":137450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:50:37] local.INFO: TCP Data received {"connection_id":137450,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:50:37] local.INFO: Processing buffer {"connection_id":137450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:50:37] local.INFO: Packet analysis {"connection_id":137450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ce"} 
[2026-07-19 10:50:37] local.INFO: Extracted packet for processing {"connection_id":137450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ce"} 
[2026-07-19 10:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816111360001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 10:50: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-07-19 10:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784438236000,"timestamp_ms":1784438236000,"timestamp_seconds":1784438236,"priority":1,"record_length":96,"hex_timestamp":"0000019f78cea360"} 
[2026-07-19 10:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 10:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816111360001,"66":26136,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 10:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816111360001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 10:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816111360001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 10:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":137450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:50:37] local.INFO: GPS data processed {"connection_id":137450,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:50:37] local.INFO: Acknowledgment sent {"connection_id":137450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:51:09] local.INFO: TCP Data received {"connection_id":137450,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:51:09] local.INFO: Processing buffer {"connection_id":137450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:51:09] local.INFO: Packet analysis {"connection_id":137450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ce"} 
[2026-07-19 10:51:09] local.INFO: Extracted packet for processing {"connection_id":137450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ce"} 
[2026-07-19 10:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816111360001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 10:51: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-07-19 10:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784438236000,"timestamp_ms":1784438236000,"timestamp_seconds":1784438236,"priority":1,"record_length":96,"hex_timestamp":"0000019f78cea360"} 
[2026-07-19 10:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 10:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:51: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-07-19 10:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816111360001,"66":26136,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 10:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816111360001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:51:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 10:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816111360001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 10:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":137450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:51:09] local.INFO: GPS data processed {"connection_id":137450,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:51:09] local.INFO: Acknowledgment sent {"connection_id":137450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:51:31] local.INFO: TCP Data received {"connection_id":138872,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:51:31] local.INFO: Processing buffer {"connection_id":138872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:51:31] local.INFO: IMEI packet received {"connection_id":138872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":138872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:51:37] local.INFO: TCP Data received {"connection_id":138872,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:51:37] local.INFO: Processing buffer {"connection_id":138872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:51:37] local.INFO: IMEI packet received {"connection_id":138872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":138872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:51:37] local.INFO: TCP Data received {"connection_id":138872,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:51:37] local.INFO: Processing buffer {"connection_id":138872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:51:37] local.INFO: Packet analysis {"connection_id":138872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ce"} 
[2026-07-19 10:51:37] local.INFO: Extracted packet for processing {"connection_id":138872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ce"} 
[2026-07-19 10:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816111360001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 10:51: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-07-19 10:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784438236000,"timestamp_ms":1784438236000,"timestamp_seconds":1784438236,"priority":1,"record_length":96,"hex_timestamp":"0000019f78cea360"} 
[2026-07-19 10:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 10:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:51: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-07-19 10:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816111360001,"66":26136,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 10:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816111360001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:51:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 10:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816111360001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 10:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":138872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:51:37] local.INFO: GPS data processed {"connection_id":138872,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:51:37] local.INFO: Acknowledgment sent {"connection_id":138872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:52:09] local.INFO: TCP Data received {"connection_id":138872,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:52:09] local.INFO: Processing buffer {"connection_id":138872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:52:09] local.INFO: Packet analysis {"connection_id":138872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ce"} 
[2026-07-19 10:52:09] local.INFO: Extracted packet for processing {"connection_id":138872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ce"} 
[2026-07-19 10:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816111360001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 10:52: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-07-19 10:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784438236000,"timestamp_ms":1784438236000,"timestamp_seconds":1784438236,"priority":1,"record_length":96,"hex_timestamp":"0000019f78cea360"} 
[2026-07-19 10:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 10:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:52: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-07-19 10:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816111360001,"66":26136,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 10:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816111360001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:52:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 10:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816111360001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 10:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":138872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:52:09] local.INFO: GPS data processed {"connection_id":138872,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:52:09] local.INFO: Acknowledgment sent {"connection_id":138872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:52:36] local.INFO: TCP Data received {"connection_id":137451,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:52:36] local.INFO: Processing buffer {"connection_id":137451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:52:36] local.INFO: IMEI packet received {"connection_id":137451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":137451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:52:41] local.INFO: TCP Data received {"connection_id":137451,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:52:41] local.INFO: Processing buffer {"connection_id":137451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:52:41] local.INFO: IMEI packet received {"connection_id":137451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":137451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:52:42] local.INFO: TCP Data received {"connection_id":137451,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:52:42] local.INFO: Processing buffer {"connection_id":137451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:52:42] local.INFO: Packet analysis {"connection_id":137451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ce"} 
[2026-07-19 10:52:42] local.INFO: Extracted packet for processing {"connection_id":137451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ce"} 
[2026-07-19 10:52:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816111360001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 10:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 10:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784438236000,"timestamp_ms":1784438236000,"timestamp_seconds":1784438236,"priority":1,"record_length":96,"hex_timestamp":"0000019f78cea360"} 
[2026-07-19 10:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 10:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816111360001,"66":26136,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 10:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816111360001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:52:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:52:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 10:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816111360001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 10:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":137451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:52:42] local.INFO: GPS data processed {"connection_id":137451,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:52:42] local.INFO: Acknowledgment sent {"connection_id":137451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:52:47] local.INFO: TCP Data received {"connection_id":137451,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:52:47] local.INFO: Processing buffer {"connection_id":137451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78cea360012d34c50006aa4dd8000800952c..."} 
[2026-07-19 10:52:47] local.INFO: Packet analysis {"connection_id":137451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ce"} 
[2026-07-19 10:52:47] local.INFO: Extracted packet for processing {"connection_id":137451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ce"} 
[2026-07-19 10:52:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816111360001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 10:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 10:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784438236000,"timestamp_ms":1784438236000,"timestamp_seconds":1784438236,"priority":1,"record_length":96,"hex_timestamp":"0000019f78cea360"} 
[2026-07-19 10:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 10:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 10:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":137451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":137451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":137451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816111360001,"66":26136,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 10:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816111360001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:52:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:52:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 10:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816111360001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 10:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":137451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:52:47] local.INFO: GPS data processed {"connection_id":137451,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:52:47] local.INFO: Acknowledgment sent {"connection_id":137451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:52:52] local.INFO: TCP Data received {"connection_id":136520,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:52:52] local.INFO: Processing buffer {"connection_id":136520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:52:52] local.INFO: IMEI packet received {"connection_id":136520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 10:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":136520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:53:27] local.INFO: TCP Data received {"connection_id":138873,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:53:27] local.INFO: Processing buffer {"connection_id":138873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:53:27] local.INFO: IMEI packet received {"connection_id":138873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 10:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":138873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:53:31] local.INFO: TCP Data received {"connection_id":136380,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:53:31] local.INFO: Processing buffer {"connection_id":136380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:53:31] local.INFO: IMEI packet received {"connection_id":136380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":136380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:53:36] local.INFO: TCP Data received {"connection_id":136380,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:53:36] local.INFO: Processing buffer {"connection_id":136380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:53:36] local.INFO: IMEI packet received {"connection_id":136380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":136380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:53:38] local.INFO: TCP Data received {"connection_id":136380,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:53:38] local.INFO: Processing buffer {"connection_id":136380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:53:38] local.INFO: Packet analysis {"connection_id":136380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78d3"} 
[2026-07-19 10:53:38] local.INFO: Extracted packet for processing {"connection_id":136380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78d3"} 
[2026-07-19 10:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816188416001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 10:53: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-07-19 10:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784438537000,"timestamp_ms":1784438537000,"timestamp_seconds":1784438537,"priority":1,"record_length":96,"hex_timestamp":"0000019f78d33b28"} 
[2026-07-19 10:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-19 10:53:38] 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-07-19 10: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-07-19 10:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816188416001,"66":25973,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 10:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816188416001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 10:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816188416001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 10:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":136380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:53:38] local.INFO: GPS data processed {"connection_id":136380,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:53:38] local.INFO: Acknowledgment sent {"connection_id":136380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:54:11] local.INFO: TCP Data received {"connection_id":136380,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:54:11] local.INFO: Processing buffer {"connection_id":136380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:54:11] local.INFO: Packet analysis {"connection_id":136380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78d3"} 
[2026-07-19 10:54:11] local.INFO: Extracted packet for processing {"connection_id":136380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78d3"} 
[2026-07-19 10:54:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816188416001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 10:54: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-07-19 10:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784438537000,"timestamp_ms":1784438537000,"timestamp_seconds":1784438537,"priority":1,"record_length":96,"hex_timestamp":"0000019f78d33b28"} 
[2026-07-19 10:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-19 10:54:11] 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-07-19 10: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-07-19 10:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":136380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":136380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":136380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816188416001,"66":25973,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 10:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816188416001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:54:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:54:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 10:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816188416001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 10:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":136380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:54:11] local.INFO: GPS data processed {"connection_id":136380,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:54:11] local.INFO: Acknowledgment sent {"connection_id":136380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:54:31] local.INFO: TCP Data received {"connection_id":137453,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:54:31] local.INFO: Processing buffer {"connection_id":137453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:54:31] local.INFO: IMEI packet received {"connection_id":137453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":137453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:54:36] local.INFO: TCP Data received {"connection_id":137453,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:54:36] local.INFO: Processing buffer {"connection_id":137453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:54:36] local.INFO: IMEI packet received {"connection_id":137453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":137453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:54:38] local.INFO: TCP Data received {"connection_id":137453,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:54:38] local.INFO: Processing buffer {"connection_id":137453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:54:38] local.INFO: Packet analysis {"connection_id":137453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78d3"} 
[2026-07-19 10:54:38] local.INFO: Extracted packet for processing {"connection_id":137453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78d3"} 
[2026-07-19 10:54:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816188416001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 10:54: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-07-19 10:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784438537000,"timestamp_ms":1784438537000,"timestamp_seconds":1784438537,"priority":1,"record_length":96,"hex_timestamp":"0000019f78d33b28"} 
[2026-07-19 10:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-19 10:54:38] 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-07-19 10: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-07-19 10:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:54: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-07-19 10:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816188416001,"66":25973,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 10:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816188416001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:54:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 10:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816188416001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 10:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":137453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:54:38] local.INFO: GPS data processed {"connection_id":137453,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:54:38] local.INFO: Acknowledgment sent {"connection_id":137453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:55:09] local.INFO: TCP Data received {"connection_id":137453,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:55:09] local.INFO: Processing buffer {"connection_id":137453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:55:09] local.INFO: Packet analysis {"connection_id":137453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78d3"} 
[2026-07-19 10:55:09] local.INFO: Extracted packet for processing {"connection_id":137453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78d3"} 
[2026-07-19 10:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816188416001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 10:55: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-07-19 10:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784438537000,"timestamp_ms":1784438537000,"timestamp_seconds":1784438537,"priority":1,"record_length":96,"hex_timestamp":"0000019f78d33b28"} 
[2026-07-19 10:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-19 10:55:09] 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-07-19 10: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-07-19 10:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:55: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-07-19 10:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816188416001,"66":25973,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 10:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816188416001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:55:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:55:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 10:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816188416001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 10:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":137453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:55:09] local.INFO: GPS data processed {"connection_id":137453,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:55:09] local.INFO: Acknowledgment sent {"connection_id":137453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:55:31] local.INFO: TCP Data received {"connection_id":136382,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:55:31] local.INFO: Processing buffer {"connection_id":136382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:55:31] local.INFO: IMEI packet received {"connection_id":136382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":136382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:55:37] local.INFO: TCP Data received {"connection_id":136382,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:55:37] local.INFO: Processing buffer {"connection_id":136382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:55:37] local.INFO: IMEI packet received {"connection_id":136382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":136382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:55:38] local.INFO: TCP Data received {"connection_id":136382,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:55:38] local.INFO: Processing buffer {"connection_id":136382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:55:38] local.INFO: Packet analysis {"connection_id":136382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78d3"} 
[2026-07-19 10:55:38] local.INFO: Extracted packet for processing {"connection_id":136382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78d3"} 
[2026-07-19 10:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816188416001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 10:55: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-07-19 10:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784438537000,"timestamp_ms":1784438537000,"timestamp_seconds":1784438537,"priority":1,"record_length":96,"hex_timestamp":"0000019f78d33b28"} 
[2026-07-19 10:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-19 10:55:38] 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-07-19 10:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:55: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-07-19 10:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816188416001,"66":25973,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 10:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816188416001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:55:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 10:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816188416001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 10:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":136382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:55:38] local.INFO: GPS data processed {"connection_id":136382,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:55:38] local.INFO: Acknowledgment sent {"connection_id":136382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:56:09] local.INFO: TCP Data received {"connection_id":136382,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:56:09] local.INFO: Processing buffer {"connection_id":136382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:56:09] local.INFO: Packet analysis {"connection_id":136382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78d3"} 
[2026-07-19 10:56:09] local.INFO: Extracted packet for processing {"connection_id":136382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78d3"} 
[2026-07-19 10:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816188416001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 10:56: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-07-19 10:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784438537000,"timestamp_ms":1784438537000,"timestamp_seconds":1784438537,"priority":1,"record_length":96,"hex_timestamp":"0000019f78d33b28"} 
[2026-07-19 10:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-19 10:56:09] 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-07-19 10: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-07-19 10:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:56: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-07-19 10:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816188416001,"66":25973,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 10:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816188416001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 10:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816188416001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 10:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":136382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:56:09] local.INFO: GPS data processed {"connection_id":136382,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:56:09] local.INFO: Acknowledgment sent {"connection_id":136382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:56:31] local.INFO: TCP Data received {"connection_id":137455,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:56:31] local.INFO: Processing buffer {"connection_id":137455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:56:31] local.INFO: IMEI packet received {"connection_id":137455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":137455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:56:36] local.INFO: TCP Data received {"connection_id":137455,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:56:36] local.INFO: Processing buffer {"connection_id":137455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:56:36] local.INFO: IMEI packet received {"connection_id":137455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":137455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:56:38] local.INFO: TCP Data received {"connection_id":137455,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:56:38] local.INFO: Processing buffer {"connection_id":137455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:56:38] local.INFO: Packet analysis {"connection_id":137455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78d3"} 
[2026-07-19 10:56:38] local.INFO: Extracted packet for processing {"connection_id":137455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78d3"} 
[2026-07-19 10:56:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816188416001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 10: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-07-19 10:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784438537000,"timestamp_ms":1784438537000,"timestamp_seconds":1784438537,"priority":1,"record_length":96,"hex_timestamp":"0000019f78d33b28"} 
[2026-07-19 10:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-19 10:56:38] 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-07-19 10:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10: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-07-19 10:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816188416001,"66":25973,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 10:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816188416001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:56:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:56:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 10:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816188416001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 10:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":137455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:56:38] local.INFO: GPS data processed {"connection_id":137455,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:56:38] local.INFO: Acknowledgment sent {"connection_id":137455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:57:09] local.INFO: TCP Data received {"connection_id":137455,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:57:09] local.INFO: Processing buffer {"connection_id":137455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:57:09] local.INFO: Packet analysis {"connection_id":137455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78d3"} 
[2026-07-19 10:57:09] local.INFO: Extracted packet for processing {"connection_id":137455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78d3"} 
[2026-07-19 10:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816188416001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 10:57: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-07-19 10:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784438537000,"timestamp_ms":1784438537000,"timestamp_seconds":1784438537,"priority":1,"record_length":96,"hex_timestamp":"0000019f78d33b28"} 
[2026-07-19 10:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-19 10:57:09] 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-07-19 10:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:57: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-07-19 10:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816188416001,"66":25973,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 10:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816188416001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:57:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 10:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816188416001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 10:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":137455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:57:09] local.INFO: GPS data processed {"connection_id":137455,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:57:09] local.INFO: Acknowledgment sent {"connection_id":137455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:57:31] local.INFO: TCP Data received {"connection_id":138874,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:57:31] local.INFO: Processing buffer {"connection_id":138874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:57:31] local.INFO: IMEI packet received {"connection_id":138874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":138874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:57:36] local.INFO: TCP Data received {"connection_id":138874,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:57:36] local.INFO: Processing buffer {"connection_id":138874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:57:36] local.INFO: IMEI packet received {"connection_id":138874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":138874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:57:37] local.INFO: TCP Data received {"connection_id":138874,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:57:37] local.INFO: Processing buffer {"connection_id":138874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78d33b28012d34c50006aa4dd80008009528..."} 
[2026-07-19 10:57:37] local.INFO: Packet analysis {"connection_id":138874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78d3"} 
[2026-07-19 10:57:37] local.INFO: Extracted packet for processing {"connection_id":138874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78d3"} 
[2026-07-19 10:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816188416001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 10:57: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-07-19 10:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784438537000,"timestamp_ms":1784438537000,"timestamp_seconds":1784438537,"priority":1,"record_length":96,"hex_timestamp":"0000019f78d33b28"} 
[2026-07-19 10:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-19 10:57:37] 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-07-19 10:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816188416001,"66":25973,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 10:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816188416001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:57:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 10:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816188416001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 10:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":138874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:57:37] local.INFO: GPS data processed {"connection_id":138874,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:57:37] local.INFO: Acknowledgment sent {"connection_id":138874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:58:10] local.INFO: TCP Data received {"connection_id":138874,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:58:10] local.INFO: Processing buffer {"connection_id":138874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:58:10] local.INFO: Packet analysis {"connection_id":138874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78d7"} 
[2026-07-19 10:58:10] local.INFO: Extracted packet for processing {"connection_id":138874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78d7"} 
[2026-07-19 10:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816265472001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 10:58: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-07-19 10:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784438838000,"timestamp_ms":1784438838000,"timestamp_seconds":1784438838,"priority":1,"record_length":96,"hex_timestamp":"0000019f78d7d2f0"} 
[2026-07-19 10:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-19 10:58:10] 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-07-19 10:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816265472001,"66":25908,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 10:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816265472001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:58:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 10:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816265472001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 10:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":138874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:58:10] local.INFO: GPS data processed {"connection_id":138874,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:58:10] local.INFO: Acknowledgment sent {"connection_id":138874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:58:31] local.INFO: TCP Data received {"connection_id":136383,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:58:31] local.INFO: Processing buffer {"connection_id":136383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:58:31] local.INFO: IMEI packet received {"connection_id":136383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":136383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:58:37] local.INFO: TCP Data received {"connection_id":136383,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:58:37] local.INFO: Processing buffer {"connection_id":136383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:58:37] local.INFO: IMEI packet received {"connection_id":136383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":136383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:58:38] local.INFO: TCP Data received {"connection_id":136383,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:58:38] local.INFO: Processing buffer {"connection_id":136383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:58:38] local.INFO: Packet analysis {"connection_id":136383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78d7"} 
[2026-07-19 10:58:38] local.INFO: Extracted packet for processing {"connection_id":136383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78d7"} 
[2026-07-19 10:58:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816265472001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 10:58: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-07-19 10:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784438838000,"timestamp_ms":1784438838000,"timestamp_seconds":1784438838,"priority":1,"record_length":96,"hex_timestamp":"0000019f78d7d2f0"} 
[2026-07-19 10:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-19 10:58:38] 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-07-19 10:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:58: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-07-19 10:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816265472001,"66":25908,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 10:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816265472001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 10:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816265472001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 10:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":136383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:58:38] local.INFO: GPS data processed {"connection_id":136383,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:58:38] local.INFO: Acknowledgment sent {"connection_id":136383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:58:52] local.INFO: TCP Data received {"connection_id":136384,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:58:52] local.INFO: Processing buffer {"connection_id":136384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:58:52] local.INFO: IMEI packet received {"connection_id":136384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 10:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":136384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:59:11] local.INFO: TCP Data received {"connection_id":136383,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:59:11] local.INFO: Processing buffer {"connection_id":136383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:59:11] local.INFO: Packet analysis {"connection_id":136383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78d7"} 
[2026-07-19 10:59:11] local.INFO: Extracted packet for processing {"connection_id":136383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78d7"} 
[2026-07-19 10:59:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10: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-07-19 10:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816265472001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 10:59: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-07-19 10:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784438838000,"timestamp_ms":1784438838000,"timestamp_seconds":1784438838,"priority":1,"record_length":96,"hex_timestamp":"0000019f78d7d2f0"} 
[2026-07-19 10:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-19 10:59:11] 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-07-19 10: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-07-19 10:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":136383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":136383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":136383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 10:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816265472001,"66":25908,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 10:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816265472001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:59:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:59:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 10:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816265472001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 10:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":136383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:59:11] local.INFO: GPS data processed {"connection_id":136383,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:59:11] local.INFO: Acknowledgment sent {"connection_id":136383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 10:59:28] local.INFO: TCP Data received {"connection_id":138875,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:59:28] local.INFO: Processing buffer {"connection_id":138875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 10:59:28] local.INFO: IMEI packet received {"connection_id":138875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 10:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":138875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:59:32] local.INFO: TCP Data received {"connection_id":136521,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:59:32] local.INFO: Processing buffer {"connection_id":136521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:59:32] local.INFO: IMEI packet received {"connection_id":136521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 10:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":136521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 10:59:36] local.INFO: TCP Data received {"connection_id":136521,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:59:36] local.INFO: Processing buffer {"connection_id":136521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 10:59:36] local.INFO: IMEI packet received {"connection_id":136521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 10:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":136521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 10:59:37] local.INFO: TCP Data received {"connection_id":136521,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:59:37] local.INFO: Processing buffer {"connection_id":136521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 10:59:37] local.INFO: Packet analysis {"connection_id":136521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78d7"} 
[2026-07-19 10:59:37] local.INFO: Extracted packet for processing {"connection_id":136521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78d7"} 
[2026-07-19 10:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 10:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 10:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816265472001,"note":"Value kept but may cause issues"} 
[2026-07-19 10:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 10:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 10:59: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-07-19 10:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784438838000,"timestamp_ms":1784438838000,"timestamp_seconds":1784438838,"priority":1,"record_length":96,"hex_timestamp":"0000019f78d7d2f0"} 
[2026-07-19 10:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 10:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 10:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-19 10:59:37] 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-07-19 10:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 10:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 10:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 10:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 10:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 10:59: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-07-19 10:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 10:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 10:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816265472001,"66":25908,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 10:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 10:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 10:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816265472001,"description":"Unknown IO ID 0"} 
[2026-07-19 10:59:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 10:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 10:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 10:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 10:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816265472001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 10:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":136521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 10:59:37] local.INFO: GPS data processed {"connection_id":136521,"processed":1,"errors":0,"total":1} 
[2026-07-19 10:59:37] local.INFO: Acknowledgment sent {"connection_id":136521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:00:10] local.INFO: TCP Data received {"connection_id":136521,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:00:10] local.INFO: Processing buffer {"connection_id":136521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:00:10] local.INFO: Packet analysis {"connection_id":136521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78d7"} 
[2026-07-19 11:00:10] local.INFO: Extracted packet for processing {"connection_id":136521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78d7"} 
[2026-07-19 11:00:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816265472001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:00: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-07-19 11:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784438838000,"timestamp_ms":1784438838000,"timestamp_seconds":1784438838,"priority":1,"record_length":96,"hex_timestamp":"0000019f78d7d2f0"} 
[2026-07-19 11:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-19 11:00:10] 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-07-19 11:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816265472001,"66":25908,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816265472001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:00:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:00:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816265472001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":136521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:00:10] local.INFO: GPS data processed {"connection_id":136521,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:00:10] local.INFO: Acknowledgment sent {"connection_id":136521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:00:31] local.INFO: TCP Data received {"connection_id":138876,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:00:31] local.INFO: Processing buffer {"connection_id":138876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:00:31] local.INFO: IMEI packet received {"connection_id":138876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":138876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:00:36] local.INFO: TCP Data received {"connection_id":138876,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:00:36] local.INFO: Processing buffer {"connection_id":138876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:00:36] local.INFO: IMEI packet received {"connection_id":138876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":138876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:00:37] local.INFO: TCP Data received {"connection_id":138876,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:00:37] local.INFO: Processing buffer {"connection_id":138876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:00:37] local.INFO: Packet analysis {"connection_id":138876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78d7"} 
[2026-07-19 11:00:37] local.INFO: Extracted packet for processing {"connection_id":138876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78d7"} 
[2026-07-19 11:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816265472001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:00: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-07-19 11:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784438838000,"timestamp_ms":1784438838000,"timestamp_seconds":1784438838,"priority":1,"record_length":96,"hex_timestamp":"0000019f78d7d2f0"} 
[2026-07-19 11:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-19 11:00:37] 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-07-19 11:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816265472001,"66":25908,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816265472001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:00:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816265472001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":138876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:00:38] local.INFO: GPS data processed {"connection_id":138876,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:00:38] local.INFO: Acknowledgment sent {"connection_id":138876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:01:09] local.INFO: TCP Data received {"connection_id":138876,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:01:09] local.INFO: Processing buffer {"connection_id":138876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:01:09] local.INFO: Packet analysis {"connection_id":138876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78d7"} 
[2026-07-19 11:01:09] local.INFO: Extracted packet for processing {"connection_id":138876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78d7"} 
[2026-07-19 11:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816265472001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:01: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-07-19 11:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784438838000,"timestamp_ms":1784438838000,"timestamp_seconds":1784438838,"priority":1,"record_length":96,"hex_timestamp":"0000019f78d7d2f0"} 
[2026-07-19 11:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-19 11:01:09] 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-07-19 11:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:01: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-07-19 11:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816265472001,"66":25908,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816265472001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:01:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:01:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816265472001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":138876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:01:09] local.INFO: GPS data processed {"connection_id":138876,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:01:09] local.INFO: Acknowledgment sent {"connection_id":138876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:01:32] local.INFO: TCP Data received {"connection_id":136385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:01:32] local.INFO: Processing buffer {"connection_id":136385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:01:32] local.INFO: IMEI packet received {"connection_id":136385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":136385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:01:36] local.INFO: TCP Data received {"connection_id":136385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:01:36] local.INFO: Processing buffer {"connection_id":136385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:01:36] local.INFO: IMEI packet received {"connection_id":136385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":136385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:01:38] local.INFO: TCP Data received {"connection_id":136385,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:01:38] local.INFO: Processing buffer {"connection_id":136385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:01:38] local.INFO: Packet analysis {"connection_id":136385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78d7"} 
[2026-07-19 11:01:38] local.INFO: Extracted packet for processing {"connection_id":136385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78d7"} 
[2026-07-19 11:01:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816265472001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:01: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-07-19 11:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784438838000,"timestamp_ms":1784438838000,"timestamp_seconds":1784438838,"priority":1,"record_length":96,"hex_timestamp":"0000019f78d7d2f0"} 
[2026-07-19 11:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-19 11:01:38] 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-07-19 11:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:01: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-07-19 11:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816265472001,"66":25908,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816265472001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:01:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:01:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816265472001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":136385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:01:38] local.INFO: GPS data processed {"connection_id":136385,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:01:38] local.INFO: Acknowledgment sent {"connection_id":136385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:02:10] local.INFO: TCP Data received {"connection_id":136385,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:02:10] local.INFO: Processing buffer {"connection_id":136385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:02:10] local.INFO: Packet analysis {"connection_id":136385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78d7"} 
[2026-07-19 11:02:10] local.INFO: Extracted packet for processing {"connection_id":136385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78d7"} 
[2026-07-19 11:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816265472001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:02: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-07-19 11:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784438838000,"timestamp_ms":1784438838000,"timestamp_seconds":1784438838,"priority":1,"record_length":96,"hex_timestamp":"0000019f78d7d2f0"} 
[2026-07-19 11:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-19 11:02:10] 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-07-19 11:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816265472001,"66":25908,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816265472001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:02:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816265472001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":136385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:02:10] local.INFO: GPS data processed {"connection_id":136385,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:02:10] local.INFO: Acknowledgment sent {"connection_id":136385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:02:31] local.INFO: TCP Data received {"connection_id":138878,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:02:31] local.INFO: Processing buffer {"connection_id":138878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:02:31] local.INFO: IMEI packet received {"connection_id":138878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":138878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:02:36] local.INFO: TCP Data received {"connection_id":138878,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:02:36] local.INFO: Processing buffer {"connection_id":138878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:02:36] local.INFO: IMEI packet received {"connection_id":138878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":138878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:02:37] local.INFO: TCP Data received {"connection_id":138878,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:02:37] local.INFO: Processing buffer {"connection_id":138878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78d7d2f0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:02:37] local.INFO: Packet analysis {"connection_id":138878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78d7"} 
[2026-07-19 11:02:37] local.INFO: Extracted packet for processing {"connection_id":138878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78d7"} 
[2026-07-19 11:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816265472001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:02: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-07-19 11:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784438838000,"timestamp_ms":1784438838000,"timestamp_seconds":1784438838,"priority":1,"record_length":96,"hex_timestamp":"0000019f78d7d2f0"} 
[2026-07-19 11:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-19 11:02:37] 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-07-19 11:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:02: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-07-19 11:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816265472001,"66":25908,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816265472001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:02:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816265472001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":138878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:02:37] local.INFO: GPS data processed {"connection_id":138878,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:02:37] local.INFO: Acknowledgment sent {"connection_id":138878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:03:08] local.INFO: TCP Data received {"connection_id":138878,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:03:08] local.INFO: Processing buffer {"connection_id":138878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:03:08] local.INFO: Packet analysis {"connection_id":138878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78dc"} 
[2026-07-19 11:03:08] local.INFO: Extracted packet for processing {"connection_id":138878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78dc"} 
[2026-07-19 11:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816342528001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:03: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-07-19 11:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784439138000,"timestamp_ms":1784439138000,"timestamp_seconds":1784439138,"priority":1,"record_length":96,"hex_timestamp":"0000019f78dc66d0"} 
[2026-07-19 11:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 11:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11: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-07-19 11:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":138878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":138878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":138878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:03: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-07-19 11:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816342528001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816342528001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:03:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:03:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816342528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":138878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:03:08] local.INFO: GPS data processed {"connection_id":138878,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:03:08] local.INFO: Acknowledgment sent {"connection_id":138878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:03:31] local.INFO: TCP Data received {"connection_id":136386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:03:31] local.INFO: Processing buffer {"connection_id":136386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:03:31] local.INFO: IMEI packet received {"connection_id":136386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":136386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:03:36] local.INFO: TCP Data received {"connection_id":136386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:03:36] local.INFO: Processing buffer {"connection_id":136386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:03:36] local.INFO: IMEI packet received {"connection_id":136386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":136386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:03:37] local.INFO: TCP Data received {"connection_id":136386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:03:37] local.INFO: Processing buffer {"connection_id":136386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:03:37] local.INFO: Packet analysis {"connection_id":136386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78dc"} 
[2026-07-19 11:03:37] local.INFO: Extracted packet for processing {"connection_id":136386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78dc"} 
[2026-07-19 11:03:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816342528001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:03: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-07-19 11:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784439138000,"timestamp_ms":1784439138000,"timestamp_seconds":1784439138,"priority":1,"record_length":96,"hex_timestamp":"0000019f78dc66d0"} 
[2026-07-19 11:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 11:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:03: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-07-19 11:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816342528001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816342528001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:03:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:03:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816342528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":136386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:03:38] local.INFO: GPS data processed {"connection_id":136386,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:03:38] local.INFO: Acknowledgment sent {"connection_id":136386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:04:08] local.INFO: TCP Data received {"connection_id":136386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:04:09] local.INFO: Processing buffer {"connection_id":136386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:04:09] local.INFO: Packet analysis {"connection_id":136386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78dc"} 
[2026-07-19 11:04:09] local.INFO: Extracted packet for processing {"connection_id":136386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78dc"} 
[2026-07-19 11:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816342528001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:04: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-07-19 11:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784439138000,"timestamp_ms":1784439138000,"timestamp_seconds":1784439138,"priority":1,"record_length":96,"hex_timestamp":"0000019f78dc66d0"} 
[2026-07-19 11:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 11:04:09] 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-07-19 11: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-07-19 11:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:04: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-07-19 11:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816342528001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816342528001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:04:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:04:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816342528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":136386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:04:09] local.INFO: GPS data processed {"connection_id":136386,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:04:09] local.INFO: Acknowledgment sent {"connection_id":136386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:04:31] local.INFO: TCP Data received {"connection_id":136387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:04:31] local.INFO: Processing buffer {"connection_id":136387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:04:31] local.INFO: IMEI packet received {"connection_id":136387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":136387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:04:36] local.INFO: TCP Data received {"connection_id":136387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:04:36] local.INFO: Processing buffer {"connection_id":136387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:04:36] local.INFO: IMEI packet received {"connection_id":136387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":136387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:04:37] local.INFO: TCP Data received {"connection_id":136387,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:04:37] local.INFO: Processing buffer {"connection_id":136387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:04:37] local.INFO: Packet analysis {"connection_id":136387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78dc"} 
[2026-07-19 11:04:37] local.INFO: Extracted packet for processing {"connection_id":136387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78dc"} 
[2026-07-19 11:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816342528001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:04: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-07-19 11:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784439138000,"timestamp_ms":1784439138000,"timestamp_seconds":1784439138,"priority":1,"record_length":96,"hex_timestamp":"0000019f78dc66d0"} 
[2026-07-19 11:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 11:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:04: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-07-19 11:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816342528001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816342528001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:04:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816342528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":136387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:04:37] local.INFO: GPS data processed {"connection_id":136387,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:04:37] local.INFO: Acknowledgment sent {"connection_id":136387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:04:47] local.INFO: TCP Data received {"connection_id":137459,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:04:47] local.INFO: Processing buffer {"connection_id":137459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:04:47] local.INFO: IMEI packet received {"connection_id":137459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 11:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":137459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:05:08] local.INFO: TCP Data received {"connection_id":136387,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:05:08] local.INFO: Processing buffer {"connection_id":136387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:05:08] local.INFO: Packet analysis {"connection_id":136387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78dc"} 
[2026-07-19 11:05:08] local.INFO: Extracted packet for processing {"connection_id":136387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78dc"} 
[2026-07-19 11:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816342528001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11: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-07-19 11:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784439138000,"timestamp_ms":1784439138000,"timestamp_seconds":1784439138,"priority":1,"record_length":96,"hex_timestamp":"0000019f78dc66d0"} 
[2026-07-19 11:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 11:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11: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-07-19 11:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11: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-07-19 11:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816342528001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816342528001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:05:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816342528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":136387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:05:08] local.INFO: GPS data processed {"connection_id":136387,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:05:08] local.INFO: Acknowledgment sent {"connection_id":136387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:05:27] local.INFO: TCP Data received {"connection_id":137460,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:05:27] local.INFO: Processing buffer {"connection_id":137460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:05:27] local.INFO: IMEI packet received {"connection_id":137460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 11:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":137460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:05:31] local.INFO: TCP Data received {"connection_id":138879,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:05:31] local.INFO: Processing buffer {"connection_id":138879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:05:31] local.INFO: IMEI packet received {"connection_id":138879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":138879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:05:37] local.INFO: TCP Data received {"connection_id":138879,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:05:37] local.INFO: Processing buffer {"connection_id":138879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:05:37] local.INFO: IMEI packet received {"connection_id":138879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":138879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:05:38] local.INFO: TCP Data received {"connection_id":138879,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:05:38] local.INFO: Processing buffer {"connection_id":138879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:05:38] local.INFO: Packet analysis {"connection_id":138879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78dc"} 
[2026-07-19 11:05:38] local.INFO: Extracted packet for processing {"connection_id":138879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78dc"} 
[2026-07-19 11:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816342528001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:05: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-07-19 11:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784439138000,"timestamp_ms":1784439138000,"timestamp_seconds":1784439138,"priority":1,"record_length":96,"hex_timestamp":"0000019f78dc66d0"} 
[2026-07-19 11:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 11:05:38] 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-07-19 11: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-07-19 11:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816342528001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816342528001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:05:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816342528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":138879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:05:38] local.INFO: GPS data processed {"connection_id":138879,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:05:38] local.INFO: Acknowledgment sent {"connection_id":138879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:06:09] local.INFO: TCP Data received {"connection_id":138879,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:06:09] local.INFO: Processing buffer {"connection_id":138879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:06:09] local.INFO: Packet analysis {"connection_id":138879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78dc"} 
[2026-07-19 11:06:09] local.INFO: Extracted packet for processing {"connection_id":138879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78dc"} 
[2026-07-19 11:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816342528001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:06: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-07-19 11:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784439138000,"timestamp_ms":1784439138000,"timestamp_seconds":1784439138,"priority":1,"record_length":96,"hex_timestamp":"0000019f78dc66d0"} 
[2026-07-19 11:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 11:06:09] 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-07-19 11: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-07-19 11:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816342528001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816342528001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:06:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816342528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":138879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:06:09] local.INFO: GPS data processed {"connection_id":138879,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:06:09] local.INFO: Acknowledgment sent {"connection_id":138879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:06:31] local.INFO: TCP Data received {"connection_id":136524,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:06:31] local.INFO: Processing buffer {"connection_id":136524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:06:31] local.INFO: IMEI packet received {"connection_id":136524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":136524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:06:37] local.INFO: TCP Data received {"connection_id":136524,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:06:37] local.INFO: Processing buffer {"connection_id":136524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:06:37] local.INFO: IMEI packet received {"connection_id":136524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":136524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:06:37] local.INFO: TCP Data received {"connection_id":136524,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:06:37] local.INFO: Processing buffer {"connection_id":136524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:06:37] local.INFO: Packet analysis {"connection_id":136524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78dc"} 
[2026-07-19 11:06:37] local.INFO: Extracted packet for processing {"connection_id":136524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78dc"} 
[2026-07-19 11:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816342528001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:06: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-07-19 11:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784439138000,"timestamp_ms":1784439138000,"timestamp_seconds":1784439138,"priority":1,"record_length":96,"hex_timestamp":"0000019f78dc66d0"} 
[2026-07-19 11:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 11:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816342528001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816342528001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:06:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816342528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":136524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:06:37] local.INFO: GPS data processed {"connection_id":136524,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:06:37] local.INFO: Acknowledgment sent {"connection_id":136524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:07:09] local.INFO: TCP Data received {"connection_id":136524,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:07:09] local.INFO: Processing buffer {"connection_id":136524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:07:09] local.INFO: Packet analysis {"connection_id":136524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78dc"} 
[2026-07-19 11:07:09] local.INFO: Extracted packet for processing {"connection_id":136524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78dc"} 
[2026-07-19 11:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816342528001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:07: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-07-19 11:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784439138000,"timestamp_ms":1784439138000,"timestamp_seconds":1784439138,"priority":1,"record_length":96,"hex_timestamp":"0000019f78dc66d0"} 
[2026-07-19 11:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 11:07:09] 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-07-19 11:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816342528001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816342528001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:07:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:07:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816342528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":136524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:07:09] local.INFO: GPS data processed {"connection_id":136524,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:07:09] local.INFO: Acknowledgment sent {"connection_id":136524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:07:31] local.INFO: TCP Data received {"connection_id":136525,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:07:31] local.INFO: Processing buffer {"connection_id":136525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:07:31] local.INFO: IMEI packet received {"connection_id":136525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":136525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:07:37] local.INFO: TCP Data received {"connection_id":136525,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:07:37] local.INFO: Processing buffer {"connection_id":136525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:07:37] local.INFO: IMEI packet received {"connection_id":136525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":136525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:07:37] local.INFO: TCP Data received {"connection_id":136525,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:07:37] local.INFO: Processing buffer {"connection_id":136525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78dc66d0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:07:37] local.INFO: Packet analysis {"connection_id":136525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78dc"} 
[2026-07-19 11:07:37] local.INFO: Extracted packet for processing {"connection_id":136525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78dc"} 
[2026-07-19 11:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816342528001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:07: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-07-19 11:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784439138000,"timestamp_ms":1784439138000,"timestamp_seconds":1784439138,"priority":1,"record_length":96,"hex_timestamp":"0000019f78dc66d0"} 
[2026-07-19 11:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 11:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816342528001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816342528001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816342528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":136525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:07:37] local.INFO: GPS data processed {"connection_id":136525,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:07:37] local.INFO: Acknowledgment sent {"connection_id":136525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:08:09] local.INFO: TCP Data received {"connection_id":136525,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:08:09] local.INFO: Processing buffer {"connection_id":136525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:08:09] local.INFO: Packet analysis {"connection_id":136525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78e0"} 
[2026-07-19 11:08:09] local.INFO: Extracted packet for processing {"connection_id":136525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78e0"} 
[2026-07-19 11:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816419328001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:08: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-07-19 11:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784439439000,"timestamp_ms":1784439439000,"timestamp_seconds":1784439439,"priority":1,"record_length":96,"hex_timestamp":"0000019f78e0fe98"} 
[2026-07-19 11:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:08: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-07-19 11:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:08:09] 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-07-19 11:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816419328001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816419328001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:08:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816419328001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":136525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:08:09] local.INFO: GPS data processed {"connection_id":136525,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:08:09] local.INFO: Acknowledgment sent {"connection_id":136525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:08:37] local.INFO: TCP Data received {"connection_id":137463,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:08:37] local.INFO: Processing buffer {"connection_id":137463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:08:37] local.INFO: IMEI packet received {"connection_id":137463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":137463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:08:42] local.INFO: TCP Data received {"connection_id":137463,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:08:42] local.INFO: Processing buffer {"connection_id":137463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:08:42] local.INFO: IMEI packet received {"connection_id":137463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":137463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:08:43] local.INFO: TCP Data received {"connection_id":137463,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:08:43] local.INFO: Processing buffer {"connection_id":137463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:08:43] local.INFO: Packet analysis {"connection_id":137463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78e0"} 
[2026-07-19 11:08:43] local.INFO: Extracted packet for processing {"connection_id":137463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78e0"} 
[2026-07-19 11:08:43] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816419328001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:08: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-07-19 11:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784439439000,"timestamp_ms":1784439439000,"timestamp_seconds":1784439439,"priority":1,"record_length":96,"hex_timestamp":"0000019f78e0fe98"} 
[2026-07-19 11:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:08:43] 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-07-19 11:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816419328001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816419328001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:08:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:08:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816419328001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":137463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:08:43] local.INFO: GPS data processed {"connection_id":137463,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:08:43] local.INFO: Acknowledgment sent {"connection_id":137463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:08:48] local.INFO: TCP Data received {"connection_id":137463,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:08:48] local.INFO: Processing buffer {"connection_id":137463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:08:48] local.INFO: Packet analysis {"connection_id":137463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78e0"} 
[2026-07-19 11:08:48] local.INFO: Extracted packet for processing {"connection_id":137463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78e0"} 
[2026-07-19 11:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816419328001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784439439000,"timestamp_ms":1784439439000,"timestamp_seconds":1784439439,"priority":1,"record_length":96,"hex_timestamp":"0000019f78e0fe98"} 
[2026-07-19 11:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":137463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":137463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":137463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816419328001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816419328001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:08:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:08:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816419328001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":137463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:08:48] local.INFO: GPS data processed {"connection_id":137463,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:08:48] local.INFO: Acknowledgment sent {"connection_id":137463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:09:32] local.INFO: TCP Data received {"connection_id":137464,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:09:32] local.INFO: Processing buffer {"connection_id":137464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:09:32] local.INFO: IMEI packet received {"connection_id":137464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":137464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:09:37] local.INFO: TCP Data received {"connection_id":137464,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:09:37] local.INFO: Processing buffer {"connection_id":137464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:09:37] local.INFO: IMEI packet received {"connection_id":137464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":137464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:09:39] local.INFO: TCP Data received {"connection_id":137464,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:09:39] local.INFO: Processing buffer {"connection_id":137464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:09:39] local.INFO: Packet analysis {"connection_id":137464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78e0"} 
[2026-07-19 11:09:39] local.INFO: Extracted packet for processing {"connection_id":137464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78e0"} 
[2026-07-19 11:09:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816419328001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:09: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-07-19 11:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784439439000,"timestamp_ms":1784439439000,"timestamp_seconds":1784439439,"priority":1,"record_length":96,"hex_timestamp":"0000019f78e0fe98"} 
[2026-07-19 11:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:09: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-07-19 11:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":137464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":137464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":137464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816419328001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816419328001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:09:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:09:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816419328001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":137464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:09:39] local.INFO: GPS data processed {"connection_id":137464,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:09:39] local.INFO: Acknowledgment sent {"connection_id":137464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:10:10] local.INFO: TCP Data received {"connection_id":137464,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:10:10] local.INFO: Processing buffer {"connection_id":137464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:10:10] local.INFO: Packet analysis {"connection_id":137464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78e0"} 
[2026-07-19 11:10:10] local.INFO: Extracted packet for processing {"connection_id":137464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78e0"} 
[2026-07-19 11:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816419328001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:10: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-07-19 11:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784439439000,"timestamp_ms":1784439439000,"timestamp_seconds":1784439439,"priority":1,"record_length":96,"hex_timestamp":"0000019f78e0fe98"} 
[2026-07-19 11:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:10:10] 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-07-19 11:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816419328001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816419328001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:10:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816419328001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":137464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:10:10] local.INFO: GPS data processed {"connection_id":137464,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:10:10] local.INFO: Acknowledgment sent {"connection_id":137464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:10:32] local.INFO: TCP Data received {"connection_id":138881,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:10:32] local.INFO: Processing buffer {"connection_id":138881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:10:32] local.INFO: IMEI packet received {"connection_id":138881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":138881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:10:37] local.INFO: TCP Data received {"connection_id":138881,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:10:37] local.INFO: Processing buffer {"connection_id":138881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:10:37] local.INFO: IMEI packet received {"connection_id":138881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":138881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:10:38] local.INFO: TCP Data received {"connection_id":138881,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:10:38] local.INFO: Processing buffer {"connection_id":138881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:10:38] local.INFO: Packet analysis {"connection_id":138881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78e0"} 
[2026-07-19 11:10:38] local.INFO: Extracted packet for processing {"connection_id":138881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78e0"} 
[2026-07-19 11:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816419328001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:10: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-07-19 11:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784439439000,"timestamp_ms":1784439439000,"timestamp_seconds":1784439439,"priority":1,"record_length":96,"hex_timestamp":"0000019f78e0fe98"} 
[2026-07-19 11:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:10: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-07-19 11:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816419328001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816419328001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816419328001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":138881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:10:38] local.INFO: GPS data processed {"connection_id":138881,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:10:38] local.INFO: Acknowledgment sent {"connection_id":138881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:10:57] local.INFO: TCP Data received {"connection_id":136388,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:10:57] local.INFO: Processing buffer {"connection_id":136388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:10:57] local.INFO: IMEI packet received {"connection_id":136388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 11:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":136388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:11:09] local.INFO: TCP Data received {"connection_id":138881,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:11:09] local.INFO: Processing buffer {"connection_id":138881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:11:09] local.INFO: Packet analysis {"connection_id":138881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78e0"} 
[2026-07-19 11:11:09] local.INFO: Extracted packet for processing {"connection_id":138881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78e0"} 
[2026-07-19 11:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816419328001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:11: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-07-19 11:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784439439000,"timestamp_ms":1784439439000,"timestamp_seconds":1784439439,"priority":1,"record_length":96,"hex_timestamp":"0000019f78e0fe98"} 
[2026-07-19 11:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:11: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-07-19 11:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:11:09] 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-07-19 11:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816419328001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816419328001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:11:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816419328001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":138881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:11:09] local.INFO: GPS data processed {"connection_id":138881,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:11:09] local.INFO: Acknowledgment sent {"connection_id":138881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:11:26] local.INFO: TCP Data received {"connection_id":137465,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:11:26] local.INFO: Processing buffer {"connection_id":137465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:11:26] local.INFO: IMEI packet received {"connection_id":137465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 11:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":137465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:11:32] local.INFO: TCP Data received {"connection_id":137465,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:11:32] local.INFO: Processing buffer {"connection_id":137465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:11:32] local.INFO: IMEI packet received {"connection_id":137465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-19 11:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":137465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:11:33] local.INFO: TCP Data received {"connection_id":137465,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f78cb4fd0012d34c2c006aa3a100008011c29..."} 
[2026-07-19 11:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78cb4fd0012d34c2c006aa3a100008011c29..."} 
[2026-07-19 11:11:33] local.INFO: Processing buffer {"connection_id":137465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78cb4fd0012d34c2c006aa3a100008011c29..."} 
[2026-07-19 11:11:33] local.INFO: Packet analysis {"connection_id":137465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78cb"} 
[2026-07-19 11:11:33] local.INFO: Extracted packet for processing {"connection_id":137465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78cb"} 
[2026-07-19 11:11:33] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111819280,"longitude_deg":75.8432448,"latitude_deg":11.181928,"altitude":8,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3a10","is_valid_coordinates":true} 
[2026-07-19 11:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816055552001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":137892630867476480,"note":"Value kept but may cause issues"} 
[2026-07-19 11:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312388608,"note":"Value kept but may cause issues"} 
[2026-07-19 11:11: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-07-19 11:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784438018000,"timestamp_ms":1784438018000,"timestamp_seconds":1784438018,"priority":1,"record_length":96,"hex_timestamp":"0000019f78cb4fd0"} 
[2026-07-19 11:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-19 11:11: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-07-19 11:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":137465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":137465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-19 11:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":137465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-19 11:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-19 11:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-19 11:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816055552001,"66":25854,"97":206,"81":23296,"24":0,"16":137892630867476480,"45":3801812170312388608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-19 11:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-19 11:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816055552001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:11:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:11:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":137892630867476480,"km_value":137892630867476.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312388608,"description":"Unknown IO ID 45"} 
[2026-07-19 11:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816055552001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312388608}} 
[2026-07-19 11:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":137465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511627,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:11:33] local.INFO: GPS data processed {"connection_id":137465,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:11:33] local.INFO: Acknowledgment sent {"connection_id":137465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:12:01] local.INFO: TCP Data received {"connection_id":136527,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:12:01] local.INFO: Processing buffer {"connection_id":136527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:12:01] local.INFO: IMEI packet received {"connection_id":136527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":136527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:12:07] local.INFO: TCP Data received {"connection_id":136527,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:12:07] local.INFO: Processing buffer {"connection_id":136527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:12:07] local.INFO: IMEI packet received {"connection_id":136527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":136527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:12:08] local.INFO: TCP Data received {"connection_id":136527,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:12:08] local.INFO: Processing buffer {"connection_id":136527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:12:08] local.INFO: Packet analysis {"connection_id":136527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78e0"} 
[2026-07-19 11:12:08] local.INFO: Extracted packet for processing {"connection_id":136527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78e0"} 
[2026-07-19 11:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816419328001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:12: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-07-19 11:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784439439000,"timestamp_ms":1784439439000,"timestamp_seconds":1784439439,"priority":1,"record_length":96,"hex_timestamp":"0000019f78e0fe98"} 
[2026-07-19 11:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:12: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-07-19 11: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-07-19 11:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816419328001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816419328001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:12:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816419328001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":136527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:12:08] local.INFO: GPS data processed {"connection_id":136527,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:12:08] local.INFO: Acknowledgment sent {"connection_id":136527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:12:17] local.INFO: TCP Data received {"connection_id":136389,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:12:17] local.INFO: Processing buffer {"connection_id":136389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:12:17] local.INFO: IMEI packet received {"connection_id":136389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 11:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":136389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:12:37] local.INFO: TCP Data received {"connection_id":136528,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:12:37] local.INFO: Processing buffer {"connection_id":136528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:12:37] local.INFO: IMEI packet received {"connection_id":136528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":136528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:12:42] local.INFO: TCP Data received {"connection_id":136528,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:12:42] local.INFO: Processing buffer {"connection_id":136528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:12:42] local.INFO: IMEI packet received {"connection_id":136528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":136528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:12:42] local.INFO: TCP Data received {"connection_id":136528,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:12:42] local.INFO: Processing buffer {"connection_id":136528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:12:42] local.INFO: Packet analysis {"connection_id":136528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78e0"} 
[2026-07-19 11:12:42] local.INFO: Extracted packet for processing {"connection_id":136528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78e0"} 
[2026-07-19 11:12:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816419328001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784439439000,"timestamp_ms":1784439439000,"timestamp_seconds":1784439439,"priority":1,"record_length":96,"hex_timestamp":"0000019f78e0fe98"} 
[2026-07-19 11:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:12:42] 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-07-19 11:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816419328001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816419328001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:12:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:12:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816419328001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":136528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:12:42] local.INFO: GPS data processed {"connection_id":136528,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:12:42] local.INFO: Acknowledgment sent {"connection_id":136528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:12:47] local.INFO: TCP Data received {"connection_id":136528,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:12:47] local.INFO: Processing buffer {"connection_id":136528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78e0fe98012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:12:47] local.INFO: Packet analysis {"connection_id":136528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78e0"} 
[2026-07-19 11:12:47] local.INFO: Extracted packet for processing {"connection_id":136528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78e0"} 
[2026-07-19 11:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816419328001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784439439000,"timestamp_ms":1784439439000,"timestamp_seconds":1784439439,"priority":1,"record_length":96,"hex_timestamp":"0000019f78e0fe98"} 
[2026-07-19 11:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816419328001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816419328001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:12:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816419328001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":136528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:12:47] local.INFO: GPS data processed {"connection_id":136528,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:12:47] local.INFO: Acknowledgment sent {"connection_id":136528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:13:32] local.INFO: TCP Data received {"connection_id":138883,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:13:32] local.INFO: Processing buffer {"connection_id":138883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:13:32] local.INFO: IMEI packet received {"connection_id":138883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":138883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:13:37] local.INFO: TCP Data received {"connection_id":138883,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:13:37] local.INFO: Processing buffer {"connection_id":138883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:13:37] local.INFO: IMEI packet received {"connection_id":138883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":138883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:13:37] local.INFO: TCP Data received {"connection_id":138883,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:13:37] local.INFO: Processing buffer {"connection_id":138883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:13:37] local.INFO: Packet analysis {"connection_id":138883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78e5"} 
[2026-07-19 11:13:37] local.INFO: Extracted packet for processing {"connection_id":138883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78e5"} 
[2026-07-19 11:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816496384001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:13: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-07-19 11:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784439740000,"timestamp_ms":1784439740000,"timestamp_seconds":1784439740,"priority":1,"record_length":96,"hex_timestamp":"0000019f78e59660"} 
[2026-07-19 11:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11: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-07-19 11:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:13: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-07-19 11:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816496384001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816496384001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:13:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816496384001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":138883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:13:37] local.INFO: GPS data processed {"connection_id":138883,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:13:37] local.INFO: Acknowledgment sent {"connection_id":138883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:14:10] local.INFO: TCP Data received {"connection_id":138883,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:14:10] local.INFO: Processing buffer {"connection_id":138883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:14:10] local.INFO: Packet analysis {"connection_id":138883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78e5"} 
[2026-07-19 11:14:10] local.INFO: Extracted packet for processing {"connection_id":138883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78e5"} 
[2026-07-19 11:14:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816496384001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:14: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-07-19 11:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784439740000,"timestamp_ms":1784439740000,"timestamp_seconds":1784439740,"priority":1,"record_length":96,"hex_timestamp":"0000019f78e59660"} 
[2026-07-19 11:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:14:10] 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-07-19 11:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816496384001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816496384001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:14:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:14:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816496384001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":138883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:14:10] local.INFO: GPS data processed {"connection_id":138883,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:14:10] local.INFO: Acknowledgment sent {"connection_id":138883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:14:31] local.INFO: TCP Data received {"connection_id":136391,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:14:31] local.INFO: Processing buffer {"connection_id":136391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:14:31] local.INFO: IMEI packet received {"connection_id":136391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":136391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:14:36] local.INFO: TCP Data received {"connection_id":136391,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:14:37] local.INFO: Processing buffer {"connection_id":136391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:14:37] local.INFO: IMEI packet received {"connection_id":136391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":136391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:14:37] local.INFO: TCP Data received {"connection_id":136391,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:14:37] local.INFO: Processing buffer {"connection_id":136391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:14:37] local.INFO: Packet analysis {"connection_id":136391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78e5"} 
[2026-07-19 11:14:37] local.INFO: Extracted packet for processing {"connection_id":136391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78e5"} 
[2026-07-19 11:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816496384001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:14: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-07-19 11:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784439740000,"timestamp_ms":1784439740000,"timestamp_seconds":1784439740,"priority":1,"record_length":96,"hex_timestamp":"0000019f78e59660"} 
[2026-07-19 11:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11: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-07-19 11:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:14: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-07-19 11:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816496384001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816496384001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816496384001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":136391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:14:37] local.INFO: GPS data processed {"connection_id":136391,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:14:37] local.INFO: Acknowledgment sent {"connection_id":136391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:15:14] local.INFO: TCP Data received {"connection_id":136391,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:15:14] local.INFO: Processing buffer {"connection_id":136391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:15:14] local.INFO: Packet analysis {"connection_id":136391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78e5"} 
[2026-07-19 11:15:14] local.INFO: Extracted packet for processing {"connection_id":136391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78e5"} 
[2026-07-19 11:15:14] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816496384001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:15: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-07-19 11:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784439740000,"timestamp_ms":1784439740000,"timestamp_seconds":1784439740,"priority":1,"record_length":96,"hex_timestamp":"0000019f78e59660"} 
[2026-07-19 11:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":136391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":136391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":136391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:15:14] 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-07-19 11:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816496384001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816496384001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:15:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:15:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816496384001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":136391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:15:14] local.INFO: GPS data processed {"connection_id":136391,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:15:14] local.INFO: Acknowledgment sent {"connection_id":136391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:15:37] local.INFO: TCP Data received {"connection_id":137468,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:15:37] local.INFO: Processing buffer {"connection_id":137468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:15:37] local.INFO: IMEI packet received {"connection_id":137468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":137468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:15:42] local.INFO: TCP Data received {"connection_id":137468,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:15:42] local.INFO: Processing buffer {"connection_id":137468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:15:42] local.INFO: IMEI packet received {"connection_id":137468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":137468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:15:45] local.INFO: TCP Data received {"connection_id":137468,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:15:45] local.INFO: Processing buffer {"connection_id":137468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:15:45] local.INFO: Packet analysis {"connection_id":137468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78e5"} 
[2026-07-19 11:15:45] local.INFO: Extracted packet for processing {"connection_id":137468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78e5"} 
[2026-07-19 11:15:45] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816496384001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784439740000,"timestamp_ms":1784439740000,"timestamp_seconds":1784439740,"priority":1,"record_length":96,"hex_timestamp":"0000019f78e59660"} 
[2026-07-19 11:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":137468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":137468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":137468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816496384001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816496384001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:15:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:15:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816496384001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":137468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:15:45] local.INFO: GPS data processed {"connection_id":137468,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:15:45] local.INFO: Acknowledgment sent {"connection_id":137468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:16:16] local.INFO: TCP Data received {"connection_id":137468,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:16:16] local.INFO: Processing buffer {"connection_id":137468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:16:16] local.INFO: Packet analysis {"connection_id":137468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78e5"} 
[2026-07-19 11:16:16] local.INFO: Extracted packet for processing {"connection_id":137468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78e5"} 
[2026-07-19 11:16:16] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816496384001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784439740000,"timestamp_ms":1784439740000,"timestamp_seconds":1784439740,"priority":1,"record_length":96,"hex_timestamp":"0000019f78e59660"} 
[2026-07-19 11:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:16: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-07-19 11:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":137468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":137468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":137468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816496384001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816496384001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:16:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:16:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816496384001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":137468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:16:16] local.INFO: GPS data processed {"connection_id":137468,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:16:16] local.INFO: Acknowledgment sent {"connection_id":137468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:16:32] local.INFO: TCP Data received {"connection_id":136392,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:16:32] local.INFO: Processing buffer {"connection_id":136392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:16:32] local.INFO: IMEI packet received {"connection_id":136392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":136392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:16:36] local.INFO: TCP Data received {"connection_id":136392,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:16:36] local.INFO: Processing buffer {"connection_id":136392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:16:36] local.INFO: IMEI packet received {"connection_id":136392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":136392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:16:37] local.INFO: TCP Data received {"connection_id":136392,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:16:37] local.INFO: Processing buffer {"connection_id":136392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:16:37] local.INFO: Packet analysis {"connection_id":136392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78e5"} 
[2026-07-19 11:16:37] local.INFO: Extracted packet for processing {"connection_id":136392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78e5"} 
[2026-07-19 11:16:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816496384001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:16: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-07-19 11:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784439740000,"timestamp_ms":1784439740000,"timestamp_seconds":1784439740,"priority":1,"record_length":96,"hex_timestamp":"0000019f78e59660"} 
[2026-07-19 11:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:16: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-07-19 11:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816496384001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816496384001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:16:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:16:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816496384001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":136392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:16:37] local.INFO: GPS data processed {"connection_id":136392,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:16:37] local.INFO: Acknowledgment sent {"connection_id":136392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:17:08] local.INFO: TCP Data received {"connection_id":136392,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:17:08] local.INFO: Processing buffer {"connection_id":136392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:17:08] local.INFO: Packet analysis {"connection_id":136392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78e5"} 
[2026-07-19 11:17:08] local.INFO: Extracted packet for processing {"connection_id":136392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78e5"} 
[2026-07-19 11:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816496384001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:17: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-07-19 11:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784439740000,"timestamp_ms":1784439740000,"timestamp_seconds":1784439740,"priority":1,"record_length":96,"hex_timestamp":"0000019f78e59660"} 
[2026-07-19 11:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:17: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-07-19 11:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:17: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-07-19 11:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816496384001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816496384001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:17:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:17:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816496384001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":136392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:17:08] local.INFO: GPS data processed {"connection_id":136392,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:17:08] local.INFO: Acknowledgment sent {"connection_id":136392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:17:31] local.INFO: TCP Data received {"connection_id":136531,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:17:31] local.INFO: Processing buffer {"connection_id":136531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:17:31] local.INFO: IMEI packet received {"connection_id":136531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":136531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:17:36] local.INFO: TCP Data received {"connection_id":136531,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:17:36] local.INFO: Processing buffer {"connection_id":136531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:17:36] local.INFO: IMEI packet received {"connection_id":136531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":136531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:17:37] local.INFO: TCP Data received {"connection_id":136531,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:17:37] local.INFO: Processing buffer {"connection_id":136531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78e59660012d34c50006aa4dd8000800952c..."} 
[2026-07-19 11:17:37] local.INFO: Packet analysis {"connection_id":136531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78e5"} 
[2026-07-19 11:17:37] local.INFO: Extracted packet for processing {"connection_id":136531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78e5"} 
[2026-07-19 11:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816496384001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:17: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-07-19 11:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784439740000,"timestamp_ms":1784439740000,"timestamp_seconds":1784439740,"priority":1,"record_length":96,"hex_timestamp":"0000019f78e59660"} 
[2026-07-19 11:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:17: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-07-19 11:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816496384001,"66":25756,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816496384001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:17:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816496384001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":136531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:17:37] local.INFO: GPS data processed {"connection_id":136531,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:17:37] local.INFO: Acknowledgment sent {"connection_id":136531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:17:42] local.INFO: TCP Data received {"connection_id":136530,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136530,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:17:42] local.INFO: Processing buffer {"connection_id":136530,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:17:42] local.INFO: IMEI packet received {"connection_id":136530,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 11:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":136530,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:18:10] local.INFO: TCP Data received {"connection_id":136531,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:18:10] local.INFO: Processing buffer {"connection_id":136531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:18:10] local.INFO: Packet analysis {"connection_id":136531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ea"} 
[2026-07-19 11:18:10] local.INFO: Extracted packet for processing {"connection_id":136531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ea"} 
[2026-07-19 11:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816573440001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:18: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-07-19 11:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784440041000,"timestamp_ms":1784440041000,"timestamp_seconds":1784440041,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ea2e28"} 
[2026-07-19 11:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816573440001,"66":25702,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816573440001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:18:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816573440001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":136531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:18:10] local.INFO: GPS data processed {"connection_id":136531,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:18:10] local.INFO: Acknowledgment sent {"connection_id":136531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:18:27] local.INFO: TCP Data received {"connection_id":136393,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:18:27] local.INFO: Processing buffer {"connection_id":136393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:18:27] local.INFO: IMEI packet received {"connection_id":136393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 11:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":136393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:18:31] local.INFO: TCP Data received {"connection_id":137469,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:18:31] local.INFO: Processing buffer {"connection_id":137469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:18:31] local.INFO: IMEI packet received {"connection_id":137469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":137469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:18:37] local.INFO: TCP Data received {"connection_id":137469,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:18:37] local.INFO: Processing buffer {"connection_id":137469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:18:37] local.INFO: IMEI packet received {"connection_id":137469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":137469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:18:39] local.INFO: TCP Data received {"connection_id":137469,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:18:39] local.INFO: Processing buffer {"connection_id":137469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:18:39] local.INFO: Packet analysis {"connection_id":137469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ea"} 
[2026-07-19 11:18:39] local.INFO: Extracted packet for processing {"connection_id":137469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ea"} 
[2026-07-19 11:18:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816573440001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:18: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-07-19 11:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784440041000,"timestamp_ms":1784440041000,"timestamp_seconds":1784440041,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ea2e28"} 
[2026-07-19 11:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:18: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-07-19 11:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":137469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":137469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":137469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:18: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-07-19 11:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816573440001,"66":25702,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816573440001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:18:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:18:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816573440001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":137469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:18:39] local.INFO: GPS data processed {"connection_id":137469,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:18:39] local.INFO: Acknowledgment sent {"connection_id":137469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:19:10] local.INFO: TCP Data received {"connection_id":137469,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:19:10] local.INFO: Processing buffer {"connection_id":137469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:19:10] local.INFO: Packet analysis {"connection_id":137469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ea"} 
[2026-07-19 11:19:10] local.INFO: Extracted packet for processing {"connection_id":137469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ea"} 
[2026-07-19 11:19:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816573440001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:19: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-07-19 11:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784440041000,"timestamp_ms":1784440041000,"timestamp_seconds":1784440041,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ea2e28"} 
[2026-07-19 11:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11: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-07-19 11:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:19: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-07-19 11:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816573440001,"66":25702,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816573440001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:19:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:19:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816573440001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":137469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:19:10] local.INFO: GPS data processed {"connection_id":137469,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:19:10] local.INFO: Acknowledgment sent {"connection_id":137469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:19:32] local.INFO: TCP Data received {"connection_id":136532,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:19:32] local.INFO: Processing buffer {"connection_id":136532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:19:32] local.INFO: IMEI packet received {"connection_id":136532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":136532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:19:37] local.INFO: TCP Data received {"connection_id":136532,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:19:37] local.INFO: Processing buffer {"connection_id":136532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:19:37] local.INFO: IMEI packet received {"connection_id":136532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":136532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:19:38] local.INFO: TCP Data received {"connection_id":136532,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:19:38] local.INFO: Processing buffer {"connection_id":136532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:19:38] local.INFO: Packet analysis {"connection_id":136532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ea"} 
[2026-07-19 11:19:38] local.INFO: Extracted packet for processing {"connection_id":136532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ea"} 
[2026-07-19 11:19:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816573440001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:19: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-07-19 11:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784440041000,"timestamp_ms":1784440041000,"timestamp_seconds":1784440041,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ea2e28"} 
[2026-07-19 11:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:19: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-07-19 11:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:19: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-07-19 11:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816573440001,"66":25702,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816573440001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:19:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:19:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816573440001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":136532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:19:38] local.INFO: GPS data processed {"connection_id":136532,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:19:38] local.INFO: Acknowledgment sent {"connection_id":136532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:20:09] local.INFO: TCP Data received {"connection_id":136532,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:20:09] local.INFO: Processing buffer {"connection_id":136532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:20:09] local.INFO: Packet analysis {"connection_id":136532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ea"} 
[2026-07-19 11:20:09] local.INFO: Extracted packet for processing {"connection_id":136532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ea"} 
[2026-07-19 11:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816573440001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:20: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-07-19 11:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784440041000,"timestamp_ms":1784440041000,"timestamp_seconds":1784440041,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ea2e28"} 
[2026-07-19 11:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:20: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-07-19 11: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-07-19 11:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:20: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-07-19 11:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816573440001,"66":25702,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816573440001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816573440001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":136532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:20:09] local.INFO: GPS data processed {"connection_id":136532,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:20:09] local.INFO: Acknowledgment sent {"connection_id":136532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:20:31] local.INFO: TCP Data received {"connection_id":138885,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:20:31] local.INFO: Processing buffer {"connection_id":138885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:20:31] local.INFO: IMEI packet received {"connection_id":138885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":138885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:20:37] local.INFO: TCP Data received {"connection_id":138885,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:20:37] local.INFO: Processing buffer {"connection_id":138885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:20:37] local.INFO: IMEI packet received {"connection_id":138885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":138885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:20:38] local.INFO: TCP Data received {"connection_id":138885,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:20:38] local.INFO: Processing buffer {"connection_id":138885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:20:38] local.INFO: Packet analysis {"connection_id":138885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ea"} 
[2026-07-19 11:20:38] local.INFO: Extracted packet for processing {"connection_id":138885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ea"} 
[2026-07-19 11:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816573440001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:20: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-07-19 11:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784440041000,"timestamp_ms":1784440041000,"timestamp_seconds":1784440041,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ea2e28"} 
[2026-07-19 11:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:20: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-07-19 11:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:20: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-07-19 11:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816573440001,"66":25702,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816573440001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816573440001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":138885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:20:38] local.INFO: GPS data processed {"connection_id":138885,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:20:38] local.INFO: Acknowledgment sent {"connection_id":138885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:21:09] local.INFO: TCP Data received {"connection_id":138885,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:21:09] local.INFO: Processing buffer {"connection_id":138885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:21:09] local.INFO: Packet analysis {"connection_id":138885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ea"} 
[2026-07-19 11:21:09] local.INFO: Extracted packet for processing {"connection_id":138885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ea"} 
[2026-07-19 11:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816573440001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:21: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-07-19 11:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784440041000,"timestamp_ms":1784440041000,"timestamp_seconds":1784440041,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ea2e28"} 
[2026-07-19 11:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:21: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-07-19 11:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:21: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-07-19 11:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816573440001,"66":25702,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816573440001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816573440001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":138885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:21:09] local.INFO: GPS data processed {"connection_id":138885,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:21:09] local.INFO: Acknowledgment sent {"connection_id":138885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:21:31] local.INFO: TCP Data received {"connection_id":136533,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:21:31] local.INFO: Processing buffer {"connection_id":136533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:21:31] local.INFO: IMEI packet received {"connection_id":136533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":136533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:21:37] local.INFO: TCP Data received {"connection_id":136533,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:21:37] local.INFO: Processing buffer {"connection_id":136533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:21:37] local.INFO: IMEI packet received {"connection_id":136533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":136533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:21:38] local.INFO: TCP Data received {"connection_id":136533,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:21:38] local.INFO: Processing buffer {"connection_id":136533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:21:38] local.INFO: Packet analysis {"connection_id":136533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ea"} 
[2026-07-19 11:21:38] local.INFO: Extracted packet for processing {"connection_id":136533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ea"} 
[2026-07-19 11:21:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816573440001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:21: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-07-19 11:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784440041000,"timestamp_ms":1784440041000,"timestamp_seconds":1784440041,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ea2e28"} 
[2026-07-19 11:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:21: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-07-19 11:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816573440001,"66":25702,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816573440001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:21:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:21:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816573440001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":136533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:21:38] local.INFO: GPS data processed {"connection_id":136533,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:21:38] local.INFO: Acknowledgment sent {"connection_id":136533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:22:09] local.INFO: TCP Data received {"connection_id":136533,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:22:09] local.INFO: Processing buffer {"connection_id":136533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:22:09] local.INFO: Packet analysis {"connection_id":136533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ea"} 
[2026-07-19 11:22:09] local.INFO: Extracted packet for processing {"connection_id":136533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ea"} 
[2026-07-19 11:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816573440001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11: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-07-19 11:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784440041000,"timestamp_ms":1784440041000,"timestamp_seconds":1784440041,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ea2e28"} 
[2026-07-19 11:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:22: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-07-19 11: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-07-19 11:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816573440001,"66":25702,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816573440001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:22:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:22:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816573440001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":136533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:22:09] local.INFO: GPS data processed {"connection_id":136533,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:22:09] local.INFO: Acknowledgment sent {"connection_id":136533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:22:31] local.INFO: TCP Data received {"connection_id":137470,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:22:31] local.INFO: Processing buffer {"connection_id":137470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:22:31] local.INFO: IMEI packet received {"connection_id":137470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":137470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:22:36] local.INFO: TCP Data received {"connection_id":137470,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:22:36] local.INFO: Processing buffer {"connection_id":137470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:22:36] local.INFO: IMEI packet received {"connection_id":137470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":137470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:22:42] local.INFO: TCP Data received {"connection_id":137470,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:22:42] local.INFO: Processing buffer {"connection_id":137470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78ea2e28012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:22:42] local.INFO: Packet analysis {"connection_id":137470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ea"} 
[2026-07-19 11:22:42] local.INFO: Extracted packet for processing {"connection_id":137470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ea"} 
[2026-07-19 11:22:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816573440001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784440041000,"timestamp_ms":1784440041000,"timestamp_seconds":1784440041,"priority":1,"record_length":96,"hex_timestamp":"0000019f78ea2e28"} 
[2026-07-19 11:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-19 11:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816573440001,"66":25702,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816573440001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:22:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:22:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816573440001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":137470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:22:42] local.INFO: GPS data processed {"connection_id":137470,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:22:42] local.INFO: Acknowledgment sent {"connection_id":137470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:23:13] local.INFO: TCP Data received {"connection_id":137470,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:23:13] local.INFO: Processing buffer {"connection_id":137470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:23:13] local.INFO: Packet analysis {"connection_id":137470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ee"} 
[2026-07-19 11:23:13] local.INFO: Extracted packet for processing {"connection_id":137470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ee"} 
[2026-07-19 11:23:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816650496001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:23: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-07-19 11:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784440342000,"timestamp_ms":1784440342000,"timestamp_seconds":1784440342,"priority":1,"record_length":96,"hex_timestamp":"0000019f78eec5f0"} 
[2026-07-19 11:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-19 11:23: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-07-19 11:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":137470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":137470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":137470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:23: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-07-19 11:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816650496001,"66":25680,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816650496001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:23:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:23:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816650496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":137470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:23:13] local.INFO: GPS data processed {"connection_id":137470,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:23:13] local.INFO: Acknowledgment sent {"connection_id":137470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:23:32] local.INFO: TCP Data received {"connection_id":136396,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:23:32] local.INFO: Processing buffer {"connection_id":136396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:23:32] local.INFO: IMEI packet received {"connection_id":136396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":136396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:23:37] local.INFO: TCP Data received {"connection_id":136396,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:23:37] local.INFO: Processing buffer {"connection_id":136396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:23:37] local.INFO: IMEI packet received {"connection_id":136396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":136396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:23:38] local.INFO: TCP Data received {"connection_id":136396,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:23:38] local.INFO: Processing buffer {"connection_id":136396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:23:38] local.INFO: Packet analysis {"connection_id":136396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ee"} 
[2026-07-19 11:23:38] local.INFO: Extracted packet for processing {"connection_id":136396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ee"} 
[2026-07-19 11:23:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816650496001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:23: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-07-19 11:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784440342000,"timestamp_ms":1784440342000,"timestamp_seconds":1784440342,"priority":1,"record_length":96,"hex_timestamp":"0000019f78eec5f0"} 
[2026-07-19 11:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-19 11:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:23: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-07-19 11:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816650496001,"66":25680,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816650496001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:23:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:23:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816650496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":136396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:23:38] local.INFO: GPS data processed {"connection_id":136396,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:23:38] local.INFO: Acknowledgment sent {"connection_id":136396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:24:02] local.INFO: TCP Data received {"connection_id":136534,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136534,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:24:02] local.INFO: Processing buffer {"connection_id":136534,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:24:02] local.INFO: IMEI packet received {"connection_id":136534,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 11:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":136534,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:24:09] local.INFO: TCP Data received {"connection_id":136396,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:24:09] local.INFO: Processing buffer {"connection_id":136396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:24:09] local.INFO: Packet analysis {"connection_id":136396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ee"} 
[2026-07-19 11:24:09] local.INFO: Extracted packet for processing {"connection_id":136396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ee"} 
[2026-07-19 11:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816650496001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:24: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-07-19 11:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784440342000,"timestamp_ms":1784440342000,"timestamp_seconds":1784440342,"priority":1,"record_length":96,"hex_timestamp":"0000019f78eec5f0"} 
[2026-07-19 11:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-19 11:24: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-07-19 11: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-07-19 11:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:24: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-07-19 11:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816650496001,"66":25680,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816650496001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:24:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:24:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816650496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":136396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:24:09] local.INFO: GPS data processed {"connection_id":136396,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:24:09] local.INFO: Acknowledgment sent {"connection_id":136396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:24:27] local.INFO: TCP Data received {"connection_id":138888,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:24:27] local.INFO: Processing buffer {"connection_id":138888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:24:27] local.INFO: IMEI packet received {"connection_id":138888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 11:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":138888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:24:32] local.INFO: TCP Data received {"connection_id":138889,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:24:32] local.INFO: Processing buffer {"connection_id":138889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:24:32] local.INFO: IMEI packet received {"connection_id":138889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":138889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:24:37] local.INFO: TCP Data received {"connection_id":138889,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:24:37] local.INFO: Processing buffer {"connection_id":138889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:24:37] local.INFO: IMEI packet received {"connection_id":138889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":138889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:24:39] local.INFO: TCP Data received {"connection_id":138889,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:24:39] local.INFO: Processing buffer {"connection_id":138889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:24:39] local.INFO: Packet analysis {"connection_id":138889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ee"} 
[2026-07-19 11:24:39] local.INFO: Extracted packet for processing {"connection_id":138889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ee"} 
[2026-07-19 11:24:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816650496001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:24: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-07-19 11:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784440342000,"timestamp_ms":1784440342000,"timestamp_seconds":1784440342,"priority":1,"record_length":96,"hex_timestamp":"0000019f78eec5f0"} 
[2026-07-19 11:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-19 11:24: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-07-19 11:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":138889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":138889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":138889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:24: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-07-19 11:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816650496001,"66":25680,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816650496001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:24:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:24:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816650496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":138889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:24:39] local.INFO: GPS data processed {"connection_id":138889,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:24:39] local.INFO: Acknowledgment sent {"connection_id":138889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:25:10] local.INFO: TCP Data received {"connection_id":138889,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:25:10] local.INFO: Processing buffer {"connection_id":138889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:25:10] local.INFO: Packet analysis {"connection_id":138889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ee"} 
[2026-07-19 11:25:10] local.INFO: Extracted packet for processing {"connection_id":138889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ee"} 
[2026-07-19 11:25:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816650496001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:25: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-07-19 11:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784440342000,"timestamp_ms":1784440342000,"timestamp_seconds":1784440342,"priority":1,"record_length":96,"hex_timestamp":"0000019f78eec5f0"} 
[2026-07-19 11:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-19 11:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:25: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-07-19 11:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816650496001,"66":25680,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816650496001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:25:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:25:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816650496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":138889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:25:10] local.INFO: GPS data processed {"connection_id":138889,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:25:10] local.INFO: Acknowledgment sent {"connection_id":138889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:25:31] local.INFO: TCP Data received {"connection_id":136397,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:25:31] local.INFO: Processing buffer {"connection_id":136397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:25:31] local.INFO: IMEI packet received {"connection_id":136397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":136397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:25:37] local.INFO: TCP Data received {"connection_id":136397,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:25:37] local.INFO: Processing buffer {"connection_id":136397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:25:37] local.INFO: IMEI packet received {"connection_id":136397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":136397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:25:38] local.INFO: TCP Data received {"connection_id":136397,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:25:38] local.INFO: Processing buffer {"connection_id":136397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:25:38] local.INFO: Packet analysis {"connection_id":136397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ee"} 
[2026-07-19 11:25:38] local.INFO: Extracted packet for processing {"connection_id":136397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ee"} 
[2026-07-19 11:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816650496001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:25: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-07-19 11:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784440342000,"timestamp_ms":1784440342000,"timestamp_seconds":1784440342,"priority":1,"record_length":96,"hex_timestamp":"0000019f78eec5f0"} 
[2026-07-19 11:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-19 11:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:25: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-07-19 11:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816650496001,"66":25680,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816650496001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:25:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:25:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816650496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":136397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:25:38] local.INFO: GPS data processed {"connection_id":136397,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:25:38] local.INFO: Acknowledgment sent {"connection_id":136397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:26:09] local.INFO: TCP Data received {"connection_id":136397,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:26:09] local.INFO: Processing buffer {"connection_id":136397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:26:09] local.INFO: Packet analysis {"connection_id":136397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ee"} 
[2026-07-19 11:26:09] local.INFO: Extracted packet for processing {"connection_id":136397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ee"} 
[2026-07-19 11:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816650496001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11: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-07-19 11:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784440342000,"timestamp_ms":1784440342000,"timestamp_seconds":1784440342,"priority":1,"record_length":96,"hex_timestamp":"0000019f78eec5f0"} 
[2026-07-19 11:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":102,"data_length":795,"current_offset":136} 
[2026-07-19 11:26: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-07-19 11: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-07-19 11:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:26: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-07-19 11:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816650496001,"66":25680,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816650496001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816650496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":136397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:26:09] local.INFO: GPS data processed {"connection_id":136397,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:26:09] local.INFO: Acknowledgment sent {"connection_id":136397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:26:32] local.INFO: TCP Data received {"connection_id":136399,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:26:32] local.INFO: Processing buffer {"connection_id":136399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:26:32] local.INFO: IMEI packet received {"connection_id":136399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":136399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:26:37] local.INFO: TCP Data received {"connection_id":136399,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:26:37] local.INFO: Processing buffer {"connection_id":136399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:26:37] local.INFO: IMEI packet received {"connection_id":136399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":136399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:26:39] local.INFO: TCP Data received {"connection_id":136399,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:26:39] local.INFO: Processing buffer {"connection_id":136399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:26:39] local.INFO: Packet analysis {"connection_id":136399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ee"} 
[2026-07-19 11:26:39] local.INFO: Extracted packet for processing {"connection_id":136399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ee"} 
[2026-07-19 11:26:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816650496001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11: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-07-19 11:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784440342000,"timestamp_ms":1784440342000,"timestamp_seconds":1784440342,"priority":1,"record_length":96,"hex_timestamp":"0000019f78eec5f0"} 
[2026-07-19 11:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-19 11:26: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-07-19 11: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-07-19 11:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:26: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-07-19 11:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816650496001,"66":25680,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816650496001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:26:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:26:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816650496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":136399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:26:39] local.INFO: GPS data processed {"connection_id":136399,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:26:39] local.INFO: Acknowledgment sent {"connection_id":136399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:27:11] local.INFO: TCP Data received {"connection_id":136399,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:27:11] local.INFO: Processing buffer {"connection_id":136399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:27:11] local.INFO: Packet analysis {"connection_id":136399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ee"} 
[2026-07-19 11:27:11] local.INFO: Extracted packet for processing {"connection_id":136399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ee"} 
[2026-07-19 11:27:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816650496001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:27: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-07-19 11:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784440342000,"timestamp_ms":1784440342000,"timestamp_seconds":1784440342,"priority":1,"record_length":96,"hex_timestamp":"0000019f78eec5f0"} 
[2026-07-19 11:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-19 11:27: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-07-19 11: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-07-19 11:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":136399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":136399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":136399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816650496001,"66":25680,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816650496001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:27:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:27:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816650496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":136399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:27:11] local.INFO: GPS data processed {"connection_id":136399,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:27:11] local.INFO: Acknowledgment sent {"connection_id":136399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:27:37] local.INFO: TCP Data received {"connection_id":138891,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:27:37] local.INFO: Processing buffer {"connection_id":138891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:27:37] local.INFO: IMEI packet received {"connection_id":138891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":138891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:27:42] local.INFO: TCP Data received {"connection_id":138891,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:27:42] local.INFO: Processing buffer {"connection_id":138891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:27:42] local.INFO: IMEI packet received {"connection_id":138891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":138891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:27:44] local.INFO: TCP Data received {"connection_id":138891,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:27:44] local.INFO: Processing buffer {"connection_id":138891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:27:44] local.INFO: Packet analysis {"connection_id":138891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ee"} 
[2026-07-19 11:27:44] local.INFO: Extracted packet for processing {"connection_id":138891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ee"} 
[2026-07-19 11:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816650496001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:27: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-07-19 11:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784440342000,"timestamp_ms":1784440342000,"timestamp_seconds":1784440342,"priority":1,"record_length":96,"hex_timestamp":"0000019f78eec5f0"} 
[2026-07-19 11:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-19 11:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":138891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":138891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":138891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:27: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-07-19 11:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816650496001,"66":25680,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816650496001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:27:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:27:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816650496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":138891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:27:44] local.INFO: GPS data processed {"connection_id":138891,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:27:44] local.INFO: Acknowledgment sent {"connection_id":138891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:27:48] local.INFO: TCP Data received {"connection_id":138891,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:27:48] local.INFO: Processing buffer {"connection_id":138891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78eec5f0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:27:48] local.INFO: Packet analysis {"connection_id":138891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78ee"} 
[2026-07-19 11:27:48] local.INFO: Extracted packet for processing {"connection_id":138891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78ee"} 
[2026-07-19 11:27:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816650496001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784440342000,"timestamp_ms":1784440342000,"timestamp_seconds":1784440342,"priority":1,"record_length":96,"hex_timestamp":"0000019f78eec5f0"} 
[2026-07-19 11:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-19 11:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":138891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":138891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":138891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:27:48] 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-07-19 11:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816650496001,"66":25680,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816650496001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:27:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:27:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816650496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":138891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:27:48] local.INFO: GPS data processed {"connection_id":138891,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:27:48] local.INFO: Acknowledgment sent {"connection_id":138891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:28:32] local.INFO: TCP Data received {"connection_id":136400,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:28:32] local.INFO: Processing buffer {"connection_id":136400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:28:32] local.INFO: IMEI packet received {"connection_id":136400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":136400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:28:37] local.INFO: TCP Data received {"connection_id":136400,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:28:37] local.INFO: Processing buffer {"connection_id":136400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:28:37] local.INFO: IMEI packet received {"connection_id":136400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":136400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:28:41] local.INFO: TCP Data received {"connection_id":136400,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:28:41] local.INFO: Processing buffer {"connection_id":136400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:28:41] local.INFO: Packet analysis {"connection_id":136400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78f3"} 
[2026-07-19 11:28:41] local.INFO: Extracted packet for processing {"connection_id":136400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78f3"} 
[2026-07-19 11:28:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816727552001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784440643000,"timestamp_ms":1784440643000,"timestamp_seconds":1784440643,"priority":1,"record_length":96,"hex_timestamp":"0000019f78f35db8"} 
[2026-07-19 11:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 11:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":136400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":136400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":136400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:28:41] 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-07-19 11:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816727552001,"66":25647,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816727552001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:28:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:28:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816727552001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":136400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:28:41] local.INFO: GPS data processed {"connection_id":136400,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:28:41] local.INFO: Acknowledgment sent {"connection_id":136400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:29:13] local.INFO: TCP Data received {"connection_id":136400,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:29:13] local.INFO: Processing buffer {"connection_id":136400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:29:13] local.INFO: Packet analysis {"connection_id":136400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78f3"} 
[2026-07-19 11:29:13] local.INFO: Extracted packet for processing {"connection_id":136400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78f3"} 
[2026-07-19 11:29:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816727552001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:29: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-07-19 11:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784440643000,"timestamp_ms":1784440643000,"timestamp_seconds":1784440643,"priority":1,"record_length":96,"hex_timestamp":"0000019f78f35db8"} 
[2026-07-19 11:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 11:29: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-07-19 11:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":136400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":136400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":136400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:29: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-07-19 11:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816727552001,"66":25647,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816727552001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:29:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:29:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816727552001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":136400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:29:13] local.INFO: GPS data processed {"connection_id":136400,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:29:13] local.INFO: Acknowledgment sent {"connection_id":136400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:29:31] local.INFO: TCP Data received {"connection_id":137472,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:29:31] local.INFO: Processing buffer {"connection_id":137472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:29:31] local.INFO: IMEI packet received {"connection_id":137472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":137472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:29:36] local.INFO: TCP Data received {"connection_id":137472,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:29:36] local.INFO: Processing buffer {"connection_id":137472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:29:36] local.INFO: IMEI packet received {"connection_id":137472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":137472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:29:37] local.INFO: TCP Data received {"connection_id":137472,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:29:37] local.INFO: Processing buffer {"connection_id":137472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:29:37] local.INFO: Packet analysis {"connection_id":137472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78f3"} 
[2026-07-19 11:29:37] local.INFO: Extracted packet for processing {"connection_id":137472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78f3"} 
[2026-07-19 11:29:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816727552001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:29: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-07-19 11:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784440643000,"timestamp_ms":1784440643000,"timestamp_seconds":1784440643,"priority":1,"record_length":96,"hex_timestamp":"0000019f78f35db8"} 
[2026-07-19 11:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 11:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816727552001,"66":25647,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816727552001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:29:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:29:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816727552001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":137472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:29:37] local.INFO: GPS data processed {"connection_id":137472,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:29:37] local.INFO: Acknowledgment sent {"connection_id":137472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:29:41] local.INFO: TCP Data received {"connection_id":136535,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:29:41] local.INFO: Processing buffer {"connection_id":136535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:29:41] local.INFO: IMEI packet received {"connection_id":136535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 11:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":136535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:30:10] local.INFO: TCP Data received {"connection_id":137472,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:30:10] local.INFO: Processing buffer {"connection_id":137472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:30:10] local.INFO: Packet analysis {"connection_id":137472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78f3"} 
[2026-07-19 11:30:10] local.INFO: Extracted packet for processing {"connection_id":137472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78f3"} 
[2026-07-19 11:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816727552001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:30: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-07-19 11:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784440643000,"timestamp_ms":1784440643000,"timestamp_seconds":1784440643,"priority":1,"record_length":96,"hex_timestamp":"0000019f78f35db8"} 
[2026-07-19 11:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 11:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11: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-07-19 11:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816727552001,"66":25647,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816727552001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:30:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816727552001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":137472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:30:10] local.INFO: GPS data processed {"connection_id":137472,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:30:10] local.INFO: Acknowledgment sent {"connection_id":137472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:30:27] local.INFO: TCP Data received {"connection_id":138893,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:30:27] local.INFO: Processing buffer {"connection_id":138893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:30:27] local.INFO: IMEI packet received {"connection_id":138893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 11:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":138893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:30:31] local.INFO: TCP Data received {"connection_id":136401,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:30:31] local.INFO: Processing buffer {"connection_id":136401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:30:31] local.INFO: IMEI packet received {"connection_id":136401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":136401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:30:37] local.INFO: TCP Data received {"connection_id":136401,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:30:37] local.INFO: Processing buffer {"connection_id":136401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:30:37] local.INFO: IMEI packet received {"connection_id":136401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":136401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:30:38] local.INFO: TCP Data received {"connection_id":136401,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:30:38] local.INFO: Processing buffer {"connection_id":136401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:30:38] local.INFO: Packet analysis {"connection_id":136401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78f3"} 
[2026-07-19 11:30:38] local.INFO: Extracted packet for processing {"connection_id":136401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78f3"} 
[2026-07-19 11:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816727552001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:30: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-07-19 11:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784440643000,"timestamp_ms":1784440643000,"timestamp_seconds":1784440643,"priority":1,"record_length":96,"hex_timestamp":"0000019f78f35db8"} 
[2026-07-19 11:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 11:30:38] 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-07-19 11: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-07-19 11:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816727552001,"66":25647,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816727552001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:30:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816727552001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":136401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:30:38] local.INFO: GPS data processed {"connection_id":136401,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:30:38] local.INFO: Acknowledgment sent {"connection_id":136401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:31:09] local.INFO: TCP Data received {"connection_id":136401,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:31:09] local.INFO: Processing buffer {"connection_id":136401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:31:09] local.INFO: Packet analysis {"connection_id":136401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78f3"} 
[2026-07-19 11:31:09] local.INFO: Extracted packet for processing {"connection_id":136401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78f3"} 
[2026-07-19 11:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816727552001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:31: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-07-19 11:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784440643000,"timestamp_ms":1784440643000,"timestamp_seconds":1784440643,"priority":1,"record_length":96,"hex_timestamp":"0000019f78f35db8"} 
[2026-07-19 11:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 11:31: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-07-19 11:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816727552001,"66":25647,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816727552001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816727552001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":136401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:31:09] local.INFO: GPS data processed {"connection_id":136401,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:31:09] local.INFO: Acknowledgment sent {"connection_id":136401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:31:31] local.INFO: TCP Data received {"connection_id":136403,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:31:31] local.INFO: Processing buffer {"connection_id":136403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:31:31] local.INFO: IMEI packet received {"connection_id":136403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":136403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:31:37] local.INFO: TCP Data received {"connection_id":136403,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:31:37] local.INFO: Processing buffer {"connection_id":136403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:31:37] local.INFO: IMEI packet received {"connection_id":136403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":136403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:31:38] local.INFO: TCP Data received {"connection_id":136403,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:31:38] local.INFO: Processing buffer {"connection_id":136403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:31:38] local.INFO: Packet analysis {"connection_id":136403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78f3"} 
[2026-07-19 11:31:38] local.INFO: Extracted packet for processing {"connection_id":136403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78f3"} 
[2026-07-19 11:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816727552001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:31: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-07-19 11:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784440643000,"timestamp_ms":1784440643000,"timestamp_seconds":1784440643,"priority":1,"record_length":96,"hex_timestamp":"0000019f78f35db8"} 
[2026-07-19 11:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 11:31:38] 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-07-19 11: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-07-19 11:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816727552001,"66":25647,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816727552001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:31:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816727552001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":136403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:31:38] local.INFO: GPS data processed {"connection_id":136403,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:31:38] local.INFO: Acknowledgment sent {"connection_id":136403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:32:10] local.INFO: TCP Data received {"connection_id":136403,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:32:10] local.INFO: Processing buffer {"connection_id":136403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:32:10] local.INFO: Packet analysis {"connection_id":136403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78f3"} 
[2026-07-19 11:32:10] local.INFO: Extracted packet for processing {"connection_id":136403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78f3"} 
[2026-07-19 11:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816727552001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:32: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-07-19 11:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784440643000,"timestamp_ms":1784440643000,"timestamp_seconds":1784440643,"priority":1,"record_length":96,"hex_timestamp":"0000019f78f35db8"} 
[2026-07-19 11:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 11:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:32:10] 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-07-19 11:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816727552001,"66":25647,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816727552001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:32:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816727552001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":136403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:32:10] local.INFO: GPS data processed {"connection_id":136403,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:32:10] local.INFO: Acknowledgment sent {"connection_id":136403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:32:31] local.INFO: TCP Data received {"connection_id":138894,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:32:31] local.INFO: Processing buffer {"connection_id":138894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:32:31] local.INFO: IMEI packet received {"connection_id":138894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":138894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:32:36] local.INFO: TCP Data received {"connection_id":138894,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:32:36] local.INFO: Processing buffer {"connection_id":138894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:32:36] local.INFO: IMEI packet received {"connection_id":138894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":138894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:32:38] local.INFO: TCP Data received {"connection_id":138894,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:32:38] local.INFO: Processing buffer {"connection_id":138894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78f35db8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:32:38] local.INFO: Packet analysis {"connection_id":138894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78f3"} 
[2026-07-19 11:32:38] local.INFO: Extracted packet for processing {"connection_id":138894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78f3"} 
[2026-07-19 11:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816727552001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:32: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-07-19 11:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784440643000,"timestamp_ms":1784440643000,"timestamp_seconds":1784440643,"priority":1,"record_length":96,"hex_timestamp":"0000019f78f35db8"} 
[2026-07-19 11:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-19 11:32:38] 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-07-19 11:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:32: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-07-19 11:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816727552001,"66":25647,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816727552001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:32:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816727552001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":138894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:32:38] local.INFO: GPS data processed {"connection_id":138894,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:32:38] local.INFO: Acknowledgment sent {"connection_id":138894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:33:10] local.INFO: TCP Data received {"connection_id":138894,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:33:10] local.INFO: Processing buffer {"connection_id":138894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:33:10] local.INFO: Packet analysis {"connection_id":138894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78f7"} 
[2026-07-19 11:33:10] local.INFO: Extracted packet for processing {"connection_id":138894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78f7"} 
[2026-07-19 11:33:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816804608001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:33: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-07-19 11:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784440944000,"timestamp_ms":1784440944000,"timestamp_seconds":1784440944,"priority":1,"record_length":96,"hex_timestamp":"0000019f78f7f580"} 
[2026-07-19 11:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 11:33: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-07-19 11:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:33: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-07-19 11:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816804608001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816804608001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:33:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:33:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816804608001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":138894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:33:10] local.INFO: GPS data processed {"connection_id":138894,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:33:10] local.INFO: Acknowledgment sent {"connection_id":138894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:33:37] local.INFO: TCP Data received {"connection_id":137473,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:33:37] local.INFO: Processing buffer {"connection_id":137473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:33:37] local.INFO: IMEI packet received {"connection_id":137473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":137473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:33:42] local.INFO: TCP Data received {"connection_id":137473,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:33:42] local.INFO: Processing buffer {"connection_id":137473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:33:42] local.INFO: IMEI packet received {"connection_id":137473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":137473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:33:43] local.INFO: TCP Data received {"connection_id":137473,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:33:43] local.INFO: Processing buffer {"connection_id":137473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:33:43] local.INFO: Packet analysis {"connection_id":137473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78f7"} 
[2026-07-19 11:33:43] local.INFO: Extracted packet for processing {"connection_id":137473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78f7"} 
[2026-07-19 11:33:43] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816804608001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:33: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-07-19 11:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784440944000,"timestamp_ms":1784440944000,"timestamp_seconds":1784440944,"priority":1,"record_length":96,"hex_timestamp":"0000019f78f7f580"} 
[2026-07-19 11:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 11:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816804608001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816804608001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:33:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:33:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816804608001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":137473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:33:43] local.INFO: GPS data processed {"connection_id":137473,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:33:43] local.INFO: Acknowledgment sent {"connection_id":137473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:34:15] local.INFO: TCP Data received {"connection_id":137473,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:34:15] local.INFO: Processing buffer {"connection_id":137473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:34:15] local.INFO: Packet analysis {"connection_id":137473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78f7"} 
[2026-07-19 11:34:15] local.INFO: Extracted packet for processing {"connection_id":137473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78f7"} 
[2026-07-19 11:34:15] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816804608001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784440944000,"timestamp_ms":1784440944000,"timestamp_seconds":1784440944,"priority":1,"record_length":96,"hex_timestamp":"0000019f78f7f580"} 
[2026-07-19 11:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 11:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":137473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":137473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":137473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:34:15] 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-07-19 11:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816804608001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816804608001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:34:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:34:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816804608001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":137473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:34:15] local.INFO: GPS data processed {"connection_id":137473,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:34:15] local.INFO: Acknowledgment sent {"connection_id":137473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:34:32] local.INFO: TCP Data received {"connection_id":137474,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:34:32] local.INFO: Processing buffer {"connection_id":137474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:34:32] local.INFO: IMEI packet received {"connection_id":137474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":137474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:34:36] local.INFO: TCP Data received {"connection_id":137474,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:34:36] local.INFO: Processing buffer {"connection_id":137474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:34:36] local.INFO: IMEI packet received {"connection_id":137474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":137474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:34:37] local.INFO: TCP Data received {"connection_id":137474,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:34:37] local.INFO: Processing buffer {"connection_id":137474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:34:37] local.INFO: Packet analysis {"connection_id":137474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78f7"} 
[2026-07-19 11:34:37] local.INFO: Extracted packet for processing {"connection_id":137474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78f7"} 
[2026-07-19 11:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816804608001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:34: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-07-19 11:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784440944000,"timestamp_ms":1784440944000,"timestamp_seconds":1784440944,"priority":1,"record_length":96,"hex_timestamp":"0000019f78f7f580"} 
[2026-07-19 11:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 11:34: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-07-19 11: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-07-19 11:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:34:37] 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-07-19 11:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816804608001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816804608001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:34:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816804608001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":137474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:34:37] local.INFO: GPS data processed {"connection_id":137474,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:34:37] local.INFO: Acknowledgment sent {"connection_id":137474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:35:10] local.INFO: TCP Data received {"connection_id":137474,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:35:10] local.INFO: Processing buffer {"connection_id":137474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:35:10] local.INFO: Packet analysis {"connection_id":137474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78f7"} 
[2026-07-19 11:35:10] local.INFO: Extracted packet for processing {"connection_id":137474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78f7"} 
[2026-07-19 11:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816804608001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:35: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-07-19 11:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784440944000,"timestamp_ms":1784440944000,"timestamp_seconds":1784440944,"priority":1,"record_length":96,"hex_timestamp":"0000019f78f7f580"} 
[2026-07-19 11:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 11:35: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-07-19 11:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:35: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-07-19 11:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816804608001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816804608001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:35:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:35:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816804608001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":137474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:35:10] local.INFO: GPS data processed {"connection_id":137474,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:35:10] local.INFO: Acknowledgment sent {"connection_id":137474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:35:31] local.INFO: TCP Data received {"connection_id":137475,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:35:31] local.INFO: Processing buffer {"connection_id":137475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:35:31] local.INFO: IMEI packet received {"connection_id":137475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":137475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:35:36] local.INFO: TCP Data received {"connection_id":137475,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:35:36] local.INFO: Processing buffer {"connection_id":137475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:35:36] local.INFO: IMEI packet received {"connection_id":137475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":137475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:35:38] local.INFO: TCP Data received {"connection_id":137475,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:35:38] local.INFO: Processing buffer {"connection_id":137475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:35:38] local.INFO: Packet analysis {"connection_id":137475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78f7"} 
[2026-07-19 11:35:38] local.INFO: Extracted packet for processing {"connection_id":137475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78f7"} 
[2026-07-19 11:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816804608001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:35: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-07-19 11:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784440944000,"timestamp_ms":1784440944000,"timestamp_seconds":1784440944,"priority":1,"record_length":96,"hex_timestamp":"0000019f78f7f580"} 
[2026-07-19 11:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 11:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816804608001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816804608001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:35:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816804608001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":137475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:35:38] local.INFO: GPS data processed {"connection_id":137475,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:35:38] local.INFO: Acknowledgment sent {"connection_id":137475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:36:02] local.INFO: TCP Data received {"connection_id":136405,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136405,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:36:02] local.INFO: Processing buffer {"connection_id":136405,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:36:02] local.INFO: IMEI packet received {"connection_id":136405,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 11:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":136405,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:36:09] local.INFO: TCP Data received {"connection_id":137475,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:36:09] local.INFO: Processing buffer {"connection_id":137475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:36:09] local.INFO: Packet analysis {"connection_id":137475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78f7"} 
[2026-07-19 11:36:09] local.INFO: Extracted packet for processing {"connection_id":137475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78f7"} 
[2026-07-19 11:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816804608001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:36: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-07-19 11:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784440944000,"timestamp_ms":1784440944000,"timestamp_seconds":1784440944,"priority":1,"record_length":96,"hex_timestamp":"0000019f78f7f580"} 
[2026-07-19 11:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 11:36: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-07-19 11:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816804608001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816804608001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:36:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816804608001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":137475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:36:09] local.INFO: GPS data processed {"connection_id":137475,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:36:09] local.INFO: Acknowledgment sent {"connection_id":137475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:36:27] local.INFO: TCP Data received {"connection_id":138896,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:36:27] local.INFO: Processing buffer {"connection_id":138896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:36:27] local.INFO: IMEI packet received {"connection_id":138896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 11:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":138896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:36:31] local.INFO: TCP Data received {"connection_id":137476,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:36:31] local.INFO: Processing buffer {"connection_id":137476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:36:31] local.INFO: IMEI packet received {"connection_id":137476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":137476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:36:36] local.INFO: TCP Data received {"connection_id":137476,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:36:36] local.INFO: Processing buffer {"connection_id":137476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:36:36] local.INFO: IMEI packet received {"connection_id":137476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":137476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:36:37] local.INFO: TCP Data received {"connection_id":137476,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:36:37] local.INFO: Processing buffer {"connection_id":137476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:36:37] local.INFO: Packet analysis {"connection_id":137476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78f7"} 
[2026-07-19 11:36:37] local.INFO: Extracted packet for processing {"connection_id":137476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78f7"} 
[2026-07-19 11:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816804608001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:36: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-07-19 11:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784440944000,"timestamp_ms":1784440944000,"timestamp_seconds":1784440944,"priority":1,"record_length":96,"hex_timestamp":"0000019f78f7f580"} 
[2026-07-19 11:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 11:36: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-07-19 11: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-07-19 11:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:36:37] 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-07-19 11:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816804608001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816804608001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816804608001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":137476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:36:37] local.INFO: GPS data processed {"connection_id":137476,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:36:37] local.INFO: Acknowledgment sent {"connection_id":137476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:37:10] local.INFO: TCP Data received {"connection_id":137476,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:37:10] local.INFO: Processing buffer {"connection_id":137476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:37:10] local.INFO: Packet analysis {"connection_id":137476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78f7"} 
[2026-07-19 11:37:10] local.INFO: Extracted packet for processing {"connection_id":137476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78f7"} 
[2026-07-19 11:37:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816804608001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:37: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-07-19 11:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784440944000,"timestamp_ms":1784440944000,"timestamp_seconds":1784440944,"priority":1,"record_length":96,"hex_timestamp":"0000019f78f7f580"} 
[2026-07-19 11:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 11:37: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-07-19 11:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:37:10] 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-07-19 11:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816804608001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816804608001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:37:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:37:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816804608001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":137476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:37:10] local.INFO: GPS data processed {"connection_id":137476,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:37:10] local.INFO: Acknowledgment sent {"connection_id":137476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:37:31] local.INFO: TCP Data received {"connection_id":136537,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:37:31] local.INFO: Processing buffer {"connection_id":136537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:37:31] local.INFO: IMEI packet received {"connection_id":136537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":136537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:37:36] local.INFO: TCP Data received {"connection_id":136537,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:37:36] local.INFO: Processing buffer {"connection_id":136537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:37:36] local.INFO: IMEI packet received {"connection_id":136537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":136537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:37:38] local.INFO: TCP Data received {"connection_id":136537,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:37:38] local.INFO: Processing buffer {"connection_id":136537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78f7f580012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:37:38] local.INFO: Packet analysis {"connection_id":136537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78f7"} 
[2026-07-19 11:37:38] local.INFO: Extracted packet for processing {"connection_id":136537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78f7"} 
[2026-07-19 11:37:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816804608001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:37: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-07-19 11:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784440944000,"timestamp_ms":1784440944000,"timestamp_seconds":1784440944,"priority":1,"record_length":96,"hex_timestamp":"0000019f78f7f580"} 
[2026-07-19 11:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 11:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816804608001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816804608001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:37:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:37:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816804608001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":136537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:37:38] local.INFO: GPS data processed {"connection_id":136537,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:37:38] local.INFO: Acknowledgment sent {"connection_id":136537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:38:09] local.INFO: TCP Data received {"connection_id":136537,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:38:09] local.INFO: Processing buffer {"connection_id":136537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:38:09] local.INFO: Packet analysis {"connection_id":136537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78fc"} 
[2026-07-19 11:38:09] local.INFO: Extracted packet for processing {"connection_id":136537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78fc"} 
[2026-07-19 11:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816881664001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:38: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-07-19 11:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784441245000,"timestamp_ms":1784441245000,"timestamp_seconds":1784441245,"priority":1,"record_length":96,"hex_timestamp":"0000019f78fc8d48"} 
[2026-07-19 11:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 11:38: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-07-19 11:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:38:09] 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-07-19 11:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816881664001,"66":25647,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816881664001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:38:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816881664001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":136537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:38:09] local.INFO: GPS data processed {"connection_id":136537,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:38:09] local.INFO: Acknowledgment sent {"connection_id":136537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:38:36] local.INFO: TCP Data received {"connection_id":137477,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:38:36] local.INFO: Processing buffer {"connection_id":137477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:38:36] local.INFO: IMEI packet received {"connection_id":137477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":137477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:38:41] local.INFO: TCP Data received {"connection_id":137477,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:38:41] local.INFO: Processing buffer {"connection_id":137477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:38:41] local.INFO: IMEI packet received {"connection_id":137477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":137477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:38:42] local.INFO: TCP Data received {"connection_id":137477,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:38:42] local.INFO: Processing buffer {"connection_id":137477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:38:42] local.INFO: Packet analysis {"connection_id":137477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78fc"} 
[2026-07-19 11:38:42] local.INFO: Extracted packet for processing {"connection_id":137477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78fc"} 
[2026-07-19 11:38:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816881664001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784441245000,"timestamp_ms":1784441245000,"timestamp_seconds":1784441245,"priority":1,"record_length":96,"hex_timestamp":"0000019f78fc8d48"} 
[2026-07-19 11:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 11:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:38:42] 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-07-19 11:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816881664001,"66":25647,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816881664001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:38:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:38:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816881664001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":137477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:38:42] local.INFO: GPS data processed {"connection_id":137477,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:38:42] local.INFO: Acknowledgment sent {"connection_id":137477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:39:15] local.INFO: TCP Data received {"connection_id":137477,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:39:15] local.INFO: Processing buffer {"connection_id":137477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:39:15] local.INFO: Packet analysis {"connection_id":137477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78fc"} 
[2026-07-19 11:39:15] local.INFO: Extracted packet for processing {"connection_id":137477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78fc"} 
[2026-07-19 11:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816881664001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784441245000,"timestamp_ms":1784441245000,"timestamp_seconds":1784441245,"priority":1,"record_length":96,"hex_timestamp":"0000019f78fc8d48"} 
[2026-07-19 11:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 11:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":137477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":137477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":137477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:39:15] 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-07-19 11:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816881664001,"66":25647,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816881664001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816881664001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":137477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:39:15] local.INFO: GPS data processed {"connection_id":137477,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:39:15] local.INFO: Acknowledgment sent {"connection_id":137477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:39:31] local.INFO: TCP Data received {"connection_id":137478,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:39:31] local.INFO: Processing buffer {"connection_id":137478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:39:31] local.INFO: IMEI packet received {"connection_id":137478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":137478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:39:36] local.INFO: TCP Data received {"connection_id":137478,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:39:36] local.INFO: Processing buffer {"connection_id":137478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:39:36] local.INFO: IMEI packet received {"connection_id":137478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":137478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:39:38] local.INFO: TCP Data received {"connection_id":137478,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:39:38] local.INFO: Processing buffer {"connection_id":137478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:39:38] local.INFO: Packet analysis {"connection_id":137478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78fc"} 
[2026-07-19 11:39:38] local.INFO: Extracted packet for processing {"connection_id":137478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78fc"} 
[2026-07-19 11:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816881664001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:39: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-07-19 11:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784441245000,"timestamp_ms":1784441245000,"timestamp_seconds":1784441245,"priority":1,"record_length":96,"hex_timestamp":"0000019f78fc8d48"} 
[2026-07-19 11:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 11:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816881664001,"66":25647,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816881664001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:39:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:39:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816881664001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":137478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:39:38] local.INFO: GPS data processed {"connection_id":137478,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:39:38] local.INFO: Acknowledgment sent {"connection_id":137478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:40:09] local.INFO: TCP Data received {"connection_id":137478,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:40:09] local.INFO: Processing buffer {"connection_id":137478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:40:09] local.INFO: Packet analysis {"connection_id":137478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78fc"} 
[2026-07-19 11:40:09] local.INFO: Extracted packet for processing {"connection_id":137478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78fc"} 
[2026-07-19 11:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816881664001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:40: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-07-19 11:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784441245000,"timestamp_ms":1784441245000,"timestamp_seconds":1784441245,"priority":1,"record_length":96,"hex_timestamp":"0000019f78fc8d48"} 
[2026-07-19 11:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 11:40: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-07-19 11:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816881664001,"66":25647,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816881664001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816881664001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":137478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:40:09] local.INFO: GPS data processed {"connection_id":137478,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:40:09] local.INFO: Acknowledgment sent {"connection_id":137478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:40:12] local.INFO: TCP Data received {"connection_id":136407,"ip":"117.225.168.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:40:12] local.INFO: Processing buffer {"connection_id":136407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:40:12] local.INFO: IMEI packet received {"connection_id":136407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 11:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":136407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:40:14] local.INFO: TCP Data received {"connection_id":136407,"ip":"117.225.168.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:40:14] local.INFO: Processing buffer {"connection_id":136407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:40:14] local.INFO: IMEI packet received {"connection_id":136407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":136407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:40:16] local.INFO: TCP Data received {"connection_id":136407,"ip":"117.225.168.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:40:16] local.INFO: Processing buffer {"connection_id":136407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:40:16] local.INFO: IMEI packet received {"connection_id":136407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":136407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:40:18] local.INFO: TCP Data received {"connection_id":136407,"ip":"117.225.168.74","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-19 11:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136407,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-19 11:40:18] local.INFO: Processing buffer {"connection_id":136407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-19 11:40:18] local.INFO: Packet analysis {"connection_id":136407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-19 11:40:18] local.INFO: Extracted packet for processing {"connection_id":136407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-19 11:40: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-07-19 11:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7082164847902720,"note":"Value kept but may cause issues"} 
[2026-07-19 11:40:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-19 11:40:18] 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-07-19 11:40:18] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-19 11:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":136407,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":136407,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-19 11:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":136407,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-19 11:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.168.74","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-19 11:40:18] local.WARNING: DEBUG: No valid data to process  
[2026-07-19 11:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":136407,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-19 11:40:18] local.ERROR: GPS data processing failed {"connection_id":136407,"error":"No valid data to process"} 
[2026-07-19 11:40:18] local.INFO: Acknowledgment sent {"connection_id":136407,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-19 11:40:31] local.INFO: TCP Data received {"connection_id":138898,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:40:31] local.INFO: Processing buffer {"connection_id":138898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:40:31] local.INFO: IMEI packet received {"connection_id":138898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":138898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:40:36] local.INFO: TCP Data received {"connection_id":138898,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:40:37] local.INFO: Processing buffer {"connection_id":138898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:40:37] local.INFO: IMEI packet received {"connection_id":138898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":138898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:40:38] local.INFO: TCP Data received {"connection_id":138898,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:40:38] local.INFO: Processing buffer {"connection_id":138898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:40:38] local.INFO: Packet analysis {"connection_id":138898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78fc"} 
[2026-07-19 11:40:38] local.INFO: Extracted packet for processing {"connection_id":138898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78fc"} 
[2026-07-19 11:40:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 11:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816881664001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:40: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-07-19 11:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784441245000,"timestamp_ms":1784441245000,"timestamp_seconds":1784441245,"priority":1,"record_length":96,"hex_timestamp":"0000019f78fc8d48"} 
[2026-07-19 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-07-19 11:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 11:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 11:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816881664001,"66":25647,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816881664001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:40:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:40:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816881664001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":138898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:40:38] local.INFO: GPS data processed {"connection_id":138898,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:40:38] local.INFO: Acknowledgment sent {"connection_id":138898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:40:50] local.INFO: TCP Data received {"connection_id":136407,"ip":"117.225.168.74","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-19 11:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-19 11:40:50] local.INFO: Processing buffer {"connection_id":136407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-19 11:40:50] local.INFO: Packet analysis {"connection_id":136407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-19 11:40:50] local.INFO: Extracted packet for processing {"connection_id":136407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-19 11:40:50] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7082164847902720,"note":"Value kept but may cause issues"} 
[2026-07-19 11:40:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-19 11:40:50] 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-07-19 11:40:50] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-19 11:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":136407,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":136407,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-19 11:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":136407,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-19 11:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.168.74","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-19 11:40:50] local.WARNING: DEBUG: No valid data to process  
[2026-07-19 11:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":136407,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-19 11:40:50] local.ERROR: GPS data processing failed {"connection_id":136407,"error":"No valid data to process"} 
[2026-07-19 11:40:50] local.INFO: Acknowledgment sent {"connection_id":136407,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-19 11:41:10] local.INFO: TCP Data received {"connection_id":138898,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:41:10] local.INFO: Processing buffer {"connection_id":138898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:41:10] local.INFO: Packet analysis {"connection_id":138898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78fc"} 
[2026-07-19 11:41:10] local.INFO: Extracted packet for processing {"connection_id":138898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78fc"} 
[2026-07-19 11:41:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816881664001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:41: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-07-19 11:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784441245000,"timestamp_ms":1784441245000,"timestamp_seconds":1784441245,"priority":1,"record_length":96,"hex_timestamp":"0000019f78fc8d48"} 
[2026-07-19 11:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 11:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:41:10] 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-07-19 11:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816881664001,"66":25647,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816881664001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:41:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:41:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816881664001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":138898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:41:10] local.INFO: GPS data processed {"connection_id":138898,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:41:10] local.INFO: Acknowledgment sent {"connection_id":138898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:41:21] local.INFO: TCP Data received {"connection_id":136407,"ip":"117.225.168.74","data_length":795,"data_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-07-19 11:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-07-19 11:41:21] local.INFO: Processing buffer {"connection_id":136407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-07-19 11:41:21] local.INFO: Packet analysis {"connection_id":136407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-19 11:41:21] local.INFO: Extracted packet for processing {"connection_id":136407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-19 11:41: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-07-19 11: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-07-19 11:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7082164847902720,"note":"Value kept but may cause issues"} 
[2026-07-19 11:41:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-19 11:41:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":90000,"timestamp_seconds":90,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 11:41:21] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-19 11:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":136407,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":136407,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-19 11:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":136407,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-19 11:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.168.74","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-19 11:41:21] local.WARNING: DEBUG: No valid data to process  
[2026-07-19 11:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":136407,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-19 11:41:21] local.ERROR: GPS data processing failed {"connection_id":136407,"error":"No valid data to process"} 
[2026-07-19 11:41:21] local.INFO: Acknowledgment sent {"connection_id":136407,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-19 11:41:31] local.INFO: TCP Data received {"connection_id":136408,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:41:31] local.INFO: Processing buffer {"connection_id":136408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:41:31] local.INFO: IMEI packet received {"connection_id":136408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":136408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:41:36] local.INFO: TCP Data received {"connection_id":136408,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:41:36] local.INFO: Processing buffer {"connection_id":136408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:41:36] local.INFO: IMEI packet received {"connection_id":136408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":136408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:41:38] local.INFO: TCP Data received {"connection_id":136408,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:41:38] local.INFO: Processing buffer {"connection_id":136408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:41:38] local.INFO: Packet analysis {"connection_id":136408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78fc"} 
[2026-07-19 11:41:38] local.INFO: Extracted packet for processing {"connection_id":136408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78fc"} 
[2026-07-19 11:41:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816881664001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11: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-07-19 11:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784441245000,"timestamp_ms":1784441245000,"timestamp_seconds":1784441245,"priority":1,"record_length":96,"hex_timestamp":"0000019f78fc8d48"} 
[2026-07-19 11:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 11:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:41:38] 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-07-19 11:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816881664001,"66":25647,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816881664001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:41:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:41:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816881664001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":136408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:41:38] local.INFO: GPS data processed {"connection_id":136408,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:41:38] local.INFO: Acknowledgment sent {"connection_id":136408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:41:47] local.INFO: TCP Data received {"connection_id":137479,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:41:47] local.INFO: Processing buffer {"connection_id":137479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:41:47] local.INFO: IMEI packet received {"connection_id":137479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 11:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":137479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:41:53] local.INFO: TCP Data received {"connection_id":136407,"ip":"117.225.168.74","data_length":795,"data_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-07-19 11:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136407,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-07-19 11:41:53] local.INFO: Processing buffer {"connection_id":136407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-07-19 11:41:53] local.INFO: Packet analysis {"connection_id":136407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-19 11:41:53] local.INFO: Extracted packet for processing {"connection_id":136407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-19 11:41: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-07-19 11: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-07-19 11:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7082164847902720,"note":"Value kept but may cause issues"} 
[2026-07-19 11:41:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-19 11:41:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":111000,"timestamp_seconds":111,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 11:41:53] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-19 11:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":136407,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":136407,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-19 11:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":136407,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-19 11:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.168.74","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-19 11:41:53] local.WARNING: DEBUG: No valid data to process  
[2026-07-19 11:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":136407,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-19 11:41:53] local.ERROR: GPS data processing failed {"connection_id":136407,"error":"No valid data to process"} 
[2026-07-19 11:41:53] local.INFO: Acknowledgment sent {"connection_id":136407,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-19 11:42:09] local.INFO: TCP Data received {"connection_id":136408,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:42:09] local.INFO: Processing buffer {"connection_id":136408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:42:09] local.INFO: Packet analysis {"connection_id":136408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78fc"} 
[2026-07-19 11:42:09] local.INFO: Extracted packet for processing {"connection_id":136408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78fc"} 
[2026-07-19 11:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816881664001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11: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-07-19 11:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784441245000,"timestamp_ms":1784441245000,"timestamp_seconds":1784441245,"priority":1,"record_length":96,"hex_timestamp":"0000019f78fc8d48"} 
[2026-07-19 11:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 11:42: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-07-19 11: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-07-19 11:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:42:09] 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-07-19 11:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816881664001,"66":25647,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816881664001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:42:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816881664001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":136408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:42:09] local.INFO: GPS data processed {"connection_id":136408,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:42:09] local.INFO: Acknowledgment sent {"connection_id":136408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:42:24] local.INFO: TCP Data received {"connection_id":136407,"ip":"117.225.168.74","data_length":795,"data_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-07-19 11:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136407,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-07-19 11:42:24] local.INFO: Processing buffer {"connection_id":136407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-07-19 11:42:24] local.INFO: Packet analysis {"connection_id":136407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-19 11:42:24] local.INFO: Extracted packet for processing {"connection_id":136407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-19 11:42: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-07-19 11: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-07-19 11:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7082164847902720,"note":"Value kept but may cause issues"} 
[2026-07-19 11:42:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-19 11:42:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":132000,"timestamp_seconds":132,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 11:42:24] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-19 11:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":136407,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":136407,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-19 11:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":136407,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-19 11:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.168.74","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-19 11:42:24] local.WARNING: DEBUG: No valid data to process  
[2026-07-19 11:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":136407,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-19 11:42:24] local.ERROR: GPS data processing failed {"connection_id":136407,"error":"No valid data to process"} 
[2026-07-19 11:42:24] local.INFO: Acknowledgment sent {"connection_id":136407,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-19 11:42:26] local.INFO: TCP Data received {"connection_id":138899,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:42:26] local.INFO: Processing buffer {"connection_id":138899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:42:26] local.INFO: IMEI packet received {"connection_id":138899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 11:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":138899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:42:36] local.INFO: TCP Data received {"connection_id":136540,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:42:36] local.INFO: Processing buffer {"connection_id":136540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:42:36] local.INFO: IMEI packet received {"connection_id":136540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":136540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:42:41] local.INFO: TCP Data received {"connection_id":136540,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:42:42] local.INFO: Processing buffer {"connection_id":136540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:42:42] local.INFO: IMEI packet received {"connection_id":136540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":136540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:42:43] local.INFO: TCP Data received {"connection_id":136540,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:42:43] local.INFO: Processing buffer {"connection_id":136540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:42:43] local.INFO: Packet analysis {"connection_id":136540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78fc"} 
[2026-07-19 11:42:43] local.INFO: Extracted packet for processing {"connection_id":136540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78fc"} 
[2026-07-19 11:42:43] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816881664001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:42: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-07-19 11:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784441245000,"timestamp_ms":1784441245000,"timestamp_seconds":1784441245,"priority":1,"record_length":96,"hex_timestamp":"0000019f78fc8d48"} 
[2026-07-19 11:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 11:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:42:43] 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-07-19 11:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816881664001,"66":25647,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816881664001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:42:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:42:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816881664001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":136540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:42:43] local.INFO: GPS data processed {"connection_id":136540,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:42:43] local.INFO: Acknowledgment sent {"connection_id":136540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:42:48] local.INFO: TCP Data received {"connection_id":136540,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:42:48] local.INFO: Processing buffer {"connection_id":136540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78fc8d48012d34c50006aa4dd80008009529..."} 
[2026-07-19 11:42:48] local.INFO: Packet analysis {"connection_id":136540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f78fc"} 
[2026-07-19 11:42:48] local.INFO: Extracted packet for processing {"connection_id":136540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f78fc"} 
[2026-07-19 11:42:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816881664001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784441245000,"timestamp_ms":1784441245000,"timestamp_seconds":1784441245,"priority":1,"record_length":96,"hex_timestamp":"0000019f78fc8d48"} 
[2026-07-19 11:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 11:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":136540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":136540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":136540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816881664001,"66":25647,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816881664001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:42:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:42:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816881664001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":136540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:42:48] local.INFO: GPS data processed {"connection_id":136540,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:42:48] local.INFO: Acknowledgment sent {"connection_id":136540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:42:56] local.INFO: TCP Data received {"connection_id":136407,"ip":"117.225.168.74","data_length":795,"data_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-07-19 11:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136407,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-07-19 11:42:56] local.INFO: Processing buffer {"connection_id":136407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-07-19 11:42:56] local.INFO: Packet analysis {"connection_id":136407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-19 11:42:56] local.INFO: Extracted packet for processing {"connection_id":136407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-19 11:42: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-07-19 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-07-19 11:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7082164847902720,"note":"Value kept but may cause issues"} 
[2026-07-19 11:42:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-19 11:42:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":153000,"timestamp_seconds":153,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 11:42:56] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-19 11:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136407,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136407,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-19 11:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136407,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-19 11:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.168.74","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-19 11:42:56] local.WARNING: DEBUG: No valid data to process  
[2026-07-19 11:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":136407,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-19 11:42:56] local.ERROR: GPS data processing failed {"connection_id":136407,"error":"No valid data to process"} 
[2026-07-19 11:42:56] local.INFO: Acknowledgment sent {"connection_id":136407,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-19 11:43:32] local.INFO: TCP Data received {"connection_id":138901,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:43:32] local.INFO: Processing buffer {"connection_id":138901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:43:32] local.INFO: IMEI packet received {"connection_id":138901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":138901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:43:36] local.INFO: TCP Data received {"connection_id":138901,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:43:36] local.INFO: Processing buffer {"connection_id":138901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:43:36] local.INFO: IMEI packet received {"connection_id":138901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":138901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:43:37] local.INFO: TCP Data received {"connection_id":138901,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:43:37] local.INFO: Processing buffer {"connection_id":138901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:43:37] local.INFO: Packet analysis {"connection_id":138901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:43:37] local.INFO: Extracted packet for processing {"connection_id":138901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816958720001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:43: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-07-19 11:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784441546000,"timestamp_ms":1784441546000,"timestamp_seconds":1784441546,"priority":1,"record_length":96,"hex_timestamp":"0000019f79012510"} 
[2026-07-19 11:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 11:43: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-07-19 11:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:43: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-07-19 11:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816958720001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816958720001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:43:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816958720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":138901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:43:37] local.INFO: GPS data processed {"connection_id":138901,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:43:37] local.INFO: Acknowledgment sent {"connection_id":138901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:43:47] local.INFO: TCP Data received {"connection_id":137480,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:43:47] local.INFO: Processing buffer {"connection_id":137480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:43:47] local.INFO: IMEI packet received {"connection_id":137480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 11:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":137480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:43:47] local.INFO: TCP Data received {"connection_id":137480,"ip":"117.224.76.86","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 11:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137480,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 11:43:47] local.INFO: Processing buffer {"connection_id":137480,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 11:43:47] local.INFO: IMEI packet received {"connection_id":137480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":137480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:43:51] local.INFO: TCP Data received {"connection_id":137480,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:43:51] local.INFO: Processing buffer {"connection_id":137480,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 11:43:51] local.INFO: IMEI packet received {"connection_id":137480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":137480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:43:52] local.INFO: TCP Data received {"connection_id":137480,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7900e690012d19cd8007201a18002f004809..."} 
[2026-07-19 11:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7900e690012d19cd8007201a18002f004809..."} 
[2026-07-19 11:43:52] local.INFO: Processing buffer {"connection_id":137480,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f79..."} 
[2026-07-19 11:43:52] local.INFO: IMEI packet received {"connection_id":137480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":137480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:43:57] local.INFO: TCP Data received {"connection_id":137480,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79013898012d19cd0007201a28003c00480a..."} 
[2026-07-19 11:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79013898012d19cd0007201a28003c00480a..."} 
[2026-07-19 11:43:57] local.INFO: Processing buffer {"connection_id":137480,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f7900e690012d19cd8007201a18002f004809..."} 
[2026-07-19 11:43:57] local.INFO: Packet analysis {"connection_id":137480,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f7900"} 
[2026-07-19 11:43:57] local.INFO: Extracted packet for processing {"connection_id":137480,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7900"} 
[2026-07-19 11:43:57] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544344,"longitude_deg":75.6665728,"latitude_deg":11.9544344,"altitude":47,"angle":72,"satellites":9,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"07201a18","is_valid_coordinates":true} 
[2026-07-19 11:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7082164847902720,"note":"Value kept but may cause issues"} 
[2026-07-19 11:43:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-19 11:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784441530000,"timestamp_ms":1784441530000,"timestamp_seconds":1784441530,"priority":1,"record_length":96,"hex_timestamp":"0000019f7900e690"} 
[2026-07-19 11:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:43:57] 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-07-19 11:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-19 11:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12819,"121":206,"28":31744,"24":0,"16":7082164847902720},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16]} 
[2026-07-19 11:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-19 11:43:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 11:43:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7082164847902720,"km_value":7082164847902.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:43:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12819,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null}} 
[2026-07-19 11:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":137480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:43:57] local.INFO: GPS data processed {"connection_id":137480,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:43:57] local.INFO: Acknowledgment sent {"connection_id":137480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:43:57] local.INFO: Packet analysis {"connection_id":137480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:43:57] local.INFO: Extracted packet for processing {"connection_id":137480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:43:57] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119544360,"longitude_deg":75.66656,"latitude_deg":11.954436,"altitude":60,"angle":72,"satellites":10,"speed":0,"hex_longitude":"2d19cd00","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-07-19 11:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817031680001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7082199207641088,"note":"Value kept but may cause issues"} 
[2026-07-19 11:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265590272,"note":"Value kept but may cause issues"} 
[2026-07-19 11:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784441551000,"timestamp_ms":1784441551000,"timestamp_seconds":1784441551,"priority":1,"record_length":96,"hex_timestamp":"0000019f79013898"} 
[2026-07-19 11:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:43:57] 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-07-19 11:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-19 11:43:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-19 11:43:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-07-19 11:43:57] local.WARNING: Large IO value detected {"io_id":113,"raw_value":263887090156032,"note":"Value kept but may cause issues"} 
[2026-07-19 11:43:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":884763263000,"corrected_to":0} 
[2026-07-19 11:43:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":2281766912,"note":"Value kept but may cause issues"} 
[2026-07-19 11:43:57] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72181838867595520,"note":"Value kept but may cause issues"} 
[2026-07-19 11:43:57] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247847,"note":"Value kept but may cause issues"} 
[2026-07-19 11:43:57] local.WARNING: Large IO value detected {"io_id":55,"raw_value":1585493462885649948,"note":"Value kept but may cause issues"} 
[2026-07-19 11:43:57] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-19 11:43:57] local.WARNING: Large IO value detected {"io_id":69,"raw_value":144119587232800256,"note":"Value kept but may cause issues"} 
[2026-07-19 11:43:57] local.WARNING: Large IO value detected {"io_id":88,"raw_value":72057594037927936,"note":"Value kept but may cause issues"} 
[2026-07-19 11:43:57] local.INFO: IO Element Parsed {"io_data_count":29,"io_data_keys":[0,121,28,24,241,158,16,41,85,10,66,3,177,1,240,185,4,113,205,13,239,2,54,25,55,124,49,69,88],"length":625,"final_offset":755,"validated_count":29,"validation_warnings":[{"io_id":205,"original":884763263000,"validated":0}]} 
[2026-07-19 11:43:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386786123274518528,"timestamp_seconds":3386786123274518.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 11:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817031680001,"66":12156,"121":206,"28":31744,"24":0,"16":7082199207641088,"45":1859282989265590272},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 11:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817031680001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:43:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 11:43:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7082199207641088,"km_value":7082199207641.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265590272,"description":"Unknown IO ID 45"} 
[2026-07-19 11:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817031680001,"power":12156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859282989265590272}} 
[2026-07-19 11:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":137480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:43:57] local.INFO: GPS data processed {"connection_id":137480,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:43:57] local.INFO: Acknowledgment sent {"connection_id":137480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:43:58] local.INFO: TCP Data received {"connection_id":137480,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79018aa0012d19cc4007201998003600480f..."} 
[2026-07-19 11:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79018aa0012d19cc4007201998003600480f..."} 
[2026-07-19 11:43:58] local.INFO: Processing buffer {"connection_id":137480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79018aa0012d19cc4007201998003600480f..."} 
[2026-07-19 11:43:58] local.INFO: Packet analysis {"connection_id":137480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:43:58] local.INFO: Extracted packet for processing {"connection_id":137480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:43:58] local.INFO: GPS Element Parsed {"raw_longitude":756665408,"raw_latitude":119544216,"longitude_deg":75.6665408,"latitude_deg":11.9544216,"altitude":54,"angle":72,"satellites":15,"speed":0,"hex_longitude":"2d19cc40","hex_latitude":"07201998","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817037056001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7082220682477568,"note":"Value kept but may cause issues"} 
[2026-07-19 11:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777239040,"note":"Value kept but may cause issues"} 
[2026-07-19 11:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784441572000,"timestamp_ms":1784441572000,"timestamp_seconds":1784441572,"priority":1,"record_length":96,"hex_timestamp":"0000019f79018aa0"} 
[2026-07-19 11:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:43:58] 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-07-19 11: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-19 11:43:58] 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-07-19 11: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-07-19 11:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":137480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":137480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":137480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817037056001,"66":12145,"121":206,"28":31744,"24":0,"16":7082220682477568,"45":1859142251777239040},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 11:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817037056001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:43:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 11:43:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7082220682477568,"km_value":7082220682477.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777239040,"description":"Unknown IO ID 45"} 
[2026-07-19 11:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817037056001,"power":12145,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859142251777239040}} 
[2026-07-19 11:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":137480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:43:58] local.INFO: GPS data processed {"connection_id":137480,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:43:58] local.INFO: Acknowledgment sent {"connection_id":137480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:44:09] local.INFO: TCP Data received {"connection_id":138901,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:44:09] local.INFO: Processing buffer {"connection_id":138901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:44:09] local.INFO: Packet analysis {"connection_id":138901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:44:09] local.INFO: Extracted packet for processing {"connection_id":138901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 11:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816958720001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11: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-07-19 11:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784441546000,"timestamp_ms":1784441546000,"timestamp_seconds":1784441546,"priority":1,"record_length":96,"hex_timestamp":"0000019f79012510"} 
[2026-07-19 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-07-19 11:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 11:44: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-07-19 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-07-19 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-07-19 11:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:44: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-07-19 11:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816958720001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816958720001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:44:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816958720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":138901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:44:09] local.INFO: GPS data processed {"connection_id":138901,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:44:09] local.INFO: Acknowledgment sent {"connection_id":138901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:44:29] local.INFO: TCP Data received {"connection_id":137480,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79025d90012d19cc0007201a580036014613..."} 
[2026-07-19 11:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79025d90012d19cc0007201a580036014613..."} 
[2026-07-19 11:44:29] local.INFO: Processing buffer {"connection_id":137480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79025d90012d19cc0007201a580036014613..."} 
[2026-07-19 11:44:29] local.INFO: Packet analysis {"connection_id":137480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7902"} 
[2026-07-19 11:44:29] local.INFO: Extracted packet for processing {"connection_id":137480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7902"} 
[2026-07-19 11:44:29] local.INFO: GPS Element Parsed {"raw_longitude":756665344,"raw_latitude":119544408,"longitude_deg":75.6665344,"latitude_deg":11.9544408,"altitude":54,"angle":326,"satellites":19,"speed":3,"hex_longitude":"2d19cc00","hex_latitude":"07201a58","is_valid_coordinates":true} 
[2026-07-19 11:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817042432001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7082242157314048,"note":"Value kept but may cause issues"} 
[2026-07-19 11:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858931145544669184,"note":"Value kept but may cause issues"} 
[2026-07-19 11:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784441626000,"timestamp_ms":1784441626000,"timestamp_seconds":1784441626,"priority":1,"record_length":96,"hex_timestamp":"0000019f79025d90"} 
[2026-07-19 11:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:44:29] 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-07-19 11:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-19 11:44:29] 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-07-19 11:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":137480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":137480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":137480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817042432001,"66":13928,"121":206,"28":31744,"24":3,"16":7082242157314048,"45":1858931145544669184},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 11:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817042432001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:44:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 11:44:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7082242157314048,"km_value":7082242157314.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858931145544669184,"description":"Unknown IO ID 45"} 
[2026-07-19 11:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817042432001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1858931145544669184}} 
[2026-07-19 11:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":137480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:44:29] local.INFO: GPS data processed {"connection_id":137480,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:44:29] local.INFO: Acknowledgment sent {"connection_id":137480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:44:31] local.INFO: TCP Data received {"connection_id":136541,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:44:31] local.INFO: Processing buffer {"connection_id":136541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:44:31] local.INFO: IMEI packet received {"connection_id":136541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":136541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:44:36] local.INFO: TCP Data received {"connection_id":136541,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:44:36] local.INFO: Processing buffer {"connection_id":136541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:44:36] local.INFO: IMEI packet received {"connection_id":136541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":136541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:44:38] local.INFO: TCP Data received {"connection_id":136541,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:44:38] local.INFO: Processing buffer {"connection_id":136541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:44:38] local.INFO: Packet analysis {"connection_id":136541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:44:38] local.INFO: Extracted packet for processing {"connection_id":136541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816958720001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:44: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-07-19 11:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784441546000,"timestamp_ms":1784441546000,"timestamp_seconds":1784441546,"priority":1,"record_length":96,"hex_timestamp":"0000019f79012510"} 
[2026-07-19 11:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 11:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:44: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-07-19 11:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816958720001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816958720001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:44:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816958720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":136541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:44:38] local.INFO: GPS data processed {"connection_id":136541,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:44:38] local.INFO: Acknowledgment sent {"connection_id":136541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:45:01] local.INFO: TCP Data received {"connection_id":137480,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79034020012d19bf400720a6800036006c14..."} 
[2026-07-19 11:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79034020012d19bf400720a6800036006c14..."} 
[2026-07-19 11:45:01] local.INFO: Processing buffer {"connection_id":137480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79034020012d19bf400720a6800036006c14..."} 
[2026-07-19 11:45:01] local.INFO: Packet analysis {"connection_id":137480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7903"} 
[2026-07-19 11:45:01] local.INFO: Extracted packet for processing {"connection_id":137480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7903"} 
[2026-07-19 11:45:01] local.INFO: GPS Element Parsed {"raw_longitude":756662080,"raw_latitude":119580288,"longitude_deg":75.666208,"latitude_deg":11.9580288,"altitude":54,"angle":108,"satellites":20,"speed":12,"hex_longitude":"2d19bf40","hex_latitude":"0720a680","is_valid_coordinates":true} 
[2026-07-19 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-07-19 11:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817070592001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7084162007695360,"note":"Value kept but may cause issues"} 
[2026-07-19 11:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854849758391599104,"note":"Value kept but may cause issues"} 
[2026-07-19 11:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784441684000,"timestamp_ms":1784441684000,"timestamp_seconds":1784441684,"priority":1,"record_length":96,"hex_timestamp":"0000019f79034020"} 
[2026-07-19 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-07-19 11:45:01] 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-07-19 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-19 11:45:01] 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-07-19 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-07-19 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-07-19 11:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817070592001,"66":13798,"121":206,"28":31744,"24":12,"16":7084162007695360,"45":1854849758391599104},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 11:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817070592001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:45:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 11:45:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7084162007695360,"km_value":7084162007695.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854849758391599104,"description":"Unknown IO ID 45"} 
[2026-07-19 11:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817070592001,"power":13798,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1854849758391599104}} 
[2026-07-19 11:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":137480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:45:01] local.INFO: GPS data processed {"connection_id":137480,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:45:01] local.INFO: Acknowledgment sent {"connection_id":137480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:45:09] local.INFO: TCP Data received {"connection_id":136541,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:45:09] local.INFO: Processing buffer {"connection_id":136541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:45:09] local.INFO: Packet analysis {"connection_id":136541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:45:09] local.INFO: Extracted packet for processing {"connection_id":136541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816958720001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:45: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-07-19 11:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784441546000,"timestamp_ms":1784441546000,"timestamp_seconds":1784441546,"priority":1,"record_length":96,"hex_timestamp":"0000019f79012510"} 
[2026-07-19 11:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 11:45: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-07-19 11:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:45:09] 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-07-19 11:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816958720001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816958720001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:45:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816958720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":136541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:45:09] local.INFO: GPS data processed {"connection_id":136541,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:45:09] local.INFO: Acknowledgment sent {"connection_id":136541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:45:31] local.INFO: TCP Data received {"connection_id":137481,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:45:31] local.INFO: Processing buffer {"connection_id":137481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:45:31] local.INFO: IMEI packet received {"connection_id":137481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":137481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:45:32] local.INFO: TCP Data received {"connection_id":137480,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79034408012d19bfc00720a5e80037008314..."} 
[2026-07-19 11:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79034408012d19bfc00720a5e80037008314..."} 
[2026-07-19 11:45:32] local.INFO: Processing buffer {"connection_id":137480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79034408012d19bfc00720a5e80037008314..."} 
[2026-07-19 11:45:32] local.INFO: Packet analysis {"connection_id":137480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7903"} 
[2026-07-19 11:45:32] local.INFO: Extracted packet for processing {"connection_id":137480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7903"} 
[2026-07-19 11:45:32] local.INFO: GPS Element Parsed {"raw_longitude":756662208,"raw_latitude":119580136,"longitude_deg":75.6662208,"latitude_deg":11.9580136,"altitude":55,"angle":131,"satellites":20,"speed":10,"hex_longitude":"2d19bfc0","hex_latitude":"0720a5e8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 11:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817071104001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7084170597629952,"note":"Value kept but may cause issues"} 
[2026-07-19 11:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855271970856665088,"note":"Value kept but may cause issues"} 
[2026-07-19 11:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784441685000,"timestamp_ms":1784441685000,"timestamp_seconds":1784441685,"priority":1,"record_length":96,"hex_timestamp":"0000019f79034408"} 
[2026-07-19 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-07-19 11:45:32] 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-07-19 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-19 11:45: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-07-19 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-07-19 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-07-19 11:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":137480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":137480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":137480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817071104001,"66":13004,"121":206,"28":31744,"24":10,"16":7084170597629952,"45":1855271970856665088},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 11:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817071104001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:45:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 11:45:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7084170597629952,"km_value":7084170597629.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855271970856665088,"description":"Unknown IO ID 45"} 
[2026-07-19 11:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817071104001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1855271970856665088}} 
[2026-07-19 11:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":137480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:45:32] local.INFO: GPS data processed {"connection_id":137480,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:45:32] local.INFO: Acknowledgment sent {"connection_id":137480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:45:36] local.INFO: TCP Data received {"connection_id":137481,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:45:36] local.INFO: Processing buffer {"connection_id":137481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:45:36] local.INFO: IMEI packet received {"connection_id":137481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":137481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:45:37] local.INFO: TCP Data received {"connection_id":137481,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:45:37] local.INFO: Processing buffer {"connection_id":137481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:45:37] local.INFO: Packet analysis {"connection_id":137481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:45:37] local.INFO: Extracted packet for processing {"connection_id":137481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816958720001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:45: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-07-19 11:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784441546000,"timestamp_ms":1784441546000,"timestamp_seconds":1784441546,"priority":1,"record_length":96,"hex_timestamp":"0000019f79012510"} 
[2026-07-19 11:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 11:45: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-07-19 11:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816958720001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816958720001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:45:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816958720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":137481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:45:37] local.INFO: GPS data processed {"connection_id":137481,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:45:37] local.INFO: Acknowledgment sent {"connection_id":137481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:46:04] local.INFO: TCP Data received {"connection_id":137480,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f790347f0012d19c0000720a5300036009514..."} 
[2026-07-19 11:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790347f0012d19c0000720a5300036009514..."} 
[2026-07-19 11:46:04] local.INFO: Processing buffer {"connection_id":137480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790347f0012d19c0000720a5300036009514..."} 
[2026-07-19 11:46:04] local.INFO: Packet analysis {"connection_id":137480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7903"} 
[2026-07-19 11:46:04] local.INFO: Extracted packet for processing {"connection_id":137480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7903"} 
[2026-07-19 11:46:04] local.INFO: GPS Element Parsed {"raw_longitude":756662272,"raw_latitude":119579952,"longitude_deg":75.6662272,"latitude_deg":11.9579952,"altitude":54,"angle":149,"satellites":20,"speed":9,"hex_longitude":"2d19c000","hex_latitude":"0720a530","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817071360001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7084179187564544,"note":"Value kept but may cause issues"} 
[2026-07-19 11:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855412708344981504,"note":"Value kept but may cause issues"} 
[2026-07-19 11:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784441686000,"timestamp_ms":1784441686000,"timestamp_seconds":1784441686,"priority":1,"record_length":96,"hex_timestamp":"0000019f790347f0"} 
[2026-07-19 11:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:46:04] 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-07-19 11:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-19 11:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11: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-07-19 11:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":137480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":137480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":137480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817071360001,"66":13004,"121":206,"28":31744,"24":9,"16":7084179187564544,"45":1855412708344981504},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 11:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817071360001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:46:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 11:46:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7084179187564544,"km_value":7084179187564.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855412708344981504,"description":"Unknown IO ID 45"} 
[2026-07-19 11:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817071360001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1855412708344981504}} 
[2026-07-19 11:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":137480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:46:04] local.INFO: GPS data processed {"connection_id":137480,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:46:04] local.INFO: Acknowledgment sent {"connection_id":137480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:46:09] local.INFO: TCP Data received {"connection_id":137481,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:46:09] local.INFO: Processing buffer {"connection_id":137481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:46:09] local.INFO: Packet analysis {"connection_id":137481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:46:09] local.INFO: Extracted packet for processing {"connection_id":137481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816958720001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:46: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-07-19 11:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784441546000,"timestamp_ms":1784441546000,"timestamp_seconds":1784441546,"priority":1,"record_length":96,"hex_timestamp":"0000019f79012510"} 
[2026-07-19 11:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 11:46: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-07-19 11: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-07-19 11:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816958720001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816958720001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:46:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816958720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":137481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:46:09] local.INFO: GPS data processed {"connection_id":137481,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:46:09] local.INFO: Acknowledgment sent {"connection_id":137481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:46:31] local.INFO: TCP Data received {"connection_id":137482,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:46:31] local.INFO: Processing buffer {"connection_id":137482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:46:31] local.INFO: IMEI packet received {"connection_id":137482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":137482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:46:36] local.INFO: TCP Data received {"connection_id":137480,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7904af50012d190e400720c6c00038012815..."} 
[2026-07-19 11:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7904af50012d190e400720c6c00038012815..."} 
[2026-07-19 11:46:36] local.INFO: Processing buffer {"connection_id":137480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7904af50012d190e400720c6c00038012815..."} 
[2026-07-19 11:46:36] local.INFO: Packet analysis {"connection_id":137480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7904"} 
[2026-07-19 11:46:36] local.INFO: Extracted packet for processing {"connection_id":137480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7904"} 
[2026-07-19 11:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756616768,"raw_latitude":119588544,"longitude_deg":75.6616768,"latitude_deg":11.9588544,"altitude":56,"angle":296,"satellites":21,"speed":35,"hex_longitude":"2d190e40","hex_latitude":"0720c6c0","is_valid_coordinates":true} 
[2026-07-19 11:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817092864001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7086498469904384,"note":"Value kept but may cause issues"} 
[2026-07-19 11:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1814880311699929088,"note":"Value kept but may cause issues"} 
[2026-07-19 11:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784441778000,"timestamp_ms":1784441778000,"timestamp_seconds":1784441778,"priority":1,"record_length":96,"hex_timestamp":"0000019f7904af50"} 
[2026-07-19 11:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 11:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 11:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817092864001,"66":14428,"121":206,"28":31744,"24":35,"16":7086498469904384,"45":1814880311699929088},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 11:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817092864001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:46:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 11:46:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7086498469904384,"km_value":7086498469904.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1814880311699929088,"description":"Unknown IO ID 45"} 
[2026-07-19 11:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817092864001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1814880311699929088}} 
[2026-07-19 11:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":137480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:46:36] local.INFO: GPS data processed {"connection_id":137480,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:46:36] local.INFO: Acknowledgment sent {"connection_id":137480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:46:37] local.INFO: TCP Data received {"connection_id":137482,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:46:37] local.INFO: Processing buffer {"connection_id":137482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:46:37] local.INFO: IMEI packet received {"connection_id":137482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":137482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:46:38] local.INFO: TCP Data received {"connection_id":137482,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:46:38] local.INFO: Processing buffer {"connection_id":137482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:46:38] local.INFO: Packet analysis {"connection_id":137482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:46:38] local.INFO: Extracted packet for processing {"connection_id":137482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816958720001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:46: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-07-19 11:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784441546000,"timestamp_ms":1784441546000,"timestamp_seconds":1784441546,"priority":1,"record_length":96,"hex_timestamp":"0000019f79012510"} 
[2026-07-19 11:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 11:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11: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-07-19 11:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:46:38] 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-07-19 11:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816958720001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816958720001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:46:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:46:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816958720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":137482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:46:38] local.INFO: GPS data processed {"connection_id":137482,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:46:38] local.INFO: Acknowledgment sent {"connection_id":137482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:46:50] local.INFO: TCP Data received {"connection_id":137483,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:46:50] local.INFO: Processing buffer {"connection_id":137483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:46:50] local.INFO: IMEI packet received {"connection_id":137483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 11:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":137483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:46:51] local.INFO: TCP Data received {"connection_id":137483,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:46:51] local.INFO: Processing buffer {"connection_id":137483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:46:51] local.INFO: IMEI packet received {"connection_id":137483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":137483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:46:57] local.INFO: TCP Data received {"connection_id":137483,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:46:57] local.INFO: Processing buffer {"connection_id":137483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:46:57] local.INFO: IMEI packet received {"connection_id":137483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":137483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:46:58] local.INFO: TCP Data received {"connection_id":137483,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7904bb08012d1905800720cbf8003a013415..."} 
[2026-07-19 11:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7904bb08012d1905800720cbf8003a013415..."} 
[2026-07-19 11:46:58] local.INFO: Processing buffer {"connection_id":137483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7904bb08012d1905800720cbf8003a013415..."} 
[2026-07-19 11:46:58] local.INFO: Packet analysis {"connection_id":137483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7904"} 
[2026-07-19 11:46:58] local.INFO: Extracted packet for processing {"connection_id":137483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7904"} 
[2026-07-19 11:46:58] local.INFO: GPS Element Parsed {"raw_longitude":756614528,"raw_latitude":119589880,"longitude_deg":75.6614528,"latitude_deg":11.958988,"altitude":58,"angle":308,"satellites":21,"speed":30,"hex_longitude":"2d190580","hex_latitude":"0720cbf8","is_valid_coordinates":true} 
[2026-07-19 11:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817095168001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7086623023955968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805450899980992512,"note":"Value kept but may cause issues"} 
[2026-07-19 11:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784441781000,"timestamp_ms":1784441781000,"timestamp_seconds":1784441781,"priority":1,"record_length":96,"hex_timestamp":"0000019f7904bb08"} 
[2026-07-19 11:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:46:58] 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-07-19 11:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-19 11:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":137483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":137483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":137483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817095168001,"66":14461,"121":206,"28":31744,"24":30,"16":7086623023955968,"45":1805450899980992512},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 11:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817095168001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:46:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 11:46:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7086623023955968,"km_value":7086623023955.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805450899980992512,"description":"Unknown IO ID 45"} 
[2026-07-19 11:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817095168001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1805450899980992512}} 
[2026-07-19 11:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":137483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:46:58] local.INFO: GPS data processed {"connection_id":137483,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:46:58] local.INFO: Acknowledgment sent {"connection_id":137483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:47:13] local.INFO: TCP Data received {"connection_id":137482,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:47:13] local.INFO: Processing buffer {"connection_id":137482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:47:13] local.INFO: Packet analysis {"connection_id":137482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:47:13] local.INFO: Extracted packet for processing {"connection_id":137482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:47:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816958720001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11: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-07-19 11:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784441546000,"timestamp_ms":1784441546000,"timestamp_seconds":1784441546,"priority":1,"record_length":96,"hex_timestamp":"0000019f79012510"} 
[2026-07-19 11:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 11:47: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-07-19 11: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-07-19 11:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":137482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":137482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":137482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:47:13] 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-07-19 11:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816958720001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816958720001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:47:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:47:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816958720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":137482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:47:13] local.INFO: GPS data processed {"connection_id":137482,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:47:13] local.INFO: Acknowledgment sent {"connection_id":137482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:47:29] local.INFO: TCP Data received {"connection_id":137483,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7904da48012d18f1400720db78003b014214..."} 
[2026-07-19 11:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7904da48012d18f1400720db78003b014214..."} 
[2026-07-19 11:47:29] local.INFO: Processing buffer {"connection_id":137483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7904da48012d18f1400720db78003b014214..."} 
[2026-07-19 11:47:29] local.INFO: Packet analysis {"connection_id":137483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7904"} 
[2026-07-19 11:47:29] local.INFO: Extracted packet for processing {"connection_id":137483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7904"} 
[2026-07-19 11:47:29] local.INFO: GPS Element Parsed {"raw_longitude":756609344,"raw_latitude":119593848,"longitude_deg":75.6609344,"latitude_deg":11.9593848,"altitude":59,"angle":322,"satellites":20,"speed":33,"hex_longitude":"2d18f140","hex_latitude":"0720db78","is_valid_coordinates":true} 
[2026-07-19 11:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817095936001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7086936556568576,"note":"Value kept but may cause issues"} 
[2026-07-19 11:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802987993935116288,"note":"Value kept but may cause issues"} 
[2026-07-19 11:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784441789000,"timestamp_ms":1784441789000,"timestamp_seconds":1784441789,"priority":1,"record_length":96,"hex_timestamp":"0000019f7904da48"} 
[2026-07-19 11:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:47:29] 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-07-19 11:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-19 11:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":137483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":137483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":137483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817095936001,"66":14428,"121":206,"28":31744,"24":33,"16":7086936556568576,"45":1802987993935116288},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 11:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817095936001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:47:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 11:47:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7086936556568576,"km_value":7086936556568.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802987993935116288,"description":"Unknown IO ID 45"} 
[2026-07-19 11:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817095936001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1802987993935116288}} 
[2026-07-19 11:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":137483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:47:29] local.INFO: GPS data processed {"connection_id":137483,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:47:29] local.INFO: Acknowledgment sent {"connection_id":137483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:47:37] local.INFO: TCP Data received {"connection_id":136411,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:47:37] local.INFO: Processing buffer {"connection_id":136411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:47:37] local.INFO: IMEI packet received {"connection_id":136411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":136411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:47:42] local.INFO: TCP Data received {"connection_id":136411,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:47:42] local.INFO: Processing buffer {"connection_id":136411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:47:42] local.INFO: IMEI packet received {"connection_id":136411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":136411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:47:43] local.INFO: TCP Data received {"connection_id":136411,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:47:43] local.INFO: Processing buffer {"connection_id":136411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:47:43] local.INFO: Packet analysis {"connection_id":136411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:47:43] local.INFO: Extracted packet for processing {"connection_id":136411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:47:43] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816958720001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:47: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-07-19 11:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784441546000,"timestamp_ms":1784441546000,"timestamp_seconds":1784441546,"priority":1,"record_length":96,"hex_timestamp":"0000019f79012510"} 
[2026-07-19 11:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 11:47:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816958720001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816958720001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:47:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:47:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816958720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":136411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:47:43] local.INFO: GPS data processed {"connection_id":136411,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:47:43] local.INFO: Acknowledgment sent {"connection_id":136411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:47:48] local.INFO: TCP Data received {"connection_id":136411,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:47:48] local.INFO: Processing buffer {"connection_id":136411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79012510012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:47:48] local.INFO: Packet analysis {"connection_id":136411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:47:48] local.INFO: Extracted packet for processing {"connection_id":136411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7901"} 
[2026-07-19 11:47:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456816958720001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784441546000,"timestamp_ms":1784441546000,"timestamp_seconds":1784441546,"priority":1,"record_length":96,"hex_timestamp":"0000019f79012510"} 
[2026-07-19 11:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 11:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":136411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":136411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":136411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456816958720001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456816958720001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:47:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:47:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456816958720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":136411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:47:48] local.INFO: GPS data processed {"connection_id":136411,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:47:48] local.INFO: Acknowledgment sent {"connection_id":136411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:47:52] local.INFO: TCP Data received {"connection_id":137484,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:47:52] local.INFO: Processing buffer {"connection_id":137484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:47:52] local.INFO: IMEI packet received {"connection_id":137484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 11:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":137484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:47:52] local.INFO: TCP Data received {"connection_id":136543,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136543,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:47:52] local.INFO: Processing buffer {"connection_id":136543,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:47:52] local.INFO: IMEI packet received {"connection_id":136543,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 11:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":136543,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:47:56] local.INFO: TCP Data received {"connection_id":137484,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:47:56] local.INFO: Processing buffer {"connection_id":137484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:47:56] local.INFO: IMEI packet received {"connection_id":137484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":137484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:47:57] local.INFO: TCP Data received {"connection_id":137484,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7905e3e8012d18c58007213ff80044015c16..."} 
[2026-07-19 11:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7905e3e8012d18c58007213ff80044015c16..."} 
[2026-07-19 11:47:57] local.INFO: Processing buffer {"connection_id":137484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7905e3e8012d18c58007213ff80044015c16..."} 
[2026-07-19 11:47:57] local.INFO: Packet analysis {"connection_id":137484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:47:57] local.INFO: Extracted packet for processing {"connection_id":137484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:47:57] local.INFO: GPS Element Parsed {"raw_longitude":756598144,"raw_latitude":119619576,"longitude_deg":75.6598144,"latitude_deg":11.9619576,"altitude":68,"angle":348,"satellites":22,"speed":30,"hex_longitude":"2d18c580","hex_latitude":"07213ff8","is_valid_coordinates":true} 
[2026-07-19 11:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817113344001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7088465564925952,"note":"Value kept but may cause issues"} 
[2026-07-19 11:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787858713943273472,"note":"Value kept but may cause issues"} 
[2026-07-19 11:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784441857000,"timestamp_ms":1784441857000,"timestamp_seconds":1784441857,"priority":1,"record_length":96,"hex_timestamp":"0000019f7905e3e8"} 
[2026-07-19 11:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:47:57] 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-07-19 11:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-19 11:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817113344001,"66":14374,"121":206,"28":31744,"24":30,"16":7088465564925952,"45":1787858713943273472},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 11:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817113344001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:47:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 11:47:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7088465564925952,"km_value":7088465564925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787858713943273472,"description":"Unknown IO ID 45"} 
[2026-07-19 11:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817113344001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1787858713943273472}} 
[2026-07-19 11:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":137484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:47:57] local.INFO: GPS data processed {"connection_id":137484,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:47:57] local.INFO: Acknowledgment sent {"connection_id":137484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:48:28] local.INFO: TCP Data received {"connection_id":137484,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7905ebb8012d18c4c0072146480044000016..."} 
[2026-07-19 11:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7905ebb8012d18c4c0072146480044000016..."} 
[2026-07-19 11:48:28] local.INFO: Processing buffer {"connection_id":137484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7905ebb8012d18c4c0072146480044000016..."} 
[2026-07-19 11:48:28] local.INFO: Packet analysis {"connection_id":137484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:48:28] local.INFO: Extracted packet for processing {"connection_id":137484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119621192,"longitude_deg":75.6597952,"latitude_deg":11.9621192,"altitude":68,"angle":0,"satellites":22,"speed":31,"hex_longitude":"2d18c4c0","hex_latitude":"07214648","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817115392001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7088542874337280,"note":"Value kept but may cause issues"} 
[2026-07-19 11:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784973595433236480,"note":"Value kept but may cause issues"} 
[2026-07-19 11:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784441859000,"timestamp_ms":1784441859000,"timestamp_seconds":1784441859,"priority":1,"record_length":96,"hex_timestamp":"0000019f7905ebb8"} 
[2026-07-19 11:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 11: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-19 11:48:28] 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-07-19 11: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-07-19 11:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817115392001,"66":13678,"121":206,"28":31744,"24":31,"16":7088542874337280,"45":1784973595433236480},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 11:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817115392001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:48:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 11:48:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7088542874337280,"km_value":7088542874337.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784973595433236480,"description":"Unknown IO ID 45"} 
[2026-07-19 11:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817115392001,"power":13678,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1784973595433236480}} 
[2026-07-19 11:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":137484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:48:28] local.INFO: GPS data processed {"connection_id":137484,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:48:28] local.INFO: Acknowledgment sent {"connection_id":137484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:48:32] local.INFO: TCP Data received {"connection_id":136544,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:48:32] local.INFO: Processing buffer {"connection_id":136544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:48:32] local.INFO: IMEI packet received {"connection_id":136544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":136544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:48:32] local.INFO: TCP Data received {"connection_id":136412,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136412,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:48:32] local.INFO: Processing buffer {"connection_id":136412,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:48:32] local.INFO: IMEI packet received {"connection_id":136412,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 11:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":136412,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:48:36] local.INFO: TCP Data received {"connection_id":136544,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:48:36] local.INFO: Processing buffer {"connection_id":136544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:48:36] local.INFO: IMEI packet received {"connection_id":136544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":136544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:48:37] local.INFO: TCP Data received {"connection_id":136544,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:48:37] local.INFO: Processing buffer {"connection_id":136544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:48:37] local.INFO: Packet analysis {"connection_id":136544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:48:37] local.INFO: Extracted packet for processing {"connection_id":136544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817035776001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:48: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-07-19 11:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784441847000,"timestamp_ms":1784441847000,"timestamp_seconds":1784441847,"priority":1,"record_length":96,"hex_timestamp":"0000019f7905bcd8"} 
[2026-07-19 11:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 11:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:48:37] 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-07-19 11:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817035776001,"66":25615,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817035776001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:48:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817035776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":136544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:48:37] local.INFO: GPS data processed {"connection_id":136544,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:48:37] local.INFO: Acknowledgment sent {"connection_id":136544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:48:51] local.INFO: TCP Data received {"connection_id":138902,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:48:51] local.INFO: Processing buffer {"connection_id":138902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:48:51] local.INFO: IMEI packet received {"connection_id":138902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 11:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":138902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:48:57] local.INFO: TCP Data received {"connection_id":138902,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:48:57] local.INFO: Processing buffer {"connection_id":138902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:48:57] local.INFO: IMEI packet received {"connection_id":138902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":138902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:48:58] local.INFO: TCP Data received {"connection_id":138902,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7905f770012d18c44007214f680045015b16..."} 
[2026-07-19 11:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7905f770012d18c44007214f680045015b16..."} 
[2026-07-19 11:48:58] local.INFO: Processing buffer {"connection_id":138902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7905f770012d18c44007214f680045015b16..."} 
[2026-07-19 11:48:58] local.INFO: Packet analysis {"connection_id":138902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:48:58] local.INFO: Extracted packet for processing {"connection_id":138902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:48:58] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119623528,"longitude_deg":75.6597824,"latitude_deg":11.9623528,"altitude":69,"angle":347,"satellites":22,"speed":30,"hex_longitude":"2d18c440","hex_latitude":"07214f68","is_valid_coordinates":true} 
[2026-07-19 11:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817115904001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7088658838454272,"note":"Value kept but may cause issues"} 
[2026-07-19 11:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489201117184,"note":"Value kept but may cause issues"} 
[2026-07-19 11:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784441862000,"timestamp_ms":1784441862000,"timestamp_seconds":1784441862,"priority":1,"record_length":96,"hex_timestamp":"0000019f7905f770"} 
[2026-07-19 11:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 11:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-19 11:48: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-07-19 11:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":138902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":138902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":138902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817115904001,"66":14483,"121":206,"28":31744,"24":30,"16":7088658838454272,"45":1784762489201117184},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 11:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817115904001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:48:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 11:48:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7088658838454272,"km_value":7088658838454.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489201117184,"description":"Unknown IO ID 45"} 
[2026-07-19 11:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817115904001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1784762489201117184}} 
[2026-07-19 11:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":138902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:48:58] local.INFO: GPS data processed {"connection_id":138902,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:48:58] local.INFO: Acknowledgment sent {"connection_id":138902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:49:09] local.INFO: TCP Data received {"connection_id":136544,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:49:09] local.INFO: Processing buffer {"connection_id":136544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:49:09] local.INFO: Packet analysis {"connection_id":136544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:49:09] local.INFO: Extracted packet for processing {"connection_id":136544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817035776001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:49: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-07-19 11:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784441847000,"timestamp_ms":1784441847000,"timestamp_seconds":1784441847,"priority":1,"record_length":96,"hex_timestamp":"0000019f7905bcd8"} 
[2026-07-19 11:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 11:49: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-07-19 11: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-07-19 11:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:49: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-07-19 11:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817035776001,"66":25615,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 11:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817035776001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:49:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817035776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":136544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:49:09] local.INFO: GPS data processed {"connection_id":136544,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:49:09] local.INFO: Acknowledgment sent {"connection_id":136544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:49:30] local.INFO: TCP Data received {"connection_id":138902,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7905ff40012d18c180072155480047014916..."} 
[2026-07-19 11:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7905ff40012d18c180072155480047014916..."} 
[2026-07-19 11:49:30] local.INFO: Processing buffer {"connection_id":138902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7905ff40012d18c180072155480047014916..."} 
[2026-07-19 11:49:30] local.INFO: Packet analysis {"connection_id":138902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:49:30] local.INFO: Extracted packet for processing {"connection_id":138902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:49:30] local.INFO: GPS Element Parsed {"raw_longitude":756597120,"raw_latitude":119625032,"longitude_deg":75.659712,"latitude_deg":11.9625032,"altitude":71,"angle":329,"satellites":22,"speed":31,"hex_longitude":"2d18c180","hex_latitude":"07215548","is_valid_coordinates":true} 
[2026-07-19 11:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817116672001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7088736147865600,"note":"Value kept but may cause issues"} 
[2026-07-19 11:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751713359872,"note":"Value kept but may cause issues"} 
[2026-07-19 11:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784441864000,"timestamp_ms":1784441864000,"timestamp_seconds":1784441864,"priority":1,"record_length":96,"hex_timestamp":"0000019f7905ff40"} 
[2026-07-19 11:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 11:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-19 11:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":138902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":138902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":138902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817116672001,"66":14461,"121":206,"28":31744,"24":31,"16":7088736147865600,"45":1784621751713359872},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 11:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817116672001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:49:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 11:49:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7088736147865600,"km_value":7088736147865.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751713359872,"description":"Unknown IO ID 45"} 
[2026-07-19 11:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817116672001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1784621751713359872}} 
[2026-07-19 11:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":138902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:49:30] local.INFO: GPS data processed {"connection_id":138902,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:49:30] local.INFO: Acknowledgment sent {"connection_id":138902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:49:31] local.INFO: TCP Data received {"connection_id":137485,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:49:31] local.INFO: Processing buffer {"connection_id":137485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:49:31] local.INFO: IMEI packet received {"connection_id":137485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":137485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:49:37] local.INFO: TCP Data received {"connection_id":137485,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:49:37] local.INFO: Processing buffer {"connection_id":137485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:49:37] local.INFO: IMEI packet received {"connection_id":137485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":137485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:49:39] local.INFO: TCP Data received {"connection_id":137485,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:49:39] local.INFO: Processing buffer {"connection_id":137485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:49:39] local.INFO: Packet analysis {"connection_id":137485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:49:39] local.INFO: Extracted packet for processing {"connection_id":137485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:49:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817035776001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11: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-07-19 11:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784441847000,"timestamp_ms":1784441847000,"timestamp_seconds":1784441847,"priority":1,"record_length":96,"hex_timestamp":"0000019f7905bcd8"} 
[2026-07-19 11:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":25,"data_length":795,"current_offset":136} 
[2026-07-19 11:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11: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-07-19 11:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":137485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":137485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":137485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:49: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-07-19 11:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817035776001,"66":25615,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817035776001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:49:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:49:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817035776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":137485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:49:39] local.INFO: GPS data processed {"connection_id":137485,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:49:39] local.INFO: Acknowledgment sent {"connection_id":137485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:49:52] local.INFO: TCP Data received {"connection_id":136546,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:49:52] local.INFO: Processing buffer {"connection_id":136546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:49:52] local.INFO: IMEI packet received {"connection_id":136546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 11:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":136546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:49:53] local.INFO: TCP Data received {"connection_id":136546,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:49:53] local.INFO: Processing buffer {"connection_id":136546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:49:53] local.INFO: IMEI packet received {"connection_id":136546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":136546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:49:56] local.INFO: TCP Data received {"connection_id":136546,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:49:56] local.INFO: Processing buffer {"connection_id":136546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:49:56] local.INFO: IMEI packet received {"connection_id":136546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":136546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:49:58] local.INFO: TCP Data received {"connection_id":136546,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79062650012d18ad4007216fb0004e013c16..."} 
[2026-07-19 11:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79062650012d18ad4007216fb0004e013c16..."} 
[2026-07-19 11:49:58] local.INFO: Processing buffer {"connection_id":136546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79062650012d18ad4007216fb0004e013c16..."} 
[2026-07-19 11:49:58] local.INFO: Packet analysis {"connection_id":136546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7906"} 
[2026-07-19 11:49:58] local.INFO: Extracted packet for processing {"connection_id":136546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7906"} 
[2026-07-19 11:49:58] local.INFO: GPS Element Parsed {"raw_longitude":756591936,"raw_latitude":119631792,"longitude_deg":75.6591936,"latitude_deg":11.9631792,"altitude":78,"angle":316,"satellites":22,"speed":32,"hex_longitude":"2d18ad40","hex_latitude":"07216fb0","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817117184001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7089148464726016,"note":"Value kept but may cause issues"} 
[2026-07-19 11:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783847695527790592,"note":"Value kept but may cause issues"} 
[2026-07-19 11:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784441874000,"timestamp_ms":1784441874000,"timestamp_seconds":1784441874,"priority":1,"record_length":96,"hex_timestamp":"0000019f79062650"} 
[2026-07-19 11:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 11: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-19 11:49:58] 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-07-19 11: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-07-19 11:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817117184001,"66":14396,"121":206,"28":31744,"24":32,"16":7089148464726016,"45":1783847695527790592},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 11:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817117184001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:49:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 11:49:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7089148464726016,"km_value":7089148464726.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783847695527790592,"description":"Unknown IO ID 45"} 
[2026-07-19 11:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817117184001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1783847695527790592}} 
[2026-07-19 11:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":136546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:49:58] local.INFO: GPS data processed {"connection_id":136546,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:49:58] local.INFO: Acknowledgment sent {"connection_id":136546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:50:10] local.INFO: TCP Data received {"connection_id":137485,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:50:10] local.INFO: Processing buffer {"connection_id":137485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:50:10] local.INFO: Packet analysis {"connection_id":137485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:50:10] local.INFO: Extracted packet for processing {"connection_id":137485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:50:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817035776001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:50: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-07-19 11:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784441847000,"timestamp_ms":1784441847000,"timestamp_seconds":1784441847,"priority":1,"record_length":96,"hex_timestamp":"0000019f7905bcd8"} 
[2026-07-19 11:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 11:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817035776001,"66":25615,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817035776001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:50:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:50:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817035776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":137485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:50:10] local.INFO: GPS data processed {"connection_id":137485,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:50:10] local.INFO: Acknowledgment sent {"connection_id":137485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:50:30] local.INFO: TCP Data received {"connection_id":136546,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79062e20012d18a84007217380004f012d16..."} 
[2026-07-19 11:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79062e20012d18a84007217380004f012d16..."} 
[2026-07-19 11:50:30] local.INFO: Processing buffer {"connection_id":136546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79062e20012d18a84007217380004f012d16..."} 
[2026-07-19 11:50:30] local.INFO: Packet analysis {"connection_id":136546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7906"} 
[2026-07-19 11:50:30] local.INFO: Extracted packet for processing {"connection_id":136546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7906"} 
[2026-07-19 11:50:30] local.INFO: GPS Element Parsed {"raw_longitude":756590656,"raw_latitude":119632768,"longitude_deg":75.6590656,"latitude_deg":11.9632768,"altitude":79,"angle":301,"satellites":22,"speed":31,"hex_longitude":"2d18a840","hex_latitude":"07217380","is_valid_coordinates":true} 
[2026-07-19 11:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817119744001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7089225774137344,"note":"Value kept but may cause issues"} 
[2026-07-19 11:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778147827251130368,"note":"Value kept but may cause issues"} 
[2026-07-19 11:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784441876000,"timestamp_ms":1784441876000,"timestamp_seconds":1784441876,"priority":1,"record_length":96,"hex_timestamp":"0000019f79062e20"} 
[2026-07-19 11:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 11:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-19 11:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":136546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":136546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":136546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817119744001,"66":14396,"121":206,"28":31744,"24":31,"16":7089225774137344,"45":1778147827251130368},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 11:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817119744001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:50:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 11:50:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7089225774137344,"km_value":7089225774137.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778147827251130368,"description":"Unknown IO ID 45"} 
[2026-07-19 11:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817119744001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1778147827251130368}} 
[2026-07-19 11:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":136546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:50:30] local.INFO: GPS data processed {"connection_id":136546,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:50:30] local.INFO: Acknowledgment sent {"connection_id":136546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:50:31] local.INFO: TCP Data received {"connection_id":138903,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:50:31] local.INFO: Processing buffer {"connection_id":138903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:50:31] local.INFO: IMEI packet received {"connection_id":138903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":138903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:50:36] local.INFO: TCP Data received {"connection_id":138903,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:50:36] local.INFO: Processing buffer {"connection_id":138903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:50:36] local.INFO: IMEI packet received {"connection_id":138903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":138903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:50:37] local.INFO: TCP Data received {"connection_id":138903,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:50:37] local.INFO: Processing buffer {"connection_id":138903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:50:37] local.INFO: Packet analysis {"connection_id":138903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:50:37] local.INFO: Extracted packet for processing {"connection_id":138903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817035776001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:50: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-07-19 11:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784441847000,"timestamp_ms":1784441847000,"timestamp_seconds":1784441847,"priority":1,"record_length":96,"hex_timestamp":"0000019f7905bcd8"} 
[2026-07-19 11:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 11:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:50: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-07-19 11:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817035776001,"66":25615,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817035776001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817035776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":138903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:50:37] local.INFO: GPS data processed {"connection_id":138903,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:50:37] local.INFO: Acknowledgment sent {"connection_id":138903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:50:52] local.INFO: TCP Data received {"connection_id":136547,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:50:52] local.INFO: Processing buffer {"connection_id":136547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:50:52] local.INFO: IMEI packet received {"connection_id":136547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 11:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":136547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:50:52] local.INFO: TCP Data received {"connection_id":136547,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:50:52] local.INFO: Processing buffer {"connection_id":136547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:50:52] local.INFO: IMEI packet received {"connection_id":136547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":136547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:50:55] local.INFO: TCP Data received {"connection_id":136547,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:50:55] local.INFO: Processing buffer {"connection_id":136547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:50:55] local.INFO: IMEI packet received {"connection_id":136547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":136547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:50:56] local.INFO: TCP Data received {"connection_id":136547,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:50:56] local.INFO: Processing buffer {"connection_id":136547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:50:56] local.INFO: IMEI packet received {"connection_id":136547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":136547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:50:58] local.INFO: TCP Data received {"connection_id":136547,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f790887b0012d182dc0072199400050012e1d..."} 
[2026-07-19 11:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790887b0012d182dc0072199400050012e1d..."} 
[2026-07-19 11:50:58] local.INFO: Processing buffer {"connection_id":136547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790887b0012d182dc0072199400050012e1d..."} 
[2026-07-19 11:50:58] local.INFO: Packet analysis {"connection_id":136547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7908"} 
[2026-07-19 11:50:58] local.INFO: Extracted packet for processing {"connection_id":136547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7908"} 
[2026-07-19 11:50:58] local.INFO: GPS Element Parsed {"raw_longitude":756559296,"raw_latitude":119642432,"longitude_deg":75.6559296,"latitude_deg":11.9642432,"altitude":80,"angle":302,"satellites":29,"speed":5,"hex_longitude":"2d182dc0","hex_latitude":"07219940","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817154816001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7090814912036864,"note":"Value kept but may cause issues"} 
[2026-07-19 11:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742330136467378176,"note":"Value kept but may cause issues"} 
[2026-07-19 11:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784442030000,"timestamp_ms":1784442030000,"timestamp_seconds":1784442030,"priority":1,"record_length":96,"hex_timestamp":"0000019f790887b0"} 
[2026-07-19 11:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 11: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-19 11:50:58] 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-07-19 11: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-07-19 11:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817154816001,"66":13678,"120":206,"28":31744,"24":5,"16":7090814912036864,"45":1742330136467378176},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 11:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817154816001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:50:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 11:50:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7090814912036864,"km_value":7090814912036.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742330136467378176,"description":"Unknown IO ID 45"} 
[2026-07-19 11:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817154816001,"power":13678,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1742330136467378176}} 
[2026-07-19 11:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":136547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:50:58] local.INFO: GPS data processed {"connection_id":136547,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:50:58] local.INFO: Acknowledgment sent {"connection_id":136547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:51:10] local.INFO: TCP Data received {"connection_id":138903,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:51:10] local.INFO: Processing buffer {"connection_id":138903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:51:10] local.INFO: Packet analysis {"connection_id":138903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:51:10] local.INFO: Extracted packet for processing {"connection_id":138903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:51:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817035776001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:51: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-07-19 11:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784441847000,"timestamp_ms":1784441847000,"timestamp_seconds":1784441847,"priority":1,"record_length":96,"hex_timestamp":"0000019f7905bcd8"} 
[2026-07-19 11:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 11:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11: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-07-19 11:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817035776001,"66":25615,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817035776001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:51:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:51:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817035776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":138903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:51:10] local.INFO: GPS data processed {"connection_id":138903,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:51:10] local.INFO: Acknowledgment sent {"connection_id":138903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:51:29] local.INFO: TCP Data received {"connection_id":136547,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79094718012d1823800721b6a8004d00b01e..."} 
[2026-07-19 11:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79094718012d1823800721b6a8004d00b01e..."} 
[2026-07-19 11:51:29] local.INFO: Processing buffer {"connection_id":136547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79094718012d1823800721b6a8004d00b01e..."} 
[2026-07-19 11:51:29] local.INFO: Packet analysis {"connection_id":136547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7909"} 
[2026-07-19 11:51:29] local.INFO: Extracted packet for processing {"connection_id":136547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7909"} 
[2026-07-19 11:51:29] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649960,"longitude_deg":75.6556672,"latitude_deg":11.964996,"altitude":77,"angle":176,"satellites":30,"speed":5,"hex_longitude":"2d182380","hex_latitude":"0721b6a8","is_valid_coordinates":true} 
[2026-07-19 11:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817171968001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091338898046976,"note":"Value kept but may cause issues"} 
[2026-07-19 11:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213925376,"note":"Value kept but may cause issues"} 
[2026-07-19 11:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784442079000,"timestamp_ms":1784442079000,"timestamp_seconds":1784442079,"priority":1,"record_length":96,"hex_timestamp":"0000019f79094718"} 
[2026-07-19 11:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 11:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-19 11:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454498816,"note":"Value kept but may cause issues"} 
[2026-07-19 11:51:29] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2834825295,"note":"Value kept but may cause issues"} 
[2026-07-19 11:51:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-19 11:51:29] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,49,159,63,45,183,77,30,10,66,59,128,184,8,1,240,185,121,33,4,113,205,29,239,56,2,25,7,80,3],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-19 11:51:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548654772095352832,"timestamp_seconds":5548654772095353.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 11:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":136547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":136547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":136547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817171968001,"66":14461,"120":206,"28":31744,"24":5,"16":7091338898046976,"45":1739374649213925376},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 11:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817171968001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:51:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 11:51:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091338898046976,"km_value":7091338898046.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213925376,"description":"Unknown IO ID 45"} 
[2026-07-19 11:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817171968001,"power":14461,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1739374649213925376}} 
[2026-07-19 11:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":136547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:51:29] local.INFO: GPS data processed {"connection_id":136547,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:51:29] local.INFO: Acknowledgment sent {"connection_id":136547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:51:36] local.INFO: TCP Data received {"connection_id":137487,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:51:36] local.INFO: Processing buffer {"connection_id":137487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:51:36] local.INFO: IMEI packet received {"connection_id":137487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":137487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:51:41] local.INFO: TCP Data received {"connection_id":137487,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:51:41] local.INFO: Processing buffer {"connection_id":137487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:51:41] local.INFO: IMEI packet received {"connection_id":137487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":137487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:51:44] local.INFO: TCP Data received {"connection_id":137487,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:51:44] local.INFO: Processing buffer {"connection_id":137487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:51:44] local.INFO: Packet analysis {"connection_id":137487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:51:44] local.INFO: Extracted packet for processing {"connection_id":137487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:51:44] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817035776001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:51: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-07-19 11:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784441847000,"timestamp_ms":1784441847000,"timestamp_seconds":1784441847,"priority":1,"record_length":96,"hex_timestamp":"0000019f7905bcd8"} 
[2026-07-19 11:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 11:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":137487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":137487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":137487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817035776001,"66":25615,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817035776001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:51:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:51:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817035776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":137487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:51:44] local.INFO: GPS data processed {"connection_id":137487,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:51:44] local.INFO: Acknowledgment sent {"connection_id":137487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:51:48] local.INFO: TCP Data received {"connection_id":137487,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:51:48] local.INFO: Processing buffer {"connection_id":137487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:51:48] local.INFO: Packet analysis {"connection_id":137487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:51:48] local.INFO: Extracted packet for processing {"connection_id":137487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:51:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817035776001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784441847000,"timestamp_ms":1784441847000,"timestamp_seconds":1784441847,"priority":1,"record_length":96,"hex_timestamp":"0000019f7905bcd8"} 
[2026-07-19 11:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 11:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":137487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":137487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":137487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817035776001,"66":25615,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817035776001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:51:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:51:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817035776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":137487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:51:48] local.INFO: GPS data processed {"connection_id":137487,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:51:48] local.INFO: Acknowledgment sent {"connection_id":137487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:51:51] local.INFO: TCP Data received {"connection_id":136549,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:51:51] local.INFO: Processing buffer {"connection_id":136549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:51:51] local.INFO: IMEI packet received {"connection_id":136549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 11:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":136549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:51:56] local.INFO: TCP Data received {"connection_id":136549,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:51:56] local.INFO: Processing buffer {"connection_id":136549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:51:56] local.INFO: IMEI packet received {"connection_id":136549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":136549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:51:58] local.INFO: TCP Data received {"connection_id":136549,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f790952d0012d1823400721b480004d00d21e..."} 
[2026-07-19 11:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790952d0012d1823400721b480004d00d21e..."} 
[2026-07-19 11:51:58] local.INFO: Processing buffer {"connection_id":136549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790952d0012d1823400721b480004d00d21e..."} 
[2026-07-19 11:51:58] local.INFO: Packet analysis {"connection_id":136549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7909"} 
[2026-07-19 11:51:58] local.INFO: Extracted packet for processing {"connection_id":136549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7909"} 
[2026-07-19 11:51:58] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649408,"longitude_deg":75.6556608,"latitude_deg":11.9649408,"altitude":77,"angle":210,"satellites":30,"speed":9,"hex_longitude":"2d182340","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817172224001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091364667850752,"note":"Value kept but may cause issues"} 
[2026-07-19 11:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213888512,"note":"Value kept but may cause issues"} 
[2026-07-19 11:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784442082000,"timestamp_ms":1784442082000,"timestamp_seconds":1784442082,"priority":1,"record_length":96,"hex_timestamp":"0000019f790952d0"} 
[2026-07-19 11:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 11: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-19 11:51:58] 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-07-19 11: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-07-19 11:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817172224001,"66":14461,"120":206,"28":31744,"24":9,"16":7091364667850752,"45":1739374649213888512},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 11:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817172224001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:51:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 11:51:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091364667850752,"km_value":7091364667850.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213888512,"description":"Unknown IO ID 45"} 
[2026-07-19 11:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817172224001,"power":14461,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1739374649213888512}} 
[2026-07-19 11:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":136549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:51:59] local.INFO: GPS data processed {"connection_id":136549,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:51:59] local.INFO: Acknowledgment sent {"connection_id":136549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:52:30] local.INFO: TCP Data received {"connection_id":136549,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f790956b8012d1822c00721b3e8004d00e11e..."} 
[2026-07-19 11:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790956b8012d1822c00721b3e8004d00e11e..."} 
[2026-07-19 11:52:30] local.INFO: Processing buffer {"connection_id":136549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790956b8012d1822c00721b3e8004d00e11e..."} 
[2026-07-19 11:52:30] local.INFO: Packet analysis {"connection_id":136549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7909"} 
[2026-07-19 11:52:30] local.INFO: Extracted packet for processing {"connection_id":136549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7909"} 
[2026-07-19 11:52:30] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649256,"longitude_deg":75.655648,"latitude_deg":11.9649256,"altitude":77,"angle":225,"satellites":30,"speed":8,"hex_longitude":"2d1822c0","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817172992001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091377552752640,"note":"Value kept but may cause issues"} 
[2026-07-19 11:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469569536,"note":"Value kept but may cause issues"} 
[2026-07-19 11:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784442083000,"timestamp_ms":1784442083000,"timestamp_seconds":1784442083,"priority":1,"record_length":96,"hex_timestamp":"0000019f790956b8"} 
[2026-07-19 11:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 11: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-19 11:52:30] 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-07-19 11: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-07-19 11:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":136549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":136549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":136549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817172992001,"66":14102,"120":206,"28":31744,"24":8,"16":7091377552752640,"45":1739304280469569536},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 11:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817172992001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:52:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 11:52:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091377552752640,"km_value":7091377552752.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469569536,"description":"Unknown IO ID 45"} 
[2026-07-19 11:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817172992001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1739304280469569536}} 
[2026-07-19 11:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":136549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:52:30] local.INFO: GPS data processed {"connection_id":136549,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:52:30] local.INFO: Acknowledgment sent {"connection_id":136549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:52:31] local.INFO: TCP Data received {"connection_id":137488,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:52:31] local.INFO: Processing buffer {"connection_id":137488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:52:31] local.INFO: IMEI packet received {"connection_id":137488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":137488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:52:36] local.INFO: TCP Data received {"connection_id":137488,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:52:36] local.INFO: Processing buffer {"connection_id":137488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:52:36] local.INFO: IMEI packet received {"connection_id":137488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":137488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:52:37] local.INFO: TCP Data received {"connection_id":137488,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:52:37] local.INFO: Processing buffer {"connection_id":137488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7905bcd8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 11:52:37] local.INFO: Packet analysis {"connection_id":137488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:52:37] local.INFO: Extracted packet for processing {"connection_id":137488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7905"} 
[2026-07-19 11:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817035776001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11: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-07-19 11:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784441847000,"timestamp_ms":1784441847000,"timestamp_seconds":1784441847,"priority":1,"record_length":96,"hex_timestamp":"0000019f7905bcd8"} 
[2026-07-19 11:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":25,"data_length":795,"current_offset":136} 
[2026-07-19 11:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11: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-07-19 11:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:52: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-07-19 11:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817035776001,"66":25615,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817035776001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:52:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817035776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":137488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:52:37] local.INFO: GPS data processed {"connection_id":137488,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:52:37] local.INFO: Acknowledgment sent {"connection_id":137488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:52:57] local.INFO: TCP Data received {"connection_id":136414,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:52:57] local.INFO: Processing buffer {"connection_id":136414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:52:57] local.INFO: IMEI packet received {"connection_id":136414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 11:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":136414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:53:02] local.INFO: TCP Data received {"connection_id":136414,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:53:02] local.INFO: Processing buffer {"connection_id":136414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:53:02] local.INFO: IMEI packet received {"connection_id":136414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":136414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:53:03] local.INFO: TCP Data received {"connection_id":136414,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7909a8c0012d1821000721b1a0004e00d81d..."} 
[2026-07-19 11:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7909a8c0012d1821000721b1a0004e00d81d..."} 
[2026-07-19 11:53:03] local.INFO: Processing buffer {"connection_id":136414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7909a8c0012d1821000721b1a0004e00d81d..."} 
[2026-07-19 11:53:03] local.INFO: Packet analysis {"connection_id":136414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7909"} 
[2026-07-19 11:53:03] local.INFO: Extracted packet for processing {"connection_id":136414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7909"} 
[2026-07-19 11:53:03] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648672,"longitude_deg":75.6556032,"latitude_deg":11.9648672,"altitude":78,"angle":216,"satellites":29,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b1a0","is_valid_coordinates":true} 
[2026-07-19 11:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817173248001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091411912491008,"note":"Value kept but may cause issues"} 
[2026-07-19 11:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981175296,"note":"Value kept but may cause issues"} 
[2026-07-19 11:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784442104000,"timestamp_ms":1784442104000,"timestamp_seconds":1784442104,"priority":1,"record_length":96,"hex_timestamp":"0000019f7909a8c0"} 
[2026-07-19 11:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:53:03] 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-07-19 11:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-19 11:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":136414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":136414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":136414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817173248001,"66":13091,"120":206,"28":31744,"24":0,"16":7091411912491008,"45":1739163542981175296},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 11:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817173248001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:53:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 11:53:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091411912491008,"km_value":7091411912491.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981175296,"description":"Unknown IO ID 45"} 
[2026-07-19 11:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817173248001,"power":13091,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981175296}} 
[2026-07-19 11:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":136414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:53:03] local.INFO: GPS data processed {"connection_id":136414,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:53:03] local.INFO: Acknowledgment sent {"connection_id":136414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:53:10] local.INFO: TCP Data received {"connection_id":137488,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:53:10] local.INFO: Processing buffer {"connection_id":137488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:53:10] local.INFO: Packet analysis {"connection_id":137488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:53:10] local.INFO: Extracted packet for processing {"connection_id":137488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817112832001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:53: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-07-19 11:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784442148000,"timestamp_ms":1784442148000,"timestamp_seconds":1784442148,"priority":1,"record_length":96,"hex_timestamp":"0000019f790a54a0"} 
[2026-07-19 11:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 11:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817112832001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817112832001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:53:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817112832001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":137488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:53:10] local.INFO: GPS data processed {"connection_id":137488,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:53:10] local.INFO: Acknowledgment sent {"connection_id":137488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:53:31] local.INFO: TCP Data received {"connection_id":136551,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:53:31] local.INFO: Processing buffer {"connection_id":136551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:53:31] local.INFO: IMEI packet received {"connection_id":136551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":136551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:53:34] local.INFO: TCP Data received {"connection_id":136414,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7909fac8012d1821000721b1a0004e00d81f..."} 
[2026-07-19 11:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7909fac8012d1821000721b1a0004e00d81f..."} 
[2026-07-19 11:53:34] local.INFO: Processing buffer {"connection_id":136414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7909fac8012d1821000721b1a0004e00d81f..."} 
[2026-07-19 11:53:34] local.INFO: Packet analysis {"connection_id":136414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7909"} 
[2026-07-19 11:53:34] local.INFO: Extracted packet for processing {"connection_id":136414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7909"} 
[2026-07-19 11:53:34] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648672,"longitude_deg":75.6556032,"latitude_deg":11.9648672,"altitude":78,"angle":216,"satellites":31,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b1a0","is_valid_coordinates":true} 
[2026-07-19 11:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817178624001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091411912491008,"note":"Value kept but may cause issues"} 
[2026-07-19 11:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771782144,"note":"Value kept but may cause issues"} 
[2026-07-19 11:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784442125000,"timestamp_ms":1784442125000,"timestamp_seconds":1784442125,"priority":1,"record_length":96,"hex_timestamp":"0000019f7909fac8"} 
[2026-07-19 11:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 11:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-19 11:53:34] 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-07-19 11:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":136414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":136414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":136414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817178624001,"66":13004,"120":206,"28":31744,"24":0,"16":7091411912491008,"45":1738670961771782144},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 11:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817178624001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:53:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 11:53:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091411912491008,"km_value":7091411912491.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771782144,"description":"Unknown IO ID 45"} 
[2026-07-19 11:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817178624001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771782144}} 
[2026-07-19 11:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":136414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:53:34] local.INFO: GPS data processed {"connection_id":136414,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:53:34] local.INFO: Acknowledgment sent {"connection_id":136414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:53:36] local.INFO: TCP Data received {"connection_id":136551,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:53:36] local.INFO: Processing buffer {"connection_id":136551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:53:36] local.INFO: IMEI packet received {"connection_id":136551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":136551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:53:37] local.INFO: TCP Data received {"connection_id":136551,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:53:37] local.INFO: Processing buffer {"connection_id":136551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:53:37] local.INFO: Packet analysis {"connection_id":136551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:53:37] local.INFO: Extracted packet for processing {"connection_id":136551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817112832001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:53: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-07-19 11:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784442148000,"timestamp_ms":1784442148000,"timestamp_seconds":1784442148,"priority":1,"record_length":96,"hex_timestamp":"0000019f790a54a0"} 
[2026-07-19 11:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 11:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:53: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-07-19 11:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817112832001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817112832001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:53:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817112832001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":136551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:53:37] local.INFO: GPS data processed {"connection_id":136551,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:53:37] local.INFO: Acknowledgment sent {"connection_id":136551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:53:52] local.INFO: TCP Data received {"connection_id":136552,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:53:52] local.INFO: Processing buffer {"connection_id":136552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:53:52] local.INFO: IMEI packet received {"connection_id":136552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 11:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":136552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:53:52] local.INFO: TCP Data received {"connection_id":136552,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:53:52] local.INFO: Processing buffer {"connection_id":136552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:53:52] local.INFO: IMEI packet received {"connection_id":136552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":136552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:53:56] local.INFO: TCP Data received {"connection_id":136552,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:53:56] local.INFO: Processing buffer {"connection_id":136552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:53:56] local.INFO: IMEI packet received {"connection_id":136552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":136552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:53:57] local.INFO: TCP Data received {"connection_id":136552,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f790a4cd0012d1821000721b1a0004e00d820..."} 
[2026-07-19 11:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790a4cd0012d1821000721b1a0004e00d820..."} 
[2026-07-19 11:53:57] local.INFO: Processing buffer {"connection_id":136552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790a4cd0012d1821000721b1a0004e00d820..."} 
[2026-07-19 11:53:57] local.INFO: Packet analysis {"connection_id":136552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:53:57] local.INFO: Extracted packet for processing {"connection_id":136552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:53:57] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648672,"longitude_deg":75.6556032,"latitude_deg":11.9648672,"altitude":78,"angle":216,"satellites":32,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b1a0","is_valid_coordinates":true} 
[2026-07-19 11:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817184000001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091411912491008,"note":"Value kept but may cause issues"} 
[2026-07-19 11:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771782144,"note":"Value kept but may cause issues"} 
[2026-07-19 11:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784442146000,"timestamp_ms":1784442146000,"timestamp_seconds":1784442146,"priority":1,"record_length":96,"hex_timestamp":"0000019f790a4cd0"} 
[2026-07-19 11:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:53:57] 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-07-19 11:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-19 11:53:57] 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-07-19 11:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817184000001,"66":12961,"120":206,"28":31744,"24":0,"16":7091411912491008,"45":1738670961771782144},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 11:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817184000001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:53:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 11:53:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091411912491008,"km_value":7091411912491.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771782144,"description":"Unknown IO ID 45"} 
[2026-07-19 11:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817184000001,"power":12961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771782144}} 
[2026-07-19 11:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":136552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:53:58] local.INFO: GPS data processed {"connection_id":136552,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:53:58] local.INFO: Acknowledgment sent {"connection_id":136552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:54:02] local.INFO: TCP Data received {"connection_id":136550,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:54:02] local.INFO: Processing buffer {"connection_id":136550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:54:02] local.INFO: IMEI packet received {"connection_id":136550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 11:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":136550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:54:02] local.INFO: TCP Data received {"connection_id":136552,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f790a9ed8012d1821000721b1a0004e00d821..."} 
[2026-07-19 11:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790a9ed8012d1821000721b1a0004e00d821..."} 
[2026-07-19 11:54:02] local.INFO: Processing buffer {"connection_id":136552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790a9ed8012d1821000721b1a0004e00d821..."} 
[2026-07-19 11:54:02] local.INFO: Packet analysis {"connection_id":136552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:54:02] local.INFO: Extracted packet for processing {"connection_id":136552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:54:02] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648672,"longitude_deg":75.6556032,"latitude_deg":11.9648672,"altitude":78,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b1a0","is_valid_coordinates":true} 
[2026-07-19 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-07-19 11:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817189376001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091411912491008,"note":"Value kept but may cause issues"} 
[2026-07-19 11:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771782144,"note":"Value kept but may cause issues"} 
[2026-07-19 11:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784442167000,"timestamp_ms":1784442167000,"timestamp_seconds":1784442167,"priority":1,"record_length":96,"hex_timestamp":"0000019f790a9ed8"} 
[2026-07-19 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-07-19 11:54:02] 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-07-19 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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-19 11:54:02] 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-07-19 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-07-19 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-07-19 11:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817189376001,"66":12863,"120":206,"28":31744,"24":0,"16":7091411912491008,"45":1738670961771782144},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 11:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817189376001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:54:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 11:54:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091411912491008,"km_value":7091411912491.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771782144,"description":"Unknown IO ID 45"} 
[2026-07-19 11:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817189376001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771782144}} 
[2026-07-19 11:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":136552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:54:02] local.INFO: GPS data processed {"connection_id":136552,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:54:02] local.INFO: Acknowledgment sent {"connection_id":136552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:54:09] local.INFO: TCP Data received {"connection_id":136551,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:54:09] local.INFO: Processing buffer {"connection_id":136551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:54:09] local.INFO: Packet analysis {"connection_id":136551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:54:09] local.INFO: Extracted packet for processing {"connection_id":136551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817112832001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11: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-07-19 11:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784442148000,"timestamp_ms":1784442148000,"timestamp_seconds":1784442148,"priority":1,"record_length":96,"hex_timestamp":"0000019f790a54a0"} 
[2026-07-19 11:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":15,"data_length":795,"current_offset":136} 
[2026-07-19 11:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11: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-07-19 11:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:54: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-07-19 11:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817112832001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817112832001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817112832001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":136551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:54:09] local.INFO: GPS data processed {"connection_id":136551,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:54:09] local.INFO: Acknowledgment sent {"connection_id":136551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:54:25] local.INFO: TCP Data received {"connection_id":138904,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:54:25] local.INFO: Processing buffer {"connection_id":138904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:54:25] local.INFO: IMEI packet received {"connection_id":138904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 11:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":138904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:54:31] local.INFO: TCP Data received {"connection_id":137489,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:54:31] local.INFO: Processing buffer {"connection_id":137489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:54:31] local.INFO: IMEI packet received {"connection_id":137489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":137489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:54:34] local.INFO: TCP Data received {"connection_id":136552,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f790af0e0012d1821000721b1a0004e00d821..."} 
[2026-07-19 11:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790af0e0012d1821000721b1a0004e00d821..."} 
[2026-07-19 11:54:34] local.INFO: Processing buffer {"connection_id":136552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790af0e0012d1821000721b1a0004e00d821..."} 
[2026-07-19 11:54:34] local.INFO: Packet analysis {"connection_id":136552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:54:34] local.INFO: Extracted packet for processing {"connection_id":136552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:54:34] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648672,"longitude_deg":75.6556032,"latitude_deg":11.9648672,"altitude":78,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b1a0","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817194752001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091411912491008,"note":"Value kept but may cause issues"} 
[2026-07-19 11:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771782144,"note":"Value kept but may cause issues"} 
[2026-07-19 11:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784442188000,"timestamp_ms":1784442188000,"timestamp_seconds":1784442188,"priority":1,"record_length":96,"hex_timestamp":"0000019f790af0e0"} 
[2026-07-19 11:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 11: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-19 11:54:34] 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-07-19 11: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-07-19 11:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":136552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":136552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":136552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817194752001,"66":12972,"120":206,"28":31744,"24":0,"16":7091411912491008,"45":1738670961771782144},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 11:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817194752001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:54:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 11:54:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091411912491008,"km_value":7091411912491.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771782144,"description":"Unknown IO ID 45"} 
[2026-07-19 11:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817194752001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771782144}} 
[2026-07-19 11:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":136552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:54:34] local.INFO: GPS data processed {"connection_id":136552,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:54:34] local.INFO: Acknowledgment sent {"connection_id":136552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:54:36] local.INFO: TCP Data received {"connection_id":137489,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:54:36] local.INFO: Processing buffer {"connection_id":137489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:54:36] local.INFO: IMEI packet received {"connection_id":137489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":137489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:54:38] local.INFO: TCP Data received {"connection_id":137489,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:54:38] local.INFO: Processing buffer {"connection_id":137489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:54:38] local.INFO: Packet analysis {"connection_id":137489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:54:38] local.INFO: Extracted packet for processing {"connection_id":137489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:54:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817112832001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:54: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-07-19 11:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784442148000,"timestamp_ms":1784442148000,"timestamp_seconds":1784442148,"priority":1,"record_length":96,"hex_timestamp":"0000019f790a54a0"} 
[2026-07-19 11:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 11:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:54: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-07-19 11:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817112832001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817112832001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:54:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817112832001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":137489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:54:38] local.INFO: GPS data processed {"connection_id":137489,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:54:38] local.INFO: Acknowledgment sent {"connection_id":137489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:54:52] local.INFO: TCP Data received {"connection_id":136553,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:54:52] local.INFO: Processing buffer {"connection_id":136553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:54:52] local.INFO: IMEI packet received {"connection_id":136553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 11:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":136553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:54:55] local.INFO: TCP Data received {"connection_id":136553,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:54:55] local.INFO: Processing buffer {"connection_id":136553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:54:55] local.INFO: IMEI packet received {"connection_id":136553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":136553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:54:56] local.INFO: TCP Data received {"connection_id":136553,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f790b42e8012d1821000721b1a0004e00d821..."} 
[2026-07-19 11:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790b42e8012d1821000721b1a0004e00d821..."} 
[2026-07-19 11:54:56] local.INFO: Processing buffer {"connection_id":136553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790b42e8012d1821000721b1a0004e00d821..."} 
[2026-07-19 11:54:56] local.INFO: Packet analysis {"connection_id":136553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790b"} 
[2026-07-19 11:54:56] local.INFO: Extracted packet for processing {"connection_id":136553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790b"} 
[2026-07-19 11:54:56] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648672,"longitude_deg":75.6556032,"latitude_deg":11.9648672,"altitude":78,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b1a0","is_valid_coordinates":true} 
[2026-07-19 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-07-19 11:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817200128001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091411912491008,"note":"Value kept but may cause issues"} 
[2026-07-19 11:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771782144,"note":"Value kept but may cause issues"} 
[2026-07-19 11:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784442209000,"timestamp_ms":1784442209000,"timestamp_seconds":1784442209,"priority":1,"record_length":96,"hex_timestamp":"0000019f790b42e8"} 
[2026-07-19 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-07-19 11:54:56] 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-07-19 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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-19 11:54:56] 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-07-19 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-07-19 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-07-19 11:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817200128001,"66":12972,"120":206,"28":31744,"24":0,"16":7091411912491008,"45":1738670961771782144},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 11:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817200128001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:54:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 11:54:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091411912491008,"km_value":7091411912491.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771782144,"description":"Unknown IO ID 45"} 
[2026-07-19 11:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817200128001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771782144}} 
[2026-07-19 11:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":136553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:54:56] local.INFO: GPS data processed {"connection_id":136553,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:54:56] local.INFO: Acknowledgment sent {"connection_id":136553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:55:11] local.INFO: TCP Data received {"connection_id":137489,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:55:11] local.INFO: Processing buffer {"connection_id":137489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:55:11] local.INFO: Packet analysis {"connection_id":137489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:55:11] local.INFO: Extracted packet for processing {"connection_id":137489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:55:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817112832001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:55: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-07-19 11:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784442148000,"timestamp_ms":1784442148000,"timestamp_seconds":1784442148,"priority":1,"record_length":96,"hex_timestamp":"0000019f790a54a0"} 
[2026-07-19 11:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 11:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":137489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":137489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":137489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817112832001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817112832001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:55:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:55:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817112832001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":137489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:55:11] local.INFO: GPS data processed {"connection_id":137489,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:55:11] local.INFO: Acknowledgment sent {"connection_id":137489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:55:28] local.INFO: TCP Data received {"connection_id":136553,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f790b94f0012d1821000721b1a0004e00d821..."} 
[2026-07-19 11:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790b94f0012d1821000721b1a0004e00d821..."} 
[2026-07-19 11:55:28] local.INFO: Processing buffer {"connection_id":136553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790b94f0012d1821000721b1a0004e00d821..."} 
[2026-07-19 11:55:28] local.INFO: Packet analysis {"connection_id":136553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790b"} 
[2026-07-19 11:55:28] local.INFO: Extracted packet for processing {"connection_id":136553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790b"} 
[2026-07-19 11:55:28] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648672,"longitude_deg":75.6556032,"latitude_deg":11.9648672,"altitude":78,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b1a0","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817205504001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091411912491008,"note":"Value kept but may cause issues"} 
[2026-07-19 11:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771782144,"note":"Value kept but may cause issues"} 
[2026-07-19 11:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784442230000,"timestamp_ms":1784442230000,"timestamp_seconds":1784442230,"priority":1,"record_length":96,"hex_timestamp":"0000019f790b94f0"} 
[2026-07-19 11:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:55:28] 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-07-19 11: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-19 11:55:28] 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-07-19 11: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-07-19 11:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817205504001,"66":12917,"120":206,"28":31744,"24":0,"16":7091411912491008,"45":1738670961771782144},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 11:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817205504001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:55:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 11:55:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091411912491008,"km_value":7091411912491.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771782144,"description":"Unknown IO ID 45"} 
[2026-07-19 11:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817205504001,"power":12917,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771782144}} 
[2026-07-19 11:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":136553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:55:28] local.INFO: GPS data processed {"connection_id":136553,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:55:28] local.INFO: Acknowledgment sent {"connection_id":136553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:55:31] local.INFO: TCP Data received {"connection_id":138906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:55:31] local.INFO: Processing buffer {"connection_id":138906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:55:31] local.INFO: IMEI packet received {"connection_id":138906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":138906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:55:36] local.INFO: TCP Data received {"connection_id":138906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:55:36] local.INFO: Processing buffer {"connection_id":138906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:55:36] local.INFO: IMEI packet received {"connection_id":138906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":138906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:55:37] local.INFO: TCP Data received {"connection_id":138906,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:55:37] local.INFO: Processing buffer {"connection_id":138906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:55:37] local.INFO: Packet analysis {"connection_id":138906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:55:37] local.INFO: Extracted packet for processing {"connection_id":138906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817112832001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:55: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-07-19 11:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784442148000,"timestamp_ms":1784442148000,"timestamp_seconds":1784442148,"priority":1,"record_length":96,"hex_timestamp":"0000019f790a54a0"} 
[2026-07-19 11:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 11:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817112832001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817112832001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817112832001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":138906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:55:37] local.INFO: GPS data processed {"connection_id":138906,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:55:37] local.INFO: Acknowledgment sent {"connection_id":138906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:55:51] local.INFO: TCP Data received {"connection_id":138907,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:55:51] local.INFO: Processing buffer {"connection_id":138907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:55:51] local.INFO: IMEI packet received {"connection_id":138907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 11:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":138907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:55:57] local.INFO: TCP Data received {"connection_id":138907,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:55:57] local.INFO: Processing buffer {"connection_id":138907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:55:57] local.INFO: IMEI packet received {"connection_id":138907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":138907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:55:58] local.INFO: TCP Data received {"connection_id":138907,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f790be6f8012d1821000721b1a0004e00d821..."} 
[2026-07-19 11:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790be6f8012d1821000721b1a0004e00d821..."} 
[2026-07-19 11:55:58] local.INFO: Processing buffer {"connection_id":138907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790be6f8012d1821000721b1a0004e00d821..."} 
[2026-07-19 11:55:58] local.INFO: Packet analysis {"connection_id":138907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790b"} 
[2026-07-19 11:55:58] local.INFO: Extracted packet for processing {"connection_id":138907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790b"} 
[2026-07-19 11:55:58] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648672,"longitude_deg":75.6556032,"latitude_deg":11.9648672,"altitude":78,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b1a0","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817210880001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091411912491008,"note":"Value kept but may cause issues"} 
[2026-07-19 11:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771782144,"note":"Value kept but may cause issues"} 
[2026-07-19 11:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784442251000,"timestamp_ms":1784442251000,"timestamp_seconds":1784442251,"priority":1,"record_length":96,"hex_timestamp":"0000019f790be6f8"} 
[2026-07-19 11:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:55:58] 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-07-19 11: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-19 11:55: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-07-19 11: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-07-19 11:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":138907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":138907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":138907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817210880001,"66":12885,"120":206,"28":31744,"24":0,"16":7091411912491008,"45":1738670961771782144},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 11:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817210880001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:55:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 11:55:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091411912491008,"km_value":7091411912491.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771782144,"description":"Unknown IO ID 45"} 
[2026-07-19 11:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817210880001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771782144}} 
[2026-07-19 11:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":138907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:55:58] local.INFO: GPS data processed {"connection_id":138907,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:55:58] local.INFO: Acknowledgment sent {"connection_id":138907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:56:09] local.INFO: TCP Data received {"connection_id":138906,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:56:09] local.INFO: Processing buffer {"connection_id":138906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:56:09] local.INFO: Packet analysis {"connection_id":138906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:56:09] local.INFO: Extracted packet for processing {"connection_id":138906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817112832001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:56: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-07-19 11:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784442148000,"timestamp_ms":1784442148000,"timestamp_seconds":1784442148,"priority":1,"record_length":96,"hex_timestamp":"0000019f790a54a0"} 
[2026-07-19 11:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":15,"data_length":795,"current_offset":136} 
[2026-07-19 11:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11: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-07-19 11:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:56: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-07-19 11:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817112832001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817112832001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817112832001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":138906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:56:09] local.INFO: GPS data processed {"connection_id":138906,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:56:09] local.INFO: Acknowledgment sent {"connection_id":138906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:56:30] local.INFO: TCP Data received {"connection_id":138907,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f790c3900012d1821000721b1a0004e00d822..."} 
[2026-07-19 11:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790c3900012d1821000721b1a0004e00d822..."} 
[2026-07-19 11:56:30] local.INFO: Processing buffer {"connection_id":138907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790c3900012d1821000721b1a0004e00d822..."} 
[2026-07-19 11:56:30] local.INFO: Packet analysis {"connection_id":138907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790c"} 
[2026-07-19 11:56:30] local.INFO: Extracted packet for processing {"connection_id":138907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790c"} 
[2026-07-19 11:56:30] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648672,"longitude_deg":75.6556032,"latitude_deg":11.9648672,"altitude":78,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b1a0","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817216256001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091411912491008,"note":"Value kept but may cause issues"} 
[2026-07-19 11:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771782144,"note":"Value kept but may cause issues"} 
[2026-07-19 11:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784442272000,"timestamp_ms":1784442272000,"timestamp_seconds":1784442272,"priority":1,"record_length":96,"hex_timestamp":"0000019f790c3900"} 
[2026-07-19 11:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:56:30] 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-07-19 11: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-19 11:56:30] 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-07-19 11: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-07-19 11:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":138907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":138907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":138907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817216256001,"66":12863,"120":206,"28":31744,"24":0,"16":7091411912491008,"45":1738670961771782144},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 11:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817216256001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:56:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 11:56:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091411912491008,"km_value":7091411912491.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771782144,"description":"Unknown IO ID 45"} 
[2026-07-19 11:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817216256001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771782144}} 
[2026-07-19 11:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":138907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:56:30] local.INFO: GPS data processed {"connection_id":138907,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:56:30] local.INFO: Acknowledgment sent {"connection_id":138907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:56:31] local.INFO: TCP Data received {"connection_id":138908,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:56:31] local.INFO: Processing buffer {"connection_id":138908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:56:31] local.INFO: IMEI packet received {"connection_id":138908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":138908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:56:36] local.INFO: TCP Data received {"connection_id":138908,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:56:36] local.INFO: Processing buffer {"connection_id":138908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:56:36] local.INFO: IMEI packet received {"connection_id":138908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":138908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:56:37] local.INFO: TCP Data received {"connection_id":138908,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:56:37] local.INFO: Processing buffer {"connection_id":138908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:56:37] local.INFO: Packet analysis {"connection_id":138908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:56:37] local.INFO: Extracted packet for processing {"connection_id":138908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817112832001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:56: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-07-19 11:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784442148000,"timestamp_ms":1784442148000,"timestamp_seconds":1784442148,"priority":1,"record_length":96,"hex_timestamp":"0000019f790a54a0"} 
[2026-07-19 11:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 11:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:56: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-07-19 11:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817112832001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817112832001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:56:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817112832001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":138908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:56:37] local.INFO: GPS data processed {"connection_id":138908,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:56:37] local.INFO: Acknowledgment sent {"connection_id":138908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:56:51] local.INFO: TCP Data received {"connection_id":137490,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:56:51] local.INFO: Processing buffer {"connection_id":137490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:56:51] local.INFO: IMEI packet received {"connection_id":137490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 11:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":137490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:56:57] local.INFO: TCP Data received {"connection_id":137490,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:56:57] local.INFO: Processing buffer {"connection_id":137490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:56:57] local.INFO: IMEI packet received {"connection_id":137490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":137490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:56:58] local.INFO: TCP Data received {"connection_id":137490,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f790c8b08012d1821000721b1a0004e00d823..."} 
[2026-07-19 11:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790c8b08012d1821000721b1a0004e00d823..."} 
[2026-07-19 11:56:58] local.INFO: Processing buffer {"connection_id":137490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790c8b08012d1821000721b1a0004e00d823..."} 
[2026-07-19 11:56:58] local.INFO: Packet analysis {"connection_id":137490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790c"} 
[2026-07-19 11:56:58] local.INFO: Extracted packet for processing {"connection_id":137490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790c"} 
[2026-07-19 11:56:58] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648672,"longitude_deg":75.6556032,"latitude_deg":11.9648672,"altitude":78,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b1a0","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817221632001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091411912491008,"note":"Value kept but may cause issues"} 
[2026-07-19 11:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771782144,"note":"Value kept but may cause issues"} 
[2026-07-19 11:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784442293000,"timestamp_ms":1784442293000,"timestamp_seconds":1784442293,"priority":1,"record_length":96,"hex_timestamp":"0000019f790c8b08"} 
[2026-07-19 11:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:56:58] 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-07-19 11: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-19 11:56:58] 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-07-19 11: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-07-19 11:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":137490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":137490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":137490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817221632001,"66":12841,"120":206,"28":31744,"24":0,"16":7091411912491008,"45":1738670961771782144},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 11:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817221632001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:56:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 11:56:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091411912491008,"km_value":7091411912491.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771782144,"description":"Unknown IO ID 45"} 
[2026-07-19 11:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817221632001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771782144}} 
[2026-07-19 11:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":137490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:56:58] local.INFO: GPS data processed {"connection_id":137490,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:56:58] local.INFO: Acknowledgment sent {"connection_id":137490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:57:08] local.INFO: TCP Data received {"connection_id":138908,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:57:08] local.INFO: Processing buffer {"connection_id":138908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:57:08] local.INFO: Packet analysis {"connection_id":138908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:57:08] local.INFO: Extracted packet for processing {"connection_id":138908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817112832001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:57: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-07-19 11:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784442148000,"timestamp_ms":1784442148000,"timestamp_seconds":1784442148,"priority":1,"record_length":96,"hex_timestamp":"0000019f790a54a0"} 
[2026-07-19 11:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":15,"data_length":795,"current_offset":136} 
[2026-07-19 11:57: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-07-19 11: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-07-19 11:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":138908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":138908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":138908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:57: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-07-19 11:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817112832001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817112832001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:57:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817112832001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":138908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:57:08] local.INFO: GPS data processed {"connection_id":138908,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:57:08] local.INFO: Acknowledgment sent {"connection_id":138908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:57:30] local.INFO: TCP Data received {"connection_id":137490,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f790cdd10012d1821000721b1a0004e00d822..."} 
[2026-07-19 11:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790cdd10012d1821000721b1a0004e00d822..."} 
[2026-07-19 11:57:30] local.INFO: Processing buffer {"connection_id":137490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790cdd10012d1821000721b1a0004e00d822..."} 
[2026-07-19 11:57:30] local.INFO: Packet analysis {"connection_id":137490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790c"} 
[2026-07-19 11:57:30] local.INFO: Extracted packet for processing {"connection_id":137490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790c"} 
[2026-07-19 11:57:30] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648672,"longitude_deg":75.6556032,"latitude_deg":11.9648672,"altitude":78,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b1a0","is_valid_coordinates":true} 
[2026-07-19 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-07-19 11:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817227008001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091411912491008,"note":"Value kept but may cause issues"} 
[2026-07-19 11:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771782144,"note":"Value kept but may cause issues"} 
[2026-07-19 11:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784442314000,"timestamp_ms":1784442314000,"timestamp_seconds":1784442314,"priority":1,"record_length":96,"hex_timestamp":"0000019f790cdd10"} 
[2026-07-19 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-07-19 11:57:30] 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-07-19 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-19 11:57:30] 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-07-19 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-07-19 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-07-19 11:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":137490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":137490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":137490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817227008001,"66":12841,"120":206,"28":31744,"24":0,"16":7091411912491008,"45":1738670961771782144},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 11:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817227008001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:57:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 11:57:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091411912491008,"km_value":7091411912491.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771782144,"description":"Unknown IO ID 45"} 
[2026-07-19 11:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817227008001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771782144}} 
[2026-07-19 11:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":137490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:57:30] local.INFO: GPS data processed {"connection_id":137490,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:57:30] local.INFO: Acknowledgment sent {"connection_id":137490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:57:36] local.INFO: TCP Data received {"connection_id":136556,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:57:36] local.INFO: Processing buffer {"connection_id":136556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:57:36] local.INFO: IMEI packet received {"connection_id":136556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":136556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:57:41] local.INFO: TCP Data received {"connection_id":136556,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:57:41] local.INFO: Processing buffer {"connection_id":136556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:57:41] local.INFO: IMEI packet received {"connection_id":136556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":136556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:57:42] local.INFO: TCP Data received {"connection_id":136556,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:57:42] local.INFO: Processing buffer {"connection_id":136556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:57:42] local.INFO: Packet analysis {"connection_id":136556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:57:42] local.INFO: Extracted packet for processing {"connection_id":136556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:57:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817112832001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784442148000,"timestamp_ms":1784442148000,"timestamp_seconds":1784442148,"priority":1,"record_length":96,"hex_timestamp":"0000019f790a54a0"} 
[2026-07-19 11:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 11:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817112832001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817112832001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:57:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:57:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817112832001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":136556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:57:42] local.INFO: GPS data processed {"connection_id":136556,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:57:42] local.INFO: Acknowledgment sent {"connection_id":136556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:57:47] local.INFO: TCP Data received {"connection_id":136556,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:57:47] local.INFO: Processing buffer {"connection_id":136556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790a54a0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 11:57:47] local.INFO: Packet analysis {"connection_id":136556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:57:47] local.INFO: Extracted packet for processing {"connection_id":136556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790a"} 
[2026-07-19 11:57:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817112832001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784442148000,"timestamp_ms":1784442148000,"timestamp_seconds":1784442148,"priority":1,"record_length":96,"hex_timestamp":"0000019f790a54a0"} 
[2026-07-19 11:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-19 11:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 11:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817112832001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817112832001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:57:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:57:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817112832001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":136556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:57:47] local.INFO: GPS data processed {"connection_id":136556,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:57:47] local.INFO: Acknowledgment sent {"connection_id":136556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:57:56] local.INFO: TCP Data received {"connection_id":136415,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:57:56] local.INFO: Processing buffer {"connection_id":136415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:57:56] local.INFO: IMEI packet received {"connection_id":136415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 11:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":136415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:58:01] local.INFO: TCP Data received {"connection_id":136415,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:58:01] local.INFO: Processing buffer {"connection_id":136415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:58:01] local.INFO: IMEI packet received {"connection_id":136415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":136415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:58:03] local.INFO: TCP Data received {"connection_id":136415,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f790d2f18012d1821000721b1a0004e00d823..."} 
[2026-07-19 11:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790d2f18012d1821000721b1a0004e00d823..."} 
[2026-07-19 11:58:03] local.INFO: Processing buffer {"connection_id":136415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790d2f18012d1821000721b1a0004e00d823..."} 
[2026-07-19 11:58:03] local.INFO: Packet analysis {"connection_id":136415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790d"} 
[2026-07-19 11:58:03] local.INFO: Extracted packet for processing {"connection_id":136415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790d"} 
[2026-07-19 11:58:03] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648672,"longitude_deg":75.6556032,"latitude_deg":11.9648672,"altitude":78,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b1a0","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817232384001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091411912491008,"note":"Value kept but may cause issues"} 
[2026-07-19 11:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771782144,"note":"Value kept but may cause issues"} 
[2026-07-19 11:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784442335000,"timestamp_ms":1784442335000,"timestamp_seconds":1784442335,"priority":1,"record_length":96,"hex_timestamp":"0000019f790d2f18"} 
[2026-07-19 11:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:58:03] 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-07-19 11: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-19 11:58:03] 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-07-19 11: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-07-19 11:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":136415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":136415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":136415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817232384001,"66":12798,"120":206,"28":31744,"24":0,"16":7091411912491008,"45":1738670961771782144},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 11:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817232384001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:58:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 11:58:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091411912491008,"km_value":7091411912491.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771782144,"description":"Unknown IO ID 45"} 
[2026-07-19 11:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817232384001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771782144}} 
[2026-07-19 11:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":136415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:58:03] local.INFO: GPS data processed {"connection_id":136415,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:58:03] local.INFO: Acknowledgment sent {"connection_id":136415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:58:05] local.INFO: TCP Data received {"connection_id":136415,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f790d8120012d1821000721b1a0004e00d824..."} 
[2026-07-19 11:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790d8120012d1821000721b1a0004e00d824..."} 
[2026-07-19 11:58:05] local.INFO: Processing buffer {"connection_id":136415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790d8120012d1821000721b1a0004e00d824..."} 
[2026-07-19 11:58:05] local.INFO: Packet analysis {"connection_id":136415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790d"} 
[2026-07-19 11:58:05] local.INFO: Extracted packet for processing {"connection_id":136415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790d"} 
[2026-07-19 11:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648672,"longitude_deg":75.6556032,"latitude_deg":11.9648672,"altitude":78,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b1a0","is_valid_coordinates":true} 
[2026-07-19 11:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817237760001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091411912491008,"note":"Value kept but may cause issues"} 
[2026-07-19 11:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771782144,"note":"Value kept but may cause issues"} 
[2026-07-19 11:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784442356000,"timestamp_ms":1784442356000,"timestamp_seconds":1784442356,"priority":1,"record_length":96,"hex_timestamp":"0000019f790d8120"} 
[2026-07-19 11:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:58:05] 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-07-19 11:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-19 11:58:05] 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-07-19 11:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":136415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":136415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":136415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817237760001,"66":12809,"122":206,"28":31744,"24":0,"16":7091411912491008,"45":1738670961771782144},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-19 11:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817237760001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:58:05] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-19 11:58:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091411912491008,"km_value":7091411912491.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771782144,"description":"Unknown IO ID 45"} 
[2026-07-19 11:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817237760001,"power":12809,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771782144}} 
[2026-07-19 11:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":136415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:58:05] local.INFO: GPS data processed {"connection_id":136415,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:58:05] local.INFO: Acknowledgment sent {"connection_id":136415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:58:31] local.INFO: TCP Data received {"connection_id":137491,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:58:31] local.INFO: Processing buffer {"connection_id":137491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:58:31] local.INFO: IMEI packet received {"connection_id":137491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":137491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:58:36] local.INFO: TCP Data received {"connection_id":137491,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:58:36] local.INFO: Processing buffer {"connection_id":137491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:58:36] local.INFO: IMEI packet received {"connection_id":137491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":137491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:58:36] local.INFO: TCP Data received {"connection_id":136415,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f790dd328012d1821000721b1a0004e00d823..."} 
[2026-07-19 11:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790dd328012d1821000721b1a0004e00d823..."} 
[2026-07-19 11:58:36] local.INFO: Processing buffer {"connection_id":136415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790dd328012d1821000721b1a0004e00d823..."} 
[2026-07-19 11:58:36] local.INFO: Packet analysis {"connection_id":136415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790d"} 
[2026-07-19 11:58:36] local.INFO: Extracted packet for processing {"connection_id":136415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790d"} 
[2026-07-19 11:58:36] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648672,"longitude_deg":75.6556032,"latitude_deg":11.9648672,"altitude":78,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b1a0","is_valid_coordinates":true} 
[2026-07-19 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-07-19 11:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817243136001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091411912491008,"note":"Value kept but may cause issues"} 
[2026-07-19 11:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771782144,"note":"Value kept but may cause issues"} 
[2026-07-19 11:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784442377000,"timestamp_ms":1784442377000,"timestamp_seconds":1784442377,"priority":1,"record_length":96,"hex_timestamp":"0000019f790dd328"} 
[2026-07-19 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-07-19 11:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-19 11:58:36] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2583691264,"note":"Value kept but may cause issues"} 
[2026-07-19 11:58:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-19 11:58:36] local.WARNING: Large IO value detected {"io_id":121,"raw_value":811465974629277952,"note":"Value kept but may cause issues"} 
[2026-07-19 11:58:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-19 11:58:36] local.WARNING: Large IO value detected {"io_id":230,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-07-19 11:58:36] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964896472026652,"note":"Value kept but may cause issues"} 
[2026-07-19 11:58:36] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2427897597298530337,"note":"Value kept but may cause issues"} 
[2026-07-19 11:58:36] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-19 11:58:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,122,28,24,241,158,16,49,159,47,45,177,78,35,10,66,120,221,34,139,1,240,41,121,33,4,113,205,230,160,239,50,2,25,7,124,154],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-19 11:58:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620729984088801280,"timestamp_seconds":5620729984088801.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 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-07-19 11:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817243136001,"66":12798,"120":206,"28":31744,"24":0,"16":7091411912491008,"45":1738670961771782144},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 11:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817243136001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:58:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 11:58:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091411912491008,"km_value":7091411912491.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771782144,"description":"Unknown IO ID 45"} 
[2026-07-19 11:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817243136001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771782144}} 
[2026-07-19 11:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":136415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:58:36] local.INFO: GPS data processed {"connection_id":136415,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:58:36] local.INFO: Acknowledgment sent {"connection_id":136415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:58:38] local.INFO: TCP Data received {"connection_id":137491,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 11:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 11:58:38] local.INFO: Processing buffer {"connection_id":137491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 11:58:38] local.INFO: Packet analysis {"connection_id":137491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 11:58:38] local.INFO: Extracted packet for processing {"connection_id":137491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 11:58:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817189888001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:58: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-07-19 11:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784442449000,"timestamp_ms":1784442449000,"timestamp_seconds":1784442449,"priority":1,"record_length":96,"hex_timestamp":"0000019f790eec68"} 
[2026-07-19 11:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 11:58:38] 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-07-19 11:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:58: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-07-19 11:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817189888001,"66":25604,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817189888001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817189888001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":137491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:58:38] local.INFO: GPS data processed {"connection_id":137491,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:58:38] local.INFO: Acknowledgment sent {"connection_id":137491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:58:52] local.INFO: TCP Data received {"connection_id":136557,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:58:52] local.INFO: Processing buffer {"connection_id":136557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:58:52] local.INFO: IMEI packet received {"connection_id":136557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 11:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":136557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:58:57] local.INFO: TCP Data received {"connection_id":136557,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:58:57] local.INFO: Processing buffer {"connection_id":136557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:58:57] local.INFO: IMEI packet received {"connection_id":136557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":136557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:58:58] local.INFO: TCP Data received {"connection_id":136557,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f790e2530012d1821000721b1a0004e00d824..."} 
[2026-07-19 11:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790e2530012d1821000721b1a0004e00d824..."} 
[2026-07-19 11:58:58] local.INFO: Processing buffer {"connection_id":136557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790e2530012d1821000721b1a0004e00d824..."} 
[2026-07-19 11:58:58] local.INFO: Packet analysis {"connection_id":136557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 11:58:58] local.INFO: Extracted packet for processing {"connection_id":136557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 11:58:58] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648672,"longitude_deg":75.6556032,"latitude_deg":11.9648672,"altitude":78,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b1a0","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817248512001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091411912491008,"note":"Value kept but may cause issues"} 
[2026-07-19 11:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771782144,"note":"Value kept but may cause issues"} 
[2026-07-19 11:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784442398000,"timestamp_ms":1784442398000,"timestamp_seconds":1784442398,"priority":1,"record_length":96,"hex_timestamp":"0000019f790e2530"} 
[2026-07-19 11:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 11: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-19 11:58:58] 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-07-19 11: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-07-19 11:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817248512001,"66":12765,"120":206,"28":31744,"24":0,"16":7091411912491008,"45":1738670961771782144},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 11:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817248512001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:58:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 11:58:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091411912491008,"km_value":7091411912491.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771782144,"description":"Unknown IO ID 45"} 
[2026-07-19 11:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817248512001,"power":12765,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771782144}} 
[2026-07-19 11:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":136557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:58:58] local.INFO: GPS data processed {"connection_id":136557,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:58:58] local.INFO: Acknowledgment sent {"connection_id":136557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:59:02] local.INFO: TCP Data received {"connection_id":136557,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f790e7738012d1821000721b1a0004e00d824..."} 
[2026-07-19 11:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790e7738012d1821000721b1a0004e00d824..."} 
[2026-07-19 11:59:02] local.INFO: Processing buffer {"connection_id":136557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790e7738012d1821000721b1a0004e00d824..."} 
[2026-07-19 11:59:02] local.INFO: Packet analysis {"connection_id":136557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 11:59:02] local.INFO: Extracted packet for processing {"connection_id":136557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 11:59:02] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648672,"longitude_deg":75.6556032,"latitude_deg":11.9648672,"altitude":78,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b1a0","is_valid_coordinates":true} 
[2026-07-19 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-07-19 11:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817253888001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091411912491008,"note":"Value kept but may cause issues"} 
[2026-07-19 11:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771782144,"note":"Value kept but may cause issues"} 
[2026-07-19 11:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784442419000,"timestamp_ms":1784442419000,"timestamp_seconds":1784442419,"priority":1,"record_length":96,"hex_timestamp":"0000019f790e7738"} 
[2026-07-19 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-07-19 11:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-19 11:59:02] 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-07-19 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-07-19 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-07-19 11:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817253888001,"66":12461,"120":206,"28":31744,"24":0,"16":7091411912491008,"45":1738670961771782144},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 11:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817253888001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:59:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 11:59:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091411912491008,"km_value":7091411912491.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771782144,"description":"Unknown IO ID 45"} 
[2026-07-19 11:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817253888001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771782144}} 
[2026-07-19 11:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":136557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:59:02] local.INFO: GPS data processed {"connection_id":136557,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:59:02] local.INFO: Acknowledgment sent {"connection_id":136557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:59:09] local.INFO: TCP Data received {"connection_id":137491,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 11:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 11:59:09] local.INFO: Processing buffer {"connection_id":137491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 11:59:09] local.INFO: Packet analysis {"connection_id":137491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 11:59:09] local.INFO: Extracted packet for processing {"connection_id":137491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 11:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817189888001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:59: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-07-19 11:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784442449000,"timestamp_ms":1784442449000,"timestamp_seconds":1784442449,"priority":1,"record_length":96,"hex_timestamp":"0000019f790eec68"} 
[2026-07-19 11:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 11:59: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-07-19 11: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-07-19 11:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:59: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-07-19 11:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817189888001,"66":25604,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817189888001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:59:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817189888001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":137491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:59:09] local.INFO: GPS data processed {"connection_id":137491,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:59:09] local.INFO: Acknowledgment sent {"connection_id":137491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:59:31] local.INFO: TCP Data received {"connection_id":136417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:59:31] local.INFO: Processing buffer {"connection_id":136417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:59:31] local.INFO: IMEI packet received {"connection_id":136417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 11:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":136417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:59:34] local.INFO: TCP Data received {"connection_id":136557,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f790ec940012d1821000721b1a0004e00d824..."} 
[2026-07-19 11:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790ec940012d1821000721b1a0004e00d824..."} 
[2026-07-19 11:59:34] local.INFO: Processing buffer {"connection_id":136557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790ec940012d1821000721b1a0004e00d824..."} 
[2026-07-19 11:59:34] local.INFO: Packet analysis {"connection_id":136557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 11:59:34] local.INFO: Extracted packet for processing {"connection_id":136557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 11:59:34] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648672,"longitude_deg":75.6556032,"latitude_deg":11.9648672,"altitude":78,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b1a0","is_valid_coordinates":true} 
[2026-07-19 11: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-07-19 11:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817259264001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091411912491008,"note":"Value kept but may cause issues"} 
[2026-07-19 11:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771782144,"note":"Value kept but may cause issues"} 
[2026-07-19 11:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784442440000,"timestamp_ms":1784442440000,"timestamp_seconds":1784442440,"priority":1,"record_length":96,"hex_timestamp":"0000019f790ec940"} 
[2026-07-19 11:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 11:59:34] 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-07-19 11: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-07-19 11:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":136557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":136557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":136557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817259264001,"66":12613,"120":206,"28":31744,"24":0,"16":7091411912491008,"45":1738670961771782144},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 11:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817259264001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:59:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 11:59:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091411912491008,"km_value":7091411912491.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771782144,"description":"Unknown IO ID 45"} 
[2026-07-19 11:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817259264001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771782144}} 
[2026-07-19 11:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":136557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:59:34] local.INFO: GPS data processed {"connection_id":136557,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:59:34] local.INFO: Acknowledgment sent {"connection_id":136557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:59:36] local.INFO: TCP Data received {"connection_id":136417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:59:36] local.INFO: Processing buffer {"connection_id":136417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 11:59:36] local.INFO: IMEI packet received {"connection_id":136417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 11:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":136417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:59:37] local.INFO: TCP Data received {"connection_id":136417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 11:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 11:59:37] local.INFO: Processing buffer {"connection_id":136417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 11:59:37] local.INFO: Packet analysis {"connection_id":136417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 11:59:37] local.INFO: Extracted packet for processing {"connection_id":136417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 11:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 11:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817189888001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 11:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 11:59: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-07-19 11:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784442449000,"timestamp_ms":1784442449000,"timestamp_seconds":1784442449,"priority":1,"record_length":96,"hex_timestamp":"0000019f790eec68"} 
[2026-07-19 11:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 11:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 11:59: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-07-19 11:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 11:59: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-07-19 11:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 11:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 11:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817189888001,"66":25604,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 11:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 11:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 11:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817189888001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:59:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 11:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 11:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 11:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817189888001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 11:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":136417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:59:38] local.INFO: GPS data processed {"connection_id":136417,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:59:38] local.INFO: Acknowledgment sent {"connection_id":136417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 11:59:47] local.INFO: TCP Data received {"connection_id":136416,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136416,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:59:47] local.INFO: Processing buffer {"connection_id":136416,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 11:59:47] local.INFO: IMEI packet received {"connection_id":136416,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 11:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":136416,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:59:52] local.INFO: TCP Data received {"connection_id":136418,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:59:52] local.INFO: Processing buffer {"connection_id":136418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:59:52] local.INFO: IMEI packet received {"connection_id":136418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 11:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":136418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 11:59:57] local.INFO: TCP Data received {"connection_id":136418,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:59:57] local.INFO: Processing buffer {"connection_id":136418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 11:59:57] local.INFO: IMEI packet received {"connection_id":136418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 11:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":136418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 11:59:58] local.INFO: TCP Data received {"connection_id":136418,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f790f1b48012d1820000721b148004c00db24..."} 
[2026-07-19 11:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790f1b48012d1820000721b148004c00db24..."} 
[2026-07-19 11:59:58] local.INFO: Processing buffer {"connection_id":136418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790f1b48012d1820000721b148004c00db24..."} 
[2026-07-19 11:59:58] local.INFO: Packet analysis {"connection_id":136418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790f"} 
[2026-07-19 11:59:58] local.INFO: Extracted packet for processing {"connection_id":136418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790f"} 
[2026-07-19 11:59:58] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648584,"longitude_deg":75.6555776,"latitude_deg":11.9648584,"altitude":76,"angle":219,"satellites":36,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-07-19 11:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 11:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817264640001,"note":"Value kept but may cause issues"} 
[2026-07-19 11:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091433387327488,"note":"Value kept but may cause issues"} 
[2026-07-19 11:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771782144,"note":"Value kept but may cause issues"} 
[2026-07-19 11:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 11:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784442461000,"timestamp_ms":1784442461000,"timestamp_seconds":1784442461,"priority":1,"record_length":96,"hex_timestamp":"0000019f790f1b48"} 
[2026-07-19 11:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 11:59:58] 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-07-19 11:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-19 11:59:58] 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-07-19 11:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 11:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 11:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 11:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 11:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 11:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 11:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 11:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 11:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817264640001,"66":12711,"120":206,"28":31744,"24":0,"16":7091433387327488,"45":1738670961771782144},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 11:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 11:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 11:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817264640001,"description":"Unknown IO ID 0"} 
[2026-07-19 11:59:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 11:59:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 11:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091433387327488,"km_value":7091433387327.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 11:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771782144,"description":"Unknown IO ID 45"} 
[2026-07-19 11:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817264640001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771782144}} 
[2026-07-19 11:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":136418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 11:59:58] local.INFO: GPS data processed {"connection_id":136418,"processed":1,"errors":0,"total":1} 
[2026-07-19 11:59:58] local.INFO: Acknowledgment sent {"connection_id":136418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:00:02] local.INFO: TCP Data received {"connection_id":136418,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f790f6968012d181fc00721b130004c00db23..."} 
[2026-07-19 12:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790f6968012d181fc00721b130004c00db23..."} 
[2026-07-19 12:00:02] local.INFO: Processing buffer {"connection_id":136418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790f6968012d181fc00721b130004c00db23..."} 
[2026-07-19 12:00:02] local.INFO: Packet analysis {"connection_id":136418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790f"} 
[2026-07-19 12:00:02] local.INFO: Extracted packet for processing {"connection_id":136418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790f"} 
[2026-07-19 12:00:02] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648560,"longitude_deg":75.6555712,"latitude_deg":11.964856,"altitude":76,"angle":219,"satellites":35,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b130","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817270016001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091437682294784,"note":"Value kept but may cause issues"} 
[2026-07-19 12:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795048960,"note":"Value kept but may cause issues"} 
[2026-07-19 12:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784442481000,"timestamp_ms":1784442481000,"timestamp_seconds":1784442481,"priority":1,"record_length":96,"hex_timestamp":"0000019f790f6968"} 
[2026-07-19 12:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:00:02] 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-07-19 12: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-19 12:00:02] 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-07-19 12: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-07-19 12:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817270016001,"66":12711,"120":206,"28":31744,"24":0,"16":7091437682294784,"45":1738389486795048960},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817270016001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:00:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:00:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091437682294784,"km_value":7091437682294.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795048960,"description":"Unknown IO ID 45"} 
[2026-07-19 12:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817270016001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795048960}} 
[2026-07-19 12:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":136418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:00:02] local.INFO: GPS data processed {"connection_id":136418,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:00:02] local.INFO: Acknowledgment sent {"connection_id":136418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:00:09] local.INFO: TCP Data received {"connection_id":136417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 12:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 12:00:09] local.INFO: Processing buffer {"connection_id":136417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 12:00:09] local.INFO: Packet analysis {"connection_id":136417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 12:00:09] local.INFO: Extracted packet for processing {"connection_id":136417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 12:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817189888001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12: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-07-19 12:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784442449000,"timestamp_ms":1784442449000,"timestamp_seconds":1784442449,"priority":1,"record_length":96,"hex_timestamp":"0000019f790eec68"} 
[2026-07-19 12:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:00: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-07-19 12: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-07-19 12:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12: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-07-19 12:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817189888001,"66":25604,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 12:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817189888001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:00:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:00:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817189888001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":136417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:00:09] local.INFO: GPS data processed {"connection_id":136417,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:00:09] local.INFO: Acknowledgment sent {"connection_id":136417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:00:27] local.INFO: TCP Data received {"connection_id":138911,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:00:27] local.INFO: Processing buffer {"connection_id":138911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:00:27] local.INFO: IMEI packet received {"connection_id":138911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 12:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":138911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:00:31] local.INFO: TCP Data received {"connection_id":138912,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:00:31] local.INFO: Processing buffer {"connection_id":138912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:00:31] local.INFO: IMEI packet received {"connection_id":138912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":138912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:00:34] local.INFO: TCP Data received {"connection_id":136418,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f790fbb70012d181fc00721b130004c00db23..."} 
[2026-07-19 12:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790fbb70012d181fc00721b130004c00db23..."} 
[2026-07-19 12:00:34] local.INFO: Processing buffer {"connection_id":136418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790fbb70012d181fc00721b130004c00db23..."} 
[2026-07-19 12:00:34] local.INFO: Packet analysis {"connection_id":136418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790f"} 
[2026-07-19 12:00:34] local.INFO: Extracted packet for processing {"connection_id":136418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790f"} 
[2026-07-19 12:00:34] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648560,"longitude_deg":75.6555712,"latitude_deg":11.964856,"altitude":76,"angle":219,"satellites":35,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b130","is_valid_coordinates":true} 
[2026-07-19 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-07-19 12:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817275136001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091437682294784,"note":"Value kept but may cause issues"} 
[2026-07-19 12:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050865152,"note":"Value kept but may cause issues"} 
[2026-07-19 12:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784442502000,"timestamp_ms":1784442502000,"timestamp_seconds":1784442502,"priority":1,"record_length":96,"hex_timestamp":"0000019f790fbb70"} 
[2026-07-19 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-07-19 12:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-19 12:00:34] 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-07-19 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-07-19 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-07-19 12:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":136418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":136418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":136418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817275136001,"66":12548,"120":206,"28":31744,"24":0,"16":7091437682294784,"45":1738319118050865152},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817275136001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:00:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:00:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091437682294784,"km_value":7091437682294.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050865152,"description":"Unknown IO ID 45"} 
[2026-07-19 12:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817275136001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050865152}} 
[2026-07-19 12:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":136418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:00:34] local.INFO: GPS data processed {"connection_id":136418,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:00:34] local.INFO: Acknowledgment sent {"connection_id":136418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:00:37] local.INFO: TCP Data received {"connection_id":138912,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:00:37] local.INFO: Processing buffer {"connection_id":138912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:00:37] local.INFO: IMEI packet received {"connection_id":138912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":138912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:00:38] local.INFO: TCP Data received {"connection_id":138912,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 12:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 12:00:38] local.INFO: Processing buffer {"connection_id":138912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 12:00:38] local.INFO: Packet analysis {"connection_id":138912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 12:00:38] local.INFO: Extracted packet for processing {"connection_id":138912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 12:00:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817189888001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:00: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-07-19 12:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784442449000,"timestamp_ms":1784442449000,"timestamp_seconds":1784442449,"priority":1,"record_length":96,"hex_timestamp":"0000019f790eec68"} 
[2026-07-19 12:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:00:38] 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-07-19 12:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:00: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-07-19 12:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817189888001,"66":25604,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 12:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817189888001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:00:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:00:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817189888001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":138912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:00:38] local.INFO: GPS data processed {"connection_id":138912,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:00:38] local.INFO: Acknowledgment sent {"connection_id":138912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:00:52] local.INFO: TCP Data received {"connection_id":137492,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:00:52] local.INFO: Processing buffer {"connection_id":137492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:00:52] local.INFO: IMEI packet received {"connection_id":137492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":137492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:00:56] local.INFO: TCP Data received {"connection_id":137492,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:00:56] local.INFO: Processing buffer {"connection_id":137492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:00:56] local.INFO: IMEI packet received {"connection_id":137492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":137492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:00:57] local.INFO: TCP Data received {"connection_id":137492,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79100990012d181fc00721b130004c00db23..."} 
[2026-07-19 12:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79100990012d181fc00721b130004c00db23..."} 
[2026-07-19 12:00:57] local.INFO: Processing buffer {"connection_id":137492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79100990012d181fc00721b130004c00db23..."} 
[2026-07-19 12:00:57] local.INFO: Packet analysis {"connection_id":137492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7910"} 
[2026-07-19 12:00:57] local.INFO: Extracted packet for processing {"connection_id":137492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7910"} 
[2026-07-19 12:00:57] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648560,"longitude_deg":75.6555712,"latitude_deg":11.964856,"altitude":76,"angle":219,"satellites":35,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b130","is_valid_coordinates":true} 
[2026-07-19 12:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817280512001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091437682294784,"note":"Value kept but may cause issues"} 
[2026-07-19 12:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050865152,"note":"Value kept but may cause issues"} 
[2026-07-19 12:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784442522000,"timestamp_ms":1784442522000,"timestamp_seconds":1784442522,"priority":1,"record_length":96,"hex_timestamp":"0000019f79100990"} 
[2026-07-19 12:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 12:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-19 12:00:57] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817447,"note":"Value kept but may cause issues"} 
[2026-07-19 12:00:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184213414093,"note":"Value kept but may cause issues"} 
[2026-07-19 12:00:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-19 12:00:57] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-19 12:00:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,49,159,105,45,192,177,76,35,10,66,27,36,201,1,240,69,121,33,4,113,205,37,160,239,2,25,7,78,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-19 12:00:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476618090252861440,"timestamp_seconds":5476618090252861.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 12:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817280512001,"66":12613,"120":206,"28":31744,"24":0,"16":7091437682294784,"45":1738319118050865152},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817280512001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:00:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:00:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091437682294784,"km_value":7091437682294.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050865152,"description":"Unknown IO ID 45"} 
[2026-07-19 12:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817280512001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050865152}} 
[2026-07-19 12:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":137492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:00:58] local.INFO: GPS data processed {"connection_id":137492,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:00:58] local.INFO: Acknowledgment sent {"connection_id":137492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:01:09] local.INFO: TCP Data received {"connection_id":138912,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 12:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 12:01:09] local.INFO: Processing buffer {"connection_id":138912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 12:01:09] local.INFO: Packet analysis {"connection_id":138912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 12:01:09] local.INFO: Extracted packet for processing {"connection_id":138912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 12:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 12:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817189888001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:01: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-07-19 12:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784442449000,"timestamp_ms":1784442449000,"timestamp_seconds":1784442449,"priority":1,"record_length":96,"hex_timestamp":"0000019f790eec68"} 
[2026-07-19 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-07-19 12:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:01: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-07-19 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-07-19 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-07-19 12:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:01: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-07-19 12:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817189888001,"66":25604,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 12:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817189888001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:01:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:01:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817189888001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":138912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:01:09] local.INFO: GPS data processed {"connection_id":138912,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:01:09] local.INFO: Acknowledgment sent {"connection_id":138912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:01:29] local.INFO: TCP Data received {"connection_id":137492,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f791057b0012d181fc00721b130004c00db23..."} 
[2026-07-19 12:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791057b0012d181fc00721b130004c00db23..."} 
[2026-07-19 12:01:29] local.INFO: Processing buffer {"connection_id":137492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791057b0012d181fc00721b130004c00db23..."} 
[2026-07-19 12:01:29] local.INFO: Packet analysis {"connection_id":137492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7910"} 
[2026-07-19 12:01:29] local.INFO: Extracted packet for processing {"connection_id":137492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7910"} 
[2026-07-19 12:01:29] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648560,"longitude_deg":75.6555712,"latitude_deg":11.964856,"altitude":76,"angle":219,"satellites":35,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b130","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817285632001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091437682294784,"note":"Value kept but may cause issues"} 
[2026-07-19 12:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050865152,"note":"Value kept but may cause issues"} 
[2026-07-19 12:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784442542000,"timestamp_ms":1784442542000,"timestamp_seconds":1784442542,"priority":1,"record_length":96,"hex_timestamp":"0000019f791057b0"} 
[2026-07-19 12:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:01:29] 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-07-19 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-19 12:01: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-07-19 12: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-07-19 12:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":137492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":137492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":137492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817285632001,"66":12645,"120":206,"28":31744,"24":0,"16":7091437682294784,"45":1738319118050865152},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817285632001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:01:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:01:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091437682294784,"km_value":7091437682294.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050865152,"description":"Unknown IO ID 45"} 
[2026-07-19 12:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817285632001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050865152}} 
[2026-07-19 12:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":137492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:01:29] local.INFO: GPS data processed {"connection_id":137492,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:01:29] local.INFO: Acknowledgment sent {"connection_id":137492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:01:31] local.INFO: TCP Data received {"connection_id":136419,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:01:31] local.INFO: Processing buffer {"connection_id":136419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:01:31] local.INFO: IMEI packet received {"connection_id":136419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":136419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:01:36] local.INFO: TCP Data received {"connection_id":136419,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:01:36] local.INFO: Processing buffer {"connection_id":136419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:01:36] local.INFO: IMEI packet received {"connection_id":136419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":136419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:01:37] local.INFO: TCP Data received {"connection_id":136419,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 12:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 12:01:37] local.INFO: Processing buffer {"connection_id":136419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 12:01:37] local.INFO: Packet analysis {"connection_id":136419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 12:01:37] local.INFO: Extracted packet for processing {"connection_id":136419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 12:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817189888001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:01: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-07-19 12:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784442449000,"timestamp_ms":1784442449000,"timestamp_seconds":1784442449,"priority":1,"record_length":96,"hex_timestamp":"0000019f790eec68"} 
[2026-07-19 12:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:01: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-07-19 12: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-07-19 12:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:01: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-07-19 12:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817189888001,"66":25604,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 12:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817189888001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:01:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817189888001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":136419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:01:37] local.INFO: GPS data processed {"connection_id":136419,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:01:37] local.INFO: Acknowledgment sent {"connection_id":136419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:01:51] local.INFO: TCP Data received {"connection_id":136420,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:01:51] local.INFO: Processing buffer {"connection_id":136420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:01:51] local.INFO: IMEI packet received {"connection_id":136420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":136420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:01:57] local.INFO: TCP Data received {"connection_id":136420,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:01:57] local.INFO: Processing buffer {"connection_id":136420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:01:57] local.INFO: IMEI packet received {"connection_id":136420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":136420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:01:58] local.INFO: TCP Data received {"connection_id":136420,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7910a5d0012d181ec00721af88004c00d925..."} 
[2026-07-19 12:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7910a5d0012d181ec00721af88004c00d925..."} 
[2026-07-19 12:01:58] local.INFO: Processing buffer {"connection_id":136420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7910a5d0012d181ec00721af88004c00d925..."} 
[2026-07-19 12:01:58] local.INFO: Packet analysis {"connection_id":136420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7910"} 
[2026-07-19 12:01:58] local.INFO: Extracted packet for processing {"connection_id":136420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7910"} 
[2026-07-19 12:01:58] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648136,"longitude_deg":75.6555456,"latitude_deg":11.9648136,"altitude":76,"angle":217,"satellites":37,"speed":1,"hex_longitude":"2d181ec0","hex_latitude":"0721af88","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817290752001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091463452098560,"note":"Value kept but may cause issues"} 
[2026-07-19 12:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050865152,"note":"Value kept but may cause issues"} 
[2026-07-19 12:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784442562000,"timestamp_ms":1784442562000,"timestamp_seconds":1784442562,"priority":1,"record_length":96,"hex_timestamp":"0000019f7910a5d0"} 
[2026-07-19 12:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:01:58] 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-07-19 12: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-19 12:01:58] 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-07-19 12: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-07-19 12:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817290752001,"66":12613,"120":206,"28":31744,"24":1,"16":7091463452098560,"45":1738319118050865152},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817290752001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:01:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:01:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091463452098560,"km_value":7091463452098.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050865152,"description":"Unknown IO ID 45"} 
[2026-07-19 12:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817290752001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1738319118050865152}} 
[2026-07-19 12:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":136420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:01:58] local.INFO: GPS data processed {"connection_id":136420,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:01:58] local.INFO: Acknowledgment sent {"connection_id":136420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:02:09] local.INFO: TCP Data received {"connection_id":136419,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 12:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 12:02:09] local.INFO: Processing buffer {"connection_id":136419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 12:02:09] local.INFO: Packet analysis {"connection_id":136419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 12:02:09] local.INFO: Extracted packet for processing {"connection_id":136419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 12:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817189888001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:02: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-07-19 12:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784442449000,"timestamp_ms":1784442449000,"timestamp_seconds":1784442449,"priority":1,"record_length":96,"hex_timestamp":"0000019f790eec68"} 
[2026-07-19 12:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:02: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-07-19 12: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-07-19 12:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12: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-07-19 12:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817189888001,"66":25604,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 12:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817189888001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:02:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817189888001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":136419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:02:09] local.INFO: GPS data processed {"connection_id":136419,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:02:09] local.INFO: Acknowledgment sent {"connection_id":136419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:02:30] local.INFO: TCP Data received {"connection_id":136420,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7910dc80012d181e400721ada8004c00c526..."} 
[2026-07-19 12:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7910dc80012d181e400721ada8004c00c526..."} 
[2026-07-19 12:02:30] local.INFO: Processing buffer {"connection_id":136420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7910dc80012d181e400721ada8004c00c526..."} 
[2026-07-19 12:02:30] local.INFO: Packet analysis {"connection_id":136420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7910"} 
[2026-07-19 12:02:30] local.INFO: Extracted packet for processing {"connection_id":136420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7910"} 
[2026-07-19 12:02:30] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647656,"longitude_deg":75.6555328,"latitude_deg":11.9647656,"altitude":76,"angle":197,"satellites":38,"speed":1,"hex_longitude":"2d181e40","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817295872001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091484926935040,"note":"Value kept but may cause issues"} 
[2026-07-19 12:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074045952,"note":"Value kept but may cause issues"} 
[2026-07-19 12:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784442576000,"timestamp_ms":1784442576000,"timestamp_seconds":1784442576,"priority":1,"record_length":96,"hex_timestamp":"0000019f7910dc80"} 
[2026-07-19 12:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:02:30] 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-07-19 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-19 12:02:30] 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-07-19 12: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-07-19 12:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":136420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":136420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":136420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817295872001,"66":12613,"120":206,"28":31744,"24":1,"16":7091484926935040,"45":1738037643074045952},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817295872001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:02:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:02:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091484926935040,"km_value":7091484926935.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074045952,"description":"Unknown IO ID 45"} 
[2026-07-19 12:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817295872001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1738037643074045952}} 
[2026-07-19 12:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":136420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:02:30] local.INFO: GPS data processed {"connection_id":136420,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:02:30] local.INFO: Acknowledgment sent {"connection_id":136420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:02:31] local.INFO: TCP Data received {"connection_id":137493,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:02:31] local.INFO: Processing buffer {"connection_id":137493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:02:31] local.INFO: IMEI packet received {"connection_id":137493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":137493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:02:36] local.INFO: TCP Data received {"connection_id":137493,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:02:36] local.INFO: Processing buffer {"connection_id":137493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:02:36] local.INFO: IMEI packet received {"connection_id":137493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":137493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:02:37] local.INFO: TCP Data received {"connection_id":137493,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 12:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 12:02:37] local.INFO: Processing buffer {"connection_id":137493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 12:02:37] local.INFO: Packet analysis {"connection_id":137493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 12:02:37] local.INFO: Extracted packet for processing {"connection_id":137493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 12:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817189888001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:02: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-07-19 12:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784442449000,"timestamp_ms":1784442449000,"timestamp_seconds":1784442449,"priority":1,"record_length":96,"hex_timestamp":"0000019f790eec68"} 
[2026-07-19 12:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:02: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-07-19 12:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:02: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-07-19 12:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817189888001,"66":25604,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 12:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817189888001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:02:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817189888001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":137493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:02:37] local.INFO: GPS data processed {"connection_id":137493,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:02:37] local.INFO: Acknowledgment sent {"connection_id":137493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:02:51] local.INFO: TCP Data received {"connection_id":137494,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:02:51] local.INFO: Processing buffer {"connection_id":137494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:02:51] local.INFO: IMEI packet received {"connection_id":137494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":137494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:02:52] local.INFO: TCP Data received {"connection_id":137494,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:02:52] local.INFO: Processing buffer {"connection_id":137494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:02:52] local.INFO: IMEI packet received {"connection_id":137494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":137494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:02:56] local.INFO: TCP Data received {"connection_id":137494,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:02:56] local.INFO: Processing buffer {"connection_id":137494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:02:56] local.INFO: IMEI packet received {"connection_id":137494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":137494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:02:57] local.INFO: TCP Data received {"connection_id":137494,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f791126b8012d181e000721ad80004c00c525..."} 
[2026-07-19 12:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791126b8012d181e000721ad80004c00c525..."} 
[2026-07-19 12:02:57] local.INFO: Processing buffer {"connection_id":137494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791126b8012d181e000721ad80004c00c525..."} 
[2026-07-19 12:02:57] local.INFO: Packet analysis {"connection_id":137494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7911"} 
[2026-07-19 12:02:57] local.INFO: Extracted packet for processing {"connection_id":137494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7911"} 
[2026-07-19 12:02:57] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647616,"longitude_deg":75.6555264,"latitude_deg":11.9647616,"altitude":76,"angle":197,"satellites":37,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad80","is_valid_coordinates":true} 
[2026-07-19 12:02: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-07-19 12:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817299456001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091489221902336,"note":"Value kept but may cause issues"} 
[2026-07-19 12:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585567744,"note":"Value kept but may cause issues"} 
[2026-07-19 12:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784442595000,"timestamp_ms":1784442595000,"timestamp_seconds":1784442595,"priority":1,"record_length":96,"hex_timestamp":"0000019f791126b8"} 
[2026-07-19 12:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:02:57] 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-07-19 12:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-19 12:02:57] 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-07-19 12:02: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-07-19 12:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817299456001,"66":12591,"120":206,"28":31744,"24":0,"16":7091489221902336,"45":1737896905585567744},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817299456001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:02:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:02:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091489221902336,"km_value":7091489221902.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585567744,"description":"Unknown IO ID 45"} 
[2026-07-19 12:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817299456001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585567744}} 
[2026-07-19 12:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":137494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:02:58] local.INFO: GPS data processed {"connection_id":137494,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:02:58] local.INFO: Acknowledgment sent {"connection_id":137494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:03:08] local.INFO: TCP Data received {"connection_id":137493,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 12:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 12:03:08] local.INFO: Processing buffer {"connection_id":137493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f790eec68012d34c50006aa4dd8000800952d..."} 
[2026-07-19 12:03:08] local.INFO: Packet analysis {"connection_id":137493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 12:03:08] local.INFO: Extracted packet for processing {"connection_id":137493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f790e"} 
[2026-07-19 12:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817189888001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:03: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-07-19 12:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784442449000,"timestamp_ms":1784442449000,"timestamp_seconds":1784442449,"priority":1,"record_length":96,"hex_timestamp":"0000019f790eec68"} 
[2026-07-19 12:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:03: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-07-19 12:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817189888001,"66":25604,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 12:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817189888001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:03:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:03:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817189888001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":137493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:03:08] local.INFO: GPS data processed {"connection_id":137493,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:03:08] local.INFO: Acknowledgment sent {"connection_id":137493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:03:29] local.INFO: TCP Data received {"connection_id":137494,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f791174d8012d181e000721ad80004c00c525..."} 
[2026-07-19 12:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791174d8012d181e000721ad80004c00c525..."} 
[2026-07-19 12:03:29] local.INFO: Processing buffer {"connection_id":137494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791174d8012d181e000721ad80004c00c525..."} 
[2026-07-19 12:03:29] local.INFO: Packet analysis {"connection_id":137494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7911"} 
[2026-07-19 12:03:29] local.INFO: Extracted packet for processing {"connection_id":137494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7911"} 
[2026-07-19 12:03:29] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647616,"longitude_deg":75.6555264,"latitude_deg":11.9647616,"altitude":76,"angle":197,"satellites":37,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad80","is_valid_coordinates":true} 
[2026-07-19 12:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817304320001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091489221902336,"note":"Value kept but may cause issues"} 
[2026-07-19 12:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841379840,"note":"Value kept but may cause issues"} 
[2026-07-19 12:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784442615000,"timestamp_ms":1784442615000,"timestamp_seconds":1784442615,"priority":1,"record_length":96,"hex_timestamp":"0000019f791174d8"} 
[2026-07-19 12:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:03:29] 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-07-19 12:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 12:03:29] 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-07-19 12:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":137494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":137494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":137494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817304320001,"66":12200,"120":206,"28":31744,"24":0,"16":7091489221902336,"45":1737826536841379840},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817304320001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:03:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:03:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091489221902336,"km_value":7091489221902.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841379840,"description":"Unknown IO ID 45"} 
[2026-07-19 12:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817304320001,"power":12200,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841379840}} 
[2026-07-19 12:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":137494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:03:29] local.INFO: GPS data processed {"connection_id":137494,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:03:29] local.INFO: Acknowledgment sent {"connection_id":137494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:03:36] local.INFO: TCP Data received {"connection_id":136559,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:03:36] local.INFO: Processing buffer {"connection_id":136559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:03:36] local.INFO: IMEI packet received {"connection_id":136559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":136559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:03:41] local.INFO: TCP Data received {"connection_id":136559,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:03:41] local.INFO: Processing buffer {"connection_id":136559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:03:41] local.INFO: IMEI packet received {"connection_id":136559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":136559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:03:42] local.INFO: TCP Data received {"connection_id":136559,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:03:42] local.INFO: Processing buffer {"connection_id":136559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:03:42] local.INFO: Packet analysis {"connection_id":136559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7913"} 
[2026-07-19 12:03:42] local.INFO: Extracted packet for processing {"connection_id":136559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7913"} 
[2026-07-19 12:03:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817266944001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784442750000,"timestamp_ms":1784442750000,"timestamp_seconds":1784442750,"priority":1,"record_length":96,"hex_timestamp":"0000019f79138430"} 
[2026-07-19 12:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 12:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817266944001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 12:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817266944001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:03:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:03:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817266944001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":136559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:03:42] local.INFO: GPS data processed {"connection_id":136559,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:03:42] local.INFO: Acknowledgment sent {"connection_id":136559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:03:57] local.INFO: TCP Data received {"connection_id":136560,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:03:57] local.INFO: Processing buffer {"connection_id":136560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:03:57] local.INFO: IMEI packet received {"connection_id":136560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":136560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:04:02] local.INFO: TCP Data received {"connection_id":136560,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:04:02] local.INFO: Processing buffer {"connection_id":136560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:04:02] local.INFO: IMEI packet received {"connection_id":136560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":136560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:04:03] local.INFO: TCP Data received {"connection_id":136560,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f791433f8012d181d000721abc0004b00bc25..."} 
[2026-07-19 12:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791433f8012d181d000721abc0004b00bc25..."} 
[2026-07-19 12:04:03] local.INFO: Processing buffer {"connection_id":136560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791433f8012d181d000721abc0004b00bc25..."} 
[2026-07-19 12:04:03] local.INFO: Packet analysis {"connection_id":136560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7914"} 
[2026-07-19 12:04:03] local.INFO: Extracted packet for processing {"connection_id":136560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7914"} 
[2026-07-19 12:04:03] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647168,"longitude_deg":75.6555008,"latitude_deg":11.9647168,"altitude":75,"angle":188,"satellites":37,"speed":2,"hex_longitude":"2d181d00","hex_latitude":"0721abc0","is_valid_coordinates":true} 
[2026-07-19 12:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817355008001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091519286673408,"note":"Value kept but may cause issues"} 
[2026-07-19 12:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864599552,"note":"Value kept but may cause issues"} 
[2026-07-19 12:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784442795000,"timestamp_ms":1784442795000,"timestamp_seconds":1784442795,"priority":1,"record_length":96,"hex_timestamp":"0000019f791433f8"} 
[2026-07-19 12:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-19 12:04: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-07-19 12:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":136560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":136560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":136560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817355008001,"66":14048,"120":206,"28":31744,"24":2,"16":7091519286673408,"45":1737545061864599552},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817355008001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:04:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:04:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091519286673408,"km_value":7091519286673.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864599552,"description":"Unknown IO ID 45"} 
[2026-07-19 12:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817355008001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1737545061864599552}} 
[2026-07-19 12:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":136560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:04:03] local.INFO: GPS data processed {"connection_id":136560,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:04:03] local.INFO: Acknowledgment sent {"connection_id":136560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:04:05] local.INFO: TCP Data received {"connection_id":136560,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79144398012d181cc00721ab18004b009f24..."} 
[2026-07-19 12:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79144398012d181cc00721ab18004b009f24..."} 
[2026-07-19 12:04:05] local.INFO: Processing buffer {"connection_id":136560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79144398012d181cc00721ab18004b009f24..."} 
[2026-07-19 12:04:05] local.INFO: Packet analysis {"connection_id":136560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7914"} 
[2026-07-19 12:04:05] local.INFO: Extracted packet for processing {"connection_id":136560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7914"} 
[2026-07-19 12:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647000,"longitude_deg":75.6554944,"latitude_deg":11.9647,"altitude":75,"angle":159,"satellites":36,"speed":0,"hex_longitude":"2d181cc0","hex_latitude":"0721ab18","is_valid_coordinates":true} 
[2026-07-19 12:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817355520001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091527876608000,"note":"Value kept but may cause issues"} 
[2026-07-19 12:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864554496,"note":"Value kept but may cause issues"} 
[2026-07-19 12:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784442799000,"timestamp_ms":1784442799000,"timestamp_seconds":1784442799,"priority":1,"record_length":96,"hex_timestamp":"0000019f79144398"} 
[2026-07-19 12:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-19 12:04:05] 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-07-19 12:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":136560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":136560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":136560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817355520001,"66":14298,"120":206,"28":31744,"24":0,"16":7091527876608000,"45":1737545061864554496},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817355520001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:04:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:04:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091527876608000,"km_value":7091527876608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864554496,"description":"Unknown IO ID 45"} 
[2026-07-19 12:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817355520001,"power":14298,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864554496}} 
[2026-07-19 12:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":136560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:04:05] local.INFO: GPS data processed {"connection_id":136560,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:04:05] local.INFO: Acknowledgment sent {"connection_id":136560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:04:13] local.INFO: TCP Data received {"connection_id":136559,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:04:13] local.INFO: Processing buffer {"connection_id":136559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:04:13] local.INFO: Packet analysis {"connection_id":136559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7913"} 
[2026-07-19 12:04:13] local.INFO: Extracted packet for processing {"connection_id":136559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7913"} 
[2026-07-19 12:04:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817266944001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:04: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-07-19 12:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784442750000,"timestamp_ms":1784442750000,"timestamp_seconds":1784442750,"priority":1,"record_length":96,"hex_timestamp":"0000019f79138430"} 
[2026-07-19 12:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 12:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":136559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":136559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":136559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:04: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-07-19 12:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817266944001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 12:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817266944001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:04:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:04:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817266944001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":136559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:04:13] local.INFO: GPS data processed {"connection_id":136559,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:04:13] local.INFO: Acknowledgment sent {"connection_id":136559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:04:31] local.INFO: TCP Data received {"connection_id":136422,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:04:31] local.INFO: Processing buffer {"connection_id":136422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:04:31] local.INFO: IMEI packet received {"connection_id":136422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":136422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:04:37] local.INFO: TCP Data received {"connection_id":136422,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:04:37] local.INFO: Processing buffer {"connection_id":136422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:04:37] local.INFO: IMEI packet received {"connection_id":136422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":136422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:04:37] local.INFO: TCP Data received {"connection_id":136560,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79144780012d181d000721aac8004b009324..."} 
[2026-07-19 12:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79144780012d181d000721aac8004b009324..."} 
[2026-07-19 12:04:37] local.INFO: Processing buffer {"connection_id":136560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79144780012d181d000721aac8004b009324..."} 
[2026-07-19 12:04:37] local.INFO: Packet analysis {"connection_id":136560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7914"} 
[2026-07-19 12:04:37] local.INFO: Extracted packet for processing {"connection_id":136560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7914"} 
[2026-07-19 12:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646920,"longitude_deg":75.6555008,"latitude_deg":11.964692,"altitude":75,"angle":147,"satellites":36,"speed":2,"hex_longitude":"2d181d00","hex_latitude":"0721aac8","is_valid_coordinates":true} 
[2026-07-19 12:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817356544001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091532171575296,"note":"Value kept but may cause issues"} 
[2026-07-19 12:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120333824,"note":"Value kept but may cause issues"} 
[2026-07-19 12:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784442800000,"timestamp_ms":1784442800000,"timestamp_seconds":1784442800,"priority":1,"record_length":96,"hex_timestamp":"0000019f79144780"} 
[2026-07-19 12:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-19 12:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817356544001,"66":14211,"120":206,"28":31744,"24":2,"16":7091532171575296,"45":1737474693120333824},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817356544001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:04:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:04:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091532171575296,"km_value":7091532171575.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120333824,"description":"Unknown IO ID 45"} 
[2026-07-19 12:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817356544001,"power":14211,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1737474693120333824}} 
[2026-07-19 12:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":136560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:04:37] local.INFO: GPS data processed {"connection_id":136560,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:04:37] local.INFO: Acknowledgment sent {"connection_id":136560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:04:38] local.INFO: TCP Data received {"connection_id":136422,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:04:38] local.INFO: Processing buffer {"connection_id":136422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:04:38] local.INFO: Packet analysis {"connection_id":136422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7913"} 
[2026-07-19 12:04:38] local.INFO: Extracted packet for processing {"connection_id":136422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7913"} 
[2026-07-19 12:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817266944001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:04: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-07-19 12:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784442750000,"timestamp_ms":1784442750000,"timestamp_seconds":1784442750,"priority":1,"record_length":96,"hex_timestamp":"0000019f79138430"} 
[2026-07-19 12:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 12:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:04: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-07-19 12:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817266944001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 12:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817266944001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:04:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:04:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817266944001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":136422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:04:38] local.INFO: GPS data processed {"connection_id":136422,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:04:38] local.INFO: Acknowledgment sent {"connection_id":136422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:04:52] local.INFO: TCP Data received {"connection_id":137496,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:04:52] local.INFO: Processing buffer {"connection_id":137496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:04:52] local.INFO: IMEI packet received {"connection_id":137496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":137496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:04:57] local.INFO: TCP Data received {"connection_id":137496,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:04:57] local.INFO: Processing buffer {"connection_id":137496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:04:57] local.INFO: IMEI packet received {"connection_id":137496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":137496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:04:58] local.INFO: TCP Data received {"connection_id":137496,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79144b68012d181d000721aa98004b008824..."} 
[2026-07-19 12:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79144b68012d181d000721aa98004b008824..."} 
[2026-07-19 12:04:58] local.INFO: Processing buffer {"connection_id":137496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79144b68012d181d000721aa98004b008824..."} 
[2026-07-19 12:04:58] local.INFO: Packet analysis {"connection_id":137496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7914"} 
[2026-07-19 12:04:58] local.INFO: Extracted packet for processing {"connection_id":137496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7914"} 
[2026-07-19 12:04:58] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646872,"longitude_deg":75.6555008,"latitude_deg":11.9646872,"altitude":75,"angle":136,"satellites":36,"speed":2,"hex_longitude":"2d181d00","hex_latitude":"0721aa98","is_valid_coordinates":true} 
[2026-07-19 12:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817356800001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091536466542592,"note":"Value kept but may cause issues"} 
[2026-07-19 12:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864491008,"note":"Value kept but may cause issues"} 
[2026-07-19 12:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784442801000,"timestamp_ms":1784442801000,"timestamp_seconds":1784442801,"priority":1,"record_length":96,"hex_timestamp":"0000019f79144b68"} 
[2026-07-19 12:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 12:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":137496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":137496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":137496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817356800001,"66":14211,"120":206,"28":31744,"24":2,"16":7091536466542592,"45":1737545061864491008},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817356800001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:04:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:04:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091536466542592,"km_value":7091536466542.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864491008,"description":"Unknown IO ID 45"} 
[2026-07-19 12:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817356800001,"power":14211,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1737545061864491008}} 
[2026-07-19 12:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":137496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:04:58] local.INFO: GPS data processed {"connection_id":137496,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:04:58] local.INFO: Acknowledgment sent {"connection_id":137496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:05:09] local.INFO: TCP Data received {"connection_id":136422,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:05:09] local.INFO: Processing buffer {"connection_id":136422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:05:09] local.INFO: Packet analysis {"connection_id":136422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7913"} 
[2026-07-19 12:05:09] local.INFO: Extracted packet for processing {"connection_id":136422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7913"} 
[2026-07-19 12:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817266944001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12: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-07-19 12:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784442750000,"timestamp_ms":1784442750000,"timestamp_seconds":1784442750,"priority":1,"record_length":96,"hex_timestamp":"0000019f79138430"} 
[2026-07-19 12:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 12:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:05: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-07-19 12:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817266944001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 12:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817266944001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:05:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817266944001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":136422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:05:09] local.INFO: GPS data processed {"connection_id":136422,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:05:09] local.INFO: Acknowledgment sent {"connection_id":136422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:05:29] local.INFO: TCP Data received {"connection_id":137496,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79149988012d1820c00721a6d8004b008124..."} 
[2026-07-19 12:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79149988012d1820c00721a6d8004b008124..."} 
[2026-07-19 12:05:29] local.INFO: Processing buffer {"connection_id":137496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79149988012d1820c00721a6d8004b008124..."} 
[2026-07-19 12:05:29] local.INFO: Packet analysis {"connection_id":137496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7914"} 
[2026-07-19 12:05:29] local.INFO: Extracted packet for processing {"connection_id":137496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7914"} 
[2026-07-19 12:05:29] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119645912,"longitude_deg":75.6555968,"latitude_deg":11.9645912,"altitude":75,"angle":129,"satellites":36,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721a6d8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817357056001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7091600891052032,"note":"Value kept but may cause issues"} 
[2026-07-19 12:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864478720,"note":"Value kept but may cause issues"} 
[2026-07-19 12:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784442821000,"timestamp_ms":1784442821000,"timestamp_seconds":1784442821,"priority":1,"record_length":96,"hex_timestamp":"0000019f79149988"} 
[2026-07-19 12:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 12:05:29] 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-07-19 12: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-07-19 12:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":137496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":137496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":137496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817357056001,"66":13852,"120":206,"28":31744,"24":0,"16":7091600891052032,"45":1737545061864478720},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817357056001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:05:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:05:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7091600891052032,"km_value":7091600891052.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864478720,"description":"Unknown IO ID 45"} 
[2026-07-19 12:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817357056001,"power":13852,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864478720}} 
[2026-07-19 12:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":137496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:05:29] local.INFO: GPS data processed {"connection_id":137496,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:05:29] local.INFO: Acknowledgment sent {"connection_id":137496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:05:31] local.INFO: TCP Data received {"connection_id":136562,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:05:31] local.INFO: Processing buffer {"connection_id":136562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:05:31] local.INFO: IMEI packet received {"connection_id":136562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":136562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:05:36] local.INFO: TCP Data received {"connection_id":136562,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:05:36] local.INFO: Processing buffer {"connection_id":136562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:05:36] local.INFO: IMEI packet received {"connection_id":136562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":136562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:05:37] local.INFO: TCP Data received {"connection_id":136562,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:05:37] local.INFO: Processing buffer {"connection_id":136562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:05:37] local.INFO: Packet analysis {"connection_id":136562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7913"} 
[2026-07-19 12:05:37] local.INFO: Extracted packet for processing {"connection_id":136562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7913"} 
[2026-07-19 12:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817266944001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:05: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-07-19 12:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784442750000,"timestamp_ms":1784442750000,"timestamp_seconds":1784442750,"priority":1,"record_length":96,"hex_timestamp":"0000019f79138430"} 
[2026-07-19 12:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 12:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:05: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-07-19 12:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817266944001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 12:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817266944001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:05:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817266944001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":136562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:05:37] local.INFO: GPS data processed {"connection_id":136562,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:05:37] local.INFO: Acknowledgment sent {"connection_id":136562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:05:48] local.INFO: TCP Data received {"connection_id":137497,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:05:48] local.INFO: Processing buffer {"connection_id":137497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:05:48] local.INFO: IMEI packet received {"connection_id":137497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":137497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:05:51] local.INFO: TCP Data received {"connection_id":137497,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:05:51] local.INFO: Processing buffer {"connection_id":137497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:05:51] local.INFO: IMEI packet received {"connection_id":137497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":137497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:05:52] local.INFO: TCP Data received {"connection_id":136561,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:05:52] local.INFO: Processing buffer {"connection_id":136561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:05:52] local.INFO: IMEI packet received {"connection_id":136561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 12:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":136561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:05:57] local.INFO: TCP Data received {"connection_id":137497,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:05:57] local.INFO: Processing buffer {"connection_id":137497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:05:57] local.INFO: IMEI packet received {"connection_id":137497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":137497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:05:58] local.INFO: TCP Data received {"connection_id":137497,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7915f918012d18c60007214b08004300af24..."} 
[2026-07-19 12:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7915f918012d18c60007214b08004300af24..."} 
[2026-07-19 12:05:58] local.INFO: Processing buffer {"connection_id":137497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7915f918012d18c60007214b08004300af24..."} 
[2026-07-19 12:05:58] local.INFO: Packet analysis {"connection_id":137497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7915"} 
[2026-07-19 12:05:58] local.INFO: Extracted packet for processing {"connection_id":137497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7915"} 
[2026-07-19 12:05:58] local.INFO: GPS Element Parsed {"raw_longitude":756598272,"raw_latitude":119622408,"longitude_deg":75.6598272,"latitude_deg":11.9622408,"altitude":67,"angle":175,"satellites":36,"speed":37,"hex_longitude":"2d18c600","hex_latitude":"07214b08","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817384704001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7094053317378048,"note":"Value kept but may cause issues"} 
[2026-07-19 12:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120457715712,"note":"Value kept but may cause issues"} 
[2026-07-19 12:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784442911000,"timestamp_ms":1784442911000,"timestamp_seconds":1784442911,"priority":1,"record_length":96,"hex_timestamp":"0000019f7915f918"} 
[2026-07-19 12:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:05:58] 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-07-19 12: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-19 12:05:58] 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-07-19 12: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-07-19 12:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":137497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":137497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":137497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817384704001,"66":14135,"121":206,"28":31744,"24":37,"16":7094053317378048,"45":1784692120457715712},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 12:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817384704001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:05:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 12:05:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7094053317378048,"km_value":7094053317378.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120457715712,"description":"Unknown IO ID 45"} 
[2026-07-19 12:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817384704001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1784692120457715712}} 
[2026-07-19 12:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":137497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:05:58] local.INFO: GPS data processed {"connection_id":137497,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:05:58] local.INFO: Acknowledgment sent {"connection_id":137497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:06:08] local.INFO: TCP Data received {"connection_id":136562,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:06:08] local.INFO: Processing buffer {"connection_id":136562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:06:08] local.INFO: Packet analysis {"connection_id":136562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7913"} 
[2026-07-19 12:06:08] local.INFO: Extracted packet for processing {"connection_id":136562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7913"} 
[2026-07-19 12:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817266944001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:06: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-07-19 12:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784442750000,"timestamp_ms":1784442750000,"timestamp_seconds":1784442750,"priority":1,"record_length":96,"hex_timestamp":"0000019f79138430"} 
[2026-07-19 12:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 12:06: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-07-19 12: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-07-19 12:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:06: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-07-19 12:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817266944001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 12:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817266944001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:06:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:06:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817266944001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":136562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:06:08] local.INFO: GPS data processed {"connection_id":136562,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:06:08] local.INFO: Acknowledgment sent {"connection_id":136562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:06:27] local.INFO: TCP Data received {"connection_id":136423,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:06:27] local.INFO: Processing buffer {"connection_id":136423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:06:27] local.INFO: IMEI packet received {"connection_id":136423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 12:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":136423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:06:30] local.INFO: TCP Data received {"connection_id":137497,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f791608b8012d18c78007213ce0004100a124..."} 
[2026-07-19 12:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791608b8012d18c78007213ce0004100a124..."} 
[2026-07-19 12:06:30] local.INFO: Processing buffer {"connection_id":137497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791608b8012d18c78007213ce0004100a124..."} 
[2026-07-19 12:06:30] local.INFO: Packet analysis {"connection_id":137497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7916"} 
[2026-07-19 12:06:30] local.INFO: Extracted packet for processing {"connection_id":137497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7916"} 
[2026-07-19 12:06:30] local.INFO: GPS Element Parsed {"raw_longitude":756598656,"raw_latitude":119618784,"longitude_deg":75.6598656,"latitude_deg":11.9618784,"altitude":65,"angle":161,"satellites":36,"speed":35,"hex_longitude":"2d18c780","hex_latitude":"07213ce0","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817385216001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7094229411037184,"note":"Value kept but may cause issues"} 
[2026-07-19 12:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785114332922316800,"note":"Value kept but may cause issues"} 
[2026-07-19 12:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784442915000,"timestamp_ms":1784442915000,"timestamp_seconds":1784442915,"priority":1,"record_length":96,"hex_timestamp":"0000019f791608b8"} 
[2026-07-19 12:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:06:30] 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-07-19 12: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-19 12:06:30] 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-07-19 12: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-07-19 12:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":137497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":137497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":137497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817385216001,"66":14265,"121":206,"28":31744,"24":35,"16":7094229411037184,"45":1785114332922316800},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 12:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817385216001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:06:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 12:06:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7094229411037184,"km_value":7094229411037.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785114332922316800,"description":"Unknown IO ID 45"} 
[2026-07-19 12:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817385216001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1785114332922316800}} 
[2026-07-19 12:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":137497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:06:30] local.INFO: GPS data processed {"connection_id":137497,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:06:30] local.INFO: Acknowledgment sent {"connection_id":137497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:06:31] local.INFO: TCP Data received {"connection_id":136563,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:06:31] local.INFO: Processing buffer {"connection_id":136563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:06:31] local.INFO: IMEI packet received {"connection_id":136563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":136563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:06:36] local.INFO: TCP Data received {"connection_id":136563,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:06:36] local.INFO: Processing buffer {"connection_id":136563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:06:36] local.INFO: IMEI packet received {"connection_id":136563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":136563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:06:38] local.INFO: TCP Data received {"connection_id":136563,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:06:38] local.INFO: Processing buffer {"connection_id":136563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:06:38] local.INFO: Packet analysis {"connection_id":136563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7913"} 
[2026-07-19 12:06:38] local.INFO: Extracted packet for processing {"connection_id":136563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7913"} 
[2026-07-19 12:06:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817266944001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:06: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-07-19 12:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784442750000,"timestamp_ms":1784442750000,"timestamp_seconds":1784442750,"priority":1,"record_length":96,"hex_timestamp":"0000019f79138430"} 
[2026-07-19 12:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 12:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:06: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-07-19 12:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817266944001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 12:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817266944001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:06:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:06:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817266944001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":136563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:06:38] local.INFO: GPS data processed {"connection_id":136563,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:06:38] local.INFO: Acknowledgment sent {"connection_id":136563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:06:52] local.INFO: TCP Data received {"connection_id":137498,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:06:52] local.INFO: Processing buffer {"connection_id":137498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:06:52] local.INFO: IMEI packet received {"connection_id":137498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":137498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:06:52] local.INFO: TCP Data received {"connection_id":137498,"ip":"117.224.76.86","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 12:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137498,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 12:06:52] local.INFO: Processing buffer {"connection_id":137498,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 12:06:52] local.INFO: IMEI packet received {"connection_id":137498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":137498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:06:55] local.INFO: TCP Data received {"connection_id":137498,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:06:55] local.INFO: Processing buffer {"connection_id":137498,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 12:06:55] local.INFO: IMEI packet received {"connection_id":137498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":137498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:06:55] local.INFO: TCP Data received {"connection_id":137498,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7916f318012d193a400720b5600028007e22..."} 
[2026-07-19 12:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7916f318012d193a400720b5600028007e22..."} 
[2026-07-19 12:06:55] local.INFO: Processing buffer {"connection_id":137498,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f79..."} 
[2026-07-19 12:06:55] local.INFO: IMEI packet received {"connection_id":137498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":137498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:06:57] local.INFO: TCP Data received {"connection_id":137498,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7916f318012d193a400720b5600028007e22..."} 
[2026-07-19 12:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7916f318012d193a400720b5600028007e22..."} 
[2026-07-19 12:06:57] local.INFO: Processing buffer {"connection_id":137498,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f7916f318012d193a400720b5600028007e22..."} 
[2026-07-19 12:06:57] local.INFO: Packet analysis {"connection_id":137498,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f7916"} 
[2026-07-19 12:06:57] local.INFO: Extracted packet for processing {"connection_id":137498,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7916"} 
[2026-07-19 12:06:57] local.INFO: GPS Element Parsed {"raw_longitude":756628032,"raw_latitude":119584096,"longitude_deg":75.6628032,"latitude_deg":11.9584096,"altitude":40,"angle":126,"satellites":34,"speed":42,"hex_longitude":"2d193a40","hex_latitude":"0720b560","is_valid_coordinates":true} 
[2026-07-19 12:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817399552001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7096604527951872,"note":"Value kept but may cause issues"} 
[2026-07-19 12:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1808054543515422720,"note":"Value kept but may cause issues"} 
[2026-07-19 12:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784442975000,"timestamp_ms":1784442975000,"timestamp_seconds":1784442975,"priority":1,"record_length":96,"hex_timestamp":"0000019f7916f318"} 
[2026-07-19 12:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:06:57] 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-07-19 12:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-19 12:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817399552001,"66":14135,"121":206,"28":31744,"24":42,"16":7096604527951872,"45":1808054543515422720},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 12:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817399552001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:06:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 12:06:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7096604527951872,"km_value":7096604527951.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1808054543515422720,"description":"Unknown IO ID 45"} 
[2026-07-19 12:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817399552001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1808054543515422720}} 
[2026-07-19 12:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":137498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:06:57] local.INFO: GPS data processed {"connection_id":137498,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:06:57] local.INFO: Acknowledgment sent {"connection_id":137498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:06:57] local.INFO: Packet analysis {"connection_id":137498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7916"} 
[2026-07-19 12:06:57] local.INFO: Extracted packet for processing {"connection_id":137498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7916"} 
[2026-07-19 12:06:57] local.INFO: GPS Element Parsed {"raw_longitude":756628032,"raw_latitude":119584096,"longitude_deg":75.6628032,"latitude_deg":11.9584096,"altitude":40,"angle":126,"satellites":34,"speed":42,"hex_longitude":"2d193a40","hex_latitude":"0720b560","is_valid_coordinates":true} 
[2026-07-19 12:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817401600001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7096604527951872,"note":"Value kept but may cause issues"} 
[2026-07-19 12:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817835798955122688,"note":"Value kept but may cause issues"} 
[2026-07-19 12:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784442975000,"timestamp_ms":1784442975000,"timestamp_seconds":1784442975,"priority":1,"record_length":96,"hex_timestamp":"0000019f7916f318"} 
[2026-07-19 12:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:06:57] 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-07-19 12:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-19 12:06:57] 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-07-19 12:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817401600001,"66":14135,"121":206,"28":31744,"24":42,"16":7096604527951872,"45":1817835798955122688},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 12:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817401600001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:06:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 12:06:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7096604527951872,"km_value":7096604527951.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817835798955122688,"description":"Unknown IO ID 45"} 
[2026-07-19 12:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817401600001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1817835798955122688}} 
[2026-07-19 12:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":137498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:06:57] local.INFO: GPS data processed {"connection_id":137498,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:06:57] local.INFO: Acknowledgment sent {"connection_id":137498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:07:09] local.INFO: TCP Data received {"connection_id":136563,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:07:09] local.INFO: Processing buffer {"connection_id":136563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:07:09] local.INFO: Packet analysis {"connection_id":136563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7913"} 
[2026-07-19 12:07:09] local.INFO: Extracted packet for processing {"connection_id":136563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7913"} 
[2026-07-19 12:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817266944001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:07: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-07-19 12:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784442750000,"timestamp_ms":1784442750000,"timestamp_seconds":1784442750,"priority":1,"record_length":96,"hex_timestamp":"0000019f79138430"} 
[2026-07-19 12:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 12:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:07: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-07-19 12:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817266944001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 12:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817266944001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:07:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:07:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817266944001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":136563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:07:09] local.INFO: GPS data processed {"connection_id":136563,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:07:09] local.INFO: Acknowledgment sent {"connection_id":136563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:07:31] local.INFO: TCP Data received {"connection_id":138915,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:07:31] local.INFO: Processing buffer {"connection_id":138915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:07:31] local.INFO: IMEI packet received {"connection_id":138915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":138915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:07:32] local.INFO: TCP Data received {"connection_id":137498,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7916fed0012d1945000720af980028006f24..."} 
[2026-07-19 12:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7916fed0012d1945000720af980028006f24..."} 
[2026-07-19 12:07:32] local.INFO: Processing buffer {"connection_id":137498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7916fed0012d1945000720af980028006f24..."} 
[2026-07-19 12:07:32] local.INFO: Packet analysis {"connection_id":137498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7916"} 
[2026-07-19 12:07:32] local.INFO: Extracted packet for processing {"connection_id":137498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7916"} 
[2026-07-19 12:07:32] local.INFO: GPS Element Parsed {"raw_longitude":756630784,"raw_latitude":119582616,"longitude_deg":75.6630784,"latitude_deg":11.9582616,"altitude":40,"angle":111,"satellites":36,"speed":37,"hex_longitude":"2d194500","hex_latitude":"0720af98","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817401600001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7096754851807232,"note":"Value kept but may cause issues"} 
[2026-07-19 12:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817835798955122688,"note":"Value kept but may cause issues"} 
[2026-07-19 12:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784442978000,"timestamp_ms":1784442978000,"timestamp_seconds":1784442978,"priority":1,"record_length":96,"hex_timestamp":"0000019f7916fed0"} 
[2026-07-19 12:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:07:32] 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-07-19 12: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-19 12:07:32] 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-07-19 12: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-07-19 12:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":137498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":137498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":137498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817401600001,"66":14396,"121":206,"28":31744,"24":37,"16":7096754851807232,"45":1817835798955122688},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 12:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817401600001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:07:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 12:07:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7096754851807232,"km_value":7096754851807.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817835798955122688,"description":"Unknown IO ID 45"} 
[2026-07-19 12:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817401600001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1817835798955122688}} 
[2026-07-19 12:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":137498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:07:32] local.INFO: GPS data processed {"connection_id":137498,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:07:32] local.INFO: Acknowledgment sent {"connection_id":137498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:07:36] local.INFO: TCP Data received {"connection_id":138915,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:07:36] local.INFO: Processing buffer {"connection_id":138915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:07:36] local.INFO: IMEI packet received {"connection_id":138915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":138915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:07:37] local.INFO: TCP Data received {"connection_id":138915,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:07:37] local.INFO: Processing buffer {"connection_id":138915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:07:37] local.INFO: Packet analysis {"connection_id":138915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7913"} 
[2026-07-19 12:07:37] local.INFO: Extracted packet for processing {"connection_id":138915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7913"} 
[2026-07-19 12:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817266944001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:07: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-07-19 12:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784442750000,"timestamp_ms":1784442750000,"timestamp_seconds":1784442750,"priority":1,"record_length":96,"hex_timestamp":"0000019f79138430"} 
[2026-07-19 12:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 12:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:07:37] 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-07-19 12:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817266944001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817266944001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817266944001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":138915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:07:37] local.INFO: GPS data processed {"connection_id":138915,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:07:37] local.INFO: Acknowledgment sent {"connection_id":138915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:08:09] local.INFO: TCP Data received {"connection_id":138915,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:08:09] local.INFO: Processing buffer {"connection_id":138915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79138430012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:08:09] local.INFO: Packet analysis {"connection_id":138915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7913"} 
[2026-07-19 12:08:09] local.INFO: Extracted packet for processing {"connection_id":138915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7913"} 
[2026-07-19 12:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817266944001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:08: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-07-19 12:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784442750000,"timestamp_ms":1784442750000,"timestamp_seconds":1784442750,"priority":1,"record_length":96,"hex_timestamp":"0000019f79138430"} 
[2026-07-19 12:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 12:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:08: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-07-19 12:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817266944001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817266944001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:08:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817266944001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":138915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:08:09] local.INFO: GPS data processed {"connection_id":138915,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:08:09] local.INFO: Acknowledgment sent {"connection_id":138915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:08:23] local.INFO: TCP Data received {"connection_id":136424,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:08:24] local.INFO: Processing buffer {"connection_id":136424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:08:24] local.INFO: IMEI packet received {"connection_id":136424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":136424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:08:30] local.INFO: TCP Data received {"connection_id":136424,"ip":"117.224.76.86","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 12:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136424,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 12:08:30] local.INFO: Processing buffer {"connection_id":136424,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 12:08:30] local.INFO: IMEI packet received {"connection_id":136424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":136424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:08:36] local.INFO: TCP Data received {"connection_id":136425,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:08:36] local.INFO: Processing buffer {"connection_id":136425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:08:36] local.INFO: IMEI packet received {"connection_id":136425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":136425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:08:41] local.INFO: TCP Data received {"connection_id":136425,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:08:41] local.INFO: Processing buffer {"connection_id":136425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:08:41] local.INFO: IMEI packet received {"connection_id":136425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":136425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:08:42] local.INFO: TCP Data received {"connection_id":136425,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:08:42] local.INFO: Processing buffer {"connection_id":136425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:08:42] local.INFO: Packet analysis {"connection_id":136425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7918"} 
[2026-07-19 12:08:42] local.INFO: Extracted packet for processing {"connection_id":136425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7918"} 
[2026-07-19 12:08:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817344000001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784443051000,"timestamp_ms":1784443051000,"timestamp_seconds":1784443051,"priority":1,"record_length":96,"hex_timestamp":"0000019f79181bf8"} 
[2026-07-19 12:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817344000001,"66":25604,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817344000001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:08:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:08:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817344000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":136425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:08:42] local.INFO: GPS data processed {"connection_id":136425,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:08:42] local.INFO: Acknowledgment sent {"connection_id":136425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:08:48] local.INFO: TCP Data received {"connection_id":136424,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7917a6c8012d19ca800720a528002f003e1f..."} 
[2026-07-19 12:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7917a6c8012d19ca800720a528002f003e1f..."} 
[2026-07-19 12:08:48] local.INFO: Processing buffer {"connection_id":136424,"buffer_length":829,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 12:08:48] local.INFO: IMEI packet received {"connection_id":136424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":136424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:08:51] local.INFO: TCP Data received {"connection_id":136426,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:08:51] local.INFO: Processing buffer {"connection_id":136426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:08:51] local.INFO: IMEI packet received {"connection_id":136426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":136426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:08:52] local.INFO: TCP Data received {"connection_id":136426,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:08:52] local.INFO: Processing buffer {"connection_id":136426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:08:52] local.INFO: IMEI packet received {"connection_id":136426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":136426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:08:55] local.INFO: TCP Data received {"connection_id":136426,"ip":"117.224.76.86","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 12:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136426,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 12:08:55] local.INFO: Processing buffer {"connection_id":136426,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 12:08:55] local.INFO: IMEI packet received {"connection_id":136426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":136426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:09:14] local.INFO: TCP Data received {"connection_id":136425,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:09:14] local.INFO: Processing buffer {"connection_id":136425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:09:14] local.INFO: Packet analysis {"connection_id":136425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7918"} 
[2026-07-19 12:09:14] local.INFO: Extracted packet for processing {"connection_id":136425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7918"} 
[2026-07-19 12:09:14] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817344000001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:09: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-07-19 12:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784443051000,"timestamp_ms":1784443051000,"timestamp_seconds":1784443051,"priority":1,"record_length":96,"hex_timestamp":"0000019f79181bf8"} 
[2026-07-19 12:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":136425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":136425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":136425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:09:14] 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-07-19 12:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817344000001,"66":25604,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817344000001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:09:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:09:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817344000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":136425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:09:14] local.INFO: GPS data processed {"connection_id":136425,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:09:14] local.INFO: Acknowledgment sent {"connection_id":136425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:09:31] local.INFO: TCP Data received {"connection_id":137501,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:09:31] local.INFO: Processing buffer {"connection_id":137501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:09:31] local.INFO: IMEI packet received {"connection_id":137501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":137501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:09:36] local.INFO: TCP Data received {"connection_id":137501,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:09:36] local.INFO: Processing buffer {"connection_id":137501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:09:36] local.INFO: IMEI packet received {"connection_id":137501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":137501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:09:38] local.INFO: TCP Data received {"connection_id":137501,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:09:38] local.INFO: Processing buffer {"connection_id":137501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:09:38] local.INFO: Packet analysis {"connection_id":137501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7918"} 
[2026-07-19 12:09:38] local.INFO: Extracted packet for processing {"connection_id":137501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7918"} 
[2026-07-19 12:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817344000001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:09: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-07-19 12:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784443051000,"timestamp_ms":1784443051000,"timestamp_seconds":1784443051,"priority":1,"record_length":96,"hex_timestamp":"0000019f79181bf8"} 
[2026-07-19 12:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817344000001,"66":25604,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817344000001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:09:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:09:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817344000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":137501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:09:38] local.INFO: GPS data processed {"connection_id":137501,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:09:38] local.INFO: Acknowledgment sent {"connection_id":137501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:10:09] local.INFO: TCP Data received {"connection_id":137501,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:10:09] local.INFO: Processing buffer {"connection_id":137501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:10:09] local.INFO: Packet analysis {"connection_id":137501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7918"} 
[2026-07-19 12:10:09] local.INFO: Extracted packet for processing {"connection_id":137501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7918"} 
[2026-07-19 12:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817344000001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:10: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-07-19 12:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784443051000,"timestamp_ms":1784443051000,"timestamp_seconds":1784443051,"priority":1,"record_length":96,"hex_timestamp":"0000019f79181bf8"} 
[2026-07-19 12:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:10:09] 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-07-19 12:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817344000001,"66":25604,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817344000001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817344000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":137501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:10:09] local.INFO: GPS data processed {"connection_id":137501,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:10:09] local.INFO: Acknowledgment sent {"connection_id":137501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:10:31] local.INFO: TCP Data received {"connection_id":138916,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:10:31] local.INFO: Processing buffer {"connection_id":138916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:10:31] local.INFO: IMEI packet received {"connection_id":138916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":138916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:10:36] local.INFO: TCP Data received {"connection_id":138916,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:10:36] local.INFO: Processing buffer {"connection_id":138916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:10:36] local.INFO: IMEI packet received {"connection_id":138916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":138916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:10:37] local.INFO: TCP Data received {"connection_id":138916,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:10:37] local.INFO: Processing buffer {"connection_id":138916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:10:37] local.INFO: Packet analysis {"connection_id":138916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7918"} 
[2026-07-19 12:10:37] local.INFO: Extracted packet for processing {"connection_id":138916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7918"} 
[2026-07-19 12:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817344000001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:10: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-07-19 12:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784443051000,"timestamp_ms":1784443051000,"timestamp_seconds":1784443051,"priority":1,"record_length":96,"hex_timestamp":"0000019f79181bf8"} 
[2026-07-19 12:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:10:37] 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-07-19 12:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817344000001,"66":25604,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817344000001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:10:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817344000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":138916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:10:37] local.INFO: GPS data processed {"connection_id":138916,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:10:37] local.INFO: Acknowledgment sent {"connection_id":138916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:11:09] local.INFO: TCP Data received {"connection_id":138916,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:11:09] local.INFO: Processing buffer {"connection_id":138916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:11:09] local.INFO: Packet analysis {"connection_id":138916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7918"} 
[2026-07-19 12:11:09] local.INFO: Extracted packet for processing {"connection_id":138916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7918"} 
[2026-07-19 12:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817344000001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:11: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-07-19 12:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784443051000,"timestamp_ms":1784443051000,"timestamp_seconds":1784443051,"priority":1,"record_length":96,"hex_timestamp":"0000019f79181bf8"} 
[2026-07-19 12:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:11:09] 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-07-19 12:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817344000001,"66":25604,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817344000001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:11:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817344000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":138916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:11:09] local.INFO: GPS data processed {"connection_id":138916,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:11:09] local.INFO: Acknowledgment sent {"connection_id":138916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:11:31] local.INFO: TCP Data received {"connection_id":136566,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:11:31] local.INFO: Processing buffer {"connection_id":136566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:11:31] local.INFO: IMEI packet received {"connection_id":136566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":136566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:11:36] local.INFO: TCP Data received {"connection_id":136566,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:11:36] local.INFO: Processing buffer {"connection_id":136566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:11:36] local.INFO: IMEI packet received {"connection_id":136566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":136566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:11:37] local.INFO: TCP Data received {"connection_id":136566,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:11:37] local.INFO: Processing buffer {"connection_id":136566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:11:37] local.INFO: Packet analysis {"connection_id":136566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7918"} 
[2026-07-19 12:11:37] local.INFO: Extracted packet for processing {"connection_id":136566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7918"} 
[2026-07-19 12:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817344000001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:11: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-07-19 12:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784443051000,"timestamp_ms":1784443051000,"timestamp_seconds":1784443051,"priority":1,"record_length":96,"hex_timestamp":"0000019f79181bf8"} 
[2026-07-19 12:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:11:37] 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-07-19 12:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817344000001,"66":25604,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817344000001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817344000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":136566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:11:37] local.INFO: GPS data processed {"connection_id":136566,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:11:37] local.INFO: Acknowledgment sent {"connection_id":136566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:11:52] local.INFO: TCP Data received {"connection_id":138918,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:11:52] local.INFO: Processing buffer {"connection_id":138918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:11:52] local.INFO: IMEI packet received {"connection_id":138918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 12:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":138918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:12:09] local.INFO: TCP Data received {"connection_id":136566,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:12:09] local.INFO: Processing buffer {"connection_id":136566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:12:09] local.INFO: Packet analysis {"connection_id":136566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7918"} 
[2026-07-19 12:12:09] local.INFO: Extracted packet for processing {"connection_id":136566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7918"} 
[2026-07-19 12:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817344000001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:12: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-07-19 12:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784443051000,"timestamp_ms":1784443051000,"timestamp_seconds":1784443051,"priority":1,"record_length":96,"hex_timestamp":"0000019f79181bf8"} 
[2026-07-19 12:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:12:09] 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-07-19 12:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817344000001,"66":25604,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817344000001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:12:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:12:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817344000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":136566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:12:09] local.INFO: GPS data processed {"connection_id":136566,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:12:09] local.INFO: Acknowledgment sent {"connection_id":136566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:12:30] local.INFO: TCP Data received {"connection_id":138919,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:12:30] local.INFO: Processing buffer {"connection_id":138919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:12:30] local.INFO: IMEI packet received {"connection_id":138919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 12:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":138919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:12:32] local.INFO: TCP Data received {"connection_id":136568,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:12:32] local.INFO: Processing buffer {"connection_id":136568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:12:32] local.INFO: IMEI packet received {"connection_id":136568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":136568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:12:36] local.INFO: TCP Data received {"connection_id":136568,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:12:36] local.INFO: Processing buffer {"connection_id":136568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:12:36] local.INFO: IMEI packet received {"connection_id":136568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":136568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:12:37] local.INFO: TCP Data received {"connection_id":136568,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:12:37] local.INFO: Processing buffer {"connection_id":136568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:12:37] local.INFO: Packet analysis {"connection_id":136568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7918"} 
[2026-07-19 12:12:37] local.INFO: Extracted packet for processing {"connection_id":136568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7918"} 
[2026-07-19 12:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817344000001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:12: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-07-19 12:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784443051000,"timestamp_ms":1784443051000,"timestamp_seconds":1784443051,"priority":1,"record_length":96,"hex_timestamp":"0000019f79181bf8"} 
[2026-07-19 12:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:12:37] 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-07-19 12:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817344000001,"66":25604,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817344000001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:12:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817344000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":136568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:12:37] local.INFO: GPS data processed {"connection_id":136568,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:12:37] local.INFO: Acknowledgment sent {"connection_id":136568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:13:09] local.INFO: TCP Data received {"connection_id":136568,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:13:09] local.INFO: Processing buffer {"connection_id":136568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79181bf8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:13:09] local.INFO: Packet analysis {"connection_id":136568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7918"} 
[2026-07-19 12:13:09] local.INFO: Extracted packet for processing {"connection_id":136568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7918"} 
[2026-07-19 12:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817344000001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:13: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-07-19 12:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784443051000,"timestamp_ms":1784443051000,"timestamp_seconds":1784443051,"priority":1,"record_length":96,"hex_timestamp":"0000019f79181bf8"} 
[2026-07-19 12:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:13:09] 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-07-19 12:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817344000001,"66":25604,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817344000001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:13:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:13:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817344000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":136568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:13:09] local.INFO: GPS data processed {"connection_id":136568,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:13:09] local.INFO: Acknowledgment sent {"connection_id":136568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:13:36] local.INFO: TCP Data received {"connection_id":138920,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:13:36] local.INFO: Processing buffer {"connection_id":138920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:13:36] local.INFO: IMEI packet received {"connection_id":138920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":138920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:13:41] local.INFO: TCP Data received {"connection_id":138920,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:13:41] local.INFO: Processing buffer {"connection_id":138920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:13:41] local.INFO: IMEI packet received {"connection_id":138920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":138920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:13:43] local.INFO: TCP Data received {"connection_id":138920,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:13:43] local.INFO: Processing buffer {"connection_id":138920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:13:43] local.INFO: Packet analysis {"connection_id":138920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:13:43] local.INFO: Extracted packet for processing {"connection_id":138920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:13:43] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817421056001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:13: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-07-19 12:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784443352000,"timestamp_ms":1784443352000,"timestamp_seconds":1784443352,"priority":1,"record_length":96,"hex_timestamp":"0000019f791cb3c0"} 
[2026-07-19 12:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 12:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":138920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":138920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":138920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817421056001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817421056001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:13:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:13:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817421056001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":138920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:13:43] local.INFO: GPS data processed {"connection_id":138920,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:13:43] local.INFO: Acknowledgment sent {"connection_id":138920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:13:57] local.INFO: TCP Data received {"connection_id":137504,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:13:57] local.INFO: Processing buffer {"connection_id":137504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:13:57] local.INFO: IMEI packet received {"connection_id":137504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":137504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:14:01] local.INFO: TCP Data received {"connection_id":137504,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:14:01] local.INFO: Processing buffer {"connection_id":137504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:14:01] local.INFO: IMEI packet received {"connection_id":137504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":137504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:14:02] local.INFO: TCP Data received {"connection_id":137504,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f791c8cb0012d1a06800720be48003600f323..."} 
[2026-07-19 12:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791c8cb0012d1a06800720be48003600f323..."} 
[2026-07-19 12:14:02] local.INFO: Processing buffer {"connection_id":137504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791c8cb0012d1a06800720be48003600f323..."} 
[2026-07-19 12:14:02] local.INFO: Packet analysis {"connection_id":137504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:14:02] local.INFO: Extracted packet for processing {"connection_id":137504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:14:02] local.INFO: GPS Element Parsed {"raw_longitude":756680320,"raw_latitude":119586376,"longitude_deg":75.668032,"latitude_deg":11.9586376,"altitude":54,"angle":243,"satellites":35,"speed":22,"hex_longitude":"2d1a0680","hex_latitude":"0720be48","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817494528001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7104245274771456,"note":"Value kept but may cause issues"} 
[2026-07-19 12:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877578862762868736,"note":"Value kept but may cause issues"} 
[2026-07-19 12:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784443342000,"timestamp_ms":1784443342000,"timestamp_seconds":1784443342,"priority":1,"record_length":96,"hex_timestamp":"0000019f791c8cb0"} 
[2026-07-19 12:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":57,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-19 12:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":771,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":137504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":137504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":137504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817494528001,"66":14613,"121":206,"28":31744,"24":22,"16":7104245274771456,"45":1877578862762868736},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 12:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817494528001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:14:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 12:14:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7104245274771456,"km_value":7104245274771.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877578862762868736,"description":"Unknown IO ID 45"} 
[2026-07-19 12:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817494528001,"power":14613,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1877578862762868736}} 
[2026-07-19 12:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":137504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:14:02] local.INFO: GPS data processed {"connection_id":137504,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:14:02] local.INFO: Acknowledgment sent {"connection_id":137504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:14:09] local.INFO: TCP Data received {"connection_id":137504,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f791c9868012d19ff800720bb98003300fe23..."} 
[2026-07-19 12:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791c9868012d19ff800720bb98003300fe23..."} 
[2026-07-19 12:14:09] local.INFO: Processing buffer {"connection_id":137504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791c9868012d19ff800720bb98003300fe23..."} 
[2026-07-19 12:14:09] local.INFO: Packet analysis {"connection_id":137504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:14:09] local.INFO: Extracted packet for processing {"connection_id":137504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:14:09] local.INFO: GPS Element Parsed {"raw_longitude":756678528,"raw_latitude":119585688,"longitude_deg":75.6678528,"latitude_deg":11.9585688,"altitude":51,"angle":254,"satellites":35,"speed":24,"hex_longitude":"2d19ff80","hex_latitude":"0720bb98","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817495552001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7104335469084672,"note":"Value kept but may cause issues"} 
[2026-07-19 12:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1875327062948857856,"note":"Value kept but may cause issues"} 
[2026-07-19 12:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784443345000,"timestamp_ms":1784443345000,"timestamp_seconds":1784443345,"priority":1,"record_length":96,"hex_timestamp":"0000019f791c9868"} 
[2026-07-19 12:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:14:09] 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-07-19 12: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-07-19 12:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817495552001,"66":14515,"121":206,"28":31744,"24":24,"16":7104335469084672,"45":1875327062948857856},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 12:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817495552001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:14:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 12:14:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7104335469084672,"km_value":7104335469084.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1875327062948857856,"description":"Unknown IO ID 45"} 
[2026-07-19 12:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817495552001,"power":14515,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1875327062948857856}} 
[2026-07-19 12:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":137504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:14:09] local.INFO: GPS data processed {"connection_id":137504,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:14:09] local.INFO: Acknowledgment sent {"connection_id":137504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:14:15] local.INFO: TCP Data received {"connection_id":138920,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:14:15] local.INFO: Processing buffer {"connection_id":138920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:14:15] local.INFO: Packet analysis {"connection_id":138920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:14:15] local.INFO: Extracted packet for processing {"connection_id":138920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817421056001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784443352000,"timestamp_ms":1784443352000,"timestamp_seconds":1784443352,"priority":1,"record_length":96,"hex_timestamp":"0000019f791cb3c0"} 
[2026-07-19 12:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 12:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":138920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":138920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":138920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:14:15] 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-07-19 12:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817421056001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817421056001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:14:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:14:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817421056001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":138920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:14:15] local.INFO: GPS data processed {"connection_id":138920,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:14:15] local.INFO: Acknowledgment sent {"connection_id":138920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:14:32] local.INFO: TCP Data received {"connection_id":136427,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:14:32] local.INFO: Processing buffer {"connection_id":136427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:14:32] local.INFO: IMEI packet received {"connection_id":136427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":136427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:14:36] local.INFO: TCP Data received {"connection_id":136427,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:14:36] local.INFO: Processing buffer {"connection_id":136427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:14:36] local.INFO: IMEI packet received {"connection_id":136427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":136427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:14:37] local.INFO: TCP Data received {"connection_id":136427,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:14:37] local.INFO: Processing buffer {"connection_id":136427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:14:37] local.INFO: Packet analysis {"connection_id":136427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:14:37] local.INFO: Extracted packet for processing {"connection_id":136427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817421056001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:14: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-07-19 12:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784443352000,"timestamp_ms":1784443352000,"timestamp_seconds":1784443352,"priority":1,"record_length":96,"hex_timestamp":"0000019f791cb3c0"} 
[2026-07-19 12:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 12:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:14: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-07-19 12:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817421056001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817421056001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817421056001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":136427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:14:37] local.INFO: GPS data processed {"connection_id":136427,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:14:37] local.INFO: Acknowledgment sent {"connection_id":136427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:14:51] local.INFO: TCP Data received {"connection_id":137505,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:14:51] local.INFO: Processing buffer {"connection_id":137505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:14:51] local.INFO: IMEI packet received {"connection_id":137505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":137505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:14:53] local.INFO: TCP Data received {"connection_id":137505,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:14:53] local.INFO: Processing buffer {"connection_id":137505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:14:53] local.INFO: IMEI packet received {"connection_id":137505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":137505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:14:57] local.INFO: TCP Data received {"connection_id":137505,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:14:57] local.INFO: Processing buffer {"connection_id":137505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:14:57] local.INFO: IMEI packet received {"connection_id":137505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":137505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:14:58] local.INFO: TCP Data received {"connection_id":137505,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f791dd8b8012d194ec00720ab680036011824..."} 
[2026-07-19 12:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791dd8b8012d194ec00720ab680036011824..."} 
[2026-07-19 12:14:58] local.INFO: Processing buffer {"connection_id":137505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791dd8b8012d194ec00720ab680036011824..."} 
[2026-07-19 12:14:58] local.INFO: Packet analysis {"connection_id":137505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f791d"} 
[2026-07-19 12:14:58] local.INFO: Extracted packet for processing {"connection_id":137505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f791d"} 
[2026-07-19 12:14:58] local.INFO: GPS Element Parsed {"raw_longitude":756633280,"raw_latitude":119581544,"longitude_deg":75.663328,"latitude_deg":11.9581544,"altitude":54,"angle":280,"satellites":36,"speed":26,"hex_longitude":"2d194ec0","hex_latitude":"0720ab68","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817515776001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7106620391686144,"note":"Value kept but may cause issues"} 
[2026-07-19 12:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828180004348542976,"note":"Value kept but may cause issues"} 
[2026-07-19 12:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784443427000,"timestamp_ms":1784443427000,"timestamp_seconds":1784443427,"priority":1,"record_length":96,"hex_timestamp":"0000019f791dd8b8"} 
[2026-07-19 12:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-19 12:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":137505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":137505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":137505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817515776001,"66":14515,"121":206,"28":31744,"24":26,"16":7106620391686144,"45":1828180004348542976},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 12:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817515776001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:14:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 12:14:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7106620391686144,"km_value":7106620391686.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828180004348542976,"description":"Unknown IO ID 45"} 
[2026-07-19 12:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817515776001,"power":14515,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1828180004348542976}} 
[2026-07-19 12:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":137505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:14:58] local.INFO: GPS data processed {"connection_id":137505,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:14:58] local.INFO: Acknowledgment sent {"connection_id":137505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:15:03] local.INFO: TCP Data received {"connection_id":137505,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f791dec40012d1942000720af400035012625..."} 
[2026-07-19 12:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791dec40012d1942000720af400035012625..."} 
[2026-07-19 12:15:03] local.INFO: Processing buffer {"connection_id":137505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791dec40012d1942000720af400035012625..."} 
[2026-07-19 12:15:03] local.INFO: Packet analysis {"connection_id":137505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f791d"} 
[2026-07-19 12:15:03] local.INFO: Extracted packet for processing {"connection_id":137505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f791d"} 
[2026-07-19 12:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756630016,"raw_latitude":119582528,"longitude_deg":75.6630016,"latitude_deg":11.9582528,"altitude":53,"angle":294,"satellites":37,"speed":28,"hex_longitude":"2d194200","hex_latitude":"0720af40","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817517312001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7106779305476096,"note":"Value kept but may cause issues"} 
[2026-07-19 12:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823606035977037824,"note":"Value kept but may cause issues"} 
[2026-07-19 12:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784443432000,"timestamp_ms":1784443432000,"timestamp_seconds":1784443432,"priority":1,"record_length":96,"hex_timestamp":"0000019f791dec40"} 
[2026-07-19 12:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-19 12:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":137505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":137505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":137505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817517312001,"66":14461,"121":206,"28":31744,"24":28,"16":7106779305476096,"45":1823606035977037824},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 12:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817517312001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:15:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 12:15:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7106779305476096,"km_value":7106779305476.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823606035977037824,"description":"Unknown IO ID 45"} 
[2026-07-19 12:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817517312001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1823606035977037824}} 
[2026-07-19 12:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":137505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:15:03] local.INFO: GPS data processed {"connection_id":137505,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:15:03] local.INFO: Acknowledgment sent {"connection_id":137505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:15:10] local.INFO: TCP Data received {"connection_id":136427,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:15:10] local.INFO: Processing buffer {"connection_id":136427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:15:10] local.INFO: Packet analysis {"connection_id":136427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:15:10] local.INFO: Extracted packet for processing {"connection_id":136427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:15:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817421056001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:15: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-07-19 12:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784443352000,"timestamp_ms":1784443352000,"timestamp_seconds":1784443352,"priority":1,"record_length":96,"hex_timestamp":"0000019f791cb3c0"} 
[2026-07-19 12:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 12:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:15:10] 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-07-19 12:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817421056001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817421056001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:15:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:15:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817421056001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":136427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:15:10] local.INFO: GPS data processed {"connection_id":136427,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:15:10] local.INFO: Acknowledgment sent {"connection_id":136427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:15:31] local.INFO: TCP Data received {"connection_id":137506,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:15:31] local.INFO: Processing buffer {"connection_id":137506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:15:31] local.INFO: IMEI packet received {"connection_id":137506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":137506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:15:35] local.INFO: TCP Data received {"connection_id":137505,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f791df7f8012d193b400720b3600034013225..."} 
[2026-07-19 12:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791df7f8012d193b400720b3600034013225..."} 
[2026-07-19 12:15:35] local.INFO: Processing buffer {"connection_id":137505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791df7f8012d193b400720b3600034013225..."} 
[2026-07-19 12:15:35] local.INFO: Packet analysis {"connection_id":137505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f791d"} 
[2026-07-19 12:15:35] local.INFO: Extracted packet for processing {"connection_id":137505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f791d"} 
[2026-07-19 12:15:35] local.INFO: GPS Element Parsed {"raw_longitude":756628288,"raw_latitude":119583584,"longitude_deg":75.6628288,"latitude_deg":11.9583584,"altitude":52,"angle":306,"satellites":37,"speed":27,"hex_longitude":"2d193b40","hex_latitude":"0720b360","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817518592001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7106878089723904,"note":"Value kept but may cause issues"} 
[2026-07-19 12:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820017230024228864,"note":"Value kept but may cause issues"} 
[2026-07-19 12:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784443435000,"timestamp_ms":1784443435000,"timestamp_seconds":1784443435,"priority":1,"record_length":96,"hex_timestamp":"0000019f791df7f8"} 
[2026-07-19 12:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-19 12:15:35] 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-07-19 12: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-07-19 12:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":137505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":137505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":137505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817518592001,"66":13798,"121":206,"28":31744,"24":27,"16":7106878089723904,"45":1820017230024228864},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 12:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817518592001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:15:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 12:15:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7106878089723904,"km_value":7106878089723.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820017230024228864,"description":"Unknown IO ID 45"} 
[2026-07-19 12:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817518592001,"power":13798,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1820017230024228864}} 
[2026-07-19 12:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":137505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:15:35] local.INFO: GPS data processed {"connection_id":137505,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:15:35] local.INFO: Acknowledgment sent {"connection_id":137505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:15:36] local.INFO: TCP Data received {"connection_id":137506,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:15:36] local.INFO: Processing buffer {"connection_id":137506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:15:36] local.INFO: IMEI packet received {"connection_id":137506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":137506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:15:37] local.INFO: TCP Data received {"connection_id":137506,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:15:37] local.INFO: Processing buffer {"connection_id":137506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:15:37] local.INFO: Packet analysis {"connection_id":137506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:15:37] local.INFO: Extracted packet for processing {"connection_id":137506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817421056001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:15: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-07-19 12:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784443352000,"timestamp_ms":1784443352000,"timestamp_seconds":1784443352,"priority":1,"record_length":96,"hex_timestamp":"0000019f791cb3c0"} 
[2026-07-19 12:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 12:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817421056001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817421056001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817421056001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":137506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:15:37] local.INFO: GPS data processed {"connection_id":137506,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:15:37] local.INFO: Acknowledgment sent {"connection_id":137506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:15:52] local.INFO: TCP Data received {"connection_id":137507,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:15:52] local.INFO: Processing buffer {"connection_id":137507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:15:52] local.INFO: IMEI packet received {"connection_id":137507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":137507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:15:56] local.INFO: TCP Data received {"connection_id":137507,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:15:56] local.INFO: Processing buffer {"connection_id":137507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:15:56] local.INFO: IMEI packet received {"connection_id":137507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":137507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:15:57] local.INFO: TCP Data received {"connection_id":137507,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f791e0798012d1932c00720b8880033012724..."} 
[2026-07-19 12:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791e0798012d1932c00720b8880033012724..."} 
[2026-07-19 12:15:57] local.INFO: Processing buffer {"connection_id":137507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791e0798012d1932c00720b8880033012724..."} 
[2026-07-19 12:15:57] local.INFO: Packet analysis {"connection_id":137507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f791e"} 
[2026-07-19 12:15:57] local.INFO: Extracted packet for processing {"connection_id":137507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f791e"} 
[2026-07-19 12:15:57] local.INFO: GPS Element Parsed {"raw_longitude":756626112,"raw_latitude":119584904,"longitude_deg":75.6626112,"latitude_deg":11.9584904,"altitude":51,"angle":295,"satellites":36,"speed":23,"hex_longitude":"2d1932c0","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-07-19 12:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817519360001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7106998348808192,"note":"Value kept but may cause issues"} 
[2026-07-19 12:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818117273931702272,"note":"Value kept but may cause issues"} 
[2026-07-19 12:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784443439000,"timestamp_ms":1784443439000,"timestamp_seconds":1784443439,"priority":1,"record_length":96,"hex_timestamp":"0000019f791e0798"} 
[2026-07-19 12:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-19 12:15: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-07-19 12:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817519360001,"66":14428,"121":206,"28":31744,"24":23,"16":7106998348808192,"45":1818117273931702272},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 12:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817519360001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:15:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 12:15:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7106998348808192,"km_value":7106998348808.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818117273931702272,"description":"Unknown IO ID 45"} 
[2026-07-19 12:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817519360001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1818117273931702272}} 
[2026-07-19 12:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":137507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:15:57] local.INFO: GPS data processed {"connection_id":137507,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:15:57] local.INFO: Acknowledgment sent {"connection_id":137507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:16:09] local.INFO: TCP Data received {"connection_id":137506,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:16:09] local.INFO: Processing buffer {"connection_id":137506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:16:09] local.INFO: Packet analysis {"connection_id":137506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:16:09] local.INFO: Extracted packet for processing {"connection_id":137506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817421056001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:16: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-07-19 12:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784443352000,"timestamp_ms":1784443352000,"timestamp_seconds":1784443352,"priority":1,"record_length":96,"hex_timestamp":"0000019f791cb3c0"} 
[2026-07-19 12:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12: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":4,"data_length":795,"current_offset":136} 
[2026-07-19 12:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817421056001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817421056001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817421056001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":137506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:16:09] local.INFO: GPS data processed {"connection_id":137506,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:16:09] local.INFO: Acknowledgment sent {"connection_id":137506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:16:28] local.INFO: TCP Data received {"connection_id":137507,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f791f9dd8012d18ad8007217010004c013c26..."} 
[2026-07-19 12:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791f9dd8012d18ad8007217010004c013c26..."} 
[2026-07-19 12:16:28] local.INFO: Processing buffer {"connection_id":137507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791f9dd8012d18ad8007217010004c013c26..."} 
[2026-07-19 12:16:28] local.INFO: Packet analysis {"connection_id":137507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f791f"} 
[2026-07-19 12:16:28] local.INFO: Extracted packet for processing {"connection_id":137507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f791f"} 
[2026-07-19 12:16:28] local.INFO: GPS Element Parsed {"raw_longitude":756592000,"raw_latitude":119631888,"longitude_deg":75.6592,"latitude_deg":11.9631888,"altitude":76,"angle":316,"satellites":38,"speed":21,"hex_longitude":"2d18ad80","hex_latitude":"07217010","is_valid_coordinates":true} 
[2026-07-19 12:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817543168001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7109996235980800,"note":"Value kept but may cause issues"} 
[2026-07-19 12:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783777326783594496,"note":"Value kept but may cause issues"} 
[2026-07-19 12:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784443543000,"timestamp_ms":1784443543000,"timestamp_seconds":1784443543,"priority":1,"record_length":96,"hex_timestamp":"0000019f791f9dd8"} 
[2026-07-19 12:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-19 12:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:16:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817543168001,"66":14515,"121":206,"28":31744,"24":21,"16":7109996235980800,"45":1783777326783594496},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 12:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817543168001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:16:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 12:16:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7109996235980800,"km_value":7109996235980.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783777326783594496,"description":"Unknown IO ID 45"} 
[2026-07-19 12:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817543168001,"power":14515,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1783777326783594496}} 
[2026-07-19 12:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":137507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:16:28] local.INFO: GPS data processed {"connection_id":137507,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:16:28] local.INFO: Acknowledgment sent {"connection_id":137507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:16:31] local.INFO: TCP Data received {"connection_id":136570,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:16:31] local.INFO: Processing buffer {"connection_id":136570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:16:31] local.INFO: IMEI packet received {"connection_id":136570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":136570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:16:36] local.INFO: TCP Data received {"connection_id":136570,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:16:36] local.INFO: Processing buffer {"connection_id":136570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:16:36] local.INFO: IMEI packet received {"connection_id":136570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":136570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:16:38] local.INFO: TCP Data received {"connection_id":136570,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:16:38] local.INFO: Processing buffer {"connection_id":136570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:16:38] local.INFO: Packet analysis {"connection_id":136570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:16:38] local.INFO: Extracted packet for processing {"connection_id":136570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:16:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817421056001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:16: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-07-19 12:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784443352000,"timestamp_ms":1784443352000,"timestamp_seconds":1784443352,"priority":1,"record_length":96,"hex_timestamp":"0000019f791cb3c0"} 
[2026-07-19 12:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 12:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:16:38] 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-07-19 12:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817421056001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817421056001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:16:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:16:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817421056001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":136570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:16:38] local.INFO: GPS data processed {"connection_id":136570,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:16:38] local.INFO: Acknowledgment sent {"connection_id":136570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:16:51] local.INFO: TCP Data received {"connection_id":136428,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:16:51] local.INFO: Processing buffer {"connection_id":136428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:16:51] local.INFO: IMEI packet received {"connection_id":136428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":136428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:16:51] local.INFO: TCP Data received {"connection_id":136428,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:16:51] local.INFO: Processing buffer {"connection_id":136428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:16:51] local.INFO: IMEI packet received {"connection_id":136428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":136428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:16:53] local.INFO: TCP Data received {"connection_id":136428,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:16:53] local.INFO: Processing buffer {"connection_id":136428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:16:53] local.INFO: IMEI packet received {"connection_id":136428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":136428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:16:56] local.INFO: TCP Data received {"connection_id":136428,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:16:56] local.INFO: Processing buffer {"connection_id":136428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:16:56] local.INFO: IMEI packet received {"connection_id":136428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":136428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:16:57] local.INFO: TCP Data received {"connection_id":136428,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f791fa5a8012d18aa40072172b8004d012c26..."} 
[2026-07-19 12:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791fa5a8012d18aa40072172b8004d012c26..."} 
[2026-07-19 12:16:57] local.INFO: Processing buffer {"connection_id":136428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791fa5a8012d18aa40072172b8004d012c26..."} 
[2026-07-19 12:16:57] local.INFO: Packet analysis {"connection_id":136428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f791f"} 
[2026-07-19 12:16:57] local.INFO: Extracted packet for processing {"connection_id":136428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f791f"} 
[2026-07-19 12:16:57] local.INFO: GPS Element Parsed {"raw_longitude":756591168,"raw_latitude":119632568,"longitude_deg":75.6591168,"latitude_deg":11.9632568,"altitude":77,"angle":300,"satellites":38,"speed":21,"hex_longitude":"2d18aa40","hex_latitude":"072172b8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817547008001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7110047775588352,"note":"Value kept but may cause issues"} 
[2026-07-19 12:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778218195995332608,"note":"Value kept but may cause issues"} 
[2026-07-19 12:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784443545000,"timestamp_ms":1784443545000,"timestamp_seconds":1784443545,"priority":1,"record_length":96,"hex_timestamp":"0000019f791fa5a8"} 
[2026-07-19 12:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-19 12:16:57] 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-07-19 12: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-07-19 12:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817547008001,"66":13993,"121":206,"28":31744,"24":21,"16":7110047775588352,"45":1778218195995332608},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 12:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817547008001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:16:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 12:16:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7110047775588352,"km_value":7110047775588.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778218195995332608,"description":"Unknown IO ID 45"} 
[2026-07-19 12:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817547008001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1778218195995332608}} 
[2026-07-19 12:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":136428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:16:57] local.INFO: GPS data processed {"connection_id":136428,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:16:57] local.INFO: Acknowledgment sent {"connection_id":136428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:17:02] local.INFO: TCP Data received {"connection_id":136428,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f791fb160012d18a3c007217540004e011d26..."} 
[2026-07-19 12:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791fb160012d18a3c007217540004e011d26..."} 
[2026-07-19 12:17:02] local.INFO: Processing buffer {"connection_id":136428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791fb160012d18a3c007217540004e011d26..."} 
[2026-07-19 12:17:02] local.INFO: Packet analysis {"connection_id":136428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f791f"} 
[2026-07-19 12:17:02] local.INFO: Extracted packet for processing {"connection_id":136428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f791f"} 
[2026-07-19 12:17:02] local.INFO: GPS Element Parsed {"raw_longitude":756589504,"raw_latitude":119633216,"longitude_deg":75.6589504,"latitude_deg":11.9633216,"altitude":78,"angle":285,"satellites":38,"speed":24,"hex_longitude":"2d18a3c0","hex_latitude":"07217540","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817547520001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7110133674934272,"note":"Value kept but may cause issues"} 
[2026-07-19 12:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777303402321197056,"note":"Value kept but may cause issues"} 
[2026-07-19 12:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784443548000,"timestamp_ms":1784443548000,"timestamp_seconds":1784443548,"priority":1,"record_length":96,"hex_timestamp":"0000019f791fb160"} 
[2026-07-19 12:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-19 12:17:02] 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-07-19 12: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-07-19 12:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817547520001,"66":14004,"121":206,"28":31744,"24":24,"16":7110133674934272,"45":1777303402321197056},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 12:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817547520001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:17:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 12:17:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7110133674934272,"km_value":7110133674934.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777303402321197056,"description":"Unknown IO ID 45"} 
[2026-07-19 12:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817547520001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1777303402321197056}} 
[2026-07-19 12:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":136428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:17:02] local.INFO: GPS data processed {"connection_id":136428,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:17:02] local.INFO: Acknowledgment sent {"connection_id":136428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:17:09] local.INFO: TCP Data received {"connection_id":136570,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:17:09] local.INFO: Processing buffer {"connection_id":136570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:17:09] local.INFO: Packet analysis {"connection_id":136570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:17:09] local.INFO: Extracted packet for processing {"connection_id":136570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817421056001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:17: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-07-19 12:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784443352000,"timestamp_ms":1784443352000,"timestamp_seconds":1784443352,"priority":1,"record_length":96,"hex_timestamp":"0000019f791cb3c0"} 
[2026-07-19 12:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12: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":4,"data_length":795,"current_offset":136} 
[2026-07-19 12:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817421056001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817421056001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:17:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:17:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817421056001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":136570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:17:09] local.INFO: GPS data processed {"connection_id":136570,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:17:09] local.INFO: Acknowledgment sent {"connection_id":136570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:17:31] local.INFO: TCP Data received {"connection_id":136429,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:17:31] local.INFO: Processing buffer {"connection_id":136429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:17:31] local.INFO: IMEI packet received {"connection_id":136429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":136429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:17:34] local.INFO: TCP Data received {"connection_id":136428,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f791fe810012d1881c0072181c8004d011425..."} 
[2026-07-19 12:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791fe810012d1881c0072181c8004d011425..."} 
[2026-07-19 12:17:34] local.INFO: Processing buffer {"connection_id":136428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791fe810012d1881c0072181c8004d011425..."} 
[2026-07-19 12:17:34] local.INFO: Packet analysis {"connection_id":136428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f791f"} 
[2026-07-19 12:17:34] local.INFO: Extracted packet for processing {"connection_id":136428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f791f"} 
[2026-07-19 12:17:34] local.INFO: GPS Element Parsed {"raw_longitude":756580800,"raw_latitude":119636424,"longitude_deg":75.65808,"latitude_deg":11.9636424,"altitude":77,"angle":276,"satellites":37,"speed":27,"hex_longitude":"2d1881c0","hex_latitude":"072181c8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817548288001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7110576056565760,"note":"Value kept but may cause issues"} 
[2026-07-19 12:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775473814972743680,"note":"Value kept but may cause issues"} 
[2026-07-19 12:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784443562000,"timestamp_ms":1784443562000,"timestamp_seconds":1784443562,"priority":1,"record_length":96,"hex_timestamp":"0000019f791fe810"} 
[2026-07-19 12:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-19 12:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":136428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":136428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":136428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817548288001,"66":14580,"121":206,"28":31744,"24":27,"16":7110576056565760,"45":1775473814972743680},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 12:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817548288001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:17:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 12:17:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7110576056565760,"km_value":7110576056565.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775473814972743680,"description":"Unknown IO ID 45"} 
[2026-07-19 12:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817548288001,"power":14580,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1775473814972743680}} 
[2026-07-19 12:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":136428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:17:34] local.INFO: GPS data processed {"connection_id":136428,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:17:34] local.INFO: Acknowledgment sent {"connection_id":136428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:17:36] local.INFO: TCP Data received {"connection_id":136429,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:17:36] local.INFO: Processing buffer {"connection_id":136429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:17:36] local.INFO: IMEI packet received {"connection_id":136429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":136429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:17:37] local.INFO: TCP Data received {"connection_id":136429,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:17:37] local.INFO: Processing buffer {"connection_id":136429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:17:37] local.INFO: Packet analysis {"connection_id":136429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:17:37] local.INFO: Extracted packet for processing {"connection_id":136429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817421056001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:17: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-07-19 12:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784443352000,"timestamp_ms":1784443352000,"timestamp_seconds":1784443352,"priority":1,"record_length":96,"hex_timestamp":"0000019f791cb3c0"} 
[2026-07-19 12:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 12:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:17: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-07-19 12:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817421056001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817421056001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:17:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817421056001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":136429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:17:37] local.INFO: GPS data processed {"connection_id":136429,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:17:37] local.INFO: Acknowledgment sent {"connection_id":136429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:17:52] local.INFO: TCP Data received {"connection_id":138923,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:17:52] local.INFO: Processing buffer {"connection_id":138923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:17:52] local.INFO: IMEI packet received {"connection_id":138923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":138923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:17:52] local.INFO: TCP Data received {"connection_id":138923,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:17:52] local.INFO: Processing buffer {"connection_id":138923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:17:52] local.INFO: IMEI packet received {"connection_id":138923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":138923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:17:57] local.INFO: TCP Data received {"connection_id":138923,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:17:57] local.INFO: Processing buffer {"connection_id":138923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:17:57] local.INFO: IMEI packet received {"connection_id":138923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":138923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:17:58] local.INFO: TCP Data received {"connection_id":138923,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7920edc8012d181d000721a840004b000526..."} 
[2026-07-19 12:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7920edc8012d181d000721a840004b000526..."} 
[2026-07-19 12:17:58] local.INFO: Processing buffer {"connection_id":138923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7920edc8012d181d000721a840004b000526..."} 
[2026-07-19 12:17:58] local.INFO: Packet analysis {"connection_id":138923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7920"} 
[2026-07-19 12:17:58] local.INFO: Extracted packet for processing {"connection_id":138923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7920"} 
[2026-07-19 12:17:58] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646272,"longitude_deg":75.6555008,"latitude_deg":11.9646272,"altitude":75,"angle":5,"satellites":38,"speed":8,"hex_longitude":"2d181d00","hex_latitude":"0721a840","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817568768001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7111937561198592,"note":"Value kept but may cause issues"} 
[2026-07-19 12:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608449536,"note":"Value kept but may cause issues"} 
[2026-07-19 12:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784443629000,"timestamp_ms":1784443629000,"timestamp_seconds":1784443629,"priority":1,"record_length":96,"hex_timestamp":"0000019f7920edc8"} 
[2026-07-19 12:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-19 12:17:58] 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-07-19 12: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-07-19 12:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":138923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":138923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":138923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817568768001,"66":13820,"120":206,"28":31744,"24":8,"16":7111937561198592,"45":1737615430608449536},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817568768001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:17:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:17:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7111937561198592,"km_value":7111937561198.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608449536,"description":"Unknown IO ID 45"} 
[2026-07-19 12:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817568768001,"power":13820,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1737615430608449536}} 
[2026-07-19 12:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":138923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:17:58] local.INFO: GPS data processed {"connection_id":138923,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:17:58] local.INFO: Acknowledgment sent {"connection_id":138923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:18:02] local.INFO: TCP Data received {"connection_id":137508,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:18:02] local.INFO: Processing buffer {"connection_id":137508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:18:02] local.INFO: IMEI packet received {"connection_id":137508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 12:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":137508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:18:08] local.INFO: TCP Data received {"connection_id":136429,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:18:08] local.INFO: Processing buffer {"connection_id":136429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f791cb3c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:18:08] local.INFO: Packet analysis {"connection_id":136429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:18:08] local.INFO: Extracted packet for processing {"connection_id":136429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f791c"} 
[2026-07-19 12:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817421056001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:18: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-07-19 12:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784443352000,"timestamp_ms":1784443352000,"timestamp_seconds":1784443352,"priority":1,"record_length":96,"hex_timestamp":"0000019f791cb3c0"} 
[2026-07-19 12:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 12:18: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-07-19 12:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:18: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-07-19 12:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817421056001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817421056001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:18:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:18:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817421056001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":136429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:18:08] local.INFO: GPS data processed {"connection_id":136429,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:18:08] local.INFO: Acknowledgment sent {"connection_id":136429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:18:26] local.INFO: TCP Data received {"connection_id":138924,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:18:26] local.INFO: Processing buffer {"connection_id":138924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:18:26] local.INFO: IMEI packet received {"connection_id":138924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 12:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":138924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:18:30] local.INFO: TCP Data received {"connection_id":138923,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7920f1b0012d181d400721a920004b001326..."} 
[2026-07-19 12:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7920f1b0012d181d400721a920004b001326..."} 
[2026-07-19 12:18:30] local.INFO: Processing buffer {"connection_id":138923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7920f1b0012d181d400721a920004b001326..."} 
[2026-07-19 12:18:30] local.INFO: Packet analysis {"connection_id":138923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7920"} 
[2026-07-19 12:18:30] local.INFO: Extracted packet for processing {"connection_id":138923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7920"} 
[2026-07-19 12:18:30] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646496,"longitude_deg":75.6555072,"latitude_deg":11.9646496,"altitude":75,"angle":19,"satellites":38,"speed":9,"hex_longitude":"2d181d40","hex_latitude":"0721a920","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817569024001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7111950446100480,"note":"Value kept but may cause issues"} 
[2026-07-19 12:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864325120,"note":"Value kept but may cause issues"} 
[2026-07-19 12:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784443630000,"timestamp_ms":1784443630000,"timestamp_seconds":1784443630,"priority":1,"record_length":96,"hex_timestamp":"0000019f7920f1b0"} 
[2026-07-19 12:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:18:30] 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-07-19 12: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-19 12:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":138923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":138923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":138923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817569024001,"66":13276,"120":206,"28":31744,"24":9,"16":7111950446100480,"45":1737545061864325120},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817569024001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:18:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:18:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7111950446100480,"km_value":7111950446100.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864325120,"description":"Unknown IO ID 45"} 
[2026-07-19 12:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817569024001,"power":13276,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1737545061864325120}} 
[2026-07-19 12:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":138923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:18:30] local.INFO: GPS data processed {"connection_id":138923,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:18:30] local.INFO: Acknowledgment sent {"connection_id":138923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:18:37] local.INFO: TCP Data received {"connection_id":136571,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:18:37] local.INFO: Processing buffer {"connection_id":136571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:18:37] local.INFO: IMEI packet received {"connection_id":136571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":136571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:18:42] local.INFO: TCP Data received {"connection_id":136571,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:18:42] local.INFO: Processing buffer {"connection_id":136571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:18:42] local.INFO: IMEI packet received {"connection_id":136571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":136571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:18:43] local.INFO: TCP Data received {"connection_id":136571,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:18:43] local.INFO: Processing buffer {"connection_id":136571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:18:43] local.INFO: Packet analysis {"connection_id":136571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:18:43] local.INFO: Extracted packet for processing {"connection_id":136571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:18:43] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817498112001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:18: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-07-19 12:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784443653000,"timestamp_ms":1784443653000,"timestamp_seconds":1784443653,"priority":1,"record_length":96,"hex_timestamp":"0000019f79214b88"} 
[2026-07-19 12:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:18:43] 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-07-19 12:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817498112001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817498112001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:18:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:18:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817498112001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":136571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:18:43] local.INFO: GPS data processed {"connection_id":136571,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:18:43] local.INFO: Acknowledgment sent {"connection_id":136571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:18:51] local.INFO: TCP Data received {"connection_id":136430,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:18:51] local.INFO: Processing buffer {"connection_id":136430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:18:51] local.INFO: IMEI packet received {"connection_id":136430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":136430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:18:57] local.INFO: TCP Data received {"connection_id":136430,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:18:57] local.INFO: Processing buffer {"connection_id":136430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:18:57] local.INFO: IMEI packet received {"connection_id":136430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":136430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:18:58] local.INFO: TCP Data received {"connection_id":136430,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7920fd68012d181ec00721abf8004a002026..."} 
[2026-07-19 12:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7920fd68012d181ec00721abf8004a002026..."} 
[2026-07-19 12:18:58] local.INFO: Processing buffer {"connection_id":136430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7920fd68012d181ec00721abf8004a002026..."} 
[2026-07-19 12:18:58] local.INFO: Packet analysis {"connection_id":136430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7920"} 
[2026-07-19 12:18:58] local.INFO: Extracted packet for processing {"connection_id":136430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7920"} 
[2026-07-19 12:18:58] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647224,"longitude_deg":75.6555456,"latitude_deg":11.9647224,"altitude":74,"angle":32,"satellites":38,"speed":13,"hex_longitude":"2d181ec0","hex_latitude":"0721abf8","is_valid_coordinates":true} 
[2026-07-19 12:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817569280001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7111989100806144,"note":"Value kept but may cause issues"} 
[2026-07-19 12:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608560128,"note":"Value kept but may cause issues"} 
[2026-07-19 12:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784443633000,"timestamp_ms":1784443633000,"timestamp_seconds":1784443633,"priority":1,"record_length":96,"hex_timestamp":"0000019f7920fd68"} 
[2026-07-19 12:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-19 12:18:58] 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-07-19 12:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817569280001,"66":13319,"120":206,"28":31744,"24":13,"16":7111989100806144,"45":1737615430608560128},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817569280001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:18:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:18:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7111989100806144,"km_value":7111989100806.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608560128,"description":"Unknown IO ID 45"} 
[2026-07-19 12:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817569280001,"power":13319,"unknown_120":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1737615430608560128}} 
[2026-07-19 12:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":136430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:18:58] local.INFO: GPS data processed {"connection_id":136430,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:18:58] local.INFO: Acknowledgment sent {"connection_id":136430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:19:14] local.INFO: TCP Data received {"connection_id":136571,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:19:14] local.INFO: Processing buffer {"connection_id":136571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:19:14] local.INFO: Packet analysis {"connection_id":136571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:19:14] local.INFO: Extracted packet for processing {"connection_id":136571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:19:14] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817498112001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:19: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-07-19 12:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784443653000,"timestamp_ms":1784443653000,"timestamp_seconds":1784443653,"priority":1,"record_length":96,"hex_timestamp":"0000019f79214b88"} 
[2026-07-19 12:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":136571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":136571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":136571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:19: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-07-19 12:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817498112001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817498112001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:19:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:19:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817498112001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":136571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:19:14] local.INFO: GPS data processed {"connection_id":136571,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:19:14] local.INFO: Acknowledgment sent {"connection_id":136571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:19:30] local.INFO: TCP Data received {"connection_id":136430,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f792110f0012d1821800721b0a8004b000826..."} 
[2026-07-19 12:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792110f0012d1821800721b0a8004b000826..."} 
[2026-07-19 12:19:30] local.INFO: Processing buffer {"connection_id":136430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792110f0012d1821800721b0a8004b000826..."} 
[2026-07-19 12:19:30] local.INFO: Packet analysis {"connection_id":136430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:19:30] local.INFO: Extracted packet for processing {"connection_id":136430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:19:30] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119648424,"longitude_deg":75.655616,"latitude_deg":11.9648424,"altitude":75,"angle":8,"satellites":38,"speed":7,"hex_longitude":"2d182180","hex_latitude":"0721b0a8","is_valid_coordinates":true} 
[2026-07-19 12:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817570048001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7112057820282880,"note":"Value kept but may cause issues"} 
[2026-07-19 12:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073812480,"note":"Value kept but may cause issues"} 
[2026-07-19 12:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784443638000,"timestamp_ms":1784443638000,"timestamp_seconds":1784443638,"priority":1,"record_length":96,"hex_timestamp":"0000019f792110f0"} 
[2026-07-19 12:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:19:30] 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-07-19 12:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-19 12:19:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-07-19 12:19:30] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-6575255133819099904,"note":"Value kept but may cause issues"} 
[2026-07-19 12:19:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-19 12:19:30] local.WARNING: Large IO value detected {"io_id":147,"raw_value":57956872821283964,"note":"Value kept but may cause issues"} 
[2026-07-19 12:19:30] local.WARNING: Large IO value detected {"io_id":32,"raw_value":-3564597811873775609,"note":"Value kept but may cause issues"} 
[2026-07-19 12:19:30] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,68,159,45,64,169,75,38,10,66,237,168,233,1,240,252,121,33,4,113,205,7,226,30,56,239,55,2,25,147,32],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-19 12:19:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332297306388365312,"timestamp_seconds":5332297306388365.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 12:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":136430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":136430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":136430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817570048001,"66":13352,"120":206,"28":31744,"24":7,"16":7112057820282880,"45":1738037643073812480},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817570048001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:19:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:19:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7112057820282880,"km_value":7112057820282.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073812480,"description":"Unknown IO ID 45"} 
[2026-07-19 12:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817570048001,"power":13352,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1738037643073812480}} 
[2026-07-19 12:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":136430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:19:30] local.INFO: GPS data processed {"connection_id":136430,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:19:30] local.INFO: Acknowledgment sent {"connection_id":136430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:19:31] local.INFO: TCP Data received {"connection_id":137509,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:19:31] local.INFO: Processing buffer {"connection_id":137509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:19:31] local.INFO: IMEI packet received {"connection_id":137509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":137509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:19:37] local.INFO: TCP Data received {"connection_id":137509,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:19:37] local.INFO: Processing buffer {"connection_id":137509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:19:37] local.INFO: IMEI packet received {"connection_id":137509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":137509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:19:38] local.INFO: TCP Data received {"connection_id":137509,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:19:38] local.INFO: Processing buffer {"connection_id":137509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:19:38] local.INFO: Packet analysis {"connection_id":137509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:19:38] local.INFO: Extracted packet for processing {"connection_id":137509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:19:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817498112001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:19: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-07-19 12:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784443653000,"timestamp_ms":1784443653000,"timestamp_seconds":1784443653,"priority":1,"record_length":96,"hex_timestamp":"0000019f79214b88"} 
[2026-07-19 12:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817498112001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817498112001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:19:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:19:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817498112001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":137509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:19:38] local.INFO: GPS data processed {"connection_id":137509,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:19:38] local.INFO: Acknowledgment sent {"connection_id":137509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:19:51] local.INFO: TCP Data received {"connection_id":136431,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:19:51] local.INFO: Processing buffer {"connection_id":136431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:19:51] local.INFO: IMEI packet received {"connection_id":136431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":136431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:19:56] local.INFO: TCP Data received {"connection_id":136431,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:19:56] local.INFO: Processing buffer {"connection_id":136431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:19:56] local.INFO: IMEI packet received {"connection_id":136431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":136431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:19:57] local.INFO: TCP Data received {"connection_id":136431,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f792114d8012d1821800721b150004b014e26..."} 
[2026-07-19 12:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792114d8012d1821800721b150004b014e26..."} 
[2026-07-19 12:19:57] local.INFO: Processing buffer {"connection_id":136431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792114d8012d1821800721b150004b014e26..."} 
[2026-07-19 12:19:57] local.INFO: Packet analysis {"connection_id":136431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:19:57] local.INFO: Extracted packet for processing {"connection_id":136431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:19:57] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119648592,"longitude_deg":75.655616,"latitude_deg":11.9648592,"altitude":75,"angle":334,"satellites":38,"speed":6,"hex_longitude":"2d182180","hex_latitude":"0721b150","is_valid_coordinates":true} 
[2026-07-19 12:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817571328001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7112062115250176,"note":"Value kept but may cause issues"} 
[2026-07-19 12:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260073984,"note":"Value kept but may cause issues"} 
[2026-07-19 12:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784443639000,"timestamp_ms":1784443639000,"timestamp_seconds":1784443639,"priority":1,"record_length":96,"hex_timestamp":"0000019f792114d8"} 
[2026-07-19 12:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-19 12:19: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-07-19 12:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817571328001,"66":13352,"120":206,"28":31744,"24":6,"16":7112062115250176,"45":1738811699260073984},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817571328001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:19:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:19:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7112062115250176,"km_value":7112062115250.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260073984,"description":"Unknown IO ID 45"} 
[2026-07-19 12:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817571328001,"power":13352,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1738811699260073984}} 
[2026-07-19 12:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":136431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:19:57] local.INFO: GPS data processed {"connection_id":136431,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:19:57] local.INFO: Acknowledgment sent {"connection_id":136431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:20:09] local.INFO: TCP Data received {"connection_id":137509,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:20:09] local.INFO: Processing buffer {"connection_id":137509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:20:09] local.INFO: Packet analysis {"connection_id":137509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:20:09] local.INFO: Extracted packet for processing {"connection_id":137509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817498112001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:20: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-07-19 12:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784443653000,"timestamp_ms":1784443653000,"timestamp_seconds":1784443653,"priority":1,"record_length":96,"hex_timestamp":"0000019f79214b88"} 
[2026-07-19 12:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:20:09] 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-07-19 12:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817498112001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817498112001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817498112001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":137509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:20:09] local.INFO: GPS data processed {"connection_id":137509,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:20:09] local.INFO: Acknowledgment sent {"connection_id":137509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:20:29] local.INFO: TCP Data received {"connection_id":136431,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f792166e0012d1821400721b0d0004b014e27..."} 
[2026-07-19 12:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792166e0012d1821400721b0d0004b014e27..."} 
[2026-07-19 12:20:29] local.INFO: Processing buffer {"connection_id":136431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792166e0012d1821400721b0d0004b014e27..."} 
[2026-07-19 12:20:29] local.INFO: Packet analysis {"connection_id":136431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:20:29] local.INFO: Extracted packet for processing {"connection_id":136431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:20:29] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119648464,"longitude_deg":75.6556096,"latitude_deg":11.9648464,"altitude":75,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b0d0","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817571584001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7112092180021248,"note":"Value kept but may cause issues"} 
[2026-07-19 12:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260116992,"note":"Value kept but may cause issues"} 
[2026-07-19 12:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784443660000,"timestamp_ms":1784443660000,"timestamp_seconds":1784443660,"priority":1,"record_length":96,"hex_timestamp":"0000019f792166e0"} 
[2026-07-19 12:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12: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-07-19 12: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-07-19 12:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":136431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":136431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":136431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817571584001,"66":13254,"120":206,"28":31744,"24":0,"16":7112092180021248,"45":1738811699260116992},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817571584001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:20:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:20:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7112092180021248,"km_value":7112092180021.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260116992,"description":"Unknown IO ID 45"} 
[2026-07-19 12:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817571584001,"power":13254,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260116992}} 
[2026-07-19 12:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":136431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:20:29] local.INFO: GPS data processed {"connection_id":136431,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:20:29] local.INFO: Acknowledgment sent {"connection_id":136431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:20:31] local.INFO: TCP Data received {"connection_id":137510,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:20:31] local.INFO: Processing buffer {"connection_id":137510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:20:31] local.INFO: IMEI packet received {"connection_id":137510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":137510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:20:36] local.INFO: TCP Data received {"connection_id":137510,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:20:36] local.INFO: Processing buffer {"connection_id":137510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:20:36] local.INFO: IMEI packet received {"connection_id":137510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":137510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:20:37] local.INFO: TCP Data received {"connection_id":137510,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:20:37] local.INFO: Processing buffer {"connection_id":137510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:20:37] local.INFO: Packet analysis {"connection_id":137510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:20:37] local.INFO: Extracted packet for processing {"connection_id":137510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817498112001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:20: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-07-19 12:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784443653000,"timestamp_ms":1784443653000,"timestamp_seconds":1784443653,"priority":1,"record_length":96,"hex_timestamp":"0000019f79214b88"} 
[2026-07-19 12:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817498112001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817498112001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:20:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817498112001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":137510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:20:37] local.INFO: GPS data processed {"connection_id":137510,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:20:37] local.INFO: Acknowledgment sent {"connection_id":137510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:20:57] local.INFO: TCP Data received {"connection_id":136432,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:20:57] local.INFO: Processing buffer {"connection_id":136432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:20:57] local.INFO: IMEI packet received {"connection_id":136432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":136432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:21:02] local.INFO: TCP Data received {"connection_id":136432,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:21:02] local.INFO: Processing buffer {"connection_id":136432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:21:02] local.INFO: IMEI packet received {"connection_id":136432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":136432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:21:03] local.INFO: TCP Data received {"connection_id":136432,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7921b8e8012d1820000721aff8004b014e27..."} 
[2026-07-19 12:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7921b8e8012d1820000721aff8004b014e27..."} 
[2026-07-19 12:21:03] local.INFO: Processing buffer {"connection_id":136432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7921b8e8012d1820000721aff8004b014e27..."} 
[2026-07-19 12:21:03] local.INFO: Packet analysis {"connection_id":136432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:21:03] local.INFO: Extracted packet for processing {"connection_id":136432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:21:03] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648248,"longitude_deg":75.6555776,"latitude_deg":11.9648248,"altitude":75,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817576960001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7112113654857728,"note":"Value kept but may cause issues"} 
[2026-07-19 12:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330515906560,"note":"Value kept but may cause issues"} 
[2026-07-19 12:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784443681000,"timestamp_ms":1784443681000,"timestamp_seconds":1784443681,"priority":1,"record_length":96,"hex_timestamp":"0000019f7921b8e8"} 
[2026-07-19 12:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-19 12:21:03] 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-07-19 12: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-07-19 12:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":136432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":136432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":136432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817576960001,"66":13287,"120":206,"28":31744,"24":0,"16":7112113654857728,"45":1738741330515906560},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817576960001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:21:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:21:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7112113654857728,"km_value":7112113654857.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330515906560,"description":"Unknown IO ID 45"} 
[2026-07-19 12:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817576960001,"power":13287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330515906560}} 
[2026-07-19 12:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":136432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:21:03] local.INFO: GPS data processed {"connection_id":136432,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:21:03] local.INFO: Acknowledgment sent {"connection_id":136432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:21:07] local.INFO: TCP Data received {"connection_id":136432,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79220af0012d1820000721aff8004b014e26..."} 
[2026-07-19 12:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79220af0012d1820000721aff8004b014e26..."} 
[2026-07-19 12:21:07] local.INFO: Processing buffer {"connection_id":136432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79220af0012d1820000721aff8004b014e26..."} 
[2026-07-19 12:21:07] local.INFO: Packet analysis {"connection_id":136432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7922"} 
[2026-07-19 12:21:07] local.INFO: Extracted packet for processing {"connection_id":136432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7922"} 
[2026-07-19 12:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648248,"longitude_deg":75.6555776,"latitude_deg":11.9648248,"altitude":75,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-07-19 12:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817582336001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7112113654857728,"note":"Value kept but may cause issues"} 
[2026-07-19 12:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794962944,"note":"Value kept but may cause issues"} 
[2026-07-19 12:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784443702000,"timestamp_ms":1784443702000,"timestamp_seconds":1784443702,"priority":1,"record_length":96,"hex_timestamp":"0000019f79220af0"} 
[2026-07-19 12:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-07-19 12:21:07] 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-07-19 12: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-07-19 12:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817582336001,"66":13243,"120":206,"28":31744,"24":0,"16":7112113654857728,"45":1738389486794962944},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817582336001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:21:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:21:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7112113654857728,"km_value":7112113654857.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794962944,"description":"Unknown IO ID 45"} 
[2026-07-19 12:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817582336001,"power":13243,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794962944}} 
[2026-07-19 12:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":136432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:21:07] local.INFO: GPS data processed {"connection_id":136432,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:21:07] local.INFO: Acknowledgment sent {"connection_id":136432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:21:09] local.INFO: TCP Data received {"connection_id":137510,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:21:09] local.INFO: Processing buffer {"connection_id":137510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:21:09] local.INFO: Packet analysis {"connection_id":137510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:21:09] local.INFO: Extracted packet for processing {"connection_id":137510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817498112001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:21: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-07-19 12:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784443653000,"timestamp_ms":1784443653000,"timestamp_seconds":1784443653,"priority":1,"record_length":96,"hex_timestamp":"0000019f79214b88"} 
[2026-07-19 12:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817498112001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817498112001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817498112001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":137510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:21:09] local.INFO: GPS data processed {"connection_id":137510,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:21:09] local.INFO: Acknowledgment sent {"connection_id":137510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:21:36] local.INFO: TCP Data received {"connection_id":136433,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:21:36] local.INFO: Processing buffer {"connection_id":136433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:21:36] local.INFO: IMEI packet received {"connection_id":136433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":136433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:21:42] local.INFO: TCP Data received {"connection_id":136433,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:21:42] local.INFO: Processing buffer {"connection_id":136433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:21:42] local.INFO: IMEI packet received {"connection_id":136433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":136433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:21:43] local.INFO: TCP Data received {"connection_id":136433,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:21:43] local.INFO: Processing buffer {"connection_id":136433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:21:43] local.INFO: Packet analysis {"connection_id":136433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:21:43] local.INFO: Extracted packet for processing {"connection_id":136433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:21:43] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817498112001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:21: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-07-19 12:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784443653000,"timestamp_ms":1784443653000,"timestamp_seconds":1784443653,"priority":1,"record_length":96,"hex_timestamp":"0000019f79214b88"} 
[2026-07-19 12:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:21:43] 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-07-19 12:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817498112001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817498112001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:21:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:21:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817498112001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":136433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:21:43] local.INFO: GPS data processed {"connection_id":136433,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:21:43] local.INFO: Acknowledgment sent {"connection_id":136433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:21:48] local.INFO: TCP Data received {"connection_id":138926,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:21:48] local.INFO: Processing buffer {"connection_id":138926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:21:48] local.INFO: IMEI packet received {"connection_id":138926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":138926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:21:52] local.INFO: TCP Data received {"connection_id":138926,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:21:52] local.INFO: Processing buffer {"connection_id":138926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:21:52] local.INFO: IMEI packet received {"connection_id":138926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":138926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:21:57] local.INFO: TCP Data received {"connection_id":138926,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:21:57] local.INFO: Processing buffer {"connection_id":138926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:21:57] local.INFO: IMEI packet received {"connection_id":138926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":138926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:21:58] local.INFO: TCP Data received {"connection_id":138926,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79225cf8012d1820000721aff8004b014e27..."} 
[2026-07-19 12:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79225cf8012d1820000721aff8004b014e27..."} 
[2026-07-19 12:21:58] local.INFO: Processing buffer {"connection_id":138926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79225cf8012d1820000721aff8004b014e27..."} 
[2026-07-19 12:21:58] local.INFO: Packet analysis {"connection_id":138926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7922"} 
[2026-07-19 12:21:58] local.INFO: Extracted packet for processing {"connection_id":138926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7922"} 
[2026-07-19 12:21:58] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648248,"longitude_deg":75.6555776,"latitude_deg":11.9648248,"altitude":75,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817587712001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7112113654857728,"note":"Value kept but may cause issues"} 
[2026-07-19 12:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794962944,"note":"Value kept but may cause issues"} 
[2026-07-19 12:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784443723000,"timestamp_ms":1784443723000,"timestamp_seconds":1784443723,"priority":1,"record_length":96,"hex_timestamp":"0000019f79225cf8"} 
[2026-07-19 12:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-19 12:21:58] 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-07-19 12: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-07-19 12:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":138926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":138926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":138926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817587712001,"66":13222,"120":206,"28":31744,"24":0,"16":7112113654857728,"45":1738389486794962944},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817587712001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:21:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:21:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7112113654857728,"km_value":7112113654857.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794962944,"description":"Unknown IO ID 45"} 
[2026-07-19 12:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817587712001,"power":13222,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794962944}} 
[2026-07-19 12:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":138926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:21:58] local.INFO: GPS data processed {"connection_id":138926,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:21:58] local.INFO: Acknowledgment sent {"connection_id":138926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:22:15] local.INFO: TCP Data received {"connection_id":136433,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:22:15] local.INFO: Processing buffer {"connection_id":136433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:22:15] local.INFO: Packet analysis {"connection_id":136433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:22:15] local.INFO: Extracted packet for processing {"connection_id":136433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:22:15] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817498112001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784443653000,"timestamp_ms":1784443653000,"timestamp_seconds":1784443653,"priority":1,"record_length":96,"hex_timestamp":"0000019f79214b88"} 
[2026-07-19 12:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":136433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":136433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":136433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:22:15] 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-07-19 12:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817498112001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817498112001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:22:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:22:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817498112001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":136433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:22:15] local.INFO: GPS data processed {"connection_id":136433,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:22:15] local.INFO: Acknowledgment sent {"connection_id":136433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:22:29] local.INFO: TCP Data received {"connection_id":138926,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7922af00012d1820000721aff8004b014e29..."} 
[2026-07-19 12:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7922af00012d1820000721aff8004b014e29..."} 
[2026-07-19 12:22:29] local.INFO: Processing buffer {"connection_id":138926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7922af00012d1820000721aff8004b014e29..."} 
[2026-07-19 12:22:29] local.INFO: Packet analysis {"connection_id":138926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7922"} 
[2026-07-19 12:22:29] local.INFO: Extracted packet for processing {"connection_id":138926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7922"} 
[2026-07-19 12:22:29] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648248,"longitude_deg":75.6555776,"latitude_deg":11.9648248,"altitude":75,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817593088001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7112113654857728,"note":"Value kept but may cause issues"} 
[2026-07-19 12:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794962944,"note":"Value kept but may cause issues"} 
[2026-07-19 12:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784443744000,"timestamp_ms":1784443744000,"timestamp_seconds":1784443744,"priority":1,"record_length":96,"hex_timestamp":"0000019f7922af00"} 
[2026-07-19 12:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-19 12:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":138926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":138926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":138926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817593088001,"66":12711,"120":206,"28":31744,"24":0,"16":7112113654857728,"45":1738389486794962944},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817593088001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:22:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:22:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7112113654857728,"km_value":7112113654857.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794962944,"description":"Unknown IO ID 45"} 
[2026-07-19 12:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817593088001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794962944}} 
[2026-07-19 12:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":138926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:22:29] local.INFO: GPS data processed {"connection_id":138926,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:22:29] local.INFO: Acknowledgment sent {"connection_id":138926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:22:31] local.INFO: TCP Data received {"connection_id":136434,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:22:31] local.INFO: Processing buffer {"connection_id":136434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:22:31] local.INFO: IMEI packet received {"connection_id":136434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":136434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:22:36] local.INFO: TCP Data received {"connection_id":136434,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:22:36] local.INFO: Processing buffer {"connection_id":136434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:22:36] local.INFO: IMEI packet received {"connection_id":136434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":136434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:22:37] local.INFO: TCP Data received {"connection_id":136434,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:22:37] local.INFO: Processing buffer {"connection_id":136434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:22:37] local.INFO: Packet analysis {"connection_id":136434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:22:37] local.INFO: Extracted packet for processing {"connection_id":136434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817498112001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:22: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-07-19 12:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784443653000,"timestamp_ms":1784443653000,"timestamp_seconds":1784443653,"priority":1,"record_length":96,"hex_timestamp":"0000019f79214b88"} 
[2026-07-19 12:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817498112001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817498112001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:22:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817498112001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":136434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:22:37] local.INFO: GPS data processed {"connection_id":136434,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:22:37] local.INFO: Acknowledgment sent {"connection_id":136434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:22:52] local.INFO: TCP Data received {"connection_id":136574,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:22:52] local.INFO: Processing buffer {"connection_id":136574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:22:52] local.INFO: IMEI packet received {"connection_id":136574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":136574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:22:53] local.INFO: TCP Data received {"connection_id":136574,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:22:53] local.INFO: Processing buffer {"connection_id":136574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:22:53] local.INFO: IMEI packet received {"connection_id":136574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":136574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:22:57] local.INFO: TCP Data received {"connection_id":136574,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:22:57] local.INFO: Processing buffer {"connection_id":136574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:22:57] local.INFO: IMEI packet received {"connection_id":136574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":136574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:22:58] local.INFO: TCP Data received {"connection_id":136574,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79230108012d1820000721aff8004b014e28..."} 
[2026-07-19 12:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79230108012d1820000721aff8004b014e28..."} 
[2026-07-19 12:22:58] local.INFO: Processing buffer {"connection_id":136574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79230108012d1820000721aff8004b014e28..."} 
[2026-07-19 12:22:58] local.INFO: Packet analysis {"connection_id":136574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7923"} 
[2026-07-19 12:22:58] local.INFO: Extracted packet for processing {"connection_id":136574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7923"} 
[2026-07-19 12:22:58] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648248,"longitude_deg":75.6555776,"latitude_deg":11.9648248,"altitude":75,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817598464001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7112113654857728,"note":"Value kept but may cause issues"} 
[2026-07-19 12:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794962944,"note":"Value kept but may cause issues"} 
[2026-07-19 12:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784443765000,"timestamp_ms":1784443765000,"timestamp_seconds":1784443765,"priority":1,"record_length":96,"hex_timestamp":"0000019f79230108"} 
[2026-07-19 12:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-19 12:22:58] 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-07-19 12: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-07-19 12:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817598464001,"66":13135,"120":206,"28":31744,"24":0,"16":7112113654857728,"45":1738389486794962944},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817598464001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:22:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:22:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7112113654857728,"km_value":7112113654857.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794962944,"description":"Unknown IO ID 45"} 
[2026-07-19 12:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817598464001,"power":13135,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794962944}} 
[2026-07-19 12:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":136574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:22:58] local.INFO: GPS data processed {"connection_id":136574,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:22:58] local.INFO: Acknowledgment sent {"connection_id":136574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:23:09] local.INFO: TCP Data received {"connection_id":136434,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:23:09] local.INFO: Processing buffer {"connection_id":136434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79214b88012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:23:09] local.INFO: Packet analysis {"connection_id":136434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:23:09] local.INFO: Extracted packet for processing {"connection_id":136434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7921"} 
[2026-07-19 12:23:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817498112001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:23: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-07-19 12:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784443653000,"timestamp_ms":1784443653000,"timestamp_seconds":1784443653,"priority":1,"record_length":96,"hex_timestamp":"0000019f79214b88"} 
[2026-07-19 12:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817498112001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817498112001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:23:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:23:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817498112001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":136434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:23:09] local.INFO: GPS data processed {"connection_id":136434,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:23:09] local.INFO: Acknowledgment sent {"connection_id":136434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:23:29] local.INFO: TCP Data received {"connection_id":136574,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79235310012d1820000721aff8004b014e27..."} 
[2026-07-19 12:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79235310012d1820000721aff8004b014e27..."} 
[2026-07-19 12:23:29] local.INFO: Processing buffer {"connection_id":136574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79235310012d1820000721aff8004b014e27..."} 
[2026-07-19 12:23:29] local.INFO: Packet analysis {"connection_id":136574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7923"} 
[2026-07-19 12:23:29] local.INFO: Extracted packet for processing {"connection_id":136574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7923"} 
[2026-07-19 12:23:29] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648248,"longitude_deg":75.6555776,"latitude_deg":11.9648248,"altitude":75,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817603840001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7112113654857728,"note":"Value kept but may cause issues"} 
[2026-07-19 12:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794962944,"note":"Value kept but may cause issues"} 
[2026-07-19 12:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784443786000,"timestamp_ms":1784443786000,"timestamp_seconds":1784443786,"priority":1,"record_length":96,"hex_timestamp":"0000019f79235310"} 
[2026-07-19 12:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-19 12:23:29] 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-07-19 12: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-07-19 12:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":136574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":136574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":136574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817603840001,"66":13102,"120":206,"28":31744,"24":0,"16":7112113654857728,"45":1738389486794962944},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817603840001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:23:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:23:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7112113654857728,"km_value":7112113654857.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794962944,"description":"Unknown IO ID 45"} 
[2026-07-19 12:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817603840001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794962944}} 
[2026-07-19 12:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":136574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:23:29] local.INFO: GPS data processed {"connection_id":136574,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:23:29] local.INFO: Acknowledgment sent {"connection_id":136574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:23:31] local.INFO: TCP Data received {"connection_id":136576,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:23:31] local.INFO: Processing buffer {"connection_id":136576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:23:31] local.INFO: IMEI packet received {"connection_id":136576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":136576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:23:36] local.INFO: TCP Data received {"connection_id":136576,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:23:36] local.INFO: Processing buffer {"connection_id":136576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:23:36] local.INFO: IMEI packet received {"connection_id":136576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":136576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:23:37] local.INFO: TCP Data received {"connection_id":136576,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:23:37] local.INFO: Processing buffer {"connection_id":136576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:23:37] local.INFO: Packet analysis {"connection_id":136576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7925"} 
[2026-07-19 12:23:37] local.INFO: Extracted packet for processing {"connection_id":136576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7925"} 
[2026-07-19 12:23:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817575168001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:23: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-07-19 12:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784443954000,"timestamp_ms":1784443954000,"timestamp_seconds":1784443954,"priority":1,"record_length":96,"hex_timestamp":"0000019f7925e350"} 
[2026-07-19 12:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:23: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-07-19 12: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-07-19 12:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817575168001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817575168001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:23:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:23:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817575168001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":136576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:23:37] local.INFO: GPS data processed {"connection_id":136576,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:23:37] local.INFO: Acknowledgment sent {"connection_id":136576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:23:42] local.INFO: TCP Data received {"connection_id":136575,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:23:42] local.INFO: Processing buffer {"connection_id":136575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:23:42] local.INFO: IMEI packet received {"connection_id":136575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 12:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":136575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:23:51] local.INFO: TCP Data received {"connection_id":137512,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:23:51] local.INFO: Processing buffer {"connection_id":137512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:23:51] local.INFO: IMEI packet received {"connection_id":137512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":137512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:23:55] local.INFO: TCP Data received {"connection_id":137512,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:23:55] local.INFO: Processing buffer {"connection_id":137512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:23:55] local.INFO: IMEI packet received {"connection_id":137512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":137512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:23:57] local.INFO: TCP Data received {"connection_id":137512,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7923a518012d1820000721aff8004b014e27..."} 
[2026-07-19 12:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7923a518012d1820000721aff8004b014e27..."} 
[2026-07-19 12:23:57] local.INFO: Processing buffer {"connection_id":137512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7923a518012d1820000721aff8004b014e27..."} 
[2026-07-19 12:23:57] local.INFO: Packet analysis {"connection_id":137512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7923"} 
[2026-07-19 12:23:57] local.INFO: Extracted packet for processing {"connection_id":137512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7923"} 
[2026-07-19 12:23:57] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648248,"longitude_deg":75.6555776,"latitude_deg":11.9648248,"altitude":75,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817609216001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7112113654857728,"note":"Value kept but may cause issues"} 
[2026-07-19 12:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794962944,"note":"Value kept but may cause issues"} 
[2026-07-19 12:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784443807000,"timestamp_ms":1784443807000,"timestamp_seconds":1784443807,"priority":1,"record_length":96,"hex_timestamp":"0000019f7923a518"} 
[2026-07-19 12:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 12:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817609216001,"66":13091,"120":206,"28":31744,"24":0,"16":7112113654857728,"45":1738389486794962944},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817609216001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:23:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:23:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7112113654857728,"km_value":7112113654857.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794962944,"description":"Unknown IO ID 45"} 
[2026-07-19 12:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817609216001,"power":13091,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794962944}} 
[2026-07-19 12:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":137512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:23:57] local.INFO: GPS data processed {"connection_id":137512,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:23:57] local.INFO: Acknowledgment sent {"connection_id":137512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:24:09] local.INFO: TCP Data received {"connection_id":136576,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:24:09] local.INFO: Processing buffer {"connection_id":136576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:24:09] local.INFO: Packet analysis {"connection_id":136576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7925"} 
[2026-07-19 12:24:09] local.INFO: Extracted packet for processing {"connection_id":136576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7925"} 
[2026-07-19 12:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817575168001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:24: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-07-19 12:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784443954000,"timestamp_ms":1784443954000,"timestamp_seconds":1784443954,"priority":1,"record_length":96,"hex_timestamp":"0000019f7925e350"} 
[2026-07-19 12:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:24: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-07-19 12: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-07-19 12:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817575168001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817575168001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:24:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:24:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817575168001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":136576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:24:09] local.INFO: GPS data processed {"connection_id":136576,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:24:09] local.INFO: Acknowledgment sent {"connection_id":136576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:24:26] local.INFO: TCP Data received {"connection_id":137513,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:24:26] local.INFO: Processing buffer {"connection_id":137513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:24:26] local.INFO: IMEI packet received {"connection_id":137513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 12:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":137513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:24:29] local.INFO: TCP Data received {"connection_id":137512,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7923f720012d1820000721aff8004b014e29..."} 
[2026-07-19 12:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7923f720012d1820000721aff8004b014e29..."} 
[2026-07-19 12:24:29] local.INFO: Processing buffer {"connection_id":137512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7923f720012d1820000721aff8004b014e29..."} 
[2026-07-19 12:24:29] local.INFO: Packet analysis {"connection_id":137512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7923"} 
[2026-07-19 12:24:29] local.INFO: Extracted packet for processing {"connection_id":137512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7923"} 
[2026-07-19 12:24:29] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648248,"longitude_deg":75.6555776,"latitude_deg":11.9648248,"altitude":75,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-07-19 12:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817614592001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7112113654857728,"note":"Value kept but may cause issues"} 
[2026-07-19 12:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794962944,"note":"Value kept but may cause issues"} 
[2026-07-19 12:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784443828000,"timestamp_ms":1784443828000,"timestamp_seconds":1784443828,"priority":1,"record_length":96,"hex_timestamp":"0000019f7923f720"} 
[2026-07-19 12:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-19 12:24:29] 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-07-19 12:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":137512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":137512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":137512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817614592001,"66":13004,"120":206,"28":31744,"24":0,"16":7112113654857728,"45":1738389486794962944},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817614592001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:24:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:24:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7112113654857728,"km_value":7112113654857.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794962944,"description":"Unknown IO ID 45"} 
[2026-07-19 12:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817614592001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794962944}} 
[2026-07-19 12:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":137512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:24:29] local.INFO: GPS data processed {"connection_id":137512,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:24:29] local.INFO: Acknowledgment sent {"connection_id":137512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:24:31] local.INFO: TCP Data received {"connection_id":138927,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:24:31] local.INFO: Processing buffer {"connection_id":138927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:24:31] local.INFO: IMEI packet received {"connection_id":138927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":138927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:24:36] local.INFO: TCP Data received {"connection_id":138927,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:24:36] local.INFO: Processing buffer {"connection_id":138927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:24:36] local.INFO: IMEI packet received {"connection_id":138927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":138927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:24:37] local.INFO: TCP Data received {"connection_id":138927,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:24:37] local.INFO: Processing buffer {"connection_id":138927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:24:37] local.INFO: Packet analysis {"connection_id":138927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7925"} 
[2026-07-19 12:24:37] local.INFO: Extracted packet for processing {"connection_id":138927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7925"} 
[2026-07-19 12:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817575168001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:24: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-07-19 12:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784443954000,"timestamp_ms":1784443954000,"timestamp_seconds":1784443954,"priority":1,"record_length":96,"hex_timestamp":"0000019f7925e350"} 
[2026-07-19 12:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:24: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-07-19 12:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817575168001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817575168001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:24:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817575168001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":138927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:24:37] local.INFO: GPS data processed {"connection_id":138927,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:24:37] local.INFO: Acknowledgment sent {"connection_id":138927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:24:51] local.INFO: TCP Data received {"connection_id":138928,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:24:51] local.INFO: Processing buffer {"connection_id":138928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:24:51] local.INFO: IMEI packet received {"connection_id":138928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":138928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:24:57] local.INFO: TCP Data received {"connection_id":138928,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:24:57] local.INFO: Processing buffer {"connection_id":138928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:24:57] local.INFO: IMEI packet received {"connection_id":138928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":138928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:24:58] local.INFO: TCP Data received {"connection_id":138928,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79244928012d1820000721aff8004b014e29..."} 
[2026-07-19 12:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79244928012d1820000721aff8004b014e29..."} 
[2026-07-19 12:24:58] local.INFO: Processing buffer {"connection_id":138928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79244928012d1820000721aff8004b014e29..."} 
[2026-07-19 12:24:58] local.INFO: Packet analysis {"connection_id":138928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7924"} 
[2026-07-19 12:24:58] local.INFO: Extracted packet for processing {"connection_id":138928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7924"} 
[2026-07-19 12:24:58] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648248,"longitude_deg":75.6555776,"latitude_deg":11.9648248,"altitude":75,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817619968001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7112113654857728,"note":"Value kept but may cause issues"} 
[2026-07-19 12:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794962944,"note":"Value kept but may cause issues"} 
[2026-07-19 12:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784443849000,"timestamp_ms":1784443849000,"timestamp_seconds":1784443849,"priority":1,"record_length":96,"hex_timestamp":"0000019f79244928"} 
[2026-07-19 12:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:24:58] 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-07-19 12: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-19 12:24:58] 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-07-19 12: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-07-19 12:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":138928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":138928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":138928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817619968001,"66":13015,"120":206,"28":31744,"24":0,"16":7112113654857728,"45":1738389486794962944},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817619968001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:24:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:24:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7112113654857728,"km_value":7112113654857.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794962944,"description":"Unknown IO ID 45"} 
[2026-07-19 12:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817619968001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794962944}} 
[2026-07-19 12:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":138928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:24:58] local.INFO: GPS data processed {"connection_id":138928,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:24:58] local.INFO: Acknowledgment sent {"connection_id":138928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:25:08] local.INFO: TCP Data received {"connection_id":138927,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:25:08] local.INFO: Processing buffer {"connection_id":138927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:25:08] local.INFO: Packet analysis {"connection_id":138927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7925"} 
[2026-07-19 12:25:08] local.INFO: Extracted packet for processing {"connection_id":138927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7925"} 
[2026-07-19 12:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 12:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817575168001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12: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-07-19 12:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784443954000,"timestamp_ms":1784443954000,"timestamp_seconds":1784443954,"priority":1,"record_length":96,"hex_timestamp":"0000019f7925e350"} 
[2026-07-19 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-07-19 12:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 12:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":138927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":138927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":138927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:25: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-07-19 12:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817575168001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817575168001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:25:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:25:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817575168001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":138927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:25:08] local.INFO: GPS data processed {"connection_id":138927,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:25:08] local.INFO: Acknowledgment sent {"connection_id":138927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:25:29] local.INFO: TCP Data received {"connection_id":138928,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79249b30012d1820000721aff8004b014e29..."} 
[2026-07-19 12:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79249b30012d1820000721aff8004b014e29..."} 
[2026-07-19 12:25:29] local.INFO: Processing buffer {"connection_id":138928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79249b30012d1820000721aff8004b014e29..."} 
[2026-07-19 12:25:29] local.INFO: Packet analysis {"connection_id":138928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7924"} 
[2026-07-19 12:25:29] local.INFO: Extracted packet for processing {"connection_id":138928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7924"} 
[2026-07-19 12:25:29] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648248,"longitude_deg":75.6555776,"latitude_deg":11.9648248,"altitude":75,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-07-19 12:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817625344001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7112113654857728,"note":"Value kept but may cause issues"} 
[2026-07-19 12:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794962944,"note":"Value kept but may cause issues"} 
[2026-07-19 12:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784443870000,"timestamp_ms":1784443870000,"timestamp_seconds":1784443870,"priority":1,"record_length":96,"hex_timestamp":"0000019f79249b30"} 
[2026-07-19 12:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-19 12:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":138928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":138928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":138928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817625344001,"66":12972,"120":206,"28":31744,"24":0,"16":7112113654857728,"45":1738389486794962944},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817625344001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:25:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:25:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7112113654857728,"km_value":7112113654857.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794962944,"description":"Unknown IO ID 45"} 
[2026-07-19 12:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817625344001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794962944}} 
[2026-07-19 12:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":138928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:25:29] local.INFO: GPS data processed {"connection_id":138928,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:25:29] local.INFO: Acknowledgment sent {"connection_id":138928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:25:31] local.INFO: TCP Data received {"connection_id":138929,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:25:31] local.INFO: Processing buffer {"connection_id":138929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:25:31] local.INFO: IMEI packet received {"connection_id":138929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":138929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:25:36] local.INFO: TCP Data received {"connection_id":138929,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:25:36] local.INFO: Processing buffer {"connection_id":138929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:25:36] local.INFO: IMEI packet received {"connection_id":138929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":138929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:25:37] local.INFO: TCP Data received {"connection_id":138929,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:25:37] local.INFO: Processing buffer {"connection_id":138929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:25:37] local.INFO: Packet analysis {"connection_id":138929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7925"} 
[2026-07-19 12:25:37] local.INFO: Extracted packet for processing {"connection_id":138929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7925"} 
[2026-07-19 12:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817575168001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:25: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-07-19 12:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784443954000,"timestamp_ms":1784443954000,"timestamp_seconds":1784443954,"priority":1,"record_length":96,"hex_timestamp":"0000019f7925e350"} 
[2026-07-19 12:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817575168001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817575168001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:25:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817575168001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":138929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:25:37] local.INFO: GPS data processed {"connection_id":138929,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:25:37] local.INFO: Acknowledgment sent {"connection_id":138929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:25:51] local.INFO: TCP Data received {"connection_id":136437,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:25:51] local.INFO: Processing buffer {"connection_id":136437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:25:51] local.INFO: IMEI packet received {"connection_id":136437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":136437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:25:57] local.INFO: TCP Data received {"connection_id":136437,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:25:57] local.INFO: Processing buffer {"connection_id":136437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:25:57] local.INFO: IMEI packet received {"connection_id":136437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":136437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:25:58] local.INFO: TCP Data received {"connection_id":136437,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7924e180012d181ec00721b058004d00cc28..."} 
[2026-07-19 12:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7924e180012d181ec00721b058004d00cc28..."} 
[2026-07-19 12:25:58] local.INFO: Processing buffer {"connection_id":136437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7924e180012d181ec00721b058004d00cc28..."} 
[2026-07-19 12:25:58] local.INFO: Packet analysis {"connection_id":136437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7924"} 
[2026-07-19 12:25:58] local.INFO: Extracted packet for processing {"connection_id":136437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7924"} 
[2026-07-19 12:25:58] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648344,"longitude_deg":75.6555456,"latitude_deg":11.9648344,"altitude":77,"angle":204,"satellites":40,"speed":2,"hex_longitude":"2d181ec0","hex_latitude":"0721b058","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817630720001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7112126539759616,"note":"Value kept but may cause issues"} 
[2026-07-19 12:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794962944,"note":"Value kept but may cause issues"} 
[2026-07-19 12:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784443888000,"timestamp_ms":1784443888000,"timestamp_seconds":1784443888,"priority":1,"record_length":96,"hex_timestamp":"0000019f7924e180"} 
[2026-07-19 12:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:25:58] 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-07-19 12: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-19 12:25:58] 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-07-19 12: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-07-19 12:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817630720001,"66":12993,"120":206,"28":31744,"24":2,"16":7112126539759616,"45":1738389486794962944},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817630720001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:25:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:25:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7112126539759616,"km_value":7112126539759.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794962944,"description":"Unknown IO ID 45"} 
[2026-07-19 12:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817630720001,"power":12993,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1738389486794962944}} 
[2026-07-19 12:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":136437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:25:58] local.INFO: GPS data processed {"connection_id":136437,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:25:58] local.INFO: Acknowledgment sent {"connection_id":136437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:26:09] local.INFO: TCP Data received {"connection_id":138929,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:26:09] local.INFO: Processing buffer {"connection_id":138929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:26:09] local.INFO: Packet analysis {"connection_id":138929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7925"} 
[2026-07-19 12:26:09] local.INFO: Extracted packet for processing {"connection_id":138929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7925"} 
[2026-07-19 12:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817575168001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12: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-07-19 12:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784443954000,"timestamp_ms":1784443954000,"timestamp_seconds":1784443954,"priority":1,"record_length":96,"hex_timestamp":"0000019f7925e350"} 
[2026-07-19 12:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:26: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-07-19 12: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-07-19 12:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817575168001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817575168001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817575168001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":138929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:26:09] local.INFO: GPS data processed {"connection_id":138929,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:26:09] local.INFO: Acknowledgment sent {"connection_id":138929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:26:29] local.INFO: TCP Data received {"connection_id":136437,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79282188012d181d000721ada8004d00cf27..."} 
[2026-07-19 12:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79282188012d181d000721ada8004d00cf27..."} 
[2026-07-19 12:26:29] local.INFO: Processing buffer {"connection_id":136437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79282188012d181d000721ada8004d00cf27..."} 
[2026-07-19 12:26:29] local.INFO: Packet analysis {"connection_id":136437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7928"} 
[2026-07-19 12:26:29] local.INFO: Extracted packet for processing {"connection_id":136437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7928"} 
[2026-07-19 12:26:29] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647656,"longitude_deg":75.6555008,"latitude_deg":11.9647656,"altitude":77,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817684480001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7112173784399872,"note":"Value kept but may cause issues"} 
[2026-07-19 12:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864679424,"note":"Value kept but may cause issues"} 
[2026-07-19 12:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784444101000,"timestamp_ms":1784444101000,"timestamp_seconds":1784444101,"priority":1,"record_length":96,"hex_timestamp":"0000019f79282188"} 
[2026-07-19 12:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-19 12:26:29] 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-07-19 12: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-07-19 12:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":136437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":136437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":136437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817684480001,"66":12765,"120":206,"28":31744,"24":0,"16":7112173784399872,"45":1737545061864679424},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817684480001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:26:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:26:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7112173784399872,"km_value":7112173784399.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864679424,"description":"Unknown IO ID 45"} 
[2026-07-19 12:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817684480001,"power":12765,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864679424}} 
[2026-07-19 12:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":136437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:26:29] local.INFO: GPS data processed {"connection_id":136437,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:26:29] local.INFO: Acknowledgment sent {"connection_id":136437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:26:36] local.INFO: TCP Data received {"connection_id":137514,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:26:36] local.INFO: Processing buffer {"connection_id":137514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:26:36] local.INFO: IMEI packet received {"connection_id":137514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":137514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:26:41] local.INFO: TCP Data received {"connection_id":137514,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:26:41] local.INFO: Processing buffer {"connection_id":137514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:26:41] local.INFO: IMEI packet received {"connection_id":137514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":137514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:26:42] local.INFO: TCP Data received {"connection_id":137514,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:26:42] local.INFO: Processing buffer {"connection_id":137514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:26:42] local.INFO: Packet analysis {"connection_id":137514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7925"} 
[2026-07-19 12:26:42] local.INFO: Extracted packet for processing {"connection_id":137514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7925"} 
[2026-07-19 12:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817575168001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784443954000,"timestamp_ms":1784443954000,"timestamp_seconds":1784443954,"priority":1,"record_length":96,"hex_timestamp":"0000019f7925e350"} 
[2026-07-19 12:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:26:42] 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-07-19 12: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-07-19 12:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817575168001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817575168001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:26:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:26:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817575168001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":137514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:26:42] local.INFO: GPS data processed {"connection_id":137514,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:26:42] local.INFO: Acknowledgment sent {"connection_id":137514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:26:47] local.INFO: TCP Data received {"connection_id":137514,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:26:47] local.INFO: Processing buffer {"connection_id":137514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:26:47] local.INFO: Packet analysis {"connection_id":137514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7925"} 
[2026-07-19 12:26:47] local.INFO: Extracted packet for processing {"connection_id":137514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7925"} 
[2026-07-19 12:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817575168001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784443954000,"timestamp_ms":1784443954000,"timestamp_seconds":1784443954,"priority":1,"record_length":96,"hex_timestamp":"0000019f7925e350"} 
[2026-07-19 12:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":137514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":137514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":137514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817575168001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817575168001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:26:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:26:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817575168001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":137514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:26:47] local.INFO: GPS data processed {"connection_id":137514,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:26:47] local.INFO: Acknowledgment sent {"connection_id":137514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:26:51] local.INFO: TCP Data received {"connection_id":136578,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:26:51] local.INFO: Processing buffer {"connection_id":136578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:26:51] local.INFO: IMEI packet received {"connection_id":136578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":136578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:26:57] local.INFO: TCP Data received {"connection_id":136578,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:26:57] local.INFO: Processing buffer {"connection_id":136578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:26:57] local.INFO: IMEI packet received {"connection_id":136578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":136578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:26:58] local.INFO: TCP Data received {"connection_id":136578,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79287390012d181d000721ada8004d00cf27..."} 
[2026-07-19 12:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79287390012d181d000721ada8004d00cf27..."} 
[2026-07-19 12:26:58] local.INFO: Processing buffer {"connection_id":136578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79287390012d181d000721ada8004d00cf27..."} 
[2026-07-19 12:26:58] local.INFO: Packet analysis {"connection_id":136578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7928"} 
[2026-07-19 12:26:58] local.INFO: Extracted packet for processing {"connection_id":136578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7928"} 
[2026-07-19 12:26:58] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647656,"longitude_deg":75.6555008,"latitude_deg":11.9647656,"altitude":77,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-07-19 12:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817689856001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7112173784399872,"note":"Value kept but may cause issues"} 
[2026-07-19 12:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864679424,"note":"Value kept but may cause issues"} 
[2026-07-19 12:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784444122000,"timestamp_ms":1784444122000,"timestamp_seconds":1784444122,"priority":1,"record_length":96,"hex_timestamp":"0000019f79287390"} 
[2026-07-19 12:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:26:58] 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-07-19 12: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-19 12:26:58] 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-07-19 12: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-07-19 12:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817689856001,"66":12743,"120":206,"28":31744,"24":0,"16":7112173784399872,"45":1737545061864679424},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817689856001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:26:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:26:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7112173784399872,"km_value":7112173784399.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864679424,"description":"Unknown IO ID 45"} 
[2026-07-19 12:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817689856001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864679424}} 
[2026-07-19 12:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":136578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:26:58] local.INFO: GPS data processed {"connection_id":136578,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:26:58] local.INFO: Acknowledgment sent {"connection_id":136578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:27:29] local.INFO: TCP Data received {"connection_id":136578,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7928c598012d181d000721ada8004d00cf29..."} 
[2026-07-19 12:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7928c598012d181d000721ada8004d00cf29..."} 
[2026-07-19 12:27:29] local.INFO: Processing buffer {"connection_id":136578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7928c598012d181d000721ada8004d00cf29..."} 
[2026-07-19 12:27:29] local.INFO: Packet analysis {"connection_id":136578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7928"} 
[2026-07-19 12:27:29] local.INFO: Extracted packet for processing {"connection_id":136578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7928"} 
[2026-07-19 12:27:29] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647656,"longitude_deg":75.6555008,"latitude_deg":11.9647656,"altitude":77,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817695232001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7112173784399872,"note":"Value kept but may cause issues"} 
[2026-07-19 12:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864679424,"note":"Value kept but may cause issues"} 
[2026-07-19 12:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784444143000,"timestamp_ms":1784444143000,"timestamp_seconds":1784444143,"priority":1,"record_length":96,"hex_timestamp":"0000019f7928c598"} 
[2026-07-19 12:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-19 12:27:29] 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-07-19 12: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-07-19 12:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":136578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":136578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":136578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817695232001,"66":12776,"120":206,"28":31744,"24":0,"16":7112173784399872,"45":1737545061864679424},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817695232001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:27:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:27:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7112173784399872,"km_value":7112173784399.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864679424,"description":"Unknown IO ID 45"} 
[2026-07-19 12:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817695232001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864679424}} 
[2026-07-19 12:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":136578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:27:29] local.INFO: GPS data processed {"connection_id":136578,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:27:29] local.INFO: Acknowledgment sent {"connection_id":136578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:27:31] local.INFO: TCP Data received {"connection_id":136438,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:27:31] local.INFO: Processing buffer {"connection_id":136438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:27:31] local.INFO: IMEI packet received {"connection_id":136438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":136438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:27:36] local.INFO: TCP Data received {"connection_id":136438,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:27:36] local.INFO: Processing buffer {"connection_id":136438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:27:36] local.INFO: IMEI packet received {"connection_id":136438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":136438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:27:38] local.INFO: TCP Data received {"connection_id":136438,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:27:38] local.INFO: Processing buffer {"connection_id":136438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:27:38] local.INFO: Packet analysis {"connection_id":136438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7925"} 
[2026-07-19 12:27:38] local.INFO: Extracted packet for processing {"connection_id":136438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7925"} 
[2026-07-19 12:27:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817575168001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:27: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-07-19 12:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784443954000,"timestamp_ms":1784443954000,"timestamp_seconds":1784443954,"priority":1,"record_length":96,"hex_timestamp":"0000019f7925e350"} 
[2026-07-19 12:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:27:38] 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-07-19 12:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817575168001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817575168001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:27:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:27:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817575168001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":136438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:27:38] local.INFO: GPS data processed {"connection_id":136438,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:27:38] local.INFO: Acknowledgment sent {"connection_id":136438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:27:57] local.INFO: TCP Data received {"connection_id":138930,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:27:57] local.INFO: Processing buffer {"connection_id":138930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:27:57] local.INFO: IMEI packet received {"connection_id":138930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":138930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:28:02] local.INFO: TCP Data received {"connection_id":138930,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:28:02] local.INFO: Processing buffer {"connection_id":138930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:28:02] local.INFO: IMEI packet received {"connection_id":138930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":138930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:28:03] local.INFO: TCP Data received {"connection_id":138930,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f792917a0012d181d000721ada8004d00cf27..."} 
[2026-07-19 12:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792917a0012d181d000721ada8004d00cf27..."} 
[2026-07-19 12:28:03] local.INFO: Processing buffer {"connection_id":138930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792917a0012d181d000721ada8004d00cf27..."} 
[2026-07-19 12:28:03] local.INFO: Packet analysis {"connection_id":138930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7929"} 
[2026-07-19 12:28:03] local.INFO: Extracted packet for processing {"connection_id":138930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7929"} 
[2026-07-19 12:28:03] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647656,"longitude_deg":75.6555008,"latitude_deg":11.9647656,"altitude":77,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817700608001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7112173784399872,"note":"Value kept but may cause issues"} 
[2026-07-19 12:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864679424,"note":"Value kept but may cause issues"} 
[2026-07-19 12:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784444164000,"timestamp_ms":1784444164000,"timestamp_seconds":1784444164,"priority":1,"record_length":96,"hex_timestamp":"0000019f792917a0"} 
[2026-07-19 12:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-19 12:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":138930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":138930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":138930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817700608001,"66":12765,"120":206,"28":31744,"24":0,"16":7112173784399872,"45":1737545061864679424},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817700608001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:28:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:28:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7112173784399872,"km_value":7112173784399.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864679424,"description":"Unknown IO ID 45"} 
[2026-07-19 12:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817700608001,"power":12765,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864679424}} 
[2026-07-19 12:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":138930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:28:03] local.INFO: GPS data processed {"connection_id":138930,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:28:03] local.INFO: Acknowledgment sent {"connection_id":138930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:28:08] local.INFO: TCP Data received {"connection_id":138930,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f792969a8012d181d000721ada8004d00cf29..."} 
[2026-07-19 12:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792969a8012d181d000721ada8004d00cf29..."} 
[2026-07-19 12:28:08] local.INFO: Processing buffer {"connection_id":138930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792969a8012d181d000721ada8004d00cf29..."} 
[2026-07-19 12:28:08] local.INFO: Packet analysis {"connection_id":138930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7929"} 
[2026-07-19 12:28:08] local.INFO: Extracted packet for processing {"connection_id":138930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7929"} 
[2026-07-19 12:28:08] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647656,"longitude_deg":75.6555008,"latitude_deg":11.9647656,"altitude":77,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817705984001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7112173784399872,"note":"Value kept but may cause issues"} 
[2026-07-19 12:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864679424,"note":"Value kept but may cause issues"} 
[2026-07-19 12:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784444185000,"timestamp_ms":1784444185000,"timestamp_seconds":1784444185,"priority":1,"record_length":96,"hex_timestamp":"0000019f792969a8"} 
[2026-07-19 12:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-19 12:28:08] 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-07-19 12: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-07-19 12:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":138930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":138930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":138930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817705984001,"66":12743,"120":206,"28":31744,"24":0,"16":7112173784399872,"45":1737545061864679424},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817705984001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:28:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:28:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7112173784399872,"km_value":7112173784399.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864679424,"description":"Unknown IO ID 45"} 
[2026-07-19 12:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817705984001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864679424}} 
[2026-07-19 12:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":138930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:28:08] local.INFO: GPS data processed {"connection_id":138930,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:28:08] local.INFO: Acknowledgment sent {"connection_id":138930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:28:09] local.INFO: TCP Data received {"connection_id":136438,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:28:09] local.INFO: Processing buffer {"connection_id":136438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7925e350012d34c50006aa4dd80008009528..."} 
[2026-07-19 12:28:09] local.INFO: Packet analysis {"connection_id":136438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7925"} 
[2026-07-19 12:28:09] local.INFO: Extracted packet for processing {"connection_id":136438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7925"} 
[2026-07-19 12:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817575168001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:28: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-07-19 12:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784443954000,"timestamp_ms":1784443954000,"timestamp_seconds":1784443954,"priority":1,"record_length":96,"hex_timestamp":"0000019f7925e350"} 
[2026-07-19 12:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:28: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-07-19 12:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:28:09] 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-07-19 12:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817575168001,"66":25560,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817575168001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:28:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:28:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817575168001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":136438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:28:09] local.INFO: GPS data processed {"connection_id":136438,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:28:09] local.INFO: Acknowledgment sent {"connection_id":136438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:28:31] local.INFO: TCP Data received {"connection_id":136580,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:28:31] local.INFO: Processing buffer {"connection_id":136580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:28:31] local.INFO: IMEI packet received {"connection_id":136580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":136580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:28:36] local.INFO: TCP Data received {"connection_id":136580,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:28:36] local.INFO: Processing buffer {"connection_id":136580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:28:36] local.INFO: IMEI packet received {"connection_id":136580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":136580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:28:37] local.INFO: TCP Data received {"connection_id":136580,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:28:37] local.INFO: Processing buffer {"connection_id":136580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:28:37] local.INFO: Packet analysis {"connection_id":136580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:28:37] local.INFO: Extracted packet for processing {"connection_id":136580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817652224001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:28: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-07-19 12:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784444255000,"timestamp_ms":1784444255000,"timestamp_seconds":1784444255,"priority":1,"record_length":96,"hex_timestamp":"0000019f792a7b18"} 
[2026-07-19 12:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817652224001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817652224001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:28:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817652224001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":136580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:28:37] local.INFO: GPS data processed {"connection_id":136580,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:28:37] local.INFO: Acknowledgment sent {"connection_id":136580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:28:48] local.INFO: TCP Data received {"connection_id":137515,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:28:48] local.INFO: Processing buffer {"connection_id":137515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:28:48] local.INFO: IMEI packet received {"connection_id":137515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":137515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:28:51] local.INFO: TCP Data received {"connection_id":137515,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:28:51] local.INFO: Processing buffer {"connection_id":137515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:28:51] local.INFO: IMEI packet received {"connection_id":137515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":137515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:28:56] local.INFO: TCP Data received {"connection_id":137515,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:28:56] local.INFO: Processing buffer {"connection_id":137515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:28:56] local.INFO: IMEI packet received {"connection_id":137515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":137515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:28:57] local.INFO: TCP Data received {"connection_id":137515,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7929bbb0012d181d000721ada8004d00cf29..."} 
[2026-07-19 12:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7929bbb0012d181d000721ada8004d00cf29..."} 
[2026-07-19 12:28:57] local.INFO: Processing buffer {"connection_id":137515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7929bbb0012d181d000721ada8004d00cf29..."} 
[2026-07-19 12:28:57] local.INFO: Packet analysis {"connection_id":137515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7929"} 
[2026-07-19 12:28:57] local.INFO: Extracted packet for processing {"connection_id":137515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7929"} 
[2026-07-19 12:28:57] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647656,"longitude_deg":75.6555008,"latitude_deg":11.9647656,"altitude":77,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817711360001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7112173784399872,"note":"Value kept but may cause issues"} 
[2026-07-19 12:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864679424,"note":"Value kept but may cause issues"} 
[2026-07-19 12:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784444206000,"timestamp_ms":1784444206000,"timestamp_seconds":1784444206,"priority":1,"record_length":96,"hex_timestamp":"0000019f7929bbb0"} 
[2026-07-19 12:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-19 12:28:57] 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-07-19 12: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-07-19 12:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817711360001,"66":12722,"120":206,"28":31744,"24":0,"16":7112173784399872,"45":1737545061864679424},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817711360001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:28:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:28:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7112173784399872,"km_value":7112173784399.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864679424,"description":"Unknown IO ID 45"} 
[2026-07-19 12:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817711360001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864679424}} 
[2026-07-19 12:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":137515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:28:57] local.INFO: GPS data processed {"connection_id":137515,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:28:57] local.INFO: Acknowledgment sent {"connection_id":137515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:29:09] local.INFO: TCP Data received {"connection_id":136580,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:29:09] local.INFO: Processing buffer {"connection_id":136580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:29:09] local.INFO: Packet analysis {"connection_id":136580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:29:09] local.INFO: Extracted packet for processing {"connection_id":136580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817652224001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:29: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-07-19 12:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784444255000,"timestamp_ms":1784444255000,"timestamp_seconds":1784444255,"priority":1,"record_length":96,"hex_timestamp":"0000019f792a7b18"} 
[2026-07-19 12:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:29:09] 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-07-19 12:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817652224001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817652224001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:29:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:29:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817652224001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":136580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:29:09] local.INFO: GPS data processed {"connection_id":136580,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:29:09] local.INFO: Acknowledgment sent {"connection_id":136580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:29:29] local.INFO: TCP Data received {"connection_id":137515,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f792a0db8012d181d000721ada8004d00cf2a..."} 
[2026-07-19 12:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792a0db8012d181d000721ada8004d00cf2a..."} 
[2026-07-19 12:29:29] local.INFO: Processing buffer {"connection_id":137515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792a0db8012d181d000721ada8004d00cf2a..."} 
[2026-07-19 12:29:29] local.INFO: Packet analysis {"connection_id":137515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:29:29] local.INFO: Extracted packet for processing {"connection_id":137515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:29:29] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647656,"longitude_deg":75.6555008,"latitude_deg":11.9647656,"altitude":77,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-07-19 12:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817716736001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7112173784399872,"note":"Value kept but may cause issues"} 
[2026-07-19 12:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864679424,"note":"Value kept but may cause issues"} 
[2026-07-19 12:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784444227000,"timestamp_ms":1784444227000,"timestamp_seconds":1784444227,"priority":1,"record_length":96,"hex_timestamp":"0000019f792a0db8"} 
[2026-07-19 12:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-19 12:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":137515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":137515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":137515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817716736001,"66":12722,"120":206,"28":31744,"24":0,"16":7112173784399872,"45":1737545061864679424},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817716736001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:29:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:29:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7112173784399872,"km_value":7112173784399.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864679424,"description":"Unknown IO ID 45"} 
[2026-07-19 12:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817716736001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864679424}} 
[2026-07-19 12:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":137515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:29:29] local.INFO: GPS data processed {"connection_id":137515,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:29:29] local.INFO: Acknowledgment sent {"connection_id":137515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:29:31] local.INFO: TCP Data received {"connection_id":136440,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:29:31] local.INFO: Processing buffer {"connection_id":136440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:29:31] local.INFO: IMEI packet received {"connection_id":136440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":136440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:29:36] local.INFO: TCP Data received {"connection_id":136440,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:29:36] local.INFO: Processing buffer {"connection_id":136440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:29:36] local.INFO: IMEI packet received {"connection_id":136440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":136440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:29:37] local.INFO: TCP Data received {"connection_id":136440,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:29:37] local.INFO: Processing buffer {"connection_id":136440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:29:37] local.INFO: Packet analysis {"connection_id":136440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:29:37] local.INFO: Extracted packet for processing {"connection_id":136440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:29:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817652224001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:29: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-07-19 12:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784444255000,"timestamp_ms":1784444255000,"timestamp_seconds":1784444255,"priority":1,"record_length":96,"hex_timestamp":"0000019f792a7b18"} 
[2026-07-19 12:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817652224001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817652224001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:29:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:29:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817652224001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":136440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:29:37] local.INFO: GPS data processed {"connection_id":136440,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:29:37] local.INFO: Acknowledgment sent {"connection_id":136440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:29:51] local.INFO: TCP Data received {"connection_id":137516,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:29:51] local.INFO: Processing buffer {"connection_id":137516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:29:51] local.INFO: IMEI packet received {"connection_id":137516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 12:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":137516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:29:51] local.INFO: TCP Data received {"connection_id":136581,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:29:51] local.INFO: Processing buffer {"connection_id":136581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:29:51] local.INFO: IMEI packet received {"connection_id":136581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":136581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:29:53] local.INFO: TCP Data received {"connection_id":136581,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:29:53] local.INFO: Processing buffer {"connection_id":136581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:29:53] local.INFO: IMEI packet received {"connection_id":136581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":136581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:29:55] local.INFO: TCP Data received {"connection_id":136581,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f792a5fc0012d181d000721ada8004d00cf29..."} 
[2026-07-19 12:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792a5fc0012d181d000721ada8004d00cf29..."} 
[2026-07-19 12:29:55] local.INFO: Processing buffer {"connection_id":136581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792a5fc0012d181d000721ada8004d00cf29..."} 
[2026-07-19 12:29:55] local.INFO: Packet analysis {"connection_id":136581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:29:55] local.INFO: Extracted packet for processing {"connection_id":136581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:29:55] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647656,"longitude_deg":75.6555008,"latitude_deg":11.9647656,"altitude":77,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817722112001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7112173784399872,"note":"Value kept but may cause issues"} 
[2026-07-19 12:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864679424,"note":"Value kept but may cause issues"} 
[2026-07-19 12:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784444248000,"timestamp_ms":1784444248000,"timestamp_seconds":1784444248,"priority":1,"record_length":96,"hex_timestamp":"0000019f792a5fc0"} 
[2026-07-19 12:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":178,"data_length":795,"current_offset":136} 
[2026-07-19 12:29: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-07-19 12: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-07-19 12:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":136581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":136581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":136581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817722112001,"66":12645,"120":206,"28":31744,"24":0,"16":7112173784399872,"45":1737545061864679424},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817722112001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:29:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:29:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7112173784399872,"km_value":7112173784399.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864679424,"description":"Unknown IO ID 45"} 
[2026-07-19 12:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817722112001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864679424}} 
[2026-07-19 12:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":136581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:29:55] local.INFO: GPS data processed {"connection_id":136581,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:29:55] local.INFO: Acknowledgment sent {"connection_id":136581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:30:09] local.INFO: TCP Data received {"connection_id":136440,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:30:09] local.INFO: Processing buffer {"connection_id":136440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:30:09] local.INFO: Packet analysis {"connection_id":136440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:30:09] local.INFO: Extracted packet for processing {"connection_id":136440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817652224001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12: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-07-19 12:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784444255000,"timestamp_ms":1784444255000,"timestamp_seconds":1784444255,"priority":1,"record_length":96,"hex_timestamp":"0000019f792a7b18"} 
[2026-07-19 12:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:30:09] 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-07-19 12:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817652224001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817652224001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:30:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:30:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817652224001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":136440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:30:09] local.INFO: GPS data processed {"connection_id":136440,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:30:09] local.INFO: Acknowledgment sent {"connection_id":136440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:30:26] local.INFO: TCP Data received {"connection_id":136581,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f792c6360012d18ad8007217118004a008628..."} 
[2026-07-19 12:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792c6360012d18ad8007217118004a008628..."} 
[2026-07-19 12:30:26] local.INFO: Processing buffer {"connection_id":136581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792c6360012d18ad8007217118004a008628..."} 
[2026-07-19 12:30:26] local.INFO: Packet analysis {"connection_id":136581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f792c"} 
[2026-07-19 12:30:26] local.INFO: Extracted packet for processing {"connection_id":136581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f792c"} 
[2026-07-19 12:30:26] local.INFO: GPS Element Parsed {"raw_longitude":756592000,"raw_latitude":119632152,"longitude_deg":75.6592,"latitude_deg":11.9632152,"altitude":74,"angle":134,"satellites":40,"speed":29,"hex_longitude":"2d18ad80","hex_latitude":"07217118","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817758464001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7114149469356032,"note":"Value kept but may cause issues"} 
[2026-07-19 12:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768788784276551680,"note":"Value kept but may cause issues"} 
[2026-07-19 12:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784444380000,"timestamp_ms":1784444380000,"timestamp_seconds":1784444380,"priority":1,"record_length":96,"hex_timestamp":"0000019f792c6360"} 
[2026-07-19 12:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-19 12:30: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-07-19 12: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-07-19 12:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":136581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":136581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":136581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817758464001,"66":14483,"121":206,"28":31744,"24":29,"16":7114149469356032,"45":1768788784276551680},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 12:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817758464001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:30:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 12:30:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7114149469356032,"km_value":7114149469356.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768788784276551680,"description":"Unknown IO ID 45"} 
[2026-07-19 12:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817758464001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1768788784276551680}} 
[2026-07-19 12:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":136581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:30:26] local.INFO: GPS data processed {"connection_id":136581,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:30:26] local.INFO: Acknowledgment sent {"connection_id":136581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:30:31] local.INFO: TCP Data received {"connection_id":136442,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:30:31] local.INFO: Processing buffer {"connection_id":136442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:30:31] local.INFO: IMEI packet received {"connection_id":136442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":136442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:30:32] local.INFO: TCP Data received {"connection_id":136441,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:30:32] local.INFO: Processing buffer {"connection_id":136441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:30:32] local.INFO: IMEI packet received {"connection_id":136441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 12:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":136441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:30:36] local.INFO: TCP Data received {"connection_id":136442,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:30:36] local.INFO: Processing buffer {"connection_id":136442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:30:36] local.INFO: IMEI packet received {"connection_id":136442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":136442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:30:37] local.INFO: TCP Data received {"connection_id":136442,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:30:37] local.INFO: Processing buffer {"connection_id":136442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:30:37] local.INFO: Packet analysis {"connection_id":136442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:30:37] local.INFO: Extracted packet for processing {"connection_id":136442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817652224001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:30: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-07-19 12:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784444255000,"timestamp_ms":1784444255000,"timestamp_seconds":1784444255,"priority":1,"record_length":96,"hex_timestamp":"0000019f792a7b18"} 
[2026-07-19 12:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817652224001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817652224001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:30:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817652224001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":136442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:30:37] local.INFO: GPS data processed {"connection_id":136442,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:30:37] local.INFO: Acknowledgment sent {"connection_id":136442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:30:50] local.INFO: TCP Data received {"connection_id":136582,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:30:50] local.INFO: Processing buffer {"connection_id":136582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:30:50] local.INFO: IMEI packet received {"connection_id":136582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":136582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:30:51] local.INFO: TCP Data received {"connection_id":136582,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:30:51] local.INFO: Processing buffer {"connection_id":136582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:30:51] local.INFO: IMEI packet received {"connection_id":136582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":136582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:30:51] local.INFO: TCP Data received {"connection_id":136582,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:30:51] local.INFO: Processing buffer {"connection_id":136582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:30:51] local.INFO: IMEI packet received {"connection_id":136582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":136582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:30:54] local.INFO: TCP Data received {"connection_id":136582,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:30:54] local.INFO: Processing buffer {"connection_id":136582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:30:54] local.INFO: IMEI packet received {"connection_id":136582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":136582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:31:09] local.INFO: TCP Data received {"connection_id":136442,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:31:09] local.INFO: Processing buffer {"connection_id":136442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:31:09] local.INFO: Packet analysis {"connection_id":136442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:31:09] local.INFO: Extracted packet for processing {"connection_id":136442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817652224001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:31: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-07-19 12:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784444255000,"timestamp_ms":1784444255000,"timestamp_seconds":1784444255,"priority":1,"record_length":96,"hex_timestamp":"0000019f792a7b18"} 
[2026-07-19 12:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:31:09] 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-07-19 12:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817652224001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817652224001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817652224001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":136442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:31:09] local.INFO: GPS data processed {"connection_id":136442,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:31:09] local.INFO: Acknowledgment sent {"connection_id":136442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:31:36] local.INFO: TCP Data received {"connection_id":138931,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:31:36] local.INFO: Processing buffer {"connection_id":138931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:31:36] local.INFO: IMEI packet received {"connection_id":138931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":138931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:31:41] local.INFO: TCP Data received {"connection_id":138931,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:31:41] local.INFO: Processing buffer {"connection_id":138931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:31:41] local.INFO: IMEI packet received {"connection_id":138931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":138931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:31:42] local.INFO: TCP Data received {"connection_id":138931,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:31:42] local.INFO: Processing buffer {"connection_id":138931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:31:42] local.INFO: Packet analysis {"connection_id":138931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:31:42] local.INFO: Extracted packet for processing {"connection_id":138931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:31:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817652224001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784444255000,"timestamp_ms":1784444255000,"timestamp_seconds":1784444255,"priority":1,"record_length":96,"hex_timestamp":"0000019f792a7b18"} 
[2026-07-19 12:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":138931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":138931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":138931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817652224001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817652224001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:31:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:31:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817652224001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":138931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:31:42] local.INFO: GPS data processed {"connection_id":138931,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:31:42] local.INFO: Acknowledgment sent {"connection_id":138931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:31:47] local.INFO: TCP Data received {"connection_id":138931,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:31:47] local.INFO: Processing buffer {"connection_id":138931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:31:47] local.INFO: Packet analysis {"connection_id":138931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:31:47] local.INFO: Extracted packet for processing {"connection_id":138931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:31:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817652224001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784444255000,"timestamp_ms":1784444255000,"timestamp_seconds":1784444255,"priority":1,"record_length":96,"hex_timestamp":"0000019f792a7b18"} 
[2026-07-19 12:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":138931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":138931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":138931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817652224001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817652224001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:31:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:31:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817652224001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":138931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:31:47] local.INFO: GPS data processed {"connection_id":138931,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:31:47] local.INFO: Acknowledgment sent {"connection_id":138931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:32:31] local.INFO: TCP Data received {"connection_id":137518,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:32:31] local.INFO: Processing buffer {"connection_id":137518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:32:31] local.INFO: IMEI packet received {"connection_id":137518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":137518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:32:36] local.INFO: TCP Data received {"connection_id":137518,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:32:36] local.INFO: Processing buffer {"connection_id":137518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:32:36] local.INFO: IMEI packet received {"connection_id":137518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":137518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:32:38] local.INFO: TCP Data received {"connection_id":137518,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:32:38] local.INFO: Processing buffer {"connection_id":137518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:32:38] local.INFO: Packet analysis {"connection_id":137518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:32:38] local.INFO: Extracted packet for processing {"connection_id":137518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817652224001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:32: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-07-19 12:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784444255000,"timestamp_ms":1784444255000,"timestamp_seconds":1784444255,"priority":1,"record_length":96,"hex_timestamp":"0000019f792a7b18"} 
[2026-07-19 12:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817652224001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817652224001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:32:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817652224001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":137518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:32:38] local.INFO: GPS data processed {"connection_id":137518,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:32:38] local.INFO: Acknowledgment sent {"connection_id":137518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:33:10] local.INFO: TCP Data received {"connection_id":137518,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:33:10] local.INFO: Processing buffer {"connection_id":137518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792a7b18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 12:33:10] local.INFO: Packet analysis {"connection_id":137518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:33:10] local.INFO: Extracted packet for processing {"connection_id":137518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f792a"} 
[2026-07-19 12:33:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817652224001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:33: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-07-19 12:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784444255000,"timestamp_ms":1784444255000,"timestamp_seconds":1784444255,"priority":1,"record_length":96,"hex_timestamp":"0000019f792a7b18"} 
[2026-07-19 12:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:33:10] 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-07-19 12:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817652224001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817652224001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:33:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:33:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817652224001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":137518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:33:10] local.INFO: GPS data processed {"connection_id":137518,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:33:10] local.INFO: Acknowledgment sent {"connection_id":137518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:33:31] local.INFO: TCP Data received {"connection_id":136585,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:33:31] local.INFO: Processing buffer {"connection_id":136585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:33:31] local.INFO: IMEI packet received {"connection_id":136585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":136585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:33:36] local.INFO: TCP Data received {"connection_id":136585,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:33:36] local.INFO: Processing buffer {"connection_id":136585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:33:36] local.INFO: IMEI packet received {"connection_id":136585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":136585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:33:37] local.INFO: TCP Data received {"connection_id":136585,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:33:37] local.INFO: Processing buffer {"connection_id":136585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:33:37] local.INFO: Packet analysis {"connection_id":136585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f792f"} 
[2026-07-19 12:33:37] local.INFO: Extracted packet for processing {"connection_id":136585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f792f"} 
[2026-07-19 12:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817729280001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:33: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-07-19 12:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784444556000,"timestamp_ms":1784444556000,"timestamp_seconds":1784444556,"priority":1,"record_length":96,"hex_timestamp":"0000019f792f12e0"} 
[2026-07-19 12:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:33: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-07-19 12:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817729280001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817729280001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:33:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817729280001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":136585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:33:37] local.INFO: GPS data processed {"connection_id":136585,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:33:37] local.INFO: Acknowledgment sent {"connection_id":136585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:34:09] local.INFO: TCP Data received {"connection_id":136585,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:34:09] local.INFO: Processing buffer {"connection_id":136585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:34:09] local.INFO: Packet analysis {"connection_id":136585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f792f"} 
[2026-07-19 12:34:09] local.INFO: Extracted packet for processing {"connection_id":136585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f792f"} 
[2026-07-19 12:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817729280001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:34: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-07-19 12:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784444556000,"timestamp_ms":1784444556000,"timestamp_seconds":1784444556,"priority":1,"record_length":96,"hex_timestamp":"0000019f792f12e0"} 
[2026-07-19 12:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12: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-07-19 12:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:34:09] 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-07-19 12:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817729280001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817729280001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817729280001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":136585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:34:09] local.INFO: GPS data processed {"connection_id":136585,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:34:09] local.INFO: Acknowledgment sent {"connection_id":136585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:34:31] local.INFO: TCP Data received {"connection_id":136445,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:34:31] local.INFO: Processing buffer {"connection_id":136445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:34:31] local.INFO: IMEI packet received {"connection_id":136445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":136445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:34:36] local.INFO: TCP Data received {"connection_id":136445,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:34:36] local.INFO: Processing buffer {"connection_id":136445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:34:36] local.INFO: IMEI packet received {"connection_id":136445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":136445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:34:37] local.INFO: TCP Data received {"connection_id":136445,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:34:37] local.INFO: Processing buffer {"connection_id":136445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:34:37] local.INFO: Packet analysis {"connection_id":136445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f792f"} 
[2026-07-19 12:34:37] local.INFO: Extracted packet for processing {"connection_id":136445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f792f"} 
[2026-07-19 12:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817729280001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:34: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-07-19 12:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784444556000,"timestamp_ms":1784444556000,"timestamp_seconds":1784444556,"priority":1,"record_length":96,"hex_timestamp":"0000019f792f12e0"} 
[2026-07-19 12:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:34: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-07-19 12: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-07-19 12:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817729280001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817729280001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:34:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817729280001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":136445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:34:37] local.INFO: GPS data processed {"connection_id":136445,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:34:37] local.INFO: Acknowledgment sent {"connection_id":136445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:35:09] local.INFO: TCP Data received {"connection_id":136445,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:35:09] local.INFO: Processing buffer {"connection_id":136445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:35:09] local.INFO: Packet analysis {"connection_id":136445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f792f"} 
[2026-07-19 12:35:09] local.INFO: Extracted packet for processing {"connection_id":136445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f792f"} 
[2026-07-19 12:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817729280001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12: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-07-19 12:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784444556000,"timestamp_ms":1784444556000,"timestamp_seconds":1784444556,"priority":1,"record_length":96,"hex_timestamp":"0000019f792f12e0"} 
[2026-07-19 12:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12: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":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:35: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-07-19 12: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-07-19 12:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:35:09] 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-07-19 12:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817729280001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817729280001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:35:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817729280001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":136445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:35:09] local.INFO: GPS data processed {"connection_id":136445,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:35:09] local.INFO: Acknowledgment sent {"connection_id":136445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:35:31] local.INFO: TCP Data received {"connection_id":136586,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:35:31] local.INFO: Processing buffer {"connection_id":136586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:35:31] local.INFO: IMEI packet received {"connection_id":136586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":136586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:35:36] local.INFO: TCP Data received {"connection_id":136586,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:35:36] local.INFO: Processing buffer {"connection_id":136586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:35:36] local.INFO: IMEI packet received {"connection_id":136586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":136586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:35:38] local.INFO: TCP Data received {"connection_id":136586,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:35:38] local.INFO: Processing buffer {"connection_id":136586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:35:38] local.INFO: Packet analysis {"connection_id":136586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f792f"} 
[2026-07-19 12:35:38] local.INFO: Extracted packet for processing {"connection_id":136586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f792f"} 
[2026-07-19 12:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817729280001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:35: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-07-19 12:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784444556000,"timestamp_ms":1784444556000,"timestamp_seconds":1784444556,"priority":1,"record_length":96,"hex_timestamp":"0000019f792f12e0"} 
[2026-07-19 12:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:35:38] 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-07-19 12: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-07-19 12:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817729280001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817729280001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:35:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817729280001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":136586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:35:38] local.INFO: GPS data processed {"connection_id":136586,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:35:38] local.INFO: Acknowledgment sent {"connection_id":136586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:35:56] local.INFO: TCP Data received {"connection_id":138936,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:35:56] local.INFO: Processing buffer {"connection_id":138936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:35:56] local.INFO: IMEI packet received {"connection_id":138936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":138936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:36:01] local.INFO: TCP Data received {"connection_id":138936,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:36:01] local.INFO: Processing buffer {"connection_id":138936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:36:01] local.INFO: IMEI packet received {"connection_id":138936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":138936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:36:02] local.INFO: TCP Data received {"connection_id":138936,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7930f740012d19008007214630004301592a..."} 
[2026-07-19 12:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7930f740012d19008007214630004301592a..."} 
[2026-07-19 12:36:02] local.INFO: Processing buffer {"connection_id":138936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7930f740012d19008007214630004301592a..."} 
[2026-07-19 12:36:02] local.INFO: Packet analysis {"connection_id":138936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7930"} 
[2026-07-19 12:36:02] local.INFO: Extracted packet for processing {"connection_id":138936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7930"} 
[2026-07-19 12:36:02] local.INFO: GPS Element Parsed {"raw_longitude":756613248,"raw_latitude":119621168,"longitude_deg":75.6613248,"latitude_deg":11.9621168,"altitude":67,"angle":345,"satellites":42,"speed":11,"hex_longitude":"2d190080","hex_latitude":"07214630","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817837056001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7117478069010432,"note":"Value kept but may cause issues"} 
[2026-07-19 12:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802143569012647936,"note":"Value kept but may cause issues"} 
[2026-07-19 12:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784444680000,"timestamp_ms":1784444680000,"timestamp_seconds":1784444680,"priority":1,"record_length":96,"hex_timestamp":"0000019f7930f740"} 
[2026-07-19 12:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:36:02] 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-07-19 12: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-19 12:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":138936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":138936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":138936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817837056001,"66":14548,"121":206,"28":31744,"24":11,"16":7117478069010432,"45":1802143569012647936},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 12:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817837056001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:36:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 12:36:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7117478069010432,"km_value":7117478069010.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802143569012647936,"description":"Unknown IO ID 45"} 
[2026-07-19 12:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817837056001,"power":14548,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1802143569012647936}} 
[2026-07-19 12:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":138936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:36:03] local.INFO: GPS data processed {"connection_id":138936,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:36:03] local.INFO: Acknowledgment sent {"connection_id":138936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:36:03] local.INFO: TCP Data received {"connection_id":138935,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:36:03] local.INFO: Processing buffer {"connection_id":138935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:36:03] local.INFO: IMEI packet received {"connection_id":138935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 12:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":138935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:36:10] local.INFO: TCP Data received {"connection_id":136586,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:36:10] local.INFO: Processing buffer {"connection_id":136586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:36:10] local.INFO: Packet analysis {"connection_id":136586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f792f"} 
[2026-07-19 12:36:10] local.INFO: Extracted packet for processing {"connection_id":136586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f792f"} 
[2026-07-19 12:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 12:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817729280001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:36: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-07-19 12:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784444556000,"timestamp_ms":1784444556000,"timestamp_seconds":1784444556,"priority":1,"record_length":96,"hex_timestamp":"0000019f792f12e0"} 
[2026-07-19 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-07-19 12:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 12:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:36:10] 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-07-19 12:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817729280001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817729280001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:36:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:36:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817729280001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":136586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:36:10] local.INFO: GPS data processed {"connection_id":136586,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:36:10] local.INFO: Acknowledgment sent {"connection_id":136586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:36:26] local.INFO: TCP Data received {"connection_id":137519,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:36:26] local.INFO: Processing buffer {"connection_id":137519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:36:26] local.INFO: IMEI packet received {"connection_id":137519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 12:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":137519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:36:34] local.INFO: TCP Data received {"connection_id":138936,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f793102f8012d18ff4007214938004401432a..."} 
[2026-07-19 12:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793102f8012d18ff4007214938004401432a..."} 
[2026-07-19 12:36:34] local.INFO: Processing buffer {"connection_id":138936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793102f8012d18ff4007214938004401432a..."} 
[2026-07-19 12:36:34] local.INFO: Packet analysis {"connection_id":138936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7931"} 
[2026-07-19 12:36:34] local.INFO: Extracted packet for processing {"connection_id":138936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7931"} 
[2026-07-19 12:36:34] local.INFO: GPS Element Parsed {"raw_longitude":756612928,"raw_latitude":119621944,"longitude_deg":75.6612928,"latitude_deg":11.9621944,"altitude":68,"angle":323,"satellites":42,"speed":10,"hex_longitude":"2d18ff40","hex_latitude":"07214938","is_valid_coordinates":true} 
[2026-07-19 12:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817838080001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7117516723716096,"note":"Value kept but may cause issues"} 
[2026-07-19 12:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1801580619059572736,"note":"Value kept but may cause issues"} 
[2026-07-19 12:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784444683000,"timestamp_ms":1784444683000,"timestamp_seconds":1784444683,"priority":1,"record_length":96,"hex_timestamp":"0000019f793102f8"} 
[2026-07-19 12:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-19 12:36:34] 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-07-19 12:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":138936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":138936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":138936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817838080001,"66":14580,"121":206,"28":31744,"24":10,"16":7117516723716096,"45":1801580619059572736},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 12:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817838080001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:36:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 12:36:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7117516723716096,"km_value":7117516723716.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1801580619059572736,"description":"Unknown IO ID 45"} 
[2026-07-19 12:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817838080001,"power":14580,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1801580619059572736}} 
[2026-07-19 12:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":138936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:36:34] local.INFO: GPS data processed {"connection_id":138936,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:36:34] local.INFO: Acknowledgment sent {"connection_id":138936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:36:36] local.INFO: TCP Data received {"connection_id":136446,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:36:36] local.INFO: Processing buffer {"connection_id":136446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:36:36] local.INFO: IMEI packet received {"connection_id":136446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":136446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:36:41] local.INFO: TCP Data received {"connection_id":136446,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:36:41] local.INFO: Processing buffer {"connection_id":136446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:36:41] local.INFO: IMEI packet received {"connection_id":136446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":136446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:36:42] local.INFO: TCP Data received {"connection_id":136446,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:36:42] local.INFO: Processing buffer {"connection_id":136446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:36:42] local.INFO: Packet analysis {"connection_id":136446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f792f"} 
[2026-07-19 12:36:42] local.INFO: Extracted packet for processing {"connection_id":136446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f792f"} 
[2026-07-19 12:36:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817729280001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784444556000,"timestamp_ms":1784444556000,"timestamp_seconds":1784444556,"priority":1,"record_length":96,"hex_timestamp":"0000019f792f12e0"} 
[2026-07-19 12:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:36:42] 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-07-19 12: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-07-19 12:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817729280001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817729280001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:36:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:36:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817729280001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":136446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:36:43] local.INFO: GPS data processed {"connection_id":136446,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:36:43] local.INFO: Acknowledgment sent {"connection_id":136446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:36:48] local.INFO: TCP Data received {"connection_id":136446,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:36:48] local.INFO: Processing buffer {"connection_id":136446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:36:48] local.INFO: Packet analysis {"connection_id":136446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f792f"} 
[2026-07-19 12:36:48] local.INFO: Extracted packet for processing {"connection_id":136446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f792f"} 
[2026-07-19 12:36:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817729280001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784444556000,"timestamp_ms":1784444556000,"timestamp_seconds":1784444556,"priority":1,"record_length":96,"hex_timestamp":"0000019f792f12e0"} 
[2026-07-19 12:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:36:48] 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-07-19 12:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":136446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":136446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":136446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817729280001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817729280001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:36:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:36:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817729280001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":136446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:36:48] local.INFO: GPS data processed {"connection_id":136446,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:36:48] local.INFO: Acknowledgment sent {"connection_id":136446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:36:48] local.INFO: TCP Data received {"connection_id":137520,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:36:48] local.INFO: Processing buffer {"connection_id":137520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:36:48] local.INFO: IMEI packet received {"connection_id":137520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":137520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:36:49] local.INFO: TCP Data received {"connection_id":137520,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:36:49] local.INFO: Processing buffer {"connection_id":137520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:36:49] local.INFO: IMEI packet received {"connection_id":137520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":137520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:36:50] local.INFO: TCP Data received {"connection_id":137520,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:36:50] local.INFO: Processing buffer {"connection_id":137520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:36:50] local.INFO: IMEI packet received {"connection_id":137520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":137520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:36:51] local.INFO: TCP Data received {"connection_id":137520,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:36:51] local.INFO: Processing buffer {"connection_id":137520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:36:51] local.INFO: IMEI packet received {"connection_id":137520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":137520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:37:31] local.INFO: TCP Data received {"connection_id":137522,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:37:31] local.INFO: Processing buffer {"connection_id":137522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:37:31] local.INFO: IMEI packet received {"connection_id":137522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":137522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:37:36] local.INFO: TCP Data received {"connection_id":137522,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:37:36] local.INFO: Processing buffer {"connection_id":137522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:37:36] local.INFO: IMEI packet received {"connection_id":137522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":137522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:37:38] local.INFO: TCP Data received {"connection_id":137522,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:37:38] local.INFO: Processing buffer {"connection_id":137522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:37:38] local.INFO: Packet analysis {"connection_id":137522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f792f"} 
[2026-07-19 12:37:38] local.INFO: Extracted packet for processing {"connection_id":137522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f792f"} 
[2026-07-19 12:37:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817729280001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:37: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-07-19 12:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784444556000,"timestamp_ms":1784444556000,"timestamp_seconds":1784444556,"priority":1,"record_length":96,"hex_timestamp":"0000019f792f12e0"} 
[2026-07-19 12:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:37:38] 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-07-19 12:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817729280001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817729280001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:37:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:37:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817729280001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":137522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:37:38] local.INFO: GPS data processed {"connection_id":137522,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:37:38] local.INFO: Acknowledgment sent {"connection_id":137522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:38:10] local.INFO: TCP Data received {"connection_id":137522,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:38:10] local.INFO: Processing buffer {"connection_id":137522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f792f12e0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:38:10] local.INFO: Packet analysis {"connection_id":137522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f792f"} 
[2026-07-19 12:38:10] local.INFO: Extracted packet for processing {"connection_id":137522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f792f"} 
[2026-07-19 12:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817729280001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:38: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-07-19 12:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784444556000,"timestamp_ms":1784444556000,"timestamp_seconds":1784444556,"priority":1,"record_length":96,"hex_timestamp":"0000019f792f12e0"} 
[2026-07-19 12:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:38:10] 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-07-19 12:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817729280001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817729280001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:38:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:38:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817729280001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":137522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:38:10] local.INFO: GPS data processed {"connection_id":137522,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:38:10] local.INFO: Acknowledgment sent {"connection_id":137522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:38:32] local.INFO: TCP Data received {"connection_id":136587,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:38:32] local.INFO: Processing buffer {"connection_id":136587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:38:32] local.INFO: IMEI packet received {"connection_id":136587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":136587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:38:36] local.INFO: TCP Data received {"connection_id":136587,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:38:36] local.INFO: Processing buffer {"connection_id":136587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:38:36] local.INFO: IMEI packet received {"connection_id":136587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":136587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:38:38] local.INFO: TCP Data received {"connection_id":136587,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:38:38] local.INFO: Processing buffer {"connection_id":136587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:38:38] local.INFO: Packet analysis {"connection_id":136587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7933"} 
[2026-07-19 12:38:38] local.INFO: Extracted packet for processing {"connection_id":136587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7933"} 
[2026-07-19 12:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817806336001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:38: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-07-19 12:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784444857000,"timestamp_ms":1784444857000,"timestamp_seconds":1784444857,"priority":1,"record_length":96,"hex_timestamp":"0000019f7933aaa8"} 
[2026-07-19 12:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:38:38] 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-07-19 12:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817806336001,"66":25549,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817806336001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:38:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817806336001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":136587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:38:38] local.INFO: GPS data processed {"connection_id":136587,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:38:38] local.INFO: Acknowledgment sent {"connection_id":136587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:39:09] local.INFO: TCP Data received {"connection_id":136587,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:39:09] local.INFO: Processing buffer {"connection_id":136587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:39:09] local.INFO: Packet analysis {"connection_id":136587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7933"} 
[2026-07-19 12:39:09] local.INFO: Extracted packet for processing {"connection_id":136587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7933"} 
[2026-07-19 12:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817806336001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:39: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-07-19 12:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784444857000,"timestamp_ms":1784444857000,"timestamp_seconds":1784444857,"priority":1,"record_length":96,"hex_timestamp":"0000019f7933aaa8"} 
[2026-07-19 12:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:39: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-07-19 12:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:39:09] 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-07-19 12:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817806336001,"66":25549,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817806336001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:39:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817806336001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":136587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:39:09] local.INFO: GPS data processed {"connection_id":136587,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:39:09] local.INFO: Acknowledgment sent {"connection_id":136587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:39:31] local.INFO: TCP Data received {"connection_id":138939,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:39:31] local.INFO: Processing buffer {"connection_id":138939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:39:31] local.INFO: IMEI packet received {"connection_id":138939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":138939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:39:36] local.INFO: TCP Data received {"connection_id":138939,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:39:36] local.INFO: Processing buffer {"connection_id":138939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:39:36] local.INFO: IMEI packet received {"connection_id":138939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":138939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:39:37] local.INFO: TCP Data received {"connection_id":138939,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:39:37] local.INFO: Processing buffer {"connection_id":138939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:39:37] local.INFO: Packet analysis {"connection_id":138939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7933"} 
[2026-07-19 12:39:37] local.INFO: Extracted packet for processing {"connection_id":138939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7933"} 
[2026-07-19 12:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817806336001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:39: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-07-19 12:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784444857000,"timestamp_ms":1784444857000,"timestamp_seconds":1784444857,"priority":1,"record_length":96,"hex_timestamp":"0000019f7933aaa8"} 
[2026-07-19 12:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:39: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-07-19 12:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817806336001,"66":25549,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817806336001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817806336001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":138939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:39:37] local.INFO: GPS data processed {"connection_id":138939,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:39:37] local.INFO: Acknowledgment sent {"connection_id":138939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:40:09] local.INFO: TCP Data received {"connection_id":138939,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:40:09] local.INFO: Processing buffer {"connection_id":138939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:40:09] local.INFO: Packet analysis {"connection_id":138939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7933"} 
[2026-07-19 12:40:09] local.INFO: Extracted packet for processing {"connection_id":138939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7933"} 
[2026-07-19 12:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817806336001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:40: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-07-19 12:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784444857000,"timestamp_ms":1784444857000,"timestamp_seconds":1784444857,"priority":1,"record_length":96,"hex_timestamp":"0000019f7933aaa8"} 
[2026-07-19 12:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:40: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-07-19 12:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:40:09] 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-07-19 12:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817806336001,"66":25549,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817806336001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817806336001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":138939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:40:09] local.INFO: GPS data processed {"connection_id":138939,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:40:09] local.INFO: Acknowledgment sent {"connection_id":138939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:40:36] local.INFO: TCP Data received {"connection_id":137527,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:40:36] local.INFO: Processing buffer {"connection_id":137527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:40:36] local.INFO: IMEI packet received {"connection_id":137527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":137527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:40:41] local.INFO: TCP Data received {"connection_id":137527,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:40:41] local.INFO: Processing buffer {"connection_id":137527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:40:41] local.INFO: IMEI packet received {"connection_id":137527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":137527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:40:42] local.INFO: TCP Data received {"connection_id":137527,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:40:42] local.INFO: Processing buffer {"connection_id":137527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:40:42] local.INFO: Packet analysis {"connection_id":137527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7933"} 
[2026-07-19 12:40:42] local.INFO: Extracted packet for processing {"connection_id":137527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7933"} 
[2026-07-19 12:40:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817806336001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784444857000,"timestamp_ms":1784444857000,"timestamp_seconds":1784444857,"priority":1,"record_length":96,"hex_timestamp":"0000019f7933aaa8"} 
[2026-07-19 12:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:40:42] 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-07-19 12:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817806336001,"66":25549,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817806336001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:40:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:40:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817806336001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":137527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:40:42] local.INFO: GPS data processed {"connection_id":137527,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:40:42] local.INFO: Acknowledgment sent {"connection_id":137527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:40:48] local.INFO: TCP Data received {"connection_id":137527,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:40:48] local.INFO: Processing buffer {"connection_id":137527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:40:48] local.INFO: Packet analysis {"connection_id":137527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7933"} 
[2026-07-19 12:40:48] local.INFO: Extracted packet for processing {"connection_id":137527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7933"} 
[2026-07-19 12:40:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817806336001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784444857000,"timestamp_ms":1784444857000,"timestamp_seconds":1784444857,"priority":1,"record_length":96,"hex_timestamp":"0000019f7933aaa8"} 
[2026-07-19 12:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:40:48] 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-07-19 12: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-07-19 12:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":137527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":137527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":137527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817806336001,"66":25549,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817806336001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:40:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:40:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817806336001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":137527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:40:48] local.INFO: GPS data processed {"connection_id":137527,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:40:48] local.INFO: Acknowledgment sent {"connection_id":137527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:41:32] local.INFO: TCP Data received {"connection_id":136448,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:41:32] local.INFO: Processing buffer {"connection_id":136448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:41:32] local.INFO: IMEI packet received {"connection_id":136448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":136448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:41:36] local.INFO: TCP Data received {"connection_id":136448,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:41:36] local.INFO: Processing buffer {"connection_id":136448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:41:36] local.INFO: IMEI packet received {"connection_id":136448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":136448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:41:37] local.INFO: TCP Data received {"connection_id":136448,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:41:37] local.INFO: Processing buffer {"connection_id":136448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:41:37] local.INFO: Packet analysis {"connection_id":136448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7933"} 
[2026-07-19 12:41:37] local.INFO: Extracted packet for processing {"connection_id":136448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7933"} 
[2026-07-19 12:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817806336001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:41: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-07-19 12:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784444857000,"timestamp_ms":1784444857000,"timestamp_seconds":1784444857,"priority":1,"record_length":96,"hex_timestamp":"0000019f7933aaa8"} 
[2026-07-19 12:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:41: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-07-19 12:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817806336001,"66":25549,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817806336001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:41:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817806336001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":136448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:41:37] local.INFO: GPS data processed {"connection_id":136448,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:41:37] local.INFO: Acknowledgment sent {"connection_id":136448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:41:42] local.INFO: TCP Data received {"connection_id":136448,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:41:42] local.INFO: Processing buffer {"connection_id":136448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:41:42] local.INFO: Packet analysis {"connection_id":136448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7933"} 
[2026-07-19 12:41:42] local.INFO: Extracted packet for processing {"connection_id":136448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7933"} 
[2026-07-19 12:41:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:41: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-07-19 12:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817806336001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784444857000,"timestamp_ms":1784444857000,"timestamp_seconds":1784444857,"priority":1,"record_length":96,"hex_timestamp":"0000019f7933aaa8"} 
[2026-07-19 12:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:41:42] 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-07-19 12:41: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-07-19 12:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817806336001,"66":25549,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817806336001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:41:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:41:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817806336001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":136448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:41:42] local.INFO: GPS data processed {"connection_id":136448,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:41:42] local.INFO: Acknowledgment sent {"connection_id":136448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:41:47] local.INFO: TCP Data received {"connection_id":136447,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:41:47] local.INFO: Processing buffer {"connection_id":136447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:41:47] local.INFO: IMEI packet received {"connection_id":136447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 12:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":136447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:41:57] local.INFO: TCP Data received {"connection_id":136588,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:41:57] local.INFO: Processing buffer {"connection_id":136588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:41:57] local.INFO: IMEI packet received {"connection_id":136588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":136588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:42:02] local.INFO: TCP Data received {"connection_id":136588,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:42:02] local.INFO: Processing buffer {"connection_id":136588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:42:02] local.INFO: IMEI packet received {"connection_id":136588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":136588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:42:03] local.INFO: TCP Data received {"connection_id":136588,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79354ca0012d1824800721b750004d014128..."} 
[2026-07-19 12:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79354ca0012d1824800721b750004d014128..."} 
[2026-07-19 12:42:03] local.INFO: Processing buffer {"connection_id":136588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79354ca0012d1824800721b750004d014128..."} 
[2026-07-19 12:42:03] local.INFO: Packet analysis {"connection_id":136588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7935"} 
[2026-07-19 12:42:03] local.INFO: Extracted packet for processing {"connection_id":136588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7935"} 
[2026-07-19 12:42:03] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650128,"longitude_deg":75.6556928,"latitude_deg":11.9650128,"altitude":77,"angle":321,"satellites":40,"speed":8,"hex_longitude":"2d182480","hex_latitude":"0721b750","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817910528001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7120892568010752,"note":"Value kept but may cause issues"} 
[2026-07-19 12:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934768640,"note":"Value kept but may cause issues"} 
[2026-07-19 12:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784444964000,"timestamp_ms":1784444964000,"timestamp_seconds":1784444964,"priority":1,"record_length":96,"hex_timestamp":"0000019f79354ca0"} 
[2026-07-19 12:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-19 12:42:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-6937794899525360128,"note":"Value kept but may cause issues"} 
[2026-07-19 12:42:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788857,"note":"Value kept but may cause issues"} 
[2026-07-19 12:42:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-19 12:42:03] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3556822503,"note":"Value kept but may cause issues"} 
[2026-07-19 12:42:03] local.WARNING: Large IO value detected {"io_id":21,"raw_value":57956872821283964,"note":"Value kept but may cause issues"} 
[2026-07-19 12:42:03] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-4893159701947777017,"note":"Value kept but may cause issues"} 
[2026-07-19 12:42:03] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,76,159,37,45,64,171,77,41,10,66,33,169,29,1,240,173,121,4,113,205,3,227,32,239,56,2,25,7,13,21,52],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-19 12:42:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548826343154253824,"timestamp_seconds":5548826343154254.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 12:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":136588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":136588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":136588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817910528001,"66":12917,"120":206,"28":31744,"24":8,"16":7120892568010752,"45":1739726492934768640},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817910528001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:42:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:42:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7120892568010752,"km_value":7120892568010.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934768640,"description":"Unknown IO ID 45"} 
[2026-07-19 12:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817910528001,"power":12917,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1739726492934768640}} 
[2026-07-19 12:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":136588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:42:03] local.INFO: GPS data processed {"connection_id":136588,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:42:03] local.INFO: Acknowledgment sent {"connection_id":136588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:42:07] local.INFO: TCP Data received {"connection_id":136588,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79355088012d1824000721b7b8004d012428..."} 
[2026-07-19 12:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79355088012d1824000721b7b8004d012428..."} 
[2026-07-19 12:42:07] local.INFO: Processing buffer {"connection_id":136588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79355088012d1824000721b7b8004d012428..."} 
[2026-07-19 12:42:07] local.INFO: Packet analysis {"connection_id":136588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7935"} 
[2026-07-19 12:42:07] local.INFO: Extracted packet for processing {"connection_id":136588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7935"} 
[2026-07-19 12:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650232,"longitude_deg":75.65568,"latitude_deg":11.9650232,"altitude":77,"angle":292,"satellites":40,"speed":6,"hex_longitude":"2d182400","hex_latitude":"0721b7b8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817910784001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7120901157945344,"note":"Value kept but may cause issues"} 
[2026-07-19 12:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190642176,"note":"Value kept but may cause issues"} 
[2026-07-19 12:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784444965000,"timestamp_ms":1784444965000,"timestamp_seconds":1784444965,"priority":1,"record_length":96,"hex_timestamp":"0000019f79355088"} 
[2026-07-19 12:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-19 12:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817910784001,"66":12917,"120":206,"28":31744,"24":6,"16":7120901157945344,"45":1739656124190642176},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817910784001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:42:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:42:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7120901157945344,"km_value":7120901157945.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190642176,"description":"Unknown IO ID 45"} 
[2026-07-19 12:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817910784001,"power":12917,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1739656124190642176}} 
[2026-07-19 12:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":136588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:42:07] local.INFO: GPS data processed {"connection_id":136588,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:42:07] local.INFO: Acknowledgment sent {"connection_id":136588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:42:14] local.INFO: TCP Data received {"connection_id":136448,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:42:14] local.INFO: Processing buffer {"connection_id":136448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:42:14] local.INFO: Packet analysis {"connection_id":136448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7933"} 
[2026-07-19 12:42:14] local.INFO: Extracted packet for processing {"connection_id":136448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7933"} 
[2026-07-19 12:42:14] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817806336001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:42: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-07-19 12:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784444857000,"timestamp_ms":1784444857000,"timestamp_seconds":1784444857,"priority":1,"record_length":96,"hex_timestamp":"0000019f7933aaa8"} 
[2026-07-19 12:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:42:14] 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-07-19 12:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":136448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":136448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":136448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:42:14] 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-07-19 12:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817806336001,"66":25549,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817806336001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:42:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:42:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817806336001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":136448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:42:14] local.INFO: GPS data processed {"connection_id":136448,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:42:14] local.INFO: Acknowledgment sent {"connection_id":136448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:42:27] local.INFO: TCP Data received {"connection_id":136589,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136589,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:42:27] local.INFO: Processing buffer {"connection_id":136589,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:42:27] local.INFO: IMEI packet received {"connection_id":136589,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 12:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":136589,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:42:31] local.INFO: TCP Data received {"connection_id":136590,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:42:31] local.INFO: Processing buffer {"connection_id":136590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:42:31] local.INFO: IMEI packet received {"connection_id":136590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":136590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:42:36] local.INFO: TCP Data received {"connection_id":136590,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:42:36] local.INFO: Processing buffer {"connection_id":136590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:42:36] local.INFO: IMEI packet received {"connection_id":136590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":136590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:42:37] local.INFO: TCP Data received {"connection_id":136590,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:42:37] local.INFO: Processing buffer {"connection_id":136590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:42:37] local.INFO: Packet analysis {"connection_id":136590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7933"} 
[2026-07-19 12:42:37] local.INFO: Extracted packet for processing {"connection_id":136590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7933"} 
[2026-07-19 12:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817806336001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:42: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-07-19 12:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784444857000,"timestamp_ms":1784444857000,"timestamp_seconds":1784444857,"priority":1,"record_length":96,"hex_timestamp":"0000019f7933aaa8"} 
[2026-07-19 12:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:42: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-07-19 12:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817806336001,"66":25549,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817806336001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817806336001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":136590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:42:37] local.INFO: GPS data processed {"connection_id":136590,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:42:37] local.INFO: Acknowledgment sent {"connection_id":136590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:42:51] local.INFO: TCP Data received {"connection_id":138940,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:42:51] local.INFO: Processing buffer {"connection_id":138940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:42:51] local.INFO: IMEI packet received {"connection_id":138940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":138940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:42:52] local.INFO: TCP Data received {"connection_id":138940,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:42:52] local.INFO: Processing buffer {"connection_id":138940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:42:52] local.INFO: IMEI packet received {"connection_id":138940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":138940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:42:56] local.INFO: TCP Data received {"connection_id":138940,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:42:56] local.INFO: Processing buffer {"connection_id":138940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:42:56] local.INFO: IMEI packet received {"connection_id":138940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":138940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:42:57] local.INFO: TCP Data received {"connection_id":138940,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7935a290012d1824c00721b838004c012429..."} 
[2026-07-19 12:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7935a290012d1824c00721b838004c012429..."} 
[2026-07-19 12:42:57] local.INFO: Processing buffer {"connection_id":138940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7935a290012d1824c00721b838004c012429..."} 
[2026-07-19 12:42:57] local.INFO: Packet analysis {"connection_id":138940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7935"} 
[2026-07-19 12:42:57] local.INFO: Extracted packet for processing {"connection_id":138940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7935"} 
[2026-07-19 12:42:57] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650360,"longitude_deg":75.6556992,"latitude_deg":11.965036,"altitude":76,"angle":292,"satellites":41,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b838","is_valid_coordinates":true} 
[2026-07-19 12:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817911040001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7120948402585600,"note":"Value kept but may cause issues"} 
[2026-07-19 12:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702313472,"note":"Value kept but may cause issues"} 
[2026-07-19 12:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784444986000,"timestamp_ms":1784444986000,"timestamp_seconds":1784444986,"priority":1,"record_length":96,"hex_timestamp":"0000019f7935a290"} 
[2026-07-19 12:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:42: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-07-19 12:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-19 12:42:57] 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-07-19 12:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":138940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":138940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":138940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817911040001,"66":13287,"120":206,"28":31744,"24":0,"16":7120948402585600,"45":1739515386702313472},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817911040001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:42:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:42:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7120948402585600,"km_value":7120948402585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702313472,"description":"Unknown IO ID 45"} 
[2026-07-19 12:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817911040001,"power":13287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739515386702313472}} 
[2026-07-19 12:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":138940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:42:57] local.INFO: GPS data processed {"connection_id":138940,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:42:57] local.INFO: Acknowledgment sent {"connection_id":138940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:43:02] local.INFO: TCP Data received {"connection_id":138940,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7935f498012d1824c00721b838004c012428..."} 
[2026-07-19 12:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7935f498012d1824c00721b838004c012428..."} 
[2026-07-19 12:43:02] local.INFO: Processing buffer {"connection_id":138940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7935f498012d1824c00721b838004c012428..."} 
[2026-07-19 12:43:02] local.INFO: Packet analysis {"connection_id":138940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7935"} 
[2026-07-19 12:43:02] local.INFO: Extracted packet for processing {"connection_id":138940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7935"} 
[2026-07-19 12:43:02] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650360,"longitude_deg":75.6556992,"latitude_deg":11.965036,"altitude":76,"angle":292,"satellites":40,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b838","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817916416001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7120948402585600,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934879232,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784445007000,"timestamp_ms":1784445007000,"timestamp_seconds":1784445007,"priority":1,"record_length":96,"hex_timestamp":"0000019f7935f498"} 
[2026-07-19 12:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-07-19 12:43:02] 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-07-19 12: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-07-19 12:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":138940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":138940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":138940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817916416001,"66":12558,"120":206,"28":31744,"24":0,"16":7120948402585600,"45":1739726492934879232},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817916416001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:43:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:43:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7120948402585600,"km_value":7120948402585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934879232,"description":"Unknown IO ID 45"} 
[2026-07-19 12:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817916416001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934879232}} 
[2026-07-19 12:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":138940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:43:02] local.INFO: GPS data processed {"connection_id":138940,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:43:02] local.INFO: Acknowledgment sent {"connection_id":138940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:43:08] local.INFO: TCP Data received {"connection_id":136590,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:43:08] local.INFO: Processing buffer {"connection_id":136590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7933aaa8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 12:43:08] local.INFO: Packet analysis {"connection_id":136590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7933"} 
[2026-07-19 12:43:08] local.INFO: Extracted packet for processing {"connection_id":136590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7933"} 
[2026-07-19 12:43:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 12:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817806336001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43: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-07-19 12:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784444857000,"timestamp_ms":1784444857000,"timestamp_seconds":1784444857,"priority":1,"record_length":96,"hex_timestamp":"0000019f7933aaa8"} 
[2026-07-19 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-07-19 12:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 12:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817806336001,"66":25549,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817806336001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:43:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:43:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817806336001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":136590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:43:08] local.INFO: GPS data processed {"connection_id":136590,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:43:08] local.INFO: Acknowledgment sent {"connection_id":136590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:43:31] local.INFO: TCP Data received {"connection_id":136591,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:43:31] local.INFO: Processing buffer {"connection_id":136591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:43:31] local.INFO: IMEI packet received {"connection_id":136591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":136591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:43:33] local.INFO: TCP Data received {"connection_id":138940,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f793646a0012d1824c00721b838004c012429..."} 
[2026-07-19 12:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793646a0012d1824c00721b838004c012429..."} 
[2026-07-19 12:43:33] local.INFO: Processing buffer {"connection_id":138940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793646a0012d1824c00721b838004c012429..."} 
[2026-07-19 12:43:33] local.INFO: Packet analysis {"connection_id":138940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7936"} 
[2026-07-19 12:43:33] local.INFO: Extracted packet for processing {"connection_id":138940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7936"} 
[2026-07-19 12:43:33] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650360,"longitude_deg":75.6556992,"latitude_deg":11.965036,"altitude":76,"angle":292,"satellites":41,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b838","is_valid_coordinates":true} 
[2026-07-19 12:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817921792001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7120948402585600,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934879232,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784445028000,"timestamp_ms":1784445028000,"timestamp_seconds":1784445028,"priority":1,"record_length":96,"hex_timestamp":"0000019f793646a0"} 
[2026-07-19 12:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:43: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-07-19 12:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-19 12:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249380116616292512,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3062366285,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-19 12:43:33] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43:33] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040231,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43:33] local.WARNING: Large IO value detected {"io_id":13,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43:33] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43:33] local.WARNING: Large IO value detected {"io_id":57,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633254039554,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43:33] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,120,28,24,241,158,16,76,159,162,45,192,184,41,10,66,80,183,77,40,128,1,240,117,121,33,4,113,205,37,30,8,239,51,2,25,7,13,231,57,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-19 12:43:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476698376076525568,"timestamp_seconds":5476698376076526.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 12:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":138940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":138940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":138940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817921792001,"66":12722,"120":206,"28":31744,"24":0,"16":7120948402585600,"45":1739726492934879232},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817921792001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:43:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:43:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7120948402585600,"km_value":7120948402585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934879232,"description":"Unknown IO ID 45"} 
[2026-07-19 12:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817921792001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934879232}} 
[2026-07-19 12:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":138940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:43:33] local.INFO: GPS data processed {"connection_id":138940,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:43:33] local.INFO: Acknowledgment sent {"connection_id":138940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:43:36] local.INFO: TCP Data received {"connection_id":136591,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:43:36] local.INFO: Processing buffer {"connection_id":136591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:43:36] local.INFO: IMEI packet received {"connection_id":136591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":136591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:43:38] local.INFO: TCP Data received {"connection_id":136591,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:43:38] local.INFO: Processing buffer {"connection_id":136591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:43:38] local.INFO: Packet analysis {"connection_id":136591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:43:38] local.INFO: Extracted packet for processing {"connection_id":136591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:43:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817883392001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43: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-07-19 12:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784445158000,"timestamp_ms":1784445158000,"timestamp_seconds":1784445158,"priority":1,"record_length":96,"hex_timestamp":"0000019f79384270"} 
[2026-07-19 12:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 12:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:43: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-07-19 12:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817883392001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817883392001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:43:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:43:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817883392001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":136591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:43:38] local.INFO: GPS data processed {"connection_id":136591,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:43:38] local.INFO: Acknowledgment sent {"connection_id":136591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:43:52] local.INFO: TCP Data received {"connection_id":136450,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:43:52] local.INFO: Processing buffer {"connection_id":136450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:43:52] local.INFO: IMEI packet received {"connection_id":136450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":136450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:43:55] local.INFO: TCP Data received {"connection_id":136450,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:43:55] local.INFO: Processing buffer {"connection_id":136450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:43:55] local.INFO: IMEI packet received {"connection_id":136450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":136450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:43:56] local.INFO: TCP Data received {"connection_id":136450,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f793698a8012d1824c00721b838004c012429..."} 
[2026-07-19 12:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793698a8012d1824c00721b838004c012429..."} 
[2026-07-19 12:43:56] local.INFO: Processing buffer {"connection_id":136450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793698a8012d1824c00721b838004c012429..."} 
[2026-07-19 12:43:56] local.INFO: Packet analysis {"connection_id":136450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7936"} 
[2026-07-19 12:43:56] local.INFO: Extracted packet for processing {"connection_id":136450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7936"} 
[2026-07-19 12:43:56] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650360,"longitude_deg":75.6556992,"latitude_deg":11.965036,"altitude":76,"angle":292,"satellites":41,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b838","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817927168001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7120948402585600,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934879232,"note":"Value kept but may cause issues"} 
[2026-07-19 12:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784445049000,"timestamp_ms":1784445049000,"timestamp_seconds":1784445049,"priority":1,"record_length":96,"hex_timestamp":"0000019f793698a8"} 
[2026-07-19 12:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:43:56] 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-07-19 12: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-19 12:43: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-07-19 12: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-07-19 12:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817927168001,"66":13135,"120":206,"28":31744,"24":0,"16":7120948402585600,"45":1739726492934879232},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817927168001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:43:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:43:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7120948402585600,"km_value":7120948402585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934879232,"description":"Unknown IO ID 45"} 
[2026-07-19 12:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817927168001,"power":13135,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934879232}} 
[2026-07-19 12:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":136450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:43:56] local.INFO: GPS data processed {"connection_id":136450,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:43:56] local.INFO: Acknowledgment sent {"connection_id":136450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:44:09] local.INFO: TCP Data received {"connection_id":136591,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:44:09] local.INFO: Processing buffer {"connection_id":136591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:44:09] local.INFO: Packet analysis {"connection_id":136591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:44:09] local.INFO: Extracted packet for processing {"connection_id":136591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817883392001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12: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-07-19 12:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784445158000,"timestamp_ms":1784445158000,"timestamp_seconds":1784445158,"priority":1,"record_length":96,"hex_timestamp":"0000019f79384270"} 
[2026-07-19 12:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 12:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:44: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-07-19 12:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817883392001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817883392001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:44:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817883392001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":136591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:44:09] local.INFO: GPS data processed {"connection_id":136591,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:44:09] local.INFO: Acknowledgment sent {"connection_id":136591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:44:27] local.INFO: TCP Data received {"connection_id":136450,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7936eab0012d1824c00721b838004c012429..."} 
[2026-07-19 12:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7936eab0012d1824c00721b838004c012429..."} 
[2026-07-19 12:44:27] local.INFO: Processing buffer {"connection_id":136450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7936eab0012d1824c00721b838004c012429..."} 
[2026-07-19 12:44:27] local.INFO: Packet analysis {"connection_id":136450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7936"} 
[2026-07-19 12:44:27] local.INFO: Extracted packet for processing {"connection_id":136450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7936"} 
[2026-07-19 12:44:27] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650360,"longitude_deg":75.6556992,"latitude_deg":11.965036,"altitude":76,"angle":292,"satellites":41,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b838","is_valid_coordinates":true} 
[2026-07-19 12:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817932544001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7120948402585600,"note":"Value kept but may cause issues"} 
[2026-07-19 12:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934879232,"note":"Value kept but may cause issues"} 
[2026-07-19 12:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784445070000,"timestamp_ms":1784445070000,"timestamp_seconds":1784445070,"priority":1,"record_length":96,"hex_timestamp":"0000019f7936eab0"} 
[2026-07-19 12:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-19 12:44:27] 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-07-19 12:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817932544001,"66":13156,"120":206,"28":31744,"24":0,"16":7120948402585600,"45":1739726492934879232},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817932544001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:44:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:44:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7120948402585600,"km_value":7120948402585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934879232,"description":"Unknown IO ID 45"} 
[2026-07-19 12:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817932544001,"power":13156,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934879232}} 
[2026-07-19 12:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":136450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:44:27] local.INFO: GPS data processed {"connection_id":136450,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:44:27] local.INFO: Acknowledgment sent {"connection_id":136450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:44:36] local.INFO: TCP Data received {"connection_id":137529,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:44:36] local.INFO: Processing buffer {"connection_id":137529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:44:36] local.INFO: IMEI packet received {"connection_id":137529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":137529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:44:41] local.INFO: TCP Data received {"connection_id":137529,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:44:41] local.INFO: Processing buffer {"connection_id":137529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:44:41] local.INFO: IMEI packet received {"connection_id":137529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":137529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:44:42] local.INFO: TCP Data received {"connection_id":137529,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:44:42] local.INFO: Processing buffer {"connection_id":137529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:44:42] local.INFO: Packet analysis {"connection_id":137529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:44:42] local.INFO: Extracted packet for processing {"connection_id":137529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:44:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817883392001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784445158000,"timestamp_ms":1784445158000,"timestamp_seconds":1784445158,"priority":1,"record_length":96,"hex_timestamp":"0000019f79384270"} 
[2026-07-19 12:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 12:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817883392001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817883392001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:44:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:44:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817883392001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":137529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:44:43] local.INFO: GPS data processed {"connection_id":137529,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:44:43] local.INFO: Acknowledgment sent {"connection_id":137529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:44:47] local.INFO: TCP Data received {"connection_id":137529,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:44:47] local.INFO: Processing buffer {"connection_id":137529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:44:47] local.INFO: Packet analysis {"connection_id":137529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:44:47] local.INFO: Extracted packet for processing {"connection_id":137529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:44:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817883392001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784445158000,"timestamp_ms":1784445158000,"timestamp_seconds":1784445158,"priority":1,"record_length":96,"hex_timestamp":"0000019f79384270"} 
[2026-07-19 12:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 12:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":137529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":137529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":137529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817883392001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817883392001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:44:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:44:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817883392001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":137529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:44:47] local.INFO: GPS data processed {"connection_id":137529,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:44:47] local.INFO: Acknowledgment sent {"connection_id":137529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:44:52] local.INFO: TCP Data received {"connection_id":137530,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:44:52] local.INFO: Processing buffer {"connection_id":137530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:44:52] local.INFO: IMEI packet received {"connection_id":137530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":137530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:44:57] local.INFO: TCP Data received {"connection_id":137530,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:44:57] local.INFO: Processing buffer {"connection_id":137530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:44:57] local.INFO: IMEI packet received {"connection_id":137530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":137530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:44:58] local.INFO: TCP Data received {"connection_id":137530,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79373cb8012d1824c00721b838004c012429..."} 
[2026-07-19 12:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79373cb8012d1824c00721b838004c012429..."} 
[2026-07-19 12:44:58] local.INFO: Processing buffer {"connection_id":137530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79373cb8012d1824c00721b838004c012429..."} 
[2026-07-19 12:44:58] local.INFO: Packet analysis {"connection_id":137530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7937"} 
[2026-07-19 12:44:58] local.INFO: Extracted packet for processing {"connection_id":137530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7937"} 
[2026-07-19 12:44:58] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650360,"longitude_deg":75.6556992,"latitude_deg":11.965036,"altitude":76,"angle":292,"satellites":41,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b838","is_valid_coordinates":true} 
[2026-07-19 12:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817937920001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7120948402585600,"note":"Value kept but may cause issues"} 
[2026-07-19 12:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934879232,"note":"Value kept but may cause issues"} 
[2026-07-19 12:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784445091000,"timestamp_ms":1784445091000,"timestamp_seconds":1784445091,"priority":1,"record_length":96,"hex_timestamp":"0000019f79373cb8"} 
[2026-07-19 12:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-19 12:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":137530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":137530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":137530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817937920001,"66":12461,"120":206,"28":31744,"24":0,"16":7120948402585600,"45":1739726492934879232},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817937920001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:44:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:44:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7120948402585600,"km_value":7120948402585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934879232,"description":"Unknown IO ID 45"} 
[2026-07-19 12:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817937920001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934879232}} 
[2026-07-19 12:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":137530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:44:58] local.INFO: GPS data processed {"connection_id":137530,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:44:58] local.INFO: Acknowledgment sent {"connection_id":137530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:45:30] local.INFO: TCP Data received {"connection_id":137530,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79378ec0012d1824c00721b838004c01242a..."} 
[2026-07-19 12:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79378ec0012d1824c00721b838004c01242a..."} 
[2026-07-19 12:45:30] local.INFO: Processing buffer {"connection_id":137530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79378ec0012d1824c00721b838004c01242a..."} 
[2026-07-19 12:45:30] local.INFO: Packet analysis {"connection_id":137530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7937"} 
[2026-07-19 12:45:30] local.INFO: Extracted packet for processing {"connection_id":137530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7937"} 
[2026-07-19 12:45:30] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650360,"longitude_deg":75.6556992,"latitude_deg":11.965036,"altitude":76,"angle":292,"satellites":42,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b838","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817943296001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7120948402585600,"note":"Value kept but may cause issues"} 
[2026-07-19 12:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934879232,"note":"Value kept but may cause issues"} 
[2026-07-19 12:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784445112000,"timestamp_ms":1784445112000,"timestamp_seconds":1784445112,"priority":1,"record_length":96,"hex_timestamp":"0000019f79378ec0"} 
[2026-07-19 12:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:45:30] 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-07-19 12: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 12:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":137530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":137530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":137530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817943296001,"66":13091,"120":206,"28":31744,"24":0,"16":7120948402585600,"45":1739726492934879232},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817943296001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:45:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:45:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7120948402585600,"km_value":7120948402585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934879232,"description":"Unknown IO ID 45"} 
[2026-07-19 12:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817943296001,"power":13091,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934879232}} 
[2026-07-19 12:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":137530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:45:30] local.INFO: GPS data processed {"connection_id":137530,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:45:30] local.INFO: Acknowledgment sent {"connection_id":137530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:45:31] local.INFO: TCP Data received {"connection_id":136452,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:45:31] local.INFO: Processing buffer {"connection_id":136452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:45:31] local.INFO: IMEI packet received {"connection_id":136452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":136452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:45:36] local.INFO: TCP Data received {"connection_id":136452,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:45:36] local.INFO: Processing buffer {"connection_id":136452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:45:36] local.INFO: IMEI packet received {"connection_id":136452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":136452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:45:37] local.INFO: TCP Data received {"connection_id":136452,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:45:37] local.INFO: Processing buffer {"connection_id":136452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:45:37] local.INFO: Packet analysis {"connection_id":136452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:45:37] local.INFO: Extracted packet for processing {"connection_id":136452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817883392001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:45: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-07-19 12:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784445158000,"timestamp_ms":1784445158000,"timestamp_seconds":1784445158,"priority":1,"record_length":96,"hex_timestamp":"0000019f79384270"} 
[2026-07-19 12:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 12:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817883392001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817883392001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:45:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817883392001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":136452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:45:37] local.INFO: GPS data processed {"connection_id":136452,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:45:37] local.INFO: Acknowledgment sent {"connection_id":136452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:45:51] local.INFO: TCP Data received {"connection_id":136593,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:45:51] local.INFO: Processing buffer {"connection_id":136593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:45:51] local.INFO: IMEI packet received {"connection_id":136593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":136593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:45:57] local.INFO: TCP Data received {"connection_id":136593,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:45:57] local.INFO: Processing buffer {"connection_id":136593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:45:57] local.INFO: IMEI packet received {"connection_id":136593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":136593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:45:58] local.INFO: TCP Data received {"connection_id":136593,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7937e0c8012d1824c00721b838004c01242c..."} 
[2026-07-19 12:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7937e0c8012d1824c00721b838004c01242c..."} 
[2026-07-19 12:45:58] local.INFO: Processing buffer {"connection_id":136593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7937e0c8012d1824c00721b838004c01242c..."} 
[2026-07-19 12:45:58] local.INFO: Packet analysis {"connection_id":136593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7937"} 
[2026-07-19 12:45:58] local.INFO: Extracted packet for processing {"connection_id":136593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7937"} 
[2026-07-19 12:45:58] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650360,"longitude_deg":75.6556992,"latitude_deg":11.965036,"altitude":76,"angle":292,"satellites":44,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b838","is_valid_coordinates":true} 
[2026-07-19 12:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817948672001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7120948402585600,"note":"Value kept but may cause issues"} 
[2026-07-19 12:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934879232,"note":"Value kept but may cause issues"} 
[2026-07-19 12:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784445133000,"timestamp_ms":1784445133000,"timestamp_seconds":1784445133,"priority":1,"record_length":96,"hex_timestamp":"0000019f7937e0c8"} 
[2026-07-19 12:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:45: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-07-19 12:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-19 12:45: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-07-19 12:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817948672001,"66":13048,"120":206,"28":31744,"24":0,"16":7120948402585600,"45":1739726492934879232},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817948672001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:45:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:45:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7120948402585600,"km_value":7120948402585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934879232,"description":"Unknown IO ID 45"} 
[2026-07-19 12:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817948672001,"power":13048,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934879232}} 
[2026-07-19 12:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":136593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:45:58] local.INFO: GPS data processed {"connection_id":136593,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:45:58] local.INFO: Acknowledgment sent {"connection_id":136593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:46:09] local.INFO: TCP Data received {"connection_id":136452,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:46:09] local.INFO: Processing buffer {"connection_id":136452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:46:09] local.INFO: Packet analysis {"connection_id":136452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:46:09] local.INFO: Extracted packet for processing {"connection_id":136452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817883392001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:46: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-07-19 12:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784445158000,"timestamp_ms":1784445158000,"timestamp_seconds":1784445158,"priority":1,"record_length":96,"hex_timestamp":"0000019f79384270"} 
[2026-07-19 12:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 12:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:46:09] 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-07-19 12:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817883392001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817883392001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:46:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817883392001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":136452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:46:09] local.INFO: GPS data processed {"connection_id":136452,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:46:09] local.INFO: Acknowledgment sent {"connection_id":136452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:46:30] local.INFO: TCP Data received {"connection_id":136593,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f793832d0012d1823000721b6d0004a01242c..."} 
[2026-07-19 12:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793832d0012d1823000721b6d0004a01242c..."} 
[2026-07-19 12:46:30] local.INFO: Processing buffer {"connection_id":136593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793832d0012d1823000721b6d0004a01242c..."} 
[2026-07-19 12:46:30] local.INFO: Packet analysis {"connection_id":136593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:46:30] local.INFO: Extracted packet for processing {"connection_id":136593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:46:30] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650000,"longitude_deg":75.6556544,"latitude_deg":11.965,"altitude":74,"angle":292,"satellites":44,"speed":1,"hex_longitude":"2d182300","hex_latitude":"0721b6d0","is_valid_coordinates":true} 
[2026-07-19 12:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817954048001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7120987057291264,"note":"Value kept but may cause issues"} 
[2026-07-19 12:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934879232,"note":"Value kept but may cause issues"} 
[2026-07-19 12:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784445154000,"timestamp_ms":1784445154000,"timestamp_seconds":1784445154,"priority":1,"record_length":96,"hex_timestamp":"0000019f793832d0"} 
[2026-07-19 12:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:46:30] 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-07-19 12:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-19 12:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":136593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":136593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":136593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817954048001,"66":13015,"120":206,"28":31744,"24":1,"16":7120987057291264,"45":1739726492934879232},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817954048001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:46:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:46:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7120987057291264,"km_value":7120987057291.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934879232,"description":"Unknown IO ID 45"} 
[2026-07-19 12:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817954048001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1739726492934879232}} 
[2026-07-19 12:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":136593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:46:30] local.INFO: GPS data processed {"connection_id":136593,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:46:30] local.INFO: Acknowledgment sent {"connection_id":136593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:46:31] local.INFO: TCP Data received {"connection_id":138941,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:46:31] local.INFO: Processing buffer {"connection_id":138941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:46:31] local.INFO: IMEI packet received {"connection_id":138941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":138941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:46:36] local.INFO: TCP Data received {"connection_id":138941,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:46:36] local.INFO: Processing buffer {"connection_id":138941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:46:36] local.INFO: IMEI packet received {"connection_id":138941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":138941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:46:37] local.INFO: TCP Data received {"connection_id":138941,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:46:37] local.INFO: Processing buffer {"connection_id":138941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:46:37] local.INFO: Packet analysis {"connection_id":138941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:46:37] local.INFO: Extracted packet for processing {"connection_id":138941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817883392001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:46: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-07-19 12:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784445158000,"timestamp_ms":1784445158000,"timestamp_seconds":1784445158,"priority":1,"record_length":96,"hex_timestamp":"0000019f79384270"} 
[2026-07-19 12:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 12:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817883392001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817883392001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:46:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817883392001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":138941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:46:37] local.INFO: GPS data processed {"connection_id":138941,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:46:37] local.INFO: Acknowledgment sent {"connection_id":138941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:46:51] local.INFO: TCP Data received {"connection_id":137531,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:46:51] local.INFO: Processing buffer {"connection_id":137531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:46:51] local.INFO: IMEI packet received {"connection_id":137531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":137531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:46:57] local.INFO: TCP Data received {"connection_id":137531,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:46:57] local.INFO: Processing buffer {"connection_id":137531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:46:57] local.INFO: IMEI packet received {"connection_id":137531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":137531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:46:58] local.INFO: TCP Data received {"connection_id":137531,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f793884d8012d1822c00721b598004a01242b..."} 
[2026-07-19 12:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793884d8012d1822c00721b598004a01242b..."} 
[2026-07-19 12:46:58] local.INFO: Processing buffer {"connection_id":137531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793884d8012d1822c00721b598004a01242b..."} 
[2026-07-19 12:46:58] local.INFO: Packet analysis {"connection_id":137531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:46:58] local.INFO: Extracted packet for processing {"connection_id":137531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:46:58] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649688,"longitude_deg":75.655648,"latitude_deg":11.9649688,"altitude":74,"angle":292,"satellites":43,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b598","is_valid_coordinates":true} 
[2026-07-19 12:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817959424001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121004237160448,"note":"Value kept but may cause issues"} 
[2026-07-19 12:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725543424,"note":"Value kept but may cause issues"} 
[2026-07-19 12:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784445175000,"timestamp_ms":1784445175000,"timestamp_seconds":1784445175,"priority":1,"record_length":96,"hex_timestamp":"0000019f793884d8"} 
[2026-07-19 12:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-19 12:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":137531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":137531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":137531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817959424001,"66":12961,"120":206,"28":31744,"24":0,"16":7121004237160448,"45":1739233911725543424},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817959424001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:46:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:46:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121004237160448,"km_value":7121004237160.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725543424,"description":"Unknown IO ID 45"} 
[2026-07-19 12:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817959424001,"power":12961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725543424}} 
[2026-07-19 12:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":137531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:46:58] local.INFO: GPS data processed {"connection_id":137531,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:46:58] local.INFO: Acknowledgment sent {"connection_id":137531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:47:09] local.INFO: TCP Data received {"connection_id":138941,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:47:09] local.INFO: Processing buffer {"connection_id":138941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:47:09] local.INFO: Packet analysis {"connection_id":138941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:47:09] local.INFO: Extracted packet for processing {"connection_id":138941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817883392001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12: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-07-19 12:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784445158000,"timestamp_ms":1784445158000,"timestamp_seconds":1784445158,"priority":1,"record_length":96,"hex_timestamp":"0000019f79384270"} 
[2026-07-19 12:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 12:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:47:09] 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-07-19 12:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817883392001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817883392001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:47:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817883392001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":138941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:47:09] local.INFO: GPS data processed {"connection_id":138941,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:47:09] local.INFO: Acknowledgment sent {"connection_id":138941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:47:30] local.INFO: TCP Data received {"connection_id":137531,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7938d6e0012d1822c00721b598004a01242c..."} 
[2026-07-19 12:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7938d6e0012d1822c00721b598004a01242c..."} 
[2026-07-19 12:47:30] local.INFO: Processing buffer {"connection_id":137531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7938d6e0012d1822c00721b598004a01242c..."} 
[2026-07-19 12:47:30] local.INFO: Packet analysis {"connection_id":137531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:47:30] local.INFO: Extracted packet for processing {"connection_id":137531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:47:30] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649688,"longitude_deg":75.655648,"latitude_deg":11.9649688,"altitude":74,"angle":292,"satellites":44,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b598","is_valid_coordinates":true} 
[2026-07-19 12:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817964800001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121004237160448,"note":"Value kept but may cause issues"} 
[2026-07-19 12:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981285888,"note":"Value kept but may cause issues"} 
[2026-07-19 12:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784445196000,"timestamp_ms":1784445196000,"timestamp_seconds":1784445196,"priority":1,"record_length":96,"hex_timestamp":"0000019f7938d6e0"} 
[2026-07-19 12:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:47:30] 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-07-19 12:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-19 12:47:30] 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-07-19 12:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":137531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":137531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":137531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817964800001,"66":12993,"120":206,"28":31744,"24":0,"16":7121004237160448,"45":1739163542981285888},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817964800001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:47:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:47:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121004237160448,"km_value":7121004237160.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981285888,"description":"Unknown IO ID 45"} 
[2026-07-19 12:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817964800001,"power":12993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981285888}} 
[2026-07-19 12:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":137531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:47:30] local.INFO: GPS data processed {"connection_id":137531,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:47:30] local.INFO: Acknowledgment sent {"connection_id":137531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:47:31] local.INFO: TCP Data received {"connection_id":136453,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:47:31] local.INFO: Processing buffer {"connection_id":136453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:47:31] local.INFO: IMEI packet received {"connection_id":136453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":136453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:47:36] local.INFO: TCP Data received {"connection_id":136453,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:47:36] local.INFO: Processing buffer {"connection_id":136453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:47:36] local.INFO: IMEI packet received {"connection_id":136453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":136453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:47:37] local.INFO: TCP Data received {"connection_id":136453,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:47:37] local.INFO: Processing buffer {"connection_id":136453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:47:37] local.INFO: Packet analysis {"connection_id":136453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:47:37] local.INFO: Extracted packet for processing {"connection_id":136453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:47:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817883392001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12: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-07-19 12:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784445158000,"timestamp_ms":1784445158000,"timestamp_seconds":1784445158,"priority":1,"record_length":96,"hex_timestamp":"0000019f79384270"} 
[2026-07-19 12:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 12:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817883392001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817883392001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:47:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:47:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817883392001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":136453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:47:38] local.INFO: GPS data processed {"connection_id":136453,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:47:38] local.INFO: Acknowledgment sent {"connection_id":136453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:47:57] local.INFO: TCP Data received {"connection_id":136595,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:47:57] local.INFO: Processing buffer {"connection_id":136595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:47:57] local.INFO: IMEI packet received {"connection_id":136595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":136595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:47:57] local.INFO: TCP Data received {"connection_id":137532,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:47:57] local.INFO: Processing buffer {"connection_id":137532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:47:57] local.INFO: IMEI packet received {"connection_id":137532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 12:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":137532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:48:02] local.INFO: TCP Data received {"connection_id":136595,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:48:02] local.INFO: Processing buffer {"connection_id":136595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:48:02] local.INFO: IMEI packet received {"connection_id":136595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":136595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:48:03] local.INFO: TCP Data received {"connection_id":136595,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f793928e8012d1822c00721b598004a01242c..."} 
[2026-07-19 12:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793928e8012d1822c00721b598004a01242c..."} 
[2026-07-19 12:48:03] local.INFO: Processing buffer {"connection_id":136595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793928e8012d1822c00721b598004a01242c..."} 
[2026-07-19 12:48:03] local.INFO: Packet analysis {"connection_id":136595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7939"} 
[2026-07-19 12:48:03] local.INFO: Extracted packet for processing {"connection_id":136595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7939"} 
[2026-07-19 12:48:03] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649688,"longitude_deg":75.655648,"latitude_deg":11.9649688,"altitude":74,"angle":292,"satellites":44,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b598","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817970176001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121004237160448,"note":"Value kept but may cause issues"} 
[2026-07-19 12:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981285888,"note":"Value kept but may cause issues"} 
[2026-07-19 12:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784445217000,"timestamp_ms":1784445217000,"timestamp_seconds":1784445217,"priority":1,"record_length":96,"hex_timestamp":"0000019f793928e8"} 
[2026-07-19 12:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-19 12:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":136595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":136595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":136595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817970176001,"66":12972,"120":206,"28":31744,"24":0,"16":7121004237160448,"45":1739163542981285888},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817970176001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:48:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:48:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121004237160448,"km_value":7121004237160.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981285888,"description":"Unknown IO ID 45"} 
[2026-07-19 12:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817970176001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981285888}} 
[2026-07-19 12:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":136595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:48:03] local.INFO: GPS data processed {"connection_id":136595,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:48:03] local.INFO: Acknowledgment sent {"connection_id":136595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:48:04] local.INFO: TCP Data received {"connection_id":136595,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79397af0012d1822c00721b598004a01242d..."} 
[2026-07-19 12:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79397af0012d1822c00721b598004a01242d..."} 
[2026-07-19 12:48:04] local.INFO: Processing buffer {"connection_id":136595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79397af0012d1822c00721b598004a01242d..."} 
[2026-07-19 12:48:04] local.INFO: Packet analysis {"connection_id":136595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7939"} 
[2026-07-19 12:48:04] local.INFO: Extracted packet for processing {"connection_id":136595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7939"} 
[2026-07-19 12:48:04] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649688,"longitude_deg":75.655648,"latitude_deg":11.9649688,"altitude":74,"angle":292,"satellites":45,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b598","is_valid_coordinates":true} 
[2026-07-19 12:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817975552001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121004237160448,"note":"Value kept but may cause issues"} 
[2026-07-19 12:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981285888,"note":"Value kept but may cause issues"} 
[2026-07-19 12:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784445238000,"timestamp_ms":1784445238000,"timestamp_seconds":1784445238,"priority":1,"record_length":96,"hex_timestamp":"0000019f79397af0"} 
[2026-07-19 12:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-19 12:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":136595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":136595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":136595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817975552001,"66":12961,"120":206,"28":31744,"24":0,"16":7121004237160448,"45":1739163542981285888},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817975552001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:48:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:48:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121004237160448,"km_value":7121004237160.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981285888,"description":"Unknown IO ID 45"} 
[2026-07-19 12:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817975552001,"power":12961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981285888}} 
[2026-07-19 12:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":136595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:48:04] local.INFO: GPS data processed {"connection_id":136595,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:48:04] local.INFO: Acknowledgment sent {"connection_id":136595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:48:09] local.INFO: TCP Data received {"connection_id":136453,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:48:09] local.INFO: Processing buffer {"connection_id":136453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79384270012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:48:09] local.INFO: Packet analysis {"connection_id":136453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:48:09] local.INFO: Extracted packet for processing {"connection_id":136453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7938"} 
[2026-07-19 12:48:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817883392001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:48: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-07-19 12:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784445158000,"timestamp_ms":1784445158000,"timestamp_seconds":1784445158,"priority":1,"record_length":96,"hex_timestamp":"0000019f79384270"} 
[2026-07-19 12:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 12:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:48: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-07-19 12:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817883392001,"66":25582,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817883392001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:48:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:48:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817883392001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":136453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:48:09] local.INFO: GPS data processed {"connection_id":136453,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:48:09] local.INFO: Acknowledgment sent {"connection_id":136453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:48:27] local.INFO: TCP Data received {"connection_id":136454,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:48:27] local.INFO: Processing buffer {"connection_id":136454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:48:27] local.INFO: IMEI packet received {"connection_id":136454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 12:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":136454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:48:31] local.INFO: TCP Data received {"connection_id":136455,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:48:31] local.INFO: Processing buffer {"connection_id":136455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:48:31] local.INFO: IMEI packet received {"connection_id":136455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":136455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:48:36] local.INFO: TCP Data received {"connection_id":136595,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7939ccf8012d1822c00721b598004a01242d..."} 
[2026-07-19 12:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7939ccf8012d1822c00721b598004a01242d..."} 
[2026-07-19 12:48:36] local.INFO: Processing buffer {"connection_id":136595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7939ccf8012d1822c00721b598004a01242d..."} 
[2026-07-19 12:48:36] local.INFO: Packet analysis {"connection_id":136595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7939"} 
[2026-07-19 12:48:36] local.INFO: Extracted packet for processing {"connection_id":136595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7939"} 
[2026-07-19 12:48:36] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649688,"longitude_deg":75.655648,"latitude_deg":11.9649688,"altitude":74,"angle":292,"satellites":45,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b598","is_valid_coordinates":true} 
[2026-07-19 12:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817980928001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121004237160448,"note":"Value kept but may cause issues"} 
[2026-07-19 12:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981285888,"note":"Value kept but may cause issues"} 
[2026-07-19 12:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784445259000,"timestamp_ms":1784445259000,"timestamp_seconds":1784445259,"priority":1,"record_length":96,"hex_timestamp":"0000019f7939ccf8"} 
[2026-07-19 12:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:48:36] 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-07-19 12:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-19 12:48:36] 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-07-19 12:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817980928001,"66":12928,"120":206,"28":31744,"24":0,"16":7121004237160448,"45":1739163542981285888},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817980928001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:48:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:48:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121004237160448,"km_value":7121004237160.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981285888,"description":"Unknown IO ID 45"} 
[2026-07-19 12:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817980928001,"power":12928,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981285888}} 
[2026-07-19 12:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":136595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:48:36] local.INFO: GPS data processed {"connection_id":136595,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:48:36] local.INFO: Acknowledgment sent {"connection_id":136595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:48:41] local.INFO: TCP Data received {"connection_id":136455,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:48:41] local.INFO: Processing buffer {"connection_id":136455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:48:41] local.INFO: IMEI packet received {"connection_id":136455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":136455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:48:41] local.INFO: TCP Data received {"connection_id":136455,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:48:41] local.INFO: Processing buffer {"connection_id":136455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:48:41] local.INFO: IMEI packet received {"connection_id":136455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":136455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:48:42] local.INFO: TCP Data received {"connection_id":136455,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:48:42] local.INFO: Processing buffer {"connection_id":136455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:48:42] local.INFO: Packet analysis {"connection_id":136455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f793c"} 
[2026-07-19 12:48:42] local.INFO: Extracted packet for processing {"connection_id":136455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f793c"} 
[2026-07-19 12:48:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817960448001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784445459000,"timestamp_ms":1784445459000,"timestamp_seconds":1784445459,"priority":1,"record_length":96,"hex_timestamp":"0000019f793cda38"} 
[2026-07-19 12:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:48:42] 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-07-19 12: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-07-19 12:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817960448001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 12:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817960448001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:48:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:48:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817960448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":136455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:48:42] local.INFO: GPS data processed {"connection_id":136455,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:48:42] local.INFO: Acknowledgment sent {"connection_id":136455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:48:47] local.INFO: TCP Data received {"connection_id":136455,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:48:47] local.INFO: Processing buffer {"connection_id":136455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:48:47] local.INFO: Packet analysis {"connection_id":136455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f793c"} 
[2026-07-19 12:48:47] local.INFO: Extracted packet for processing {"connection_id":136455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f793c"} 
[2026-07-19 12:48:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817960448001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784445459000,"timestamp_ms":1784445459000,"timestamp_seconds":1784445459,"priority":1,"record_length":96,"hex_timestamp":"0000019f793cda38"} 
[2026-07-19 12:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817960448001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 12:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817960448001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:48:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:48:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817960448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":136455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:48:47] local.INFO: GPS data processed {"connection_id":136455,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:48:47] local.INFO: Acknowledgment sent {"connection_id":136455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:48:52] local.INFO: TCP Data received {"connection_id":138942,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:48:52] local.INFO: Processing buffer {"connection_id":138942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:48:52] local.INFO: IMEI packet received {"connection_id":138942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":138942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:48:57] local.INFO: TCP Data received {"connection_id":138942,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:48:57] local.INFO: Processing buffer {"connection_id":138942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:48:57] local.INFO: IMEI packet received {"connection_id":138942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":138942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:48:58] local.INFO: TCP Data received {"connection_id":138942,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f793a1f00012d1822c00721b598004a01242d..."} 
[2026-07-19 12:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793a1f00012d1822c00721b598004a01242d..."} 
[2026-07-19 12:48:58] local.INFO: Processing buffer {"connection_id":138942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793a1f00012d1822c00721b598004a01242d..."} 
[2026-07-19 12:48:58] local.INFO: Packet analysis {"connection_id":138942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f793a"} 
[2026-07-19 12:48:58] local.INFO: Extracted packet for processing {"connection_id":138942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f793a"} 
[2026-07-19 12:48:58] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649688,"longitude_deg":75.655648,"latitude_deg":11.9649688,"altitude":74,"angle":292,"satellites":45,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b598","is_valid_coordinates":true} 
[2026-07-19 12:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817986304001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121004237160448,"note":"Value kept but may cause issues"} 
[2026-07-19 12:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981285888,"note":"Value kept but may cause issues"} 
[2026-07-19 12:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784445280000,"timestamp_ms":1784445280000,"timestamp_seconds":1784445280,"priority":1,"record_length":96,"hex_timestamp":"0000019f793a1f00"} 
[2026-07-19 12:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:48: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-07-19 12:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-19 12:48:58] 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-07-19 12:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":138942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":138942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":138942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817986304001,"66":12917,"120":206,"28":31744,"24":0,"16":7121004237160448,"45":1739163542981285888},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817986304001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:48:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:48:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121004237160448,"km_value":7121004237160.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981285888,"description":"Unknown IO ID 45"} 
[2026-07-19 12:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817986304001,"power":12917,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981285888}} 
[2026-07-19 12:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":138942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:48:58] local.INFO: GPS data processed {"connection_id":138942,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:48:58] local.INFO: Acknowledgment sent {"connection_id":138942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:49:29] local.INFO: TCP Data received {"connection_id":138942,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f793a7108012d1822c00721b598004a01242a..."} 
[2026-07-19 12:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793a7108012d1822c00721b598004a01242a..."} 
[2026-07-19 12:49:29] local.INFO: Processing buffer {"connection_id":138942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793a7108012d1822c00721b598004a01242a..."} 
[2026-07-19 12:49:29] local.INFO: Packet analysis {"connection_id":138942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f793a"} 
[2026-07-19 12:49:29] local.INFO: Extracted packet for processing {"connection_id":138942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f793a"} 
[2026-07-19 12:49:29] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649688,"longitude_deg":75.655648,"latitude_deg":11.9649688,"altitude":74,"angle":292,"satellites":42,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b598","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817991680001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121004237160448,"note":"Value kept but may cause issues"} 
[2026-07-19 12:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981285888,"note":"Value kept but may cause issues"} 
[2026-07-19 12:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784445301000,"timestamp_ms":1784445301000,"timestamp_seconds":1784445301,"priority":1,"record_length":96,"hex_timestamp":"0000019f793a7108"} 
[2026-07-19 12:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-19 12:49:29] 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-07-19 12: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-07-19 12:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":138942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":138942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":138942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817991680001,"66":12841,"120":206,"28":31744,"24":0,"16":7121004237160448,"45":1739163542981285888},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817991680001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:49:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:49:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121004237160448,"km_value":7121004237160.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981285888,"description":"Unknown IO ID 45"} 
[2026-07-19 12:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817991680001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981285888}} 
[2026-07-19 12:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":138942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:49:29] local.INFO: GPS data processed {"connection_id":138942,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:49:29] local.INFO: Acknowledgment sent {"connection_id":138942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:49:36] local.INFO: TCP Data received {"connection_id":137534,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:49:36] local.INFO: Processing buffer {"connection_id":137534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:49:36] local.INFO: IMEI packet received {"connection_id":137534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":137534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:49:41] local.INFO: TCP Data received {"connection_id":137534,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:49:41] local.INFO: Processing buffer {"connection_id":137534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:49:41] local.INFO: IMEI packet received {"connection_id":137534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":137534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:49:43] local.INFO: TCP Data received {"connection_id":137534,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:49:43] local.INFO: Processing buffer {"connection_id":137534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:49:43] local.INFO: Packet analysis {"connection_id":137534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f793c"} 
[2026-07-19 12:49:43] local.INFO: Extracted packet for processing {"connection_id":137534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f793c"} 
[2026-07-19 12:49:43] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:49: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-07-19 12:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817960448001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:49: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-07-19 12:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784445459000,"timestamp_ms":1784445459000,"timestamp_seconds":1784445459,"priority":1,"record_length":96,"hex_timestamp":"0000019f793cda38"} 
[2026-07-19 12:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:49:43] 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-07-19 12:49: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-07-19 12:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817960448001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817960448001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:49:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:49:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817960448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":137534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:49:43] local.INFO: GPS data processed {"connection_id":137534,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:49:43] local.INFO: Acknowledgment sent {"connection_id":137534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:49:47] local.INFO: TCP Data received {"connection_id":137534,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:49:47] local.INFO: Processing buffer {"connection_id":137534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:49:47] local.INFO: Packet analysis {"connection_id":137534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f793c"} 
[2026-07-19 12:49:47] local.INFO: Extracted packet for processing {"connection_id":137534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f793c"} 
[2026-07-19 12:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817960448001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784445459000,"timestamp_ms":1784445459000,"timestamp_seconds":1784445459,"priority":1,"record_length":96,"hex_timestamp":"0000019f793cda38"} 
[2026-07-19 12:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":137534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":137534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":137534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817960448001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817960448001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:49:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:49:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817960448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":137534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:49:47] local.INFO: GPS data processed {"connection_id":137534,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:49:47] local.INFO: Acknowledgment sent {"connection_id":137534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:49:51] local.INFO: TCP Data received {"connection_id":138943,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:49:51] local.INFO: Processing buffer {"connection_id":138943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:49:51] local.INFO: IMEI packet received {"connection_id":138943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":138943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:49:57] local.INFO: TCP Data received {"connection_id":138943,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:49:57] local.INFO: Processing buffer {"connection_id":138943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:49:57] local.INFO: IMEI packet received {"connection_id":138943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":138943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:49:58] local.INFO: TCP Data received {"connection_id":138943,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f793ac310012d1822c00721b598004a01242d..."} 
[2026-07-19 12:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793ac310012d1822c00721b598004a01242d..."} 
[2026-07-19 12:49:58] local.INFO: Processing buffer {"connection_id":138943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793ac310012d1822c00721b598004a01242d..."} 
[2026-07-19 12:49:58] local.INFO: Packet analysis {"connection_id":138943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f793a"} 
[2026-07-19 12:49:58] local.INFO: Extracted packet for processing {"connection_id":138943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f793a"} 
[2026-07-19 12:49:58] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649688,"longitude_deg":75.655648,"latitude_deg":11.9649688,"altitude":74,"angle":292,"satellites":45,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b598","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817997056001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121004237160448,"note":"Value kept but may cause issues"} 
[2026-07-19 12:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981285888,"note":"Value kept but may cause issues"} 
[2026-07-19 12:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784445322000,"timestamp_ms":1784445322000,"timestamp_seconds":1784445322,"priority":1,"record_length":96,"hex_timestamp":"0000019f793ac310"} 
[2026-07-19 12:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:49: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-07-19 12: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-19 12:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":138943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":138943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":138943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817997056001,"66":12743,"120":206,"28":31744,"24":0,"16":7121004237160448,"45":1739163542981285888},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817997056001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:49:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:49:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121004237160448,"km_value":7121004237160.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981285888,"description":"Unknown IO ID 45"} 
[2026-07-19 12:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817997056001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981285888}} 
[2026-07-19 12:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":138943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:49:58] local.INFO: GPS data processed {"connection_id":138943,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:49:58] local.INFO: Acknowledgment sent {"connection_id":138943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:50:29] local.INFO: TCP Data received {"connection_id":138943,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f793e35e0012d1821c00721b408004b00d62d..."} 
[2026-07-19 12:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793e35e0012d1821c00721b408004b00d62d..."} 
[2026-07-19 12:50:29] local.INFO: Processing buffer {"connection_id":138943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793e35e0012d1821c00721b408004b00d62d..."} 
[2026-07-19 12:50:29] local.INFO: Packet analysis {"connection_id":138943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f793e"} 
[2026-07-19 12:50:29] local.INFO: Extracted packet for processing {"connection_id":138943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f793e"} 
[2026-07-19 12:50:29] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649288,"longitude_deg":75.6556224,"latitude_deg":11.9649288,"altitude":75,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b408","is_valid_coordinates":true} 
[2026-07-19 12:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818054912001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121025711996928,"note":"Value kept but may cause issues"} 
[2026-07-19 12:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004472832,"note":"Value kept but may cause issues"} 
[2026-07-19 12:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784445548000,"timestamp_ms":1784445548000,"timestamp_seconds":1784445548,"priority":1,"record_length":96,"hex_timestamp":"0000019f793e35e0"} 
[2026-07-19 12:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-19 12:50:29] 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-07-19 12:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":138943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":138943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":138943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818054912001,"66":12678,"120":206,"28":31744,"24":0,"16":7121025711996928,"45":1738882068004472832},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818054912001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:50:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:50:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121025711996928,"km_value":7121025711996.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004472832,"description":"Unknown IO ID 45"} 
[2026-07-19 12:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818054912001,"power":12678,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004472832}} 
[2026-07-19 12:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":138943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:50:29] local.INFO: GPS data processed {"connection_id":138943,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:50:29] local.INFO: Acknowledgment sent {"connection_id":138943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:50:31] local.INFO: TCP Data received {"connection_id":137535,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:50:31] local.INFO: Processing buffer {"connection_id":137535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:50:31] local.INFO: IMEI packet received {"connection_id":137535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":137535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:50:36] local.INFO: TCP Data received {"connection_id":137535,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:50:36] local.INFO: Processing buffer {"connection_id":137535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:50:36] local.INFO: IMEI packet received {"connection_id":137535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":137535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:50:37] local.INFO: TCP Data received {"connection_id":137535,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:50:37] local.INFO: Processing buffer {"connection_id":137535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:50:37] local.INFO: Packet analysis {"connection_id":137535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f793c"} 
[2026-07-19 12:50:37] local.INFO: Extracted packet for processing {"connection_id":137535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f793c"} 
[2026-07-19 12:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817960448001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:50: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-07-19 12:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784445459000,"timestamp_ms":1784445459000,"timestamp_seconds":1784445459,"priority":1,"record_length":96,"hex_timestamp":"0000019f793cda38"} 
[2026-07-19 12:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:50: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-07-19 12:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817960448001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817960448001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817960448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":137535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:50:37] local.INFO: GPS data processed {"connection_id":137535,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:50:37] local.INFO: Acknowledgment sent {"connection_id":137535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:50:57] local.INFO: TCP Data received {"connection_id":137536,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:50:57] local.INFO: Processing buffer {"connection_id":137536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:50:57] local.INFO: IMEI packet received {"connection_id":137536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":137536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:51:01] local.INFO: TCP Data received {"connection_id":137536,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:51:02] local.INFO: Processing buffer {"connection_id":137536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:51:02] local.INFO: IMEI packet received {"connection_id":137536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":137536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:51:03] local.INFO: TCP Data received {"connection_id":137536,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f793e87e8012d1820400721b270004800df2c..."} 
[2026-07-19 12:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793e87e8012d1820400721b270004800df2c..."} 
[2026-07-19 12:51:03] local.INFO: Processing buffer {"connection_id":137536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793e87e8012d1820400721b270004800df2c..."} 
[2026-07-19 12:51:03] local.INFO: Packet analysis {"connection_id":137536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f793e"} 
[2026-07-19 12:51:03] local.INFO: Extracted packet for processing {"connection_id":137536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f793e"} 
[2026-07-19 12:51:03] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648880,"longitude_deg":75.655584,"latitude_deg":11.964888,"altitude":72,"angle":223,"satellites":44,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818060288001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121055776768000,"note":"Value kept but may cause issues"} 
[2026-07-19 12:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004472832,"note":"Value kept but may cause issues"} 
[2026-07-19 12:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784445569000,"timestamp_ms":1784445569000,"timestamp_seconds":1784445569,"priority":1,"record_length":96,"hex_timestamp":"0000019f793e87e8"} 
[2026-07-19 12:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:51:03] 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-07-19 12: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 12:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":137536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":137536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":137536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818060288001,"66":12678,"120":206,"28":31744,"24":0,"16":7121055776768000,"45":1738882068004472832},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818060288001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:51:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:51:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121055776768000,"km_value":7121055776768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004472832,"description":"Unknown IO ID 45"} 
[2026-07-19 12:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818060288001,"power":12678,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004472832}} 
[2026-07-19 12:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":137536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:51:03] local.INFO: GPS data processed {"connection_id":137536,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:51:03] local.INFO: Acknowledgment sent {"connection_id":137536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:51:07] local.INFO: TCP Data received {"connection_id":137536,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f793ed9f0012d1820400721b270004800df2b..."} 
[2026-07-19 12:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793ed9f0012d1820400721b270004800df2b..."} 
[2026-07-19 12:51:07] local.INFO: Processing buffer {"connection_id":137536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793ed9f0012d1820400721b270004800df2b..."} 
[2026-07-19 12:51:07] local.INFO: Packet analysis {"connection_id":137536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f793e"} 
[2026-07-19 12:51:07] local.INFO: Extracted packet for processing {"connection_id":137536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f793e"} 
[2026-07-19 12:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648880,"longitude_deg":75.655584,"latitude_deg":11.964888,"altitude":72,"angle":223,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818065664001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121055776768000,"note":"Value kept but may cause issues"} 
[2026-07-19 12:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539302400,"note":"Value kept but may cause issues"} 
[2026-07-19 12:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784445590000,"timestamp_ms":1784445590000,"timestamp_seconds":1784445590,"priority":1,"record_length":96,"hex_timestamp":"0000019f793ed9f0"} 
[2026-07-19 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-07-19 12:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 12:51:07] 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-07-19 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-07-19 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-07-19 12:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":137536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":137536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":137536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818065664001,"66":12015,"120":206,"28":31744,"24":0,"16":7121055776768000,"45":1738459855539302400},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818065664001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:51:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:51:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121055776768000,"km_value":7121055776768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539302400,"description":"Unknown IO ID 45"} 
[2026-07-19 12:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818065664001,"power":12015,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539302400}} 
[2026-07-19 12:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":137536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:51:07] local.INFO: GPS data processed {"connection_id":137536,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:51:07] local.INFO: Acknowledgment sent {"connection_id":137536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:51:09] local.INFO: TCP Data received {"connection_id":137535,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:51:09] local.INFO: Processing buffer {"connection_id":137535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:51:09] local.INFO: Packet analysis {"connection_id":137535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f793c"} 
[2026-07-19 12:51:09] local.INFO: Extracted packet for processing {"connection_id":137535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f793c"} 
[2026-07-19 12:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817960448001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:51: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-07-19 12:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784445459000,"timestamp_ms":1784445459000,"timestamp_seconds":1784445459,"priority":1,"record_length":96,"hex_timestamp":"0000019f793cda38"} 
[2026-07-19 12:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:51: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-07-19 12: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-07-19 12:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:51: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-07-19 12:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817960448001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817960448001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:51:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817960448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":137535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:51:09] local.INFO: GPS data processed {"connection_id":137535,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:51:09] local.INFO: Acknowledgment sent {"connection_id":137535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:51:32] local.INFO: TCP Data received {"connection_id":137537,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:51:32] local.INFO: Processing buffer {"connection_id":137537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:51:32] local.INFO: IMEI packet received {"connection_id":137537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":137537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:51:36] local.INFO: TCP Data received {"connection_id":137537,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:51:36] local.INFO: Processing buffer {"connection_id":137537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:51:36] local.INFO: IMEI packet received {"connection_id":137537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":137537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:51:37] local.INFO: TCP Data received {"connection_id":137537,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:51:37] local.INFO: Processing buffer {"connection_id":137537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:51:37] local.INFO: Packet analysis {"connection_id":137537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f793c"} 
[2026-07-19 12:51:37] local.INFO: Extracted packet for processing {"connection_id":137537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f793c"} 
[2026-07-19 12:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817960448001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:51: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-07-19 12:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784445459000,"timestamp_ms":1784445459000,"timestamp_seconds":1784445459,"priority":1,"record_length":96,"hex_timestamp":"0000019f793cda38"} 
[2026-07-19 12:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:51: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-07-19 12:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817960448001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817960448001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:51:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817960448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":137537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:51:37] local.INFO: GPS data processed {"connection_id":137537,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:51:37] local.INFO: Acknowledgment sent {"connection_id":137537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:51:52] local.INFO: TCP Data received {"connection_id":136456,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:51:52] local.INFO: Processing buffer {"connection_id":136456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:51:52] local.INFO: IMEI packet received {"connection_id":136456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":136456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:51:52] local.INFO: TCP Data received {"connection_id":136456,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:51:52] local.INFO: Processing buffer {"connection_id":136456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:51:52] local.INFO: IMEI packet received {"connection_id":136456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":136456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:51:57] local.INFO: TCP Data received {"connection_id":136456,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:51:57] local.INFO: Processing buffer {"connection_id":136456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:51:57] local.INFO: IMEI packet received {"connection_id":136456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":136456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:51:58] local.INFO: TCP Data received {"connection_id":136456,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f793f2bf8012d1820400721b270004800df2b..."} 
[2026-07-19 12:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793f2bf8012d1820400721b270004800df2b..."} 
[2026-07-19 12:51:58] local.INFO: Processing buffer {"connection_id":136456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793f2bf8012d1820400721b270004800df2b..."} 
[2026-07-19 12:51:58] local.INFO: Packet analysis {"connection_id":136456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f793f"} 
[2026-07-19 12:51:58] local.INFO: Extracted packet for processing {"connection_id":136456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f793f"} 
[2026-07-19 12:51:58] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648880,"longitude_deg":75.655584,"latitude_deg":11.964888,"altitude":72,"angle":223,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818071040001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121055776768000,"note":"Value kept but may cause issues"} 
[2026-07-19 12:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539302400,"note":"Value kept but may cause issues"} 
[2026-07-19 12:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784445611000,"timestamp_ms":1784445611000,"timestamp_seconds":1784445611,"priority":1,"record_length":96,"hex_timestamp":"0000019f793f2bf8"} 
[2026-07-19 12:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:51:58] 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-07-19 12: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-19 12:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818071040001,"66":12645,"120":206,"28":31744,"24":0,"16":7121055776768000,"45":1738459855539302400},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818071040001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:51:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:51:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121055776768000,"km_value":7121055776768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539302400,"description":"Unknown IO ID 45"} 
[2026-07-19 12:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818071040001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539302400}} 
[2026-07-19 12:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":136456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:51:58] local.INFO: GPS data processed {"connection_id":136456,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:51:58] local.INFO: Acknowledgment sent {"connection_id":136456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:52:02] local.INFO: TCP Data received {"connection_id":136456,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f793f7e00012d1820400721b270004800df2c..."} 
[2026-07-19 12:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793f7e00012d1820400721b270004800df2c..."} 
[2026-07-19 12:52:02] local.INFO: Processing buffer {"connection_id":136456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793f7e00012d1820400721b270004800df2c..."} 
[2026-07-19 12:52:02] local.INFO: Packet analysis {"connection_id":136456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f793f"} 
[2026-07-19 12:52:02] local.INFO: Extracted packet for processing {"connection_id":136456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f793f"} 
[2026-07-19 12:52:02] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648880,"longitude_deg":75.655584,"latitude_deg":11.964888,"altitude":72,"angle":223,"satellites":44,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-19 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-07-19 12:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818076416001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121055776768000,"note":"Value kept but may cause issues"} 
[2026-07-19 12:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539302400,"note":"Value kept but may cause issues"} 
[2026-07-19 12:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784445632000,"timestamp_ms":1784445632000,"timestamp_seconds":1784445632,"priority":1,"record_length":96,"hex_timestamp":"0000019f793f7e00"} 
[2026-07-19 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-07-19 12:52: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-07-19 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-19 12:52:02] 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-07-19 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-07-19 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-07-19 12:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818076416001,"66":12602,"120":206,"28":31744,"24":0,"16":7121055776768000,"45":1738459855539302400},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818076416001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:52:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:52:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121055776768000,"km_value":7121055776768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539302400,"description":"Unknown IO ID 45"} 
[2026-07-19 12:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818076416001,"power":12602,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539302400}} 
[2026-07-19 12:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":136456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:52:02] local.INFO: GPS data processed {"connection_id":136456,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:52:02] local.INFO: Acknowledgment sent {"connection_id":136456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:52:08] local.INFO: TCP Data received {"connection_id":137537,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:52:08] local.INFO: Processing buffer {"connection_id":137537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:52:08] local.INFO: Packet analysis {"connection_id":137537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f793c"} 
[2026-07-19 12:52:08] local.INFO: Extracted packet for processing {"connection_id":137537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f793c"} 
[2026-07-19 12:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817960448001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12: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-07-19 12:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784445459000,"timestamp_ms":1784445459000,"timestamp_seconds":1784445459,"priority":1,"record_length":96,"hex_timestamp":"0000019f793cda38"} 
[2026-07-19 12:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12: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":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:52: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-07-19 12:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817960448001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817960448001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:52:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817960448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":137537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:52:09] local.INFO: GPS data processed {"connection_id":137537,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:52:09] local.INFO: Acknowledgment sent {"connection_id":137537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:52:31] local.INFO: TCP Data received {"connection_id":138944,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:52:31] local.INFO: Processing buffer {"connection_id":138944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:52:31] local.INFO: IMEI packet received {"connection_id":138944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":138944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:52:33] local.INFO: TCP Data received {"connection_id":136456,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f793fd008012d1820400721b270004800df2c..."} 
[2026-07-19 12:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793fd008012d1820400721b270004800df2c..."} 
[2026-07-19 12:52:33] local.INFO: Processing buffer {"connection_id":136456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793fd008012d1820400721b270004800df2c..."} 
[2026-07-19 12:52:33] local.INFO: Packet analysis {"connection_id":136456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f793f"} 
[2026-07-19 12:52:33] local.INFO: Extracted packet for processing {"connection_id":136456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f793f"} 
[2026-07-19 12:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648880,"longitude_deg":75.655584,"latitude_deg":11.964888,"altitude":72,"angle":223,"satellites":44,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-19 12:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818081792001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121055776768000,"note":"Value kept but may cause issues"} 
[2026-07-19 12:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539302400,"note":"Value kept but may cause issues"} 
[2026-07-19 12:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784445653000,"timestamp_ms":1784445653000,"timestamp_seconds":1784445653,"priority":1,"record_length":96,"hex_timestamp":"0000019f793fd008"} 
[2026-07-19 12:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:52:33] 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-07-19 12:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-19 12:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":136456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":136456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":136456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818081792001,"66":12613,"120":206,"28":31744,"24":0,"16":7121055776768000,"45":1738459855539302400},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818081792001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:52:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:52:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121055776768000,"km_value":7121055776768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539302400,"description":"Unknown IO ID 45"} 
[2026-07-19 12:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818081792001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539302400}} 
[2026-07-19 12:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":136456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:52:33] local.INFO: GPS data processed {"connection_id":136456,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:52:33] local.INFO: Acknowledgment sent {"connection_id":136456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:52:36] local.INFO: TCP Data received {"connection_id":138944,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:52:36] local.INFO: Processing buffer {"connection_id":138944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:52:36] local.INFO: IMEI packet received {"connection_id":138944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":138944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:52:37] local.INFO: TCP Data received {"connection_id":138944,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:52:37] local.INFO: Processing buffer {"connection_id":138944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:52:37] local.INFO: Packet analysis {"connection_id":138944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f793c"} 
[2026-07-19 12:52:37] local.INFO: Extracted packet for processing {"connection_id":138944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f793c"} 
[2026-07-19 12:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817960448001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12: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-07-19 12:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784445459000,"timestamp_ms":1784445459000,"timestamp_seconds":1784445459,"priority":1,"record_length":96,"hex_timestamp":"0000019f793cda38"} 
[2026-07-19 12:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:52: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-07-19 12: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-07-19 12:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817960448001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817960448001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:52:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817960448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":138944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:52:37] local.INFO: GPS data processed {"connection_id":138944,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:52:37] local.INFO: Acknowledgment sent {"connection_id":138944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:52:52] local.INFO: TCP Data received {"connection_id":138945,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:52:52] local.INFO: Processing buffer {"connection_id":138945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:52:52] local.INFO: IMEI packet received {"connection_id":138945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":138945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:52:56] local.INFO: TCP Data received {"connection_id":138945,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:52:56] local.INFO: Processing buffer {"connection_id":138945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:52:56] local.INFO: IMEI packet received {"connection_id":138945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":138945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:52:58] local.INFO: TCP Data received {"connection_id":138945,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79402210012d1820400721b270004800df2b..."} 
[2026-07-19 12:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79402210012d1820400721b270004800df2b..."} 
[2026-07-19 12:52:58] local.INFO: Processing buffer {"connection_id":138945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79402210012d1820400721b270004800df2b..."} 
[2026-07-19 12:52:58] local.INFO: Packet analysis {"connection_id":138945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7940"} 
[2026-07-19 12:52:58] local.INFO: Extracted packet for processing {"connection_id":138945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7940"} 
[2026-07-19 12:52:58] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648880,"longitude_deg":75.655584,"latitude_deg":11.964888,"altitude":72,"angle":223,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-19 12:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818087168001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121055776768000,"note":"Value kept but may cause issues"} 
[2026-07-19 12:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539302400,"note":"Value kept but may cause issues"} 
[2026-07-19 12:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784445674000,"timestamp_ms":1784445674000,"timestamp_seconds":1784445674,"priority":1,"record_length":96,"hex_timestamp":"0000019f79402210"} 
[2026-07-19 12:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-19 12:52:58] 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-07-19 12:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":138945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":138945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":138945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818087168001,"66":12580,"120":206,"28":31744,"24":0,"16":7121055776768000,"45":1738459855539302400},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818087168001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:52:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:52:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121055776768000,"km_value":7121055776768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539302400,"description":"Unknown IO ID 45"} 
[2026-07-19 12:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818087168001,"power":12580,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539302400}} 
[2026-07-19 12:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":138945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:52:58] local.INFO: GPS data processed {"connection_id":138945,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:52:58] local.INFO: Acknowledgment sent {"connection_id":138945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:53:09] local.INFO: TCP Data received {"connection_id":138944,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:53:09] local.INFO: Processing buffer {"connection_id":138944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f793cda38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:53:09] local.INFO: Packet analysis {"connection_id":138944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f793c"} 
[2026-07-19 12:53:09] local.INFO: Extracted packet for processing {"connection_id":138944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f793c"} 
[2026-07-19 12:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456817960448001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:53: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-07-19 12:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784445459000,"timestamp_ms":1784445459000,"timestamp_seconds":1784445459,"priority":1,"record_length":96,"hex_timestamp":"0000019f793cda38"} 
[2026-07-19 12:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:53: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-07-19 12:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:53:09] 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-07-19 12:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456817960448001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456817960448001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:53:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:53:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456817960448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":138944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:53:09] local.INFO: GPS data processed {"connection_id":138944,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:53:09] local.INFO: Acknowledgment sent {"connection_id":138944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:53:29] local.INFO: TCP Data received {"connection_id":138945,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79407418012d1820400721b270004800df2a..."} 
[2026-07-19 12:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79407418012d1820400721b270004800df2a..."} 
[2026-07-19 12:53:29] local.INFO: Processing buffer {"connection_id":138945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79407418012d1820400721b270004800df2a..."} 
[2026-07-19 12:53:29] local.INFO: Packet analysis {"connection_id":138945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7940"} 
[2026-07-19 12:53:29] local.INFO: Extracted packet for processing {"connection_id":138945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7940"} 
[2026-07-19 12:53:29] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648880,"longitude_deg":75.655584,"latitude_deg":11.964888,"altitude":72,"angle":223,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-19 12:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818092544001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121055776768000,"note":"Value kept but may cause issues"} 
[2026-07-19 12:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539302400,"note":"Value kept but may cause issues"} 
[2026-07-19 12:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784445695000,"timestamp_ms":1784445695000,"timestamp_seconds":1784445695,"priority":1,"record_length":96,"hex_timestamp":"0000019f79407418"} 
[2026-07-19 12:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:53: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-07-19 12:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-19 12:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":138945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":138945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":138945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818092544001,"66":12591,"120":206,"28":31744,"24":0,"16":7121055776768000,"45":1738459855539302400},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818092544001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:53:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:53:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121055776768000,"km_value":7121055776768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539302400,"description":"Unknown IO ID 45"} 
[2026-07-19 12:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818092544001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539302400}} 
[2026-07-19 12:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":138945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:53:30] local.INFO: GPS data processed {"connection_id":138945,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:53:30] local.INFO: Acknowledgment sent {"connection_id":138945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:53:31] local.INFO: TCP Data received {"connection_id":136457,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:53:31] local.INFO: Processing buffer {"connection_id":136457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:53:31] local.INFO: IMEI packet received {"connection_id":136457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":136457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:53:36] local.INFO: TCP Data received {"connection_id":136457,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:53:36] local.INFO: Processing buffer {"connection_id":136457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:53:36] local.INFO: IMEI packet received {"connection_id":136457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":136457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:53:37] local.INFO: TCP Data received {"connection_id":136457,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:53:37] local.INFO: Processing buffer {"connection_id":136457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:53:37] local.INFO: Packet analysis {"connection_id":136457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:53:37] local.INFO: Extracted packet for processing {"connection_id":136457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818037504001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:53: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-07-19 12:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784445760000,"timestamp_ms":1784445760000,"timestamp_seconds":1784445760,"priority":1,"record_length":96,"hex_timestamp":"0000019f79417200"} 
[2026-07-19 12:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 12:53: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-07-19 12:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:53: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-07-19 12:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818037504001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818037504001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:53:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818037504001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":136457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:53:37] local.INFO: GPS data processed {"connection_id":136457,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:53:37] local.INFO: Acknowledgment sent {"connection_id":136457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:53:51] local.INFO: TCP Data received {"connection_id":136600,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:53:51] local.INFO: Processing buffer {"connection_id":136600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:53:51] local.INFO: IMEI packet received {"connection_id":136600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":136600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:53:56] local.INFO: TCP Data received {"connection_id":136600,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:53:56] local.INFO: Processing buffer {"connection_id":136600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:53:56] local.INFO: IMEI packet received {"connection_id":136600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":136600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:53:56] local.INFO: TCP Data received {"connection_id":136599,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:53:56] local.INFO: Processing buffer {"connection_id":136599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:53:56] local.INFO: IMEI packet received {"connection_id":136599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 12:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":136599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:53:57] local.INFO: TCP Data received {"connection_id":136600,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7940c620012d1820400721b270004800df2a..."} 
[2026-07-19 12:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7940c620012d1820400721b270004800df2a..."} 
[2026-07-19 12:53:57] local.INFO: Processing buffer {"connection_id":136600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7940c620012d1820400721b270004800df2a..."} 
[2026-07-19 12:53:57] local.INFO: Packet analysis {"connection_id":136600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7940"} 
[2026-07-19 12:53:57] local.INFO: Extracted packet for processing {"connection_id":136600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7940"} 
[2026-07-19 12:53:57] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648880,"longitude_deg":75.655584,"latitude_deg":11.964888,"altitude":72,"angle":223,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-19 12:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818097920001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121055776768000,"note":"Value kept but may cause issues"} 
[2026-07-19 12:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539302400,"note":"Value kept but may cause issues"} 
[2026-07-19 12:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784445716000,"timestamp_ms":1784445716000,"timestamp_seconds":1784445716,"priority":1,"record_length":96,"hex_timestamp":"0000019f7940c620"} 
[2026-07-19 12:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:53:57] 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-07-19 12:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 12:53:57] 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-07-19 12:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818097920001,"66":12548,"120":206,"28":31744,"24":0,"16":7121055776768000,"45":1738459855539302400},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818097920001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:53:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:53:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121055776768000,"km_value":7121055776768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539302400,"description":"Unknown IO ID 45"} 
[2026-07-19 12:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818097920001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539302400}} 
[2026-07-19 12:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":136600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:53:57] local.INFO: GPS data processed {"connection_id":136600,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:53:57] local.INFO: Acknowledgment sent {"connection_id":136600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:54:08] local.INFO: TCP Data received {"connection_id":136457,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:54:08] local.INFO: Processing buffer {"connection_id":136457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:54:08] local.INFO: Packet analysis {"connection_id":136457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:54:08] local.INFO: Extracted packet for processing {"connection_id":136457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818037504001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12: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-07-19 12:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784445760000,"timestamp_ms":1784445760000,"timestamp_seconds":1784445760,"priority":1,"record_length":96,"hex_timestamp":"0000019f79417200"} 
[2026-07-19 12:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 12:54: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-07-19 12: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-07-19 12:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:54: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-07-19 12:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818037504001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818037504001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:54:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818037504001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":136457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:54:08] local.INFO: GPS data processed {"connection_id":136457,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:54:08] local.INFO: Acknowledgment sent {"connection_id":136457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:54:26] local.INFO: TCP Data received {"connection_id":137538,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:54:26] local.INFO: Processing buffer {"connection_id":137538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:54:26] local.INFO: IMEI packet received {"connection_id":137538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 12:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":137538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:54:29] local.INFO: TCP Data received {"connection_id":136600,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79411828012d1820400721b270004800df29..."} 
[2026-07-19 12:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79411828012d1820400721b270004800df29..."} 
[2026-07-19 12:54:29] local.INFO: Processing buffer {"connection_id":136600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79411828012d1820400721b270004800df29..."} 
[2026-07-19 12:54:29] local.INFO: Packet analysis {"connection_id":136600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:54:29] local.INFO: Extracted packet for processing {"connection_id":136600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:54:29] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648880,"longitude_deg":75.655584,"latitude_deg":11.964888,"altitude":72,"angle":223,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-19 12:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818103296001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121055776768000,"note":"Value kept but may cause issues"} 
[2026-07-19 12:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539302400,"note":"Value kept but may cause issues"} 
[2026-07-19 12:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784445737000,"timestamp_ms":1784445737000,"timestamp_seconds":1784445737,"priority":1,"record_length":96,"hex_timestamp":"0000019f79411828"} 
[2026-07-19 12:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:54: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-07-19 12:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 12:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-19 12:54:29] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2415919104,"note":"Value kept but may cause issues"} 
[2026-07-19 12:54:29] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184162099405,"note":"Value kept but may cause issues"} 
[2026-07-19 12:54:29] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2993684552,"note":"Value kept but may cause issues"} 
[2026-07-19 12:54:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-19 12:54:29] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-19 12:54:29] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,76,159,116,45,64,178,72,42,10,66,34,43,208,1,240,69,121,33,4,113,205,32,112,239,49,2,25,7,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-19 12:54:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188392142212431872,"timestamp_seconds":5188392142212432.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 12:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":136600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":136600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":136600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818103296001,"66":12537,"120":206,"28":31744,"24":0,"16":7121055776768000,"45":1738459855539302400},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818103296001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:54:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:54:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121055776768000,"km_value":7121055776768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539302400,"description":"Unknown IO ID 45"} 
[2026-07-19 12:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818103296001,"power":12537,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539302400}} 
[2026-07-19 12:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":136600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:54:29] local.INFO: GPS data processed {"connection_id":136600,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:54:29] local.INFO: Acknowledgment sent {"connection_id":136600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:54:36] local.INFO: TCP Data received {"connection_id":138946,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:54:36] local.INFO: Processing buffer {"connection_id":138946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:54:36] local.INFO: IMEI packet received {"connection_id":138946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":138946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:54:41] local.INFO: TCP Data received {"connection_id":138946,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:54:41] local.INFO: Processing buffer {"connection_id":138946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:54:41] local.INFO: IMEI packet received {"connection_id":138946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":138946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:54:42] local.INFO: TCP Data received {"connection_id":138946,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:54:42] local.INFO: Processing buffer {"connection_id":138946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:54:42] local.INFO: Packet analysis {"connection_id":138946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:54:42] local.INFO: Extracted packet for processing {"connection_id":138946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:54:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818037504001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784445760000,"timestamp_ms":1784445760000,"timestamp_seconds":1784445760,"priority":1,"record_length":96,"hex_timestamp":"0000019f79417200"} 
[2026-07-19 12:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 12:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":138946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":138946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":138946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818037504001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818037504001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:54:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:54:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818037504001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":138946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:54:42] local.INFO: GPS data processed {"connection_id":138946,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:54:42] local.INFO: Acknowledgment sent {"connection_id":138946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:54:47] local.INFO: TCP Data received {"connection_id":138946,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:54:47] local.INFO: Processing buffer {"connection_id":138946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:54:47] local.INFO: Packet analysis {"connection_id":138946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:54:47] local.INFO: Extracted packet for processing {"connection_id":138946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818037504001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784445760000,"timestamp_ms":1784445760000,"timestamp_seconds":1784445760,"priority":1,"record_length":96,"hex_timestamp":"0000019f79417200"} 
[2026-07-19 12:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 12:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":138946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":138946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":138946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818037504001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818037504001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:54:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818037504001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":138946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:54:47] local.INFO: GPS data processed {"connection_id":138946,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:54:47] local.INFO: Acknowledgment sent {"connection_id":138946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:54:51] local.INFO: TCP Data received {"connection_id":136601,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:54:51] local.INFO: Processing buffer {"connection_id":136601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:54:51] local.INFO: IMEI packet received {"connection_id":136601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":136601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:54:57] local.INFO: TCP Data received {"connection_id":136601,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:54:57] local.INFO: Processing buffer {"connection_id":136601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:54:57] local.INFO: IMEI packet received {"connection_id":136601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":136601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:54:58] local.INFO: TCP Data received {"connection_id":136601,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79416a30012d1820400721b270004800df29..."} 
[2026-07-19 12:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79416a30012d1820400721b270004800df29..."} 
[2026-07-19 12:54:58] local.INFO: Processing buffer {"connection_id":136601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79416a30012d1820400721b270004800df29..."} 
[2026-07-19 12:54:58] local.INFO: Packet analysis {"connection_id":136601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:54:58] local.INFO: Extracted packet for processing {"connection_id":136601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:54:58] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648880,"longitude_deg":75.655584,"latitude_deg":11.964888,"altitude":72,"angle":223,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818108672001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121055776768000,"note":"Value kept but may cause issues"} 
[2026-07-19 12:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539302400,"note":"Value kept but may cause issues"} 
[2026-07-19 12:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784445758000,"timestamp_ms":1784445758000,"timestamp_seconds":1784445758,"priority":1,"record_length":96,"hex_timestamp":"0000019f79416a30"} 
[2026-07-19 12:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-19 12:54:58] 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-07-19 12: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-07-19 12:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818108672001,"66":12558,"120":206,"28":31744,"24":0,"16":7121055776768000,"45":1738459855539302400},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818108672001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:54:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:54:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121055776768000,"km_value":7121055776768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539302400,"description":"Unknown IO ID 45"} 
[2026-07-19 12:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818108672001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539302400}} 
[2026-07-19 12:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":136601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:54:58] local.INFO: GPS data processed {"connection_id":136601,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:54:58] local.INFO: Acknowledgment sent {"connection_id":136601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:55:29] local.INFO: TCP Data received {"connection_id":136601,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7941bc38012d1820400721b270004800df2d..."} 
[2026-07-19 12:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7941bc38012d1820400721b270004800df2d..."} 
[2026-07-19 12:55:29] local.INFO: Processing buffer {"connection_id":136601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7941bc38012d1820400721b270004800df2d..."} 
[2026-07-19 12:55:29] local.INFO: Packet analysis {"connection_id":136601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:55:29] local.INFO: Extracted packet for processing {"connection_id":136601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:55:29] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648880,"longitude_deg":75.655584,"latitude_deg":11.964888,"altitude":72,"angle":223,"satellites":45,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-19 12:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818114048001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121055776768000,"note":"Value kept but may cause issues"} 
[2026-07-19 12:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539302400,"note":"Value kept but may cause issues"} 
[2026-07-19 12:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784445779000,"timestamp_ms":1784445779000,"timestamp_seconds":1784445779,"priority":1,"record_length":96,"hex_timestamp":"0000019f7941bc38"} 
[2026-07-19 12:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:55: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-07-19 12:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-19 12:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-19 12:55:29] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2415919104,"note":"Value kept but may cause issues"} 
[2026-07-19 12:55:29] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382590517457520,"note":"Value kept but may cause issues"} 
[2026-07-19 12:55:29] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2993684552,"note":"Value kept but may cause issues"} 
[2026-07-19 12:55:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-19 12:55:29] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-19 12:55:29] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-19 12:55:29] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-19 12:55:29] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,76,159,45,64,178,72,41,10,66,198,42,116,1,240,47,121,33,4,113,205,208,32,112,44,239,49,2,25,7,231,60,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-19 12:55:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188392137917464576,"timestamp_seconds":5188392137917465.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 12:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":136601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":136601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":136601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818114048001,"66":12558,"120":206,"28":31744,"24":0,"16":7121055776768000,"45":1738459855539302400},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818114048001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:55:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:55:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121055776768000,"km_value":7121055776768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539302400,"description":"Unknown IO ID 45"} 
[2026-07-19 12:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818114048001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539302400}} 
[2026-07-19 12:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":136601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:55:29] local.INFO: GPS data processed {"connection_id":136601,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:55:29] local.INFO: Acknowledgment sent {"connection_id":136601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:55:31] local.INFO: TCP Data received {"connection_id":136459,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:55:31] local.INFO: Processing buffer {"connection_id":136459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:55:31] local.INFO: IMEI packet received {"connection_id":136459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":136459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:55:36] local.INFO: TCP Data received {"connection_id":136459,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:55:36] local.INFO: Processing buffer {"connection_id":136459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:55:36] local.INFO: IMEI packet received {"connection_id":136459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":136459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:55:37] local.INFO: TCP Data received {"connection_id":136459,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:55:37] local.INFO: Processing buffer {"connection_id":136459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:55:37] local.INFO: Packet analysis {"connection_id":136459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:55:37] local.INFO: Extracted packet for processing {"connection_id":136459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818037504001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:55: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-07-19 12:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784445760000,"timestamp_ms":1784445760000,"timestamp_seconds":1784445760,"priority":1,"record_length":96,"hex_timestamp":"0000019f79417200"} 
[2026-07-19 12:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 12:55: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-07-19 12:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818037504001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818037504001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818037504001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":136459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:55:37] local.INFO: GPS data processed {"connection_id":136459,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:55:37] local.INFO: Acknowledgment sent {"connection_id":136459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:55:51] local.INFO: TCP Data received {"connection_id":138947,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:55:51] local.INFO: Processing buffer {"connection_id":138947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:55:51] local.INFO: IMEI packet received {"connection_id":138947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":138947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:55:57] local.INFO: TCP Data received {"connection_id":138947,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:55:57] local.INFO: Processing buffer {"connection_id":138947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:55:57] local.INFO: IMEI packet received {"connection_id":138947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":138947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:55:58] local.INFO: TCP Data received {"connection_id":138947,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79420e40012d1820400721b270004800df2b..."} 
[2026-07-19 12:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79420e40012d1820400721b270004800df2b..."} 
[2026-07-19 12:55:58] local.INFO: Processing buffer {"connection_id":138947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79420e40012d1820400721b270004800df2b..."} 
[2026-07-19 12:55:58] local.INFO: Packet analysis {"connection_id":138947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7942"} 
[2026-07-19 12:55:58] local.INFO: Extracted packet for processing {"connection_id":138947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7942"} 
[2026-07-19 12:55:58] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648880,"longitude_deg":75.655584,"latitude_deg":11.964888,"altitude":72,"angle":223,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818119424001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121055776768000,"note":"Value kept but may cause issues"} 
[2026-07-19 12:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539302400,"note":"Value kept but may cause issues"} 
[2026-07-19 12:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784445800000,"timestamp_ms":1784445800000,"timestamp_seconds":1784445800,"priority":1,"record_length":96,"hex_timestamp":"0000019f79420e40"} 
[2026-07-19 12:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-19 12:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-19 12:55:58] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2415919104,"note":"Value kept but may cause issues"} 
[2026-07-19 12:55:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382590517457520,"note":"Value kept but may cause issues"} 
[2026-07-19 12:55:58] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2993684552,"note":"Value kept but may cause issues"} 
[2026-07-19 12:55:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-19 12:55:58] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-19 12:55:58] local.WARNING: Large IO value detected {"io_id":59,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-19 12:55:58] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-19 12:55:58] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,76,159,106,45,64,178,72,41,10,66,198,1,240,4,121,33,113,205,34,32,112,43,239,49,2,25,7,231,59,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-19 12:55:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188392155097333760,"timestamp_seconds":5188392155097334.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 12:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":138947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":138947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":138947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818119424001,"66":12526,"120":206,"28":31744,"24":0,"16":7121055776768000,"45":1738459855539302400},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818119424001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:55:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:55:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121055776768000,"km_value":7121055776768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539302400,"description":"Unknown IO ID 45"} 
[2026-07-19 12:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818119424001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539302400}} 
[2026-07-19 12:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":138947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:55:58] local.INFO: GPS data processed {"connection_id":138947,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:55:58] local.INFO: Acknowledgment sent {"connection_id":138947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:56:08] local.INFO: TCP Data received {"connection_id":136459,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:56:08] local.INFO: Processing buffer {"connection_id":136459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:56:08] local.INFO: Packet analysis {"connection_id":136459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:56:08] local.INFO: Extracted packet for processing {"connection_id":136459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818037504001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12: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-07-19 12:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784445760000,"timestamp_ms":1784445760000,"timestamp_seconds":1784445760,"priority":1,"record_length":96,"hex_timestamp":"0000019f79417200"} 
[2026-07-19 12:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12: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":151,"data_length":795,"current_offset":136} 
[2026-07-19 12:56: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-07-19 12: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-07-19 12:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818037504001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818037504001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:56:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818037504001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":136459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:56:08] local.INFO: GPS data processed {"connection_id":136459,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:56:08] local.INFO: Acknowledgment sent {"connection_id":136459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:56:30] local.INFO: TCP Data received {"connection_id":138947,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79426048012d1820400721b270004800df2d..."} 
[2026-07-19 12:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79426048012d1820400721b270004800df2d..."} 
[2026-07-19 12:56:30] local.INFO: Processing buffer {"connection_id":138947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79426048012d1820400721b270004800df2d..."} 
[2026-07-19 12:56:30] local.INFO: Packet analysis {"connection_id":138947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7942"} 
[2026-07-19 12:56:30] local.INFO: Extracted packet for processing {"connection_id":138947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7942"} 
[2026-07-19 12:56:30] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648880,"longitude_deg":75.655584,"latitude_deg":11.964888,"altitude":72,"angle":223,"satellites":45,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818124800001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121055776768000,"note":"Value kept but may cause issues"} 
[2026-07-19 12:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539302400,"note":"Value kept but may cause issues"} 
[2026-07-19 12:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784445821000,"timestamp_ms":1784445821000,"timestamp_seconds":1784445821,"priority":1,"record_length":96,"hex_timestamp":"0000019f79426048"} 
[2026-07-19 12:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:56:30] 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-07-19 12: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:56:30] 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-07-19 12: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-07-19 12:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":138947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":138947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":138947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818124800001,"66":12548,"120":206,"28":31744,"24":0,"16":7121055776768000,"45":1738459855539302400},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818124800001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:56:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:56:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121055776768000,"km_value":7121055776768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539302400,"description":"Unknown IO ID 45"} 
[2026-07-19 12:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818124800001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539302400}} 
[2026-07-19 12:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":138947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:56:30] local.INFO: GPS data processed {"connection_id":138947,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:56:30] local.INFO: Acknowledgment sent {"connection_id":138947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:56:33] local.INFO: TCP Data received {"connection_id":136460,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:56:33] local.INFO: Processing buffer {"connection_id":136460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:56:33] local.INFO: IMEI packet received {"connection_id":136460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":136460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:56:36] local.INFO: TCP Data received {"connection_id":136460,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:56:36] local.INFO: Processing buffer {"connection_id":136460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:56:36] local.INFO: IMEI packet received {"connection_id":136460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":136460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:56:37] local.INFO: TCP Data received {"connection_id":136460,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:56:37] local.INFO: Processing buffer {"connection_id":136460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:56:37] local.INFO: Packet analysis {"connection_id":136460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:56:37] local.INFO: Extracted packet for processing {"connection_id":136460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818037504001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:56: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-07-19 12:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784445760000,"timestamp_ms":1784445760000,"timestamp_seconds":1784445760,"priority":1,"record_length":96,"hex_timestamp":"0000019f79417200"} 
[2026-07-19 12:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 12:56: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-07-19 12:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818037504001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818037504001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:56:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818037504001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":136460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:56:37] local.INFO: GPS data processed {"connection_id":136460,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:56:37] local.INFO: Acknowledgment sent {"connection_id":136460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:56:46] local.INFO: TCP Data received {"connection_id":136460,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:56:46] local.INFO: Processing buffer {"connection_id":136460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:56:46] local.INFO: Packet analysis {"connection_id":136460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:56:46] local.INFO: Extracted packet for processing {"connection_id":136460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:56:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818037504001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784445760000,"timestamp_ms":1784445760000,"timestamp_seconds":1784445760,"priority":1,"record_length":96,"hex_timestamp":"0000019f79417200"} 
[2026-07-19 12:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 12:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":136460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":136460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":136460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818037504001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818037504001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:56:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:56:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818037504001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":136460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:56:46] local.INFO: GPS data processed {"connection_id":136460,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:56:46] local.INFO: Acknowledgment sent {"connection_id":136460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:56:57] local.INFO: TCP Data received {"connection_id":138948,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:56:57] local.INFO: Processing buffer {"connection_id":138948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:56:57] local.INFO: IMEI packet received {"connection_id":138948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":138948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:57:01] local.INFO: TCP Data received {"connection_id":138948,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:57:01] local.INFO: Processing buffer {"connection_id":138948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:57:01] local.INFO: IMEI packet received {"connection_id":138948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":138948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:57:03] local.INFO: TCP Data received {"connection_id":138948,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7942b250012d1820400721b270004800df2c..."} 
[2026-07-19 12:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7942b250012d1820400721b270004800df2c..."} 
[2026-07-19 12:57:03] local.INFO: Processing buffer {"connection_id":138948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7942b250012d1820400721b270004800df2c..."} 
[2026-07-19 12:57:03] local.INFO: Packet analysis {"connection_id":138948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7942"} 
[2026-07-19 12:57:03] local.INFO: Extracted packet for processing {"connection_id":138948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7942"} 
[2026-07-19 12:57:03] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648880,"longitude_deg":75.655584,"latitude_deg":11.964888,"altitude":72,"angle":223,"satellites":44,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818130176001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121055776768000,"note":"Value kept but may cause issues"} 
[2026-07-19 12:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539302400,"note":"Value kept but may cause issues"} 
[2026-07-19 12:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784445842000,"timestamp_ms":1784445842000,"timestamp_seconds":1784445842,"priority":1,"record_length":96,"hex_timestamp":"0000019f7942b250"} 
[2026-07-19 12:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:57:03] 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-07-19 12:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 12:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-19 12:57:03] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2415919104,"note":"Value kept but may cause issues"} 
[2026-07-19 12:57:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-07-19 12:57:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2993684552,"note":"Value kept but may cause issues"} 
[2026-07-19 12:57:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-19 12:57:03] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-19 12:57:03] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,76,159,14,45,64,178,72,43,10,66,188,106,1,240,121,33,4,113,205,198,32,112,42,239,49,2,25,7,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-19 12:57:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188392155097333760,"timestamp_seconds":5188392155097334.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 12:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":138948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":138948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":138948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818130176001,"66":12526,"120":206,"28":31744,"24":0,"16":7121055776768000,"45":1738459855539302400},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818130176001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:57:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:57:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121055776768000,"km_value":7121055776768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539302400,"description":"Unknown IO ID 45"} 
[2026-07-19 12:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818130176001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539302400}} 
[2026-07-19 12:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":138948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:57:03] local.INFO: GPS data processed {"connection_id":138948,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:57:03] local.INFO: Acknowledgment sent {"connection_id":138948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:57:07] local.INFO: TCP Data received {"connection_id":138948,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79430458012d1820400721b270004800df2b..."} 
[2026-07-19 12:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79430458012d1820400721b270004800df2b..."} 
[2026-07-19 12:57:07] local.INFO: Processing buffer {"connection_id":138948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79430458012d1820400721b270004800df2b..."} 
[2026-07-19 12:57:07] local.INFO: Packet analysis {"connection_id":138948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7943"} 
[2026-07-19 12:57:07] local.INFO: Extracted packet for processing {"connection_id":138948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7943"} 
[2026-07-19 12:57:07] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648880,"longitude_deg":75.655584,"latitude_deg":11.964888,"altitude":72,"angle":223,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818135552001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121055776768000,"note":"Value kept but may cause issues"} 
[2026-07-19 12:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539302400,"note":"Value kept but may cause issues"} 
[2026-07-19 12:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784445863000,"timestamp_ms":1784445863000,"timestamp_seconds":1784445863,"priority":1,"record_length":96,"hex_timestamp":"0000019f79430458"} 
[2026-07-19 12:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 12:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":138948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":138948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":138948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818135552001,"66":12504,"120":206,"28":31744,"24":0,"16":7121055776768000,"45":1738459855539302400},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818135552001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:57:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:57:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121055776768000,"km_value":7121055776768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539302400,"description":"Unknown IO ID 45"} 
[2026-07-19 12:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818135552001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539302400}} 
[2026-07-19 12:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":138948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:57:07] local.INFO: GPS data processed {"connection_id":138948,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:57:07] local.INFO: Acknowledgment sent {"connection_id":138948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:57:32] local.INFO: TCP Data received {"connection_id":136602,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:57:32] local.INFO: Processing buffer {"connection_id":136602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:57:32] local.INFO: IMEI packet received {"connection_id":136602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":136602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:57:36] local.INFO: TCP Data received {"connection_id":136602,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:57:36] local.INFO: Processing buffer {"connection_id":136602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:57:36] local.INFO: IMEI packet received {"connection_id":136602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":136602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:57:37] local.INFO: TCP Data received {"connection_id":136602,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:57:37] local.INFO: Processing buffer {"connection_id":136602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:57:37] local.INFO: Packet analysis {"connection_id":136602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:57:37] local.INFO: Extracted packet for processing {"connection_id":136602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818037504001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:57: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-07-19 12:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784445760000,"timestamp_ms":1784445760000,"timestamp_seconds":1784445760,"priority":1,"record_length":96,"hex_timestamp":"0000019f79417200"} 
[2026-07-19 12:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 12:57: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-07-19 12:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818037504001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818037504001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:57:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818037504001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":136602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:57:37] local.INFO: GPS data processed {"connection_id":136602,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:57:37] local.INFO: Acknowledgment sent {"connection_id":136602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:57:49] local.INFO: TCP Data received {"connection_id":137540,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:57:49] local.INFO: Processing buffer {"connection_id":137540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:57:49] local.INFO: IMEI packet received {"connection_id":137540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":137540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:57:51] local.INFO: TCP Data received {"connection_id":137540,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:57:51] local.INFO: Processing buffer {"connection_id":137540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:57:51] local.INFO: IMEI packet received {"connection_id":137540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":137540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:57:56] local.INFO: TCP Data received {"connection_id":137540,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:57:56] local.INFO: Processing buffer {"connection_id":137540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:57:56] local.INFO: IMEI packet received {"connection_id":137540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":137540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:57:57] local.INFO: TCP Data received {"connection_id":137540,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79435660012d1820400721b270004800df29..."} 
[2026-07-19 12:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79435660012d1820400721b270004800df29..."} 
[2026-07-19 12:57:57] local.INFO: Processing buffer {"connection_id":137540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79435660012d1820400721b270004800df29..."} 
[2026-07-19 12:57:57] local.INFO: Packet analysis {"connection_id":137540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7943"} 
[2026-07-19 12:57:57] local.INFO: Extracted packet for processing {"connection_id":137540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7943"} 
[2026-07-19 12:57:57] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648880,"longitude_deg":75.655584,"latitude_deg":11.964888,"altitude":72,"angle":223,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818140928001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121055776768000,"note":"Value kept but may cause issues"} 
[2026-07-19 12:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539302400,"note":"Value kept but may cause issues"} 
[2026-07-19 12:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784445884000,"timestamp_ms":1784445884000,"timestamp_seconds":1784445884,"priority":1,"record_length":96,"hex_timestamp":"0000019f79435660"} 
[2026-07-19 12:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:57:57] 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-07-19 12: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-07-19 12:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818140928001,"66":12232,"120":206,"28":31744,"24":0,"16":7121055776768000,"45":1738459855539302400},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818140928001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:57:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:57:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121055776768000,"km_value":7121055776768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539302400,"description":"Unknown IO ID 45"} 
[2026-07-19 12:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818140928001,"power":12232,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539302400}} 
[2026-07-19 12:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":137540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:57:57] local.INFO: GPS data processed {"connection_id":137540,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:57:57] local.INFO: Acknowledgment sent {"connection_id":137540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:58:09] local.INFO: TCP Data received {"connection_id":136602,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:58:09] local.INFO: Processing buffer {"connection_id":136602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79417200012d34c50006aa4dd80008009529..."} 
[2026-07-19 12:58:09] local.INFO: Packet analysis {"connection_id":136602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:58:09] local.INFO: Extracted packet for processing {"connection_id":136602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7941"} 
[2026-07-19 12:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818037504001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12: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-07-19 12:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784445760000,"timestamp_ms":1784445760000,"timestamp_seconds":1784445760,"priority":1,"record_length":96,"hex_timestamp":"0000019f79417200"} 
[2026-07-19 12:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 12:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:58:09] 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-07-19 12:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818037504001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818037504001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:58:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:58:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818037504001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":136602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:58:09] local.INFO: GPS data processed {"connection_id":136602,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:58:09] local.INFO: Acknowledgment sent {"connection_id":136602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:58:29] local.INFO: TCP Data received {"connection_id":137540,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7943a868012d1820400721b270004800df29..."} 
[2026-07-19 12:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7943a868012d1820400721b270004800df29..."} 
[2026-07-19 12:58:29] local.INFO: Processing buffer {"connection_id":137540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7943a868012d1820400721b270004800df29..."} 
[2026-07-19 12:58:29] local.INFO: Packet analysis {"connection_id":137540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7943"} 
[2026-07-19 12:58:29] local.INFO: Extracted packet for processing {"connection_id":137540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7943"} 
[2026-07-19 12:58:29] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648880,"longitude_deg":75.655584,"latitude_deg":11.964888,"altitude":72,"angle":223,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818146304001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121055776768000,"note":"Value kept but may cause issues"} 
[2026-07-19 12:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539302400,"note":"Value kept but may cause issues"} 
[2026-07-19 12:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784445905000,"timestamp_ms":1784445905000,"timestamp_seconds":1784445905,"priority":1,"record_length":96,"hex_timestamp":"0000019f7943a868"} 
[2026-07-19 12:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:58: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-07-19 12: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-19 12:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":137540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":137540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":137540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818146304001,"66":12504,"120":206,"28":31744,"24":0,"16":7121055776768000,"45":1738459855539302400},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818146304001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:58:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:58:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121055776768000,"km_value":7121055776768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539302400,"description":"Unknown IO ID 45"} 
[2026-07-19 12:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818146304001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539302400}} 
[2026-07-19 12:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":137540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:58:29] local.INFO: GPS data processed {"connection_id":137540,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:58:29] local.INFO: Acknowledgment sent {"connection_id":137540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:58:31] local.INFO: TCP Data received {"connection_id":137541,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:58:31] local.INFO: Processing buffer {"connection_id":137541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:58:31] local.INFO: IMEI packet received {"connection_id":137541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":137541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:58:36] local.INFO: TCP Data received {"connection_id":137541,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:58:36] local.INFO: Processing buffer {"connection_id":137541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:58:36] local.INFO: IMEI packet received {"connection_id":137541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":137541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:58:37] local.INFO: TCP Data received {"connection_id":137541,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:58:37] local.INFO: Processing buffer {"connection_id":137541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:58:37] local.INFO: Packet analysis {"connection_id":137541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 12:58:37] local.INFO: Extracted packet for processing {"connection_id":137541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 12:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818114560001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:58: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-07-19 12:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784446061000,"timestamp_ms":1784446061000,"timestamp_seconds":1784446061,"priority":1,"record_length":96,"hex_timestamp":"0000019f794609c8"} 
[2026-07-19 12:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 12:58: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-07-19 12:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818114560001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818114560001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:58:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818114560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":137541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:58:37] local.INFO: GPS data processed {"connection_id":137541,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:58:37] local.INFO: Acknowledgment sent {"connection_id":137541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:58:51] local.INFO: TCP Data received {"connection_id":138949,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:58:52] local.INFO: Processing buffer {"connection_id":138949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:58:52] local.INFO: IMEI packet received {"connection_id":138949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":138949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:58:53] local.INFO: TCP Data received {"connection_id":138949,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:58:53] local.INFO: Processing buffer {"connection_id":138949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:58:53] local.INFO: IMEI packet received {"connection_id":138949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":138949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:58:57] local.INFO: TCP Data received {"connection_id":138949,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:58:57] local.INFO: Processing buffer {"connection_id":138949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:58:57] local.INFO: IMEI packet received {"connection_id":138949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":138949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:58:58] local.INFO: TCP Data received {"connection_id":138949,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7943fa70012d1820400721b270004800df2c..."} 
[2026-07-19 12:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7943fa70012d1820400721b270004800df2c..."} 
[2026-07-19 12:58:58] local.INFO: Processing buffer {"connection_id":138949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7943fa70012d1820400721b270004800df2c..."} 
[2026-07-19 12:58:58] local.INFO: Packet analysis {"connection_id":138949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7943"} 
[2026-07-19 12:58:58] local.INFO: Extracted packet for processing {"connection_id":138949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7943"} 
[2026-07-19 12:58:58] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648880,"longitude_deg":75.655584,"latitude_deg":11.964888,"altitude":72,"angle":223,"satellites":44,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818151680001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121055776768000,"note":"Value kept but may cause issues"} 
[2026-07-19 12:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539302400,"note":"Value kept but may cause issues"} 
[2026-07-19 12:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784445926000,"timestamp_ms":1784445926000,"timestamp_seconds":1784445926,"priority":1,"record_length":96,"hex_timestamp":"0000019f7943fa70"} 
[2026-07-19 12:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:58:58] 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-07-19 12: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:58:58] 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-07-19 12: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-07-19 12:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":138949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":138949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":138949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818151680001,"66":12461,"120":206,"28":31744,"24":0,"16":7121055776768000,"45":1738459855539302400},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818151680001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:58:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:58:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121055776768000,"km_value":7121055776768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539302400,"description":"Unknown IO ID 45"} 
[2026-07-19 12:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818151680001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539302400}} 
[2026-07-19 12:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":138949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:58:58] local.INFO: GPS data processed {"connection_id":138949,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:58:58] local.INFO: Acknowledgment sent {"connection_id":138949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:59:08] local.INFO: TCP Data received {"connection_id":137541,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:59:08] local.INFO: Processing buffer {"connection_id":137541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:59:08] local.INFO: Packet analysis {"connection_id":137541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 12:59:08] local.INFO: Extracted packet for processing {"connection_id":137541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 12:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818114560001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:59: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-07-19 12:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784446061000,"timestamp_ms":1784446061000,"timestamp_seconds":1784446061,"priority":1,"record_length":96,"hex_timestamp":"0000019f794609c8"} 
[2026-07-19 12:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 12:59: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-07-19 12:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818114560001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818114560001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:59:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:59:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818114560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":137541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:59:08] local.INFO: GPS data processed {"connection_id":137541,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:59:08] local.INFO: Acknowledgment sent {"connection_id":137541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:59:29] local.INFO: TCP Data received {"connection_id":138949,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79444c78012d1820400721b270004800df2c..."} 
[2026-07-19 12:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79444c78012d1820400721b270004800df2c..."} 
[2026-07-19 12:59:30] local.INFO: Processing buffer {"connection_id":138949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79444c78012d1820400721b270004800df2c..."} 
[2026-07-19 12:59:30] local.INFO: Packet analysis {"connection_id":138949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7944"} 
[2026-07-19 12:59:30] local.INFO: Extracted packet for processing {"connection_id":138949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7944"} 
[2026-07-19 12:59:30] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648880,"longitude_deg":75.655584,"latitude_deg":11.964888,"altitude":72,"angle":223,"satellites":44,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-19 12: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-07-19 12:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818157056001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121055776768000,"note":"Value kept but may cause issues"} 
[2026-07-19 12:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539302400,"note":"Value kept but may cause issues"} 
[2026-07-19 12:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784445947000,"timestamp_ms":1784445947000,"timestamp_seconds":1784445947,"priority":1,"record_length":96,"hex_timestamp":"0000019f79444c78"} 
[2026-07-19 12:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:59:30] 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-07-19 12: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 12:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12: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-07-19 12:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":138949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":138949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":138949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818157056001,"66":12504,"120":206,"28":31744,"24":0,"16":7121055776768000,"45":1738459855539302400},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818157056001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:59:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:59:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121055776768000,"km_value":7121055776768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539302400,"description":"Unknown IO ID 45"} 
[2026-07-19 12:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818157056001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539302400}} 
[2026-07-19 12:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":138949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:59:30] local.INFO: GPS data processed {"connection_id":138949,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:59:30] local.INFO: Acknowledgment sent {"connection_id":138949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:59:36] local.INFO: TCP Data received {"connection_id":138950,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:59:36] local.INFO: Processing buffer {"connection_id":138950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:59:36] local.INFO: IMEI packet received {"connection_id":138950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 12:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":138950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:59:41] local.INFO: TCP Data received {"connection_id":138950,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:59:41] local.INFO: Processing buffer {"connection_id":138950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 12:59:41] local.INFO: IMEI packet received {"connection_id":138950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 12:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":138950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:59:42] local.INFO: TCP Data received {"connection_id":138950,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:59:42] local.INFO: Processing buffer {"connection_id":138950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:59:42] local.INFO: Packet analysis {"connection_id":138950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 12:59:42] local.INFO: Extracted packet for processing {"connection_id":138950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 12:59:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818114560001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784446061000,"timestamp_ms":1784446061000,"timestamp_seconds":1784446061,"priority":1,"record_length":96,"hex_timestamp":"0000019f794609c8"} 
[2026-07-19 12:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 12:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":138950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":138950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":138950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818114560001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818114560001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:59:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:59:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818114560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":138950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:59:42] local.INFO: GPS data processed {"connection_id":138950,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:59:42] local.INFO: Acknowledgment sent {"connection_id":138950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:59:47] local.INFO: TCP Data received {"connection_id":138950,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:59:47] local.INFO: Processing buffer {"connection_id":138950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 12:59:47] local.INFO: Packet analysis {"connection_id":138950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 12:59:47] local.INFO: Extracted packet for processing {"connection_id":138950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 12:59:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 12:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818114560001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 12:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 12:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784446061000,"timestamp_ms":1784446061000,"timestamp_seconds":1784446061,"priority":1,"record_length":96,"hex_timestamp":"0000019f794609c8"} 
[2026-07-19 12:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 12:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 12:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 12:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":138950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":138950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":138950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 12:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 12:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 12:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818114560001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 12:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 12:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 12:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818114560001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:59:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 12:59:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 12:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 12:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818114560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 12:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":138950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:59:47] local.INFO: GPS data processed {"connection_id":138950,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:59:47] local.INFO: Acknowledgment sent {"connection_id":138950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 12:59:51] local.INFO: TCP Data received {"connection_id":136464,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:59:51] local.INFO: Processing buffer {"connection_id":136464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:59:51] local.INFO: IMEI packet received {"connection_id":136464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 12:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":136464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:59:52] local.INFO: TCP Data received {"connection_id":136463,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:59:52] local.INFO: Processing buffer {"connection_id":136463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 12:59:52] local.INFO: IMEI packet received {"connection_id":136463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 12:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":136463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 12:59:56] local.INFO: TCP Data received {"connection_id":136464,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:59:56] local.INFO: Processing buffer {"connection_id":136464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 12:59:56] local.INFO: IMEI packet received {"connection_id":136464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 12:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":136464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 12:59:57] local.INFO: TCP Data received {"connection_id":136464,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79449e80012d1820400721b270004800df2b..."} 
[2026-07-19 12:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79449e80012d1820400721b270004800df2b..."} 
[2026-07-19 12:59:57] local.INFO: Processing buffer {"connection_id":136464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79449e80012d1820400721b270004800df2b..."} 
[2026-07-19 12:59:57] local.INFO: Packet analysis {"connection_id":136464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7944"} 
[2026-07-19 12:59:57] local.INFO: Extracted packet for processing {"connection_id":136464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7944"} 
[2026-07-19 12:59:57] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648880,"longitude_deg":75.655584,"latitude_deg":11.964888,"altitude":72,"angle":223,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-19 12:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 12:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818162432001,"note":"Value kept but may cause issues"} 
[2026-07-19 12:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121055776768000,"note":"Value kept but may cause issues"} 
[2026-07-19 12:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539302400,"note":"Value kept but may cause issues"} 
[2026-07-19 12:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 12:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784445968000,"timestamp_ms":1784445968000,"timestamp_seconds":1784445968,"priority":1,"record_length":96,"hex_timestamp":"0000019f79449e80"} 
[2026-07-19 12:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 12:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 12:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 12:59:57] 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-07-19 12:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 12:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 12:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 12:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 12:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 12:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 12:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 12:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 12:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818162432001,"66":12504,"120":206,"28":31744,"24":0,"16":7121055776768000,"45":1738459855539302400},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 12:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 12:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 12:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818162432001,"description":"Unknown IO ID 0"} 
[2026-07-19 12:59:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 12:59:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 12:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121055776768000,"km_value":7121055776768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 12:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539302400,"description":"Unknown IO ID 45"} 
[2026-07-19 12:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818162432001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539302400}} 
[2026-07-19 12:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":136464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 12:59:57] local.INFO: GPS data processed {"connection_id":136464,"processed":1,"errors":0,"total":1} 
[2026-07-19 12:59:57] local.INFO: Acknowledgment sent {"connection_id":136464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:00:29] local.INFO: TCP Data received {"connection_id":136464,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7944f088012d181f400721b098004a00d52a..."} 
[2026-07-19 13:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7944f088012d181f400721b098004a00d52a..."} 
[2026-07-19 13:00:29] local.INFO: Processing buffer {"connection_id":136464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7944f088012d181f400721b098004a00d52a..."} 
[2026-07-19 13:00:29] local.INFO: Packet analysis {"connection_id":136464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7944"} 
[2026-07-19 13:00:29] local.INFO: Extracted packet for processing {"connection_id":136464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7944"} 
[2026-07-19 13:00:29] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648408,"longitude_deg":75.6555584,"latitude_deg":11.9648408,"altitude":74,"angle":213,"satellites":42,"speed":2,"hex_longitude":"2d181f40","hex_latitude":"0721b098","is_valid_coordinates":true} 
[2026-07-19 13:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818167808001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121081546571776,"note":"Value kept but may cause issues"} 
[2026-07-19 13:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539302400,"note":"Value kept but may cause issues"} 
[2026-07-19 13:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784445989000,"timestamp_ms":1784445989000,"timestamp_seconds":1784445989,"priority":1,"record_length":96,"hex_timestamp":"0000019f7944f088"} 
[2026-07-19 13:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:00:29] 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-07-19 13:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 13:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":136464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":136464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":136464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818167808001,"66":12504,"120":206,"28":31744,"24":2,"16":7121081546571776,"45":1738459855539302400},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 13:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818167808001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:00:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 13:00:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 13:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121081546571776,"km_value":7121081546571.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539302400,"description":"Unknown IO ID 45"} 
[2026-07-19 13:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818167808001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1738459855539302400}} 
[2026-07-19 13:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":136464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:00:29] local.INFO: GPS data processed {"connection_id":136464,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:00:29] local.INFO: Acknowledgment sent {"connection_id":136464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:00:31] local.INFO: TCP Data received {"connection_id":137542,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:00:31] local.INFO: Processing buffer {"connection_id":137542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:00:31] local.INFO: IMEI packet received {"connection_id":137542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":137542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:00:33] local.INFO: TCP Data received {"connection_id":136603,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:00:33] local.INFO: Processing buffer {"connection_id":136603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:00:33] local.INFO: IMEI packet received {"connection_id":136603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 13:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":136603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:00:36] local.INFO: TCP Data received {"connection_id":137542,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:00:36] local.INFO: Processing buffer {"connection_id":137542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:00:36] local.INFO: IMEI packet received {"connection_id":137542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":137542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:00:38] local.INFO: TCP Data received {"connection_id":137542,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:00:38] local.INFO: Processing buffer {"connection_id":137542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:00:38] local.INFO: Packet analysis {"connection_id":137542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 13:00:38] local.INFO: Extracted packet for processing {"connection_id":137542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 13:00:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818114560001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:00: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-07-19 13:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784446061000,"timestamp_ms":1784446061000,"timestamp_seconds":1784446061,"priority":1,"record_length":96,"hex_timestamp":"0000019f794609c8"} 
[2026-07-19 13:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818114560001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818114560001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:00:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:00:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818114560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":137542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:00:38] local.INFO: GPS data processed {"connection_id":137542,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:00:38] local.INFO: Acknowledgment sent {"connection_id":137542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:00:56] local.INFO: TCP Data received {"connection_id":136465,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:00:56] local.INFO: Processing buffer {"connection_id":136465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:00:56] local.INFO: IMEI packet received {"connection_id":136465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":136465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:00:58] local.INFO: TCP Data received {"connection_id":136465,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:00:58] local.INFO: Processing buffer {"connection_id":136465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:00:58] local.INFO: IMEI packet received {"connection_id":136465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":136465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:00:59] local.INFO: TCP Data received {"connection_id":136465,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79454290012d181ec00721afb8004b00d52c..."} 
[2026-07-19 13:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79454290012d181ec00721afb8004b00d52c..."} 
[2026-07-19 13:00:59] local.INFO: Processing buffer {"connection_id":136465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79454290012d181ec00721afb8004b00d52c..."} 
[2026-07-19 13:00:59] local.INFO: Packet analysis {"connection_id":136465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7945"} 
[2026-07-19 13:00:59] local.INFO: Extracted packet for processing {"connection_id":136465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7945"} 
[2026-07-19 13:00:59] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648184,"longitude_deg":75.6555456,"latitude_deg":11.9648184,"altitude":75,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818173184001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121094431473664,"note":"Value kept but may cause issues"} 
[2026-07-19 13:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562470912,"note":"Value kept but may cause issues"} 
[2026-07-19 13:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784446010000,"timestamp_ms":1784446010000,"timestamp_seconds":1784446010,"priority":1,"record_length":96,"hex_timestamp":"0000019f79454290"} 
[2026-07-19 13:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:00:59] 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-07-19 13: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 13:00: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-07-19 13: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-07-19 13:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":136465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":136465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":136465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818173184001,"66":12504,"120":206,"28":31744,"24":0,"16":7121094431473664,"45":1738178380562470912},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 13:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818173184001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:00:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 13:00:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 13:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121094431473664,"km_value":7121094431473.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562470912,"description":"Unknown IO ID 45"} 
[2026-07-19 13:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818173184001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562470912}} 
[2026-07-19 13:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":136465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:01:00] local.INFO: GPS data processed {"connection_id":136465,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:01:00] local.INFO: Acknowledgment sent {"connection_id":136465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:01:02] local.INFO: TCP Data received {"connection_id":136465,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79459498012d181ec00721afb8004b00d52a..."} 
[2026-07-19 13:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79459498012d181ec00721afb8004b00d52a..."} 
[2026-07-19 13:01:02] local.INFO: Processing buffer {"connection_id":136465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79459498012d181ec00721afb8004b00d52a..."} 
[2026-07-19 13:01:02] local.INFO: Packet analysis {"connection_id":136465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7945"} 
[2026-07-19 13:01:02] local.INFO: Extracted packet for processing {"connection_id":136465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7945"} 
[2026-07-19 13:01:02] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648184,"longitude_deg":75.6555456,"latitude_deg":11.9648184,"altitude":75,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818178560001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121094431473664,"note":"Value kept but may cause issues"} 
[2026-07-19 13:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074058240,"note":"Value kept but may cause issues"} 
[2026-07-19 13:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784446031000,"timestamp_ms":1784446031000,"timestamp_seconds":1784446031,"priority":1,"record_length":96,"hex_timestamp":"0000019f79459498"} 
[2026-07-19 13:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:01:02] 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-07-19 13: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 13:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818178560001,"66":12504,"120":206,"28":31744,"24":0,"16":7121094431473664,"45":1738037643074058240},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 13:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818178560001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:01:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 13:01:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 13:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121094431473664,"km_value":7121094431473.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074058240,"description":"Unknown IO ID 45"} 
[2026-07-19 13:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818178560001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074058240}} 
[2026-07-19 13:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":136465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:01:02] local.INFO: GPS data processed {"connection_id":136465,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:01:02] local.INFO: Acknowledgment sent {"connection_id":136465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:01:09] local.INFO: TCP Data received {"connection_id":137542,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:01:09] local.INFO: Processing buffer {"connection_id":137542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:01:09] local.INFO: Packet analysis {"connection_id":137542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 13:01:09] local.INFO: Extracted packet for processing {"connection_id":137542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 13:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818114560001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:01: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-07-19 13:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784446061000,"timestamp_ms":1784446061000,"timestamp_seconds":1784446061,"priority":1,"record_length":96,"hex_timestamp":"0000019f794609c8"} 
[2026-07-19 13:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:01: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-07-19 13:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818114560001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818114560001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:01:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:01:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818114560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":137542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:01:09] local.INFO: GPS data processed {"connection_id":137542,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:01:09] local.INFO: Acknowledgment sent {"connection_id":137542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:01:32] local.INFO: TCP Data received {"connection_id":137543,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:01:32] local.INFO: Processing buffer {"connection_id":137543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:01:32] local.INFO: IMEI packet received {"connection_id":137543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":137543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:01:33] local.INFO: TCP Data received {"connection_id":136465,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7945e6a0012d181ec00721afb8004b00d52c..."} 
[2026-07-19 13:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7945e6a0012d181ec00721afb8004b00d52c..."} 
[2026-07-19 13:01:33] local.INFO: Processing buffer {"connection_id":136465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7945e6a0012d181ec00721afb8004b00d52c..."} 
[2026-07-19 13:01:33] local.INFO: Packet analysis {"connection_id":136465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7945"} 
[2026-07-19 13:01:33] local.INFO: Extracted packet for processing {"connection_id":136465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7945"} 
[2026-07-19 13:01:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648184,"longitude_deg":75.6555456,"latitude_deg":11.9648184,"altitude":75,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818183936001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121094431473664,"note":"Value kept but may cause issues"} 
[2026-07-19 13:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074058240,"note":"Value kept but may cause issues"} 
[2026-07-19 13:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784446052000,"timestamp_ms":1784446052000,"timestamp_seconds":1784446052,"priority":1,"record_length":96,"hex_timestamp":"0000019f7945e6a0"} 
[2026-07-19 13:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 13:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":136465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":136465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":136465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818183936001,"66":12461,"120":206,"28":31744,"24":0,"16":7121094431473664,"45":1738037643074058240},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 13:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818183936001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:01:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 13:01:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 13:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121094431473664,"km_value":7121094431473.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074058240,"description":"Unknown IO ID 45"} 
[2026-07-19 13:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818183936001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074058240}} 
[2026-07-19 13:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":136465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:01:34] local.INFO: GPS data processed {"connection_id":136465,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:01:34] local.INFO: Acknowledgment sent {"connection_id":136465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:01:36] local.INFO: TCP Data received {"connection_id":137543,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:01:36] local.INFO: Processing buffer {"connection_id":137543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:01:36] local.INFO: IMEI packet received {"connection_id":137543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":137543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:01:38] local.INFO: TCP Data received {"connection_id":137543,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:01:38] local.INFO: Processing buffer {"connection_id":137543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:01:38] local.INFO: Packet analysis {"connection_id":137543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 13:01:38] local.INFO: Extracted packet for processing {"connection_id":137543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 13:01:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818114560001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:01: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-07-19 13:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784446061000,"timestamp_ms":1784446061000,"timestamp_seconds":1784446061,"priority":1,"record_length":96,"hex_timestamp":"0000019f794609c8"} 
[2026-07-19 13:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818114560001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818114560001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:01:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:01:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818114560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":137543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:01:38] local.INFO: GPS data processed {"connection_id":137543,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:01:38] local.INFO: Acknowledgment sent {"connection_id":137543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:01:52] local.INFO: TCP Data received {"connection_id":136605,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:01:52] local.INFO: Processing buffer {"connection_id":136605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:01:52] local.INFO: IMEI packet received {"connection_id":136605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":136605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:01:57] local.INFO: TCP Data received {"connection_id":136605,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:01:57] local.INFO: Processing buffer {"connection_id":136605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:01:57] local.INFO: IMEI packet received {"connection_id":136605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":136605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:01:58] local.INFO: TCP Data received {"connection_id":136605,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f794638a8012d181ec00721afb8004b00d529..."} 
[2026-07-19 13:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794638a8012d181ec00721afb8004b00d529..."} 
[2026-07-19 13:01:58] local.INFO: Processing buffer {"connection_id":136605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794638a8012d181ec00721afb8004b00d529..."} 
[2026-07-19 13:01:58] local.INFO: Packet analysis {"connection_id":136605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 13:01:58] local.INFO: Extracted packet for processing {"connection_id":136605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 13:01:58] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648184,"longitude_deg":75.6555456,"latitude_deg":11.9648184,"altitude":75,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818189312001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121094431473664,"note":"Value kept but may cause issues"} 
[2026-07-19 13:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074058240,"note":"Value kept but may cause issues"} 
[2026-07-19 13:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784446073000,"timestamp_ms":1784446073000,"timestamp_seconds":1784446073,"priority":1,"record_length":96,"hex_timestamp":"0000019f794638a8"} 
[2026-07-19 13:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:01:58] 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-07-19 13: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 13:01:58] 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-07-19 13: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-07-19 13:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818189312001,"66":11602,"120":206,"28":31744,"24":0,"16":7121094431473664,"45":1738037643074058240},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 13:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818189312001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:01:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 13:01:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 13:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121094431473664,"km_value":7121094431473.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074058240,"description":"Unknown IO ID 45"} 
[2026-07-19 13:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818189312001,"power":11602,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074058240}} 
[2026-07-19 13:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":136605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:01:58] local.INFO: GPS data processed {"connection_id":136605,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:01:58] local.INFO: Acknowledgment sent {"connection_id":136605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:02:02] local.INFO: TCP Data received {"connection_id":136605,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79468ab0012d181ec00721afb8004b00d526..."} 
[2026-07-19 13:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79468ab0012d181ec00721afb8004b00d526..."} 
[2026-07-19 13:02:02] local.INFO: Processing buffer {"connection_id":136605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79468ab0012d181ec00721afb8004b00d526..."} 
[2026-07-19 13:02:02] local.INFO: Packet analysis {"connection_id":136605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 13:02:02] local.INFO: Extracted packet for processing {"connection_id":136605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 13:02:02] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648184,"longitude_deg":75.6555456,"latitude_deg":11.9648184,"altitude":75,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818194688001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121094431473664,"note":"Value kept but may cause issues"} 
[2026-07-19 13:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074058240,"note":"Value kept but may cause issues"} 
[2026-07-19 13:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784446094000,"timestamp_ms":1784446094000,"timestamp_seconds":1784446094,"priority":1,"record_length":96,"hex_timestamp":"0000019f79468ab0"} 
[2026-07-19 13:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13: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":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-19 13:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818194688001,"66":12428,"120":206,"28":31744,"24":0,"16":7121094431473664,"45":1738037643074058240},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 13:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818194688001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:02:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 13:02:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 13:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121094431473664,"km_value":7121094431473.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074058240,"description":"Unknown IO ID 45"} 
[2026-07-19 13:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818194688001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074058240}} 
[2026-07-19 13:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":136605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:02:03] local.INFO: GPS data processed {"connection_id":136605,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:02:03] local.INFO: Acknowledgment sent {"connection_id":136605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:02:10] local.INFO: TCP Data received {"connection_id":137543,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:02:10] local.INFO: Processing buffer {"connection_id":137543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:02:10] local.INFO: Packet analysis {"connection_id":137543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 13:02:10] local.INFO: Extracted packet for processing {"connection_id":137543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 13:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818114560001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:02: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-07-19 13:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784446061000,"timestamp_ms":1784446061000,"timestamp_seconds":1784446061,"priority":1,"record_length":96,"hex_timestamp":"0000019f794609c8"} 
[2026-07-19 13:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:02:10] 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-07-19 13:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818114560001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818114560001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:02:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818114560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":137543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:02:10] local.INFO: GPS data processed {"connection_id":137543,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:02:10] local.INFO: Acknowledgment sent {"connection_id":137543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:02:31] local.INFO: TCP Data received {"connection_id":136466,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:02:31] local.INFO: Processing buffer {"connection_id":136466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:02:31] local.INFO: IMEI packet received {"connection_id":136466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":136466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:02:34] local.INFO: TCP Data received {"connection_id":136605,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7946dcb8012d181ec00721afb8004b00d52b..."} 
[2026-07-19 13:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7946dcb8012d181ec00721afb8004b00d52b..."} 
[2026-07-19 13:02:34] local.INFO: Processing buffer {"connection_id":136605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7946dcb8012d181ec00721afb8004b00d52b..."} 
[2026-07-19 13:02:34] local.INFO: Packet analysis {"connection_id":136605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 13:02:34] local.INFO: Extracted packet for processing {"connection_id":136605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 13:02:34] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648184,"longitude_deg":75.6555456,"latitude_deg":11.9648184,"altitude":75,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818200064001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121094431473664,"note":"Value kept but may cause issues"} 
[2026-07-19 13:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074058240,"note":"Value kept but may cause issues"} 
[2026-07-19 13:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784446115000,"timestamp_ms":1784446115000,"timestamp_seconds":1784446115,"priority":1,"record_length":96,"hex_timestamp":"0000019f7946dcb8"} 
[2026-07-19 13:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:02:34] 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-07-19 13: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-19 13:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":136605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":136605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":136605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818200064001,"66":12461,"120":206,"28":31744,"24":0,"16":7121094431473664,"45":1738037643074058240},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 13:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818200064001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:02:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 13:02:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 13:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121094431473664,"km_value":7121094431473.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074058240,"description":"Unknown IO ID 45"} 
[2026-07-19 13:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818200064001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074058240}} 
[2026-07-19 13:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":136605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:02:34] local.INFO: GPS data processed {"connection_id":136605,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:02:34] local.INFO: Acknowledgment sent {"connection_id":136605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:02:36] local.INFO: TCP Data received {"connection_id":136466,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:02:36] local.INFO: Processing buffer {"connection_id":136466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:02:36] local.INFO: IMEI packet received {"connection_id":136466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":136466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:02:38] local.INFO: TCP Data received {"connection_id":136466,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:02:38] local.INFO: Processing buffer {"connection_id":136466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:02:38] local.INFO: Packet analysis {"connection_id":136466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 13:02:38] local.INFO: Extracted packet for processing {"connection_id":136466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 13:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818114560001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:02: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-07-19 13:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784446061000,"timestamp_ms":1784446061000,"timestamp_seconds":1784446061,"priority":1,"record_length":96,"hex_timestamp":"0000019f794609c8"} 
[2026-07-19 13:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818114560001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 13:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818114560001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:02:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:02:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818114560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":136466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:02:38] local.INFO: GPS data processed {"connection_id":136466,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:02:38] local.INFO: Acknowledgment sent {"connection_id":136466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:02:52] local.INFO: TCP Data received {"connection_id":138952,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:02:52] local.INFO: Processing buffer {"connection_id":138952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:02:52] local.INFO: IMEI packet received {"connection_id":138952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":138952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:02:57] local.INFO: TCP Data received {"connection_id":138952,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:02:57] local.INFO: Processing buffer {"connection_id":138952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:02:57] local.INFO: IMEI packet received {"connection_id":138952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":138952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:02:59] local.INFO: TCP Data received {"connection_id":138952,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f79472ec0012d181ec00721afb8004b00d52c..."} 
[2026-07-19 13:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79472ec0012d181ec00721afb8004b00d52c..."} 
[2026-07-19 13:02:59] local.INFO: Processing buffer {"connection_id":138952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79472ec0012d181ec00721afb8004b00d52c..."} 
[2026-07-19 13:02:59] local.INFO: Packet analysis {"connection_id":138952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7947"} 
[2026-07-19 13:02:59] local.INFO: Extracted packet for processing {"connection_id":138952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7947"} 
[2026-07-19 13:02:59] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648184,"longitude_deg":75.6555456,"latitude_deg":11.9648184,"altitude":75,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-07-19 13:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818205440001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121094431473664,"note":"Value kept but may cause issues"} 
[2026-07-19 13:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074058240,"note":"Value kept but may cause issues"} 
[2026-07-19 13:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784446136000,"timestamp_ms":1784446136000,"timestamp_seconds":1784446136,"priority":1,"record_length":96,"hex_timestamp":"0000019f79472ec0"} 
[2026-07-19 13:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:02:59] 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-07-19 13:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 13:02: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-07-19 13:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":138952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":138952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":138952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818205440001,"66":12493,"120":206,"28":31744,"24":0,"16":7121094431473664,"45":1738037643074058240},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 13:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818205440001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:02:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 13:02:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 13:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121094431473664,"km_value":7121094431473.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074058240,"description":"Unknown IO ID 45"} 
[2026-07-19 13:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818205440001,"power":12493,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074058240}} 
[2026-07-19 13:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":138952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:02:59] local.INFO: GPS data processed {"connection_id":138952,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:02:59] local.INFO: Acknowledgment sent {"connection_id":138952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:03:09] local.INFO: TCP Data received {"connection_id":136466,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:03:09] local.INFO: Processing buffer {"connection_id":136466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794609c8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:03:09] local.INFO: Packet analysis {"connection_id":136466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 13:03:09] local.INFO: Extracted packet for processing {"connection_id":136466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7946"} 
[2026-07-19 13:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818114560001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:03: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-07-19 13:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784446061000,"timestamp_ms":1784446061000,"timestamp_seconds":1784446061,"priority":1,"record_length":96,"hex_timestamp":"0000019f794609c8"} 
[2026-07-19 13:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818114560001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 13:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818114560001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:03:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:03:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818114560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":136466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:03:09] local.INFO: GPS data processed {"connection_id":136466,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:03:09] local.INFO: Acknowledgment sent {"connection_id":136466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:03:30] local.INFO: TCP Data received {"connection_id":138952,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f794780c8012d181ec00721afb8004b00d52b..."} 
[2026-07-19 13:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794780c8012d181ec00721afb8004b00d52b..."} 
[2026-07-19 13:03:30] local.INFO: Processing buffer {"connection_id":138952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794780c8012d181ec00721afb8004b00d52b..."} 
[2026-07-19 13:03:30] local.INFO: Packet analysis {"connection_id":138952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7947"} 
[2026-07-19 13:03:30] local.INFO: Extracted packet for processing {"connection_id":138952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7947"} 
[2026-07-19 13:03:30] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648184,"longitude_deg":75.6555456,"latitude_deg":11.9648184,"altitude":75,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-07-19 13:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818210816001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121094431473664,"note":"Value kept but may cause issues"} 
[2026-07-19 13:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074058240,"note":"Value kept but may cause issues"} 
[2026-07-19 13:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784446157000,"timestamp_ms":1784446157000,"timestamp_seconds":1784446157,"priority":1,"record_length":96,"hex_timestamp":"0000019f794780c8"} 
[2026-07-19 13:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:03:30] 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-07-19 13:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 13:03:30] 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-07-19 13:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":138952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":138952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":138952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818210816001,"66":12439,"120":206,"28":31744,"24":0,"16":7121094431473664,"45":1738037643074058240},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 13:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818210816001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:03:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 13:03:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 13:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121094431473664,"km_value":7121094431473.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074058240,"description":"Unknown IO ID 45"} 
[2026-07-19 13:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818210816001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074058240}} 
[2026-07-19 13:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":138952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:03:31] local.INFO: GPS data processed {"connection_id":138952,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:03:31] local.INFO: Acknowledgment sent {"connection_id":138952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:03:31] local.INFO: TCP Data received {"connection_id":136606,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:03:31] local.INFO: Processing buffer {"connection_id":136606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:03:31] local.INFO: IMEI packet received {"connection_id":136606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":136606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:03:36] local.INFO: TCP Data received {"connection_id":136606,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:03:36] local.INFO: Processing buffer {"connection_id":136606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:03:36] local.INFO: IMEI packet received {"connection_id":136606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":136606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:03:37] local.INFO: TCP Data received {"connection_id":136606,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:03:38] local.INFO: Processing buffer {"connection_id":136606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:03:38] local.INFO: Packet analysis {"connection_id":136606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794a"} 
[2026-07-19 13:03:38] local.INFO: Extracted packet for processing {"connection_id":136606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794a"} 
[2026-07-19 13:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818191616001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:03: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-07-19 13:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784446362000,"timestamp_ms":1784446362000,"timestamp_seconds":1784446362,"priority":1,"record_length":96,"hex_timestamp":"0000019f794aa190"} 
[2026-07-19 13:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818191616001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 13:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818191616001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:03:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:03:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818191616001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":136606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:03:38] local.INFO: GPS data processed {"connection_id":136606,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:03:38] local.INFO: Acknowledgment sent {"connection_id":136606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:03:52] local.INFO: TCP Data received {"connection_id":136467,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:03:52] local.INFO: Processing buffer {"connection_id":136467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:03:52] local.INFO: IMEI packet received {"connection_id":136467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":136467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:03:57] local.INFO: TCP Data received {"connection_id":136467,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:03:57] local.INFO: Processing buffer {"connection_id":136467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:03:57] local.INFO: IMEI packet received {"connection_id":136467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":136467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:03:58] local.INFO: TCP Data received {"connection_id":136467,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f7947d2d0012d181ec00721afb8004b00d52c..."} 
[2026-07-19 13:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7947d2d0012d181ec00721afb8004b00d52c..."} 
[2026-07-19 13:03:58] local.INFO: Processing buffer {"connection_id":136467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7947d2d0012d181ec00721afb8004b00d52c..."} 
[2026-07-19 13:03:58] local.INFO: Packet analysis {"connection_id":136467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7947"} 
[2026-07-19 13:03:58] local.INFO: Extracted packet for processing {"connection_id":136467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7947"} 
[2026-07-19 13:03:58] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648184,"longitude_deg":75.6555456,"latitude_deg":11.9648184,"altitude":75,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818216192001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121094431473664,"note":"Value kept but may cause issues"} 
[2026-07-19 13:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074058240,"note":"Value kept but may cause issues"} 
[2026-07-19 13:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784446178000,"timestamp_ms":1784446178000,"timestamp_seconds":1784446178,"priority":1,"record_length":96,"hex_timestamp":"0000019f7947d2d0"} 
[2026-07-19 13:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:03:58] 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-07-19 13: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:03:58] 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-07-19 13:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818216192001,"66":12428,"120":206,"28":31744,"24":0,"16":7121094431473664,"45":1738037643074058240},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 13:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818216192001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:03:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 13:03:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 13:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121094431473664,"km_value":7121094431473.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074058240,"description":"Unknown IO ID 45"} 
[2026-07-19 13:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818216192001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074058240}} 
[2026-07-19 13:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":136467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:03:58] local.INFO: GPS data processed {"connection_id":136467,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:03:58] local.INFO: Acknowledgment sent {"connection_id":136467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:04:09] local.INFO: TCP Data received {"connection_id":136606,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:04:09] local.INFO: Processing buffer {"connection_id":136606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:04:09] local.INFO: Packet analysis {"connection_id":136606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794a"} 
[2026-07-19 13:04:09] local.INFO: Extracted packet for processing {"connection_id":136606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794a"} 
[2026-07-19 13:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818191616001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:04: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-07-19 13:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784446362000,"timestamp_ms":1784446362000,"timestamp_seconds":1784446362,"priority":1,"record_length":96,"hex_timestamp":"0000019f794aa190"} 
[2026-07-19 13:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818191616001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 13:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818191616001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:04:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:04:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818191616001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":136606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:04:09] local.INFO: GPS data processed {"connection_id":136606,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:04:09] local.INFO: Acknowledgment sent {"connection_id":136606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:04:30] local.INFO: TCP Data received {"connection_id":136467,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f794824d8012d181ec00721afb8004b00d52b..."} 
[2026-07-19 13:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794824d8012d181ec00721afb8004b00d52b..."} 
[2026-07-19 13:04:30] local.INFO: Processing buffer {"connection_id":136467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794824d8012d181ec00721afb8004b00d52b..."} 
[2026-07-19 13:04:30] local.INFO: Packet analysis {"connection_id":136467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7948"} 
[2026-07-19 13:04:30] local.INFO: Extracted packet for processing {"connection_id":136467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7948"} 
[2026-07-19 13:04:30] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648184,"longitude_deg":75.6555456,"latitude_deg":11.9648184,"altitude":75,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818221568001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121094431473664,"note":"Value kept but may cause issues"} 
[2026-07-19 13:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074058240,"note":"Value kept but may cause issues"} 
[2026-07-19 13:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784446199000,"timestamp_ms":1784446199000,"timestamp_seconds":1784446199,"priority":1,"record_length":96,"hex_timestamp":"0000019f794824d8"} 
[2026-07-19 13:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:04:30] 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-07-19 13: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-19 13:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":136467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":136467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":136467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818221568001,"66":12439,"120":206,"28":31744,"24":0,"16":7121094431473664,"45":1738037643074058240},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 13:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818221568001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:04:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 13:04:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 13:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121094431473664,"km_value":7121094431473.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074058240,"description":"Unknown IO ID 45"} 
[2026-07-19 13:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818221568001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074058240}} 
[2026-07-19 13:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":136467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:04:30] local.INFO: GPS data processed {"connection_id":136467,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:04:30] local.INFO: Acknowledgment sent {"connection_id":136467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:04:31] local.INFO: TCP Data received {"connection_id":136607,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:04:31] local.INFO: Processing buffer {"connection_id":136607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:04:31] local.INFO: IMEI packet received {"connection_id":136607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":136607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:04:36] local.INFO: TCP Data received {"connection_id":136607,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:04:36] local.INFO: Processing buffer {"connection_id":136607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:04:36] local.INFO: IMEI packet received {"connection_id":136607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":136607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:04:37] local.INFO: TCP Data received {"connection_id":136607,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:04:37] local.INFO: Processing buffer {"connection_id":136607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:04:37] local.INFO: Packet analysis {"connection_id":136607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794a"} 
[2026-07-19 13:04:37] local.INFO: Extracted packet for processing {"connection_id":136607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794a"} 
[2026-07-19 13:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818191616001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:04: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-07-19 13:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784446362000,"timestamp_ms":1784446362000,"timestamp_seconds":1784446362,"priority":1,"record_length":96,"hex_timestamp":"0000019f794aa190"} 
[2026-07-19 13:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:04: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-07-19 13:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818191616001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 13:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818191616001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:04:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818191616001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":136607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:04:37] local.INFO: GPS data processed {"connection_id":136607,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:04:37] local.INFO: Acknowledgment sent {"connection_id":136607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:04:49] local.INFO: TCP Data received {"connection_id":136468,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:04:49] local.INFO: Processing buffer {"connection_id":136468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:04:49] local.INFO: IMEI packet received {"connection_id":136468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":136468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:04:53] local.INFO: TCP Data received {"connection_id":136468,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:04:53] local.INFO: Processing buffer {"connection_id":136468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:04:53] local.INFO: IMEI packet received {"connection_id":136468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":136468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:04:58] local.INFO: TCP Data received {"connection_id":136468,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:04:58] local.INFO: Processing buffer {"connection_id":136468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:04:58] local.INFO: IMEI packet received {"connection_id":136468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":136468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:04:59] local.INFO: TCP Data received {"connection_id":136468,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f794bab30012d181ec00721afb8004b00d528..."} 
[2026-07-19 13:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794bab30012d181ec00721afb8004b00d528..."} 
[2026-07-19 13:04:59] local.INFO: Processing buffer {"connection_id":136468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794bab30012d181ec00721afb8004b00d528..."} 
[2026-07-19 13:04:59] local.INFO: Packet analysis {"connection_id":136468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794b"} 
[2026-07-19 13:04:59] local.INFO: Extracted packet for processing {"connection_id":136468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794b"} 
[2026-07-19 13:04:59] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648184,"longitude_deg":75.6555456,"latitude_deg":11.9648184,"altitude":75,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-07-19 13:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818280704001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121094431473664,"note":"Value kept but may cause issues"} 
[2026-07-19 13:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074058240,"note":"Value kept but may cause issues"} 
[2026-07-19 13:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784446430000,"timestamp_ms":1784446430000,"timestamp_seconds":1784446430,"priority":1,"record_length":96,"hex_timestamp":"0000019f794bab30"} 
[2026-07-19 13:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:04: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-07-19 13:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-19 13:04:59] 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-07-19 13:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":136468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":136468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":136468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818280704001,"66":14243,"120":206,"28":31744,"24":0,"16":7121094431473664,"45":1738037643074058240},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 13:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818280704001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:04:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 13:04:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 13:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121094431473664,"km_value":7121094431473.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074058240,"description":"Unknown IO ID 45"} 
[2026-07-19 13:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818280704001,"power":14243,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074058240}} 
[2026-07-19 13:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":136468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:04:59] local.INFO: GPS data processed {"connection_id":136468,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:04:59] local.INFO: Acknowledgment sent {"connection_id":136468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:05:02] local.INFO: TCP Data received {"connection_id":136468,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f794be1e0012d181e800721ad68004d00a529..."} 
[2026-07-19 13:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794be1e0012d181e800721ad68004d00a529..."} 
[2026-07-19 13:05:02] local.INFO: Processing buffer {"connection_id":136468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794be1e0012d181e800721ad68004d00a529..."} 
[2026-07-19 13:05:02] local.INFO: Packet analysis {"connection_id":136468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794b"} 
[2026-07-19 13:05:02] local.INFO: Extracted packet for processing {"connection_id":136468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794b"} 
[2026-07-19 13:05:02] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647592,"longitude_deg":75.6555392,"latitude_deg":11.9647592,"altitude":77,"angle":165,"satellites":41,"speed":4,"hex_longitude":"2d181e80","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-19 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-07-19 13:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818286080001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121124496244736,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074058240,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784446444000,"timestamp_ms":1784446444000,"timestamp_seconds":1784446444,"priority":1,"record_length":96,"hex_timestamp":"0000019f794be1e0"} 
[2026-07-19 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-07-19 13:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-19 13:05: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-07-19 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-07-19 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-07-19 13:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818286080001,"66":13330,"120":206,"28":31744,"24":4,"16":7121124496244736,"45":1738037643074058240},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 13:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818286080001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:05:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 13:05:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 13:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121124496244736,"km_value":7121124496244.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074058240,"description":"Unknown IO ID 45"} 
[2026-07-19 13:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818286080001,"power":13330,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1738037643074058240}} 
[2026-07-19 13:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":136468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:05:02] local.INFO: GPS data processed {"connection_id":136468,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:05:02] local.INFO: Acknowledgment sent {"connection_id":136468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:05:09] local.INFO: TCP Data received {"connection_id":136607,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:05:09] local.INFO: Processing buffer {"connection_id":136607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:05:09] local.INFO: Packet analysis {"connection_id":136607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794a"} 
[2026-07-19 13:05:09] local.INFO: Extracted packet for processing {"connection_id":136607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794a"} 
[2026-07-19 13:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818191616001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13: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-07-19 13:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784446362000,"timestamp_ms":1784446362000,"timestamp_seconds":1784446362,"priority":1,"record_length":96,"hex_timestamp":"0000019f794aa190"} 
[2026-07-19 13:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818191616001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 13:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818191616001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:05:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818191616001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":136607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:05:09] local.INFO: GPS data processed {"connection_id":136607,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:05:09] local.INFO: Acknowledgment sent {"connection_id":136607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:05:31] local.INFO: TCP Data received {"connection_id":136609,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:05:31] local.INFO: Processing buffer {"connection_id":136609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:05:31] local.INFO: IMEI packet received {"connection_id":136609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":136609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:05:34] local.INFO: TCP Data received {"connection_id":136468,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f794bf568012d181fc00721a940004e00952b..."} 
[2026-07-19 13:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794bf568012d181fc00721a940004e00952b..."} 
[2026-07-19 13:05:34] local.INFO: Processing buffer {"connection_id":136468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794bf568012d181fc00721a940004e00952b..."} 
[2026-07-19 13:05:34] local.INFO: Packet analysis {"connection_id":136468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794b"} 
[2026-07-19 13:05:34] local.INFO: Extracted packet for processing {"connection_id":136468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794b"} 
[2026-07-19 13:05:34] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119646528,"longitude_deg":75.6555712,"latitude_deg":11.9646528,"altitude":78,"angle":149,"satellites":43,"speed":11,"hex_longitude":"2d181fc0","hex_latitude":"0721a940","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818289664001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121180330819584,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329729024,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784446449000,"timestamp_ms":1784446449000,"timestamp_seconds":1784446449,"priority":1,"record_length":96,"hex_timestamp":"0000019f794bf568"} 
[2026-07-19 13:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-19 13:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05:34] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2566914048,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249380941250015160,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05:34] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-5784873399220884736,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-19 13:05:34] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692847,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05:34] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862951,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05:34] local.WARNING: Large IO value detected {"io_id":151,"raw_value":57956872821283964,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05:34] local.WARNING: Large IO value detected {"io_id":73,"raw_value":-4683742319275491321,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05:34] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05:34] local.WARNING: Large IO value detected {"io_id":62,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,120,28,24,241,158,16,76,159,171,45,192,175,75,40,10,66,89,42,7,1,240,97,121,33,4,113,205,99,30,184,43,239,48,2,25,151,73,231,62],"length":626,"final_offset":756,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-19 13:05:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548616336432955392,"timestamp_seconds":5548616336432955.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 13:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":136468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":136468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":136468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818289664001,"66":14135,"120":206,"28":31744,"24":11,"16":7121180330819584,"45":1737967274329729024},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 13:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818289664001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:05:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 13:05:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 13:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121180330819584,"km_value":7121180330819.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329729024,"description":"Unknown IO ID 45"} 
[2026-07-19 13:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818289664001,"power":14135,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1737967274329729024}} 
[2026-07-19 13:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":136468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:05:34] local.INFO: GPS data processed {"connection_id":136468,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:05:34] local.INFO: Acknowledgment sent {"connection_id":136468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:05:36] local.INFO: TCP Data received {"connection_id":136609,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:05:36] local.INFO: Processing buffer {"connection_id":136609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:05:36] local.INFO: IMEI packet received {"connection_id":136609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":136609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:05:37] local.INFO: TCP Data received {"connection_id":136609,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:05:37] local.INFO: Processing buffer {"connection_id":136609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:05:37] local.INFO: Packet analysis {"connection_id":136609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794a"} 
[2026-07-19 13:05:37] local.INFO: Extracted packet for processing {"connection_id":136609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794a"} 
[2026-07-19 13:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818191616001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05: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-07-19 13:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784446362000,"timestamp_ms":1784446362000,"timestamp_seconds":1784446362,"priority":1,"record_length":96,"hex_timestamp":"0000019f794aa190"} 
[2026-07-19 13:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:05: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-07-19 13:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:05: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-07-19 13:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818191616001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818191616001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:05:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818191616001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":136609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:05:37] local.INFO: GPS data processed {"connection_id":136609,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:05:37] local.INFO: Acknowledgment sent {"connection_id":136609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:05:51] local.INFO: TCP Data received {"connection_id":137546,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:05:51] local.INFO: Processing buffer {"connection_id":137546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:05:51] local.INFO: IMEI packet received {"connection_id":137546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":137546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:05:52] local.INFO: TCP Data received {"connection_id":137546,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:05:52] local.INFO: Processing buffer {"connection_id":137546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:05:52] local.INFO: IMEI packet received {"connection_id":137546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":137546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:05:53] local.INFO: TCP Data received {"connection_id":137546,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:05:53] local.INFO: Processing buffer {"connection_id":137546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:05:53] local.INFO: IMEI packet received {"connection_id":137546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":137546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:05:56] local.INFO: TCP Data received {"connection_id":137546,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:05:57] local.INFO: Processing buffer {"connection_id":137546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:05:57] local.INFO: IMEI packet received {"connection_id":137546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":137546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:05:57] local.INFO: TCP Data received {"connection_id":137546,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f794bfd38012d1821000721a7b0004e00852b..."} 
[2026-07-19 13:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794bfd38012d1821000721a7b0004e00852b..."} 
[2026-07-19 13:05:57] local.INFO: Processing buffer {"connection_id":137546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794bfd38012d1821000721a7b0004e00852b..."} 
[2026-07-19 13:05:57] local.INFO: Packet analysis {"connection_id":137546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794b"} 
[2026-07-19 13:05:57] local.INFO: Extracted packet for processing {"connection_id":137546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794b"} 
[2026-07-19 13:05:57] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119646128,"longitude_deg":75.6556032,"latitude_deg":11.9646128,"altitude":78,"angle":133,"satellites":43,"speed":8,"hex_longitude":"2d182100","hex_latitude":"0721a7b0","is_valid_coordinates":true} 
[2026-07-19 13:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818290944001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7121206100623360,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050344960,"note":"Value kept but may cause issues"} 
[2026-07-19 13:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784446451000,"timestamp_ms":1784446451000,"timestamp_seconds":1784446451,"priority":1,"record_length":96,"hex_timestamp":"0000019f794bfd38"} 
[2026-07-19 13:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:05: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-07-19 13:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-19 13:05:57] 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-07-19 13:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818290944001,"66":14189,"120":206,"28":31744,"24":8,"16":7121206100623360,"45":1738319118050344960},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-19 13:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818290944001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:05:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-19 13:05:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 13:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7121206100623360,"km_value":7121206100623.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050344960,"description":"Unknown IO ID 45"} 
[2026-07-19 13:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818290944001,"power":14189,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1738319118050344960}} 
[2026-07-19 13:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":137546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:05:57] local.INFO: GPS data processed {"connection_id":137546,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:05:57] local.INFO: Acknowledgment sent {"connection_id":137546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:06:09] local.INFO: TCP Data received {"connection_id":136609,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:06:09] local.INFO: Processing buffer {"connection_id":136609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:06:09] local.INFO: Packet analysis {"connection_id":136609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794a"} 
[2026-07-19 13:06:09] local.INFO: Extracted packet for processing {"connection_id":136609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794a"} 
[2026-07-19 13:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818191616001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:06: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-07-19 13:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784446362000,"timestamp_ms":1784446362000,"timestamp_seconds":1784446362,"priority":1,"record_length":96,"hex_timestamp":"0000019f794aa190"} 
[2026-07-19 13:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:06: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-07-19 13:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818191616001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818191616001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:06:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818191616001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":136609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:06:09] local.INFO: GPS data processed {"connection_id":136609,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:06:09] local.INFO: Acknowledgment sent {"connection_id":136609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:06:27] local.INFO: TCP Data received {"connection_id":136469,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:06:27] local.INFO: Processing buffer {"connection_id":136469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:06:27] local.INFO: IMEI packet received {"connection_id":136469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 13:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":136469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:06:29] local.INFO: TCP Data received {"connection_id":137546,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f794d4d28012d18d8c00720ff28003c009423..."} 
[2026-07-19 13:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794d4d28012d18d8c00720ff28003c009423..."} 
[2026-07-19 13:06:29] local.INFO: Processing buffer {"connection_id":137546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794d4d28012d18d8c00720ff28003c009423..."} 
[2026-07-19 13:06:29] local.INFO: Packet analysis {"connection_id":137546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794d"} 
[2026-07-19 13:06:29] local.INFO: Extracted packet for processing {"connection_id":137546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794d"} 
[2026-07-19 13:06:29] local.INFO: GPS Element Parsed {"raw_longitude":756603072,"raw_latitude":119602984,"longitude_deg":75.6603072,"latitude_deg":11.9602984,"altitude":60,"angle":148,"satellites":35,"speed":35,"hex_longitude":"2d18d8c0","hex_latitude":"0720ff28","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818312960001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7124646369427456,"note":"Value kept but may cause issues"} 
[2026-07-19 13:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789547563800952832,"note":"Value kept but may cause issues"} 
[2026-07-19 13:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784446537000,"timestamp_ms":1784446537000,"timestamp_seconds":1784446537,"priority":1,"record_length":96,"hex_timestamp":"0000019f794d4d28"} 
[2026-07-19 13:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:06:29] 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-07-19 13:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-07-19 13:06:29] 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-07-19 13: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-07-19 13:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":137546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":137546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":137546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818312960001,"66":14243,"121":206,"28":31744,"24":35,"16":7124646369427456,"45":1789547563800952832},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 13:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818312960001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:06:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 13:06:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 13:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7124646369427456,"km_value":7124646369427.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789547563800952832,"description":"Unknown IO ID 45"} 
[2026-07-19 13:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818312960001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1789547563800952832}} 
[2026-07-19 13:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":137546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:06:29] local.INFO: GPS data processed {"connection_id":137546,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:06:29] local.INFO: Acknowledgment sent {"connection_id":137546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:06:31] local.INFO: TCP Data received {"connection_id":136610,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:06:31] local.INFO: Processing buffer {"connection_id":136610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:06:31] local.INFO: IMEI packet received {"connection_id":136610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":136610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:06:36] local.INFO: TCP Data received {"connection_id":136610,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:06:36] local.INFO: Processing buffer {"connection_id":136610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:06:36] local.INFO: IMEI packet received {"connection_id":136610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":136610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:06:37] local.INFO: TCP Data received {"connection_id":136610,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:06:37] local.INFO: Processing buffer {"connection_id":136610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:06:37] local.INFO: Packet analysis {"connection_id":136610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794a"} 
[2026-07-19 13:06:37] local.INFO: Extracted packet for processing {"connection_id":136610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794a"} 
[2026-07-19 13:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818191616001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:06: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-07-19 13:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784446362000,"timestamp_ms":1784446362000,"timestamp_seconds":1784446362,"priority":1,"record_length":96,"hex_timestamp":"0000019f794aa190"} 
[2026-07-19 13:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:06: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-07-19 13:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818191616001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 13:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818191616001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:06:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818191616001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":136610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:06:37] local.INFO: GPS data processed {"connection_id":136610,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:06:37] local.INFO: Acknowledgment sent {"connection_id":136610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:06:51] local.INFO: TCP Data received {"connection_id":137547,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:06:51] local.INFO: Processing buffer {"connection_id":137547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:06:51] local.INFO: IMEI packet received {"connection_id":137547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":137547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:06:53] local.INFO: TCP Data received {"connection_id":137547,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:06:53] local.INFO: Processing buffer {"connection_id":137547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:06:53] local.INFO: IMEI packet received {"connection_id":137547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":137547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:07:09] local.INFO: TCP Data received {"connection_id":136610,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:07:09] local.INFO: Processing buffer {"connection_id":136610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:07:09] local.INFO: Packet analysis {"connection_id":136610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794a"} 
[2026-07-19 13:07:09] local.INFO: Extracted packet for processing {"connection_id":136610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794a"} 
[2026-07-19 13:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818191616001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:07: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-07-19 13:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784446362000,"timestamp_ms":1784446362000,"timestamp_seconds":1784446362,"priority":1,"record_length":96,"hex_timestamp":"0000019f794aa190"} 
[2026-07-19 13:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818191616001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 13:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818191616001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:07:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:07:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818191616001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":136610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:07:09] local.INFO: GPS data processed {"connection_id":136610,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:07:09] local.INFO: Acknowledgment sent {"connection_id":136610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:07:12] local.INFO: TCP Data received {"connection_id":137547,"ip":"117.224.76.86","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:07:12] local.INFO: Processing buffer {"connection_id":137547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:07:12] local.INFO: IMEI packet received {"connection_id":137547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":137547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:07:23] local.INFO: TCP Data received {"connection_id":137547,"ip":"117.224.76.86","data_length":795,"data_hex":"000000000000030f8e0a0000019f794d54f8012d18dd400720fa28003b008322..."} 
[2026-07-19 13:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794d54f8012d18dd400720fa28003b008322..."} 
[2026-07-19 13:07:23] local.INFO: Processing buffer {"connection_id":137547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794d54f8012d18dd400720fa28003b008322..."} 
[2026-07-19 13:07:23] local.INFO: Packet analysis {"connection_id":137547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794d"} 
[2026-07-19 13:07:23] local.INFO: Extracted packet for processing {"connection_id":137547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794d"} 
[2026-07-19 13:07:23] local.INFO: GPS Element Parsed {"raw_longitude":756604224,"raw_latitude":119601704,"longitude_deg":75.6604224,"latitude_deg":11.9601704,"altitude":59,"angle":131,"satellites":34,"speed":33,"hex_longitude":"2d18dd40","hex_latitude":"0720fa28","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818313472001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7124727973806080,"note":"Value kept but may cause issues"} 
[2026-07-19 13:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790391988730669056,"note":"Value kept but may cause issues"} 
[2026-07-19 13:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784446539000,"timestamp_ms":1784446539000,"timestamp_seconds":1784446539,"priority":1,"record_length":96,"hex_timestamp":"0000019f794d54f8"} 
[2026-07-19 13:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:07:23] 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-07-19 13: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-19 13:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":137547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":137547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":137547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.76.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818313472001,"66":13787,"121":206,"28":31744,"24":33,"16":7124727973806080,"45":1790391988730669056},"client_ip":"117.224.76.86","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-19 13:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818313472001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:07:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-19 13:07:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-19 13:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7124727973806080,"km_value":7124727973806.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790391988730669056,"description":"Unknown IO ID 45"} 
[2026-07-19 13:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818313472001,"power":13787,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1790391988730669056}} 
[2026-07-19 13:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":137547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:07:23] local.INFO: GPS data processed {"connection_id":137547,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:07:23] local.INFO: Acknowledgment sent {"connection_id":137547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:07:36] local.INFO: TCP Data received {"connection_id":138953,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:07:36] local.INFO: Processing buffer {"connection_id":138953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:07:36] local.INFO: IMEI packet received {"connection_id":138953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":138953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:07:41] local.INFO: TCP Data received {"connection_id":138953,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:07:41] local.INFO: Processing buffer {"connection_id":138953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:07:41] local.INFO: IMEI packet received {"connection_id":138953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":138953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:07:44] local.INFO: TCP Data received {"connection_id":138953,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:07:44] local.INFO: Processing buffer {"connection_id":138953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:07:44] local.INFO: Packet analysis {"connection_id":138953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794a"} 
[2026-07-19 13:07:44] local.INFO: Extracted packet for processing {"connection_id":138953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794a"} 
[2026-07-19 13:07:44] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818191616001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:07: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-07-19 13:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784446362000,"timestamp_ms":1784446362000,"timestamp_seconds":1784446362,"priority":1,"record_length":96,"hex_timestamp":"0000019f794aa190"} 
[2026-07-19 13:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":138953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":138953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":138953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818191616001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818191616001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:07:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:07:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818191616001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":138953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:07:44] local.INFO: GPS data processed {"connection_id":138953,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:07:44] local.INFO: Acknowledgment sent {"connection_id":138953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:07:47] local.INFO: TCP Data received {"connection_id":138953,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:07:47] local.INFO: Processing buffer {"connection_id":138953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794aa190012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:07:47] local.INFO: Packet analysis {"connection_id":138953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794a"} 
[2026-07-19 13:07:47] local.INFO: Extracted packet for processing {"connection_id":138953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794a"} 
[2026-07-19 13:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818191616001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784446362000,"timestamp_ms":1784446362000,"timestamp_seconds":1784446362,"priority":1,"record_length":96,"hex_timestamp":"0000019f794aa190"} 
[2026-07-19 13:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":138953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":138953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":138953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818191616001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818191616001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:07:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:07:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818191616001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":138953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:07:47] local.INFO: GPS data processed {"connection_id":138953,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:07:47] local.INFO: Acknowledgment sent {"connection_id":138953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:08:31] local.INFO: TCP Data received {"connection_id":136470,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:08:31] local.INFO: Processing buffer {"connection_id":136470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:08:31] local.INFO: IMEI packet received {"connection_id":136470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":136470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:08:36] local.INFO: TCP Data received {"connection_id":136470,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:08:36] local.INFO: Processing buffer {"connection_id":136470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:08:36] local.INFO: IMEI packet received {"connection_id":136470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":136470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:08:37] local.INFO: TCP Data received {"connection_id":136470,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:08:37] local.INFO: Processing buffer {"connection_id":136470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:08:37] local.INFO: Packet analysis {"connection_id":136470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794f"} 
[2026-07-19 13:08:37] local.INFO: Extracted packet for processing {"connection_id":136470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794f"} 
[2026-07-19 13:08:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818268672001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:08: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-07-19 13:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784446663000,"timestamp_ms":1784446663000,"timestamp_seconds":1784446663,"priority":1,"record_length":96,"hex_timestamp":"0000019f794f3958"} 
[2026-07-19 13:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818268672001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818268672001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:08:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:08:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818268672001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":136470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:08:37] local.INFO: GPS data processed {"connection_id":136470,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:08:37] local.INFO: Acknowledgment sent {"connection_id":136470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:09:08] local.INFO: TCP Data received {"connection_id":136470,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:09:08] local.INFO: Processing buffer {"connection_id":136470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:09:08] local.INFO: Packet analysis {"connection_id":136470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794f"} 
[2026-07-19 13:09:08] local.INFO: Extracted packet for processing {"connection_id":136470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794f"} 
[2026-07-19 13:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818268672001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:09: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-07-19 13:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784446663000,"timestamp_ms":1784446663000,"timestamp_seconds":1784446663,"priority":1,"record_length":96,"hex_timestamp":"0000019f794f3958"} 
[2026-07-19 13:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:09: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-07-19 13:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818268672001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818268672001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:09:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818268672001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":136470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:09:08] local.INFO: GPS data processed {"connection_id":136470,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:09:08] local.INFO: Acknowledgment sent {"connection_id":136470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:09:31] local.INFO: TCP Data received {"connection_id":138954,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:09:31] local.INFO: Processing buffer {"connection_id":138954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:09:31] local.INFO: IMEI packet received {"connection_id":138954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":138954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:09:36] local.INFO: TCP Data received {"connection_id":138954,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:09:36] local.INFO: Processing buffer {"connection_id":138954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:09:36] local.INFO: IMEI packet received {"connection_id":138954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":138954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:09:38] local.INFO: TCP Data received {"connection_id":138954,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:09:38] local.INFO: Processing buffer {"connection_id":138954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:09:38] local.INFO: Packet analysis {"connection_id":138954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794f"} 
[2026-07-19 13:09:38] local.INFO: Extracted packet for processing {"connection_id":138954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794f"} 
[2026-07-19 13:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818268672001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:09: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-07-19 13:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784446663000,"timestamp_ms":1784446663000,"timestamp_seconds":1784446663,"priority":1,"record_length":96,"hex_timestamp":"0000019f794f3958"} 
[2026-07-19 13:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:09: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-07-19 13:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818268672001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818268672001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:09:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:09:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818268672001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":138954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:09:38] local.INFO: GPS data processed {"connection_id":138954,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:09:38] local.INFO: Acknowledgment sent {"connection_id":138954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:10:09] local.INFO: TCP Data received {"connection_id":138954,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:10:09] local.INFO: Processing buffer {"connection_id":138954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:10:09] local.INFO: Packet analysis {"connection_id":138954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794f"} 
[2026-07-19 13:10:09] local.INFO: Extracted packet for processing {"connection_id":138954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794f"} 
[2026-07-19 13:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818268672001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:10: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-07-19 13:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784446663000,"timestamp_ms":1784446663000,"timestamp_seconds":1784446663,"priority":1,"record_length":96,"hex_timestamp":"0000019f794f3958"} 
[2026-07-19 13:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:10: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-07-19 13:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818268672001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818268672001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818268672001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":138954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:10:09] local.INFO: GPS data processed {"connection_id":138954,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:10:09] local.INFO: Acknowledgment sent {"connection_id":138954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:10:31] local.INFO: TCP Data received {"connection_id":137550,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:10:31] local.INFO: Processing buffer {"connection_id":137550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:10:31] local.INFO: IMEI packet received {"connection_id":137550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":137550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:10:36] local.INFO: TCP Data received {"connection_id":137550,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:10:36] local.INFO: Processing buffer {"connection_id":137550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:10:36] local.INFO: IMEI packet received {"connection_id":137550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":137550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:10:37] local.INFO: TCP Data received {"connection_id":137550,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:10:37] local.INFO: Processing buffer {"connection_id":137550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:10:37] local.INFO: Packet analysis {"connection_id":137550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794f"} 
[2026-07-19 13:10:37] local.INFO: Extracted packet for processing {"connection_id":137550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794f"} 
[2026-07-19 13:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818268672001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:10: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-07-19 13:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784446663000,"timestamp_ms":1784446663000,"timestamp_seconds":1784446663,"priority":1,"record_length":96,"hex_timestamp":"0000019f794f3958"} 
[2026-07-19 13:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818268672001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818268672001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:10:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818268672001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":137550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:10:37] local.INFO: GPS data processed {"connection_id":137550,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:10:37] local.INFO: Acknowledgment sent {"connection_id":137550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:10:56] local.INFO: TCP Data received {"connection_id":138955,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:10:56] local.INFO: Processing buffer {"connection_id":138955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:10:56] local.INFO: IMEI packet received {"connection_id":138955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":138955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:10:57] local.INFO: TCP Data received {"connection_id":138955,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:10:57] local.INFO: Processing buffer {"connection_id":138955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:10:57] local.INFO: IMEI packet received {"connection_id":138955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":138955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:11:01] local.INFO: TCP Data received {"connection_id":138955,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:11:01] local.INFO: Processing buffer {"connection_id":138955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:11:01] local.INFO: IMEI packet received {"connection_id":138955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":138955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:11:02] local.INFO: TCP Data received {"connection_id":138955,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f795140e0012d1a9a8007212450004200e428..."} 
[2026-07-19 13:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795140e0012d1a9a8007212450004200e428..."} 
[2026-07-19 13:11:02] local.INFO: Processing buffer {"connection_id":138955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795140e0012d1a9a8007212450004200e428..."} 
[2026-07-19 13:11:02] local.INFO: Packet analysis {"connection_id":138955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7951"} 
[2026-07-19 13:11:02] local.INFO: Extracted packet for processing {"connection_id":138955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7951"} 
[2026-07-19 13:11:02] local.INFO: GPS Element Parsed {"raw_longitude":756718208,"raw_latitude":119612496,"longitude_deg":75.6718208,"latitude_deg":11.9612496,"altitude":66,"angle":228,"satellites":40,"speed":10,"hex_longitude":"2d1a9a80","hex_latitude":"07212450","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818379008001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7131282093899776,"note":"Value kept but may cause issues"} 
[2026-07-19 13:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1917337203229693952,"note":"Value kept but may cause issues"} 
[2026-07-19 13:11: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-07-19 13:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784446796000,"timestamp_ms":1784446796000,"timestamp_seconds":1784446796,"priority":1,"record_length":96,"hex_timestamp":"0000019f795140e0"} 
[2026-07-19 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-07-19 13:11:02] 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-07-19 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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-19 13:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 13:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":138955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":138955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":138955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818379008001,"66":14515,"103":206,"83":41984,"24":10,"16":7131282093899776,"45":1917337203229693952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818379008001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:11:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:11:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7131282093899776,"km_value":7131282093899.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1917337203229693952,"description":"Unknown IO ID 45"} 
[2026-07-19 13:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818379008001,"power":14515,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1917337203229693952}} 
[2026-07-19 13:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":138955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:11:02] local.INFO: GPS data processed {"connection_id":138955,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:11:02] local.INFO: Acknowledgment sent {"connection_id":138955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:11:09] local.INFO: TCP Data received {"connection_id":137550,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:11:09] local.INFO: Processing buffer {"connection_id":137550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:11:09] local.INFO: Packet analysis {"connection_id":137550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794f"} 
[2026-07-19 13:11:09] local.INFO: Extracted packet for processing {"connection_id":137550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794f"} 
[2026-07-19 13:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818268672001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:11: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-07-19 13:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784446663000,"timestamp_ms":1784446663000,"timestamp_seconds":1784446663,"priority":1,"record_length":96,"hex_timestamp":"0000019f794f3958"} 
[2026-07-19 13:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:11:09] 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-07-19 13:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818268672001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818268672001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:11:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818268672001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":137550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:11:09] local.INFO: GPS data processed {"connection_id":137550,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:11:09] local.INFO: Acknowledgment sent {"connection_id":137550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:11:31] local.INFO: TCP Data received {"connection_id":137551,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:11:31] local.INFO: Processing buffer {"connection_id":137551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:11:31] local.INFO: IMEI packet received {"connection_id":137551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":137551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:11:33] local.INFO: TCP Data received {"connection_id":138955,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79515850012d1a938007211f70004200f128..."} 
[2026-07-19 13:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79515850012d1a938007211f70004200f128..."} 
[2026-07-19 13:11:33] local.INFO: Processing buffer {"connection_id":138955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79515850012d1a938007211f70004200f128..."} 
[2026-07-19 13:11:33] local.INFO: Packet analysis {"connection_id":138955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7951"} 
[2026-07-19 13:11:33] local.INFO: Extracted packet for processing {"connection_id":138955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7951"} 
[2026-07-19 13:11:33] local.INFO: GPS Element Parsed {"raw_longitude":756716416,"raw_latitude":119611248,"longitude_deg":75.6716416,"latitude_deg":11.9611248,"altitude":66,"angle":241,"satellites":40,"speed":14,"hex_longitude":"2d1a9380","hex_latitude":"07211f70","is_valid_coordinates":true} 
[2026-07-19 13:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818379776001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7131385173114880,"note":"Value kept but may cause issues"} 
[2026-07-19 13:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916985359508721664,"note":"Value kept but may cause issues"} 
[2026-07-19 13:11:33] 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-07-19 13:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784446802000,"timestamp_ms":1784446802000,"timestamp_seconds":1784446802,"priority":1,"record_length":96,"hex_timestamp":"0000019f79515850"} 
[2026-07-19 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-07-19 13:11:33] 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-07-19 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-19 13:11:33] 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-07-19 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-07-19 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-07-19 13:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":138955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":138955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":138955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818379776001,"66":14559,"103":206,"83":41984,"24":14,"16":7131385173114880,"45":1916985359508721664},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818379776001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:11:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:11:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7131385173114880,"km_value":7131385173114.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916985359508721664,"description":"Unknown IO ID 45"} 
[2026-07-19 13:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818379776001,"power":14559,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1916985359508721664}} 
[2026-07-19 13:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":138955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:11:33] local.INFO: GPS data processed {"connection_id":138955,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:11:33] local.INFO: Acknowledgment sent {"connection_id":138955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:11:36] local.INFO: TCP Data received {"connection_id":137551,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:11:36] local.INFO: Processing buffer {"connection_id":137551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:11:36] local.INFO: IMEI packet received {"connection_id":137551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":137551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:11:37] local.INFO: TCP Data received {"connection_id":137551,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:11:37] local.INFO: Processing buffer {"connection_id":137551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:11:37] local.INFO: Packet analysis {"connection_id":137551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794f"} 
[2026-07-19 13:11:37] local.INFO: Extracted packet for processing {"connection_id":137551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794f"} 
[2026-07-19 13:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818268672001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:11: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-07-19 13:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784446663000,"timestamp_ms":1784446663000,"timestamp_seconds":1784446663,"priority":1,"record_length":96,"hex_timestamp":"0000019f794f3958"} 
[2026-07-19 13:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818268672001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818268672001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818268672001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":137551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:11:37] local.INFO: GPS data processed {"connection_id":137551,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:11:37] local.INFO: Acknowledgment sent {"connection_id":137551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:11:51] local.INFO: TCP Data received {"connection_id":136472,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:11:51] local.INFO: Processing buffer {"connection_id":136472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:11:51] local.INFO: IMEI packet received {"connection_id":136472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":136472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:11:52] local.INFO: TCP Data received {"connection_id":136472,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:11:52] local.INFO: Processing buffer {"connection_id":136472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:11:52] local.INFO: IMEI packet received {"connection_id":136472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":136472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:11:53] local.INFO: TCP Data received {"connection_id":136472,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:11:53] local.INFO: Processing buffer {"connection_id":136472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:11:53] local.INFO: IMEI packet received {"connection_id":136472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":136472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:11:56] local.INFO: TCP Data received {"connection_id":136472,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:11:56] local.INFO: Processing buffer {"connection_id":136472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:11:56] local.INFO: IMEI packet received {"connection_id":136472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":136472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:11:56] local.INFO: TCP Data received {"connection_id":138956,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:11:56] local.INFO: Processing buffer {"connection_id":138956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:11:56] local.INFO: IMEI packet received {"connection_id":138956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 13:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":138956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:11:57] local.INFO: TCP Data received {"connection_id":136472,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f795196d0012d1a738007210e98004200f428..."} 
[2026-07-19 13:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795196d0012d1a738007210e98004200f428..."} 
[2026-07-19 13:11:57] local.INFO: Processing buffer {"connection_id":136472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795196d0012d1a738007210e98004200f428..."} 
[2026-07-19 13:11:57] local.INFO: Packet analysis {"connection_id":136472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7951"} 
[2026-07-19 13:11:57] local.INFO: Extracted packet for processing {"connection_id":136472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7951"} 
[2026-07-19 13:11:57] local.INFO: GPS Element Parsed {"raw_longitude":756708224,"raw_latitude":119606936,"longitude_deg":75.6708224,"latitude_deg":11.9606936,"altitude":66,"angle":244,"satellites":40,"speed":23,"hex_longitude":"2d1a7380","hex_latitude":"07210e98","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818381312001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7131827554746368,"note":"Value kept but may cause issues"} 
[2026-07-19 13:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1915015034671427584,"note":"Value kept but may cause issues"} 
[2026-07-19 13: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-07-19 13:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784446818000,"timestamp_ms":1784446818000,"timestamp_seconds":1784446818,"priority":1,"record_length":96,"hex_timestamp":"0000019f795196d0"} 
[2026-07-19 13:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:11: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-07-19 13:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-19 13:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818381312001,"66":14515,"103":206,"83":41984,"24":23,"16":7131827554746368,"45":1915015034671427584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818381312001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:11:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:11:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7131827554746368,"km_value":7131827554746.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1915015034671427584,"description":"Unknown IO ID 45"} 
[2026-07-19 13:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818381312001,"power":14515,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1915015034671427584}} 
[2026-07-19 13:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":136472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:11:57] local.INFO: GPS data processed {"connection_id":136472,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:11:57] local.INFO: Acknowledgment sent {"connection_id":136472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:11:58] local.INFO: TCP Data received {"connection_id":136472,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7951b228012d1a6380072108f00043010127..."} 
[2026-07-19 13:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7951b228012d1a6380072108f00043010127..."} 
[2026-07-19 13:11:58] local.INFO: Processing buffer {"connection_id":136472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7951b228012d1a6380072108f00043010127..."} 
[2026-07-19 13:11:58] local.INFO: Packet analysis {"connection_id":136472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7951"} 
[2026-07-19 13:11:58] local.INFO: Extracted packet for processing {"connection_id":136472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7951"} 
[2026-07-19 13:11:58] local.INFO: GPS Element Parsed {"raw_longitude":756704128,"raw_latitude":119605488,"longitude_deg":75.6704128,"latitude_deg":11.9605488,"altitude":67,"angle":257,"satellites":39,"speed":24,"hex_longitude":"2d1a6380","hex_latitude":"072108f0","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818385408001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7132033713176576,"note":"Value kept but may cause issues"} 
[2026-07-19 13:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906007835415582720,"note":"Value kept but may cause issues"} 
[2026-07-19 13:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784446825000,"timestamp_ms":1784446825000,"timestamp_seconds":1784446825,"priority":1,"record_length":96,"hex_timestamp":"0000019f7951b228"} 
[2026-07-19 13:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:11:58] 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-07-19 13: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":179,"data_length":795,"current_offset":136} 
[2026-07-19 13:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818385408001,"66":14080,"103":206,"83":41984,"24":24,"16":7132033713176576,"45":1906007835415582720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818385408001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:11:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:11:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7132033713176576,"km_value":7132033713176.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906007835415582720,"description":"Unknown IO ID 45"} 
[2026-07-19 13:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818385408001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1906007835415582720}} 
[2026-07-19 13:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":136472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:11:58] local.INFO: GPS data processed {"connection_id":136472,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:11:58] local.INFO: Acknowledgment sent {"connection_id":136472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:12:08] local.INFO: TCP Data received {"connection_id":137551,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:12:08] local.INFO: Processing buffer {"connection_id":137551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:12:08] local.INFO: Packet analysis {"connection_id":137551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794f"} 
[2026-07-19 13:12:08] local.INFO: Extracted packet for processing {"connection_id":137551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794f"} 
[2026-07-19 13:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818268672001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:12: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-07-19 13:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784446663000,"timestamp_ms":1784446663000,"timestamp_seconds":1784446663,"priority":1,"record_length":96,"hex_timestamp":"0000019f794f3958"} 
[2026-07-19 13:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13: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":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818268672001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818268672001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:12:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818268672001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":137551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:12:08] local.INFO: GPS data processed {"connection_id":137551,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:12:08] local.INFO: Acknowledgment sent {"connection_id":137551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:12:26] local.INFO: TCP Data received {"connection_id":137552,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:12:26] local.INFO: Processing buffer {"connection_id":137552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:12:26] local.INFO: IMEI packet received {"connection_id":137552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 13:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":137552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:12:29] local.INFO: TCP Data received {"connection_id":136472,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7952e2d8012d19d6c00720b0a8003300e52a..."} 
[2026-07-19 13:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7952e2d8012d19d6c00720b0a8003300e52a..."} 
[2026-07-19 13:12:29] local.INFO: Processing buffer {"connection_id":136472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7952e2d8012d19d6c00720b0a8003300e52a..."} 
[2026-07-19 13:12:29] local.INFO: Packet analysis {"connection_id":136472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7952"} 
[2026-07-19 13:12:29] local.INFO: Extracted packet for processing {"connection_id":136472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7952"} 
[2026-07-19 13:12:29] local.INFO: GPS Element Parsed {"raw_longitude":756668096,"raw_latitude":119582888,"longitude_deg":75.6668096,"latitude_deg":11.9582888,"altitude":51,"angle":229,"satellites":42,"speed":23,"hex_longitude":"2d19d6c0","hex_latitude":"0720b0a8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818406912001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7134189786759168,"note":"Value kept but may cause issues"} 
[2026-07-19 13:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862379214019366912,"note":"Value kept but may cause issues"} 
[2026-07-19 13:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784446903000,"timestamp_ms":1784446903000,"timestamp_seconds":1784446903,"priority":1,"record_length":96,"hex_timestamp":"0000019f7952e2d8"} 
[2026-07-19 13:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:12:29] 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-07-19 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 13:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":136472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":136472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":136472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818406912001,"66":14265,"103":206,"83":41984,"24":23,"16":7134189786759168,"45":1862379214019366912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818406912001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:12:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:12:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7134189786759168,"km_value":7134189786759.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862379214019366912,"description":"Unknown IO ID 45"} 
[2026-07-19 13:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818406912001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1862379214019366912}} 
[2026-07-19 13:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":136472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:12:30] local.INFO: GPS data processed {"connection_id":136472,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:12:30] local.INFO: Acknowledgment sent {"connection_id":136472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:12:32] local.INFO: TCP Data received {"connection_id":137553,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:12:32] local.INFO: Processing buffer {"connection_id":137553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:12:32] local.INFO: IMEI packet received {"connection_id":137553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":137553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:12:36] local.INFO: TCP Data received {"connection_id":137553,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:12:36] local.INFO: Processing buffer {"connection_id":137553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:12:36] local.INFO: IMEI packet received {"connection_id":137553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":137553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:12:37] local.INFO: TCP Data received {"connection_id":137553,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:12:37] local.INFO: Processing buffer {"connection_id":137553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:12:37] local.INFO: Packet analysis {"connection_id":137553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794f"} 
[2026-07-19 13:12:37] local.INFO: Extracted packet for processing {"connection_id":137553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794f"} 
[2026-07-19 13:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818268672001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:12: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-07-19 13:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784446663000,"timestamp_ms":1784446663000,"timestamp_seconds":1784446663,"priority":1,"record_length":96,"hex_timestamp":"0000019f794f3958"} 
[2026-07-19 13:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818268672001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818268672001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:12:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818268672001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":137553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:12:37] local.INFO: GPS data processed {"connection_id":137553,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:12:37] local.INFO: Acknowledgment sent {"connection_id":137553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:12:51] local.INFO: TCP Data received {"connection_id":136612,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:12:51] local.INFO: Processing buffer {"connection_id":136612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:12:51] local.INFO: IMEI packet received {"connection_id":136612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":136612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:12:52] local.INFO: TCP Data received {"connection_id":136612,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:12:52] local.INFO: Processing buffer {"connection_id":136612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:12:52] local.INFO: IMEI packet received {"connection_id":136612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":136612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:12:55] local.INFO: TCP Data received {"connection_id":136612,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:12:55] local.INFO: Processing buffer {"connection_id":136612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:12:55] local.INFO: IMEI packet received {"connection_id":136612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":136612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:12:56] local.INFO: TCP Data received {"connection_id":136612,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:12:56] local.INFO: Processing buffer {"connection_id":136612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:12:56] local.INFO: IMEI packet received {"connection_id":136612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":136612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:12:57] local.INFO: TCP Data received {"connection_id":136612,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7952ee90012d19d2000720ab78003300d829..."} 
[2026-07-19 13:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7952ee90012d19d2000720ab78003300d829..."} 
[2026-07-19 13:12:57] local.INFO: Processing buffer {"connection_id":136612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7952ee90012d19d2000720ab78003300d829..."} 
[2026-07-19 13:12:57] local.INFO: Packet analysis {"connection_id":136612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7952"} 
[2026-07-19 13:12:57] local.INFO: Extracted packet for processing {"connection_id":136612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7952"} 
[2026-07-19 13:12:57] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119581560,"longitude_deg":75.666688,"latitude_deg":11.958156,"altitude":51,"angle":216,"satellites":41,"speed":23,"hex_longitude":"2d19d200","hex_latitude":"0720ab78","is_valid_coordinates":true} 
[2026-07-19 13:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818407168001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7134275686105088,"note":"Value kept but may cause issues"} 
[2026-07-19 13:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861886632810031104,"note":"Value kept but may cause issues"} 
[2026-07-19 13:12: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-07-19 13:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784446906000,"timestamp_ms":1784446906000,"timestamp_seconds":1784446906,"priority":1,"record_length":96,"hex_timestamp":"0000019f7952ee90"} 
[2026-07-19 13:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:12:57] 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-07-19 13:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 13:12:57] 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-07-19 13:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818407168001,"66":14515,"103":206,"83":41984,"24":23,"16":7134275686105088,"45":1861886632810031104},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818407168001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:12:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:12:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7134275686105088,"km_value":7134275686105.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861886632810031104,"description":"Unknown IO ID 45"} 
[2026-07-19 13:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818407168001,"power":14515,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1861886632810031104}} 
[2026-07-19 13:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":136612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:12:57] local.INFO: GPS data processed {"connection_id":136612,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:12:57] local.INFO: Acknowledgment sent {"connection_id":136612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:13:01] local.INFO: TCP Data received {"connection_id":136612,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7952f660012d19cf000720a848003300e628..."} 
[2026-07-19 13:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7952f660012d19cf000720a848003300e628..."} 
[2026-07-19 13:13:01] local.INFO: Processing buffer {"connection_id":136612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7952f660012d19cf000720a848003300e628..."} 
[2026-07-19 13:13:01] local.INFO: Packet analysis {"connection_id":136612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7952"} 
[2026-07-19 13:13:01] local.INFO: Extracted packet for processing {"connection_id":136612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7952"} 
[2026-07-19 13:13:01] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119580744,"longitude_deg":75.6666112,"latitude_deg":11.9580744,"altitude":51,"angle":230,"satellites":40,"speed":21,"hex_longitude":"2d19cf00","hex_latitude":"0720a848","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818407936001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7134331520679936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626670315520,"note":"Value kept but may cause issues"} 
[2026-07-19 13:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784446908000,"timestamp_ms":1784446908000,"timestamp_seconds":1784446908,"priority":1,"record_length":96,"hex_timestamp":"0000019f7952f660"} 
[2026-07-19 13:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:13:01] 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-07-19 13: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-19 13:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818407936001,"66":14461,"103":206,"83":41984,"24":21,"16":7134331520679936,"45":1860549626670315520},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818407936001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:13:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:13:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7134331520679936,"km_value":7134331520679.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626670315520,"description":"Unknown IO ID 45"} 
[2026-07-19 13:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818407936001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1860549626670315520}} 
[2026-07-19 13:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":136612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:13:01] local.INFO: GPS data processed {"connection_id":136612,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:13:01] local.INFO: Acknowledgment sent {"connection_id":136612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:13:09] local.INFO: TCP Data received {"connection_id":137553,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:13:09] local.INFO: Processing buffer {"connection_id":137553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f794f3958012d34c50006aa4dd80008009525..."} 
[2026-07-19 13:13:09] local.INFO: Packet analysis {"connection_id":137553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f794f"} 
[2026-07-19 13:13:09] local.INFO: Extracted packet for processing {"connection_id":137553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f794f"} 
[2026-07-19 13:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818268672001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:13: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-07-19 13:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784446663000,"timestamp_ms":1784446663000,"timestamp_seconds":1784446663,"priority":1,"record_length":96,"hex_timestamp":"0000019f794f3958"} 
[2026-07-19 13:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13: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-07-19 13:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818268672001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818268672001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:13:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:13:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818268672001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":137553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:13:09] local.INFO: GPS data processed {"connection_id":137553,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:13:09] local.INFO: Acknowledgment sent {"connection_id":137553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:13:32] local.INFO: TCP Data received {"connection_id":136612,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7953a628012d19bd0007204e48002d00b327..."} 
[2026-07-19 13:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7953a628012d19bd0007204e48002d00b327..."} 
[2026-07-19 13:13:32] local.INFO: Processing buffer {"connection_id":136612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7953a628012d19bd0007204e48002d00b327..."} 
[2026-07-19 13:13:32] local.INFO: Packet analysis {"connection_id":136612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:13:32] local.INFO: Extracted packet for processing {"connection_id":136612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:13:32] local.INFO: GPS Element Parsed {"raw_longitude":756661504,"raw_latitude":119557704,"longitude_deg":75.6661504,"latitude_deg":11.9557704,"altitude":45,"angle":179,"satellites":39,"speed":30,"hex_longitude":"2d19bd00","hex_latitude":"07204e48","is_valid_coordinates":true} 
[2026-07-19 13:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818418176001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7135757449822208,"note":"Value kept but may cause issues"} 
[2026-07-19 13:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858480500736,"note":"Value kept but may cause issues"} 
[2026-07-19 13:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784446953000,"timestamp_ms":1784446953000,"timestamp_seconds":1784446953,"priority":1,"record_length":96,"hex_timestamp":"0000019f7953a628"} 
[2026-07-19 13:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:13: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-07-19 13:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 13:13:32] 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-07-19 13:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818418176001,"66":13243,"103":206,"83":41984,"24":30,"16":7135757449822208,"45":1853723858480500736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818418176001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:13:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:13:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7135757449822208,"km_value":7135757449822.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858480500736,"description":"Unknown IO ID 45"} 
[2026-07-19 13:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818418176001,"power":13243,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1853723858480500736}} 
[2026-07-19 13:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":136612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:13:32] local.INFO: GPS data processed {"connection_id":136612,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:13:32] local.INFO: Acknowledgment sent {"connection_id":136612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:13:36] local.INFO: TCP Data received {"connection_id":138958,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:13:36] local.INFO: Processing buffer {"connection_id":138958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:13:36] local.INFO: IMEI packet received {"connection_id":138958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":138958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:13:42] local.INFO: TCP Data received {"connection_id":138958,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:13:42] local.INFO: Processing buffer {"connection_id":138958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:13:42] local.INFO: IMEI packet received {"connection_id":138958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":138958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:13:43] local.INFO: TCP Data received {"connection_id":138958,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:13:43] local.INFO: Processing buffer {"connection_id":138958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:13:43] local.INFO: Packet analysis {"connection_id":138958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:13:43] local.INFO: Extracted packet for processing {"connection_id":138958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:13:43] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818345728001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:13: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-07-19 13:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784446964000,"timestamp_ms":1784446964000,"timestamp_seconds":1784446964,"priority":1,"record_length":96,"hex_timestamp":"0000019f7953d120"} 
[2026-07-19 13:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":138958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":138958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":138958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:13:43] 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-07-19 13:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818345728001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818345728001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:13:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:13:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818345728001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":138958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:13:43] local.INFO: GPS data processed {"connection_id":138958,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:13:43] local.INFO: Acknowledgment sent {"connection_id":138958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:13:51] local.INFO: TCP Data received {"connection_id":137554,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:13:51] local.INFO: Processing buffer {"connection_id":137554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:13:51] local.INFO: IMEI packet received {"connection_id":137554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":137554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:13:54] local.INFO: TCP Data received {"connection_id":137554,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:13:54] local.INFO: Processing buffer {"connection_id":137554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:13:54] local.INFO: IMEI packet received {"connection_id":137554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":137554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:13:56] local.INFO: TCP Data received {"connection_id":137554,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:13:56] local.INFO: Processing buffer {"connection_id":137554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:13:56] local.INFO: IMEI packet received {"connection_id":137554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":137554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:13:57] local.INFO: TCP Data received {"connection_id":137554,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7953bd98012d19be8007203c30002c00a227..."} 
[2026-07-19 13:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7953bd98012d19be8007203c30002c00a227..."} 
[2026-07-19 13:13:57] local.INFO: Processing buffer {"connection_id":137554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7953bd98012d19be8007203c30002c00a227..."} 
[2026-07-19 13:13:57] local.INFO: Packet analysis {"connection_id":137554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:13:57] local.INFO: Extracted packet for processing {"connection_id":137554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:13:57] local.INFO: GPS Element Parsed {"raw_longitude":756661888,"raw_latitude":119553072,"longitude_deg":75.6661888,"latitude_deg":11.9553072,"altitude":44,"angle":162,"satellites":39,"speed":33,"hex_longitude":"2d19be80","hex_latitude":"07203c30","is_valid_coordinates":true} 
[2026-07-19 13:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818419968001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7135985083088896,"note":"Value kept but may cause issues"} 
[2026-07-19 13:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854638652153284608,"note":"Value kept but may cause issues"} 
[2026-07-19 13:13: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-07-19 13:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784446959000,"timestamp_ms":1784446959000,"timestamp_seconds":1784446959,"priority":1,"record_length":96,"hex_timestamp":"0000019f7953bd98"} 
[2026-07-19 13:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:13:57] 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-07-19 13:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-19 13:13:57] 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-07-19 13:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818419968001,"66":13243,"103":206,"83":41984,"24":33,"16":7135985083088896,"45":1854638652153284608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818419968001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:13:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:13:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7135985083088896,"km_value":7135985083088.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854638652153284608,"description":"Unknown IO ID 45"} 
[2026-07-19 13:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818419968001,"power":13243,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1854638652153284608}} 
[2026-07-19 13:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":137554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:13:57] local.INFO: GPS data processed {"connection_id":137554,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:13:57] local.INFO: Acknowledgment sent {"connection_id":137554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:14:14] local.INFO: TCP Data received {"connection_id":138958,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:14:14] local.INFO: Processing buffer {"connection_id":138958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:14:14] local.INFO: Packet analysis {"connection_id":138958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:14:14] local.INFO: Extracted packet for processing {"connection_id":138958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:14:14] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818345728001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:14: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-07-19 13:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784446964000,"timestamp_ms":1784446964000,"timestamp_seconds":1784446964,"priority":1,"record_length":96,"hex_timestamp":"0000019f7953d120"} 
[2026-07-19 13:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":138958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":138958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":138958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:14:14] 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-07-19 13:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818345728001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818345728001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:14:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:14:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818345728001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":138958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:14:14] local.INFO: GPS data processed {"connection_id":138958,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:14:14] local.INFO: Acknowledgment sent {"connection_id":138958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:14:28] local.INFO: TCP Data received {"connection_id":137554,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7953e0c0012d19c8c007202260002b009727..."} 
[2026-07-19 13:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7953e0c0012d19c8c007202260002b009727..."} 
[2026-07-19 13:14:28] local.INFO: Processing buffer {"connection_id":137554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7953e0c0012d19c8c007202260002b009727..."} 
[2026-07-19 13:14:28] local.INFO: Packet analysis {"connection_id":137554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:14:28] local.INFO: Extracted packet for processing {"connection_id":137554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:14:28] local.INFO: GPS Element Parsed {"raw_longitude":756664512,"raw_latitude":119546464,"longitude_deg":75.6664512,"latitude_deg":11.9546464,"altitude":43,"angle":151,"satellites":39,"speed":27,"hex_longitude":"2d19c8c0","hex_latitude":"07202260","is_valid_coordinates":true} 
[2026-07-19 13:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818421504001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136328680472576,"note":"Value kept but may cause issues"} 
[2026-07-19 13:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855060864617164800,"note":"Value kept but may cause issues"} 
[2026-07-19 13:14: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-07-19 13:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784446968000,"timestamp_ms":1784446968000,"timestamp_seconds":1784446968,"priority":1,"record_length":96,"hex_timestamp":"0000019f7953e0c0"} 
[2026-07-19 13:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-19 13:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818421504001,"66":13276,"103":206,"83":41984,"24":27,"16":7136328680472576,"45":1855060864617164800},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818421504001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:14:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:14:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136328680472576,"km_value":7136328680472.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855060864617164800,"description":"Unknown IO ID 45"} 
[2026-07-19 13:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818421504001,"power":13276,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1855060864617164800}} 
[2026-07-19 13:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":137554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:14:28] local.INFO: GPS data processed {"connection_id":137554,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:14:28] local.INFO: Acknowledgment sent {"connection_id":137554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:14:31] local.INFO: TCP Data received {"connection_id":136473,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:14:31] local.INFO: Processing buffer {"connection_id":136473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:14:31] local.INFO: IMEI packet received {"connection_id":136473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":136473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:14:36] local.INFO: TCP Data received {"connection_id":136473,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:14:36] local.INFO: Processing buffer {"connection_id":136473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:14:36] local.INFO: IMEI packet received {"connection_id":136473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":136473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:14:37] local.INFO: TCP Data received {"connection_id":136473,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:14:37] local.INFO: Processing buffer {"connection_id":136473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:14:37] local.INFO: Packet analysis {"connection_id":136473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:14:37] local.INFO: Extracted packet for processing {"connection_id":136473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818345728001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:14: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-07-19 13:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784446964000,"timestamp_ms":1784446964000,"timestamp_seconds":1784446964,"priority":1,"record_length":96,"hex_timestamp":"0000019f7953d120"} 
[2026-07-19 13:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:14:37] 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-07-19 13:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818345728001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818345728001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818345728001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":136473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:14:37] local.INFO: GPS data processed {"connection_id":136473,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:14:37] local.INFO: Acknowledgment sent {"connection_id":136473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:14:56] local.INFO: TCP Data received {"connection_id":138959,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:14:56] local.INFO: Processing buffer {"connection_id":138959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:14:56] local.INFO: IMEI packet received {"connection_id":138959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":138959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:14:57] local.INFO: TCP Data received {"connection_id":138959,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:14:57] local.INFO: Processing buffer {"connection_id":138959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:14:57] local.INFO: IMEI packet received {"connection_id":138959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":138959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:15:01] local.INFO: TCP Data received {"connection_id":138959,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:15:01] local.INFO: Processing buffer {"connection_id":138959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:15:01] local.INFO: IMEI packet received {"connection_id":138959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":138959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:15:02] local.INFO: TCP Data received {"connection_id":138959,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7953f830012d19cd80072019600029008727..."} 
[2026-07-19 13:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7953f830012d19cd80072019600029008727..."} 
[2026-07-19 13:15:02] local.INFO: Processing buffer {"connection_id":138959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7953f830012d19cd80072019600029008727..."} 
[2026-07-19 13:15:02] local.INFO: Packet analysis {"connection_id":138959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:15:02] local.INFO: Extracted packet for processing {"connection_id":138959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:15:02] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544160,"longitude_deg":75.6665728,"latitude_deg":11.954416,"altitude":41,"angle":135,"satellites":39,"speed":9,"hex_longitude":"2d19cd80","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818423808001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136453234524160,"note":"Value kept but may cause issues"} 
[2026-07-19 13:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857945983126757376,"note":"Value kept but may cause issues"} 
[2026-07-19 13:15: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-07-19 13:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784446974000,"timestamp_ms":1784446974000,"timestamp_seconds":1784446974,"priority":1,"record_length":96,"hex_timestamp":"0000019f7953f830"} 
[2026-07-19 13:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:15: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-07-19 13: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-19 13:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":138959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":138959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":138959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818423808001,"66":12689,"103":206,"83":41984,"24":9,"16":7136453234524160,"45":1857945983126757376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818423808001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:15:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:15:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136453234524160,"km_value":7136453234524.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857945983126757376,"description":"Unknown IO ID 45"} 
[2026-07-19 13:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818423808001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1857945983126757376}} 
[2026-07-19 13:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":138959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:15:02] local.INFO: GPS data processed {"connection_id":138959,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:15:02] local.INFO: Acknowledgment sent {"connection_id":138959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:15:07] local.INFO: TCP Data received {"connection_id":138959,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f79544a38012d19cf0007201800002c007e27..."} 
[2026-07-19 13:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79544a38012d19cf0007201800002c007e27..."} 
[2026-07-19 13:15:07] local.INFO: Processing buffer {"connection_id":138959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79544a38012d19cf0007201800002c007e27..."} 
[2026-07-19 13:15:07] local.INFO: Packet analysis {"connection_id":138959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7954"} 
[2026-07-19 13:15:07] local.INFO: Extracted packet for processing {"connection_id":138959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7954"} 
[2026-07-19 13:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818425344001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265543168,"note":"Value kept but may cause issues"} 
[2026-07-19 13:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784446995000,"timestamp_ms":1784446995000,"timestamp_seconds":1784446995,"priority":1,"record_length":96,"hex_timestamp":"0000019f79544a38"} 
[2026-07-19 13:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:15: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-07-19 13: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-19 13:15:07] 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-07-19 13: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-07-19 13:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":138959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":138959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":138959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818425344001,"66":12874,"103":206,"83":41984,"24":0,"16":7136479004327936,"45":1859282989265543168},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818425344001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:15:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265543168,"description":"Unknown IO ID 45"} 
[2026-07-19 13:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818425344001,"power":12874,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265543168}} 
[2026-07-19 13:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":138959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:15:07] local.INFO: GPS data processed {"connection_id":138959,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:15:07] local.INFO: Acknowledgment sent {"connection_id":138959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:15:10] local.INFO: TCP Data received {"connection_id":136473,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:15:10] local.INFO: Processing buffer {"connection_id":136473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:15:10] local.INFO: Packet analysis {"connection_id":136473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:15:10] local.INFO: Extracted packet for processing {"connection_id":136473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:15:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818345728001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:15: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-07-19 13:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784446964000,"timestamp_ms":1784446964000,"timestamp_seconds":1784446964,"priority":1,"record_length":96,"hex_timestamp":"0000019f7953d120"} 
[2026-07-19 13:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:15: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-07-19 13:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818345728001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818345728001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:15:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:15:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818345728001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":136473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:15:10] local.INFO: GPS data processed {"connection_id":136473,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:15:10] local.INFO: Acknowledgment sent {"connection_id":136473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:15:31] local.INFO: TCP Data received {"connection_id":138961,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:15:31] local.INFO: Processing buffer {"connection_id":138961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:15:31] local.INFO: IMEI packet received {"connection_id":138961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":138961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:15:36] local.INFO: TCP Data received {"connection_id":138961,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:15:36] local.INFO: Processing buffer {"connection_id":138961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:15:36] local.INFO: IMEI packet received {"connection_id":138961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":138961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:15:37] local.INFO: TCP Data received {"connection_id":138961,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:15:37] local.INFO: Processing buffer {"connection_id":138961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:15:37] local.INFO: Packet analysis {"connection_id":138961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:15:37] local.INFO: Extracted packet for processing {"connection_id":138961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818345728001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:15: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-07-19 13:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784446964000,"timestamp_ms":1784446964000,"timestamp_seconds":1784446964,"priority":1,"record_length":96,"hex_timestamp":"0000019f7953d120"} 
[2026-07-19 13:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818345728001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818345728001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818345728001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":138961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:15:37] local.INFO: GPS data processed {"connection_id":138961,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:15:37] local.INFO: Acknowledgment sent {"connection_id":138961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:15:51] local.INFO: TCP Data received {"connection_id":137555,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:15:51] local.INFO: Processing buffer {"connection_id":137555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:15:51] local.INFO: IMEI packet received {"connection_id":137555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":137555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:15:56] local.INFO: TCP Data received {"connection_id":137555,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:15:56] local.INFO: Processing buffer {"connection_id":137555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:15:56] local.INFO: IMEI packet received {"connection_id":137555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":137555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:15:57] local.INFO: TCP Data received {"connection_id":137555,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f79549c40012d19cf0007201800002c007e26..."} 
[2026-07-19 13:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79549c40012d19cf0007201800002c007e26..."} 
[2026-07-19 13:15:57] local.INFO: Processing buffer {"connection_id":137555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79549c40012d19cf0007201800002c007e26..."} 
[2026-07-19 13:15:57] local.INFO: Packet analysis {"connection_id":137555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7954"} 
[2026-07-19 13:15:57] local.INFO: Extracted packet for processing {"connection_id":137555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7954"} 
[2026-07-19 13:15:57] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818430720001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:15: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-07-19 13:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784447016000,"timestamp_ms":1784447016000,"timestamp_seconds":1784447016,"priority":1,"record_length":96,"hex_timestamp":"0000019f79549c40"} 
[2026-07-19 13:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:15:57] 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-07-19 13:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-19 13:15:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818430720001,"66":13102,"103":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818430720001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:15:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:15:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818430720001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":137555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:15:57] local.INFO: GPS data processed {"connection_id":137555,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:15:57] local.INFO: Acknowledgment sent {"connection_id":137555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:16:09] local.INFO: TCP Data received {"connection_id":138961,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:16:09] local.INFO: Processing buffer {"connection_id":138961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:16:09] local.INFO: Packet analysis {"connection_id":138961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:16:09] local.INFO: Extracted packet for processing {"connection_id":138961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818345728001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:16: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-07-19 13:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784446964000,"timestamp_ms":1784446964000,"timestamp_seconds":1784446964,"priority":1,"record_length":96,"hex_timestamp":"0000019f7953d120"} 
[2026-07-19 13:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:16:09] 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-07-19 13:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818345728001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818345728001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818345728001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":138961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:16:09] local.INFO: GPS data processed {"connection_id":138961,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:16:09] local.INFO: Acknowledgment sent {"connection_id":138961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:16:28] local.INFO: TCP Data received {"connection_id":137555,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7954ee48012d19cf0007201800002c007e22..."} 
[2026-07-19 13:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7954ee48012d19cf0007201800002c007e22..."} 
[2026-07-19 13:16:28] local.INFO: Processing buffer {"connection_id":137555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7954ee48012d19cf0007201800002c007e22..."} 
[2026-07-19 13:16:28] local.INFO: Packet analysis {"connection_id":137555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7954"} 
[2026-07-19 13:16:28] local.INFO: Extracted packet for processing {"connection_id":137555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7954"} 
[2026-07-19 13:16:28] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":34,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818436096001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:16: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-07-19 13:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784447037000,"timestamp_ms":1784447037000,"timestamp_seconds":1784447037,"priority":1,"record_length":96,"hex_timestamp":"0000019f7954ee48"} 
[2026-07-19 13:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:16: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-07-19 13:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 13:16:28] 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-07-19 13:16:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818436096001,"66":13102,"103":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818436096001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:16:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:16:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818436096001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":137555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:16:28] local.INFO: GPS data processed {"connection_id":137555,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:16:28] local.INFO: Acknowledgment sent {"connection_id":137555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:16:31] local.INFO: TCP Data received {"connection_id":136614,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:16:31] local.INFO: Processing buffer {"connection_id":136614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:16:31] local.INFO: IMEI packet received {"connection_id":136614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":136614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:16:36] local.INFO: TCP Data received {"connection_id":136614,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:16:36] local.INFO: Processing buffer {"connection_id":136614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:16:36] local.INFO: IMEI packet received {"connection_id":136614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":136614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:16:37] local.INFO: TCP Data received {"connection_id":136614,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:16:37] local.INFO: Processing buffer {"connection_id":136614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:16:37] local.INFO: Packet analysis {"connection_id":136614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:16:37] local.INFO: Extracted packet for processing {"connection_id":136614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:16:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818345728001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:16: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-07-19 13:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784446964000,"timestamp_ms":1784446964000,"timestamp_seconds":1784446964,"priority":1,"record_length":96,"hex_timestamp":"0000019f7953d120"} 
[2026-07-19 13:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:16: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-07-19 13:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818345728001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818345728001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:16:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:16:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818345728001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":136614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:16:37] local.INFO: GPS data processed {"connection_id":136614,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:16:37] local.INFO: Acknowledgment sent {"connection_id":136614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:16:51] local.INFO: TCP Data received {"connection_id":137557,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:16:51] local.INFO: Processing buffer {"connection_id":137557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:16:51] local.INFO: IMEI packet received {"connection_id":137557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":137557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:16:56] local.INFO: TCP Data received {"connection_id":137557,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:16:56] local.INFO: Processing buffer {"connection_id":137557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:16:56] local.INFO: IMEI packet received {"connection_id":137557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":137557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:16:57] local.INFO: TCP Data received {"connection_id":137557,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f79554050012d19cf0007201800002c007e27..."} 
[2026-07-19 13:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79554050012d19cf0007201800002c007e27..."} 
[2026-07-19 13:16:57] local.INFO: Processing buffer {"connection_id":137557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79554050012d19cf0007201800002c007e27..."} 
[2026-07-19 13:16:57] local.INFO: Packet analysis {"connection_id":137557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7955"} 
[2026-07-19 13:16:57] local.INFO: Extracted packet for processing {"connection_id":137557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7955"} 
[2026-07-19 13:16:57] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818441472001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:16: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-07-19 13:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784447058000,"timestamp_ms":1784447058000,"timestamp_seconds":1784447058,"priority":1,"record_length":96,"hex_timestamp":"0000019f79554050"} 
[2026-07-19 13:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:16:57] 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-07-19 13: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 13:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818441472001,"66":13102,"103":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818441472001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:16:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:16:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818441472001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":137557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:16:57] local.INFO: GPS data processed {"connection_id":137557,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:16:57] local.INFO: Acknowledgment sent {"connection_id":137557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:17:10] local.INFO: TCP Data received {"connection_id":136614,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:17:10] local.INFO: Processing buffer {"connection_id":136614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:17:10] local.INFO: Packet analysis {"connection_id":136614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:17:10] local.INFO: Extracted packet for processing {"connection_id":136614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:17: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-07-19 13:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818345728001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:17: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-07-19 13:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784446964000,"timestamp_ms":1784446964000,"timestamp_seconds":1784446964,"priority":1,"record_length":96,"hex_timestamp":"0000019f7953d120"} 
[2026-07-19 13:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:17: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-07-19 13:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:17:10] 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-07-19 13:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818345728001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818345728001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:17:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:17:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818345728001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":136614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:17:10] local.INFO: GPS data processed {"connection_id":136614,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:17:10] local.INFO: Acknowledgment sent {"connection_id":136614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:17:28] local.INFO: TCP Data received {"connection_id":137557,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f79559258012d19cf0007201800002c007e25..."} 
[2026-07-19 13:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79559258012d19cf0007201800002c007e25..."} 
[2026-07-19 13:17:28] local.INFO: Processing buffer {"connection_id":137557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79559258012d19cf0007201800002c007e25..."} 
[2026-07-19 13:17:28] local.INFO: Packet analysis {"connection_id":137557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7955"} 
[2026-07-19 13:17:28] local.INFO: Extracted packet for processing {"connection_id":137557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7955"} 
[2026-07-19 13:17:28] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818446848001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:17: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-07-19 13:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784447079000,"timestamp_ms":1784447079000,"timestamp_seconds":1784447079,"priority":1,"record_length":96,"hex_timestamp":"0000019f79559258"} 
[2026-07-19 13:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:17: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-07-19 13: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 13:17:28] 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-07-19 13: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-07-19 13:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818446848001,"66":13091,"103":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818446848001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:17:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:17:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818446848001,"power":13091,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":137557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:17:29] local.INFO: GPS data processed {"connection_id":137557,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:17:29] local.INFO: Acknowledgment sent {"connection_id":137557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:17:36] local.INFO: TCP Data received {"connection_id":136474,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:17:36] local.INFO: Processing buffer {"connection_id":136474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:17:36] local.INFO: IMEI packet received {"connection_id":136474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":136474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:17:41] local.INFO: TCP Data received {"connection_id":136474,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:17:41] local.INFO: Processing buffer {"connection_id":136474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:17:41] local.INFO: IMEI packet received {"connection_id":136474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":136474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:17:42] local.INFO: TCP Data received {"connection_id":136474,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:17:42] local.INFO: Processing buffer {"connection_id":136474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:17:42] local.INFO: Packet analysis {"connection_id":136474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:17:42] local.INFO: Extracted packet for processing {"connection_id":136474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:17:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818345728001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784446964000,"timestamp_ms":1784446964000,"timestamp_seconds":1784446964,"priority":1,"record_length":96,"hex_timestamp":"0000019f7953d120"} 
[2026-07-19 13:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:17: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-07-19 13:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818345728001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818345728001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:17:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:17:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818345728001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":136474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:17:42] local.INFO: GPS data processed {"connection_id":136474,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:17:42] local.INFO: Acknowledgment sent {"connection_id":136474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:17:47] local.INFO: TCP Data received {"connection_id":136474,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:17:47] local.INFO: Processing buffer {"connection_id":136474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7953d120012d34c50006aa4dd80008009529..."} 
[2026-07-19 13:17:47] local.INFO: Packet analysis {"connection_id":136474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:17:47] local.INFO: Extracted packet for processing {"connection_id":136474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7953"} 
[2026-07-19 13:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818345728001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784446964000,"timestamp_ms":1784446964000,"timestamp_seconds":1784446964,"priority":1,"record_length":96,"hex_timestamp":"0000019f7953d120"} 
[2026-07-19 13:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818345728001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818345728001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:17:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818345728001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":136474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:17:47] local.INFO: GPS data processed {"connection_id":136474,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:17:47] local.INFO: Acknowledgment sent {"connection_id":136474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:17:51] local.INFO: TCP Data received {"connection_id":138962,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:17:51] local.INFO: Processing buffer {"connection_id":138962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:17:51] local.INFO: IMEI packet received {"connection_id":138962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":138962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:17:56] local.INFO: TCP Data received {"connection_id":138962,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:17:56] local.INFO: Processing buffer {"connection_id":138962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:17:56] local.INFO: IMEI packet received {"connection_id":138962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":138962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:17:56] local.INFO: TCP Data received {"connection_id":137558,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:17:56] local.INFO: Processing buffer {"connection_id":137558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:17:56] local.INFO: IMEI packet received {"connection_id":137558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 13:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":137558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:17:57] local.INFO: TCP Data received {"connection_id":138962,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7955e460012d19cf0007201800002c007e26..."} 
[2026-07-19 13:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7955e460012d19cf0007201800002c007e26..."} 
[2026-07-19 13:17:57] local.INFO: Processing buffer {"connection_id":138962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7955e460012d19cf0007201800002c007e26..."} 
[2026-07-19 13:17:57] local.INFO: Packet analysis {"connection_id":138962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7955"} 
[2026-07-19 13:17:57] local.INFO: Extracted packet for processing {"connection_id":138962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7955"} 
[2026-07-19 13:17:57] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818452224001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:17: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-07-19 13:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784447100000,"timestamp_ms":1784447100000,"timestamp_seconds":1784447100,"priority":1,"record_length":96,"hex_timestamp":"0000019f7955e460"} 
[2026-07-19 13:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:17: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-07-19 13: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-19 13:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":138962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":138962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":138962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818452224001,"66":13015,"103":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818452224001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:17:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:17:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818452224001,"power":13015,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":138962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:17:57] local.INFO: GPS data processed {"connection_id":138962,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:17:57] local.INFO: Acknowledgment sent {"connection_id":138962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:18:26] local.INFO: TCP Data received {"connection_id":137559,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:18:26] local.INFO: Processing buffer {"connection_id":137559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:18:26] local.INFO: IMEI packet received {"connection_id":137559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 13:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":137559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:18:28] local.INFO: TCP Data received {"connection_id":138962,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f79563668012d19cf0007201800002c007e29..."} 
[2026-07-19 13:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79563668012d19cf0007201800002c007e29..."} 
[2026-07-19 13:18:28] local.INFO: Processing buffer {"connection_id":138962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79563668012d19cf0007201800002c007e29..."} 
[2026-07-19 13:18:28] local.INFO: Packet analysis {"connection_id":138962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7956"} 
[2026-07-19 13:18:28] local.INFO: Extracted packet for processing {"connection_id":138962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7956"} 
[2026-07-19 13:18:28] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818457600001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:18: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-07-19 13:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784447121000,"timestamp_ms":1784447121000,"timestamp_seconds":1784447121,"priority":1,"record_length":96,"hex_timestamp":"0000019f79563668"} 
[2026-07-19 13:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:18: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-07-19 13: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-19 13:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":138962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":138962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":138962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818457600001,"66":12015,"103":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818457600001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:18:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:18:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818457600001,"power":12015,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":138962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:18:28] local.INFO: GPS data processed {"connection_id":138962,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:18:28] local.INFO: Acknowledgment sent {"connection_id":138962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:18:32] local.INFO: TCP Data received {"connection_id":136475,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:18:32] local.INFO: Processing buffer {"connection_id":136475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:18:32] local.INFO: IMEI packet received {"connection_id":136475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":136475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:18:36] local.INFO: TCP Data received {"connection_id":136475,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:18:36] local.INFO: Processing buffer {"connection_id":136475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:18:36] local.INFO: IMEI packet received {"connection_id":136475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":136475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:18:38] local.INFO: TCP Data received {"connection_id":136475,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:18:38] local.INFO: Processing buffer {"connection_id":136475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:18:38] local.INFO: Packet analysis {"connection_id":136475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:18:38] local.INFO: Extracted packet for processing {"connection_id":136475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:18:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818422784001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:18: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-07-19 13:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784447265000,"timestamp_ms":1784447265000,"timestamp_seconds":1784447265,"priority":1,"record_length":96,"hex_timestamp":"0000019f795868e8"} 
[2026-07-19 13:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:18: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-07-19 13:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818422784001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818422784001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:18:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:18:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818422784001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":136475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:18:38] local.INFO: GPS data processed {"connection_id":136475,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:18:38] local.INFO: Acknowledgment sent {"connection_id":136475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:18:42] local.INFO: TCP Data received {"connection_id":136475,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:18:42] local.INFO: Processing buffer {"connection_id":136475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:18:42] local.INFO: Packet analysis {"connection_id":136475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:18:42] local.INFO: Extracted packet for processing {"connection_id":136475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:18:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818422784001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784447265000,"timestamp_ms":1784447265000,"timestamp_seconds":1784447265,"priority":1,"record_length":96,"hex_timestamp":"0000019f795868e8"} 
[2026-07-19 13:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:18:42] 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-07-19 13:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818422784001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818422784001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:18:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:18:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818422784001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":136475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:18:42] local.INFO: GPS data processed {"connection_id":136475,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:18:42] local.INFO: Acknowledgment sent {"connection_id":136475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:18:51] local.INFO: TCP Data received {"connection_id":138963,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:18:51] local.INFO: Processing buffer {"connection_id":138963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:18:51] local.INFO: IMEI packet received {"connection_id":138963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":138963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:18:56] local.INFO: TCP Data received {"connection_id":138963,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:18:56] local.INFO: Processing buffer {"connection_id":138963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:18:56] local.INFO: IMEI packet received {"connection_id":138963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":138963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:18:57] local.INFO: TCP Data received {"connection_id":138963,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f79568870012d19cf0007201800002c007e27..."} 
[2026-07-19 13:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79568870012d19cf0007201800002c007e27..."} 
[2026-07-19 13:18:57] local.INFO: Processing buffer {"connection_id":138963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79568870012d19cf0007201800002c007e27..."} 
[2026-07-19 13:18:57] local.INFO: Packet analysis {"connection_id":138963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7956"} 
[2026-07-19 13:18:57] local.INFO: Extracted packet for processing {"connection_id":138963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7956"} 
[2026-07-19 13:18:57] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818462976001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:18: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-07-19 13:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784447142000,"timestamp_ms":1784447142000,"timestamp_seconds":1784447142,"priority":1,"record_length":96,"hex_timestamp":"0000019f79568870"} 
[2026-07-19 13:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:18: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-07-19 13:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-19 13:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:18:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":138963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":138963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":138963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818462976001,"66":13004,"103":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818462976001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:18:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:18:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818462976001,"power":13004,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":138963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:18:57] local.INFO: GPS data processed {"connection_id":138963,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:18:57] local.INFO: Acknowledgment sent {"connection_id":138963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:19:13] local.INFO: TCP Data received {"connection_id":136475,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:19:13] local.INFO: Processing buffer {"connection_id":136475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:19:13] local.INFO: Packet analysis {"connection_id":136475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:19:13] local.INFO: Extracted packet for processing {"connection_id":136475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:19:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818422784001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13: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-07-19 13:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784447265000,"timestamp_ms":1784447265000,"timestamp_seconds":1784447265,"priority":1,"record_length":96,"hex_timestamp":"0000019f795868e8"} 
[2026-07-19 13:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":136475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":136475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":136475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:19: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-07-19 13:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818422784001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818422784001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:19:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:19:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818422784001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":136475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:19:13] local.INFO: GPS data processed {"connection_id":136475,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:19:13] local.INFO: Acknowledgment sent {"connection_id":136475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:19:28] local.INFO: TCP Data received {"connection_id":138963,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7956da78012d19cf0007201800002c007e23..."} 
[2026-07-19 13:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7956da78012d19cf0007201800002c007e23..."} 
[2026-07-19 13:19:28] local.INFO: Processing buffer {"connection_id":138963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7956da78012d19cf0007201800002c007e23..."} 
[2026-07-19 13:19:28] local.INFO: Packet analysis {"connection_id":138963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7956"} 
[2026-07-19 13:19:28] local.INFO: Extracted packet for processing {"connection_id":138963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7956"} 
[2026-07-19 13:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818468352001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:19: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-07-19 13:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784447163000,"timestamp_ms":1784447163000,"timestamp_seconds":1784447163,"priority":1,"record_length":96,"hex_timestamp":"0000019f7956da78"} 
[2026-07-19 13:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:19: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-07-19 13:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-19 13:19:28] 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-07-19 13:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":138963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":138963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":138963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818468352001,"66":12982,"103":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818468352001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:19:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:19:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818468352001,"power":12982,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":138963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:19:29] local.INFO: GPS data processed {"connection_id":138963,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:19:29] local.INFO: Acknowledgment sent {"connection_id":138963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:19:31] local.INFO: TCP Data received {"connection_id":137560,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:19:31] local.INFO: Processing buffer {"connection_id":137560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:19:31] local.INFO: IMEI packet received {"connection_id":137560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":137560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:19:36] local.INFO: TCP Data received {"connection_id":137560,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:19:36] local.INFO: Processing buffer {"connection_id":137560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:19:36] local.INFO: IMEI packet received {"connection_id":137560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":137560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:19:37] local.INFO: TCP Data received {"connection_id":137560,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:19:37] local.INFO: Processing buffer {"connection_id":137560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:19:37] local.INFO: Packet analysis {"connection_id":137560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:19:37] local.INFO: Extracted packet for processing {"connection_id":137560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818422784001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:19: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-07-19 13:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784447265000,"timestamp_ms":1784447265000,"timestamp_seconds":1784447265,"priority":1,"record_length":96,"hex_timestamp":"0000019f795868e8"} 
[2026-07-19 13:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818422784001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818422784001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:19:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818422784001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":137560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:19:37] local.INFO: GPS data processed {"connection_id":137560,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:19:37] local.INFO: Acknowledgment sent {"connection_id":137560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:19:50] local.INFO: TCP Data received {"connection_id":137561,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:19:50] local.INFO: Processing buffer {"connection_id":137561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:19:50] local.INFO: IMEI packet received {"connection_id":137561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":137561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:19:51] local.INFO: TCP Data received {"connection_id":137561,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:19:51] local.INFO: Processing buffer {"connection_id":137561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:19:51] local.INFO: IMEI packet received {"connection_id":137561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":137561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:19:56] local.INFO: TCP Data received {"connection_id":137561,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:19:56] local.INFO: Processing buffer {"connection_id":137561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:19:56] local.INFO: IMEI packet received {"connection_id":137561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":137561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:19:57] local.INFO: TCP Data received {"connection_id":137561,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f79572c80012d19cf0007201800002c007e23..."} 
[2026-07-19 13:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79572c80012d19cf0007201800002c007e23..."} 
[2026-07-19 13:19:57] local.INFO: Processing buffer {"connection_id":137561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79572c80012d19cf0007201800002c007e23..."} 
[2026-07-19 13:19:57] local.INFO: Packet analysis {"connection_id":137561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7957"} 
[2026-07-19 13:19:57] local.INFO: Extracted packet for processing {"connection_id":137561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7957"} 
[2026-07-19 13:19:57] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818473728001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:19: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-07-19 13:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784447184000,"timestamp_ms":1784447184000,"timestamp_seconds":1784447184,"priority":1,"record_length":96,"hex_timestamp":"0000019f79572c80"} 
[2026-07-19 13:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:19: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-07-19 13:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-19 13:19:57] 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-07-19 13:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818473728001,"66":12961,"103":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818473728001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:19:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:19:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818473728001,"power":12961,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":137561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:19:58] local.INFO: GPS data processed {"connection_id":137561,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:19:58] local.INFO: Acknowledgment sent {"connection_id":137561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:20:09] local.INFO: TCP Data received {"connection_id":137560,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:20:09] local.INFO: Processing buffer {"connection_id":137560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:20:09] local.INFO: Packet analysis {"connection_id":137560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:20:09] local.INFO: Extracted packet for processing {"connection_id":137560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 13:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818422784001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:20: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-07-19 13:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784447265000,"timestamp_ms":1784447265000,"timestamp_seconds":1784447265,"priority":1,"record_length":96,"hex_timestamp":"0000019f795868e8"} 
[2026-07-19 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-07-19 13:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 13:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:20:09] 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-07-19 13:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818422784001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818422784001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818422784001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":137560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:20:09] local.INFO: GPS data processed {"connection_id":137560,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:20:09] local.INFO: Acknowledgment sent {"connection_id":137560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:20:29] local.INFO: TCP Data received {"connection_id":137561,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f79577e88012d19cf0007201800002c007e26..."} 
[2026-07-19 13:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79577e88012d19cf0007201800002c007e26..."} 
[2026-07-19 13:20:29] local.INFO: Processing buffer {"connection_id":137561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79577e88012d19cf0007201800002c007e26..."} 
[2026-07-19 13:20:29] local.INFO: Packet analysis {"connection_id":137561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7957"} 
[2026-07-19 13:20:29] local.INFO: Extracted packet for processing {"connection_id":137561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7957"} 
[2026-07-19 13:20:29] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818479104001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784447205000,"timestamp_ms":1784447205000,"timestamp_seconds":1784447205,"priority":1,"record_length":96,"hex_timestamp":"0000019f79577e88"} 
[2026-07-19 13:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:20:29] 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-07-19 13:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-19 13:20:29] 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-07-19 13:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":137561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":137561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":137561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818479104001,"66":12950,"103":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818479104001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:20:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:20:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818479104001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":137561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:20:29] local.INFO: GPS data processed {"connection_id":137561,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:20:29] local.INFO: Acknowledgment sent {"connection_id":137561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:20:31] local.INFO: TCP Data received {"connection_id":136617,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:20:31] local.INFO: Processing buffer {"connection_id":136617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:20:31] local.INFO: IMEI packet received {"connection_id":136617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":136617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:20:36] local.INFO: TCP Data received {"connection_id":136617,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:20:36] local.INFO: Processing buffer {"connection_id":136617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:20:36] local.INFO: IMEI packet received {"connection_id":136617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":136617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:20:37] local.INFO: TCP Data received {"connection_id":136617,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:20:37] local.INFO: Processing buffer {"connection_id":136617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:20:37] local.INFO: Packet analysis {"connection_id":136617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:20:37] local.INFO: Extracted packet for processing {"connection_id":136617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818422784001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:20: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-07-19 13:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784447265000,"timestamp_ms":1784447265000,"timestamp_seconds":1784447265,"priority":1,"record_length":96,"hex_timestamp":"0000019f795868e8"} 
[2026-07-19 13:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818422784001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818422784001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:20:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818422784001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":136617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:20:37] local.INFO: GPS data processed {"connection_id":136617,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:20:37] local.INFO: Acknowledgment sent {"connection_id":136617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:20:51] local.INFO: TCP Data received {"connection_id":137562,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:20:51] local.INFO: Processing buffer {"connection_id":137562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:20:51] local.INFO: IMEI packet received {"connection_id":137562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":137562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:20:53] local.INFO: TCP Data received {"connection_id":137562,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:20:53] local.INFO: Processing buffer {"connection_id":137562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:20:53] local.INFO: IMEI packet received {"connection_id":137562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":137562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:20:56] local.INFO: TCP Data received {"connection_id":137562,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:20:56] local.INFO: Processing buffer {"connection_id":137562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:20:56] local.INFO: IMEI packet received {"connection_id":137562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":137562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:20:57] local.INFO: TCP Data received {"connection_id":137562,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7957d090012d19cf0007201800002c007e28..."} 
[2026-07-19 13:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7957d090012d19cf0007201800002c007e28..."} 
[2026-07-19 13:20:57] local.INFO: Processing buffer {"connection_id":137562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7957d090012d19cf0007201800002c007e28..."} 
[2026-07-19 13:20:57] local.INFO: Packet analysis {"connection_id":137562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7957"} 
[2026-07-19 13:20:57] local.INFO: Extracted packet for processing {"connection_id":137562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7957"} 
[2026-07-19 13:20:57] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818484480001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:20: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-07-19 13:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784447226000,"timestamp_ms":1784447226000,"timestamp_seconds":1784447226,"priority":1,"record_length":96,"hex_timestamp":"0000019f7957d090"} 
[2026-07-19 13:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:20: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-07-19 13:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-19 13:20:57] 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-07-19 13:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818484480001,"66":12928,"103":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818484480001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:20:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:20:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818484480001,"power":12928,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":137562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:20:58] local.INFO: GPS data processed {"connection_id":137562,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:20:58] local.INFO: Acknowledgment sent {"connection_id":137562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:21:08] local.INFO: TCP Data received {"connection_id":136617,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:21:08] local.INFO: Processing buffer {"connection_id":136617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:21:08] local.INFO: Packet analysis {"connection_id":136617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:21:08] local.INFO: Extracted packet for processing {"connection_id":136617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818422784001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13: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-07-19 13:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784447265000,"timestamp_ms":1784447265000,"timestamp_seconds":1784447265,"priority":1,"record_length":96,"hex_timestamp":"0000019f795868e8"} 
[2026-07-19 13:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13: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":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:21: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-07-19 13:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818422784001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818422784001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:21:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:21:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818422784001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":136617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:21:08] local.INFO: GPS data processed {"connection_id":136617,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:21:08] local.INFO: Acknowledgment sent {"connection_id":136617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:21:29] local.INFO: TCP Data received {"connection_id":137562,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f79582298012d19cf0007201800002c007e27..."} 
[2026-07-19 13:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79582298012d19cf0007201800002c007e27..."} 
[2026-07-19 13:21:29] local.INFO: Processing buffer {"connection_id":137562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79582298012d19cf0007201800002c007e27..."} 
[2026-07-19 13:21:29] local.INFO: Packet analysis {"connection_id":137562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:21:29] local.INFO: Extracted packet for processing {"connection_id":137562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:21:29] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818489856001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784447247000,"timestamp_ms":1784447247000,"timestamp_seconds":1784447247,"priority":1,"record_length":96,"hex_timestamp":"0000019f79582298"} 
[2026-07-19 13:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:21:29] 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-07-19 13:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-19 13:21:29] 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-07-19 13:21:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":137562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":137562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":137562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818489856001,"66":12917,"103":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818489856001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:21:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:21:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818489856001,"power":12917,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":137562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:21:29] local.INFO: GPS data processed {"connection_id":137562,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:21:29] local.INFO: Acknowledgment sent {"connection_id":137562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:21:31] local.INFO: TCP Data received {"connection_id":136618,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:21:31] local.INFO: Processing buffer {"connection_id":136618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:21:31] local.INFO: IMEI packet received {"connection_id":136618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":136618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:21:36] local.INFO: TCP Data received {"connection_id":136618,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:21:36] local.INFO: Processing buffer {"connection_id":136618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:21:36] local.INFO: IMEI packet received {"connection_id":136618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":136618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:21:37] local.INFO: TCP Data received {"connection_id":136618,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:21:37] local.INFO: Processing buffer {"connection_id":136618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:21:37] local.INFO: Packet analysis {"connection_id":136618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:21:37] local.INFO: Extracted packet for processing {"connection_id":136618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818422784001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13: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-07-19 13:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784447265000,"timestamp_ms":1784447265000,"timestamp_seconds":1784447265,"priority":1,"record_length":96,"hex_timestamp":"0000019f795868e8"} 
[2026-07-19 13:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818422784001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818422784001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:21:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:21:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818422784001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":136618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:21:37] local.INFO: GPS data processed {"connection_id":136618,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:21:37] local.INFO: Acknowledgment sent {"connection_id":136618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:21:56] local.INFO: TCP Data received {"connection_id":137563,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:21:56] local.INFO: Processing buffer {"connection_id":137563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:21:56] local.INFO: IMEI packet received {"connection_id":137563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":137563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:21:57] local.INFO: TCP Data received {"connection_id":137563,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:21:57] local.INFO: Processing buffer {"connection_id":137563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:21:57] local.INFO: IMEI packet received {"connection_id":137563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":137563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:22:01] local.INFO: TCP Data received {"connection_id":137563,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:22:01] local.INFO: Processing buffer {"connection_id":137563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:22:01] local.INFO: IMEI packet received {"connection_id":137563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":137563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:22:02] local.INFO: TCP Data received {"connection_id":137563,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f795874a0012d19cf0007201800002c007e26..."} 
[2026-07-19 13:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795874a0012d19cf0007201800002c007e26..."} 
[2026-07-19 13:22:02] local.INFO: Processing buffer {"connection_id":137563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795874a0012d19cf0007201800002c007e26..."} 
[2026-07-19 13:22:02] local.INFO: Packet analysis {"connection_id":137563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:22:02] local.INFO: Extracted packet for processing {"connection_id":137563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:22:02] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 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-07-19 13:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818495232001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:22: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-07-19 13:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784447268000,"timestamp_ms":1784447268000,"timestamp_seconds":1784447268,"priority":1,"record_length":96,"hex_timestamp":"0000019f795874a0"} 
[2026-07-19 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-07-19 13:22:02] 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-07-19 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-19 13:22:02] 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-07-19 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-07-19 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-07-19 13:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":137563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":137563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":137563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818495232001,"66":12874,"103":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818495232001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:22:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:22:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818495232001,"power":12874,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":137563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:22:02] local.INFO: GPS data processed {"connection_id":137563,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:22:02] local.INFO: Acknowledgment sent {"connection_id":137563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:22:07] local.INFO: TCP Data received {"connection_id":137563,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7958c6a8012d19cf0007201800002c007e25..."} 
[2026-07-19 13:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7958c6a8012d19cf0007201800002c007e25..."} 
[2026-07-19 13:22:07] local.INFO: Processing buffer {"connection_id":137563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7958c6a8012d19cf0007201800002c007e25..."} 
[2026-07-19 13:22:07] local.INFO: Packet analysis {"connection_id":137563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:22:07] local.INFO: Extracted packet for processing {"connection_id":137563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818500608001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784447289000,"timestamp_ms":1784447289000,"timestamp_seconds":1784447289,"priority":1,"record_length":96,"hex_timestamp":"0000019f7958c6a8"} 
[2026-07-19 13:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:22: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-07-19 13:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-19 13:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":137563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":137563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":137563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818500608001,"66":12863,"103":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818500608001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:22:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818500608001,"power":12863,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":137563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:22:07] local.INFO: GPS data processed {"connection_id":137563,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:22:07] local.INFO: Acknowledgment sent {"connection_id":137563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:22:09] local.INFO: TCP Data received {"connection_id":136618,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:22:09] local.INFO: Processing buffer {"connection_id":136618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:22:09] local.INFO: Packet analysis {"connection_id":136618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:22:09] local.INFO: Extracted packet for processing {"connection_id":136618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818422784001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13: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-07-19 13:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784447265000,"timestamp_ms":1784447265000,"timestamp_seconds":1784447265,"priority":1,"record_length":96,"hex_timestamp":"0000019f795868e8"} 
[2026-07-19 13:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818422784001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818422784001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:22:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:22:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818422784001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":136618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:22:09] local.INFO: GPS data processed {"connection_id":136618,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:22:09] local.INFO: Acknowledgment sent {"connection_id":136618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:22:36] local.INFO: TCP Data received {"connection_id":137564,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:22:36] local.INFO: Processing buffer {"connection_id":137564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:22:36] local.INFO: IMEI packet received {"connection_id":137564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":137564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:22:41] local.INFO: TCP Data received {"connection_id":137564,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:22:41] local.INFO: Processing buffer {"connection_id":137564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:22:41] local.INFO: IMEI packet received {"connection_id":137564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":137564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:22:42] local.INFO: TCP Data received {"connection_id":137564,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:22:42] local.INFO: Processing buffer {"connection_id":137564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:22:42] local.INFO: Packet analysis {"connection_id":137564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:22:42] local.INFO: Extracted packet for processing {"connection_id":137564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:22:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818422784001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784447265000,"timestamp_ms":1784447265000,"timestamp_seconds":1784447265,"priority":1,"record_length":96,"hex_timestamp":"0000019f795868e8"} 
[2026-07-19 13:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:22:42] 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-07-19 13:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818422784001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818422784001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:22:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:22:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818422784001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":137564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:22:42] local.INFO: GPS data processed {"connection_id":137564,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:22:42] local.INFO: Acknowledgment sent {"connection_id":137564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:22:47] local.INFO: TCP Data received {"connection_id":137564,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:22:47] local.INFO: Processing buffer {"connection_id":137564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795868e8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:22:47] local.INFO: Packet analysis {"connection_id":137564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:22:47] local.INFO: Extracted packet for processing {"connection_id":137564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7958"} 
[2026-07-19 13:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818422784001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784447265000,"timestamp_ms":1784447265000,"timestamp_seconds":1784447265,"priority":1,"record_length":96,"hex_timestamp":"0000019f795868e8"} 
[2026-07-19 13:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":137564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":137564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":137564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818422784001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818422784001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:22:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818422784001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":137564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:22:47] local.INFO: GPS data processed {"connection_id":137564,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:22:47] local.INFO: Acknowledgment sent {"connection_id":137564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:22:51] local.INFO: TCP Data received {"connection_id":138964,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:22:51] local.INFO: Processing buffer {"connection_id":138964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:22:51] local.INFO: IMEI packet received {"connection_id":138964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":138964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:22:56] local.INFO: TCP Data received {"connection_id":138964,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:22:56] local.INFO: Processing buffer {"connection_id":138964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:22:56] local.INFO: IMEI packet received {"connection_id":138964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":138964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:22:57] local.INFO: TCP Data received {"connection_id":138964,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f795918b0012d19cf0007201800002c007e23..."} 
[2026-07-19 13:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795918b0012d19cf0007201800002c007e23..."} 
[2026-07-19 13:22:57] local.INFO: Processing buffer {"connection_id":138964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795918b0012d19cf0007201800002c007e23..."} 
[2026-07-19 13:22:57] local.INFO: Packet analysis {"connection_id":138964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7959"} 
[2026-07-19 13:22:57] local.INFO: Extracted packet for processing {"connection_id":138964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7959"} 
[2026-07-19 13:22:57] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818505984001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:22: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-07-19 13:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784447310000,"timestamp_ms":1784447310000,"timestamp_seconds":1784447310,"priority":1,"record_length":96,"hex_timestamp":"0000019f795918b0"} 
[2026-07-19 13:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:22: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-07-19 13:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-19 13:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":138964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":138964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":138964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818505984001,"66":12841,"103":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818505984001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:22:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:22:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818505984001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":138964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:22:57] local.INFO: GPS data processed {"connection_id":138964,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:22:57] local.INFO: Acknowledgment sent {"connection_id":138964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:23:31] local.INFO: TCP Data received {"connection_id":138964,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f79596ab8012d19cf0007201800002c007e28..."} 
[2026-07-19 13:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79596ab8012d19cf0007201800002c007e28..."} 
[2026-07-19 13:23:31] local.INFO: Processing buffer {"connection_id":138964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79596ab8012d19cf0007201800002c007e28..."} 
[2026-07-19 13:23:31] local.INFO: Packet analysis {"connection_id":138964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7959"} 
[2026-07-19 13:23:31] local.INFO: Extracted packet for processing {"connection_id":138964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7959"} 
[2026-07-19 13:23:31] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818511360001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784447331000,"timestamp_ms":1784447331000,"timestamp_seconds":1784447331,"priority":1,"record_length":96,"hex_timestamp":"0000019f79596ab8"} 
[2026-07-19 13:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:23:31] 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-07-19 13: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-19 13:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":138964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":138964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":138964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818511360001,"66":12819,"103":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818511360001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:23:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:23:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818511360001,"power":12819,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":138964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:23:31] local.INFO: GPS data processed {"connection_id":138964,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:23:31] local.INFO: Acknowledgment sent {"connection_id":138964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:23:31] local.INFO: TCP Data received {"connection_id":136479,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:23:31] local.INFO: Processing buffer {"connection_id":136479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:23:31] local.INFO: IMEI packet received {"connection_id":136479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":136479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:23:36] local.INFO: TCP Data received {"connection_id":136479,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:23:36] local.INFO: Processing buffer {"connection_id":136479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:23:36] local.INFO: IMEI packet received {"connection_id":136479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":136479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:23:37] local.INFO: TCP Data received {"connection_id":136479,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:23:37] local.INFO: Processing buffer {"connection_id":136479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:23:37] local.INFO: Packet analysis {"connection_id":136479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:23:37] local.INFO: Extracted packet for processing {"connection_id":136479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:23:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818499840001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23: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-07-19 13:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784447566000,"timestamp_ms":1784447566000,"timestamp_seconds":1784447566,"priority":1,"record_length":96,"hex_timestamp":"0000019f795d00b0"} 
[2026-07-19 13:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818499840001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818499840001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:23:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:23:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818499840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":136479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:23:37] local.INFO: GPS data processed {"connection_id":136479,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:23:37] local.INFO: Acknowledgment sent {"connection_id":136479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:23:51] local.INFO: TCP Data received {"connection_id":136619,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:23:51] local.INFO: Processing buffer {"connection_id":136619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:23:51] local.INFO: IMEI packet received {"connection_id":136619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":136619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:23:51] local.INFO: TCP Data received {"connection_id":136478,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:23:51] local.INFO: Processing buffer {"connection_id":136478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:23:51] local.INFO: IMEI packet received {"connection_id":136478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 13:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":136478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:23:58] local.INFO: TCP Data received {"connection_id":136619,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:23:58] local.INFO: Processing buffer {"connection_id":136619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:23:58] local.INFO: IMEI packet received {"connection_id":136619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":136619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:23:58] local.INFO: TCP Data received {"connection_id":136619,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7959bcc0012d19cf0007201800002c007e27..."} 
[2026-07-19 13:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7959bcc0012d19cf0007201800002c007e27..."} 
[2026-07-19 13:23:58] local.INFO: Processing buffer {"connection_id":136619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7959bcc0012d19cf0007201800002c007e27..."} 
[2026-07-19 13:23:58] local.INFO: Packet analysis {"connection_id":136619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7959"} 
[2026-07-19 13:23:58] local.INFO: Extracted packet for processing {"connection_id":136619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7959"} 
[2026-07-19 13:23:58] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818516736001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784447352000,"timestamp_ms":1784447352000,"timestamp_seconds":1784447352,"priority":1,"record_length":96,"hex_timestamp":"0000019f7959bcc0"} 
[2026-07-19 13:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:23:58] 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-07-19 13: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-19 13:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23:58] local.WARNING: Large IO value detected {"io_id":90,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23:58] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503708521398272,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23:58] local.WARNING: Large IO value detected {"io_id":121,"raw_value":6281536322814988032,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23:58] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4684007499555471616,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675904093319069720,"corrected_to":0} 
[2026-07-19 13:23:58] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23:58] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182118040469760,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23:58] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879051012485549,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23:58] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2312598409392979491,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23:58] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23:58] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195053312,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23:58] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84752344839299096,"note":"Value kept but may cause issues"} 
[2026-07-19 13:23:58] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,90,159,45,44,35,10,66,198,37,116,1,240,74,227,121,32,4,113,205,208,207,40,239,50,2,25,7,164,151,69,120],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":8675904093319069720,"validated":0}]} 
[2026-07-19 13:23:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170672847932620800,"timestamp_seconds":3170672847932621.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 13:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818516736001,"66":11906,"103":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818516736001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:23:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:23:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818516736001,"power":11906,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":136619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:23:59] local.INFO: GPS data processed {"connection_id":136619,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:23:59] local.INFO: Acknowledgment sent {"connection_id":136619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:24:08] local.INFO: TCP Data received {"connection_id":136479,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:24:08] local.INFO: Processing buffer {"connection_id":136479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:24:08] local.INFO: Packet analysis {"connection_id":136479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:24:08] local.INFO: Extracted packet for processing {"connection_id":136479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818499840001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:24: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-07-19 13:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784447566000,"timestamp_ms":1784447566000,"timestamp_seconds":1784447566,"priority":1,"record_length":96,"hex_timestamp":"0000019f795d00b0"} 
[2026-07-19 13:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:24: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-07-19 13:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818499840001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818499840001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:24:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:24:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818499840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":136479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:24:08] local.INFO: GPS data processed {"connection_id":136479,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:24:08] local.INFO: Acknowledgment sent {"connection_id":136479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:24:26] local.INFO: TCP Data received {"connection_id":137565,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:24:26] local.INFO: Processing buffer {"connection_id":137565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:24:26] local.INFO: IMEI packet received {"connection_id":137565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 13:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":137565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:24:30] local.INFO: TCP Data received {"connection_id":136619,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f795d4318012d19cf0007201800002c007e26..."} 
[2026-07-19 13:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795d4318012d19cf0007201800002c007e26..."} 
[2026-07-19 13:24:30] local.INFO: Processing buffer {"connection_id":136619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795d4318012d19cf0007201800002c007e26..."} 
[2026-07-19 13:24:30] local.INFO: Packet analysis {"connection_id":136619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:24:30] local.INFO: Extracted packet for processing {"connection_id":136619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:24:30] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818575872001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784447583000,"timestamp_ms":1784447583000,"timestamp_seconds":1784447583,"priority":1,"record_length":96,"hex_timestamp":"0000019f795d4318"} 
[2026-07-19 13:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:24:30] 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-07-19 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-19 13:24:30] 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-07-19 13: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-07-19 13:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":136619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":136619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":136619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818575872001,"66":12667,"106":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 13:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818575872001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:24:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 13:24:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818575872001,"power":12667,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":136619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:24:30] local.INFO: GPS data processed {"connection_id":136619,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:24:30] local.INFO: Acknowledgment sent {"connection_id":136619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:24:31] local.INFO: TCP Data received {"connection_id":136620,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:24:31] local.INFO: Processing buffer {"connection_id":136620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:24:31] local.INFO: IMEI packet received {"connection_id":136620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":136620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:24:37] local.INFO: TCP Data received {"connection_id":136620,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:24:37] local.INFO: Processing buffer {"connection_id":136620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:24:37] local.INFO: IMEI packet received {"connection_id":136620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":136620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:24:39] local.INFO: TCP Data received {"connection_id":136620,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:24:39] local.INFO: Processing buffer {"connection_id":136620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:24:39] local.INFO: Packet analysis {"connection_id":136620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:24:39] local.INFO: Extracted packet for processing {"connection_id":136620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:24:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818499840001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:24: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-07-19 13:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784447566000,"timestamp_ms":1784447566000,"timestamp_seconds":1784447566,"priority":1,"record_length":96,"hex_timestamp":"0000019f795d00b0"} 
[2026-07-19 13:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:24: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-07-19 13:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818499840001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818499840001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:24:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:24:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818499840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":136620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:24:39] local.INFO: GPS data processed {"connection_id":136620,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:24:39] local.INFO: Acknowledgment sent {"connection_id":136620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:24:51] local.INFO: TCP Data received {"connection_id":137566,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:24:51] local.INFO: Processing buffer {"connection_id":137566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:24:51] local.INFO: IMEI packet received {"connection_id":137566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":137566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:24:56] local.INFO: TCP Data received {"connection_id":137566,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:24:56] local.INFO: Processing buffer {"connection_id":137566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:24:56] local.INFO: IMEI packet received {"connection_id":137566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":137566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:24:57] local.INFO: TCP Data received {"connection_id":137566,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f795d9520012d19cf0007201800002c007e24..."} 
[2026-07-19 13:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795d9520012d19cf0007201800002c007e24..."} 
[2026-07-19 13:24:57] local.INFO: Processing buffer {"connection_id":137566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795d9520012d19cf0007201800002c007e24..."} 
[2026-07-19 13:24:57] local.INFO: Packet analysis {"connection_id":137566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:24:57] local.INFO: Extracted packet for processing {"connection_id":137566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:24:57] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818581248001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784447604000,"timestamp_ms":1784447604000,"timestamp_seconds":1784447604,"priority":1,"record_length":96,"hex_timestamp":"0000019f795d9520"} 
[2026-07-19 13:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-19 13:24:57] 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-07-19 13:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818581248001,"66":12645,"106":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 13:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818581248001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:24:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 13:24:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818581248001,"power":12645,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":137566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:24:57] local.INFO: GPS data processed {"connection_id":137566,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:24:57] local.INFO: Acknowledgment sent {"connection_id":137566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:25:10] local.INFO: TCP Data received {"connection_id":136620,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:25:10] local.INFO: Processing buffer {"connection_id":136620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:25:10] local.INFO: Packet analysis {"connection_id":136620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:25:10] local.INFO: Extracted packet for processing {"connection_id":136620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:25:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818499840001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:25: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-07-19 13:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784447566000,"timestamp_ms":1784447566000,"timestamp_seconds":1784447566,"priority":1,"record_length":96,"hex_timestamp":"0000019f795d00b0"} 
[2026-07-19 13:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818499840001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818499840001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:25:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:25:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818499840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":136620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:25:10] local.INFO: GPS data processed {"connection_id":136620,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:25:10] local.INFO: Acknowledgment sent {"connection_id":136620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:25:28] local.INFO: TCP Data received {"connection_id":137566,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f795de728012d19cf0007201800002c007e23..."} 
[2026-07-19 13:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795de728012d19cf0007201800002c007e23..."} 
[2026-07-19 13:25:28] local.INFO: Processing buffer {"connection_id":137566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795de728012d19cf0007201800002c007e23..."} 
[2026-07-19 13:25:28] local.INFO: Packet analysis {"connection_id":137566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:25:28] local.INFO: Extracted packet for processing {"connection_id":137566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:25:28] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 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-07-19 13:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818586624001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784447625000,"timestamp_ms":1784447625000,"timestamp_seconds":1784447625,"priority":1,"record_length":96,"hex_timestamp":"0000019f795de728"} 
[2026-07-19 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-07-19 13:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-19 13:25:28] 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-07-19 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-07-19 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-07-19 13:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818586624001,"66":12591,"106":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 13:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818586624001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:25:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 13:25:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818586624001,"power":12591,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":137566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:25:28] local.INFO: GPS data processed {"connection_id":137566,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:25:28] local.INFO: Acknowledgment sent {"connection_id":137566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:25:31] local.INFO: TCP Data received {"connection_id":136621,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:25:31] local.INFO: Processing buffer {"connection_id":136621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:25:31] local.INFO: IMEI packet received {"connection_id":136621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":136621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:25:36] local.INFO: TCP Data received {"connection_id":136621,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:25:36] local.INFO: Processing buffer {"connection_id":136621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:25:36] local.INFO: IMEI packet received {"connection_id":136621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":136621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:25:37] local.INFO: TCP Data received {"connection_id":136621,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:25:38] local.INFO: Processing buffer {"connection_id":136621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:25:38] local.INFO: Packet analysis {"connection_id":136621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:25:38] local.INFO: Extracted packet for processing {"connection_id":136621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818499840001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:25: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-07-19 13:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784447566000,"timestamp_ms":1784447566000,"timestamp_seconds":1784447566,"priority":1,"record_length":96,"hex_timestamp":"0000019f795d00b0"} 
[2026-07-19 13:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:25:38] 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-07-19 13:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818499840001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818499840001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:25:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:25:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818499840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":136621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:25:38] local.INFO: GPS data processed {"connection_id":136621,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:25:38] local.INFO: Acknowledgment sent {"connection_id":136621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:25:56] local.INFO: TCP Data received {"connection_id":136622,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:25:56] local.INFO: Processing buffer {"connection_id":136622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:25:56] local.INFO: IMEI packet received {"connection_id":136622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":136622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:26:01] local.INFO: TCP Data received {"connection_id":136622,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:26:01] local.INFO: Processing buffer {"connection_id":136622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:26:01] local.INFO: IMEI packet received {"connection_id":136622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":136622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:26:02] local.INFO: TCP Data received {"connection_id":136622,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f795e3930012d19cf0007201800002c007e27..."} 
[2026-07-19 13:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795e3930012d19cf0007201800002c007e27..."} 
[2026-07-19 13:26:02] local.INFO: Processing buffer {"connection_id":136622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795e3930012d19cf0007201800002c007e27..."} 
[2026-07-19 13:26:02] local.INFO: Packet analysis {"connection_id":136622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f795e"} 
[2026-07-19 13:26:02] local.INFO: Extracted packet for processing {"connection_id":136622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f795e"} 
[2026-07-19 13:26:02] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818592000001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784447646000,"timestamp_ms":1784447646000,"timestamp_seconds":1784447646,"priority":1,"record_length":96,"hex_timestamp":"0000019f795e3930"} 
[2026-07-19 13:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 13:26:02] 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-07-19 13: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-07-19 13:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818592000001,"66":12591,"106":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 13:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818592000001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:26:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 13:26:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818592000001,"power":12591,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":136622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:26:03] local.INFO: GPS data processed {"connection_id":136622,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:26:03] local.INFO: Acknowledgment sent {"connection_id":136622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:26:09] local.INFO: TCP Data received {"connection_id":136621,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:26:09] local.INFO: Processing buffer {"connection_id":136621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:26:09] local.INFO: Packet analysis {"connection_id":136621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:26:09] local.INFO: Extracted packet for processing {"connection_id":136621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818499840001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13: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-07-19 13:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784447566000,"timestamp_ms":1784447566000,"timestamp_seconds":1784447566,"priority":1,"record_length":96,"hex_timestamp":"0000019f795d00b0"} 
[2026-07-19 13:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:26: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-07-19 13:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13: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-07-19 13:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818499840001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818499840001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818499840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":136621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:26:09] local.INFO: GPS data processed {"connection_id":136621,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:26:09] local.INFO: Acknowledgment sent {"connection_id":136621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:26:31] local.INFO: TCP Data received {"connection_id":138966,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:26:31] local.INFO: Processing buffer {"connection_id":138966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:26:31] local.INFO: IMEI packet received {"connection_id":138966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":138966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:26:34] local.INFO: TCP Data received {"connection_id":136622,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f795e8b38012d19cf0007201800002c007e27..."} 
[2026-07-19 13:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795e8b38012d19cf0007201800002c007e27..."} 
[2026-07-19 13:26:34] local.INFO: Processing buffer {"connection_id":136622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795e8b38012d19cf0007201800002c007e27..."} 
[2026-07-19 13:26:34] local.INFO: Packet analysis {"connection_id":136622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f795e"} 
[2026-07-19 13:26:34] local.INFO: Extracted packet for processing {"connection_id":136622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f795e"} 
[2026-07-19 13:26:34] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818597376001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784447667000,"timestamp_ms":1784447667000,"timestamp_seconds":1784447667,"priority":1,"record_length":96,"hex_timestamp":"0000019f795e8b38"} 
[2026-07-19 13:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 13:26:34] 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-07-19 13:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":136622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":136622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":136622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818597376001,"66":12591,"106":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 13:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818597376001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:26:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 13:26:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818597376001,"power":12591,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":136622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:26:34] local.INFO: GPS data processed {"connection_id":136622,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:26:34] local.INFO: Acknowledgment sent {"connection_id":136622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:26:36] local.INFO: TCP Data received {"connection_id":138966,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:26:36] local.INFO: Processing buffer {"connection_id":138966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:26:36] local.INFO: IMEI packet received {"connection_id":138966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":138966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:26:38] local.INFO: TCP Data received {"connection_id":138966,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:26:38] local.INFO: Processing buffer {"connection_id":138966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:26:38] local.INFO: Packet analysis {"connection_id":138966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:26:38] local.INFO: Extracted packet for processing {"connection_id":138966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:26:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818499840001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:26: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-07-19 13:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784447566000,"timestamp_ms":1784447566000,"timestamp_seconds":1784447566,"priority":1,"record_length":96,"hex_timestamp":"0000019f795d00b0"} 
[2026-07-19 13:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818499840001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 13:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818499840001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:26:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:26:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818499840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":138966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:26:38] local.INFO: GPS data processed {"connection_id":138966,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:26:38] local.INFO: Acknowledgment sent {"connection_id":138966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:26:50] local.INFO: TCP Data received {"connection_id":136623,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:26:50] local.INFO: Processing buffer {"connection_id":136623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:26:50] local.INFO: IMEI packet received {"connection_id":136623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":136623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:26:51] local.INFO: TCP Data received {"connection_id":136623,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:26:51] local.INFO: Processing buffer {"connection_id":136623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:26:51] local.INFO: IMEI packet received {"connection_id":136623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":136623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:26:56] local.INFO: TCP Data received {"connection_id":136623,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:26:56] local.INFO: Processing buffer {"connection_id":136623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:26:56] local.INFO: IMEI packet received {"connection_id":136623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":136623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:26:57] local.INFO: TCP Data received {"connection_id":136623,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f795edd40012d19cf0007201800002c007e26..."} 
[2026-07-19 13:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795edd40012d19cf0007201800002c007e26..."} 
[2026-07-19 13:26:57] local.INFO: Processing buffer {"connection_id":136623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795edd40012d19cf0007201800002c007e26..."} 
[2026-07-19 13:26:57] local.INFO: Packet analysis {"connection_id":136623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f795e"} 
[2026-07-19 13:26:57] local.INFO: Extracted packet for processing {"connection_id":136623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f795e"} 
[2026-07-19 13:26:57] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818602752001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784447688000,"timestamp_ms":1784447688000,"timestamp_seconds":1784447688,"priority":1,"record_length":96,"hex_timestamp":"0000019f795edd40"} 
[2026-07-19 13:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:26:57] 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-07-19 13: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 13:26:57] 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-07-19 13: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-07-19 13:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818602752001,"66":12580,"106":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 13:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818602752001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:26:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 13:26:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818602752001,"power":12580,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":136623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:26:57] local.INFO: GPS data processed {"connection_id":136623,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:26:57] local.INFO: Acknowledgment sent {"connection_id":136623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:27:09] local.INFO: TCP Data received {"connection_id":138966,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:27:09] local.INFO: Processing buffer {"connection_id":138966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:27:09] local.INFO: Packet analysis {"connection_id":138966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:27:09] local.INFO: Extracted packet for processing {"connection_id":138966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818499840001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:27: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-07-19 13:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784447566000,"timestamp_ms":1784447566000,"timestamp_seconds":1784447566,"priority":1,"record_length":96,"hex_timestamp":"0000019f795d00b0"} 
[2026-07-19 13:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:27: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-07-19 13:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818499840001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 13:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818499840001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:27:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:27:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818499840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":138966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:27:09] local.INFO: GPS data processed {"connection_id":138966,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:27:09] local.INFO: Acknowledgment sent {"connection_id":138966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:27:28] local.INFO: TCP Data received {"connection_id":136623,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f795f2f48012d19cf0007201800002c007e29..."} 
[2026-07-19 13:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795f2f48012d19cf0007201800002c007e29..."} 
[2026-07-19 13:27:28] local.INFO: Processing buffer {"connection_id":136623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795f2f48012d19cf0007201800002c007e29..."} 
[2026-07-19 13:27:28] local.INFO: Packet analysis {"connection_id":136623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f795f"} 
[2026-07-19 13:27:28] local.INFO: Extracted packet for processing {"connection_id":136623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f795f"} 
[2026-07-19 13:27:28] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818608128001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784447709000,"timestamp_ms":1784447709000,"timestamp_seconds":1784447709,"priority":1,"record_length":96,"hex_timestamp":"0000019f795f2f48"} 
[2026-07-19 13:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:27:28] 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-07-19 13:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-19 13:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818608128001,"66":12580,"106":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 13:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818608128001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:27:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 13:27:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818608128001,"power":12580,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":136623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:27:28] local.INFO: GPS data processed {"connection_id":136623,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:27:28] local.INFO: Acknowledgment sent {"connection_id":136623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:27:36] local.INFO: TCP Data received {"connection_id":136481,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:27:36] local.INFO: Processing buffer {"connection_id":136481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:27:36] local.INFO: IMEI packet received {"connection_id":136481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":136481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:27:41] local.INFO: TCP Data received {"connection_id":136481,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:27:41] local.INFO: Processing buffer {"connection_id":136481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:27:41] local.INFO: IMEI packet received {"connection_id":136481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":136481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:27:42] local.INFO: TCP Data received {"connection_id":136481,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:27:42] local.INFO: Processing buffer {"connection_id":136481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:27:42] local.INFO: Packet analysis {"connection_id":136481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:27:42] local.INFO: Extracted packet for processing {"connection_id":136481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:27:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818499840001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784447566000,"timestamp_ms":1784447566000,"timestamp_seconds":1784447566,"priority":1,"record_length":96,"hex_timestamp":"0000019f795d00b0"} 
[2026-07-19 13:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:27:42] 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-07-19 13:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818499840001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818499840001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:27:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:27:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818499840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":136481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:27:42] local.INFO: GPS data processed {"connection_id":136481,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:27:42] local.INFO: Acknowledgment sent {"connection_id":136481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:27:47] local.INFO: TCP Data received {"connection_id":136481,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:27:47] local.INFO: Processing buffer {"connection_id":136481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795d00b0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:27:47] local.INFO: Packet analysis {"connection_id":136481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:27:47] local.INFO: Extracted packet for processing {"connection_id":136481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f795d"} 
[2026-07-19 13:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818499840001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784447566000,"timestamp_ms":1784447566000,"timestamp_seconds":1784447566,"priority":1,"record_length":96,"hex_timestamp":"0000019f795d00b0"} 
[2026-07-19 13:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818499840001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818499840001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:27:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818499840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":136481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:27:47] local.INFO: GPS data processed {"connection_id":136481,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:27:47] local.INFO: Acknowledgment sent {"connection_id":136481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:27:52] local.INFO: TCP Data received {"connection_id":137568,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:27:52] local.INFO: Processing buffer {"connection_id":137568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:27:52] local.INFO: IMEI packet received {"connection_id":137568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":137568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:27:53] local.INFO: TCP Data received {"connection_id":137568,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:27:53] local.INFO: Processing buffer {"connection_id":137568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:27:53] local.INFO: IMEI packet received {"connection_id":137568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":137568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:27:56] local.INFO: TCP Data received {"connection_id":137568,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:27:56] local.INFO: Processing buffer {"connection_id":137568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:27:56] local.INFO: IMEI packet received {"connection_id":137568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":137568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:27:57] local.INFO: TCP Data received {"connection_id":137568,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f795f8150012d19cf0007201800002c007e26..."} 
[2026-07-19 13:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795f8150012d19cf0007201800002c007e26..."} 
[2026-07-19 13:27:57] local.INFO: Processing buffer {"connection_id":137568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795f8150012d19cf0007201800002c007e26..."} 
[2026-07-19 13:27:57] local.INFO: Packet analysis {"connection_id":137568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f795f"} 
[2026-07-19 13:27:57] local.INFO: Extracted packet for processing {"connection_id":137568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f795f"} 
[2026-07-19 13:27:57] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818613504001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784447730000,"timestamp_ms":1784447730000,"timestamp_seconds":1784447730,"priority":1,"record_length":96,"hex_timestamp":"0000019f795f8150"} 
[2026-07-19 13:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:27:57] 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-07-19 13: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-19 13:27:57] 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-07-19 13: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-07-19 13:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818613504001,"66":12558,"106":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 13:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818613504001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:27:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 13:27:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818613504001,"power":12558,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":137568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:27:57] local.INFO: GPS data processed {"connection_id":137568,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:27:57] local.INFO: Acknowledgment sent {"connection_id":137568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:28:28] local.INFO: TCP Data received {"connection_id":137568,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f795fd358012d19cf0007201800002c007e27..."} 
[2026-07-19 13:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f795fd358012d19cf0007201800002c007e27..."} 
[2026-07-19 13:28:28] local.INFO: Processing buffer {"connection_id":137568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f795fd358012d19cf0007201800002c007e27..."} 
[2026-07-19 13:28:28] local.INFO: Packet analysis {"connection_id":137568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f795f"} 
[2026-07-19 13:28:28] local.INFO: Extracted packet for processing {"connection_id":137568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f795f"} 
[2026-07-19 13:28:28] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 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-07-19 13:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818618880001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784447751000,"timestamp_ms":1784447751000,"timestamp_seconds":1784447751,"priority":1,"record_length":96,"hex_timestamp":"0000019f795fd358"} 
[2026-07-19 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-07-19 13:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-19 13:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:28] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:28] local.WARNING: Large IO value detected {"io_id":90,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249856205151016960,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-07-19 13:28:28] local.WARNING: Large IO value detected {"io_id":67,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:28] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,106,83,24,241,157,16,90,159,47,45,44,41,10,66,221,38,139,1,240,227,121,32,4,113,205,231,207,35,239,49,2,25,7,67,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-07-19 13:28:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170672839342686208,"timestamp_seconds":3170672839342686.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 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-07-19 13:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818618880001,"66":12558,"106":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 13:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818618880001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:28:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 13:28:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818618880001,"power":12558,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":137568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:28:28] local.INFO: GPS data processed {"connection_id":137568,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:28:28] local.INFO: Acknowledgment sent {"connection_id":137568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:28:31] local.INFO: TCP Data received {"connection_id":137569,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:28:31] local.INFO: Processing buffer {"connection_id":137569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:28:31] local.INFO: IMEI packet received {"connection_id":137569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":137569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:28:36] local.INFO: TCP Data received {"connection_id":137569,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:28:36] local.INFO: Processing buffer {"connection_id":137569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:28:36] local.INFO: IMEI packet received {"connection_id":137569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":137569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:28:37] local.INFO: TCP Data received {"connection_id":137569,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:28:37] local.INFO: Processing buffer {"connection_id":137569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:28:37] local.INFO: Packet analysis {"connection_id":137569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7961"} 
[2026-07-19 13:28:37] local.INFO: Extracted packet for processing {"connection_id":137569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7961"} 
[2026-07-19 13:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818576896001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28: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-07-19 13:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784447867000,"timestamp_ms":1784447867000,"timestamp_seconds":1784447867,"priority":1,"record_length":96,"hex_timestamp":"0000019f79619878"} 
[2026-07-19 13:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 13:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818576896001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818576896001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:28:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818576896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":137569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:28:37] local.INFO: GPS data processed {"connection_id":137569,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:28:37] local.INFO: Acknowledgment sent {"connection_id":137569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:28:51] local.INFO: TCP Data received {"connection_id":136625,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:28:51] local.INFO: Processing buffer {"connection_id":136625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:28:51] local.INFO: IMEI packet received {"connection_id":136625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":136625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:28:56] local.INFO: TCP Data received {"connection_id":136625,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:28:56] local.INFO: Processing buffer {"connection_id":136625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:28:56] local.INFO: IMEI packet received {"connection_id":136625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":136625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:28:57] local.INFO: TCP Data received {"connection_id":136625,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f79602560012d19cf0007201800002c007e26..."} 
[2026-07-19 13:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79602560012d19cf0007201800002c007e26..."} 
[2026-07-19 13:28:57] local.INFO: Processing buffer {"connection_id":136625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79602560012d19cf0007201800002c007e26..."} 
[2026-07-19 13:28:57] local.INFO: Packet analysis {"connection_id":136625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7960"} 
[2026-07-19 13:28:57] local.INFO: Extracted packet for processing {"connection_id":136625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7960"} 
[2026-07-19 13:28:57] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818624256001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784447772000,"timestamp_ms":1784447772000,"timestamp_seconds":1784447772,"priority":1,"record_length":96,"hex_timestamp":"0000019f79602560"} 
[2026-07-19 13:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-19 13:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:57] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:57] local.WARNING: Large IO value detected {"io_id":90,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249856205151016960,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-07-19 13:28:57] local.WARNING: Large IO value detected {"io_id":67,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:57] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-07-19 13:28:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,106,83,24,241,157,16,90,159,129,45,44,38,10,66,47,41,221,1,240,36,227,121,32,4,113,205,57,207,39,239,49,2,25,7,67,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-07-19 13:28:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170672843637653504,"timestamp_seconds":3170672843637653.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 13:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818624256001,"66":12461,"106":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 13:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818624256001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:28:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 13:28:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818624256001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":136625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:28:57] local.INFO: GPS data processed {"connection_id":136625,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:28:57] local.INFO: Acknowledgment sent {"connection_id":136625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:29:09] local.INFO: TCP Data received {"connection_id":137569,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:29:09] local.INFO: Processing buffer {"connection_id":137569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:29:09] local.INFO: Packet analysis {"connection_id":137569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7961"} 
[2026-07-19 13:29:09] local.INFO: Extracted packet for processing {"connection_id":137569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7961"} 
[2026-07-19 13:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818576896001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:29: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-07-19 13:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784447867000,"timestamp_ms":1784447867000,"timestamp_seconds":1784447867,"priority":1,"record_length":96,"hex_timestamp":"0000019f79619878"} 
[2026-07-19 13:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 13:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818576896001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818576896001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:29:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:29:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818576896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":137569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:29:09] local.INFO: GPS data processed {"connection_id":137569,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:29:09] local.INFO: Acknowledgment sent {"connection_id":137569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:29:29] local.INFO: TCP Data received {"connection_id":136625,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f79607768012d19cf0007201800002c007e27..."} 
[2026-07-19 13:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79607768012d19cf0007201800002c007e27..."} 
[2026-07-19 13:29:29] local.INFO: Processing buffer {"connection_id":136625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79607768012d19cf0007201800002c007e27..."} 
[2026-07-19 13:29:29] local.INFO: Packet analysis {"connection_id":136625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7960"} 
[2026-07-19 13:29:29] local.INFO: Extracted packet for processing {"connection_id":136625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7960"} 
[2026-07-19 13:29:29] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543808,"longitude_deg":75.6666112,"latitude_deg":11.9543808,"altitude":44,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-07-19 13:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818629632001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136479004327936,"note":"Value kept but may cause issues"} 
[2026-07-19 13:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730519040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784447793000,"timestamp_ms":1784447793000,"timestamp_seconds":1784447793,"priority":1,"record_length":96,"hex_timestamp":"0000019f79607768"} 
[2026-07-19 13:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:29:29] 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-07-19 13:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 13:29:29] 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-07-19 13:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":136625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":136625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":136625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818629632001,"66":12548,"106":206,"83":41984,"24":0,"16":7136479004327936,"45":1859705201730519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 13:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818629632001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:29:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 13:29:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136479004327936,"km_value":7136479004327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730519040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818629632001,"power":12548,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730519040}} 
[2026-07-19 13:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":136625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:29:29] local.INFO: GPS data processed {"connection_id":136625,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:29:29] local.INFO: Acknowledgment sent {"connection_id":136625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:29:31] local.INFO: TCP Data received {"connection_id":137570,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:29:31] local.INFO: Processing buffer {"connection_id":137570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:29:31] local.INFO: IMEI packet received {"connection_id":137570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":137570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:29:36] local.INFO: TCP Data received {"connection_id":137570,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:29:36] local.INFO: Processing buffer {"connection_id":137570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:29:36] local.INFO: IMEI packet received {"connection_id":137570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":137570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:29:37] local.INFO: TCP Data received {"connection_id":137570,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:29:37] local.INFO: Processing buffer {"connection_id":137570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:29:37] local.INFO: Packet analysis {"connection_id":137570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7961"} 
[2026-07-19 13:29:37] local.INFO: Extracted packet for processing {"connection_id":137570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7961"} 
[2026-07-19 13:29:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818576896001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:29: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-07-19 13:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784447867000,"timestamp_ms":1784447867000,"timestamp_seconds":1784447867,"priority":1,"record_length":96,"hex_timestamp":"0000019f79619878"} 
[2026-07-19 13:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 13:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:29: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-07-19 13:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818576896001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818576896001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:29:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:29:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818576896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":137570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:29:37] local.INFO: GPS data processed {"connection_id":137570,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:29:37] local.INFO: Acknowledgment sent {"connection_id":137570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:29:46] local.INFO: TCP Data received {"connection_id":138967,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:29:46] local.INFO: Processing buffer {"connection_id":138967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:29:46] local.INFO: IMEI packet received {"connection_id":138967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 13:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":138967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:29:56] local.INFO: TCP Data received {"connection_id":136482,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:29:56] local.INFO: Processing buffer {"connection_id":136482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:29:56] local.INFO: IMEI packet received {"connection_id":136482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":136482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:29:57] local.INFO: TCP Data received {"connection_id":136482,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:29:57] local.INFO: Processing buffer {"connection_id":136482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:29:57] local.INFO: IMEI packet received {"connection_id":136482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":136482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:30:01] local.INFO: TCP Data received {"connection_id":136482,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:30:01] local.INFO: Processing buffer {"connection_id":136482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:30:01] local.INFO: IMEI packet received {"connection_id":136482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":136482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:30:02] local.INFO: TCP Data received {"connection_id":136482,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7962c158012d19cc80072017600030015526..."} 
[2026-07-19 13:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7962c158012d19cc80072017600030015526..."} 
[2026-07-19 13:30:02] local.INFO: Processing buffer {"connection_id":136482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7962c158012d19cc80072017600030015526..."} 
[2026-07-19 13:30:02] local.INFO: Packet analysis {"connection_id":136482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7962"} 
[2026-07-19 13:30:02] local.INFO: Extracted packet for processing {"connection_id":136482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7962"} 
[2026-07-19 13:30:02] local.INFO: GPS Element Parsed {"raw_longitude":756665472,"raw_latitude":119543648,"longitude_deg":75.6665472,"latitude_deg":11.9543648,"altitude":48,"angle":341,"satellites":38,"speed":6,"hex_longitude":"2d19cc80","hex_latitude":"07201760","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818673152001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136526248968192,"note":"Value kept but may cause issues"} 
[2026-07-19 13:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777017856,"note":"Value kept but may cause issues"} 
[2026-07-19 13:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784447943000,"timestamp_ms":1784447943000,"timestamp_seconds":1784447943,"priority":1,"record_length":96,"hex_timestamp":"0000019f7962c158"} 
[2026-07-19 13:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-19 13:30:02] 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-07-19 13: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-07-19 13:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818673152001,"66":14233,"101":206,"83":41984,"24":6,"16":7136526248968192,"45":1859142251777017856},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 13:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818673152001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:30:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 13:30:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136526248968192,"km_value":7136526248968.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777017856,"description":"Unknown IO ID 45"} 
[2026-07-19 13:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818673152001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1859142251777017856}} 
[2026-07-19 13:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":136482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:30:02] local.INFO: GPS data processed {"connection_id":136482,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:30:02] local.INFO: Acknowledgment sent {"connection_id":136482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:30:07] local.INFO: TCP Data received {"connection_id":136482,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7962cd10012d19cbc0072019480030014628..."} 
[2026-07-19 13:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7962cd10012d19cbc0072019480030014628..."} 
[2026-07-19 13:30:07] local.INFO: Processing buffer {"connection_id":136482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7962cd10012d19cbc0072019480030014628..."} 
[2026-07-19 13:30:07] local.INFO: Packet analysis {"connection_id":136482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7962"} 
[2026-07-19 13:30:07] local.INFO: Extracted packet for processing {"connection_id":136482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7962"} 
[2026-07-19 13:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756665280,"raw_latitude":119544136,"longitude_deg":75.666528,"latitude_deg":11.9544136,"altitude":48,"angle":326,"satellites":40,"speed":8,"hex_longitude":"2d19cbc0","hex_latitude":"07201948","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818673408001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136552018771968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859001514288701440,"note":"Value kept but may cause issues"} 
[2026-07-19 13:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784447946000,"timestamp_ms":1784447946000,"timestamp_seconds":1784447946,"priority":1,"record_length":96,"hex_timestamp":"0000019f7962cd10"} 
[2026-07-19 13:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-19 13:30: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-07-19 13: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-07-19 13:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818673408001,"66":14233,"101":206,"83":41984,"24":8,"16":7136552018771968,"45":1859001514288701440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 13:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818673408001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:30:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 13:30:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136552018771968,"km_value":7136552018771.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859001514288701440,"description":"Unknown IO ID 45"} 
[2026-07-19 13:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818673408001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1859001514288701440}} 
[2026-07-19 13:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":136482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:30:07] local.INFO: GPS data processed {"connection_id":136482,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:30:07] local.INFO: Acknowledgment sent {"connection_id":136482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:30:09] local.INFO: TCP Data received {"connection_id":137570,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:30:09] local.INFO: Processing buffer {"connection_id":137570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:30:09] local.INFO: Packet analysis {"connection_id":137570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7961"} 
[2026-07-19 13:30:09] local.INFO: Extracted packet for processing {"connection_id":137570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7961"} 
[2026-07-19 13:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818576896001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13: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-07-19 13:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784447867000,"timestamp_ms":1784447867000,"timestamp_seconds":1784447867,"priority":1,"record_length":96,"hex_timestamp":"0000019f79619878"} 
[2026-07-19 13:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 13:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:30: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-07-19 13:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818576896001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818576896001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:30:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:30:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818576896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":137570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:30:09] local.INFO: GPS data processed {"connection_id":137570,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:30:09] local.INFO: Acknowledgment sent {"connection_id":137570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:30:26] local.INFO: TCP Data received {"connection_id":136626,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:30:26] local.INFO: Processing buffer {"connection_id":136626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:30:26] local.INFO: IMEI packet received {"connection_id":136626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 13:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":136626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:30:31] local.INFO: TCP Data received {"connection_id":138968,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:30:31] local.INFO: Processing buffer {"connection_id":138968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:30:31] local.INFO: IMEI packet received {"connection_id":138968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":138968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:30:37] local.INFO: TCP Data received {"connection_id":138968,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:30:37] local.INFO: Processing buffer {"connection_id":138968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:30:37] local.INFO: IMEI packet received {"connection_id":138968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":138968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:30:38] local.INFO: TCP Data received {"connection_id":138968,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:30:38] local.INFO: Processing buffer {"connection_id":138968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:30:38] local.INFO: Packet analysis {"connection_id":138968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7961"} 
[2026-07-19 13:30:38] local.INFO: Extracted packet for processing {"connection_id":138968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7961"} 
[2026-07-19 13:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818576896001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:30: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-07-19 13:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784447867000,"timestamp_ms":1784447867000,"timestamp_seconds":1784447867,"priority":1,"record_length":96,"hex_timestamp":"0000019f79619878"} 
[2026-07-19 13:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 13:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:30: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-07-19 13:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818576896001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818576896001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:30:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818576896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":138968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:30:38] local.INFO: GPS data processed {"connection_id":138968,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:30:38] local.INFO: Acknowledgment sent {"connection_id":138968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:30:48] local.INFO: TCP Data received {"connection_id":136483,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:30:48] local.INFO: Processing buffer {"connection_id":136483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:30:48] local.INFO: IMEI packet received {"connection_id":136483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":136483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:30:50] local.INFO: TCP Data received {"connection_id":136483,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:30:50] local.INFO: Processing buffer {"connection_id":136483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:30:50] local.INFO: IMEI packet received {"connection_id":136483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":136483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:30:51] local.INFO: TCP Data received {"connection_id":136483,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:30:51] local.INFO: Processing buffer {"connection_id":136483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:30:51] local.INFO: IMEI packet received {"connection_id":136483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":136483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:30:56] local.INFO: TCP Data received {"connection_id":136483,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:30:56] local.INFO: Processing buffer {"connection_id":136483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:30:56] local.INFO: IMEI packet received {"connection_id":136483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":136483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:30:57] local.INFO: TCP Data received {"connection_id":136483,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7962fbf0012d19c5c0072024c80031015329..."} 
[2026-07-19 13:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7962fbf0012d19c5c0072024c80031015329..."} 
[2026-07-19 13:30:57] local.INFO: Processing buffer {"connection_id":136483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7962fbf0012d19c5c0072024c80031015329..."} 
[2026-07-19 13:30:57] local.INFO: Packet analysis {"connection_id":136483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7962"} 
[2026-07-19 13:30:57] local.INFO: Extracted packet for processing {"connection_id":136483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7962"} 
[2026-07-19 13:30:57] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119547080,"longitude_deg":75.6663744,"latitude_deg":11.954708,"altitude":49,"angle":339,"satellites":41,"speed":14,"hex_longitude":"2d19c5c0","hex_latitude":"072024c8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818674176001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7136715227529216,"note":"Value kept but may cause issues"} 
[2026-07-19 13:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858790408056293376,"note":"Value kept but may cause issues"} 
[2026-07-19 13:30: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-07-19 13:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784447958000,"timestamp_ms":1784447958000,"timestamp_seconds":1784447958,"priority":1,"record_length":96,"hex_timestamp":"0000019f7962fbf0"} 
[2026-07-19 13:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-19 13:30:57] 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-07-19 13: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-07-19 13:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818674176001,"66":14265,"103":206,"83":41984,"24":14,"16":7136715227529216,"45":1858790408056293376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818674176001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:30:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:30:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7136715227529216,"km_value":7136715227529.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858790408056293376,"description":"Unknown IO ID 45"} 
[2026-07-19 13:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818674176001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1858790408056293376}} 
[2026-07-19 13:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":136483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:30:57] local.INFO: GPS data processed {"connection_id":136483,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:30:57] local.INFO: Acknowledgment sent {"connection_id":136483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:31:09] local.INFO: TCP Data received {"connection_id":138968,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:31:09] local.INFO: Processing buffer {"connection_id":138968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:31:09] local.INFO: Packet analysis {"connection_id":138968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7961"} 
[2026-07-19 13:31:09] local.INFO: Extracted packet for processing {"connection_id":138968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7961"} 
[2026-07-19 13:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818576896001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31: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-07-19 13:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784447867000,"timestamp_ms":1784447867000,"timestamp_seconds":1784447867,"priority":1,"record_length":96,"hex_timestamp":"0000019f79619878"} 
[2026-07-19 13:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 13:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:31: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-07-19 13:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818576896001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818576896001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818576896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":138968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:31:09] local.INFO: GPS data processed {"connection_id":138968,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:31:09] local.INFO: Acknowledgment sent {"connection_id":138968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:31:28] local.INFO: TCP Data received {"connection_id":136483,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f79641148012d19ac000720af700038012129..."} 
[2026-07-19 13:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79641148012d19ac000720af700038012129..."} 
[2026-07-19 13:31:28] local.INFO: Processing buffer {"connection_id":136483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79641148012d19ac000720af700038012129..."} 
[2026-07-19 13:31:28] local.INFO: Packet analysis {"connection_id":136483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7964"} 
[2026-07-19 13:31:28] local.INFO: Extracted packet for processing {"connection_id":136483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7964"} 
[2026-07-19 13:31:28] local.INFO: GPS Element Parsed {"raw_longitude":756657152,"raw_latitude":119582576,"longitude_deg":75.6657152,"latitude_deg":11.9582576,"altitude":56,"angle":289,"satellites":41,"speed":25,"hex_longitude":"2d19ac00","hex_latitude":"0720af70","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818694144001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7138639372877824,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853090539787411456,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31: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-07-19 13:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784448029000,"timestamp_ms":1784448029000,"timestamp_seconds":1784448029,"priority":1,"record_length":96,"hex_timestamp":"0000019f79641148"} 
[2026-07-19 13:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-19 13:31:28] 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-07-19 13: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-07-19 13:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818694144001,"66":14352,"103":206,"83":41984,"24":25,"16":7138639372877824,"45":1853090539787411456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818694144001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:31:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:31:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7138639372877824,"km_value":7138639372877.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853090539787411456,"description":"Unknown IO ID 45"} 
[2026-07-19 13:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818694144001,"power":14352,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1853090539787411456}} 
[2026-07-19 13:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":136483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:31:28] local.INFO: GPS data processed {"connection_id":136483,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:31:28] local.INFO: Acknowledgment sent {"connection_id":136483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:31:31] local.INFO: TCP Data received {"connection_id":137572,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:31:31] local.INFO: Processing buffer {"connection_id":137572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:31:31] local.INFO: IMEI packet received {"connection_id":137572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":137572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:31:36] local.INFO: TCP Data received {"connection_id":137572,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:31:36] local.INFO: Processing buffer {"connection_id":137572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:31:36] local.INFO: IMEI packet received {"connection_id":137572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":137572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:31:37] local.INFO: TCP Data received {"connection_id":137572,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:31:37] local.INFO: Processing buffer {"connection_id":137572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:31:37] local.INFO: Packet analysis {"connection_id":137572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7961"} 
[2026-07-19 13:31:37] local.INFO: Extracted packet for processing {"connection_id":137572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7961"} 
[2026-07-19 13:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818576896001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13: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-07-19 13:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784447867000,"timestamp_ms":1784447867000,"timestamp_seconds":1784447867,"priority":1,"record_length":96,"hex_timestamp":"0000019f79619878"} 
[2026-07-19 13:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 13:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818576896001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 13:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818576896001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:31:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818576896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":137572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:31:37] local.INFO: GPS data processed {"connection_id":137572,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:31:37] local.INFO: Acknowledgment sent {"connection_id":137572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:31:49] local.INFO: TCP Data received {"connection_id":136627,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:31:49] local.INFO: Processing buffer {"connection_id":136627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:31:49] local.INFO: IMEI packet received {"connection_id":136627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":136627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:31:52] local.INFO: TCP Data received {"connection_id":136627,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:31:52] local.INFO: Processing buffer {"connection_id":136627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:31:52] local.INFO: IMEI packet received {"connection_id":136627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":136627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:31:53] local.INFO: TCP Data received {"connection_id":136627,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:31:53] local.INFO: Processing buffer {"connection_id":136627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:31:53] local.INFO: IMEI packet received {"connection_id":136627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":136627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:31:54] local.INFO: TCP Data received {"connection_id":136627,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f79641d00012d19a4c00720b0e80039011328..."} 
[2026-07-19 13:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79641d00012d19a4c00720b0e80039011328..."} 
[2026-07-19 13:31:54] local.INFO: Processing buffer {"connection_id":136627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79641d00012d19a4c00720b0e80039011328..."} 
[2026-07-19 13:31:54] local.INFO: Packet analysis {"connection_id":136627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7964"} 
[2026-07-19 13:31:54] local.INFO: Extracted packet for processing {"connection_id":136627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7964"} 
[2026-07-19 13:31:54] local.INFO: GPS Element Parsed {"raw_longitude":756655296,"raw_latitude":119582952,"longitude_deg":75.6655296,"latitude_deg":11.9582952,"altitude":57,"angle":275,"satellites":40,"speed":25,"hex_longitude":"2d19a4c0","hex_latitude":"0720b0e8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 13:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818695424001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7138733862158336,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849853577555570688,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31: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-07-19 13:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784448032000,"timestamp_ms":1784448032000,"timestamp_seconds":1784448032,"priority":1,"record_length":96,"hex_timestamp":"0000019f79641d00"} 
[2026-07-19 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-07-19 13:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-19 13:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733140224,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31:54] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31:54] local.WARNING: Large IO value detected {"io_id":64,"raw_value":84752196662927503,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6424666442204971018,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31:54] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31:54] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503708546695168,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31:54] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2783445043,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31:54] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637963349817447,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31:54] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4828122687631327488,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 13:31:54] local.WARNING: Large IO value detected {"io_id":175,"raw_value":2147950742,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31:54] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31:54] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-5854671679393365970,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31:54] local.WARNING: Large IO value detected {"io_id":120,"raw_value":13229333183206400,"note":"Value kept but may cause issues"} 
[2026-07-19 13:31:54] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,92,159,253,45,128,170,53,40,10,66,249,64,169,245,1,240,227,121,32,4,113,205,17,206,175,248,41,239,55,2,25,7,48,20,120],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 13:31:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035543201079689216,"timestamp_seconds":4035543201079689.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 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-07-19 13:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":136627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":136627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":136627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818695424001,"66":14396,"103":206,"83":41984,"24":25,"16":7138733862158336,"45":1849853577555570688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818695424001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:31:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:31:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7138733862158336,"km_value":7138733862158.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849853577555570688,"description":"Unknown IO ID 45"} 
[2026-07-19 13:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818695424001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1849853577555570688}} 
[2026-07-19 13:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":136627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:31:54] local.INFO: GPS data processed {"connection_id":136627,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:31:54] local.INFO: Acknowledgment sent {"connection_id":136627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:32:09] local.INFO: TCP Data received {"connection_id":137572,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:32:09] local.INFO: Processing buffer {"connection_id":137572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:32:09] local.INFO: Packet analysis {"connection_id":137572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7961"} 
[2026-07-19 13:32:09] local.INFO: Extracted packet for processing {"connection_id":137572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7961"} 
[2026-07-19 13:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818576896001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:32: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-07-19 13:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784447867000,"timestamp_ms":1784447867000,"timestamp_seconds":1784447867,"priority":1,"record_length":96,"hex_timestamp":"0000019f79619878"} 
[2026-07-19 13:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 13:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818576896001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 13:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818576896001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:32:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818576896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":137572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:32:09] local.INFO: GPS data processed {"connection_id":137572,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:32:09] local.INFO: Acknowledgment sent {"connection_id":137572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:32:26] local.INFO: TCP Data received {"connection_id":136627,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f796447f8012d198b400720b3180039010628..."} 
[2026-07-19 13:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796447f8012d198b400720b3180039010628..."} 
[2026-07-19 13:32:26] local.INFO: Processing buffer {"connection_id":136627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796447f8012d198b400720b3180039010628..."} 
[2026-07-19 13:32:26] local.INFO: Packet analysis {"connection_id":136627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7964"} 
[2026-07-19 13:32:26] local.INFO: Extracted packet for processing {"connection_id":136627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7964"} 
[2026-07-19 13:32:26] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583512,"longitude_deg":75.6648768,"latitude_deg":11.9583512,"altitude":57,"angle":262,"satellites":40,"speed":12,"hex_longitude":"2d198b40","hex_latitude":"0720b318","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818696192001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7139043099803648,"note":"Value kept but may cause issues"} 
[2026-07-19 13:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847812883974514688,"note":"Value kept but may cause issues"} 
[2026-07-19 13: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-07-19 13:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784448043000,"timestamp_ms":1784448043000,"timestamp_seconds":1784448043,"priority":1,"record_length":96,"hex_timestamp":"0000019f796447f8"} 
[2026-07-19 13:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-19 13:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":136627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":136627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":136627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818696192001,"66":14265,"103":206,"83":41984,"24":12,"16":7139043099803648,"45":1847812883974514688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818696192001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:32:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:32:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7139043099803648,"km_value":7139043099803.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847812883974514688,"description":"Unknown IO ID 45"} 
[2026-07-19 13:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818696192001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1847812883974514688}} 
[2026-07-19 13:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":136627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:32:26] local.INFO: GPS data processed {"connection_id":136627,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:32:26] local.INFO: Acknowledgment sent {"connection_id":136627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:32:36] local.INFO: TCP Data received {"connection_id":138970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:32:36] local.INFO: Processing buffer {"connection_id":138970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:32:36] local.INFO: IMEI packet received {"connection_id":138970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":138970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:32:41] local.INFO: TCP Data received {"connection_id":138970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:32:41] local.INFO: Processing buffer {"connection_id":138970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:32:41] local.INFO: IMEI packet received {"connection_id":138970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":138970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:32:42] local.INFO: TCP Data received {"connection_id":138970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:32:42] local.INFO: Processing buffer {"connection_id":138970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:32:42] local.INFO: Packet analysis {"connection_id":138970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7961"} 
[2026-07-19 13:32:42] local.INFO: Extracted packet for processing {"connection_id":138970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7961"} 
[2026-07-19 13:32:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818576896001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784447867000,"timestamp_ms":1784447867000,"timestamp_seconds":1784447867,"priority":1,"record_length":96,"hex_timestamp":"0000019f79619878"} 
[2026-07-19 13:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 13:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":138970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":138970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":138970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818576896001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 13:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818576896001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:32:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:32:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818576896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":138970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:32:42] local.INFO: GPS data processed {"connection_id":138970,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:32:42] local.INFO: Acknowledgment sent {"connection_id":138970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:32:47] local.INFO: TCP Data received {"connection_id":138970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:32:47] local.INFO: Processing buffer {"connection_id":138970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79619878012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:32:47] local.INFO: Packet analysis {"connection_id":138970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7961"} 
[2026-07-19 13:32:47] local.INFO: Extracted packet for processing {"connection_id":138970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7961"} 
[2026-07-19 13:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818576896001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784447867000,"timestamp_ms":1784447867000,"timestamp_seconds":1784447867,"priority":1,"record_length":96,"hex_timestamp":"0000019f79619878"} 
[2026-07-19 13:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 13:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":138970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":138970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":138970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818576896001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 13:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818576896001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:32:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:32:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818576896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":138970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:32:47] local.INFO: GPS data processed {"connection_id":138970,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:32:47] local.INFO: Acknowledgment sent {"connection_id":138970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:32:51] local.INFO: TCP Data received {"connection_id":136484,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:32:51] local.INFO: Processing buffer {"connection_id":136484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:32:51] local.INFO: IMEI packet received {"connection_id":136484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":136484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:32:54] local.INFO: TCP Data received {"connection_id":136484,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:32:54] local.INFO: Processing buffer {"connection_id":136484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:32:54] local.INFO: IMEI packet received {"connection_id":136484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":136484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:32:55] local.INFO: TCP Data received {"connection_id":136484,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f796574c0012d18df400720f5d0003f013b29..."} 
[2026-07-19 13:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796574c0012d18df400720f5d0003f013b29..."} 
[2026-07-19 13:32:55] local.INFO: Processing buffer {"connection_id":136484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796574c0012d18df400720f5d0003f013b29..."} 
[2026-07-19 13:32:55] local.INFO: Packet analysis {"connection_id":136484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7965"} 
[2026-07-19 13:32:55] local.INFO: Extracted packet for processing {"connection_id":136484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7965"} 
[2026-07-19 13:32:55] local.INFO: GPS Element Parsed {"raw_longitude":756604736,"raw_latitude":119600592,"longitude_deg":75.6604736,"latitude_deg":11.9600592,"altitude":63,"angle":315,"satellites":41,"speed":35,"hex_longitude":"2d18df40","hex_latitude":"0720f5d0","is_valid_coordinates":true} 
[2026-07-19 13:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818717184001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7141486936195072,"note":"Value kept but may cause issues"} 
[2026-07-19 13:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795669644542203904,"note":"Value kept but may cause issues"} 
[2026-07-19 13:32: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-07-19 13:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784448120000,"timestamp_ms":1784448120000,"timestamp_seconds":1784448120,"priority":1,"record_length":96,"hex_timestamp":"0000019f796574c0"} 
[2026-07-19 13:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:32:55] 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-07-19 13:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-19 13:32: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-07-19 13:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":136484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":136484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":136484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818717184001,"66":14352,"103":206,"83":41984,"24":35,"16":7141486936195072,"45":1795669644542203904},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818717184001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:32:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:32:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7141486936195072,"km_value":7141486936195.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795669644542203904,"description":"Unknown IO ID 45"} 
[2026-07-19 13:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818717184001,"power":14352,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1795669644542203904}} 
[2026-07-19 13:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":136484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:32:56] local.INFO: GPS data processed {"connection_id":136484,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:32:56] local.INFO: Acknowledgment sent {"connection_id":136484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:33:26] local.INFO: TCP Data received {"connection_id":136484,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f79658460012d18d5c00720fff0003f014729..."} 
[2026-07-19 13:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79658460012d18d5c00720fff0003f014729..."} 
[2026-07-19 13:33:26] local.INFO: Processing buffer {"connection_id":136484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79658460012d18d5c00720fff0003f014729..."} 
[2026-07-19 13:33:26] local.INFO: Packet analysis {"connection_id":136484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7965"} 
[2026-07-19 13:33:26] local.INFO: Extracted packet for processing {"connection_id":136484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7965"} 
[2026-07-19 13:33:26] local.INFO: GPS Element Parsed {"raw_longitude":756602304,"raw_latitude":119603184,"longitude_deg":75.6602304,"latitude_deg":11.9603184,"altitude":63,"angle":327,"satellites":41,"speed":31,"hex_longitude":"2d18d5c0","hex_latitude":"0720fff0","is_valid_coordinates":true} 
[2026-07-19 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-07-19 13:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818718720001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7141658734886912,"note":"Value kept but may cause issues"} 
[2026-07-19 13:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792221576078675968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:33: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-07-19 13:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784448124000,"timestamp_ms":1784448124000,"timestamp_seconds":1784448124,"priority":1,"record_length":96,"hex_timestamp":"0000019f79658460"} 
[2026-07-19 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-07-19 13:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-19 13:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733140224,"note":"Value kept but may cause issues"} 
[2026-07-19 13:33:26] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 13:33:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 13:33:26] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503708573892608,"note":"Value kept but may cause issues"} 
[2026-07-19 13:33:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":443323234348171274,"note":"Value kept but may cause issues"} 
[2026-07-19 13:33:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-19 13:33:26] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3154116656,"note":"Value kept but may cause issues"} 
[2026-07-19 13:33:26] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638757918767207,"note":"Value kept but may cause issues"} 
[2026-07-19 13:33:26] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4900180281669255424,"note":"Value kept but may cause issues"} 
[2026-07-19 13:33:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 13:33:26] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":3221302553,"corrected_to":0} 
[2026-07-19 13:33:26] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-19 13:33:26] local.WARNING: Large IO value detected {"io_id":25,"raw_value":7548040812362203189,"note":"Value kept but may cause issues"} 
[2026-07-19 13:33:26] local.WARNING: Large IO value detected {"io_id":80,"raw_value":84751799378452650,"note":"Value kept but may cause issues"} 
[2026-07-19 13:33:26] local.WARNING: Large IO value detected {"io_id":104,"raw_value":14356409877537536,"note":"Value kept but may cause issues"} 
[2026-07-19 13:33:26] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,103,83,24,241,157,16,95,159,93,45,128,227,61,41,10,66,94,81,192,219,59,42,46,1,240,179,121,32,4,113,205,247,58,48,39,239,55,2,25,7,50,40,206,80,104],"length":628,"final_offset":758,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":247,"original":3221302553,"validated":0}]} 
[2026-07-19 13:33:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539974946648162304,"timestamp_seconds":4539974946648162.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 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-07-19 13:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":136484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":136484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":136484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818718720001,"66":14428,"103":206,"83":41984,"24":31,"16":7141658734886912,"45":1792221576078675968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 13:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818718720001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:33:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 13:33:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7141658734886912,"km_value":7141658734886.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792221576078675968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818718720001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1792221576078675968}} 
[2026-07-19 13:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":136484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:33:26] local.INFO: GPS data processed {"connection_id":136484,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:33:26] local.INFO: Acknowledgment sent {"connection_id":136484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:33:31] local.INFO: TCP Data received {"connection_id":136628,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:33:31] local.INFO: Processing buffer {"connection_id":136628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:33:31] local.INFO: IMEI packet received {"connection_id":136628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":136628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:33:36] local.INFO: TCP Data received {"connection_id":136628,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:33:36] local.INFO: Processing buffer {"connection_id":136628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:33:36] local.INFO: IMEI packet received {"connection_id":136628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":136628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:33:37] local.INFO: TCP Data received {"connection_id":136628,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:33:37] local.INFO: Processing buffer {"connection_id":136628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:33:37] local.INFO: Packet analysis {"connection_id":136628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:33:37] local.INFO: Extracted packet for processing {"connection_id":136628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818653952001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:33: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-07-19 13:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784448168000,"timestamp_ms":1784448168000,"timestamp_seconds":1784448168,"priority":1,"record_length":96,"hex_timestamp":"0000019f79663040"} 
[2026-07-19 13:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:33: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-07-19 13:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818653952001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818653952001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:33:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818653952001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":136628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:33:37] local.INFO: GPS data processed {"connection_id":136628,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:33:37] local.INFO: Acknowledgment sent {"connection_id":136628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:33:49] local.INFO: TCP Data received {"connection_id":136485,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:33:49] local.INFO: Processing buffer {"connection_id":136485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:33:49] local.INFO: IMEI packet received {"connection_id":136485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":136485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:33:52] local.INFO: TCP Data received {"connection_id":136485,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:33:52] local.INFO: Processing buffer {"connection_id":136485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:33:52] local.INFO: IMEI packet received {"connection_id":136485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":136485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:33:56] local.INFO: TCP Data received {"connection_id":136485,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:33:56] local.INFO: Processing buffer {"connection_id":136485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:33:56] local.INFO: IMEI packet received {"connection_id":136485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":136485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:33:57] local.INFO: TCP Data received {"connection_id":136485,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f79665b38012d18a7c0072173a80045012a24..."} 
[2026-07-19 13:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79665b38012d18a7c0072173a80045012a24..."} 
[2026-07-19 13:33:57] local.INFO: Processing buffer {"connection_id":136485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79665b38012d18a7c0072173a80045012a24..."} 
[2026-07-19 13:33:57] local.INFO: Packet analysis {"connection_id":136485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:33:57] local.INFO: Extracted packet for processing {"connection_id":136485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:33:57] local.INFO: GPS Element Parsed {"raw_longitude":756590528,"raw_latitude":119632808,"longitude_deg":75.6590528,"latitude_deg":11.9632808,"altitude":69,"angle":298,"satellites":36,"speed":31,"hex_longitude":"2d18a7c0","hex_latitude":"072173a8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818733312001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7143273642590208,"note":"Value kept but may cause issues"} 
[2026-07-19 13:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778007089762803712,"note":"Value kept but may cause issues"} 
[2026-07-19 13:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784448179000,"timestamp_ms":1784448179000,"timestamp_seconds":1784448179,"priority":1,"record_length":96,"hex_timestamp":"0000019f79665b38"} 
[2026-07-19 13:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:33:57] 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-07-19 13: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":104,"data_length":795,"current_offset":136} 
[2026-07-19 13:33:57] 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-07-19 13: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-07-19 13:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818733312001,"66":13961,"106":206,"83":41984,"24":31,"16":7143273642590208,"45":1778007089762803712},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 13:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818733312001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:33:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 13:33:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7143273642590208,"km_value":7143273642590.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778007089762803712,"description":"Unknown IO ID 45"} 
[2026-07-19 13:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818733312001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1778007089762803712}} 
[2026-07-19 13:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":136485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:33:57] local.INFO: GPS data processed {"connection_id":136485,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:33:57] local.INFO: Acknowledgment sent {"connection_id":136485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:34:09] local.INFO: TCP Data received {"connection_id":136628,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:34:09] local.INFO: Processing buffer {"connection_id":136628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:34:09] local.INFO: Packet analysis {"connection_id":136628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:34:09] local.INFO: Extracted packet for processing {"connection_id":136628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818653952001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:34: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-07-19 13:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784448168000,"timestamp_ms":1784448168000,"timestamp_seconds":1784448168,"priority":1,"record_length":96,"hex_timestamp":"0000019f79663040"} 
[2026-07-19 13:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13: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":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818653952001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818653952001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818653952001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":136628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:34:09] local.INFO: GPS data processed {"connection_id":136628,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:34:09] local.INFO: Acknowledgment sent {"connection_id":136628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:34:28] local.INFO: TCP Data received {"connection_id":136485,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f796666f0012d189e80072177000046011e23..."} 
[2026-07-19 13:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796666f0012d189e80072177000046011e23..."} 
[2026-07-19 13:34:28] local.INFO: Processing buffer {"connection_id":136485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796666f0012d189e80072177000046011e23..."} 
[2026-07-19 13:34:28] local.INFO: Packet analysis {"connection_id":136485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:34:28] local.INFO: Extracted packet for processing {"connection_id":136485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:34:28] local.INFO: GPS Element Parsed {"raw_longitude":756588160,"raw_latitude":119633664,"longitude_deg":75.658816,"latitude_deg":11.9633664,"altitude":70,"angle":286,"satellites":35,"speed":35,"hex_longitude":"2d189e80","hex_latitude":"07217700","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818733824001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7143393901674496,"note":"Value kept but may cause issues"} 
[2026-07-19 13:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776599714879481856,"note":"Value kept but may cause issues"} 
[2026-07-19 13:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784448182000,"timestamp_ms":1784448182000,"timestamp_seconds":1784448182,"priority":1,"record_length":96,"hex_timestamp":"0000019f796666f0"} 
[2026-07-19 13:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:34: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-07-19 13: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-19 13:34: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-07-19 13: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-07-19 13:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818733824001,"66":14070,"106":206,"83":41984,"24":35,"16":7143393901674496,"45":1776599714879481856},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 13:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818733824001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:34:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 13:34:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7143393901674496,"km_value":7143393901674.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776599714879481856,"description":"Unknown IO ID 45"} 
[2026-07-19 13:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818733824001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1776599714879481856}} 
[2026-07-19 13:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":136485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:34:28] local.INFO: GPS data processed {"connection_id":136485,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:34:28] local.INFO: Acknowledgment sent {"connection_id":136485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:34:31] local.INFO: TCP Data received {"connection_id":137573,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:34:31] local.INFO: Processing buffer {"connection_id":137573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:34:31] local.INFO: IMEI packet received {"connection_id":137573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":137573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:34:36] local.INFO: TCP Data received {"connection_id":137573,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:34:36] local.INFO: Processing buffer {"connection_id":137573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:34:36] local.INFO: IMEI packet received {"connection_id":137573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":137573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:34:38] local.INFO: TCP Data received {"connection_id":137573,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:34:38] local.INFO: Processing buffer {"connection_id":137573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:34:38] local.INFO: Packet analysis {"connection_id":137573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:34:38] local.INFO: Extracted packet for processing {"connection_id":137573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818653952001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:34: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-07-19 13:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784448168000,"timestamp_ms":1784448168000,"timestamp_seconds":1784448168,"priority":1,"record_length":96,"hex_timestamp":"0000019f79663040"} 
[2026-07-19 13:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818653952001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818653952001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:34:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:34:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818653952001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":137573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:34:38] local.INFO: GPS data processed {"connection_id":137573,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:34:38] local.INFO: Acknowledgment sent {"connection_id":137573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:34:52] local.INFO: TCP Data received {"connection_id":136486,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:34:52] local.INFO: Processing buffer {"connection_id":136486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:34:52] local.INFO: IMEI packet received {"connection_id":136486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":136486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:34:56] local.INFO: TCP Data received {"connection_id":136486,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:34:56] local.INFO: Processing buffer {"connection_id":136486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:34:56] local.INFO: IMEI packet received {"connection_id":136486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":136486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:34:57] local.INFO: TCP Data received {"connection_id":136486,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f79668a18012d187d40072182180046011223..."} 
[2026-07-19 13:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79668a18012d187d40072182180046011223..."} 
[2026-07-19 13:34:57] local.INFO: Processing buffer {"connection_id":136486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79668a18012d187d40072182180046011223..."} 
[2026-07-19 13:34:57] local.INFO: Packet analysis {"connection_id":136486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:34:57] local.INFO: Extracted packet for processing {"connection_id":136486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:34:57] local.INFO: GPS Element Parsed {"raw_longitude":756579648,"raw_latitude":119636504,"longitude_deg":75.6579648,"latitude_deg":11.9636504,"altitude":70,"angle":274,"satellites":35,"speed":37,"hex_longitude":"2d187d40","hex_latitude":"07218218","is_valid_coordinates":true} 
[2026-07-19 13:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818734592001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7143819103436800,"note":"Value kept but may cause issues"} 
[2026-07-19 13:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773996071345127424,"note":"Value kept but may cause issues"} 
[2026-07-19 13:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784448191000,"timestamp_ms":1784448191000,"timestamp_seconds":1784448191,"priority":1,"record_length":96,"hex_timestamp":"0000019f79668a18"} 
[2026-07-19 13:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:34:57] 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-07-19 13:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-19 13:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818734592001,"66":13928,"106":206,"83":41984,"24":37,"16":7143819103436800,"45":1773996071345127424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 13:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818734592001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:34:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 13:34:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7143819103436800,"km_value":7143819103436.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773996071345127424,"description":"Unknown IO ID 45"} 
[2026-07-19 13:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818734592001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1773996071345127424}} 
[2026-07-19 13:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":136486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:34:57] local.INFO: GPS data processed {"connection_id":136486,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:34:57] local.INFO: Acknowledgment sent {"connection_id":136486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:35:09] local.INFO: TCP Data received {"connection_id":137573,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:35:09] local.INFO: Processing buffer {"connection_id":137573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:35:09] local.INFO: Packet analysis {"connection_id":137573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:35:09] local.INFO: Extracted packet for processing {"connection_id":137573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818653952001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13: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-07-19 13:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784448168000,"timestamp_ms":1784448168000,"timestamp_seconds":1784448168,"priority":1,"record_length":96,"hex_timestamp":"0000019f79663040"} 
[2026-07-19 13:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13: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":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818653952001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818653952001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:35:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818653952001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":137573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:35:09] local.INFO: GPS data processed {"connection_id":137573,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:35:09] local.INFO: Acknowledgment sent {"connection_id":137573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:35:28] local.INFO: TCP Data received {"connection_id":136486,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7966a958012d186000072183380047012024..."} 
[2026-07-19 13:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7966a958012d186000072183380047012024..."} 
[2026-07-19 13:35:28] local.INFO: Processing buffer {"connection_id":136486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7966a958012d186000072183380047012024..."} 
[2026-07-19 13:35:28] local.INFO: Packet analysis {"connection_id":136486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:35:28] local.INFO: Extracted packet for processing {"connection_id":136486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756572160,"raw_latitude":119636792,"longitude_deg":75.657216,"latitude_deg":11.9636792,"altitude":71,"angle":288,"satellites":36,"speed":36,"hex_longitude":"2d186000","hex_latitude":"07218338","is_valid_coordinates":true} 
[2026-07-19 13:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818736896001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7144179880689664,"note":"Value kept but may cause issues"} 
[2026-07-19 13:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764637028370225152,"note":"Value kept but may cause issues"} 
[2026-07-19 13:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784448199000,"timestamp_ms":1784448199000,"timestamp_seconds":1784448199,"priority":1,"record_length":96,"hex_timestamp":"0000019f7966a958"} 
[2026-07-19 13:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-19 13:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818736896001,"66":14461,"105":206,"83":41984,"24":36,"16":7144179880689664,"45":1764637028370225152},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 13:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818736896001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:35:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 13:35:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7144179880689664,"km_value":7144179880689.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764637028370225152,"description":"Unknown IO ID 45"} 
[2026-07-19 13:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818736896001,"power":14461,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1764637028370225152}} 
[2026-07-19 13:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":136486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:35:28] local.INFO: GPS data processed {"connection_id":136486,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:35:28] local.INFO: Acknowledgment sent {"connection_id":136486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:35:31] local.INFO: TCP Data received {"connection_id":136629,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:35:31] local.INFO: Processing buffer {"connection_id":136629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:35:31] local.INFO: IMEI packet received {"connection_id":136629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":136629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:35:36] local.INFO: TCP Data received {"connection_id":136629,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:35:36] local.INFO: Processing buffer {"connection_id":136629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:35:36] local.INFO: IMEI packet received {"connection_id":136629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":136629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:35:37] local.INFO: TCP Data received {"connection_id":136629,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:35:37] local.INFO: Processing buffer {"connection_id":136629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:35:37] local.INFO: Packet analysis {"connection_id":136629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:35:37] local.INFO: Extracted packet for processing {"connection_id":136629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818653952001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:35: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-07-19 13:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784448168000,"timestamp_ms":1784448168000,"timestamp_seconds":1784448168,"priority":1,"record_length":96,"hex_timestamp":"0000019f79663040"} 
[2026-07-19 13:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:35: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-07-19 13:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:35:37] 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-07-19 13:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818653952001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818653952001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:35:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818653952001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":136629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:35:37] local.INFO: GPS data processed {"connection_id":136629,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:35:37] local.INFO: Acknowledgment sent {"connection_id":136629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:35:46] local.INFO: TCP Data received {"connection_id":138973,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138973,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:35:46] local.INFO: Processing buffer {"connection_id":138973,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:35:46] local.INFO: IMEI packet received {"connection_id":138973,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 13:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":138973,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:35:51] local.INFO: TCP Data received {"connection_id":137574,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:35:51] local.INFO: Processing buffer {"connection_id":137574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:35:51] local.INFO: IMEI packet received {"connection_id":137574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":137574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:35:56] local.INFO: TCP Data received {"connection_id":137574,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:35:56] local.INFO: Processing buffer {"connection_id":137574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:35:56] local.INFO: IMEI packet received {"connection_id":137574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":137574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:35:57] local.INFO: TCP Data received {"connection_id":137574,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7966d450012d183e40072192900048012323..."} 
[2026-07-19 13:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7966d450012d183e40072192900048012323..."} 
[2026-07-19 13:35:57] local.INFO: Processing buffer {"connection_id":137574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7966d450012d183e40072192900048012323..."} 
[2026-07-19 13:35:57] local.INFO: Packet analysis {"connection_id":137574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:35:57] local.INFO: Extracted packet for processing {"connection_id":137574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:35:57] local.INFO: GPS Element Parsed {"raw_longitude":756563520,"raw_latitude":119640720,"longitude_deg":75.656352,"latitude_deg":11.964072,"altitude":72,"angle":291,"satellites":35,"speed":33,"hex_longitude":"2d183e40","hex_latitude":"07219290","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818738944001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7144635147223040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756403885301512192,"note":"Value kept but may cause issues"} 
[2026-07-19 13:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784448210000,"timestamp_ms":1784448210000,"timestamp_seconds":1784448210,"priority":1,"record_length":96,"hex_timestamp":"0000019f7966d450"} 
[2026-07-19 13:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-19 13:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818738944001,"66":13352,"105":206,"83":41984,"24":33,"16":7144635147223040,"45":1756403885301512192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 13:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818738944001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:35:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 13:35:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7144635147223040,"km_value":7144635147223.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756403885301512192,"description":"Unknown IO ID 45"} 
[2026-07-19 13:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818738944001,"power":13352,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1756403885301512192}} 
[2026-07-19 13:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":137574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:35:57] local.INFO: GPS data processed {"connection_id":137574,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:35:57] local.INFO: Acknowledgment sent {"connection_id":137574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:36:09] local.INFO: TCP Data received {"connection_id":136629,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:36:09] local.INFO: Processing buffer {"connection_id":136629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:36:09] local.INFO: Packet analysis {"connection_id":136629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:36:09] local.INFO: Extracted packet for processing {"connection_id":136629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818653952001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:36: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-07-19 13:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784448168000,"timestamp_ms":1784448168000,"timestamp_seconds":1784448168,"priority":1,"record_length":96,"hex_timestamp":"0000019f79663040"} 
[2026-07-19 13:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:36: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-07-19 13:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818653952001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818653952001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:36:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818653952001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":136629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:36:09] local.INFO: GPS data processed {"connection_id":136629,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:36:09] local.INFO: Acknowledgment sent {"connection_id":136629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:36:26] local.INFO: TCP Data received {"connection_id":136630,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:36:26] local.INFO: Processing buffer {"connection_id":136630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:36:26] local.INFO: IMEI packet received {"connection_id":136630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 13:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":136630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:36:28] local.INFO: TCP Data received {"connection_id":137574,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7966f778012d18298007219bc00049013826..."} 
[2026-07-19 13:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7966f778012d18298007219bc00049013826..."} 
[2026-07-19 13:36:28] local.INFO: Processing buffer {"connection_id":137574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7966f778012d18298007219bc00049013826..."} 
[2026-07-19 13:36:28] local.INFO: Packet analysis {"connection_id":137574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:36:28] local.INFO: Extracted packet for processing {"connection_id":137574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:36:28] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643072,"longitude_deg":75.6558208,"latitude_deg":11.9643072,"altitude":73,"angle":312,"satellites":38,"speed":15,"hex_longitude":"2d182980","hex_latitude":"07219bc0","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818741760001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7144910025129984,"note":"Value kept but may cause issues"} 
[2026-07-19 13:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746904104838533120,"note":"Value kept but may cause issues"} 
[2026-07-19 13:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784448219000,"timestamp_ms":1784448219000,"timestamp_seconds":1784448219,"priority":1,"record_length":96,"hex_timestamp":"0000019f7966f778"} 
[2026-07-19 13:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:36: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-07-19 13: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-19 13:36: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-07-19 13: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-07-19 13:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818741760001,"66":13276,"105":206,"83":41984,"24":15,"16":7144910025129984,"45":1746904104838533120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 13:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818741760001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:36:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 13:36:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7144910025129984,"km_value":7144910025129.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746904104838533120,"description":"Unknown IO ID 45"} 
[2026-07-19 13:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818741760001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1746904104838533120}} 
[2026-07-19 13:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":137574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:36:28] local.INFO: GPS data processed {"connection_id":137574,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:36:28] local.INFO: Acknowledgment sent {"connection_id":137574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:36:31] local.INFO: TCP Data received {"connection_id":138974,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:36:31] local.INFO: Processing buffer {"connection_id":138974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:36:31] local.INFO: IMEI packet received {"connection_id":138974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":138974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:36:36] local.INFO: TCP Data received {"connection_id":138974,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:36:36] local.INFO: Processing buffer {"connection_id":138974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:36:36] local.INFO: IMEI packet received {"connection_id":138974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":138974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:36:38] local.INFO: TCP Data received {"connection_id":138974,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:36:38] local.INFO: Processing buffer {"connection_id":138974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:36:38] local.INFO: Packet analysis {"connection_id":138974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:36:38] local.INFO: Extracted packet for processing {"connection_id":138974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:36:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818653952001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:36: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-07-19 13:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784448168000,"timestamp_ms":1784448168000,"timestamp_seconds":1784448168,"priority":1,"record_length":96,"hex_timestamp":"0000019f79663040"} 
[2026-07-19 13:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818653952001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 13:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818653952001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:36:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:36:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818653952001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":138974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:36:38] local.INFO: GPS data processed {"connection_id":138974,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:36:38] local.INFO: Acknowledgment sent {"connection_id":138974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:36:56] local.INFO: TCP Data received {"connection_id":136631,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:36:56] local.INFO: Processing buffer {"connection_id":136631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:36:56] local.INFO: IMEI packet received {"connection_id":136631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":136631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:37:01] local.INFO: TCP Data received {"connection_id":136631,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:37:01] local.INFO: Processing buffer {"connection_id":136631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:37:01] local.INFO: IMEI packet received {"connection_id":136631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":136631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:37:02] local.INFO: TCP Data received {"connection_id":136631,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f796716b8012d181f400721a4e00049012c25..."} 
[2026-07-19 13:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796716b8012d181f400721a4e00049012c25..."} 
[2026-07-19 13:37:02] local.INFO: Processing buffer {"connection_id":136631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796716b8012d181f400721a4e00049012c25..."} 
[2026-07-19 13:37:02] local.INFO: Packet analysis {"connection_id":136631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7967"} 
[2026-07-19 13:37:02] local.INFO: Extracted packet for processing {"connection_id":136631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7967"} 
[2026-07-19 13:37:02] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119645408,"longitude_deg":75.6555584,"latitude_deg":11.9645408,"altitude":73,"angle":300,"satellites":37,"speed":8,"hex_longitude":"2d181f40","hex_latitude":"0721a4e0","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818744064001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7145077528854528,"note":"Value kept but may cause issues"} 
[2026-07-19 13:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499072389120,"note":"Value kept but may cause issues"} 
[2026-07-19 13:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784448227000,"timestamp_ms":1784448227000,"timestamp_seconds":1784448227,"priority":1,"record_length":96,"hex_timestamp":"0000019f796716b8"} 
[2026-07-19 13:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-19 13:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818744064001,"66":13167,"105":206,"83":41984,"24":8,"16":7145077528854528,"45":1741063499072389120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 13:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818744064001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:37:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 13:37:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7145077528854528,"km_value":7145077528854.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499072389120,"description":"Unknown IO ID 45"} 
[2026-07-19 13:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818744064001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1741063499072389120}} 
[2026-07-19 13:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":136631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:37:02] local.INFO: GPS data processed {"connection_id":136631,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:37:02] local.INFO: Acknowledgment sent {"connection_id":136631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:37:06] local.INFO: TCP Data received {"connection_id":136631,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f796739e0012d181bc00721a748004a014226..."} 
[2026-07-19 13:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796739e0012d181bc00721a748004a014226..."} 
[2026-07-19 13:37:06] local.INFO: Processing buffer {"connection_id":136631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796739e0012d181bc00721a748004a014226..."} 
[2026-07-19 13:37:06] local.INFO: Packet analysis {"connection_id":136631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7967"} 
[2026-07-19 13:37:06] local.INFO: Extracted packet for processing {"connection_id":136631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7967"} 
[2026-07-19 13:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119646024,"longitude_deg":75.6554688,"latitude_deg":11.9646024,"altitude":74,"angle":322,"satellites":38,"speed":5,"hex_longitude":"2d181bc0","hex_latitude":"0721a748","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818746112001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7145129068462080,"note":"Value kept but may cause issues"} 
[2026-07-19 13:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561702912,"note":"Value kept but may cause issues"} 
[2026-07-19 13:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784448236000,"timestamp_ms":1784448236000,"timestamp_seconds":1784448236,"priority":1,"record_length":96,"hex_timestamp":"0000019f796739e0"} 
[2026-07-19 13:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-19 13:37:06] 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-07-19 13: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-07-19 13:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818746112001,"66":13222,"105":206,"83":41984,"24":5,"16":7145129068462080,"45":1738178380561702912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 13:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818746112001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:37:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 13:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7145129068462080,"km_value":7145129068462.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561702912,"description":"Unknown IO ID 45"} 
[2026-07-19 13:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818746112001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1738178380561702912}} 
[2026-07-19 13:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":136631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:37:06] local.INFO: GPS data processed {"connection_id":136631,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:37:06] local.INFO: Acknowledgment sent {"connection_id":136631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:37:09] local.INFO: TCP Data received {"connection_id":138974,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:37:09] local.INFO: Processing buffer {"connection_id":138974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:37:09] local.INFO: Packet analysis {"connection_id":138974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:37:09] local.INFO: Extracted packet for processing {"connection_id":138974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818653952001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13: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-07-19 13:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784448168000,"timestamp_ms":1784448168000,"timestamp_seconds":1784448168,"priority":1,"record_length":96,"hex_timestamp":"0000019f79663040"} 
[2026-07-19 13:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818653952001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 13:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818653952001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:37:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:37:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818653952001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":138974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:37:09] local.INFO: GPS data processed {"connection_id":138974,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:37:09] local.INFO: Acknowledgment sent {"connection_id":138974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:37:37] local.INFO: TCP Data received {"connection_id":136487,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:37:37] local.INFO: Processing buffer {"connection_id":136487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:37:37] local.INFO: IMEI packet received {"connection_id":136487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":136487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:37:41] local.INFO: TCP Data received {"connection_id":136487,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:37:41] local.INFO: Processing buffer {"connection_id":136487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:37:41] local.INFO: IMEI packet received {"connection_id":136487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":136487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:37:42] local.INFO: TCP Data received {"connection_id":136487,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:37:42] local.INFO: Processing buffer {"connection_id":136487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:37:42] local.INFO: Packet analysis {"connection_id":136487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:37:42] local.INFO: Extracted packet for processing {"connection_id":136487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:37:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818653952001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784448168000,"timestamp_ms":1784448168000,"timestamp_seconds":1784448168,"priority":1,"record_length":96,"hex_timestamp":"0000019f79663040"} 
[2026-07-19 13:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818653952001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818653952001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:37:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:37:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818653952001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":136487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:37:42] local.INFO: GPS data processed {"connection_id":136487,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:37:42] local.INFO: Acknowledgment sent {"connection_id":136487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:37:47] local.INFO: TCP Data received {"connection_id":136487,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:37:47] local.INFO: Processing buffer {"connection_id":136487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79663040012d34c50006aa4dd8000800952b..."} 
[2026-07-19 13:37:47] local.INFO: Packet analysis {"connection_id":136487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:37:47] local.INFO: Extracted packet for processing {"connection_id":136487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7966"} 
[2026-07-19 13:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818653952001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784448168000,"timestamp_ms":1784448168000,"timestamp_seconds":1784448168,"priority":1,"record_length":96,"hex_timestamp":"0000019f79663040"} 
[2026-07-19 13:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818653952001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818653952001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:37:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818653952001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":136487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:37:47] local.INFO: GPS data processed {"connection_id":136487,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:37:47] local.INFO: Acknowledgment sent {"connection_id":136487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:37:51] local.INFO: TCP Data received {"connection_id":138975,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:37:51] local.INFO: Processing buffer {"connection_id":138975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:37:51] local.INFO: IMEI packet received {"connection_id":138975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":138975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:37:56] local.INFO: TCP Data received {"connection_id":138975,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:37:56] local.INFO: Processing buffer {"connection_id":138975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:37:56] local.INFO: IMEI packet received {"connection_id":138975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":138975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:37:57] local.INFO: TCP Data received {"connection_id":138975,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79674598012d181a800721a8f0004a011427..."} 
[2026-07-19 13:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79674598012d181a800721a8f0004a011427..."} 
[2026-07-19 13:37:57] local.INFO: Processing buffer {"connection_id":138975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79674598012d181a800721a8f0004a011427..."} 
[2026-07-19 13:37:57] local.INFO: Packet analysis {"connection_id":138975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7967"} 
[2026-07-19 13:37:57] local.INFO: Extracted packet for processing {"connection_id":138975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7967"} 
[2026-07-19 13:37:57] local.INFO: GPS Element Parsed {"raw_longitude":756554368,"raw_latitude":119646448,"longitude_deg":75.6554368,"latitude_deg":11.9646448,"altitude":74,"angle":276,"satellites":39,"speed":6,"hex_longitude":"2d181a80","hex_latitude":"0721a8f0","is_valid_coordinates":true} 
[2026-07-19 13:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818748416001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7145159133233152,"note":"Value kept but may cause issues"} 
[2026-07-19 13:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143373312,"note":"Value kept but may cause issues"} 
[2026-07-19 13:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784448239000,"timestamp_ms":1784448239000,"timestamp_seconds":1784448239,"priority":1,"record_length":96,"hex_timestamp":"0000019f79674598"} 
[2026-07-19 13:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:37:57] 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-07-19 13:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-19 13:37:57] 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-07-19 13:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":138975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":138975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":138975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818748416001,"66":13102,"105":206,"83":41984,"24":6,"16":7145159133233152,"45":1737193218143373312},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 13:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818748416001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:37:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 13:37:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7145159133233152,"km_value":7145159133233.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143373312,"description":"Unknown IO ID 45"} 
[2026-07-19 13:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818748416001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737193218143373312}} 
[2026-07-19 13:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":138975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:37:57] local.INFO: GPS data processed {"connection_id":138975,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:37:57] local.INFO: Acknowledgment sent {"connection_id":138975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:38:28] local.INFO: TCP Data received {"connection_id":138975,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79674980012d1819c00721a8c8004a00ee28..."} 
[2026-07-19 13:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79674980012d1819c00721a8c8004a00ee28..."} 
[2026-07-19 13:38:28] local.INFO: Processing buffer {"connection_id":138975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79674980012d1819c00721a8c8004a00ee28..."} 
[2026-07-19 13:38:28] local.INFO: Packet analysis {"connection_id":138975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7967"} 
[2026-07-19 13:38:28] local.INFO: Extracted packet for processing {"connection_id":138975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7967"} 
[2026-07-19 13:38:28] local.INFO: GPS Element Parsed {"raw_longitude":756554176,"raw_latitude":119646408,"longitude_deg":75.6554176,"latitude_deg":11.9646408,"altitude":74,"angle":238,"satellites":40,"speed":6,"hex_longitude":"2d1819c0","hex_latitude":"0721a8c8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818749184001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7145167723167744,"note":"Value kept but may cause issues"} 
[2026-07-19 13:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736841374422593536,"note":"Value kept but may cause issues"} 
[2026-07-19 13:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784448240000,"timestamp_ms":1784448240000,"timestamp_seconds":1784448240,"priority":1,"record_length":96,"hex_timestamp":"0000019f79674980"} 
[2026-07-19 13:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:38: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-07-19 13: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 13:38:28] 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-07-19 13: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-07-19 13:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":138975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":138975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":138975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818749184001,"66":12341,"105":206,"83":41984,"24":6,"16":7145167723167744,"45":1736841374422593536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 13:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818749184001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:38:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 13:38:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7145167723167744,"km_value":7145167723167.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736841374422593536,"description":"Unknown IO ID 45"} 
[2026-07-19 13:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818749184001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1736841374422593536}} 
[2026-07-19 13:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":138975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:38:28] local.INFO: GPS data processed {"connection_id":138975,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:38:28] local.INFO: Acknowledgment sent {"connection_id":138975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:38:31] local.INFO: TCP Data received {"connection_id":137576,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:38:31] local.INFO: Processing buffer {"connection_id":137576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:38:31] local.INFO: IMEI packet received {"connection_id":137576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":137576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:38:36] local.INFO: TCP Data received {"connection_id":137576,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:38:36] local.INFO: Processing buffer {"connection_id":137576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:38:36] local.INFO: IMEI packet received {"connection_id":137576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":137576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:38:39] local.INFO: TCP Data received {"connection_id":137576,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:38:39] local.INFO: Processing buffer {"connection_id":137576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:38:39] local.INFO: Packet analysis {"connection_id":137576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796a"} 
[2026-07-19 13:38:39] local.INFO: Extracted packet for processing {"connection_id":137576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796a"} 
[2026-07-19 13:38:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818731008001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:38: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-07-19 13:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784448469000,"timestamp_ms":1784448469000,"timestamp_seconds":1784448469,"priority":1,"record_length":96,"hex_timestamp":"0000019f796ac808"} 
[2026-07-19 13:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":137576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":137576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":137576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:38: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-07-19 13:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818731008001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818731008001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:38:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:38:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818731008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":137576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:38:39] local.INFO: GPS data processed {"connection_id":137576,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:38:39] local.INFO: Acknowledgment sent {"connection_id":137576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:38:50] local.INFO: TCP Data received {"connection_id":138977,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:38:50] local.INFO: Processing buffer {"connection_id":138977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:38:50] local.INFO: IMEI packet received {"connection_id":138977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":138977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:38:51] local.INFO: TCP Data received {"connection_id":138977,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:38:51] local.INFO: Processing buffer {"connection_id":138977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:38:51] local.INFO: IMEI packet received {"connection_id":138977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":138977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:38:56] local.INFO: TCP Data received {"connection_id":138977,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:38:56] local.INFO: Processing buffer {"connection_id":138977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:38:56] local.INFO: IMEI packet received {"connection_id":138977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":138977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:38:57] local.INFO: TCP Data received {"connection_id":138977,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79679b88012d1819400721a7c8004b00ee28..."} 
[2026-07-19 13:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79679b88012d1819400721a7c8004b00ee28..."} 
[2026-07-19 13:38:57] local.INFO: Processing buffer {"connection_id":138977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79679b88012d1819400721a7c8004b00ee28..."} 
[2026-07-19 13:38:57] local.INFO: Packet analysis {"connection_id":138977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7967"} 
[2026-07-19 13:38:57] local.INFO: Extracted packet for processing {"connection_id":138977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7967"} 
[2026-07-19 13:38:57] local.INFO: GPS Element Parsed {"raw_longitude":756554048,"raw_latitude":119646152,"longitude_deg":75.6554048,"latitude_deg":11.9646152,"altitude":75,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2d181940","hex_latitude":"0721a7c8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818749440001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7145184903036928,"note":"Value kept but may cause issues"} 
[2026-07-19 13:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268190050304,"note":"Value kept but may cause issues"} 
[2026-07-19 13:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784448261000,"timestamp_ms":1784448261000,"timestamp_seconds":1784448261,"priority":1,"record_length":96,"hex_timestamp":"0000019f79679b88"} 
[2026-07-19 13:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:38:57] 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-07-19 13: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 13:38:57] 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-07-19 13: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-07-19 13:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":138977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":138977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":138977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818749440001,"66":13102,"105":206,"83":41984,"24":0,"16":7145184903036928,"45":1736630268190050304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 13:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818749440001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:38:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 13:38:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7145184903036928,"km_value":7145184903036.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268190050304,"description":"Unknown IO ID 45"} 
[2026-07-19 13:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818749440001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736630268190050304}} 
[2026-07-19 13:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":138977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:38:57] local.INFO: GPS data processed {"connection_id":138977,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:38:57] local.INFO: Acknowledgment sent {"connection_id":138977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:39:11] local.INFO: TCP Data received {"connection_id":137576,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:39:11] local.INFO: Processing buffer {"connection_id":137576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:39:11] local.INFO: Packet analysis {"connection_id":137576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796a"} 
[2026-07-19 13:39:11] local.INFO: Extracted packet for processing {"connection_id":137576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796a"} 
[2026-07-19 13:39:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818731008001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:39: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-07-19 13:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784448469000,"timestamp_ms":1784448469000,"timestamp_seconds":1784448469,"priority":1,"record_length":96,"hex_timestamp":"0000019f796ac808"} 
[2026-07-19 13:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":137576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":137576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":137576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:39: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-07-19 13:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818731008001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818731008001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:39:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:39:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818731008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":137576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:39:11] local.INFO: GPS data processed {"connection_id":137576,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:39:11] local.INFO: Acknowledgment sent {"connection_id":137576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:39:28] local.INFO: TCP Data received {"connection_id":138977,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f796b21e0012d1819400721a7c8004b00ee29..."} 
[2026-07-19 13:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796b21e0012d1819400721a7c8004b00ee29..."} 
[2026-07-19 13:39:28] local.INFO: Processing buffer {"connection_id":138977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796b21e0012d1819400721a7c8004b00ee29..."} 
[2026-07-19 13:39:28] local.INFO: Packet analysis {"connection_id":138977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796b"} 
[2026-07-19 13:39:28] local.INFO: Extracted packet for processing {"connection_id":138977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796b"} 
[2026-07-19 13:39:28] local.INFO: GPS Element Parsed {"raw_longitude":756554048,"raw_latitude":119646152,"longitude_deg":75.6554048,"latitude_deg":11.9646152,"altitude":75,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2d181940","hex_latitude":"0721a7c8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818808576001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7145184903036928,"note":"Value kept but may cause issues"} 
[2026-07-19 13:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736489530701629440,"note":"Value kept but may cause issues"} 
[2026-07-19 13:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784448492000,"timestamp_ms":1784448492000,"timestamp_seconds":1784448492,"priority":1,"record_length":96,"hex_timestamp":"0000019f796b21e0"} 
[2026-07-19 13:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:39: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-07-19 13: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-19 13:39:28] 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-07-19 13: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-07-19 13:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":138977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":138977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":138977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818808576001,"66":14070,"105":206,"83":41984,"24":0,"16":7145184903036928,"45":1736489530701629440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 13:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818808576001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:39:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 13:39:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7145184903036928,"km_value":7145184903036.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736489530701629440,"description":"Unknown IO ID 45"} 
[2026-07-19 13:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818808576001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736489530701629440}} 
[2026-07-19 13:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":138977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:39:28] local.INFO: GPS data processed {"connection_id":138977,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:39:28] local.INFO: Acknowledgment sent {"connection_id":138977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:39:31] local.INFO: TCP Data received {"connection_id":136488,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:39:31] local.INFO: Processing buffer {"connection_id":136488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:39:31] local.INFO: IMEI packet received {"connection_id":136488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":136488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:39:36] local.INFO: TCP Data received {"connection_id":136488,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:39:36] local.INFO: Processing buffer {"connection_id":136488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:39:36] local.INFO: IMEI packet received {"connection_id":136488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":136488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:39:37] local.INFO: TCP Data received {"connection_id":136488,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:39:37] local.INFO: Processing buffer {"connection_id":136488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:39:37] local.INFO: Packet analysis {"connection_id":136488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796a"} 
[2026-07-19 13:39:37] local.INFO: Extracted packet for processing {"connection_id":136488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796a"} 
[2026-07-19 13:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818731008001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:39: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-07-19 13:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784448469000,"timestamp_ms":1784448469000,"timestamp_seconds":1784448469,"priority":1,"record_length":96,"hex_timestamp":"0000019f796ac808"} 
[2026-07-19 13:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818731008001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818731008001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818731008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":136488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:39:37] local.INFO: GPS data processed {"connection_id":136488,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:39:37] local.INFO: Acknowledgment sent {"connection_id":136488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:39:51] local.INFO: TCP Data received {"connection_id":137578,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:39:51] local.INFO: Processing buffer {"connection_id":137578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:39:51] local.INFO: IMEI packet received {"connection_id":137578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":137578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:39:56] local.INFO: TCP Data received {"connection_id":137578,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:39:56] local.INFO: Processing buffer {"connection_id":137578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:39:56] local.INFO: IMEI packet received {"connection_id":137578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":137578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:39:57] local.INFO: TCP Data received {"connection_id":137578,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f796b73e8012d1819400721a7c8004b00ee2a..."} 
[2026-07-19 13:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796b73e8012d1819400721a7c8004b00ee2a..."} 
[2026-07-19 13:39:57] local.INFO: Processing buffer {"connection_id":137578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796b73e8012d1819400721a7c8004b00ee2a..."} 
[2026-07-19 13:39:57] local.INFO: Packet analysis {"connection_id":137578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796b"} 
[2026-07-19 13:39:57] local.INFO: Extracted packet for processing {"connection_id":137578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796b"} 
[2026-07-19 13:39:57] local.INFO: GPS Element Parsed {"raw_longitude":756554048,"raw_latitude":119646152,"longitude_deg":75.6554048,"latitude_deg":11.9646152,"altitude":75,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2d181940","hex_latitude":"0721a7c8","is_valid_coordinates":true} 
[2026-07-19 13:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818813952001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7145184903036928,"note":"Value kept but may cause issues"} 
[2026-07-19 13:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736489530701629440,"note":"Value kept but may cause issues"} 
[2026-07-19 13:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784448513000,"timestamp_ms":1784448513000,"timestamp_seconds":1784448513,"priority":1,"record_length":96,"hex_timestamp":"0000019f796b73e8"} 
[2026-07-19 13:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:39: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-07-19 13:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-19 13:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818813952001,"66":14189,"105":206,"83":41984,"24":0,"16":7145184903036928,"45":1736489530701629440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 13:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818813952001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:39:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 13:39:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7145184903036928,"km_value":7145184903036.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736489530701629440,"description":"Unknown IO ID 45"} 
[2026-07-19 13:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818813952001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736489530701629440}} 
[2026-07-19 13:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":137578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:39:57] local.INFO: GPS data processed {"connection_id":137578,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:39:57] local.INFO: Acknowledgment sent {"connection_id":137578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:40:09] local.INFO: TCP Data received {"connection_id":136488,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:40:09] local.INFO: Processing buffer {"connection_id":136488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:40:09] local.INFO: Packet analysis {"connection_id":136488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796a"} 
[2026-07-19 13:40:09] local.INFO: Extracted packet for processing {"connection_id":136488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796a"} 
[2026-07-19 13:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818731008001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:40: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-07-19 13:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784448469000,"timestamp_ms":1784448469000,"timestamp_seconds":1784448469,"priority":1,"record_length":96,"hex_timestamp":"0000019f796ac808"} 
[2026-07-19 13:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:40:09] 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-07-19 13:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818731008001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818731008001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818731008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":136488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:40:09] local.INFO: GPS data processed {"connection_id":136488,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:40:09] local.INFO: Acknowledgment sent {"connection_id":136488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:40:28] local.INFO: TCP Data received {"connection_id":137578,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f796b9710012d1819c00721a758004f00ca2a..."} 
[2026-07-19 13:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796b9710012d1819c00721a758004f00ca2a..."} 
[2026-07-19 13:40:28] local.INFO: Processing buffer {"connection_id":137578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796b9710012d1819c00721a758004f00ca2a..."} 
[2026-07-19 13:40:28] local.INFO: Packet analysis {"connection_id":137578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796b"} 
[2026-07-19 13:40:28] local.INFO: Extracted packet for processing {"connection_id":137578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796b"} 
[2026-07-19 13:40:28] local.INFO: GPS Element Parsed {"raw_longitude":756554176,"raw_latitude":119646040,"longitude_deg":75.6554176,"latitude_deg":11.964604,"altitude":79,"angle":202,"satellites":42,"speed":5,"hex_longitude":"2d1819c0","hex_latitude":"0721a758","is_valid_coordinates":true} 
[2026-07-19 13:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818819328001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7145193492971520,"note":"Value kept but may cause issues"} 
[2026-07-19 13:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736489530701629440,"note":"Value kept but may cause issues"} 
[2026-07-19 13:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784448522000,"timestamp_ms":1784448522000,"timestamp_seconds":1784448522,"priority":1,"record_length":96,"hex_timestamp":"0000019f796b9710"} 
[2026-07-19 13:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:40: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-07-19 13:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 13:40:28] 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-07-19 13:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818819328001,"66":14243,"107":206,"83":41984,"24":5,"16":7145193492971520,"45":1736489530701629440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 13:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818819328001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:40:28] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 13:40:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7145193492971520,"km_value":7145193492971.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736489530701629440,"description":"Unknown IO ID 45"} 
[2026-07-19 13:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818819328001,"power":14243,"unknown_107":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1736489530701629440}} 
[2026-07-19 13:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":137578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:40:28] local.INFO: GPS data processed {"connection_id":137578,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:40:28] local.INFO: Acknowledgment sent {"connection_id":137578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:40:31] local.INFO: TCP Data received {"connection_id":136490,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:40:31] local.INFO: Processing buffer {"connection_id":136490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:40:31] local.INFO: IMEI packet received {"connection_id":136490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":136490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:40:36] local.INFO: TCP Data received {"connection_id":136490,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:40:36] local.INFO: Processing buffer {"connection_id":136490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:40:36] local.INFO: IMEI packet received {"connection_id":136490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":136490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:40:37] local.INFO: TCP Data received {"connection_id":136490,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:40:37] local.INFO: Processing buffer {"connection_id":136490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:40:37] local.INFO: Packet analysis {"connection_id":136490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796a"} 
[2026-07-19 13:40:37] local.INFO: Extracted packet for processing {"connection_id":136490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796a"} 
[2026-07-19 13:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818731008001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:40: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-07-19 13:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784448469000,"timestamp_ms":1784448469000,"timestamp_seconds":1784448469,"priority":1,"record_length":96,"hex_timestamp":"0000019f796ac808"} 
[2026-07-19 13:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818731008001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818731008001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:40:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818731008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":136490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:40:37] local.INFO: GPS data processed {"connection_id":136490,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:40:37] local.INFO: Acknowledgment sent {"connection_id":136490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:40:51] local.INFO: TCP Data received {"connection_id":136632,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:40:51] local.INFO: Processing buffer {"connection_id":136632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:40:51] local.INFO: IMEI packet received {"connection_id":136632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":136632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:40:54] local.INFO: TCP Data received {"connection_id":136632,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:40:54] local.INFO: Processing buffer {"connection_id":136632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:40:54] local.INFO: IMEI packet received {"connection_id":136632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":136632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:40:56] local.INFO: TCP Data received {"connection_id":136632,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:40:56] local.INFO: Processing buffer {"connection_id":136632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:40:56] local.INFO: IMEI packet received {"connection_id":136632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":136632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:40:57] local.INFO: TCP Data received {"connection_id":136632,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f796ca880012d1769c00720db78003c00dd29..."} 
[2026-07-19 13:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796ca880012d1769c00720db78003c00dd29..."} 
[2026-07-19 13:40:57] local.INFO: Processing buffer {"connection_id":136632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796ca880012d1769c00720db78003c00dd29..."} 
[2026-07-19 13:40:57] local.INFO: Packet analysis {"connection_id":136632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796c"} 
[2026-07-19 13:40:57] local.INFO: Extracted packet for processing {"connection_id":136632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796c"} 
[2026-07-19 13:40:57] local.INFO: GPS Element Parsed {"raw_longitude":756509120,"raw_latitude":119593848,"longitude_deg":75.650912,"latitude_deg":11.9593848,"altitude":60,"angle":221,"satellites":41,"speed":46,"hex_longitude":"2d1769c0","hex_latitude":"0720db78","is_valid_coordinates":true} 
[2026-07-19 13:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818837248001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7148552157396992,"note":"Value kept but may cause issues"} 
[2026-07-19 13:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1694338652927662080,"note":"Value kept but may cause issues"} 
[2026-07-19 13:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784448592000,"timestamp_ms":1784448592000,"timestamp_seconds":1784448592,"priority":1,"record_length":96,"hex_timestamp":"0000019f796ca880"} 
[2026-07-19 13:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:40:57] 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-07-19 13:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-19 13:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:40:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818837248001,"66":14265,"107":206,"83":41984,"24":46,"16":7148552157396992,"45":1694338652927662080},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 13:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818837248001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:40:57] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 13:40:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7148552157396992,"km_value":7148552157396.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1694338652927662080,"description":"Unknown IO ID 45"} 
[2026-07-19 13:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818837248001,"power":14265,"unknown_107":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1694338652927662080}} 
[2026-07-19 13:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":136632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:40:57] local.INFO: GPS data processed {"connection_id":136632,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:40:57] local.INFO: Acknowledgment sent {"connection_id":136632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:41:02] local.INFO: TCP Data received {"connection_id":136632,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f796cc7c0012d174f400720c200003700e427..."} 
[2026-07-19 13:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796cc7c0012d174f400720c200003700e427..."} 
[2026-07-19 13:41:02] local.INFO: Processing buffer {"connection_id":136632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796cc7c0012d174f400720c200003700e427..."} 
[2026-07-19 13:41:02] local.INFO: Packet analysis {"connection_id":136632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796c"} 
[2026-07-19 13:41:02] local.INFO: Extracted packet for processing {"connection_id":136632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796c"} 
[2026-07-19 13:41:02] local.INFO: GPS Element Parsed {"raw_longitude":756502336,"raw_latitude":119587328,"longitude_deg":75.6502336,"latitude_deg":11.9587328,"altitude":55,"angle":228,"satellites":39,"speed":48,"hex_longitude":"2d174f40","hex_latitude":"0720c200","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818839552001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7149003128963072,"note":"Value kept but may cause issues"} 
[2026-07-19 13:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1687090672275519488,"note":"Value kept but may cause issues"} 
[2026-07-19 13:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784448600000,"timestamp_ms":1784448600000,"timestamp_seconds":1784448600,"priority":1,"record_length":96,"hex_timestamp":"0000019f796cc7c0"} 
[2026-07-19 13:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:41: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-07-19 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 13:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818839552001,"66":14461,"107":206,"83":41984,"24":48,"16":7149003128963072,"45":1687090672275519488},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 13:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818839552001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:41:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 13:41:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7149003128963072,"km_value":7149003128963.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1687090672275519488,"description":"Unknown IO ID 45"} 
[2026-07-19 13:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818839552001,"power":14461,"unknown_107":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1687090672275519488}} 
[2026-07-19 13:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":136632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:41:02] local.INFO: GPS data processed {"connection_id":136632,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:41:02] local.INFO: Acknowledgment sent {"connection_id":136632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:41:09] local.INFO: TCP Data received {"connection_id":136490,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:41:09] local.INFO: Processing buffer {"connection_id":136490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:41:09] local.INFO: Packet analysis {"connection_id":136490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796a"} 
[2026-07-19 13:41:09] local.INFO: Extracted packet for processing {"connection_id":136490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796a"} 
[2026-07-19 13:41:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818731008001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:41: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-07-19 13:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784448469000,"timestamp_ms":1784448469000,"timestamp_seconds":1784448469,"priority":1,"record_length":96,"hex_timestamp":"0000019f796ac808"} 
[2026-07-19 13:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818731008001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818731008001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:41:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:41:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818731008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":136490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:41:09] local.INFO: GPS data processed {"connection_id":136490,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:41:09] local.INFO: Acknowledgment sent {"connection_id":136490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:41:32] local.INFO: TCP Data received {"connection_id":136632,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f796ce700012d1730400720a918003000e629..."} 
[2026-07-19 13:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796ce700012d1730400720a918003000e629..."} 
[2026-07-19 13:41:32] local.INFO: Processing buffer {"connection_id":136632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796ce700012d1730400720a918003000e629..."} 
[2026-07-19 13:41:32] local.INFO: Packet analysis {"connection_id":136632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796c"} 
[2026-07-19 13:41:32] local.INFO: Extracted packet for processing {"connection_id":136632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796c"} 
[2026-07-19 13:41:32] local.INFO: GPS Element Parsed {"raw_longitude":756494400,"raw_latitude":119580952,"longitude_deg":75.64944,"latitude_deg":11.9580952,"altitude":48,"angle":230,"satellites":41,"speed":49,"hex_longitude":"2d173040","hex_latitude":"0720a918","is_valid_coordinates":true} 
[2026-07-19 13:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818841600001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7149488460267520,"note":"Value kept but may cause issues"} 
[2026-07-19 13:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1679631585391017984,"note":"Value kept but may cause issues"} 
[2026-07-19 13:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784448608000,"timestamp_ms":1784448608000,"timestamp_seconds":1784448608,"priority":1,"record_length":96,"hex_timestamp":"0000019f796ce700"} 
[2026-07-19 13:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:41:32] 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-07-19 13:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-19 13:41:32] 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-07-19 13:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818841600001,"66":14396,"107":206,"83":41984,"24":49,"16":7149488460267520,"45":1679631585391017984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 13:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818841600001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:41:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 13:41:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7149488460267520,"km_value":7149488460267.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1679631585391017984,"description":"Unknown IO ID 45"} 
[2026-07-19 13:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818841600001,"power":14396,"unknown_107":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1679631585391017984}} 
[2026-07-19 13:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":136632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:41:32] local.INFO: GPS data processed {"connection_id":136632,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:41:32] local.INFO: Acknowledgment sent {"connection_id":136632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:41:36] local.INFO: TCP Data received {"connection_id":137580,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:41:36] local.INFO: Processing buffer {"connection_id":137580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:41:36] local.INFO: IMEI packet received {"connection_id":137580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":137580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:41:41] local.INFO: TCP Data received {"connection_id":137580,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:41:41] local.INFO: Processing buffer {"connection_id":137580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:41:41] local.INFO: IMEI packet received {"connection_id":137580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":137580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:41:42] local.INFO: TCP Data received {"connection_id":137580,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:41:42] local.INFO: Processing buffer {"connection_id":137580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:41:42] local.INFO: Packet analysis {"connection_id":137580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796a"} 
[2026-07-19 13:41:42] local.INFO: Extracted packet for processing {"connection_id":137580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796a"} 
[2026-07-19 13:41:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:41: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-07-19 13:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818731008001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784448469000,"timestamp_ms":1784448469000,"timestamp_seconds":1784448469,"priority":1,"record_length":96,"hex_timestamp":"0000019f796ac808"} 
[2026-07-19 13:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:41: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-07-19 13:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818731008001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818731008001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:41:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:41:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818731008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":137580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:41:42] local.INFO: GPS data processed {"connection_id":137580,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:41:42] local.INFO: Acknowledgment sent {"connection_id":137580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:41:51] local.INFO: TCP Data received {"connection_id":136491,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:41:51] local.INFO: Processing buffer {"connection_id":136491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:41:51] local.INFO: IMEI packet received {"connection_id":136491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":136491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:41:51] local.INFO: TCP Data received {"connection_id":137579,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137579,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:41:51] local.INFO: Processing buffer {"connection_id":137579,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:41:51] local.INFO: IMEI packet received {"connection_id":137579,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 13:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":137579,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:41:56] local.INFO: TCP Data received {"connection_id":136491,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:41:56] local.INFO: Processing buffer {"connection_id":136491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:41:56] local.INFO: IMEI packet received {"connection_id":136491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":136491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:41:57] local.INFO: TCP Data received {"connection_id":136491,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f796d0640012d17134007208e78002c00e128..."} 
[2026-07-19 13:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796d0640012d17134007208e78002c00e128..."} 
[2026-07-19 13:41:57] local.INFO: Processing buffer {"connection_id":136491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796d0640012d17134007208e78002c00e128..."} 
[2026-07-19 13:41:57] local.INFO: Packet analysis {"connection_id":136491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796d"} 
[2026-07-19 13:41:57] local.INFO: Extracted packet for processing {"connection_id":136491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796d"} 
[2026-07-19 13:41:57] local.INFO: GPS Element Parsed {"raw_longitude":756486976,"raw_latitude":119574136,"longitude_deg":75.6486976,"latitude_deg":11.9574136,"altitude":44,"angle":225,"satellites":40,"speed":48,"hex_longitude":"2d171340","hex_latitude":"07208e78","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818843648001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7149973791571968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1670905861111355392,"note":"Value kept but may cause issues"} 
[2026-07-19 13:41:57] 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-07-19 13:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784448616000,"timestamp_ms":1784448616000,"timestamp_seconds":1784448616,"priority":1,"record_length":96,"hex_timestamp":"0000019f796d0640"} 
[2026-07-19 13:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:41: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-07-19 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-19 13:41: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-07-19 13: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-07-19 13:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818843648001,"66":14363,"85":206,"83":41984,"24":48,"16":7149973791571968,"45":1670905861111355392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-07-19 13:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818843648001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:41:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-19 13:41:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7149973791571968,"km_value":7149973791571.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1670905861111355392,"description":"Unknown IO ID 45"} 
[2026-07-19 13:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818843648001,"power":14363,"unknown_85":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1670905861111355392}} 
[2026-07-19 13:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":136491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:41:57] local.INFO: GPS data processed {"connection_id":136491,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:41:57] local.INFO: Acknowledgment sent {"connection_id":136491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:42:13] local.INFO: TCP Data received {"connection_id":137580,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:42:13] local.INFO: Processing buffer {"connection_id":137580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:42:13] local.INFO: Packet analysis {"connection_id":137580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796a"} 
[2026-07-19 13:42:13] local.INFO: Extracted packet for processing {"connection_id":137580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796a"} 
[2026-07-19 13:42:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818731008001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13: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-07-19 13:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784448469000,"timestamp_ms":1784448469000,"timestamp_seconds":1784448469,"priority":1,"record_length":96,"hex_timestamp":"0000019f796ac808"} 
[2026-07-19 13:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":137580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":137580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":137580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818731008001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818731008001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:42:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:42:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818731008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":137580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:42:13] local.INFO: GPS data processed {"connection_id":137580,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:42:13] local.INFO: Acknowledgment sent {"connection_id":137580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:42:28] local.INFO: TCP Data received {"connection_id":136491,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f796d2580012d16fb0007207458002b00dc28..."} 
[2026-07-19 13:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796d2580012d16fb0007207458002b00dc28..."} 
[2026-07-19 13:42:28] local.INFO: Processing buffer {"connection_id":136491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796d2580012d16fb0007207458002b00dc28..."} 
[2026-07-19 13:42:28] local.INFO: Packet analysis {"connection_id":136491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796d"} 
[2026-07-19 13:42:28] local.INFO: Extracted packet for processing {"connection_id":136491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796d"} 
[2026-07-19 13:42:28] local.INFO: GPS Element Parsed {"raw_longitude":756480768,"raw_latitude":119567448,"longitude_deg":75.6480768,"latitude_deg":11.9567448,"altitude":43,"angle":220,"satellites":40,"speed":44,"hex_longitude":"2d16fb00","hex_latitude":"07207458","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818845696001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7150407583268864,"note":"Value kept but may cause issues"} 
[2026-07-19 13:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1662743086785001472,"note":"Value kept but may cause issues"} 
[2026-07-19 13:42:28] 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-07-19 13:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784448624000,"timestamp_ms":1784448624000,"timestamp_seconds":1784448624,"priority":1,"record_length":96,"hex_timestamp":"0000019f796d2580"} 
[2026-07-19 13:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:42: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-07-19 13: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-19 13:42:28] 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-07-19 13: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-07-19 13:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818845696001,"66":14374,"85":206,"83":41984,"24":44,"16":7150407583268864,"45":1662743086785001472},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-07-19 13:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818845696001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:42:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-19 13:42:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7150407583268864,"km_value":7150407583268.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1662743086785001472,"description":"Unknown IO ID 45"} 
[2026-07-19 13:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818845696001,"power":14374,"unknown_85":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1662743086785001472}} 
[2026-07-19 13:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":136491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:42:28] local.INFO: GPS data processed {"connection_id":136491,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:42:28] local.INFO: Acknowledgment sent {"connection_id":136491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:42:32] local.INFO: TCP Data received {"connection_id":136492,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:42:32] local.INFO: Processing buffer {"connection_id":136492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:42:32] local.INFO: IMEI packet received {"connection_id":136492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":136492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:42:32] local.INFO: TCP Data received {"connection_id":137581,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:42:32] local.INFO: Processing buffer {"connection_id":137581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:42:32] local.INFO: IMEI packet received {"connection_id":137581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 13:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":137581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:42:36] local.INFO: TCP Data received {"connection_id":136492,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:42:36] local.INFO: Processing buffer {"connection_id":136492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:42:36] local.INFO: IMEI packet received {"connection_id":136492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":136492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:42:37] local.INFO: TCP Data received {"connection_id":136492,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:42:37] local.INFO: Processing buffer {"connection_id":136492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:42:37] local.INFO: Packet analysis {"connection_id":136492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796a"} 
[2026-07-19 13:42:37] local.INFO: Extracted packet for processing {"connection_id":136492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796a"} 
[2026-07-19 13:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818731008001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:42: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-07-19 13:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784448469000,"timestamp_ms":1784448469000,"timestamp_seconds":1784448469,"priority":1,"record_length":96,"hex_timestamp":"0000019f796ac808"} 
[2026-07-19 13:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818731008001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 13:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818731008001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818731008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":136492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:42:37] local.INFO: GPS data processed {"connection_id":136492,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:42:37] local.INFO: Acknowledgment sent {"connection_id":136492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:42:51] local.INFO: TCP Data received {"connection_id":138978,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:42:51] local.INFO: Processing buffer {"connection_id":138978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:42:51] local.INFO: IMEI packet received {"connection_id":138978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":138978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:42:58] local.INFO: TCP Data received {"connection_id":138978,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:42:58] local.INFO: Processing buffer {"connection_id":138978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:42:58] local.INFO: IMEI packet received {"connection_id":138978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":138978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:43:06] local.INFO: TCP Data received {"connection_id":138978,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:43:06] local.INFO: Processing buffer {"connection_id":138978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:43:06] local.INFO: IMEI packet received {"connection_id":138978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":138978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:43:07] local.INFO: TCP Data received {"connection_id":138978,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f796e9898012d15d3c0071fd8480022010328..."} 
[2026-07-19 13:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796e9898012d15d3c0071fd8480022010328..."} 
[2026-07-19 13:43:07] local.INFO: Processing buffer {"connection_id":138978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796e9898012d15d3c0071fd8480022010328..."} 
[2026-07-19 13:43:07] local.INFO: Packet analysis {"connection_id":138978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796e"} 
[2026-07-19 13:43:07] local.INFO: Extracted packet for processing {"connection_id":138978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796e"} 
[2026-07-19 13:43:07] local.INFO: GPS Element Parsed {"raw_longitude":756405184,"raw_latitude":119527496,"longitude_deg":75.6405184,"latitude_deg":11.9527496,"altitude":34,"angle":259,"satellites":40,"speed":42,"hex_longitude":"2d15d3c0","hex_latitude":"071fd848","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818869504001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7154620946186240,"note":"Value kept but may cause issues"} 
[2026-07-19 13:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1582944930875930624,"note":"Value kept but may cause issues"} 
[2026-07-19 13:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784448719000,"timestamp_ms":1784448719000,"timestamp_seconds":1784448719,"priority":1,"record_length":96,"hex_timestamp":"0000019f796e9898"} 
[2026-07-19 13:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-19 13:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":138978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":138978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":138978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818869504001,"66":14396,"87":206,"83":41984,"24":42,"16":7154620946186240,"45":1582944930875930624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-07-19 13:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818869504001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:43:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-19 13:43:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7154620946186240,"km_value":7154620946186.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1582944930875930624,"description":"Unknown IO ID 45"} 
[2026-07-19 13:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818869504001,"power":14396,"unknown_87":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1582944930875930624}} 
[2026-07-19 13:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":138978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:43:07] local.INFO: GPS data processed {"connection_id":138978,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:43:07] local.INFO: Acknowledgment sent {"connection_id":138978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:43:08] local.INFO: TCP Data received {"connection_id":138978,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f796ebbc0012d15b040071fd098002300ff28..."} 
[2026-07-19 13:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796ebbc0012d15b040071fd098002300ff28..."} 
[2026-07-19 13:43:08] local.INFO: Processing buffer {"connection_id":138978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796ebbc0012d15b040071fd098002300ff28..."} 
[2026-07-19 13:43:08] local.INFO: Packet analysis {"connection_id":138978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796e"} 
[2026-07-19 13:43:08] local.INFO: Extracted packet for processing {"connection_id":138978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796e"} 
[2026-07-19 13:43:08] local.INFO: GPS Element Parsed {"raw_longitude":756396096,"raw_latitude":119525528,"longitude_deg":75.6396096,"latitude_deg":11.9525528,"altitude":35,"angle":255,"satellites":40,"speed":38,"hex_longitude":"2d15b040","hex_latitude":"071fd098","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818872064001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7155063327817728,"note":"Value kept but may cause issues"} 
[2026-07-19 13:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1572811831714007040,"note":"Value kept but may cause issues"} 
[2026-07-19 13:43:08] 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-07-19 13:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784448728000,"timestamp_ms":1784448728000,"timestamp_seconds":1784448728,"priority":1,"record_length":96,"hex_timestamp":"0000019f796ebbc0"} 
[2026-07-19 13:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-19 13:43:08] 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-07-19 13: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-07-19 13:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":138978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":138978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":138978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818872064001,"66":13993,"87":206,"83":41984,"24":38,"16":7155063327817728,"45":1572811831714007040},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-07-19 13:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818872064001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:43:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-19 13:43:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7155063327817728,"km_value":7155063327817.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1572811831714007040,"description":"Unknown IO ID 45"} 
[2026-07-19 13:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818872064001,"power":13993,"unknown_87":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1572811831714007040}} 
[2026-07-19 13:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":138978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:43:08] local.INFO: GPS data processed {"connection_id":138978,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:43:08] local.INFO: Acknowledgment sent {"connection_id":138978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:43:10] local.INFO: TCP Data received {"connection_id":136492,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:43:10] local.INFO: Processing buffer {"connection_id":136492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796ac808012d34c50006aa4dd8000800952e..."} 
[2026-07-19 13:43:10] local.INFO: Packet analysis {"connection_id":136492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796a"} 
[2026-07-19 13:43:10] local.INFO: Extracted packet for processing {"connection_id":136492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796a"} 
[2026-07-19 13:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818731008001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:43: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-07-19 13:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784448469000,"timestamp_ms":1784448469000,"timestamp_seconds":1784448469,"priority":1,"record_length":96,"hex_timestamp":"0000019f796ac808"} 
[2026-07-19 13:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 13:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818731008001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 13:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818731008001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:43:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:43:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818731008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":136492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:43:10] local.INFO: GPS data processed {"connection_id":136492,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:43:10] local.INFO: Acknowledgment sent {"connection_id":136492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:43:31] local.INFO: TCP Data received {"connection_id":137582,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:43:31] local.INFO: Processing buffer {"connection_id":137582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:43:31] local.INFO: IMEI packet received {"connection_id":137582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":137582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:43:36] local.INFO: TCP Data received {"connection_id":137582,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:43:36] local.INFO: Processing buffer {"connection_id":137582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:43:36] local.INFO: IMEI packet received {"connection_id":137582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":137582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:43:37] local.INFO: TCP Data received {"connection_id":137582,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:43:37] local.INFO: Processing buffer {"connection_id":137582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:43:37] local.INFO: Packet analysis {"connection_id":137582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:43:37] local.INFO: Extracted packet for processing {"connection_id":137582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818808064001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:43: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-07-19 13:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784448770000,"timestamp_ms":1784448770000,"timestamp_seconds":1784448770,"priority":1,"record_length":96,"hex_timestamp":"0000019f796f5fd0"} 
[2026-07-19 13:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:43: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-07-19 13:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818808064001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818808064001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:43:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818808064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":137582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:43:37] local.INFO: GPS data processed {"connection_id":137582,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:43:37] local.INFO: Acknowledgment sent {"connection_id":137582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:43:51] local.INFO: TCP Data received {"connection_id":137583,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:43:51] local.INFO: Processing buffer {"connection_id":137583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:43:51] local.INFO: IMEI packet received {"connection_id":137583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":137583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:43:56] local.INFO: TCP Data received {"connection_id":137583,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:43:56] local.INFO: Processing buffer {"connection_id":137583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:43:56] local.INFO: IMEI packet received {"connection_id":137583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":137583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:43:57] local.INFO: TCP Data received {"connection_id":137583,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f796edee8012d158cc0071fc7a0002501002a..."} 
[2026-07-19 13:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796edee8012d158cc0071fc7a0002501002a..."} 
[2026-07-19 13:43:57] local.INFO: Processing buffer {"connection_id":137583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796edee8012d158cc0071fc7a0002501002a..."} 
[2026-07-19 13:43:57] local.INFO: Packet analysis {"connection_id":137583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796e"} 
[2026-07-19 13:43:57] local.INFO: Extracted packet for processing {"connection_id":137583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796e"} 
[2026-07-19 13:43:57] local.INFO: GPS Element Parsed {"raw_longitude":756387008,"raw_latitude":119523232,"longitude_deg":75.6387008,"latitude_deg":11.9523232,"altitude":37,"angle":256,"satellites":42,"speed":43,"hex_longitude":"2d158cc0","hex_latitude":"071fc7a0","is_valid_coordinates":true} 
[2026-07-19 13:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818874368001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7155505709449216,"note":"Value kept but may cause issues"} 
[2026-07-19 13:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1562819470040274944,"note":"Value kept but may cause issues"} 
[2026-07-19 13:43:57] 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-07-19 13:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784448737000,"timestamp_ms":1784448737000,"timestamp_seconds":1784448737,"priority":1,"record_length":96,"hex_timestamp":"0000019f796edee8"} 
[2026-07-19 13:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:43: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-07-19 13:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-19 13:43: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-07-19 13:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818874368001,"66":14070,"87":206,"83":41984,"24":43,"16":7155505709449216,"45":1562819470040274944},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-07-19 13:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818874368001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:43:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-19 13:43:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7155505709449216,"km_value":7155505709449.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1562819470040274944,"description":"Unknown IO ID 45"} 
[2026-07-19 13:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818874368001,"power":14070,"unknown_87":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1562819470040274944}} 
[2026-07-19 13:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":137583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:43:57] local.INFO: GPS data processed {"connection_id":137583,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:43:57] local.INFO: Acknowledgment sent {"connection_id":137583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:44:09] local.INFO: TCP Data received {"connection_id":137582,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:44:09] local.INFO: Processing buffer {"connection_id":137582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:44:09] local.INFO: Packet analysis {"connection_id":137582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:44:09] local.INFO: Extracted packet for processing {"connection_id":137582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818808064001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13: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-07-19 13:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784448770000,"timestamp_ms":1784448770000,"timestamp_seconds":1784448770,"priority":1,"record_length":96,"hex_timestamp":"0000019f796f5fd0"} 
[2026-07-19 13:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:44: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-07-19 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:44:09] 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-07-19 13:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818808064001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818808064001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:44:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818808064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":137582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:44:09] local.INFO: GPS data processed {"connection_id":137582,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:44:09] local.INFO: Acknowledgment sent {"connection_id":137582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:44:28] local.INFO: TCP Data received {"connection_id":137583,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f796ff440012d148140071f5e08002d00e62b..."} 
[2026-07-19 13:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796ff440012d148140071f5e08002d00e62b..."} 
[2026-07-19 13:44:28] local.INFO: Processing buffer {"connection_id":137583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796ff440012d148140071f5e08002d00e62b..."} 
[2026-07-19 13:44:28] local.INFO: Packet analysis {"connection_id":137583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:44:28] local.INFO: Extracted packet for processing {"connection_id":137583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:44:28] local.INFO: GPS Element Parsed {"raw_longitude":756318528,"raw_latitude":119496200,"longitude_deg":75.6318528,"latitude_deg":11.94962,"altitude":45,"angle":230,"satellites":43,"speed":47,"hex_longitude":"2d148140","hex_latitude":"071f5e08","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818892800001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7159134956814336,"note":"Value kept but may cause issues"} 
[2026-07-19 13:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1485976801392232448,"note":"Value kept but may cause issues"} 
[2026-07-19 13:44:28] 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-07-19 13:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784448808000,"timestamp_ms":1784448808000,"timestamp_seconds":1784448808,"priority":1,"record_length":96,"hex_timestamp":"0000019f796ff440"} 
[2026-07-19 13:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:44: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-07-19 13: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-19 13:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6970502953,"note":"Value kept but may cause issues"} 
[2026-07-19 13:44:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 13:44:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 13:44:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2415996181,"note":"Value kept but may cause issues"} 
[2026-07-19 13:44:28] local.WARNING: Large IO value detected {"io_id":109,"raw_value":2650800128,"note":"Value kept but may cause issues"} 
[2026-07-19 13:44:28] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503708829220864,"note":"Value kept but may cause issues"} 
[2026-07-19 13:44:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2985820204,"note":"Value kept but may cause issues"} 
[2026-07-19 13:44:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1712062670,"corrected_to":0} 
[2026-07-19 13:44:28] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2147950524,"note":"Value kept but may cause issues"} 
[2026-07-19 13:44:28] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758148966,"note":"Value kept but may cause issues"} 
[2026-07-19 13:44:28] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84747314358853573,"note":"Value kept but may cause issues"} 
[2026-07-19 13:44:28] local.WARNING: Large IO value detected {"io_id":224,"raw_value":11823070662633984,"note":"Value kept but may cause issues"} 
[2026-07-19 13:44:28] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,11,83,24,241,157,16,110,159,177,45,64,132,53,41,10,66,138,145,52,40,109,111,1,240,137,227,121,31,4,113,205,36,128,42,239,54,12,2,25,7,206,32,224],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1712062670,"validated":0}]} 
[2026-07-19 13:44:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3531083967722618880,"timestamp_seconds":3531083967722619.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 13:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818892800001,"66":14407,"11":206,"83":41984,"24":47,"16":7159134956814336,"45":1485976801392232448},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-07-19 13:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818892800001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:44:28] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-19 13:44:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7159134956814336,"km_value":7159134956814.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1485976801392232448,"description":"Unknown IO ID 45"} 
[2026-07-19 13:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818892800001,"power":14407,"unknown_11":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1485976801392232448}} 
[2026-07-19 13:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":137583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:44:28] local.INFO: GPS data processed {"connection_id":137583,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:44:28] local.INFO: Acknowledgment sent {"connection_id":137583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:44:31] local.INFO: TCP Data received {"connection_id":136634,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:44:31] local.INFO: Processing buffer {"connection_id":136634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:44:31] local.INFO: IMEI packet received {"connection_id":136634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":136634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:44:36] local.INFO: TCP Data received {"connection_id":136634,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:44:36] local.INFO: Processing buffer {"connection_id":136634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:44:36] local.INFO: IMEI packet received {"connection_id":136634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":136634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:44:37] local.INFO: TCP Data received {"connection_id":136634,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:44:37] local.INFO: Processing buffer {"connection_id":136634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:44:37] local.INFO: Packet analysis {"connection_id":136634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:44:37] local.INFO: Extracted packet for processing {"connection_id":136634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818808064001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:44: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-07-19 13:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784448770000,"timestamp_ms":1784448770000,"timestamp_seconds":1784448770,"priority":1,"record_length":96,"hex_timestamp":"0000019f796f5fd0"} 
[2026-07-19 13:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:44: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-07-19 13: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-07-19 13:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818808064001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818808064001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:44:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818808064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":136634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:44:37] local.INFO: GPS data processed {"connection_id":136634,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:44:37] local.INFO: Acknowledgment sent {"connection_id":136634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:44:56] local.INFO: TCP Data received {"connection_id":136494,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:44:56] local.INFO: Processing buffer {"connection_id":136494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:44:56] local.INFO: IMEI packet received {"connection_id":136494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":136494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:44:58] local.INFO: TCP Data received {"connection_id":136494,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:44:58] local.INFO: Processing buffer {"connection_id":136494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:44:58] local.INFO: IMEI packet received {"connection_id":136494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":136494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:45:01] local.INFO: TCP Data received {"connection_id":136494,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:45:01] local.INFO: Processing buffer {"connection_id":136494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:45:01] local.INFO: IMEI packet received {"connection_id":136494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":136494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:45:06] local.INFO: TCP Data received {"connection_id":136494,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:45:06] local.INFO: Processing buffer {"connection_id":136494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:45:06] local.INFO: IMEI packet received {"connection_id":136494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":136494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:45:07] local.INFO: TCP Data received {"connection_id":136494,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79700bb0012d146a00071f4e80002a00f32a..."} 
[2026-07-19 13:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79700bb0012d146a00071f4e80002a00f32a..."} 
[2026-07-19 13:45:07] local.INFO: Processing buffer {"connection_id":136494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79700bb0012d146a00071f4e80002a00f32a..."} 
[2026-07-19 13:45:07] local.INFO: Packet analysis {"connection_id":136494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7970"} 
[2026-07-19 13:45:07] local.INFO: Extracted packet for processing {"connection_id":136494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7970"} 
[2026-07-19 13:45:07] local.INFO: GPS Element Parsed {"raw_longitude":756312576,"raw_latitude":119492224,"longitude_deg":75.6312576,"latitude_deg":11.9492224,"altitude":42,"angle":243,"satellites":42,"speed":47,"hex_longitude":"2d146a00","hex_latitude":"071f4e80","is_valid_coordinates":true} 
[2026-07-19 13:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818894848001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7159478554198016,"note":"Value kept but may cause issues"} 
[2026-07-19 13:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1477532552089438208,"note":"Value kept but may cause issues"} 
[2026-07-19 13:45:07] 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-07-19 13:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784448814000,"timestamp_ms":1784448814000,"timestamp_seconds":1784448814,"priority":1,"record_length":96,"hex_timestamp":"0000019f79700bb0"} 
[2026-07-19 13:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-19 13:45:07] 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-07-19 13:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818894848001,"66":14428,"11":206,"83":41984,"24":47,"16":7159478554198016,"45":1477532552089438208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-07-19 13:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818894848001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:45:07] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-19 13:45:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7159478554198016,"km_value":7159478554198.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1477532552089438208,"description":"Unknown IO ID 45"} 
[2026-07-19 13:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818894848001,"power":14428,"unknown_11":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1477532552089438208}} 
[2026-07-19 13:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":136494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:45:07] local.INFO: GPS data processed {"connection_id":136494,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:45:07] local.INFO: Acknowledgment sent {"connection_id":136494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:45:09] local.INFO: TCP Data received {"connection_id":136634,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:45:09] local.INFO: Processing buffer {"connection_id":136634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:45:09] local.INFO: Packet analysis {"connection_id":136634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:45:09] local.INFO: Extracted packet for processing {"connection_id":136634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818808064001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:45: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-07-19 13:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784448770000,"timestamp_ms":1784448770000,"timestamp_seconds":1784448770,"priority":1,"record_length":96,"hex_timestamp":"0000019f796f5fd0"} 
[2026-07-19 13:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:45: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-07-19 13:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:45:09] 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-07-19 13:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818808064001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818808064001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:45:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818808064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":136634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:45:09] local.INFO: GPS data processed {"connection_id":136634,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:45:09] local.INFO: Acknowledgment sent {"connection_id":136634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:45:32] local.INFO: TCP Data received {"connection_id":136635,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:45:32] local.INFO: Processing buffer {"connection_id":136635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:45:32] local.INFO: IMEI packet received {"connection_id":136635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":136635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:45:36] local.INFO: TCP Data received {"connection_id":136635,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:45:36] local.INFO: Processing buffer {"connection_id":136635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:45:36] local.INFO: IMEI packet received {"connection_id":136635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":136635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:45:37] local.INFO: TCP Data received {"connection_id":136635,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:45:38] local.INFO: Processing buffer {"connection_id":136635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:45:38] local.INFO: Packet analysis {"connection_id":136635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:45:38] local.INFO: Extracted packet for processing {"connection_id":136635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818808064001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:45: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-07-19 13:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784448770000,"timestamp_ms":1784448770000,"timestamp_seconds":1784448770,"priority":1,"record_length":96,"hex_timestamp":"0000019f796f5fd0"} 
[2026-07-19 13:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818808064001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818808064001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:45:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818808064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":136635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:45:38] local.INFO: GPS data processed {"connection_id":136635,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:45:38] local.INFO: Acknowledgment sent {"connection_id":136635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:45:42] local.INFO: TCP Data received {"connection_id":136635,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:45:42] local.INFO: Processing buffer {"connection_id":136635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:45:42] local.INFO: Packet analysis {"connection_id":136635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:45:42] local.INFO: Extracted packet for processing {"connection_id":136635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:45:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818808064001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784448770000,"timestamp_ms":1784448770000,"timestamp_seconds":1784448770,"priority":1,"record_length":96,"hex_timestamp":"0000019f796f5fd0"} 
[2026-07-19 13:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818808064001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818808064001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:45:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:45:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818808064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":136635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:45:42] local.INFO: GPS data processed {"connection_id":136635,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:45:42] local.INFO: Acknowledgment sent {"connection_id":136635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:45:51] local.INFO: TCP Data received {"connection_id":137584,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:45:51] local.INFO: Processing buffer {"connection_id":137584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:45:51] local.INFO: IMEI packet received {"connection_id":137584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":137584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:45:56] local.INFO: TCP Data received {"connection_id":137584,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:45:56] local.INFO: Processing buffer {"connection_id":137584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:45:56] local.INFO: IMEI packet received {"connection_id":137584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":137584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:45:57] local.INFO: TCP Data received {"connection_id":137584,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79711550012d137fc0071ef420002d00bd2a..."} 
[2026-07-19 13:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79711550012d137fc0071ef420002d00bd2a..."} 
[2026-07-19 13:45:57] local.INFO: Processing buffer {"connection_id":137584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79711550012d137fc0071ef420002d00bd2a..."} 
[2026-07-19 13:45:57] local.INFO: Packet analysis {"connection_id":137584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7971"} 
[2026-07-19 13:45:57] local.INFO: Extracted packet for processing {"connection_id":137584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7971"} 
[2026-07-19 13:45:57] local.INFO: GPS Element Parsed {"raw_longitude":756252608,"raw_latitude":119469088,"longitude_deg":75.6252608,"latitude_deg":11.9469088,"altitude":45,"angle":189,"satellites":42,"speed":13,"hex_longitude":"2d137fc0","hex_latitude":"071ef420","is_valid_coordinates":true} 
[2026-07-19 13:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818913536001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7162553750781952,"note":"Value kept but may cause issues"} 
[2026-07-19 13:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1405123114323763200,"note":"Value kept but may cause issues"} 
[2026-07-19 13:45:57] 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-07-19 13:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784448882000,"timestamp_ms":1784448882000,"timestamp_seconds":1784448882,"priority":1,"record_length":96,"hex_timestamp":"0000019f79711550"} 
[2026-07-19 13:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:45: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-07-19 13:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-19 13:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818913536001,"66":13559,"185":206,"83":41984,"24":13,"16":7162553750781952,"45":1405123114323763200},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-07-19 13:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818913536001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:45:57] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-19 13:45:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7162553750781952,"km_value":7162553750781.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1405123114323763200,"description":"Unknown IO ID 45"} 
[2026-07-19 13:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818913536001,"power":13559,"unknown_185":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1405123114323763200}} 
[2026-07-19 13:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":137584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:45:57] local.INFO: GPS data processed {"connection_id":137584,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:45:57] local.INFO: Acknowledgment sent {"connection_id":137584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:46:14] local.INFO: TCP Data received {"connection_id":136635,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:46:14] local.INFO: Processing buffer {"connection_id":136635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:46:14] local.INFO: Packet analysis {"connection_id":136635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:46:14] local.INFO: Extracted packet for processing {"connection_id":136635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:46:14] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818808064001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:46: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-07-19 13:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784448770000,"timestamp_ms":1784448770000,"timestamp_seconds":1784448770,"priority":1,"record_length":96,"hex_timestamp":"0000019f796f5fd0"} 
[2026-07-19 13:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:46: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-07-19 13:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":136635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":136635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":136635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818808064001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818808064001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:46:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:46:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818808064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":136635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:46:14] local.INFO: GPS data processed {"connection_id":136635,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:46:14] local.INFO: Acknowledgment sent {"connection_id":136635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:46:28] local.INFO: TCP Data received {"connection_id":137584,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79711938012d137fc0071ef2b0002d00ab29..."} 
[2026-07-19 13:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79711938012d137fc0071ef2b0002d00ab29..."} 
[2026-07-19 13:46:28] local.INFO: Processing buffer {"connection_id":137584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79711938012d137fc0071ef2b0002d00ab29..."} 
[2026-07-19 13:46:28] local.INFO: Packet analysis {"connection_id":137584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7971"} 
[2026-07-19 13:46:28] local.INFO: Extracted packet for processing {"connection_id":137584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7971"} 
[2026-07-19 13:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756252608,"raw_latitude":119468720,"longitude_deg":75.6252608,"latitude_deg":11.946872,"altitude":45,"angle":171,"satellites":41,"speed":15,"hex_longitude":"2d137fc0","hex_latitude":"071ef2b0","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818913792001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7162570930651136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1405052745579503616,"note":"Value kept but may cause issues"} 
[2026-07-19 13:46:28] 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-07-19 13:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784448883000,"timestamp_ms":1784448883000,"timestamp_seconds":1784448883,"priority":1,"record_length":96,"hex_timestamp":"0000019f79711938"} 
[2026-07-19 13:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:46: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-07-19 13: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-19 13:46: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-07-19 13: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-07-19 13:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818913792001,"66":13559,"185":206,"83":41984,"24":15,"16":7162570930651136,"45":1405052745579503616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-07-19 13:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818913792001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:46:28] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-19 13:46:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7162570930651136,"km_value":7162570930651.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1405052745579503616,"description":"Unknown IO ID 45"} 
[2026-07-19 13:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818913792001,"power":13559,"unknown_185":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1405052745579503616}} 
[2026-07-19 13:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":137584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:46:28] local.INFO: GPS data processed {"connection_id":137584,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:46:28] local.INFO: Acknowledgment sent {"connection_id":137584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:46:31] local.INFO: TCP Data received {"connection_id":136496,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:46:31] local.INFO: Processing buffer {"connection_id":136496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:46:31] local.INFO: IMEI packet received {"connection_id":136496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":136496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:46:36] local.INFO: TCP Data received {"connection_id":136496,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:46:36] local.INFO: Processing buffer {"connection_id":136496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:46:36] local.INFO: IMEI packet received {"connection_id":136496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":136496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:46:37] local.INFO: TCP Data received {"connection_id":136496,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:46:37] local.INFO: Processing buffer {"connection_id":136496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:46:37] local.INFO: Packet analysis {"connection_id":136496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:46:37] local.INFO: Extracted packet for processing {"connection_id":136496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818808064001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:46: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-07-19 13:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784448770000,"timestamp_ms":1784448770000,"timestamp_seconds":1784448770,"priority":1,"record_length":96,"hex_timestamp":"0000019f796f5fd0"} 
[2026-07-19 13:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:46: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-07-19 13:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818808064001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818808064001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:46:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818808064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":136496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:46:37] local.INFO: GPS data processed {"connection_id":136496,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:46:37] local.INFO: Acknowledgment sent {"connection_id":136496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:46:51] local.INFO: TCP Data received {"connection_id":137585,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:46:51] local.INFO: Processing buffer {"connection_id":137585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:46:51] local.INFO: IMEI packet received {"connection_id":137585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":137585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:46:56] local.INFO: TCP Data received {"connection_id":137585,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:46:56] local.INFO: Processing buffer {"connection_id":137585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:46:56] local.INFO: IMEI packet received {"connection_id":137585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":137585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:46:57] local.INFO: TCP Data received {"connection_id":137585,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79714c00012d138a40071ed070002400a32b..."} 
[2026-07-19 13:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79714c00012d138a40071ed070002400a32b..."} 
[2026-07-19 13:46:57] local.INFO: Processing buffer {"connection_id":137585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79714c00012d138a40071ed070002400a32b..."} 
[2026-07-19 13:46:57] local.INFO: Packet analysis {"connection_id":137585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7971"} 
[2026-07-19 13:46:57] local.INFO: Extracted packet for processing {"connection_id":137585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7971"} 
[2026-07-19 13:46:57] local.INFO: GPS Element Parsed {"raw_longitude":756255296,"raw_latitude":119459952,"longitude_deg":75.6255296,"latitude_deg":11.9459952,"altitude":36,"angle":163,"satellites":43,"speed":31,"hex_longitude":"2d138a40","hex_latitude":"071ed070","is_valid_coordinates":true} 
[2026-07-19 13:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818914048001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7163013312282624,"note":"Value kept but may cause issues"} 
[2026-07-19 13:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1405052745579409408,"note":"Value kept but may cause issues"} 
[2026-07-19 13:46:57] 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-07-19 13:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784448896000,"timestamp_ms":1784448896000,"timestamp_seconds":1784448896,"priority":1,"record_length":96,"hex_timestamp":"0000019f79714c00"} 
[2026-07-19 13:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:46: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-07-19 13:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-19 13:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818914048001,"66":14461,"185":206,"83":41984,"24":31,"16":7163013312282624,"45":1405052745579409408},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-07-19 13:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818914048001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:46:57] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-19 13:46:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7163013312282624,"km_value":7163013312282.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1405052745579409408,"description":"Unknown IO ID 45"} 
[2026-07-19 13:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818914048001,"power":14461,"unknown_185":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1405052745579409408}} 
[2026-07-19 13:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":137585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:46:57] local.INFO: GPS data processed {"connection_id":137585,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:46:57] local.INFO: Acknowledgment sent {"connection_id":137585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:47:09] local.INFO: TCP Data received {"connection_id":136496,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:47:09] local.INFO: Processing buffer {"connection_id":136496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:47:09] local.INFO: Packet analysis {"connection_id":136496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:47:09] local.INFO: Extracted packet for processing {"connection_id":136496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818808064001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13: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-07-19 13:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784448770000,"timestamp_ms":1784448770000,"timestamp_seconds":1784448770,"priority":1,"record_length":96,"hex_timestamp":"0000019f796f5fd0"} 
[2026-07-19 13:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:47: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-07-19 13:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818808064001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818808064001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:47:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818808064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":136496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:47:09] local.INFO: GPS data processed {"connection_id":136496,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:47:09] local.INFO: Acknowledgment sent {"connection_id":136496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:47:28] local.INFO: TCP Data received {"connection_id":137585,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79717ec8012d139640071eae10002100a12b..."} 
[2026-07-19 13:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79717ec8012d139640071eae10002100a12b..."} 
[2026-07-19 13:47:28] local.INFO: Processing buffer {"connection_id":137585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79717ec8012d139640071eae10002100a12b..."} 
[2026-07-19 13:47:28] local.INFO: Packet analysis {"connection_id":137585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7971"} 
[2026-07-19 13:47:28] local.INFO: Extracted packet for processing {"connection_id":137585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7971"} 
[2026-07-19 13:47:28] local.INFO: GPS Element Parsed {"raw_longitude":756258368,"raw_latitude":119451152,"longitude_deg":75.6258368,"latitude_deg":11.9451152,"altitude":33,"angle":161,"satellites":43,"speed":26,"hex_longitude":"2d139640","hex_latitude":"071eae10","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818917376001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7163468578816000,"note":"Value kept but may cause issues"} 
[2026-07-19 13:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1408008232832626688,"note":"Value kept but may cause issues"} 
[2026-07-19 13:47:28] 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-07-19 13:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784448909000,"timestamp_ms":1784448909000,"timestamp_seconds":1784448909,"priority":1,"record_length":96,"hex_timestamp":"0000019f79717ec8"} 
[2026-07-19 13:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:47: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-07-19 13: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-19 13:47:28] 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-07-19 13: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-07-19 13:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818917376001,"66":14450,"185":206,"83":41984,"24":26,"16":7163468578816000,"45":1408008232832626688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-07-19 13:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818917376001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:47:28] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-19 13:47:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7163468578816000,"km_value":7163468578816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1408008232832626688,"description":"Unknown IO ID 45"} 
[2026-07-19 13:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818917376001,"power":14450,"unknown_185":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1408008232832626688}} 
[2026-07-19 13:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":137585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:47:28] local.INFO: GPS data processed {"connection_id":137585,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:47:28] local.INFO: Acknowledgment sent {"connection_id":137585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:47:31] local.INFO: TCP Data received {"connection_id":136636,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:47:31] local.INFO: Processing buffer {"connection_id":136636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:47:31] local.INFO: IMEI packet received {"connection_id":136636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":136636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:47:36] local.INFO: TCP Data received {"connection_id":136636,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:47:36] local.INFO: Processing buffer {"connection_id":136636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:47:36] local.INFO: IMEI packet received {"connection_id":136636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":136636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:47:37] local.INFO: TCP Data received {"connection_id":136636,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:47:37] local.INFO: Processing buffer {"connection_id":136636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:47:37] local.INFO: Packet analysis {"connection_id":136636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:47:37] local.INFO: Extracted packet for processing {"connection_id":136636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:47:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818808064001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13: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-07-19 13:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784448770000,"timestamp_ms":1784448770000,"timestamp_seconds":1784448770,"priority":1,"record_length":96,"hex_timestamp":"0000019f796f5fd0"} 
[2026-07-19 13:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:47: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-07-19 13:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:47:37] 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-07-19 13:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818808064001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818808064001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:47:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:47:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818808064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":136636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:47:37] local.INFO: GPS data processed {"connection_id":136636,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:47:37] local.INFO: Acknowledgment sent {"connection_id":136636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:47:52] local.INFO: TCP Data received {"connection_id":138980,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:47:52] local.INFO: Processing buffer {"connection_id":138980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:47:52] local.INFO: IMEI packet received {"connection_id":138980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 13:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":138980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:47:52] local.INFO: TCP Data received {"connection_id":136637,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:47:52] local.INFO: Processing buffer {"connection_id":136637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:47:52] local.INFO: IMEI packet received {"connection_id":136637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":136637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:47:56] local.INFO: TCP Data received {"connection_id":136637,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:47:56] local.INFO: Processing buffer {"connection_id":136637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:47:56] local.INFO: IMEI packet received {"connection_id":136637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":136637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:47:57] local.INFO: TCP Data received {"connection_id":136637,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7971ada8012d13a280071e8c90001e009c2b..."} 
[2026-07-19 13:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7971ada8012d13a280071e8c90001e009c2b..."} 
[2026-07-19 13:47:57] local.INFO: Processing buffer {"connection_id":136637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7971ada8012d13a280071e8c90001e009c2b..."} 
[2026-07-19 13:47:57] local.INFO: Packet analysis {"connection_id":136637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7971"} 
[2026-07-19 13:47:57] local.INFO: Extracted packet for processing {"connection_id":136637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7971"} 
[2026-07-19 13:47:57] local.INFO: GPS Element Parsed {"raw_longitude":756261504,"raw_latitude":119442576,"longitude_deg":75.6261504,"latitude_deg":11.9442576,"altitude":30,"angle":156,"satellites":43,"speed":30,"hex_longitude":"2d13a280","hex_latitude":"071e8c90","is_valid_coordinates":true} 
[2026-07-19 13:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818920704001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7163910960447488,"note":"Value kept but may cause issues"} 
[2026-07-19 13:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1411385932550901760,"note":"Value kept but may cause issues"} 
[2026-07-19 13:47:57] 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-07-19 13:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784448921000,"timestamp_ms":1784448921000,"timestamp_seconds":1784448921,"priority":1,"record_length":96,"hex_timestamp":"0000019f7971ada8"} 
[2026-07-19 13:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:47: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-07-19 13:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-19 13:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818920704001,"66":14461,"185":206,"83":41984,"24":30,"16":7163910960447488,"45":1411385932550901760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-07-19 13:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818920704001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:47:57] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-19 13:47:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7163910960447488,"km_value":7163910960447.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1411385932550901760,"description":"Unknown IO ID 45"} 
[2026-07-19 13:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818920704001,"power":14461,"unknown_185":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1411385932550901760}} 
[2026-07-19 13:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":136637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:47:57] local.INFO: GPS data processed {"connection_id":136637,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:47:57] local.INFO: Acknowledgment sent {"connection_id":136637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:48:08] local.INFO: TCP Data received {"connection_id":136636,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:48:09] local.INFO: Processing buffer {"connection_id":136636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f796f5fd0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 13:48:09] local.INFO: Packet analysis {"connection_id":136636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:48:09] local.INFO: Extracted packet for processing {"connection_id":136636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f796f"} 
[2026-07-19 13:48:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818808064001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48: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-07-19 13:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784448770000,"timestamp_ms":1784448770000,"timestamp_seconds":1784448770,"priority":1,"record_length":96,"hex_timestamp":"0000019f796f5fd0"} 
[2026-07-19 13:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:48: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-07-19 13:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:48:09] 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-07-19 13:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818808064001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818808064001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:48:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:48:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818808064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":136636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:48:09] local.INFO: GPS data processed {"connection_id":136636,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:48:09] local.INFO: Acknowledgment sent {"connection_id":136636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:48:28] local.INFO: TCP Data received {"connection_id":136637,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7973e7f8012d13bf00071df090003201242b..."} 
[2026-07-19 13:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7973e7f8012d13bf00071df090003201242b..."} 
[2026-07-19 13:48:28] local.INFO: Processing buffer {"connection_id":136637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7973e7f8012d13bf00071df090003201242b..."} 
[2026-07-19 13:48:28] local.INFO: Packet analysis {"connection_id":136637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:48:28] local.INFO: Extracted packet for processing {"connection_id":136637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756268800,"raw_latitude":119402640,"longitude_deg":75.62688,"latitude_deg":11.940264,"altitude":50,"angle":292,"satellites":43,"speed":5,"hex_longitude":"2d13bf00","hex_latitude":"071df090","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818960896001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7166058444095488,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1422926406583609344,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:28] 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-07-19 13:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784449067000,"timestamp_ms":1784449067000,"timestamp_seconds":1784449067,"priority":1,"record_length":96,"hex_timestamp":"0000019f7973e7f8"} 
[2026-07-19 13:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:48: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-07-19 13: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-19 13:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3248169554313878304,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:28] local.WARNING: Large IO value detected {"io_id":29,"raw_value":4059562034,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2075721934,"corrected_to":0} 
[2026-07-19 13:48:28] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862843,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:28] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-5115862318063806464,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:28] local.WARNING: Large IO value detected {"io_id":114,"raw_value":7577307666168332295,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:28] local.WARNING: Large IO value detected {"io_id":30,"raw_value":975029499727194112,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:28] local.WARNING: Large IO value detected {"io_id":18,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:28] local.WARNING: Large IO value detected {"io_id":69,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:28] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,185,83,24,241,157,16,117,159,224,45,192,240,50,43,10,66,216,64,134,1,127,227,121,29,4,113,205,226,193,248,40,239,48,2,25,7,46,19,123,114,30,18,69],"length":626,"final_offset":756,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2075721934,"validated":0}]} 
[2026-07-19 13:48:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603183351789518848,"timestamp_seconds":3603183351789519.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 13:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818960896001,"66":13330,"185":206,"83":41984,"24":5,"16":7166058444095488,"45":1422926406583609344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-07-19 13:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818960896001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:48:28] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-19 13:48:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7166058444095488,"km_value":7166058444095.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1422926406583609344,"description":"Unknown IO ID 45"} 
[2026-07-19 13:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818960896001,"power":13330,"unknown_185":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1422926406583609344}} 
[2026-07-19 13:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":136637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:48:28] local.INFO: GPS data processed {"connection_id":136637,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:48:28] local.INFO: Acknowledgment sent {"connection_id":136637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:48:31] local.INFO: TCP Data received {"connection_id":136498,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:48:31] local.INFO: Processing buffer {"connection_id":136498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:48:31] local.INFO: IMEI packet received {"connection_id":136498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":136498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:48:31] local.INFO: TCP Data received {"connection_id":136497,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:48:31] local.INFO: Processing buffer {"connection_id":136497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:48:31] local.INFO: IMEI packet received {"connection_id":136497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 13:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":136497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:48:36] local.INFO: TCP Data received {"connection_id":136498,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:48:36] local.INFO: Processing buffer {"connection_id":136498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:48:36] local.INFO: IMEI packet received {"connection_id":136498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":136498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:48:37] local.INFO: TCP Data received {"connection_id":136498,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:48:37] local.INFO: Processing buffer {"connection_id":136498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:48:37] local.INFO: Packet analysis {"connection_id":136498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:48:37] local.INFO: Extracted packet for processing {"connection_id":136498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818885120001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48: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-07-19 13:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784449071000,"timestamp_ms":1784449071000,"timestamp_seconds":1784449071,"priority":1,"record_length":96,"hex_timestamp":"0000019f7973f798"} 
[2026-07-19 13:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:48: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-07-19 13: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-07-19 13:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:48:37] 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-07-19 13:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818885120001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818885120001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:48:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818885120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":136498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:48:37] local.INFO: GPS data processed {"connection_id":136498,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:48:37] local.INFO: Acknowledgment sent {"connection_id":136498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:48:50] local.INFO: TCP Data received {"connection_id":136499,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:48:50] local.INFO: Processing buffer {"connection_id":136499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:48:50] local.INFO: IMEI packet received {"connection_id":136499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":136499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:48:51] local.INFO: TCP Data received {"connection_id":136499,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:48:51] local.INFO: Processing buffer {"connection_id":136499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:48:51] local.INFO: IMEI packet received {"connection_id":136499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":136499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:48:56] local.INFO: TCP Data received {"connection_id":136499,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:48:56] local.INFO: Processing buffer {"connection_id":136499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:48:56] local.INFO: IMEI packet received {"connection_id":136499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":136499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:48:57] local.INFO: TCP Data received {"connection_id":136499,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7973ebe0012d13be40071df0e00032014a2b..."} 
[2026-07-19 13:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7973ebe0012d13be40071df0e00032014a2b..."} 
[2026-07-19 13:48:57] local.INFO: Processing buffer {"connection_id":136499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7973ebe0012d13be40071df0e00032014a2b..."} 
[2026-07-19 13:48:57] local.INFO: Packet analysis {"connection_id":136499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:48:57] local.INFO: Extracted packet for processing {"connection_id":136499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:48:57] local.INFO: GPS Element Parsed {"raw_longitude":756268608,"raw_latitude":119402720,"longitude_deg":75.6268608,"latitude_deg":11.940272,"altitude":50,"angle":330,"satellites":43,"speed":5,"hex_longitude":"2d13be40","hex_latitude":"071df0e0","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818961152001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7166067034030080,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1422856037839441920,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:57] 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-07-19 13:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784449068000,"timestamp_ms":1784449068000,"timestamp_seconds":1784449068,"priority":1,"record_length":96,"hex_timestamp":"0000019f7973ebe0"} 
[2026-07-19 13:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:48: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-07-19 13: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":18,"data_length":795,"current_offset":136} 
[2026-07-19 13:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3248167080412712328,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:57] local.WARNING: Large IO value detected {"io_id":29,"raw_value":-135107791239044096,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2075721934,"corrected_to":0} 
[2026-07-19 13:48:57] local.WARNING: Large IO value detected {"io_id":140,"raw_value":57838404738372516,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:57] local.WARNING: Large IO value detected {"io_id":114,"raw_value":-8054686640435019769,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:57] local.WARNING: Large IO value detected {"io_id":19,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:57] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-5115862318063806464,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:57] local.WARNING: Large IO value detected {"io_id":69,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-19 13:48:57] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,185,83,24,241,157,16,117,159,228,45,64,240,50,43,10,66,224,192,216,1,227,121,29,4,113,205,52,193,248,39,239,2,25,7,140,114,19,123,69],"length":626,"final_offset":756,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2075721934,"validated":0}]} 
[2026-07-19 13:48:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603200943975628800,"timestamp_seconds":3603200943975629.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 13:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818961152001,"66":14189,"185":206,"83":41984,"24":5,"16":7166067034030080,"45":1422856037839441920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-07-19 13:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818961152001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:48:57] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-19 13:48:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7166067034030080,"km_value":7166067034030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1422856037839441920,"description":"Unknown IO ID 45"} 
[2026-07-19 13:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818961152001,"power":14189,"unknown_185":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1422856037839441920}} 
[2026-07-19 13:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":136499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:48:57] local.INFO: GPS data processed {"connection_id":136499,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:48:57] local.INFO: Acknowledgment sent {"connection_id":136499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:49:09] local.INFO: TCP Data received {"connection_id":136498,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:49:09] local.INFO: Processing buffer {"connection_id":136498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:49:09] local.INFO: Packet analysis {"connection_id":136498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:49:09] local.INFO: Extracted packet for processing {"connection_id":136498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818885120001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:49: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-07-19 13:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784449071000,"timestamp_ms":1784449071000,"timestamp_seconds":1784449071,"priority":1,"record_length":96,"hex_timestamp":"0000019f7973f798"} 
[2026-07-19 13:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13: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-07-19 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:49:09] 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-07-19 13:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818885120001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818885120001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:49:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818885120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":136498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:49:09] local.INFO: GPS data processed {"connection_id":136498,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:49:09] local.INFO: Acknowledgment sent {"connection_id":136498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:49:28] local.INFO: TCP Data received {"connection_id":136499,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7973efc8012d13be40071df150003200082b..."} 
[2026-07-19 13:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7973efc8012d13be40071df150003200082b..."} 
[2026-07-19 13:49:28] local.INFO: Processing buffer {"connection_id":136499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7973efc8012d13be40071df150003200082b..."} 
[2026-07-19 13:49:28] local.INFO: Packet analysis {"connection_id":136499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:49:28] local.INFO: Extracted packet for processing {"connection_id":136499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:49:28] local.INFO: GPS Element Parsed {"raw_longitude":756268608,"raw_latitude":119402832,"longitude_deg":75.6268608,"latitude_deg":11.9402832,"altitude":50,"angle":8,"satellites":43,"speed":5,"hex_longitude":"2d13be40","hex_latitude":"071df150","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818961408001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7166071328997376,"note":"Value kept but may cause issues"} 
[2026-07-19 13:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1422644931606929408,"note":"Value kept but may cause issues"} 
[2026-07-19 13:49:28] 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-07-19 13:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784449069000,"timestamp_ms":1784449069000,"timestamp_seconds":1784449069,"priority":1,"record_length":96,"hex_timestamp":"0000019f7973efc8"} 
[2026-07-19 13:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:49: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-07-19 13: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 13:49:28] 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-07-19 13: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-07-19 13:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818961408001,"66":14189,"185":206,"83":41984,"24":5,"16":7166071328997376,"45":1422644931606929408},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-07-19 13:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818961408001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:49:28] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-19 13:49:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7166071328997376,"km_value":7166071328997.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1422644931606929408,"description":"Unknown IO ID 45"} 
[2026-07-19 13:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818961408001,"power":14189,"unknown_185":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1422644931606929408}} 
[2026-07-19 13:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":136499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:49:28] local.INFO: GPS data processed {"connection_id":136499,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:49:28] local.INFO: Acknowledgment sent {"connection_id":136499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:49:31] local.INFO: TCP Data received {"connection_id":138981,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:49:31] local.INFO: Processing buffer {"connection_id":138981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:49:31] local.INFO: IMEI packet received {"connection_id":138981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":138981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:49:36] local.INFO: TCP Data received {"connection_id":138981,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:49:36] local.INFO: Processing buffer {"connection_id":138981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:49:36] local.INFO: IMEI packet received {"connection_id":138981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":138981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:49:37] local.INFO: TCP Data received {"connection_id":138981,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:49:37] local.INFO: Processing buffer {"connection_id":138981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:49:37] local.INFO: Packet analysis {"connection_id":138981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:49:37] local.INFO: Extracted packet for processing {"connection_id":138981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818885120001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:49: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-07-19 13:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784449071000,"timestamp_ms":1784449071000,"timestamp_seconds":1784449071,"priority":1,"record_length":96,"hex_timestamp":"0000019f7973f798"} 
[2026-07-19 13:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:49: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-07-19 13:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818885120001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818885120001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:49:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818885120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":138981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:49:37] local.INFO: GPS data processed {"connection_id":138981,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:49:37] local.INFO: Acknowledgment sent {"connection_id":138981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:49:51] local.INFO: TCP Data received {"connection_id":137586,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:49:51] local.INFO: Processing buffer {"connection_id":137586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:49:51] local.INFO: IMEI packet received {"connection_id":137586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":137586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:49:56] local.INFO: TCP Data received {"connection_id":137586,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:49:56] local.INFO: Processing buffer {"connection_id":137586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:49:56] local.INFO: IMEI packet received {"connection_id":137586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":137586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:49:57] local.INFO: TCP Data received {"connection_id":137586,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7973f3b0012d13be80071df1c0003200232c..."} 
[2026-07-19 13:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7973f3b0012d13be80071df1c0003200232c..."} 
[2026-07-19 13:49:57] local.INFO: Processing buffer {"connection_id":137586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7973f3b0012d13be80071df1c0003200232c..."} 
[2026-07-19 13:49:57] local.INFO: Packet analysis {"connection_id":137586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:49:57] local.INFO: Extracted packet for processing {"connection_id":137586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:49:57] local.INFO: GPS Element Parsed {"raw_longitude":756268672,"raw_latitude":119402944,"longitude_deg":75.6268672,"latitude_deg":11.9402944,"altitude":50,"angle":35,"satellites":44,"speed":5,"hex_longitude":"2d13be80","hex_latitude":"071df1c0","is_valid_coordinates":true} 
[2026-07-19 13:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818961664001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7166079918931968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1422644931606958080,"note":"Value kept but may cause issues"} 
[2026-07-19 13:49:57] 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-07-19 13:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784449070000,"timestamp_ms":1784449070000,"timestamp_seconds":1784449070,"priority":1,"record_length":96,"hex_timestamp":"0000019f7973f3b0"} 
[2026-07-19 13:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:49: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-07-19 13:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 13:49:57] 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-07-19 13:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818961664001,"66":14233,"185":206,"83":41984,"24":5,"16":7166079918931968,"45":1422644931606958080},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-07-19 13:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818961664001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:49:57] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-19 13:49:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7166079918931968,"km_value":7166079918931.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1422644931606958080,"description":"Unknown IO ID 45"} 
[2026-07-19 13:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818961664001,"power":14233,"unknown_185":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1422644931606958080}} 
[2026-07-19 13:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":137586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:49:57] local.INFO: GPS data processed {"connection_id":137586,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:49:57] local.INFO: Acknowledgment sent {"connection_id":137586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:50:09] local.INFO: TCP Data received {"connection_id":138981,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:50:09] local.INFO: Processing buffer {"connection_id":138981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:50:09] local.INFO: Packet analysis {"connection_id":138981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:50:09] local.INFO: Extracted packet for processing {"connection_id":138981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818885120001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:50: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-07-19 13:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784449071000,"timestamp_ms":1784449071000,"timestamp_seconds":1784449071,"priority":1,"record_length":96,"hex_timestamp":"0000019f7973f798"} 
[2026-07-19 13:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:50: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-07-19 13:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:50: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-07-19 13:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818885120001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818885120001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:50:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818885120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":138981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:50:09] local.INFO: GPS data processed {"connection_id":138981,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:50:09] local.INFO: Acknowledgment sent {"connection_id":138981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:50:28] local.INFO: TCP Data received {"connection_id":137586,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f797562e0012d138480071ef9d8002d00452a..."} 
[2026-07-19 13:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f797562e0012d138480071ef9d8002d00452a..."} 
[2026-07-19 13:50:28] local.INFO: Processing buffer {"connection_id":137586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f797562e0012d138480071ef9d8002d00452a..."} 
[2026-07-19 13:50:28] local.INFO: Packet analysis {"connection_id":137586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7975"} 
[2026-07-19 13:50:28] local.INFO: Extracted packet for processing {"connection_id":137586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7975"} 
[2026-07-19 13:50:28] local.INFO: GPS Element Parsed {"raw_longitude":756253824,"raw_latitude":119470552,"longitude_deg":75.6253824,"latitude_deg":11.9470552,"altitude":45,"angle":69,"satellites":42,"speed":20,"hex_longitude":"2d138480","hex_latitude":"071ef9d8","is_valid_coordinates":true} 
[2026-07-19 13:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818985472001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7169666216624128,"note":"Value kept but may cause issues"} 
[2026-07-19 13:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1405474958044841984,"note":"Value kept but may cause issues"} 
[2026-07-19 13:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784449164000,"timestamp_ms":1784449164000,"timestamp_seconds":1784449164,"priority":1,"record_length":96,"hex_timestamp":"0000019f797562e0"} 
[2026-07-19 13:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:50: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-07-19 13:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-19 13:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733140736,"note":"Value kept but may cause issues"} 
[2026-07-19 13:50:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 13:50:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 13:50:28] local.WARNING: Large IO value detected {"io_id":120,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-07-19 13:50:28] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":28672,"corrected_to":0} 
[2026-07-19 13:50:28] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":40960,"corrected_to":0} 
[2026-07-19 13:50:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5271182060659146762,"note":"Value kept but may cause issues"} 
[2026-07-19 13:50:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-19 13:50:28] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503709015801856,"note":"Value kept but may cause issues"} 
[2026-07-19 13:50:28] local.WARNING: Large IO value detected {"io_id":30,"raw_value":4102553644,"note":"Value kept but may cause issues"} 
[2026-07-19 13:50:28] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639037091642297,"note":"Value kept but may cause issues"} 
[2026-07-19 13:50:28] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4972237875707183360,"note":"Value kept but may cause issues"} 
[2026-07-19 13:50:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1711931598,"corrected_to":0} 
[2026-07-19 13:50:28] local.WARNING: Large IO value detected {"io_id":132,"raw_value":3221692129,"note":"Value kept but may cause issues"} 
[2026-07-19 13:50:28] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-19 13:50:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84745527652458140,"corrected_to":0} 
[2026-07-19 13:50:28] local.WARNING: Large IO value detected {"io_id":112,"raw_value":10697514369952256,"note":"Value kept but may cause issues"} 
[2026-07-19 13:50:28] local.WARNING: Large IO value detected {"io_id":19,"raw_value":-6629290823752613850,"note":"Value kept but may cause issues"} 
[2026-07-19 13:50:28] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,10,83,24,241,157,16,120,159,87,45,247,41,66,128,246,40,79,1,240,27,227,121,30,4,113,205,48,132,239,56,185,2,25,7,38,206,200,112,19],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":247,"original":28672,"validated":0},{"io_id":246,"original":40960,"validated":0},{"io_id":205,"original":1711931598,"validated":0},{"io_id":200,"original":84745527652458140,"validated":0}]} 
[2026-07-19 13:50:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242652385235894272,"timestamp_seconds":3242652385235894.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 13:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818985472001,"66":14363,"10":206,"83":41984,"24":20,"16":7169666216624128,"45":1405474958044841984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-07-19 13:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818985472001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:50:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-19 13:50:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7169666216624128,"km_value":7169666216624.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1405474958044841984,"description":"Unknown IO ID 45"} 
[2026-07-19 13:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818985472001,"power":14363,"unknown_10":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1405474958044841984}} 
[2026-07-19 13:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":137586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:50:28] local.INFO: GPS data processed {"connection_id":137586,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:50:28] local.INFO: Acknowledgment sent {"connection_id":137586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:50:31] local.INFO: TCP Data received {"connection_id":137587,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:50:31] local.INFO: Processing buffer {"connection_id":137587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:50:31] local.INFO: IMEI packet received {"connection_id":137587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":137587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:50:36] local.INFO: TCP Data received {"connection_id":137587,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:50:36] local.INFO: Processing buffer {"connection_id":137587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:50:36] local.INFO: IMEI packet received {"connection_id":137587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":137587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:50:38] local.INFO: TCP Data received {"connection_id":137587,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:50:38] local.INFO: Processing buffer {"connection_id":137587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:50:38] local.INFO: Packet analysis {"connection_id":137587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:50:38] local.INFO: Extracted packet for processing {"connection_id":137587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818885120001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:50: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-07-19 13:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784449071000,"timestamp_ms":1784449071000,"timestamp_seconds":1784449071,"priority":1,"record_length":96,"hex_timestamp":"0000019f7973f798"} 
[2026-07-19 13:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:50:38] 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-07-19 13:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818885120001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818885120001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:50:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:50:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818885120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":137587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:50:38] local.INFO: GPS data processed {"connection_id":137587,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:50:38] local.INFO: Acknowledgment sent {"connection_id":137587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:50:57] local.INFO: TCP Data received {"connection_id":136640,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:50:57] local.INFO: Processing buffer {"connection_id":136640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:50:57] local.INFO: IMEI packet received {"connection_id":136640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":136640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:51:09] local.INFO: TCP Data received {"connection_id":137587,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:51:09] local.INFO: Processing buffer {"connection_id":137587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:51:09] local.INFO: Packet analysis {"connection_id":137587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:51:09] local.INFO: Extracted packet for processing {"connection_id":137587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818885120001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:51: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-07-19 13:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784449071000,"timestamp_ms":1784449071000,"timestamp_seconds":1784449071,"priority":1,"record_length":96,"hex_timestamp":"0000019f7973f798"} 
[2026-07-19 13:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:51: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-07-19 13:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:51:09] 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-07-19 13:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818885120001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818885120001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:51:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818885120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":137587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:51:09] local.INFO: GPS data processed {"connection_id":137587,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:51:09] local.INFO: Acknowledgment sent {"connection_id":137587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:51:11] local.INFO: TCP Data received {"connection_id":136640,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 13:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136640,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 13:51:11] local.INFO: Processing buffer {"connection_id":136640,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 13:51:11] local.INFO: IMEI packet received {"connection_id":136640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":136640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:51:21] local.INFO: TCP Data received {"connection_id":136640,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f797591c0012d13a5c0071f0830002f003f2a..."} 
[2026-07-19 13:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f797591c0012d13a5c0071f0830002f003f2a..."} 
[2026-07-19 13:51:21] local.INFO: Processing buffer {"connection_id":136640,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f79..."} 
[2026-07-19 13:51:21] local.INFO: IMEI packet received {"connection_id":136640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":136640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:51:21] local.INFO: TCP Data received {"connection_id":136640,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7975b8d0012d13c900071f1948003100422a..."} 
[2026-07-19 13:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7975b8d0012d13c900071f1948003100422a..."} 
[2026-07-19 13:51:21] local.INFO: Processing buffer {"connection_id":136640,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f797591c0012d13a5c0071f0830002f003f2a..."} 
[2026-07-19 13:51:21] local.INFO: Packet analysis {"connection_id":136640,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f7975"} 
[2026-07-19 13:51:21] local.INFO: Extracted packet for processing {"connection_id":136640,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7975"} 
[2026-07-19 13:51:21] local.INFO: GPS Element Parsed {"raw_longitude":756262336,"raw_latitude":119474224,"longitude_deg":75.6262336,"latitude_deg":11.9474224,"altitude":47,"angle":63,"satellites":42,"speed":37,"hex_longitude":"2d13a5c0","hex_latitude":"071f0830","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818985984001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7170108598255616,"note":"Value kept but may cause issues"} 
[2026-07-19 13:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1406389751719254016,"note":"Value kept but may cause issues"} 
[2026-07-19 13:51: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-07-19 13:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784449176000,"timestamp_ms":1784449176000,"timestamp_seconds":1784449176,"priority":1,"record_length":96,"hex_timestamp":"0000019f797591c0"} 
[2026-07-19 13:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:51:21] 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-07-19 13: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-19 13:51: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-07-19 13: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-07-19 13:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":136640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":136640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":136640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818985984001,"66":14407,"10":206,"83":41984,"24":37,"16":7170108598255616,"45":1406389751719254016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-07-19 13:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818985984001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:51:21] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-19 13:51:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7170108598255616,"km_value":7170108598255.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1406389751719254016,"description":"Unknown IO ID 45"} 
[2026-07-19 13:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818985984001,"power":14407,"unknown_10":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1406389751719254016}} 
[2026-07-19 13:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":136640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:51:22] local.INFO: GPS data processed {"connection_id":136640,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:51:22] local.INFO: Acknowledgment sent {"connection_id":136640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:51:22] local.INFO: Packet analysis {"connection_id":136640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7975"} 
[2026-07-19 13:51:22] local.INFO: Extracted packet for processing {"connection_id":136640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7975"} 
[2026-07-19 13:51:22] local.INFO: GPS Element Parsed {"raw_longitude":756271360,"raw_latitude":119478600,"longitude_deg":75.627136,"latitude_deg":11.94786,"altitude":49,"angle":66,"satellites":42,"speed":42,"hex_longitude":"2d13c900","hex_latitude":"071f1948","is_valid_coordinates":true} 
[2026-07-19 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-07-19 13:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818989056001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7170585339625472,"note":"Value kept but may cause issues"} 
[2026-07-19 13:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1415748794695823360,"note":"Value kept but may cause issues"} 
[2026-07-19 13:51:22] 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-07-19 13:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784449186000,"timestamp_ms":1784449186000,"timestamp_seconds":1784449186,"priority":1,"record_length":96,"hex_timestamp":"0000019f7975b8d0"} 
[2026-07-19 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-07-19 13:51: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-07-19 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-19 13:51:22] 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-07-19 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-07-19 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-07-19 13:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":136640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":136640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":136640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818989056001,"66":14276,"10":206,"83":41984,"24":42,"16":7170585339625472,"45":1415748794695823360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-07-19 13:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818989056001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:51:22] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-19 13:51:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7170585339625472,"km_value":7170585339625.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1415748794695823360,"description":"Unknown IO ID 45"} 
[2026-07-19 13:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818989056001,"power":14276,"unknown_10":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1415748794695823360}} 
[2026-07-19 13:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":136640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:51:22] local.INFO: GPS data processed {"connection_id":136640,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:51:22] local.INFO: Acknowledgment sent {"connection_id":136640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:51:22] local.INFO: TCP Data received {"connection_id":136640,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7975d810012d13ea80071f25d0002e00472a..."} 
[2026-07-19 13:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7975d810012d13ea80071f25d0002e00472a..."} 
[2026-07-19 13:51:22] local.INFO: Processing buffer {"connection_id":136640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7975d810012d13ea80071f25d0002e00472a..."} 
[2026-07-19 13:51:22] local.INFO: Packet analysis {"connection_id":136640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7975"} 
[2026-07-19 13:51:22] local.INFO: Extracted packet for processing {"connection_id":136640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7975"} 
[2026-07-19 13:51:22] local.INFO: GPS Element Parsed {"raw_longitude":756279936,"raw_latitude":119481808,"longitude_deg":75.6279936,"latitude_deg":11.9481808,"altitude":46,"angle":71,"satellites":42,"speed":47,"hex_longitude":"2d13ea80","hex_latitude":"071f25d0","is_valid_coordinates":true} 
[2026-07-19 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-07-19 13:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818991616001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7171019131322368,"note":"Value kept but may cause issues"} 
[2026-07-19 13:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1425670787625994240,"note":"Value kept but may cause issues"} 
[2026-07-19 13:51: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-07-19 13:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784449194000,"timestamp_ms":1784449194000,"timestamp_seconds":1784449194,"priority":1,"record_length":96,"hex_timestamp":"0000019f7975d810"} 
[2026-07-19 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-07-19 13:51: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-07-19 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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-19 13:51:22] 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-07-19 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-07-19 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-07-19 13:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":136640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":136640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":136640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818991616001,"66":14396,"11":206,"83":41984,"24":47,"16":7171019131322368,"45":1425670787625994240},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-07-19 13:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818991616001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:51:22] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-19 13:51:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7171019131322368,"km_value":7171019131322.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1425670787625994240,"description":"Unknown IO ID 45"} 
[2026-07-19 13:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818991616001,"power":14396,"unknown_11":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1425670787625994240}} 
[2026-07-19 13:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":136640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:51:22] local.INFO: GPS data processed {"connection_id":136640,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:51:22] local.INFO: Acknowledgment sent {"connection_id":136640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:51:32] local.INFO: TCP Data received {"connection_id":138982,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:51:32] local.INFO: Processing buffer {"connection_id":138982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:51:32] local.INFO: IMEI packet received {"connection_id":138982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":138982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:51:36] local.INFO: TCP Data received {"connection_id":138982,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:51:36] local.INFO: Processing buffer {"connection_id":138982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:51:36] local.INFO: IMEI packet received {"connection_id":138982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":138982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:51:38] local.INFO: TCP Data received {"connection_id":138982,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:51:38] local.INFO: Processing buffer {"connection_id":138982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:51:38] local.INFO: Packet analysis {"connection_id":138982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:51:38] local.INFO: Extracted packet for processing {"connection_id":138982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:51:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818885120001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:51: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-07-19 13:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784449071000,"timestamp_ms":1784449071000,"timestamp_seconds":1784449071,"priority":1,"record_length":96,"hex_timestamp":"0000019f7973f798"} 
[2026-07-19 13:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:51:38] 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-07-19 13:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818885120001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818885120001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:51:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:51:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818885120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":138982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:51:38] local.INFO: GPS data processed {"connection_id":138982,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:51:38] local.INFO: Acknowledgment sent {"connection_id":138982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:51:49] local.INFO: TCP Data received {"connection_id":137589,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:51:49] local.INFO: Processing buffer {"connection_id":137589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:51:49] local.INFO: IMEI packet received {"connection_id":137589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":137589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:51:51] local.INFO: TCP Data received {"connection_id":137589,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:51:51] local.INFO: Processing buffer {"connection_id":137589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:51:51] local.INFO: IMEI packet received {"connection_id":137589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":137589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:51:52] local.INFO: TCP Data received {"connection_id":137589,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:51:52] local.INFO: Processing buffer {"connection_id":137589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:51:52] local.INFO: IMEI packet received {"connection_id":137589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":137589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:51:54] local.INFO: TCP Data received {"connection_id":137589,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:51:54] local.INFO: Processing buffer {"connection_id":137589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:51:54] local.INFO: IMEI packet received {"connection_id":137589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":137589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:51:55] local.INFO: TCP Data received {"connection_id":137589,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7975f750012d141000071f31d0002c004829..."} 
[2026-07-19 13:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7975f750012d141000071f31d0002c004829..."} 
[2026-07-19 13:51:55] local.INFO: Processing buffer {"connection_id":137589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7975f750012d141000071f31d0002c004829..."} 
[2026-07-19 13:51:55] local.INFO: Packet analysis {"connection_id":137589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7975"} 
[2026-07-19 13:51:55] local.INFO: Extracted packet for processing {"connection_id":137589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7975"} 
[2026-07-19 13:51:55] local.INFO: GPS Element Parsed {"raw_longitude":756289536,"raw_latitude":119484880,"longitude_deg":75.6289536,"latitude_deg":11.948488,"altitude":44,"angle":72,"satellites":41,"speed":49,"hex_longitude":"2d141000","hex_latitude":"071f31d0","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818993664001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7171500167659520,"note":"Value kept but may cause issues"} 
[2026-07-19 13:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1435100199346622464,"note":"Value kept but may cause issues"} 
[2026-07-19 13:51:55] 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-07-19 13:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784449202000,"timestamp_ms":1784449202000,"timestamp_seconds":1784449202,"priority":1,"record_length":96,"hex_timestamp":"0000019f7975f750"} 
[2026-07-19 13:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:51: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-07-19 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-19 13:51: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-07-19 13: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-07-19 13:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":137589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":137589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":137589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818993664001,"66":14004,"11":206,"83":41984,"24":49,"16":7171500167659520,"45":1435100199346622464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-07-19 13:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818993664001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:51:55] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-19 13:51:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7171500167659520,"km_value":7171500167659.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1435100199346622464,"description":"Unknown IO ID 45"} 
[2026-07-19 13:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818993664001,"power":14004,"unknown_11":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1435100199346622464}} 
[2026-07-19 13:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":137589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:51:55] local.INFO: GPS data processed {"connection_id":137589,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:51:55] local.INFO: Acknowledgment sent {"connection_id":137589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:51:56] local.INFO: TCP Data received {"connection_id":137589,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79761690012d143500071f3db80029004729..."} 
[2026-07-19 13:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79761690012d143500071f3db80029004729..."} 
[2026-07-19 13:51:56] local.INFO: Processing buffer {"connection_id":137589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79761690012d143500071f3db80029004729..."} 
[2026-07-19 13:51:56] local.INFO: Packet analysis {"connection_id":137589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7976"} 
[2026-07-19 13:51:56] local.INFO: Extracted packet for processing {"connection_id":137589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7976"} 
[2026-07-19 13:51:56] local.INFO: GPS Element Parsed {"raw_longitude":756299008,"raw_latitude":119487928,"longitude_deg":75.6299008,"latitude_deg":11.9487928,"altitude":41,"angle":71,"satellites":41,"speed":48,"hex_longitude":"2d143500","hex_latitude":"071f3db8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818995712001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7171972614062080,"note":"Value kept but may cause issues"} 
[2026-07-19 13:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1445655510974058496,"note":"Value kept but may cause issues"} 
[2026-07-19 13:51: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-07-19 13:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784449210000,"timestamp_ms":1784449210000,"timestamp_seconds":1784449210,"priority":1,"record_length":96,"hex_timestamp":"0000019f79761690"} 
[2026-07-19 13:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:51: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-07-19 13: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-19 13:51: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-07-19 13: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-07-19 13:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818995712001,"66":13993,"11":206,"83":41984,"24":48,"16":7171972614062080,"45":1445655510974058496},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-07-19 13:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818995712001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:51:56] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-19 13:51:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7171972614062080,"km_value":7171972614062.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1445655510974058496,"description":"Unknown IO ID 45"} 
[2026-07-19 13:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818995712001,"power":13993,"unknown_11":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1445655510974058496}} 
[2026-07-19 13:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":137589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:51:56] local.INFO: GPS data processed {"connection_id":137589,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:51:56] local.INFO: Acknowledgment sent {"connection_id":137589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:52:09] local.INFO: TCP Data received {"connection_id":138982,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:52:09] local.INFO: Processing buffer {"connection_id":138982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:52:09] local.INFO: Packet analysis {"connection_id":138982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:52:09] local.INFO: Extracted packet for processing {"connection_id":138982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818885120001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:52: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-07-19 13:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784449071000,"timestamp_ms":1784449071000,"timestamp_seconds":1784449071,"priority":1,"record_length":96,"hex_timestamp":"0000019f7973f798"} 
[2026-07-19 13:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818885120001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818885120001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:52:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818885120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":138982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:52:09] local.INFO: GPS data processed {"connection_id":138982,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:52:09] local.INFO: Acknowledgment sent {"connection_id":138982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:52:27] local.INFO: TCP Data received {"connection_id":137589,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79774358012d157000071fc6200026005b29..."} 
[2026-07-19 13:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79774358012d157000071fc6200026005b29..."} 
[2026-07-19 13:52:27] local.INFO: Processing buffer {"connection_id":137589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79774358012d157000071fc6200026005b29..."} 
[2026-07-19 13:52:27] local.INFO: Packet analysis {"connection_id":137589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7977"} 
[2026-07-19 13:52:27] local.INFO: Extracted packet for processing {"connection_id":137589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7977"} 
[2026-07-19 13:52:27] local.INFO: GPS Element Parsed {"raw_longitude":756379648,"raw_latitude":119522848,"longitude_deg":75.6379648,"latitude_deg":11.9522848,"altitude":38,"angle":91,"satellites":41,"speed":46,"hex_longitude":"2d157000","hex_latitude":"071fc620","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819015424001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7176271876325376,"note":"Value kept but may cause issues"} 
[2026-07-19 13:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1533968284926945280,"note":"Value kept but may cause issues"} 
[2026-07-19 13:52:27] 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-07-19 13:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784449287000,"timestamp_ms":1784449287000,"timestamp_seconds":1784449287,"priority":1,"record_length":96,"hex_timestamp":"0000019f79774358"} 
[2026-07-19 13:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:52: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-07-19 13: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":5,"data_length":795,"current_offset":136} 
[2026-07-19 13:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6970504843,"note":"Value kept but may cause issues"} 
[2026-07-19 13:52:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 13:52:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 13:52:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":16384,"corrected_to":0} 
[2026-07-19 13:52:27] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84746701252271997,"note":"Value kept but may cause issues"} 
[2026-07-19 13:52:27] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503709095493632,"note":"Value kept but may cause issues"} 
[2026-07-19 13:52:27] local.WARNING: Large IO value detected {"io_id":125,"raw_value":4026531840,"note":"Value kept but may cause issues"} 
[2026-07-19 13:52:27] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2796552245,"note":"Value kept but may cause issues"} 
[2026-07-19 13:52:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1712062670,"corrected_to":0} 
[2026-07-19 13:52:27] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3741371750,"note":"Value kept but may cause issues"} 
[2026-07-19 13:52:27] local.WARNING: Large IO value detected {"io_id":184,"raw_value":15481390711712512,"note":"Value kept but may cause issues"} 
[2026-07-19 13:52:27] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,87,83,24,241,157,16,126,159,45,128,200,41,10,66,64,197,46,4,192,1,240,60,227,125,121,31,113,205,206,120,42,239,56,12,2,25,7,58,184],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":200,"original":16384,"validated":0},{"io_id":205,"original":1712062670,"validated":0}]} 
[2026-07-19 13:52:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098577874797461504,"timestamp_seconds":3098577874797461.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 13:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819015424001,"66":14407,"87":206,"83":41984,"24":46,"16":7176271876325376,"45":1533968284926945280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-07-19 13:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819015424001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:52:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-19 13:52:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7176271876325376,"km_value":7176271876325.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1533968284926945280,"description":"Unknown IO ID 45"} 
[2026-07-19 13:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819015424001,"power":14407,"unknown_87":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1533968284926945280}} 
[2026-07-19 13:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":137589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:52:27] local.INFO: GPS data processed {"connection_id":137589,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:52:27] local.INFO: Acknowledgment sent {"connection_id":137589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:52:31] local.INFO: TCP Data received {"connection_id":138984,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:52:31] local.INFO: Processing buffer {"connection_id":138984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:52:31] local.INFO: IMEI packet received {"connection_id":138984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":138984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:52:36] local.INFO: TCP Data received {"connection_id":138984,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:52:36] local.INFO: Processing buffer {"connection_id":138984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:52:36] local.INFO: IMEI packet received {"connection_id":138984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":138984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:52:38] local.INFO: TCP Data received {"connection_id":138984,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:52:38] local.INFO: Processing buffer {"connection_id":138984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:52:38] local.INFO: Packet analysis {"connection_id":138984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:52:38] local.INFO: Extracted packet for processing {"connection_id":138984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818885120001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:52: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-07-19 13:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784449071000,"timestamp_ms":1784449071000,"timestamp_seconds":1784449071,"priority":1,"record_length":96,"hex_timestamp":"0000019f7973f798"} 
[2026-07-19 13:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818885120001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818885120001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:52:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:52:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818885120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":138984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:52:38] local.INFO: GPS data processed {"connection_id":138984,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:52:38] local.INFO: Acknowledgment sent {"connection_id":138984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:52:51] local.INFO: TCP Data received {"connection_id":138985,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:52:51] local.INFO: Processing buffer {"connection_id":138985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:52:51] local.INFO: IMEI packet received {"connection_id":138985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":138985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:52:55] local.INFO: TCP Data received {"connection_id":138985,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:52:55] local.INFO: Processing buffer {"connection_id":138985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:52:55] local.INFO: IMEI packet received {"connection_id":138985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":138985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:52:56] local.INFO: TCP Data received {"connection_id":138985,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f797756e0012d158640071fc8100025004f28..."} 
[2026-07-19 13:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f797756e0012d158640071fc8100025004f28..."} 
[2026-07-19 13:52:56] local.INFO: Processing buffer {"connection_id":138985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f797756e0012d158640071fc8100025004f28..."} 
[2026-07-19 13:52:56] local.INFO: Packet analysis {"connection_id":138985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7977"} 
[2026-07-19 13:52:56] local.INFO: Extracted packet for processing {"connection_id":138985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7977"} 
[2026-07-19 13:52:56] local.INFO: GPS Element Parsed {"raw_longitude":756385344,"raw_latitude":119523344,"longitude_deg":75.6385344,"latitude_deg":11.9523344,"altitude":37,"angle":79,"satellites":40,"speed":44,"hex_longitude":"2d158640","hex_latitude":"071fc810","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819017472001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7176546754232320,"note":"Value kept but may cause issues"} 
[2026-07-19 13:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1544734702785929216,"note":"Value kept but may cause issues"} 
[2026-07-19 13:52:56] 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-07-19 13:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784449292000,"timestamp_ms":1784449292000,"timestamp_seconds":1784449292,"priority":1,"record_length":96,"hex_timestamp":"0000019f797756e0"} 
[2026-07-19 13:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:52: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-07-19 13: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-19 13:52:56] 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-07-19 13: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-07-19 13:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":138985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":138985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":138985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819017472001,"66":14407,"87":206,"83":41984,"24":44,"16":7176546754232320,"45":1544734702785929216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-07-19 13:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819017472001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:52:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-19 13:52:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7176546754232320,"km_value":7176546754232.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1544734702785929216,"description":"Unknown IO ID 45"} 
[2026-07-19 13:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819017472001,"power":14407,"unknown_87":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1544734702785929216}} 
[2026-07-19 13:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":138985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:52:56] local.INFO: GPS data processed {"connection_id":138985,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:52:56] local.INFO: Acknowledgment sent {"connection_id":138985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:53:10] local.INFO: TCP Data received {"connection_id":138984,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:53:10] local.INFO: Processing buffer {"connection_id":138984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7973f798012d34c50006aa4dd8000800952d..."} 
[2026-07-19 13:53:10] local.INFO: Packet analysis {"connection_id":138984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:53:10] local.INFO: Extracted packet for processing {"connection_id":138984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7973"} 
[2026-07-19 13:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818885120001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:53: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-07-19 13:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784449071000,"timestamp_ms":1784449071000,"timestamp_seconds":1784449071,"priority":1,"record_length":96,"hex_timestamp":"0000019f7973f798"} 
[2026-07-19 13:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:53:10] 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-07-19 13:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818885120001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818885120001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:53:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818885120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":138984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:53:10] local.INFO: GPS data processed {"connection_id":138984,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:53:10] local.INFO: Acknowledgment sent {"connection_id":138984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:53:27] local.INFO: TCP Data received {"connection_id":138985,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79777a08012d15abc0071fd1980022004a28..."} 
[2026-07-19 13:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79777a08012d15abc0071fd1980022004a28..."} 
[2026-07-19 13:53:27] local.INFO: Processing buffer {"connection_id":138985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79777a08012d15abc0071fd1980022004a28..."} 
[2026-07-19 13:53:27] local.INFO: Packet analysis {"connection_id":138985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7977"} 
[2026-07-19 13:53:27] local.INFO: Extracted packet for processing {"connection_id":138985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7977"} 
[2026-07-19 13:53:27] local.INFO: GPS Element Parsed {"raw_longitude":756394944,"raw_latitude":119525784,"longitude_deg":75.6394944,"latitude_deg":11.9525784,"altitude":34,"angle":74,"satellites":40,"speed":44,"hex_longitude":"2d15abc0","hex_latitude":"071fd198","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819018752001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7177014905667584,"note":"Value kept but may cause issues"} 
[2026-07-19 13:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1550997521017868288,"note":"Value kept but may cause issues"} 
[2026-07-19 13:53:27] 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-07-19 13:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784449301000,"timestamp_ms":1784449301000,"timestamp_seconds":1784449301,"priority":1,"record_length":96,"hex_timestamp":"0000019f79777a08"} 
[2026-07-19 13:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:53: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-07-19 13: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-19 13:53: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-07-19 13: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-07-19 13:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":138985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":138985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":138985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819018752001,"66":14298,"87":206,"83":41984,"24":44,"16":7177014905667584,"45":1550997521017868288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-07-19 13:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819018752001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:53:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-19 13:53:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7177014905667584,"km_value":7177014905667.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1550997521017868288,"description":"Unknown IO ID 45"} 
[2026-07-19 13:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819018752001,"power":14298,"unknown_87":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1550997521017868288}} 
[2026-07-19 13:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":138985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:53:27] local.INFO: GPS data processed {"connection_id":138985,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:53:27] local.INFO: Acknowledgment sent {"connection_id":138985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:53:30] local.INFO: TCP Data received {"connection_id":136500,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:53:30] local.INFO: Processing buffer {"connection_id":136500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:53:30] local.INFO: IMEI packet received {"connection_id":136500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":136500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:53:31] local.INFO: TCP Data received {"connection_id":136500,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:53:31] local.INFO: Processing buffer {"connection_id":136500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:53:31] local.INFO: IMEI packet received {"connection_id":136500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":136500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:53:36] local.INFO: TCP Data received {"connection_id":136500,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:53:36] local.INFO: Processing buffer {"connection_id":136500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:53:36] local.INFO: IMEI packet received {"connection_id":136500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":136500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:53:37] local.INFO: TCP Data received {"connection_id":136500,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:53:37] local.INFO: Processing buffer {"connection_id":136500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:53:37] local.INFO: Packet analysis {"connection_id":136500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:53:37] local.INFO: Extracted packet for processing {"connection_id":136500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818962176001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:53: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-07-19 13:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784449372000,"timestamp_ms":1784449372000,"timestamp_seconds":1784449372,"priority":1,"record_length":96,"hex_timestamp":"0000019f79788f60"} 
[2026-07-19 13:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:53: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-07-19 13:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818962176001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818962176001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:53:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818962176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":136500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:53:37] local.INFO: GPS data processed {"connection_id":136500,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:53:37] local.INFO: Acknowledgment sent {"connection_id":136500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:53:51] local.INFO: TCP Data received {"connection_id":137590,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:53:51] local.INFO: Processing buffer {"connection_id":137590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:53:51] local.INFO: IMEI packet received {"connection_id":137590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":137590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:53:57] local.INFO: TCP Data received {"connection_id":137590,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:53:57] local.INFO: Processing buffer {"connection_id":137590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:53:57] local.INFO: IMEI packet received {"connection_id":137590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":137590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:53:59] local.INFO: TCP Data received {"connection_id":137590,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7978b670012d16f58007207100002f00292a..."} 
[2026-07-19 13:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7978b670012d16f58007207100002f00292a..."} 
[2026-07-19 13:53:59] local.INFO: Processing buffer {"connection_id":137590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7978b670012d16f58007207100002f00292a..."} 
[2026-07-19 13:53:59] local.INFO: Packet analysis {"connection_id":137590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:53:59] local.INFO: Extracted packet for processing {"connection_id":137590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:53:59] local.INFO: GPS Element Parsed {"raw_longitude":756479360,"raw_latitude":119566592,"longitude_deg":75.647936,"latitude_deg":11.9566592,"altitude":47,"angle":41,"satellites":42,"speed":45,"hex_longitude":"2d16f580","hex_latitude":"07207100","is_valid_coordinates":true} 
[2026-07-19 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-07-19 13:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819039744001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7181636290478080,"note":"Value kept but may cause issues"} 
[2026-07-19 13:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1647543438038886400,"note":"Value kept but may cause issues"} 
[2026-07-19 13:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784449382000,"timestamp_ms":1784449382000,"timestamp_seconds":1784449382,"priority":1,"record_length":96,"hex_timestamp":"0000019f7978b670"} 
[2026-07-19 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-07-19 13:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-19 13:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 13:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":137590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":137590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":137590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819039744001,"66":14004,"107":206,"83":41984,"24":45,"16":7181636290478080,"45":1647543438038886400},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 13:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819039744001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:53:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 13:53:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7181636290478080,"km_value":7181636290478.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1647543438038886400,"description":"Unknown IO ID 45"} 
[2026-07-19 13:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819039744001,"power":14004,"unknown_107":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1647543438038886400}} 
[2026-07-19 13:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":137590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:53:59] local.INFO: GPS data processed {"connection_id":137590,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:53:59] local.INFO: Acknowledgment sent {"connection_id":137590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:54:01] local.INFO: TCP Data received {"connection_id":136641,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:54:01] local.INFO: Processing buffer {"connection_id":136641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:54:01] local.INFO: IMEI packet received {"connection_id":136641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 13:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":136641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:54:09] local.INFO: TCP Data received {"connection_id":136500,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:54:09] local.INFO: Processing buffer {"connection_id":136500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:54:09] local.INFO: Packet analysis {"connection_id":136500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:54:09] local.INFO: Extracted packet for processing {"connection_id":136500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818962176001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13: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-07-19 13:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784449372000,"timestamp_ms":1784449372000,"timestamp_seconds":1784449372,"priority":1,"record_length":96,"hex_timestamp":"0000019f79788f60"} 
[2026-07-19 13:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:54: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-07-19 13:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818962176001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818962176001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818962176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":136500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:54:09] local.INFO: GPS data processed {"connection_id":136500,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:54:09] local.INFO: Acknowledgment sent {"connection_id":136500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:54:26] local.INFO: TCP Data received {"connection_id":138986,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:54:26] local.INFO: Processing buffer {"connection_id":138986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:54:26] local.INFO: IMEI packet received {"connection_id":138986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 13:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":138986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:54:31] local.INFO: TCP Data received {"connection_id":137590,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7978d5b0012d170e4007208c80002f002a29..."} 
[2026-07-19 13:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7978d5b0012d170e4007208c80002f002a29..."} 
[2026-07-19 13:54:31] local.INFO: Processing buffer {"connection_id":137590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7978d5b0012d170e4007208c80002f002a29..."} 
[2026-07-19 13:54:31] local.INFO: Packet analysis {"connection_id":137590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:54:31] local.INFO: Extracted packet for processing {"connection_id":137590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:54:31] local.INFO: GPS Element Parsed {"raw_longitude":756485696,"raw_latitude":119573632,"longitude_deg":75.6485696,"latitude_deg":11.9573632,"altitude":47,"angle":42,"satellites":41,"speed":48,"hex_longitude":"2d170e40","hex_latitude":"07208c80","is_valid_coordinates":true} 
[2026-07-19 13:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819041792001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7182091557011456,"note":"Value kept but may cause issues"} 
[2026-07-19 13:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654369206225928192,"note":"Value kept but may cause issues"} 
[2026-07-19 13:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784449390000,"timestamp_ms":1784449390000,"timestamp_seconds":1784449390,"priority":1,"record_length":96,"hex_timestamp":"0000019f7978d5b0"} 
[2026-07-19 13:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:54: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-07-19 13:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-19 13:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":137590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":137590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":137590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819041792001,"66":14004,"107":206,"83":41984,"24":48,"16":7182091557011456,"45":1654369206225928192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 13:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819041792001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:54:31] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 13:54:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7182091557011456,"km_value":7182091557011.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654369206225928192,"description":"Unknown IO ID 45"} 
[2026-07-19 13:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819041792001,"power":14004,"unknown_107":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1654369206225928192}} 
[2026-07-19 13:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":137590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:54:31] local.INFO: GPS data processed {"connection_id":137590,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:54:31] local.INFO: Acknowledgment sent {"connection_id":137590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:54:31] local.INFO: TCP Data received {"connection_id":138987,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:54:31] local.INFO: Processing buffer {"connection_id":138987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:54:31] local.INFO: IMEI packet received {"connection_id":138987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":138987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:54:36] local.INFO: TCP Data received {"connection_id":138987,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:54:36] local.INFO: Processing buffer {"connection_id":138987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:54:36] local.INFO: IMEI packet received {"connection_id":138987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":138987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:54:38] local.INFO: TCP Data received {"connection_id":138987,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:54:38] local.INFO: Processing buffer {"connection_id":138987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:54:38] local.INFO: Packet analysis {"connection_id":138987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:54:38] local.INFO: Extracted packet for processing {"connection_id":138987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:54:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818962176001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:54: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-07-19 13:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784449372000,"timestamp_ms":1784449372000,"timestamp_seconds":1784449372,"priority":1,"record_length":96,"hex_timestamp":"0000019f79788f60"} 
[2026-07-19 13:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":138987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":138987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":138987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:54: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-07-19 13:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818962176001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818962176001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:54:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818962176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":138987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:54:38] local.INFO: GPS data processed {"connection_id":138987,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:54:38] local.INFO: Acknowledgment sent {"connection_id":138987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:54:51] local.INFO: TCP Data received {"connection_id":136501,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:54:51] local.INFO: Processing buffer {"connection_id":136501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:54:51] local.INFO: IMEI packet received {"connection_id":136501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":136501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:54:52] local.INFO: TCP Data received {"connection_id":136501,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:54:52] local.INFO: Processing buffer {"connection_id":136501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:54:52] local.INFO: IMEI packet received {"connection_id":136501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":136501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:54:56] local.INFO: TCP Data received {"connection_id":136501,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:54:56] local.INFO: Processing buffer {"connection_id":136501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:54:56] local.INFO: IMEI packet received {"connection_id":136501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":136501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:54:57] local.INFO: TCP Data received {"connection_id":136501,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7978f4f0012d1729000720a5e80031003027..."} 
[2026-07-19 13:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7978f4f0012d1729000720a5e80031003027..."} 
[2026-07-19 13:54:57] local.INFO: Processing buffer {"connection_id":136501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7978f4f0012d1729000720a5e80031003027..."} 
[2026-07-19 13:54:57] local.INFO: Packet analysis {"connection_id":136501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:54:57] local.INFO: Extracted packet for processing {"connection_id":136501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:54:57] local.INFO: GPS Element Parsed {"raw_longitude":756492544,"raw_latitude":119580136,"longitude_deg":75.6492544,"latitude_deg":11.9580136,"altitude":49,"angle":48,"satellites":39,"speed":45,"hex_longitude":"2d172900","hex_latitude":"0720a5e8","is_valid_coordinates":true} 
[2026-07-19 13:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819043840001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7182546823544832,"note":"Value kept but may cause issues"} 
[2026-07-19 13:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661335711901319168,"note":"Value kept but may cause issues"} 
[2026-07-19 13:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784449398000,"timestamp_ms":1784449398000,"timestamp_seconds":1784449398,"priority":1,"record_length":96,"hex_timestamp":"0000019f7978f4f0"} 
[2026-07-19 13:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-19 13:54:57] 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-07-19 13:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819043840001,"66":14004,"107":206,"83":41984,"24":45,"16":7182546823544832,"45":1661335711901319168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 13:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819043840001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:54:57] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 13:54:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7182546823544832,"km_value":7182546823544.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661335711901319168,"description":"Unknown IO ID 45"} 
[2026-07-19 13:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819043840001,"power":14004,"unknown_107":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1661335711901319168}} 
[2026-07-19 13:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":136501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:54:57] local.INFO: GPS data processed {"connection_id":136501,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:54:57] local.INFO: Acknowledgment sent {"connection_id":136501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:55:09] local.INFO: TCP Data received {"connection_id":138987,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:55:09] local.INFO: Processing buffer {"connection_id":138987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:55:09] local.INFO: Packet analysis {"connection_id":138987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:55:09] local.INFO: Extracted packet for processing {"connection_id":138987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818962176001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:55: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-07-19 13:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784449372000,"timestamp_ms":1784449372000,"timestamp_seconds":1784449372,"priority":1,"record_length":96,"hex_timestamp":"0000019f79788f60"} 
[2026-07-19 13:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:55: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-07-19 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:55: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-07-19 13:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818962176001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818962176001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:55:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:55:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818962176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":138987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:55:09] local.INFO: GPS data processed {"connection_id":138987,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:55:09] local.INFO: Acknowledgment sent {"connection_id":138987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:55:28] local.INFO: TCP Data received {"connection_id":136501,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79791430012d1744c00720bc000033003327..."} 
[2026-07-19 13:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79791430012d1744c00720bc000033003327..."} 
[2026-07-19 13:55:28] local.INFO: Processing buffer {"connection_id":136501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79791430012d1744c00720bc000033003327..."} 
[2026-07-19 13:55:28] local.INFO: Packet analysis {"connection_id":136501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7979"} 
[2026-07-19 13:55:28] local.INFO: Extracted packet for processing {"connection_id":136501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7979"} 
[2026-07-19 13:55:28] local.INFO: GPS Element Parsed {"raw_longitude":756499648,"raw_latitude":119585792,"longitude_deg":75.6499648,"latitude_deg":11.9585792,"altitude":51,"angle":51,"satellites":39,"speed":44,"hex_longitude":"2d1744c0","hex_latitude":"0720bc00","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819045888001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7182980615241728,"note":"Value kept but may cause issues"} 
[2026-07-19 13:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1668865167529994240,"note":"Value kept but may cause issues"} 
[2026-07-19 13:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784449406000,"timestamp_ms":1784449406000,"timestamp_seconds":1784449406,"priority":1,"record_length":96,"hex_timestamp":"0000019f79791430"} 
[2026-07-19 13:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:55: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-07-19 13: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-19 13:55: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-07-19 13: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-07-19 13:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819045888001,"66":14004,"107":206,"83":41984,"24":44,"16":7182980615241728,"45":1668865167529994240},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 13:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819045888001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:55:28] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 13:55:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7182980615241728,"km_value":7182980615241.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1668865167529994240,"description":"Unknown IO ID 45"} 
[2026-07-19 13:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819045888001,"power":14004,"unknown_107":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1668865167529994240}} 
[2026-07-19 13:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":136501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:55:28] local.INFO: GPS data processed {"connection_id":136501,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:55:28] local.INFO: Acknowledgment sent {"connection_id":136501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:55:31] local.INFO: TCP Data received {"connection_id":137591,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:55:31] local.INFO: Processing buffer {"connection_id":137591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:55:31] local.INFO: IMEI packet received {"connection_id":137591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":137591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:55:36] local.INFO: TCP Data received {"connection_id":137591,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:55:36] local.INFO: Processing buffer {"connection_id":137591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:55:36] local.INFO: IMEI packet received {"connection_id":137591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":137591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:55:37] local.INFO: TCP Data received {"connection_id":137591,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:55:37] local.INFO: Processing buffer {"connection_id":137591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:55:37] local.INFO: Packet analysis {"connection_id":137591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:55:37] local.INFO: Extracted packet for processing {"connection_id":137591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818962176001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:55: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-07-19 13:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784449372000,"timestamp_ms":1784449372000,"timestamp_seconds":1784449372,"priority":1,"record_length":96,"hex_timestamp":"0000019f79788f60"} 
[2026-07-19 13:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:55: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-07-19 13:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818962176001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818962176001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818962176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":137591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:55:37] local.INFO: GPS data processed {"connection_id":137591,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:55:37] local.INFO: Acknowledgment sent {"connection_id":137591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:55:51] local.INFO: TCP Data received {"connection_id":137592,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:55:51] local.INFO: Processing buffer {"connection_id":137592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:55:51] local.INFO: IMEI packet received {"connection_id":137592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":137592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:55:56] local.INFO: TCP Data received {"connection_id":137592,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:55:56] local.INFO: Processing buffer {"connection_id":137592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:55:56] local.INFO: IMEI packet received {"connection_id":137592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":137592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:55:57] local.INFO: TCP Data received {"connection_id":137592,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79793758012d1760c00720d5180038002d28..."} 
[2026-07-19 13:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79793758012d1760c00720d5180038002d28..."} 
[2026-07-19 13:55:57] local.INFO: Processing buffer {"connection_id":137592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79793758012d1760c00720d5180038002d28..."} 
[2026-07-19 13:55:57] local.INFO: Packet analysis {"connection_id":137592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7979"} 
[2026-07-19 13:55:57] local.INFO: Extracted packet for processing {"connection_id":137592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7979"} 
[2026-07-19 13:55:57] local.INFO: GPS Element Parsed {"raw_longitude":756506816,"raw_latitude":119592216,"longitude_deg":75.6506816,"latitude_deg":11.9592216,"altitude":56,"angle":45,"satellites":40,"speed":40,"hex_longitude":"2d1760c0","hex_latitude":"0720d518","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819047936001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7183440176742400,"note":"Value kept but may cause issues"} 
[2026-07-19 13:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1676676098135162880,"note":"Value kept but may cause issues"} 
[2026-07-19 13:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784449415000,"timestamp_ms":1784449415000,"timestamp_seconds":1784449415,"priority":1,"record_length":96,"hex_timestamp":"0000019f79793758"} 
[2026-07-19 13:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13: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":180,"data_length":795,"current_offset":136} 
[2026-07-19 13:55:57] 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-07-19 13: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-07-19 13:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819047936001,"66":14080,"107":206,"83":41984,"24":40,"16":7183440176742400,"45":1676676098135162880},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 13:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819047936001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:55:57] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 13:55:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7183440176742400,"km_value":7183440176742.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1676676098135162880,"description":"Unknown IO ID 45"} 
[2026-07-19 13:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819047936001,"power":14080,"unknown_107":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1676676098135162880}} 
[2026-07-19 13:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":137592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:55:57] local.INFO: GPS data processed {"connection_id":137592,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:55:57] local.INFO: Acknowledgment sent {"connection_id":137592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:56:09] local.INFO: TCP Data received {"connection_id":137591,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:56:09] local.INFO: Processing buffer {"connection_id":137591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:56:09] local.INFO: Packet analysis {"connection_id":137591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:56:09] local.INFO: Extracted packet for processing {"connection_id":137591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818962176001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:56: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-07-19 13:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784449372000,"timestamp_ms":1784449372000,"timestamp_seconds":1784449372,"priority":1,"record_length":96,"hex_timestamp":"0000019f79788f60"} 
[2026-07-19 13:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:56: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-07-19 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:56:09] 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-07-19 13:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818962176001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818962176001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818962176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":137591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:56:09] local.INFO: GPS data processed {"connection_id":137591,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:56:09] local.INFO: Acknowledgment sent {"connection_id":137591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:56:28] local.INFO: TCP Data received {"connection_id":137592,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79795a80012d1779c00720ef68003e00282b..."} 
[2026-07-19 13:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79795a80012d1779c00720ef68003e00282b..."} 
[2026-07-19 13:56:28] local.INFO: Processing buffer {"connection_id":137592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79795a80012d1779c00720ef68003e00282b..."} 
[2026-07-19 13:56:28] local.INFO: Packet analysis {"connection_id":137592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7979"} 
[2026-07-19 13:56:28] local.INFO: Extracted packet for processing {"connection_id":137592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7979"} 
[2026-07-19 13:56:28] local.INFO: GPS Element Parsed {"raw_longitude":756513216,"raw_latitude":119598952,"longitude_deg":75.6513216,"latitude_deg":11.9598952,"altitude":62,"angle":40,"satellites":43,"speed":40,"hex_longitude":"2d1779c0","hex_latitude":"0720ef68","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819050240001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7183886853341184,"note":"Value kept but may cause issues"} 
[2026-07-19 13:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1684557397484705792,"note":"Value kept but may cause issues"} 
[2026-07-19 13:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784449424000,"timestamp_ms":1784449424000,"timestamp_seconds":1784449424,"priority":1,"record_length":96,"hex_timestamp":"0000019f79795a80"} 
[2026-07-19 13:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:56: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-07-19 13: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-19 13:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446297856,"note":"Value kept but may cause issues"} 
[2026-07-19 13:56:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 13:56:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 13:56:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-07-19 13:56:28] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402090,"note":"Value kept but may cause issues"} 
[2026-07-19 13:56:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2202009600,"note":"Value kept but may cause issues"} 
[2026-07-19 13:56:28] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,107,83,24,241,157,16,133,159,20,45,192,188,51,39,10,66,132,244,165,49,213,64,1,240,180,227,121,32,4,113,205,151,221,104,43,239,54,2,25,7,44,53],"length":479,"final_offset":609,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-07-19 13:56:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035274915948527616,"timestamp_seconds":4035274915948527.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 13:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819050240001,"66":14004,"107":206,"83":41984,"24":40,"16":7183886853341184,"45":1684557397484705792},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 13:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819050240001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:56:28] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 13:56:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7183886853341184,"km_value":7183886853341.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1684557397484705792,"description":"Unknown IO ID 45"} 
[2026-07-19 13:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819050240001,"power":14004,"unknown_107":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1684557397484705792}} 
[2026-07-19 13:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":137592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:56:29] local.INFO: GPS data processed {"connection_id":137592,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:56:29] local.INFO: Acknowledgment sent {"connection_id":137592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:56:31] local.INFO: TCP Data received {"connection_id":138988,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:56:31] local.INFO: Processing buffer {"connection_id":138988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:56:31] local.INFO: IMEI packet received {"connection_id":138988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":138988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:56:36] local.INFO: TCP Data received {"connection_id":138988,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:56:36] local.INFO: Processing buffer {"connection_id":138988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:56:36] local.INFO: IMEI packet received {"connection_id":138988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":138988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:56:37] local.INFO: TCP Data received {"connection_id":138988,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:56:37] local.INFO: Processing buffer {"connection_id":138988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:56:37] local.INFO: Packet analysis {"connection_id":138988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:56:37] local.INFO: Extracted packet for processing {"connection_id":138988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818962176001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:56: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-07-19 13:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784449372000,"timestamp_ms":1784449372000,"timestamp_seconds":1784449372,"priority":1,"record_length":96,"hex_timestamp":"0000019f79788f60"} 
[2026-07-19 13:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:56: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-07-19 13:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818962176001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818962176001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:56:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818962176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":138988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:56:37] local.INFO: GPS data processed {"connection_id":138988,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:56:37] local.INFO: Acknowledgment sent {"connection_id":138988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:56:56] local.INFO: TCP Data received {"connection_id":136643,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:56:56] local.INFO: Processing buffer {"connection_id":136643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:56:56] local.INFO: IMEI packet received {"connection_id":136643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":136643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:57:01] local.INFO: TCP Data received {"connection_id":136643,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:57:01] local.INFO: Processing buffer {"connection_id":136643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:57:01] local.INFO: IMEI packet received {"connection_id":136643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":136643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:57:02] local.INFO: TCP Data received {"connection_id":136643,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f797975d8012d178f4007210330003e00342c..."} 
[2026-07-19 13:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f797975d8012d178f4007210330003e00342c..."} 
[2026-07-19 13:57:02] local.INFO: Processing buffer {"connection_id":136643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f797975d8012d178f4007210330003e00342c..."} 
[2026-07-19 13:57:02] local.INFO: Packet analysis {"connection_id":136643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7979"} 
[2026-07-19 13:57:02] local.INFO: Extracted packet for processing {"connection_id":136643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7979"} 
[2026-07-19 13:57:02] local.INFO: GPS Element Parsed {"raw_longitude":756518720,"raw_latitude":119604016,"longitude_deg":75.651872,"latitude_deg":11.9604016,"altitude":62,"angle":52,"satellites":44,"speed":45,"hex_longitude":"2d178f40","hex_latitude":"07210330","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819052544001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7184247630594048,"note":"Value kept but may cause issues"} 
[2026-07-19 13:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1691594271904196608,"note":"Value kept but may cause issues"} 
[2026-07-19 13:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784449431000,"timestamp_ms":1784449431000,"timestamp_seconds":1784449431,"priority":1,"record_length":96,"hex_timestamp":"0000019f797975d8"} 
[2026-07-19 13:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-19 13:57:02] 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-07-19 13: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-07-19 13:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819052544001,"66":13863,"107":206,"83":41984,"24":45,"16":7184247630594048,"45":1691594271904196608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 13:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819052544001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:57:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 13:57:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7184247630594048,"km_value":7184247630594.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1691594271904196608,"description":"Unknown IO ID 45"} 
[2026-07-19 13:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819052544001,"power":13863,"unknown_107":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1691594271904196608}} 
[2026-07-19 13:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":136643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:57:02] local.INFO: GPS data processed {"connection_id":136643,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:57:02] local.INFO: Acknowledgment sent {"connection_id":136643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:57:06] local.INFO: TCP Data received {"connection_id":136643,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79799518012d17afc007211ae8003b00302c..."} 
[2026-07-19 13:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79799518012d17afc007211ae8003b00302c..."} 
[2026-07-19 13:57:06] local.INFO: Processing buffer {"connection_id":136643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79799518012d17afc007211ae8003b00302c..."} 
[2026-07-19 13:57:06] local.INFO: Packet analysis {"connection_id":136643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7979"} 
[2026-07-19 13:57:06] local.INFO: Extracted packet for processing {"connection_id":136643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7979"} 
[2026-07-19 13:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756527040,"raw_latitude":119610088,"longitude_deg":75.652704,"latitude_deg":11.9610088,"altitude":59,"angle":48,"satellites":44,"speed":53,"hex_longitude":"2d17afc0","hex_latitude":"07211ae8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819054336001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7184737256865792,"note":"Value kept but may cause issues"} 
[2026-07-19 13:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1697645983904772096,"note":"Value kept but may cause issues"} 
[2026-07-19 13:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784449439000,"timestamp_ms":1784449439000,"timestamp_seconds":1784449439,"priority":1,"record_length":96,"hex_timestamp":"0000019f79799518"} 
[2026-07-19 13:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-07-19 13:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13: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-07-19 13:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819054336001,"66":13015,"107":206,"83":41984,"24":53,"16":7184737256865792,"45":1697645983904772096},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 13:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819054336001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:57:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 13:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7184737256865792,"km_value":7184737256865.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1697645983904772096,"description":"Unknown IO ID 45"} 
[2026-07-19 13:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819054336001,"power":13015,"unknown_107":206,"unknown_83":41984,"ignition":53,"odometer":null,"unknown_45":1697645983904772096}} 
[2026-07-19 13:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":136643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:57:07] local.INFO: GPS data processed {"connection_id":136643,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:57:07] local.INFO: Acknowledgment sent {"connection_id":136643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:57:09] local.INFO: TCP Data received {"connection_id":138988,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:57:09] local.INFO: Processing buffer {"connection_id":138988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:57:09] local.INFO: Packet analysis {"connection_id":138988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:57:09] local.INFO: Extracted packet for processing {"connection_id":138988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818962176001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:57: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-07-19 13:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784449372000,"timestamp_ms":1784449372000,"timestamp_seconds":1784449372,"priority":1,"record_length":96,"hex_timestamp":"0000019f79788f60"} 
[2026-07-19 13:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:57: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-07-19 13:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818962176001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818962176001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:57:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818962176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":138988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:57:09] local.INFO: GPS data processed {"connection_id":138988,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:57:09] local.INFO: Acknowledgment sent {"connection_id":138988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:57:31] local.INFO: TCP Data received {"connection_id":137593,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:57:31] local.INFO: Processing buffer {"connection_id":137593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:57:31] local.INFO: IMEI packet received {"connection_id":137593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":137593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:57:36] local.INFO: TCP Data received {"connection_id":137593,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:57:36] local.INFO: Processing buffer {"connection_id":137593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:57:36] local.INFO: IMEI packet received {"connection_id":137593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":137593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:57:37] local.INFO: TCP Data received {"connection_id":137593,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:57:37] local.INFO: Processing buffer {"connection_id":137593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:57:37] local.INFO: Packet analysis {"connection_id":137593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:57:37] local.INFO: Extracted packet for processing {"connection_id":137593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818962176001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:57: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-07-19 13:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784449372000,"timestamp_ms":1784449372000,"timestamp_seconds":1784449372,"priority":1,"record_length":96,"hex_timestamp":"0000019f79788f60"} 
[2026-07-19 13:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:57: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-07-19 13:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818962176001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818962176001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:57:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818962176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":137593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:57:37] local.INFO: GPS data processed {"connection_id":137593,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:57:37] local.INFO: Acknowledgment sent {"connection_id":137593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:57:51] local.INFO: TCP Data received {"connection_id":136504,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:57:51] local.INFO: Processing buffer {"connection_id":136504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:57:51] local.INFO: IMEI packet received {"connection_id":136504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":136504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:57:55] local.INFO: TCP Data received {"connection_id":136504,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:57:55] local.INFO: Processing buffer {"connection_id":136504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:57:55] local.INFO: IMEI packet received {"connection_id":136504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":136504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:57:55] local.INFO: TCP Data received {"connection_id":136504,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7979ac88012d17c48007213138003c00232b..."} 
[2026-07-19 13:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7979ac88012d17c48007213138003c00232b..."} 
[2026-07-19 13:57:55] local.INFO: Processing buffer {"connection_id":136504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7979ac88012d17c48007213138003c00232b..."} 
[2026-07-19 13:57:55] local.INFO: Packet analysis {"connection_id":136504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7979"} 
[2026-07-19 13:57:55] local.INFO: Extracted packet for processing {"connection_id":136504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7979"} 
[2026-07-19 13:57:55] local.INFO: GPS Element Parsed {"raw_longitude":756532352,"raw_latitude":119615800,"longitude_deg":75.6532352,"latitude_deg":11.96158,"altitude":60,"angle":35,"satellites":43,"speed":50,"hex_longitude":"2d17c480","hex_latitude":"07213138","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819056384001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7185115213987840,"note":"Value kept but may cause issues"} 
[2026-07-19 13:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706793920649422848,"note":"Value kept but may cause issues"} 
[2026-07-19 13:57: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-07-19 13:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784449445000,"timestamp_ms":1784449445000,"timestamp_seconds":1784449445,"priority":1,"record_length":96,"hex_timestamp":"0000019f7979ac88"} 
[2026-07-19 13:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:57: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-07-19 13:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-19 13:57: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-07-19 13:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":136504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":136504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":136504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819056384001,"66":13048,"107":206,"83":41984,"24":50,"16":7185115213987840,"45":1706793920649422848},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 13:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819056384001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:57:55] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 13:57:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7185115213987840,"km_value":7185115213987.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706793920649422848,"description":"Unknown IO ID 45"} 
[2026-07-19 13:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819056384001,"power":13048,"unknown_107":206,"unknown_83":41984,"ignition":50,"odometer":null,"unknown_45":1706793920649422848}} 
[2026-07-19 13:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":136504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:57:56] local.INFO: GPS data processed {"connection_id":136504,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:57:56] local.INFO: Acknowledgment sent {"connection_id":136504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:58:08] local.INFO: TCP Data received {"connection_id":137593,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:58:08] local.INFO: Processing buffer {"connection_id":137593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79788f60012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:58:08] local.INFO: Packet analysis {"connection_id":137593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:58:08] local.INFO: Extracted packet for processing {"connection_id":137593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7978"} 
[2026-07-19 13:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13: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-07-19 13:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456818962176001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13: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-07-19 13:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784449372000,"timestamp_ms":1784449372000,"timestamp_seconds":1784449372,"priority":1,"record_length":96,"hex_timestamp":"0000019f79788f60"} 
[2026-07-19 13:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 13:58: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-07-19 13: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-07-19 13:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456818962176001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456818962176001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:58:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456818962176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":137593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:58:08] local.INFO: GPS data processed {"connection_id":137593,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:58:08] local.INFO: Acknowledgment sent {"connection_id":137593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:58:27] local.INFO: TCP Data received {"connection_id":136504,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7979cbc8012d17d74007215020004300202b..."} 
[2026-07-19 13:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7979cbc8012d17d74007215020004300202b..."} 
[2026-07-19 13:58:27] local.INFO: Processing buffer {"connection_id":136504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7979cbc8012d17d74007215020004300202b..."} 
[2026-07-19 13:58:27] local.INFO: Packet analysis {"connection_id":136504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7979"} 
[2026-07-19 13:58:27] local.INFO: Extracted packet for processing {"connection_id":136504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7979"} 
[2026-07-19 13:58:27] local.INFO: GPS Element Parsed {"raw_longitude":756537152,"raw_latitude":119623712,"longitude_deg":75.6537152,"latitude_deg":11.9623712,"altitude":67,"angle":32,"satellites":43,"speed":42,"hex_longitude":"2d17d740","hex_latitude":"07215020","is_valid_coordinates":true} 
[2026-07-19 13:58: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-07-19 13:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819057920001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7185561890586624,"note":"Value kept but may cause issues"} 
[2026-07-19 13:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1712634526417631232,"note":"Value kept but may cause issues"} 
[2026-07-19 13:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784449453000,"timestamp_ms":1784449453000,"timestamp_seconds":1784449453,"priority":1,"record_length":96,"hex_timestamp":"0000019f7979cbc8"} 
[2026-07-19 13:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:58: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-07-19 13:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-19 13:58:27] 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-07-19 13:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819057920001,"66":12917,"107":206,"83":41984,"24":42,"16":7185561890586624,"45":1712634526417631232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 13:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819057920001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:58:27] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 13:58:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7185561890586624,"km_value":7185561890586.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1712634526417631232,"description":"Unknown IO ID 45"} 
[2026-07-19 13:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819057920001,"power":12917,"unknown_107":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1712634526417631232}} 
[2026-07-19 13:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":136504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:58:27] local.INFO: GPS data processed {"connection_id":136504,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:58:27] local.INFO: Acknowledgment sent {"connection_id":136504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:58:37] local.INFO: TCP Data received {"connection_id":136645,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:58:37] local.INFO: Processing buffer {"connection_id":136645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:58:37] local.INFO: IMEI packet received {"connection_id":136645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":136645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:58:41] local.INFO: TCP Data received {"connection_id":136645,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:58:41] local.INFO: Processing buffer {"connection_id":136645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:58:41] local.INFO: IMEI packet received {"connection_id":136645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":136645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:58:42] local.INFO: TCP Data received {"connection_id":136645,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:58:42] local.INFO: Processing buffer {"connection_id":136645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:58:42] local.INFO: Packet analysis {"connection_id":136645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 13:58:42] local.INFO: Extracted packet for processing {"connection_id":136645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 13:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819039232001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784449673000,"timestamp_ms":1784449673000,"timestamp_seconds":1784449673,"priority":1,"record_length":96,"hex_timestamp":"0000019f797d2728"} 
[2026-07-19 13:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 13:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819039232001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819039232001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:58:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:58:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819039232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":136645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:58:42] local.INFO: GPS data processed {"connection_id":136645,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:58:42] local.INFO: Acknowledgment sent {"connection_id":136645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:58:47] local.INFO: TCP Data received {"connection_id":136645,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:58:47] local.INFO: Processing buffer {"connection_id":136645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:58:47] local.INFO: Packet analysis {"connection_id":136645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 13:58:47] local.INFO: Extracted packet for processing {"connection_id":136645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 13:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819039232001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784449673000,"timestamp_ms":1784449673000,"timestamp_seconds":1784449673,"priority":1,"record_length":96,"hex_timestamp":"0000019f797d2728"} 
[2026-07-19 13:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 13:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819039232001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819039232001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:58:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819039232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":136645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:58:47] local.INFO: GPS data processed {"connection_id":136645,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:58:47] local.INFO: Acknowledgment sent {"connection_id":136645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:58:51] local.INFO: TCP Data received {"connection_id":138989,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:58:51] local.INFO: Processing buffer {"connection_id":138989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:58:51] local.INFO: IMEI packet received {"connection_id":138989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":138989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:58:56] local.INFO: TCP Data received {"connection_id":138989,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:58:56] local.INFO: Processing buffer {"connection_id":138989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:58:56] local.INFO: IMEI packet received {"connection_id":138989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":138989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:58:57] local.INFO: TCP Data received {"connection_id":138989,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7979eef0012d17e94007216f180048002129..."} 
[2026-07-19 13:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7979eef0012d17e94007216f180048002129..."} 
[2026-07-19 13:58:57] local.INFO: Processing buffer {"connection_id":138989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7979eef0012d17e94007216f180048002129..."} 
[2026-07-19 13:58:57] local.INFO: Packet analysis {"connection_id":138989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7979"} 
[2026-07-19 13:58:57] local.INFO: Extracted packet for processing {"connection_id":138989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7979"} 
[2026-07-19 13:58:57] local.INFO: GPS Element Parsed {"raw_longitude":756541760,"raw_latitude":119631640,"longitude_deg":75.654176,"latitude_deg":11.963164,"altitude":72,"angle":33,"satellites":41,"speed":40,"hex_longitude":"2d17e940","hex_latitude":"07216f18","is_valid_coordinates":true} 
[2026-07-19 13:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819059968001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7186004272218112,"note":"Value kept but may cause issues"} 
[2026-07-19 13:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1717912182232981504,"note":"Value kept but may cause issues"} 
[2026-07-19 13:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784449462000,"timestamp_ms":1784449462000,"timestamp_seconds":1784449462,"priority":1,"record_length":96,"hex_timestamp":"0000019f7979eef0"} 
[2026-07-19 13:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 13:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-19 13:58:57] 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-07-19 13:58:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":138989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":138989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":138989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819059968001,"66":12776,"107":206,"83":41984,"24":40,"16":7186004272218112,"45":1717912182232981504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 13:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819059968001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:58:57] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 13:58:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7186004272218112,"km_value":7186004272218.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1717912182232981504,"description":"Unknown IO ID 45"} 
[2026-07-19 13:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819059968001,"power":12776,"unknown_107":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1717912182232981504}} 
[2026-07-19 13:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":138989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:58:57] local.INFO: GPS data processed {"connection_id":138989,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:58:57] local.INFO: Acknowledgment sent {"connection_id":138989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:59:28] local.INFO: TCP Data received {"connection_id":138989,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f797d3ab0012d17fcc0072185f8004900342d..."} 
[2026-07-19 13:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f797d3ab0012d17fcc0072185f8004900342d..."} 
[2026-07-19 13:59:28] local.INFO: Processing buffer {"connection_id":138989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f797d3ab0012d17fcc0072185f8004900342d..."} 
[2026-07-19 13:59:28] local.INFO: Packet analysis {"connection_id":138989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 13:59:28] local.INFO: Extracted packet for processing {"connection_id":138989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 13:59:28] local.INFO: GPS Element Parsed {"raw_longitude":756546752,"raw_latitude":119637496,"longitude_deg":75.6546752,"latitude_deg":11.9637496,"altitude":73,"angle":52,"satellites":45,"speed":0,"hex_longitude":"2d17fcc0","hex_latitude":"072185f8","is_valid_coordinates":true} 
[2026-07-19 13:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819112192001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7186377934372864,"note":"Value kept but may cause issues"} 
[2026-07-19 13:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1728467493863159808,"note":"Value kept but may cause issues"} 
[2026-07-19 13:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784449678000,"timestamp_ms":1784449678000,"timestamp_seconds":1784449678,"priority":1,"record_length":96,"hex_timestamp":"0000019f797d3ab0"} 
[2026-07-19 13:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:59: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-07-19 13:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-19 13:59:28] 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-07-19 13:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":138989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":138989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":138989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819112192001,"66":13820,"107":206,"83":41984,"24":0,"16":7186377934372864,"45":1728467493863159808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 13:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819112192001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:59:28] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 13:59:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7186377934372864,"km_value":7186377934372.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1728467493863159808,"description":"Unknown IO ID 45"} 
[2026-07-19 13:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819112192001,"power":13820,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1728467493863159808}} 
[2026-07-19 13:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":138989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:59:29] local.INFO: GPS data processed {"connection_id":138989,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:59:29] local.INFO: Acknowledgment sent {"connection_id":138989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:59:31] local.INFO: TCP Data received {"connection_id":136506,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:59:31] local.INFO: Processing buffer {"connection_id":136506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:59:31] local.INFO: IMEI packet received {"connection_id":136506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 13:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":136506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:59:36] local.INFO: TCP Data received {"connection_id":136506,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:59:36] local.INFO: Processing buffer {"connection_id":136506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 13:59:36] local.INFO: IMEI packet received {"connection_id":136506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 13:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":136506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:59:37] local.INFO: TCP Data received {"connection_id":136506,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:59:37] local.INFO: Processing buffer {"connection_id":136506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 13:59:37] local.INFO: Packet analysis {"connection_id":136506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 13:59:37] local.INFO: Extracted packet for processing {"connection_id":136506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 13:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 13:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819039232001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 13:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 13:59: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-07-19 13:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784449673000,"timestamp_ms":1784449673000,"timestamp_seconds":1784449673,"priority":1,"record_length":96,"hex_timestamp":"0000019f797d2728"} 
[2026-07-19 13:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 13:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 13:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 13:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 13:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 13:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819039232001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 13:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 13:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 13:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819039232001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:59:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 13:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 13:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 13:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819039232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 13:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":136506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:59:37] local.INFO: GPS data processed {"connection_id":136506,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:59:37] local.INFO: Acknowledgment sent {"connection_id":136506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 13:59:51] local.INFO: TCP Data received {"connection_id":136646,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:59:51] local.INFO: Processing buffer {"connection_id":136646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:59:51] local.INFO: IMEI packet received {"connection_id":136646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 13:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":136646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:59:56] local.INFO: TCP Data received {"connection_id":136646,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:59:56] local.INFO: Processing buffer {"connection_id":136646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 13:59:56] local.INFO: IMEI packet received {"connection_id":136646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 13:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":136646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 13:59:56] local.INFO: TCP Data received {"connection_id":136505,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136505,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:59:56] local.INFO: Processing buffer {"connection_id":136505,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 13:59:56] local.INFO: IMEI packet received {"connection_id":136505,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 13:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":136505,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 13:59:57] local.INFO: TCP Data received {"connection_id":136646,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f797d8cb8012d17fcc0072185f8004900342c..."} 
[2026-07-19 13:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f797d8cb8012d17fcc0072185f8004900342c..."} 
[2026-07-19 13:59:57] local.INFO: Processing buffer {"connection_id":136646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f797d8cb8012d17fcc0072185f8004900342c..."} 
[2026-07-19 13:59:57] local.INFO: Packet analysis {"connection_id":136646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 13:59:57] local.INFO: Extracted packet for processing {"connection_id":136646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 13:59:57] local.INFO: GPS Element Parsed {"raw_longitude":756546752,"raw_latitude":119637496,"longitude_deg":75.6546752,"latitude_deg":11.9637496,"altitude":73,"angle":52,"satellites":44,"speed":0,"hex_longitude":"2d17fcc0","hex_latitude":"072185f8","is_valid_coordinates":true} 
[2026-07-19 13:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 13:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819117568001,"note":"Value kept but may cause issues"} 
[2026-07-19 13:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7186377934372864,"note":"Value kept but may cause issues"} 
[2026-07-19 13:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1728467493863159808,"note":"Value kept but may cause issues"} 
[2026-07-19 13:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 13:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784449699000,"timestamp_ms":1784449699000,"timestamp_seconds":1784449699,"priority":1,"record_length":96,"hex_timestamp":"0000019f797d8cb8"} 
[2026-07-19 13:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 13:59:57] 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-07-19 13:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-19 13:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 13:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 13:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 13:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 13:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 13:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 13:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 13:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 13:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 13:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819117568001,"66":13135,"107":206,"83":41984,"24":0,"16":7186377934372864,"45":1728467493863159808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 13:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 13:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 13:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819117568001,"description":"Unknown IO ID 0"} 
[2026-07-19 13:59:57] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 13:59:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 13:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7186377934372864,"km_value":7186377934372.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 13:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1728467493863159808,"description":"Unknown IO ID 45"} 
[2026-07-19 13:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819117568001,"power":13135,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1728467493863159808}} 
[2026-07-19 13:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":136646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 13:59:57] local.INFO: GPS data processed {"connection_id":136646,"processed":1,"errors":0,"total":1} 
[2026-07-19 13:59:57] local.INFO: Acknowledgment sent {"connection_id":136646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:00:08] local.INFO: TCP Data received {"connection_id":136506,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:00:08] local.INFO: Processing buffer {"connection_id":136506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:00:08] local.INFO: Packet analysis {"connection_id":136506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 14:00:08] local.INFO: Extracted packet for processing {"connection_id":136506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 14:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819039232001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:00: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-07-19 14:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784449673000,"timestamp_ms":1784449673000,"timestamp_seconds":1784449673,"priority":1,"record_length":96,"hex_timestamp":"0000019f797d2728"} 
[2026-07-19 14:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:00: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-07-19 14: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-07-19 14:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:00: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-07-19 14:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819039232001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819039232001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:00:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:00:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819039232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":136506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:00:08] local.INFO: GPS data processed {"connection_id":136506,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:00:08] local.INFO: Acknowledgment sent {"connection_id":136506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:00:26] local.INFO: TCP Data received {"connection_id":137594,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:00:26] local.INFO: Processing buffer {"connection_id":137594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:00:26] local.INFO: IMEI packet received {"connection_id":137594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 14:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":137594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:00:28] local.INFO: TCP Data received {"connection_id":136646,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f797ddec0012d17fcc0072185f8004900342d..."} 
[2026-07-19 14:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f797ddec0012d17fcc0072185f8004900342d..."} 
[2026-07-19 14:00:28] local.INFO: Processing buffer {"connection_id":136646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f797ddec0012d17fcc0072185f8004900342d..."} 
[2026-07-19 14:00:28] local.INFO: Packet analysis {"connection_id":136646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 14:00:28] local.INFO: Extracted packet for processing {"connection_id":136646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 14:00:28] local.INFO: GPS Element Parsed {"raw_longitude":756546752,"raw_latitude":119637496,"longitude_deg":75.6546752,"latitude_deg":11.9637496,"altitude":73,"angle":52,"satellites":45,"speed":0,"hex_longitude":"2d17fcc0","hex_latitude":"072185f8","is_valid_coordinates":true} 
[2026-07-19 14:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819122944001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7186377934372864,"note":"Value kept but may cause issues"} 
[2026-07-19 14:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1728467493863159808,"note":"Value kept but may cause issues"} 
[2026-07-19 14:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784449720000,"timestamp_ms":1784449720000,"timestamp_seconds":1784449720,"priority":1,"record_length":96,"hex_timestamp":"0000019f797ddec0"} 
[2026-07-19 14:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:00: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-07-19 14:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-19 14:00: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-07-19 14:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819122944001,"66":13080,"107":206,"83":41984,"24":0,"16":7186377934372864,"45":1728467493863159808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 14:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819122944001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:00:28] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 14:00:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7186377934372864,"km_value":7186377934372.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1728467493863159808,"description":"Unknown IO ID 45"} 
[2026-07-19 14:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819122944001,"power":13080,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1728467493863159808}} 
[2026-07-19 14:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":136646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:00:28] local.INFO: GPS data processed {"connection_id":136646,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:00:28] local.INFO: Acknowledgment sent {"connection_id":136646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:00:31] local.INFO: TCP Data received {"connection_id":137595,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:00:31] local.INFO: Processing buffer {"connection_id":137595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:00:31] local.INFO: IMEI packet received {"connection_id":137595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":137595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:00:36] local.INFO: TCP Data received {"connection_id":137595,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:00:36] local.INFO: Processing buffer {"connection_id":137595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:00:36] local.INFO: IMEI packet received {"connection_id":137595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":137595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:00:38] local.INFO: TCP Data received {"connection_id":137595,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:00:38] local.INFO: Processing buffer {"connection_id":137595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:00:38] local.INFO: Packet analysis {"connection_id":137595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 14:00:38] local.INFO: Extracted packet for processing {"connection_id":137595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 14:00:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819039232001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:00: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-07-19 14:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784449673000,"timestamp_ms":1784449673000,"timestamp_seconds":1784449673,"priority":1,"record_length":96,"hex_timestamp":"0000019f797d2728"} 
[2026-07-19 14:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:00: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-07-19 14:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819039232001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 14:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819039232001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:00:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:00:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819039232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":137595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:00:38] local.INFO: GPS data processed {"connection_id":137595,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:00:38] local.INFO: Acknowledgment sent {"connection_id":137595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:00:52] local.INFO: TCP Data received {"connection_id":136507,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:00:52] local.INFO: Processing buffer {"connection_id":136507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:00:52] local.INFO: IMEI packet received {"connection_id":136507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":136507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:00:56] local.INFO: TCP Data received {"connection_id":136507,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:00:56] local.INFO: Processing buffer {"connection_id":136507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:00:56] local.INFO: IMEI packet received {"connection_id":136507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":136507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:00:57] local.INFO: TCP Data received {"connection_id":136507,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f797e30c8012d17fcc0072185f8004900342e..."} 
[2026-07-19 14:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f797e30c8012d17fcc0072185f8004900342e..."} 
[2026-07-19 14:00:57] local.INFO: Processing buffer {"connection_id":136507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f797e30c8012d17fcc0072185f8004900342e..."} 
[2026-07-19 14:00:57] local.INFO: Packet analysis {"connection_id":136507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f797e"} 
[2026-07-19 14:00:57] local.INFO: Extracted packet for processing {"connection_id":136507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f797e"} 
[2026-07-19 14:00:57] local.INFO: GPS Element Parsed {"raw_longitude":756546752,"raw_latitude":119637496,"longitude_deg":75.6546752,"latitude_deg":11.9637496,"altitude":73,"angle":52,"satellites":46,"speed":0,"hex_longitude":"2d17fcc0","hex_latitude":"072185f8","is_valid_coordinates":true} 
[2026-07-19 14:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819128320001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7186377934372864,"note":"Value kept but may cause issues"} 
[2026-07-19 14:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1728467493863159808,"note":"Value kept but may cause issues"} 
[2026-07-19 14:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784449741000,"timestamp_ms":1784449741000,"timestamp_seconds":1784449741,"priority":1,"record_length":96,"hex_timestamp":"0000019f797e30c8"} 
[2026-07-19 14:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:00:57] 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-07-19 14:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-19 14:00:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819128320001,"66":12667,"107":206,"83":41984,"24":0,"16":7186377934372864,"45":1728467493863159808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 14:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819128320001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:00:57] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 14:00:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7186377934372864,"km_value":7186377934372.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1728467493863159808,"description":"Unknown IO ID 45"} 
[2026-07-19 14:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819128320001,"power":12667,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1728467493863159808}} 
[2026-07-19 14:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":136507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:00:57] local.INFO: GPS data processed {"connection_id":136507,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:00:57] local.INFO: Acknowledgment sent {"connection_id":136507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:01:09] local.INFO: TCP Data received {"connection_id":137595,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:01:09] local.INFO: Processing buffer {"connection_id":137595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:01:09] local.INFO: Packet analysis {"connection_id":137595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 14:01:09] local.INFO: Extracted packet for processing {"connection_id":137595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 14:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819039232001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:01: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-07-19 14:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784449673000,"timestamp_ms":1784449673000,"timestamp_seconds":1784449673,"priority":1,"record_length":96,"hex_timestamp":"0000019f797d2728"} 
[2026-07-19 14:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:01: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-07-19 14:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819039232001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 14:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819039232001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:01:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:01:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819039232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":137595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:01:09] local.INFO: GPS data processed {"connection_id":137595,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:01:09] local.INFO: Acknowledgment sent {"connection_id":137595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:01:28] local.INFO: TCP Data received {"connection_id":136507,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f797e82d0012d17fcc0072185f8004900342e..."} 
[2026-07-19 14:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f797e82d0012d17fcc0072185f8004900342e..."} 
[2026-07-19 14:01:28] local.INFO: Processing buffer {"connection_id":136507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f797e82d0012d17fcc0072185f8004900342e..."} 
[2026-07-19 14:01:28] local.INFO: Packet analysis {"connection_id":136507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f797e"} 
[2026-07-19 14:01:28] local.INFO: Extracted packet for processing {"connection_id":136507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f797e"} 
[2026-07-19 14:01:28] local.INFO: GPS Element Parsed {"raw_longitude":756546752,"raw_latitude":119637496,"longitude_deg":75.6546752,"latitude_deg":11.9637496,"altitude":73,"angle":52,"satellites":46,"speed":0,"hex_longitude":"2d17fcc0","hex_latitude":"072185f8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819133696001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7186377934372864,"note":"Value kept but may cause issues"} 
[2026-07-19 14:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1728467493863159808,"note":"Value kept but may cause issues"} 
[2026-07-19 14:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784449762000,"timestamp_ms":1784449762000,"timestamp_seconds":1784449762,"priority":1,"record_length":96,"hex_timestamp":"0000019f797e82d0"} 
[2026-07-19 14:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:01: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-07-19 14: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-19 14:01:28] 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-07-19 14: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-07-19 14:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819133696001,"66":12950,"107":206,"83":41984,"24":0,"16":7186377934372864,"45":1728467493863159808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 14:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819133696001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:01:28] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 14:01:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7186377934372864,"km_value":7186377934372.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1728467493863159808,"description":"Unknown IO ID 45"} 
[2026-07-19 14:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819133696001,"power":12950,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1728467493863159808}} 
[2026-07-19 14:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":136507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:01:28] local.INFO: GPS data processed {"connection_id":136507,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:01:28] local.INFO: Acknowledgment sent {"connection_id":136507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:01:31] local.INFO: TCP Data received {"connection_id":136508,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:01:31] local.INFO: Processing buffer {"connection_id":136508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:01:31] local.INFO: IMEI packet received {"connection_id":136508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":136508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:01:36] local.INFO: TCP Data received {"connection_id":136508,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:01:36] local.INFO: Processing buffer {"connection_id":136508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:01:36] local.INFO: IMEI packet received {"connection_id":136508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":136508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:01:37] local.INFO: TCP Data received {"connection_id":136508,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:01:37] local.INFO: Processing buffer {"connection_id":136508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:01:37] local.INFO: Packet analysis {"connection_id":136508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 14:01:37] local.INFO: Extracted packet for processing {"connection_id":136508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 14:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819039232001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:01: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-07-19 14:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784449673000,"timestamp_ms":1784449673000,"timestamp_seconds":1784449673,"priority":1,"record_length":96,"hex_timestamp":"0000019f797d2728"} 
[2026-07-19 14:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:01: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-07-19 14:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819039232001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 14:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819039232001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:01:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819039232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":136508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:01:37] local.INFO: GPS data processed {"connection_id":136508,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:01:37] local.INFO: Acknowledgment sent {"connection_id":136508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:01:51] local.INFO: TCP Data received {"connection_id":136509,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:01:51] local.INFO: Processing buffer {"connection_id":136509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:01:51] local.INFO: IMEI packet received {"connection_id":136509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":136509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:01:56] local.INFO: TCP Data received {"connection_id":136509,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:01:56] local.INFO: Processing buffer {"connection_id":136509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:01:56] local.INFO: IMEI packet received {"connection_id":136509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":136509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:01:57] local.INFO: TCP Data received {"connection_id":136509,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f797ed4d8012d17fcc0072185f8004900342e..."} 
[2026-07-19 14:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f797ed4d8012d17fcc0072185f8004900342e..."} 
[2026-07-19 14:01:57] local.INFO: Processing buffer {"connection_id":136509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f797ed4d8012d17fcc0072185f8004900342e..."} 
[2026-07-19 14:01:57] local.INFO: Packet analysis {"connection_id":136509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f797e"} 
[2026-07-19 14:01:57] local.INFO: Extracted packet for processing {"connection_id":136509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f797e"} 
[2026-07-19 14:01:57] local.INFO: GPS Element Parsed {"raw_longitude":756546752,"raw_latitude":119637496,"longitude_deg":75.6546752,"latitude_deg":11.9637496,"altitude":73,"angle":52,"satellites":46,"speed":0,"hex_longitude":"2d17fcc0","hex_latitude":"072185f8","is_valid_coordinates":true} 
[2026-07-19 14:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819139072001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7186377934372864,"note":"Value kept but may cause issues"} 
[2026-07-19 14:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1728467493863159808,"note":"Value kept but may cause issues"} 
[2026-07-19 14:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784449783000,"timestamp_ms":1784449783000,"timestamp_seconds":1784449783,"priority":1,"record_length":96,"hex_timestamp":"0000019f797ed4d8"} 
[2026-07-19 14:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:01:57] 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-07-19 14:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-19 14:01:57] 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-07-19 14:01:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819139072001,"66":12863,"107":206,"83":41984,"24":0,"16":7186377934372864,"45":1728467493863159808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 14:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819139072001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:01:57] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 14:01:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7186377934372864,"km_value":7186377934372.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1728467493863159808,"description":"Unknown IO ID 45"} 
[2026-07-19 14:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819139072001,"power":12863,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1728467493863159808}} 
[2026-07-19 14:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":136509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:01:57] local.INFO: GPS data processed {"connection_id":136509,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:01:57] local.INFO: Acknowledgment sent {"connection_id":136509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:02:08] local.INFO: TCP Data received {"connection_id":136508,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:02:08] local.INFO: Processing buffer {"connection_id":136508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:02:08] local.INFO: Packet analysis {"connection_id":136508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 14:02:08] local.INFO: Extracted packet for processing {"connection_id":136508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 14:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819039232001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:02: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-07-19 14:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784449673000,"timestamp_ms":1784449673000,"timestamp_seconds":1784449673,"priority":1,"record_length":96,"hex_timestamp":"0000019f797d2728"} 
[2026-07-19 14:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:02: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-07-19 14:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:02: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-07-19 14:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819039232001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 14:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819039232001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:02:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:02:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819039232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":136508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:02:08] local.INFO: GPS data processed {"connection_id":136508,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:02:08] local.INFO: Acknowledgment sent {"connection_id":136508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:02:28] local.INFO: TCP Data received {"connection_id":136509,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f797f26e0012d17fcc0072185f8004900342c..."} 
[2026-07-19 14:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f797f26e0012d17fcc0072185f8004900342c..."} 
[2026-07-19 14:02:28] local.INFO: Processing buffer {"connection_id":136509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f797f26e0012d17fcc0072185f8004900342c..."} 
[2026-07-19 14:02:28] local.INFO: Packet analysis {"connection_id":136509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f797f"} 
[2026-07-19 14:02:28] local.INFO: Extracted packet for processing {"connection_id":136509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f797f"} 
[2026-07-19 14:02:28] local.INFO: GPS Element Parsed {"raw_longitude":756546752,"raw_latitude":119637496,"longitude_deg":75.6546752,"latitude_deg":11.9637496,"altitude":73,"angle":52,"satellites":44,"speed":0,"hex_longitude":"2d17fcc0","hex_latitude":"072185f8","is_valid_coordinates":true} 
[2026-07-19 14:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819144448001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7186377934372864,"note":"Value kept but may cause issues"} 
[2026-07-19 14:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1728467493863159808,"note":"Value kept but may cause issues"} 
[2026-07-19 14:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784449804000,"timestamp_ms":1784449804000,"timestamp_seconds":1784449804,"priority":1,"record_length":96,"hex_timestamp":"0000019f797f26e0"} 
[2026-07-19 14:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:02: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-07-19 14:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-19 14:02:28] 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-07-19 14:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819144448001,"66":12819,"107":206,"83":41984,"24":0,"16":7186377934372864,"45":1728467493863159808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 14:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819144448001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:02:28] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 14:02:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7186377934372864,"km_value":7186377934372.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1728467493863159808,"description":"Unknown IO ID 45"} 
[2026-07-19 14:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819144448001,"power":12819,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1728467493863159808}} 
[2026-07-19 14:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":136509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:02:28] local.INFO: GPS data processed {"connection_id":136509,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:02:28] local.INFO: Acknowledgment sent {"connection_id":136509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:02:31] local.INFO: TCP Data received {"connection_id":136647,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:02:31] local.INFO: Processing buffer {"connection_id":136647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:02:31] local.INFO: IMEI packet received {"connection_id":136647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":136647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:02:36] local.INFO: TCP Data received {"connection_id":136647,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:02:36] local.INFO: Processing buffer {"connection_id":136647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:02:36] local.INFO: IMEI packet received {"connection_id":136647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":136647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:02:37] local.INFO: TCP Data received {"connection_id":136647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:02:37] local.INFO: Processing buffer {"connection_id":136647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:02:37] local.INFO: Packet analysis {"connection_id":136647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 14:02:37] local.INFO: Extracted packet for processing {"connection_id":136647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 14:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819039232001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:02: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-07-19 14:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784449673000,"timestamp_ms":1784449673000,"timestamp_seconds":1784449673,"priority":1,"record_length":96,"hex_timestamp":"0000019f797d2728"} 
[2026-07-19 14:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:02: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-07-19 14:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819039232001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 14:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819039232001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:02:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819039232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":136647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:02:37] local.INFO: GPS data processed {"connection_id":136647,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:02:37] local.INFO: Acknowledgment sent {"connection_id":136647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:02:56] local.INFO: TCP Data received {"connection_id":136510,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:02:56] local.INFO: Processing buffer {"connection_id":136510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:02:56] local.INFO: IMEI packet received {"connection_id":136510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":136510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:03:00] local.INFO: TCP Data received {"connection_id":136510,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:03:00] local.INFO: Processing buffer {"connection_id":136510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:03:00] local.INFO: IMEI packet received {"connection_id":136510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":136510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:03:01] local.INFO: TCP Data received {"connection_id":136510,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f797f78e8012d17fcc0072185f8004900342c..."} 
[2026-07-19 14:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f797f78e8012d17fcc0072185f8004900342c..."} 
[2026-07-19 14:03:01] local.INFO: Processing buffer {"connection_id":136510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f797f78e8012d17fcc0072185f8004900342c..."} 
[2026-07-19 14:03:01] local.INFO: Packet analysis {"connection_id":136510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f797f"} 
[2026-07-19 14:03:01] local.INFO: Extracted packet for processing {"connection_id":136510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f797f"} 
[2026-07-19 14:03:01] local.INFO: GPS Element Parsed {"raw_longitude":756546752,"raw_latitude":119637496,"longitude_deg":75.6546752,"latitude_deg":11.9637496,"altitude":73,"angle":52,"satellites":44,"speed":0,"hex_longitude":"2d17fcc0","hex_latitude":"072185f8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 14:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819149824001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7186377934372864,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1728467493863159808,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784449825000,"timestamp_ms":1784449825000,"timestamp_seconds":1784449825,"priority":1,"record_length":96,"hex_timestamp":"0000019f797f78e8"} 
[2026-07-19 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-07-19 14:03:01] 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-07-19 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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-19 14:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:01] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:01] local.WARNING: Large IO value detected {"io_id":135,"raw_value":4177526784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:01] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:01] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503709282795520,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:01] local.WARNING: Large IO value detected {"io_id":121,"raw_value":9000628578304916672,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:01] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2247622729,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:01] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5044295469745111296,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7668223676694921240,"corrected_to":0} 
[2026-07-19 14:03:01] local.WARNING: Large IO value detected {"io_id":140,"raw_value":3087084823,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:01] local.WARNING: Large IO value detected {"io_id":252,"raw_value":3221692805,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:01] local.WARNING: Large IO value detected {"io_id":248,"raw_value":20547897393152000,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:01] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182139515306240,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:01] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2281242624,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:01] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2415609455262577709,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:01] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-288004519206269357,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:01] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:01] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195086592,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:01] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84750342310797701,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:01] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,107,83,24,241,157,16,135,159,212,45,192,133,73,46,10,66,130,48,1,240,123,227,121,33,4,113,205,140,252,248,44,239,51,2,25,7,53,164,249,69,160],"length":625,"final_offset":755,"validated_count":42,"validation_warnings":[{"io_id":205,"original":7668223676694921240,"validated":0}]} 
[2026-07-19 14:03:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260261728351944704,"timestamp_seconds":5260261728351945.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 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-07-19 14:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819149824001,"66":12776,"107":206,"83":41984,"24":0,"16":7186377934372864,"45":1728467493863159808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 14:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819149824001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:03:01] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 14:03:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7186377934372864,"km_value":7186377934372.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1728467493863159808,"description":"Unknown IO ID 45"} 
[2026-07-19 14:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819149824001,"power":12776,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1728467493863159808}} 
[2026-07-19 14:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":136510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:03:01] local.INFO: GPS data processed {"connection_id":136510,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:03:01] local.INFO: Acknowledgment sent {"connection_id":136510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:03:02] local.INFO: TCP Data received {"connection_id":136510,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f797fcaf0012d17fcc0072185f8004900342e..."} 
[2026-07-19 14:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f797fcaf0012d17fcc0072185f8004900342e..."} 
[2026-07-19 14:03:02] local.INFO: Processing buffer {"connection_id":136510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f797fcaf0012d17fcc0072185f8004900342e..."} 
[2026-07-19 14:03:02] local.INFO: Packet analysis {"connection_id":136510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f797f"} 
[2026-07-19 14:03:02] local.INFO: Extracted packet for processing {"connection_id":136510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f797f"} 
[2026-07-19 14:03:02] local.INFO: GPS Element Parsed {"raw_longitude":756546752,"raw_latitude":119637496,"longitude_deg":75.6546752,"latitude_deg":11.9637496,"altitude":73,"angle":52,"satellites":46,"speed":0,"hex_longitude":"2d17fcc0","hex_latitude":"072185f8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819155200001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7186377934372864,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1728467493863159808,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784449846000,"timestamp_ms":1784449846000,"timestamp_seconds":1784449846,"priority":1,"record_length":96,"hex_timestamp":"0000019f797fcaf0"} 
[2026-07-19 14:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:03: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-07-19 14: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-19 14:03:02] 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-07-19 14: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-07-19 14:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819155200001,"66":12722,"107":206,"83":41984,"24":0,"16":7186377934372864,"45":1728467493863159808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 14:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819155200001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:03:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 14:03:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7186377934372864,"km_value":7186377934372.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1728467493863159808,"description":"Unknown IO ID 45"} 
[2026-07-19 14:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819155200001,"power":12722,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1728467493863159808}} 
[2026-07-19 14:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":136510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:03:02] local.INFO: GPS data processed {"connection_id":136510,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:03:02] local.INFO: Acknowledgment sent {"connection_id":136510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:03:09] local.INFO: TCP Data received {"connection_id":136647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:03:09] local.INFO: Processing buffer {"connection_id":136647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f797d2728012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:03:09] local.INFO: Packet analysis {"connection_id":136647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 14:03:09] local.INFO: Extracted packet for processing {"connection_id":136647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f797d"} 
[2026-07-19 14:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819039232001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03: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-07-19 14:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784449673000,"timestamp_ms":1784449673000,"timestamp_seconds":1784449673,"priority":1,"record_length":96,"hex_timestamp":"0000019f797d2728"} 
[2026-07-19 14:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:03: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-07-19 14:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819039232001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 14:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819039232001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:03:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:03:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819039232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":136647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:03:09] local.INFO: GPS data processed {"connection_id":136647,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:03:09] local.INFO: Acknowledgment sent {"connection_id":136647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:03:31] local.INFO: TCP Data received {"connection_id":138993,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:03:31] local.INFO: Processing buffer {"connection_id":138993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:03:31] local.INFO: IMEI packet received {"connection_id":138993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":138993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:03:32] local.INFO: TCP Data received {"connection_id":138993,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:03:32] local.INFO: Processing buffer {"connection_id":138993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:03:32] local.INFO: IMEI packet received {"connection_id":138993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":138993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:03:33] local.INFO: TCP Data received {"connection_id":136510,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79801cf8012d17fcc0072185f8004900342d..."} 
[2026-07-19 14:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79801cf8012d17fcc0072185f8004900342d..."} 
[2026-07-19 14:03:33] local.INFO: Processing buffer {"connection_id":136510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79801cf8012d17fcc0072185f8004900342d..."} 
[2026-07-19 14:03:33] local.INFO: Packet analysis {"connection_id":136510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7980"} 
[2026-07-19 14:03:33] local.INFO: Extracted packet for processing {"connection_id":136510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7980"} 
[2026-07-19 14:03:33] local.INFO: GPS Element Parsed {"raw_longitude":756546752,"raw_latitude":119637496,"longitude_deg":75.6546752,"latitude_deg":11.9637496,"altitude":73,"angle":52,"satellites":45,"speed":0,"hex_longitude":"2d17fcc0","hex_latitude":"072185f8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 14:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819160576001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7186377934372864,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1728467493863159808,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784449867000,"timestamp_ms":1784449867000,"timestamp_seconds":1784449867,"priority":1,"record_length":96,"hex_timestamp":"0000019f79801cf8"} 
[2026-07-19 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-07-19 14:03:33] 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-07-19 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-19 14:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 14:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":136510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":136510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":136510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819160576001,"66":12711,"107":206,"83":41984,"24":0,"16":7186377934372864,"45":1728467493863159808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 14:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819160576001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:03:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 14:03:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7186377934372864,"km_value":7186377934372.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1728467493863159808,"description":"Unknown IO ID 45"} 
[2026-07-19 14:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819160576001,"power":12711,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1728467493863159808}} 
[2026-07-19 14:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":136510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:03:33] local.INFO: GPS data processed {"connection_id":136510,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:03:33] local.INFO: Acknowledgment sent {"connection_id":136510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:03:36] local.INFO: TCP Data received {"connection_id":138993,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:03:36] local.INFO: Processing buffer {"connection_id":138993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:03:36] local.INFO: IMEI packet received {"connection_id":138993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":138993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:03:37] local.INFO: TCP Data received {"connection_id":138993,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:03:37] local.INFO: Processing buffer {"connection_id":138993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:03:37] local.INFO: Packet analysis {"connection_id":138993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:03:37] local.INFO: Extracted packet for processing {"connection_id":138993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:03:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819116288001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03: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-07-19 14:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784449974000,"timestamp_ms":1784449974000,"timestamp_seconds":1784449974,"priority":1,"record_length":96,"hex_timestamp":"0000019f7981bef0"} 
[2026-07-19 14:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:03: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-07-19 14:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819116288001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 14:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819116288001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:03:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:03:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819116288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":138993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:03:37] local.INFO: GPS data processed {"connection_id":138993,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:03:37] local.INFO: Acknowledgment sent {"connection_id":138993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:03:41] local.INFO: TCP Data received {"connection_id":138993,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:03:41] local.INFO: Processing buffer {"connection_id":138993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:03:41] local.INFO: Packet analysis {"connection_id":138993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:03:41] local.INFO: Extracted packet for processing {"connection_id":138993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:03:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819116288001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784449974000,"timestamp_ms":1784449974000,"timestamp_seconds":1784449974,"priority":1,"record_length":96,"hex_timestamp":"0000019f7981bef0"} 
[2026-07-19 14:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":138993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":138993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":138993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819116288001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 14:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819116288001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:03:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:03:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819116288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":138993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:03:41] local.INFO: GPS data processed {"connection_id":138993,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:03:41] local.INFO: Acknowledgment sent {"connection_id":138993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:03:51] local.INFO: TCP Data received {"connection_id":137596,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:03:51] local.INFO: Processing buffer {"connection_id":137596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:03:51] local.INFO: IMEI packet received {"connection_id":137596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":137596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:03:52] local.INFO: TCP Data received {"connection_id":137596,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:03:52] local.INFO: Processing buffer {"connection_id":137596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:03:52] local.INFO: IMEI packet received {"connection_id":137596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":137596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:03:56] local.INFO: TCP Data received {"connection_id":137596,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:03:56] local.INFO: Processing buffer {"connection_id":137596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:03:56] local.INFO: IMEI packet received {"connection_id":137596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":137596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:03:57] local.INFO: TCP Data received {"connection_id":137596,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79806f00012d17fcc0072185f8004900342d..."} 
[2026-07-19 14:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79806f00012d17fcc0072185f8004900342d..."} 
[2026-07-19 14:03:57] local.INFO: Processing buffer {"connection_id":137596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79806f00012d17fcc0072185f8004900342d..."} 
[2026-07-19 14:03:57] local.INFO: Packet analysis {"connection_id":137596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7980"} 
[2026-07-19 14:03:57] local.INFO: Extracted packet for processing {"connection_id":137596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7980"} 
[2026-07-19 14:03:57] local.INFO: GPS Element Parsed {"raw_longitude":756546752,"raw_latitude":119637496,"longitude_deg":75.6546752,"latitude_deg":11.9637496,"altitude":73,"angle":52,"satellites":45,"speed":0,"hex_longitude":"2d17fcc0","hex_latitude":"072185f8","is_valid_coordinates":true} 
[2026-07-19 14:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819165952001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7186377934372864,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1728467493863159808,"note":"Value kept but may cause issues"} 
[2026-07-19 14:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784449888000,"timestamp_ms":1784449888000,"timestamp_seconds":1784449888,"priority":1,"record_length":96,"hex_timestamp":"0000019f79806f00"} 
[2026-07-19 14:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-19 14:03:57] 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-07-19 14:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819165952001,"66":12645,"107":206,"83":41984,"24":0,"16":7186377934372864,"45":1728467493863159808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 14:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819165952001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:03:57] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 14:03:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7186377934372864,"km_value":7186377934372.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1728467493863159808,"description":"Unknown IO ID 45"} 
[2026-07-19 14:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819165952001,"power":12645,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1728467493863159808}} 
[2026-07-19 14:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":137596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:03:57] local.INFO: GPS data processed {"connection_id":137596,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:03:57] local.INFO: Acknowledgment sent {"connection_id":137596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:04:01] local.INFO: TCP Data received {"connection_id":137596,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7980c108012d17fcc0072185f8004900342e..."} 
[2026-07-19 14:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7980c108012d17fcc0072185f8004900342e..."} 
[2026-07-19 14:04:01] local.INFO: Processing buffer {"connection_id":137596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7980c108012d17fcc0072185f8004900342e..."} 
[2026-07-19 14:04:01] local.INFO: Packet analysis {"connection_id":137596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7980"} 
[2026-07-19 14:04:01] local.INFO: Extracted packet for processing {"connection_id":137596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7980"} 
[2026-07-19 14:04:01] local.INFO: GPS Element Parsed {"raw_longitude":756546752,"raw_latitude":119637496,"longitude_deg":75.6546752,"latitude_deg":11.9637496,"altitude":73,"angle":52,"satellites":46,"speed":0,"hex_longitude":"2d17fcc0","hex_latitude":"072185f8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819171328001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7186377934372864,"note":"Value kept but may cause issues"} 
[2026-07-19 14:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1728467493863159808,"note":"Value kept but may cause issues"} 
[2026-07-19 14:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784449909000,"timestamp_ms":1784449909000,"timestamp_seconds":1784449909,"priority":1,"record_length":96,"hex_timestamp":"0000019f7980c108"} 
[2026-07-19 14:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:04:01] 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-07-19 14: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-19 14:04:01] 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-07-19 14: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-07-19 14:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819171328001,"66":13863,"107":206,"83":41984,"24":0,"16":7186377934372864,"45":1728467493863159808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 14:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819171328001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:04:01] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 14:04:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7186377934372864,"km_value":7186377934372.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1728467493863159808,"description":"Unknown IO ID 45"} 
[2026-07-19 14:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819171328001,"power":13863,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1728467493863159808}} 
[2026-07-19 14:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":137596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:04:02] local.INFO: GPS data processed {"connection_id":137596,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:04:02] local.INFO: Acknowledgment sent {"connection_id":137596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:04:12] local.INFO: TCP Data received {"connection_id":138993,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:04:12] local.INFO: Processing buffer {"connection_id":138993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:04:12] local.INFO: Packet analysis {"connection_id":138993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:04:12] local.INFO: Extracted packet for processing {"connection_id":138993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:04:12] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819116288001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:04: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-07-19 14:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784449974000,"timestamp_ms":1784449974000,"timestamp_seconds":1784449974,"priority":1,"record_length":96,"hex_timestamp":"0000019f7981bef0"} 
[2026-07-19 14:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":138993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":138993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":138993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:04: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-07-19 14:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819116288001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 14:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819116288001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:04:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:04:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819116288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":138993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:04:12] local.INFO: GPS data processed {"connection_id":138993,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:04:12] local.INFO: Acknowledgment sent {"connection_id":138993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:04:31] local.INFO: TCP Data received {"connection_id":136512,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:04:31] local.INFO: Processing buffer {"connection_id":136512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:04:31] local.INFO: IMEI packet received {"connection_id":136512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":136512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:04:32] local.INFO: TCP Data received {"connection_id":137596,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79811310012d17fcc0072185f8004900342c..."} 
[2026-07-19 14:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79811310012d17fcc0072185f8004900342c..."} 
[2026-07-19 14:04:32] local.INFO: Processing buffer {"connection_id":137596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79811310012d17fcc0072185f8004900342c..."} 
[2026-07-19 14:04:32] local.INFO: Packet analysis {"connection_id":137596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:04:32] local.INFO: Extracted packet for processing {"connection_id":137596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:04:32] local.INFO: GPS Element Parsed {"raw_longitude":756546752,"raw_latitude":119637496,"longitude_deg":75.6546752,"latitude_deg":11.9637496,"altitude":73,"angle":52,"satellites":44,"speed":0,"hex_longitude":"2d17fcc0","hex_latitude":"072185f8","is_valid_coordinates":true} 
[2026-07-19 14:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819176704001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7186377934372864,"note":"Value kept but may cause issues"} 
[2026-07-19 14:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1728467493863159808,"note":"Value kept but may cause issues"} 
[2026-07-19 14:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784449930000,"timestamp_ms":1784449930000,"timestamp_seconds":1784449930,"priority":1,"record_length":96,"hex_timestamp":"0000019f79811310"} 
[2026-07-19 14:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-07-19 14:04:32] 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-07-19 14:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":137596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":137596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":137596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819176704001,"66":13993,"107":206,"83":41984,"24":0,"16":7186377934372864,"45":1728467493863159808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 14:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819176704001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:04:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 14:04:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7186377934372864,"km_value":7186377934372.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1728467493863159808,"description":"Unknown IO ID 45"} 
[2026-07-19 14:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819176704001,"power":13993,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1728467493863159808}} 
[2026-07-19 14:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":137596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:04:33] local.INFO: GPS data processed {"connection_id":137596,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:04:33] local.INFO: Acknowledgment sent {"connection_id":137596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:04:36] local.INFO: TCP Data received {"connection_id":136512,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:04:36] local.INFO: Processing buffer {"connection_id":136512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:04:36] local.INFO: IMEI packet received {"connection_id":136512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":136512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:04:37] local.INFO: TCP Data received {"connection_id":136512,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:04:37] local.INFO: Processing buffer {"connection_id":136512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:04:37] local.INFO: Packet analysis {"connection_id":136512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:04:37] local.INFO: Extracted packet for processing {"connection_id":136512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819116288001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:04: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-07-19 14:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784449974000,"timestamp_ms":1784449974000,"timestamp_seconds":1784449974,"priority":1,"record_length":96,"hex_timestamp":"0000019f7981bef0"} 
[2026-07-19 14:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:04: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-07-19 14:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819116288001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 14:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819116288001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:04:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819116288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":136512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:04:37] local.INFO: GPS data processed {"connection_id":136512,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:04:37] local.INFO: Acknowledgment sent {"connection_id":136512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:04:51] local.INFO: TCP Data received {"connection_id":136648,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:04:51] local.INFO: Processing buffer {"connection_id":136648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:04:51] local.INFO: IMEI packet received {"connection_id":136648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":136648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:04:55] local.INFO: TCP Data received {"connection_id":136648,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:04:55] local.INFO: Processing buffer {"connection_id":136648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:04:55] local.INFO: IMEI packet received {"connection_id":136648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":136648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:04:56] local.INFO: TCP Data received {"connection_id":136648,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f798141f0012d17fe00072185d8004f00422e..."} 
[2026-07-19 14:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798141f0012d17fe00072185d8004f00422e..."} 
[2026-07-19 14:04:56] local.INFO: Processing buffer {"connection_id":136648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798141f0012d17fe00072185d8004f00422e..."} 
[2026-07-19 14:04:56] local.INFO: Packet analysis {"connection_id":136648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:04:56] local.INFO: Extracted packet for processing {"connection_id":136648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:04:56] local.INFO: GPS Element Parsed {"raw_longitude":756547072,"raw_latitude":119637464,"longitude_deg":75.6547072,"latitude_deg":11.9637464,"altitude":79,"angle":66,"satellites":46,"speed":3,"hex_longitude":"2d17fe00","hex_latitude":"072185d8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819182080001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7186390819274752,"note":"Value kept but may cause issues"} 
[2026-07-19 14:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1728467493863159808,"note":"Value kept but may cause issues"} 
[2026-07-19 14:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784449942000,"timestamp_ms":1784449942000,"timestamp_seconds":1784449942,"priority":1,"record_length":96,"hex_timestamp":"0000019f798141f0"} 
[2026-07-19 14:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:04: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-07-19 14: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":169,"data_length":795,"current_offset":136} 
[2026-07-19 14:04: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-07-19 14: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-07-19 14:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819182080001,"66":13624,"107":206,"83":41984,"24":3,"16":7186390819274752,"45":1728467493863159808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-19 14:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819182080001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:04:56] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-19 14:04:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7186390819274752,"km_value":7186390819274.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1728467493863159808,"description":"Unknown IO ID 45"} 
[2026-07-19 14:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819182080001,"power":13624,"unknown_107":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1728467493863159808}} 
[2026-07-19 14:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":136648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:04:56] local.INFO: GPS data processed {"connection_id":136648,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:04:56] local.INFO: Acknowledgment sent {"connection_id":136648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:05:09] local.INFO: TCP Data received {"connection_id":136512,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:05:09] local.INFO: Processing buffer {"connection_id":136512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:05:09] local.INFO: Packet analysis {"connection_id":136512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:05:09] local.INFO: Extracted packet for processing {"connection_id":136512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819116288001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14: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-07-19 14:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784449974000,"timestamp_ms":1784449974000,"timestamp_seconds":1784449974,"priority":1,"record_length":96,"hex_timestamp":"0000019f7981bef0"} 
[2026-07-19 14:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:05: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-07-19 14:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:05: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-07-19 14:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819116288001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 14:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819116288001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:05:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819116288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":136512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:05:09] local.INFO: GPS data processed {"connection_id":136512,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:05:09] local.INFO: Acknowledgment sent {"connection_id":136512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:05:27] local.INFO: TCP Data received {"connection_id":136648,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79818840012d180140072187b0004e00362e..."} 
[2026-07-19 14:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79818840012d180140072187b0004e00362e..."} 
[2026-07-19 14:05:27] local.INFO: Processing buffer {"connection_id":136648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79818840012d180140072187b0004e00362e..."} 
[2026-07-19 14:05:27] local.INFO: Packet analysis {"connection_id":136648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:05:27] local.INFO: Extracted packet for processing {"connection_id":136648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:05:27] local.INFO: GPS Element Parsed {"raw_longitude":756547904,"raw_latitude":119637936,"longitude_deg":75.6547904,"latitude_deg":11.9637936,"altitude":78,"angle":54,"satellites":46,"speed":9,"hex_longitude":"2d180140","hex_latitude":"072187b0","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819185152001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7186446653849600,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1728819337584039936,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784449960000,"timestamp_ms":1784449960000,"timestamp_seconds":1784449960,"priority":1,"record_length":96,"hex_timestamp":"0000019f79818840"} 
[2026-07-19 14:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-19 14:05:27] 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-07-19 14: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-07-19 14:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819185152001,"66":13330,"105":206,"83":41984,"24":9,"16":7186446653849600,"45":1728819337584039936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 14:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819185152001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:05:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 14:05:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7186446653849600,"km_value":7186446653849.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1728819337584039936,"description":"Unknown IO ID 45"} 
[2026-07-19 14:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819185152001,"power":13330,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1728819337584039936}} 
[2026-07-19 14:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":136648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:05:27] local.INFO: GPS data processed {"connection_id":136648,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:05:27] local.INFO: Acknowledgment sent {"connection_id":136648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:05:31] local.INFO: TCP Data received {"connection_id":136513,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:05:31] local.INFO: Processing buffer {"connection_id":136513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:05:31] local.INFO: IMEI packet received {"connection_id":136513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":136513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:05:36] local.INFO: TCP Data received {"connection_id":136513,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:05:36] local.INFO: Processing buffer {"connection_id":136513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:05:36] local.INFO: IMEI packet received {"connection_id":136513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":136513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:05:37] local.INFO: TCP Data received {"connection_id":136513,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:05:37] local.INFO: Processing buffer {"connection_id":136513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:05:37] local.INFO: Packet analysis {"connection_id":136513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:05:37] local.INFO: Extracted packet for processing {"connection_id":136513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819116288001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05: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-07-19 14:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784449974000,"timestamp_ms":1784449974000,"timestamp_seconds":1784449974,"priority":1,"record_length":96,"hex_timestamp":"0000019f7981bef0"} 
[2026-07-19 14:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:05: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-07-19 14:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819116288001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 14:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819116288001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:05:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819116288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":136513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:05:37] local.INFO: GPS data processed {"connection_id":136513,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:05:37] local.INFO: Acknowledgment sent {"connection_id":136513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:05:51] local.INFO: TCP Data received {"connection_id":136514,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:05:51] local.INFO: Processing buffer {"connection_id":136514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:05:51] local.INFO: IMEI packet received {"connection_id":136514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":136514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:05:51] local.INFO: TCP Data received {"connection_id":138994,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:05:51] local.INFO: Processing buffer {"connection_id":138994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:05:51] local.INFO: IMEI packet received {"connection_id":138994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 14:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":138994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:05:56] local.INFO: TCP Data received {"connection_id":136514,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:05:56] local.INFO: Processing buffer {"connection_id":136514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:05:56] local.INFO: IMEI packet received {"connection_id":136514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":136514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:05:57] local.INFO: TCP Data received {"connection_id":136514,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7981a398012d180b4007219108004d002a2d..."} 
[2026-07-19 14:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7981a398012d180b4007219108004d002a2d..."} 
[2026-07-19 14:05:57] local.INFO: Processing buffer {"connection_id":136514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7981a398012d180b4007219108004d002a2d..."} 
[2026-07-19 14:05:57] local.INFO: Packet analysis {"connection_id":136514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:05:57] local.INFO: Extracted packet for processing {"connection_id":136514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:05:57] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119640328,"longitude_deg":75.6550464,"latitude_deg":11.9640328,"altitude":77,"angle":42,"satellites":45,"speed":28,"hex_longitude":"2d180b40","hex_latitude":"07219108","is_valid_coordinates":true} 
[2026-07-19 14:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819189760001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7186614157574144,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1729734131258470400,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784449967000,"timestamp_ms":1784449967000,"timestamp_seconds":1784449967,"priority":1,"record_length":96,"hex_timestamp":"0000019f7981a398"} 
[2026-07-19 14:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:05:57] 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-07-19 14:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-19 14:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:57] local.WARNING: Large IO value detected {"io_id":135,"raw_value":4177526784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249343557854660088,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2154758145,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:57] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-8793277958904861696,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-07-19 14:05:57] local.WARNING: Large IO value detected {"io_id":28,"raw_value":4160826647,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:57] local.WARNING: Large IO value detected {"io_id":252,"raw_value":3221692805,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:57] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847658,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2281242624,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:57] local.WARNING: Large IO value detected {"io_id":178,"raw_value":57819378033251236,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:57] local.WARNING: Large IO value detected {"io_id":127,"raw_value":8712214772335820807,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:57] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:57] local.WARNING: Large IO value detected {"io_id":70,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-19 14:05:57] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,105,83,24,241,157,16,136,159,65,45,133,79,46,10,66,107,135,19,192,73,44,193,1,240,39,227,121,33,4,113,205,28,252,248,239,49,2,25,7,178,127,106,70],"length":626,"final_offset":756,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-07-19 14:05:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620551906155364352,"timestamp_seconds":5620551906155364.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 14:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819189760001,"66":13352,"105":206,"83":41984,"24":28,"16":7186614157574144,"45":1729734131258470400},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 14:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819189760001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:05:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 14:05:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7186614157574144,"km_value":7186614157574.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1729734131258470400,"description":"Unknown IO ID 45"} 
[2026-07-19 14:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819189760001,"power":13352,"unknown_105":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1729734131258470400}} 
[2026-07-19 14:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":136514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:05:57] local.INFO: GPS data processed {"connection_id":136514,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:05:57] local.INFO: Acknowledgment sent {"connection_id":136514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:06:08] local.INFO: TCP Data received {"connection_id":136513,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:06:08] local.INFO: Processing buffer {"connection_id":136513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:06:08] local.INFO: Packet analysis {"connection_id":136513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:06:08] local.INFO: Extracted packet for processing {"connection_id":136513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819116288001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:06: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-07-19 14:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784449974000,"timestamp_ms":1784449974000,"timestamp_seconds":1784449974,"priority":1,"record_length":96,"hex_timestamp":"0000019f7981bef0"} 
[2026-07-19 14:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:06: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-07-19 14: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-07-19 14:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:06: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-07-19 14:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819116288001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 14:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819116288001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:06:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:06:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819116288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":136513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:06:08] local.INFO: GPS data processed {"connection_id":136513,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:06:08] local.INFO: Acknowledgment sent {"connection_id":136513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:06:26] local.INFO: TCP Data received {"connection_id":137597,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137597,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:06:26] local.INFO: Processing buffer {"connection_id":137597,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:06:26] local.INFO: IMEI packet received {"connection_id":137597,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 14:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":137597,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:06:28] local.INFO: TCP Data received {"connection_id":136514,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7981d660012d181fc00721aea8004d00202b..."} 
[2026-07-19 14:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7981d660012d181fc00721aea8004d00202b..."} 
[2026-07-19 14:06:28] local.INFO: Processing buffer {"connection_id":136514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7981d660012d181fc00721aea8004d00202b..."} 
[2026-07-19 14:06:28] local.INFO: Packet analysis {"connection_id":136514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:06:28] local.INFO: Extracted packet for processing {"connection_id":136514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119647912,"longitude_deg":75.6555712,"latitude_deg":11.9647912,"altitude":77,"angle":32,"satellites":43,"speed":16,"hex_longitude":"2d181fc0","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-07-19 14:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819191552001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7187056539205632,"note":"Value kept but may cause issues"} 
[2026-07-19 14:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881026189312,"note":"Value kept but may cause issues"} 
[2026-07-19 14:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784449980000,"timestamp_ms":1784449980000,"timestamp_seconds":1784449980,"priority":1,"record_length":96,"hex_timestamp":"0000019f7981d660"} 
[2026-07-19 14:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:06:28] 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-07-19 14:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-19 14:06: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-07-19 14:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819191552001,"66":13276,"105":206,"83":41984,"24":16,"16":7187056539205632,"45":1732548881026189312},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 14:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819191552001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:06:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 14:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7187056539205632,"km_value":7187056539205.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881026189312,"description":"Unknown IO ID 45"} 
[2026-07-19 14:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819191552001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1732548881026189312}} 
[2026-07-19 14:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":136514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:06:28] local.INFO: GPS data processed {"connection_id":136514,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:06:28] local.INFO: Acknowledgment sent {"connection_id":136514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:06:31] local.INFO: TCP Data received {"connection_id":136649,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:06:31] local.INFO: Processing buffer {"connection_id":136649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:06:31] local.INFO: IMEI packet received {"connection_id":136649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":136649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:06:36] local.INFO: TCP Data received {"connection_id":136649,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:06:36] local.INFO: Processing buffer {"connection_id":136649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:06:36] local.INFO: IMEI packet received {"connection_id":136649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":136649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:06:37] local.INFO: TCP Data received {"connection_id":136649,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:06:37] local.INFO: Processing buffer {"connection_id":136649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:06:37] local.INFO: Packet analysis {"connection_id":136649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:06:37] local.INFO: Extracted packet for processing {"connection_id":136649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819116288001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:06: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-07-19 14:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784449974000,"timestamp_ms":1784449974000,"timestamp_seconds":1784449974,"priority":1,"record_length":96,"hex_timestamp":"0000019f7981bef0"} 
[2026-07-19 14:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:06: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-07-19 14:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819116288001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 14:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819116288001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:06:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819116288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":136649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:06:37] local.INFO: GPS data processed {"connection_id":136649,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:06:37] local.INFO: Acknowledgment sent {"connection_id":136649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:06:51] local.INFO: TCP Data received {"connection_id":136515,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:06:51] local.INFO: Processing buffer {"connection_id":136515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:06:51] local.INFO: IMEI packet received {"connection_id":136515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":136515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:06:56] local.INFO: TCP Data received {"connection_id":136515,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:06:56] local.INFO: Processing buffer {"connection_id":136515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:06:56] local.INFO: IMEI packet received {"connection_id":136515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":136515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:06:57] local.INFO: TCP Data received {"connection_id":136515,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7981da48012d1820400721afd8004d00142b..."} 
[2026-07-19 14:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7981da48012d1820400721afd8004d00142b..."} 
[2026-07-19 14:06:57] local.INFO: Processing buffer {"connection_id":136515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7981da48012d1820400721afd8004d00142b..."} 
[2026-07-19 14:06:57] local.INFO: Packet analysis {"connection_id":136515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:06:57] local.INFO: Extracted packet for processing {"connection_id":136515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:06:57] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648216,"longitude_deg":75.655584,"latitude_deg":11.9648216,"altitude":77,"angle":20,"satellites":43,"speed":11,"hex_longitude":"2d182040","hex_latitude":"0721afd8","is_valid_coordinates":true} 
[2026-07-19 14:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819194880001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7187073719074816,"note":"Value kept but may cause issues"} 
[2026-07-19 14:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050699264,"note":"Value kept but may cause issues"} 
[2026-07-19 14:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784449981000,"timestamp_ms":1784449981000,"timestamp_seconds":1784449981,"priority":1,"record_length":96,"hex_timestamp":"0000019f7981da48"} 
[2026-07-19 14:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:06:57] 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-07-19 14:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-19 14:06:57] 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-07-19 14:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819194880001,"66":13276,"105":206,"83":41984,"24":11,"16":7187073719074816,"45":1738319118050699264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 14:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819194880001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:06:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 14:06:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7187073719074816,"km_value":7187073719074.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050699264,"description":"Unknown IO ID 45"} 
[2026-07-19 14:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819194880001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1738319118050699264}} 
[2026-07-19 14:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":136515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:06:57] local.INFO: GPS data processed {"connection_id":136515,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:06:57] local.INFO: Acknowledgment sent {"connection_id":136515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:07:08] local.INFO: TCP Data received {"connection_id":136649,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:07:08] local.INFO: Processing buffer {"connection_id":136649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:07:08] local.INFO: Packet analysis {"connection_id":136649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:07:08] local.INFO: Extracted packet for processing {"connection_id":136649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819116288001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14: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-07-19 14:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784449974000,"timestamp_ms":1784449974000,"timestamp_seconds":1784449974,"priority":1,"record_length":96,"hex_timestamp":"0000019f7981bef0"} 
[2026-07-19 14:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:07: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-07-19 14: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-07-19 14:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14: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-07-19 14:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819116288001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 14:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819116288001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:07:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819116288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":136649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:07:08] local.INFO: GPS data processed {"connection_id":136649,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:07:08] local.INFO: Acknowledgment sent {"connection_id":136649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:07:28] local.INFO: TCP Data received {"connection_id":136515,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7981de30012d1820400721b0c0004d015f2c..."} 
[2026-07-19 14:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7981de30012d1820400721b0c0004d015f2c..."} 
[2026-07-19 14:07:28] local.INFO: Processing buffer {"connection_id":136515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7981de30012d1820400721b0c0004d015f2c..."} 
[2026-07-19 14:07:28] local.INFO: Packet analysis {"connection_id":136515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:07:28] local.INFO: Extracted packet for processing {"connection_id":136515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648448,"longitude_deg":75.655584,"latitude_deg":11.9648448,"altitude":77,"angle":351,"satellites":44,"speed":7,"hex_longitude":"2d182040","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819195136001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7187086603976704,"note":"Value kept but may cause issues"} 
[2026-07-19 14:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539132416,"note":"Value kept but may cause issues"} 
[2026-07-19 14:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784449982000,"timestamp_ms":1784449982000,"timestamp_seconds":1784449982,"priority":1,"record_length":96,"hex_timestamp":"0000019f7981de30"} 
[2026-07-19 14:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:07:28] 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-07-19 14: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-19 14:07:28] 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-07-19 14: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-07-19 14:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819195136001,"66":13319,"105":206,"83":41984,"24":7,"16":7187086603976704,"45":1738459855539132416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 14:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819195136001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:07:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 14:07:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7187086603976704,"km_value":7187086603976.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539132416,"description":"Unknown IO ID 45"} 
[2026-07-19 14:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819195136001,"power":13319,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738459855539132416}} 
[2026-07-19 14:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":136515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:07:28] local.INFO: GPS data processed {"connection_id":136515,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:07:28] local.INFO: Acknowledgment sent {"connection_id":136515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:07:31] local.INFO: TCP Data received {"connection_id":136650,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:07:31] local.INFO: Processing buffer {"connection_id":136650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:07:31] local.INFO: IMEI packet received {"connection_id":136650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":136650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:07:36] local.INFO: TCP Data received {"connection_id":136650,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:07:36] local.INFO: Processing buffer {"connection_id":136650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:07:36] local.INFO: IMEI packet received {"connection_id":136650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":136650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:07:37] local.INFO: TCP Data received {"connection_id":136650,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:07:37] local.INFO: Processing buffer {"connection_id":136650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:07:37] local.INFO: Packet analysis {"connection_id":136650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:07:37] local.INFO: Extracted packet for processing {"connection_id":136650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819116288001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:07: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-07-19 14:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784449974000,"timestamp_ms":1784449974000,"timestamp_seconds":1784449974,"priority":1,"record_length":96,"hex_timestamp":"0000019f7981bef0"} 
[2026-07-19 14:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:07: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-07-19 14:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819116288001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 14:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819116288001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819116288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":136650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:07:37] local.INFO: GPS data processed {"connection_id":136650,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:07:37] local.INFO: Acknowledgment sent {"connection_id":136650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:07:51] local.INFO: TCP Data received {"connection_id":137598,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:07:51] local.INFO: Processing buffer {"connection_id":137598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:07:51] local.INFO: IMEI packet received {"connection_id":137598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":137598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:07:56] local.INFO: TCP Data received {"connection_id":137598,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:07:56] local.INFO: Processing buffer {"connection_id":137598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:07:56] local.INFO: IMEI packet received {"connection_id":137598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":137598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:07:57] local.INFO: TCP Data received {"connection_id":137598,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79820d10012d181f400721afd0004d00d72e..."} 
[2026-07-19 14:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79820d10012d181f400721afd0004d00d72e..."} 
[2026-07-19 14:07:57] local.INFO: Processing buffer {"connection_id":137598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79820d10012d181f400721afd0004d00d72e..."} 
[2026-07-19 14:07:57] local.INFO: Packet analysis {"connection_id":137598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7982"} 
[2026-07-19 14:07:57] local.INFO: Extracted packet for processing {"connection_id":137598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7982"} 
[2026-07-19 14:07:57] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648208,"longitude_deg":75.6555584,"latitude_deg":11.9648208,"altitude":77,"angle":215,"satellites":46,"speed":6,"hex_longitude":"2d181f40","hex_latitude":"0721afd0","is_valid_coordinates":true} 
[2026-07-19 14:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819195392001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7187129553649664,"note":"Value kept but may cause issues"} 
[2026-07-19 14:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539191808,"note":"Value kept but may cause issues"} 
[2026-07-19 14:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784449994000,"timestamp_ms":1784449994000,"timestamp_seconds":1784449994,"priority":1,"record_length":96,"hex_timestamp":"0000019f79820d10"} 
[2026-07-19 14:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:07:57] 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-07-19 14:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-19 14:07:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 14:07:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 14:07:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-07-19 14:07:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2173190145,"note":"Value kept but may cause issues"} 
[2026-07-19 14:07:57] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-8793277958904861184,"note":"Value kept but may cause issues"} 
[2026-07-19 14:07:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-19 14:07:57] local.WARNING: Large IO value detected {"io_id":65,"raw_value":4026608919,"note":"Value kept but may cause issues"} 
[2026-07-19 14:07:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2281439232,"note":"Value kept but may cause issues"} 
[2026-07-19 14:07:57] local.WARNING: Large IO value detected {"io_id":169,"raw_value":57819378033251236,"note":"Value kept but may cause issues"} 
[2026-07-19 14:07:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":-4537375331388178425,"note":"Value kept but may cause issues"} 
[2026-07-19 14:07:57] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,105,83,24,241,157,16,136,159,218,45,64,175,77,43,10,66,214,192,174,163,1,240,40,227,121,33,4,113,205,9,65,254,216,46,239,53,107,2,25,7,73,169,128],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-19 14:07:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548820858480820224,"timestamp_seconds":5548820858480820.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 14:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819195392001,"66":13276,"105":206,"83":41984,"24":6,"16":7187129553649664,"45":1738459855539191808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 14:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819195392001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:07:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 14:07:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7187129553649664,"km_value":7187129553649.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539191808,"description":"Unknown IO ID 45"} 
[2026-07-19 14:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819195392001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1738459855539191808}} 
[2026-07-19 14:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":137598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:07:57] local.INFO: GPS data processed {"connection_id":137598,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:07:57] local.INFO: Acknowledgment sent {"connection_id":137598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:08:09] local.INFO: TCP Data received {"connection_id":136650,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:08:09] local.INFO: Processing buffer {"connection_id":136650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7981bef0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:08:09] local.INFO: Packet analysis {"connection_id":136650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:08:09] local.INFO: Extracted packet for processing {"connection_id":136650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7981"} 
[2026-07-19 14:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819116288001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:08: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-07-19 14:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784449974000,"timestamp_ms":1784449974000,"timestamp_seconds":1784449974,"priority":1,"record_length":96,"hex_timestamp":"0000019f7981bef0"} 
[2026-07-19 14:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:08: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-07-19 14:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:08: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-07-19 14:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819116288001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 14:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819116288001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:08:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819116288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":136650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:08:09] local.INFO: GPS data processed {"connection_id":136650,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:08:09] local.INFO: Acknowledgment sent {"connection_id":136650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:08:28] local.INFO: TCP Data received {"connection_id":137598,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79859368012d181ec00721af28004c00d72b..."} 
[2026-07-19 14:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79859368012d181ec00721af28004c00d72b..."} 
[2026-07-19 14:08:28] local.INFO: Processing buffer {"connection_id":137598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79859368012d181ec00721af28004c00d72b..."} 
[2026-07-19 14:08:28] local.INFO: Packet analysis {"connection_id":137598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7985"} 
[2026-07-19 14:08:28] local.INFO: Extracted packet for processing {"connection_id":137598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7985"} 
[2026-07-19 14:08:28] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648040,"longitude_deg":75.6555456,"latitude_deg":11.964804,"altitude":76,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af28","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819252224001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7187138143584256,"note":"Value kept but may cause issues"} 
[2026-07-19 14:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074021376,"note":"Value kept but may cause issues"} 
[2026-07-19 14:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784450225000,"timestamp_ms":1784450225000,"timestamp_seconds":1784450225,"priority":1,"record_length":96,"hex_timestamp":"0000019f79859368"} 
[2026-07-19 14:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:08:28] 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-07-19 14: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-19 14:08:28] 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-07-19 14: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-07-19 14:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819252224001,"66":12928,"105":206,"83":41984,"24":0,"16":7187138143584256,"45":1738037643074021376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 14:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819252224001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:08:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 14:08:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7187138143584256,"km_value":7187138143584.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074021376,"description":"Unknown IO ID 45"} 
[2026-07-19 14:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819252224001,"power":12928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074021376}} 
[2026-07-19 14:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":137598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:08:28] local.INFO: GPS data processed {"connection_id":137598,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:08:28] local.INFO: Acknowledgment sent {"connection_id":137598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:08:33] local.INFO: TCP Data received {"connection_id":137599,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:08:33] local.INFO: Processing buffer {"connection_id":137599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:08:33] local.INFO: IMEI packet received {"connection_id":137599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":137599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:08:36] local.INFO: TCP Data received {"connection_id":137599,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:08:36] local.INFO: Processing buffer {"connection_id":137599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:08:36] local.INFO: IMEI packet received {"connection_id":137599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":137599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:08:41] local.INFO: TCP Data received {"connection_id":137599,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:08:41] local.INFO: Processing buffer {"connection_id":137599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:08:41] local.INFO: IMEI packet received {"connection_id":137599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":137599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:08:43] local.INFO: TCP Data received {"connection_id":137599,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:08:43] local.INFO: Processing buffer {"connection_id":137599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:08:43] local.INFO: Packet analysis {"connection_id":137599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:08:43] local.INFO: Extracted packet for processing {"connection_id":137599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:08:43] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819193344001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:08: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-07-19 14:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784450275000,"timestamp_ms":1784450275000,"timestamp_seconds":1784450275,"priority":1,"record_length":96,"hex_timestamp":"0000019f798656b8"} 
[2026-07-19 14:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819193344001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 14:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819193344001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:08:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:08:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819193344001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":137599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:08:43] local.INFO: GPS data processed {"connection_id":137599,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:08:43] local.INFO: Acknowledgment sent {"connection_id":137599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:08:47] local.INFO: TCP Data received {"connection_id":137599,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:08:47] local.INFO: Processing buffer {"connection_id":137599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:08:47] local.INFO: Packet analysis {"connection_id":137599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:08:47] local.INFO: Extracted packet for processing {"connection_id":137599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819193344001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784450275000,"timestamp_ms":1784450275000,"timestamp_seconds":1784450275,"priority":1,"record_length":96,"hex_timestamp":"0000019f798656b8"} 
[2026-07-19 14:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":137599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":137599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":137599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819193344001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 14:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819193344001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:08:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:08:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819193344001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":137599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:08:47] local.INFO: GPS data processed {"connection_id":137599,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:08:47] local.INFO: Acknowledgment sent {"connection_id":137599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:08:56] local.INFO: TCP Data received {"connection_id":138995,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:08:56] local.INFO: Processing buffer {"connection_id":138995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:08:56] local.INFO: IMEI packet received {"connection_id":138995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":138995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:09:01] local.INFO: TCP Data received {"connection_id":138995,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:09:01] local.INFO: Processing buffer {"connection_id":138995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:09:01] local.INFO: IMEI packet received {"connection_id":138995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":138995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:09:02] local.INFO: TCP Data received {"connection_id":138995,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7985e570012d181ec00721af28004c00d72d..."} 
[2026-07-19 14:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7985e570012d181ec00721af28004c00d72d..."} 
[2026-07-19 14:09:02] local.INFO: Processing buffer {"connection_id":138995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7985e570012d181ec00721af28004c00d72d..."} 
[2026-07-19 14:09:02] local.INFO: Packet analysis {"connection_id":138995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7985"} 
[2026-07-19 14:09:02] local.INFO: Extracted packet for processing {"connection_id":138995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7985"} 
[2026-07-19 14:09:02] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648040,"longitude_deg":75.6555456,"latitude_deg":11.964804,"altitude":76,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af28","is_valid_coordinates":true} 
[2026-07-19 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-07-19 14:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819257600001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7187138143584256,"note":"Value kept but may cause issues"} 
[2026-07-19 14:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074021376,"note":"Value kept but may cause issues"} 
[2026-07-19 14:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784450246000,"timestamp_ms":1784450246000,"timestamp_seconds":1784450246,"priority":1,"record_length":96,"hex_timestamp":"0000019f7985e570"} 
[2026-07-19 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-07-19 14:09: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-07-19 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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-19 14:09:02] 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-07-19 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-07-19 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-07-19 14:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":138995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":138995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":138995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819257600001,"66":12885,"105":206,"83":41984,"24":0,"16":7187138143584256,"45":1738037643074021376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 14:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819257600001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:09:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 14:09:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7187138143584256,"km_value":7187138143584.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074021376,"description":"Unknown IO ID 45"} 
[2026-07-19 14:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819257600001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074021376}} 
[2026-07-19 14:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":138995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:09:02] local.INFO: GPS data processed {"connection_id":138995,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:09:02] local.INFO: Acknowledgment sent {"connection_id":138995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:09:06] local.INFO: TCP Data received {"connection_id":138995,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79863778012d181ec00721af28004c00d72c..."} 
[2026-07-19 14:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79863778012d181ec00721af28004c00d72c..."} 
[2026-07-19 14:09:06] local.INFO: Processing buffer {"connection_id":138995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79863778012d181ec00721af28004c00d72c..."} 
[2026-07-19 14:09:06] local.INFO: Packet analysis {"connection_id":138995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:09:06] local.INFO: Extracted packet for processing {"connection_id":138995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648040,"longitude_deg":75.6555456,"latitude_deg":11.964804,"altitude":76,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af28","is_valid_coordinates":true} 
[2026-07-19 14:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819262976001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7187138143584256,"note":"Value kept but may cause issues"} 
[2026-07-19 14:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074021376,"note":"Value kept but may cause issues"} 
[2026-07-19 14:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784450267000,"timestamp_ms":1784450267000,"timestamp_seconds":1784450267,"priority":1,"record_length":96,"hex_timestamp":"0000019f79863778"} 
[2026-07-19 14:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-19 14:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":138995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":138995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":138995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819262976001,"66":12863,"105":206,"83":41984,"24":0,"16":7187138143584256,"45":1738037643074021376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 14:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819262976001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:09:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 14:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7187138143584256,"km_value":7187138143584.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074021376,"description":"Unknown IO ID 45"} 
[2026-07-19 14:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819262976001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074021376}} 
[2026-07-19 14:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":138995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:09:07] local.INFO: GPS data processed {"connection_id":138995,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:09:07] local.INFO: Acknowledgment sent {"connection_id":138995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:09:31] local.INFO: TCP Data received {"connection_id":137601,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:09:31] local.INFO: Processing buffer {"connection_id":137601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:09:31] local.INFO: IMEI packet received {"connection_id":137601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":137601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:09:36] local.INFO: TCP Data received {"connection_id":137601,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:09:36] local.INFO: Processing buffer {"connection_id":137601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:09:36] local.INFO: IMEI packet received {"connection_id":137601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":137601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:09:38] local.INFO: TCP Data received {"connection_id":137601,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:09:38] local.INFO: Processing buffer {"connection_id":137601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:09:38] local.INFO: Packet analysis {"connection_id":137601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:09:38] local.INFO: Extracted packet for processing {"connection_id":137601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819193344001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:09: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-07-19 14:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784450275000,"timestamp_ms":1784450275000,"timestamp_seconds":1784450275,"priority":1,"record_length":96,"hex_timestamp":"0000019f798656b8"} 
[2026-07-19 14:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:09:38] 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-07-19 14:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819193344001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819193344001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:09:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:09:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819193344001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":137601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:09:38] local.INFO: GPS data processed {"connection_id":137601,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:09:38] local.INFO: Acknowledgment sent {"connection_id":137601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:09:49] local.INFO: TCP Data received {"connection_id":136518,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:09:49] local.INFO: Processing buffer {"connection_id":136518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:09:49] local.INFO: IMEI packet received {"connection_id":136518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":136518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:09:51] local.INFO: TCP Data received {"connection_id":136518,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:09:51] local.INFO: Processing buffer {"connection_id":136518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:09:51] local.INFO: IMEI packet received {"connection_id":136518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":136518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:09:56] local.INFO: TCP Data received {"connection_id":136518,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:09:56] local.INFO: Processing buffer {"connection_id":136518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:09:56] local.INFO: IMEI packet received {"connection_id":136518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":136518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:09:57] local.INFO: TCP Data received {"connection_id":136518,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79868980012d181ec00721af28004c00d72c..."} 
[2026-07-19 14:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79868980012d181ec00721af28004c00d72c..."} 
[2026-07-19 14:09:57] local.INFO: Processing buffer {"connection_id":136518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79868980012d181ec00721af28004c00d72c..."} 
[2026-07-19 14:09:57] local.INFO: Packet analysis {"connection_id":136518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:09:57] local.INFO: Extracted packet for processing {"connection_id":136518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:09:57] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648040,"longitude_deg":75.6555456,"latitude_deg":11.964804,"altitude":76,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af28","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819268352001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7187138143584256,"note":"Value kept but may cause issues"} 
[2026-07-19 14:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074021376,"note":"Value kept but may cause issues"} 
[2026-07-19 14:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784450288000,"timestamp_ms":1784450288000,"timestamp_seconds":1784450288,"priority":1,"record_length":96,"hex_timestamp":"0000019f79868980"} 
[2026-07-19 14:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:09:57] 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-07-19 14: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-19 14:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819268352001,"66":12852,"105":206,"83":41984,"24":0,"16":7187138143584256,"45":1738037643074021376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 14:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819268352001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:09:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 14:09:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7187138143584256,"km_value":7187138143584.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074021376,"description":"Unknown IO ID 45"} 
[2026-07-19 14:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819268352001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074021376}} 
[2026-07-19 14:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":136518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:09:57] local.INFO: GPS data processed {"connection_id":136518,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:09:57] local.INFO: Acknowledgment sent {"connection_id":136518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:10:09] local.INFO: TCP Data received {"connection_id":137601,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:10:09] local.INFO: Processing buffer {"connection_id":137601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:10:09] local.INFO: Packet analysis {"connection_id":137601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:10:09] local.INFO: Extracted packet for processing {"connection_id":137601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819193344001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:10: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-07-19 14:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784450275000,"timestamp_ms":1784450275000,"timestamp_seconds":1784450275,"priority":1,"record_length":96,"hex_timestamp":"0000019f798656b8"} 
[2026-07-19 14:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:10: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-07-19 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:10: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-07-19 14:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819193344001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819193344001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819193344001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":137601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:10:09] local.INFO: GPS data processed {"connection_id":137601,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:10:09] local.INFO: Acknowledgment sent {"connection_id":137601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:10:28] local.INFO: TCP Data received {"connection_id":136518,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7986db88012d181ec00721af28004c00d72d..."} 
[2026-07-19 14:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7986db88012d181ec00721af28004c00d72d..."} 
[2026-07-19 14:10:28] local.INFO: Processing buffer {"connection_id":136518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7986db88012d181ec00721af28004c00d72d..."} 
[2026-07-19 14:10:28] local.INFO: Packet analysis {"connection_id":136518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:10:28] local.INFO: Extracted packet for processing {"connection_id":136518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:10:28] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648040,"longitude_deg":75.6555456,"latitude_deg":11.964804,"altitude":76,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af28","is_valid_coordinates":true} 
[2026-07-19 14:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819273728001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7187138143584256,"note":"Value kept but may cause issues"} 
[2026-07-19 14:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074021376,"note":"Value kept but may cause issues"} 
[2026-07-19 14:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784450309000,"timestamp_ms":1784450309000,"timestamp_seconds":1784450309,"priority":1,"record_length":96,"hex_timestamp":"0000019f7986db88"} 
[2026-07-19 14:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:10:28] 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-07-19 14:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 14:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819273728001,"66":12841,"105":206,"83":41984,"24":0,"16":7187138143584256,"45":1738037643074021376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 14:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819273728001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:10:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 14:10:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7187138143584256,"km_value":7187138143584.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074021376,"description":"Unknown IO ID 45"} 
[2026-07-19 14:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819273728001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074021376}} 
[2026-07-19 14:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":136518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:10:28] local.INFO: GPS data processed {"connection_id":136518,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:10:28] local.INFO: Acknowledgment sent {"connection_id":136518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:10:31] local.INFO: TCP Data received {"connection_id":136519,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:10:31] local.INFO: Processing buffer {"connection_id":136519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:10:31] local.INFO: IMEI packet received {"connection_id":136519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":136519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:10:36] local.INFO: TCP Data received {"connection_id":136519,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:10:36] local.INFO: Processing buffer {"connection_id":136519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:10:36] local.INFO: IMEI packet received {"connection_id":136519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":136519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:10:39] local.INFO: TCP Data received {"connection_id":136519,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:10:39] local.INFO: Processing buffer {"connection_id":136519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:10:39] local.INFO: Packet analysis {"connection_id":136519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:10:39] local.INFO: Extracted packet for processing {"connection_id":136519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:10:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819193344001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:10: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-07-19 14:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784450275000,"timestamp_ms":1784450275000,"timestamp_seconds":1784450275,"priority":1,"record_length":96,"hex_timestamp":"0000019f798656b8"} 
[2026-07-19 14:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:10:39] 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-07-19 14:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819193344001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819193344001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:10:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:10:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819193344001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":136519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:10:39] local.INFO: GPS data processed {"connection_id":136519,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:10:39] local.INFO: Acknowledgment sent {"connection_id":136519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:10:51] local.INFO: TCP Data received {"connection_id":137602,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:10:51] local.INFO: Processing buffer {"connection_id":137602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:10:51] local.INFO: IMEI packet received {"connection_id":137602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":137602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:10:52] local.INFO: TCP Data received {"connection_id":137602,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:10:52] local.INFO: Processing buffer {"connection_id":137602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:10:52] local.INFO: IMEI packet received {"connection_id":137602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":137602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:10:56] local.INFO: TCP Data received {"connection_id":137602,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:10:56] local.INFO: Processing buffer {"connection_id":137602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:10:56] local.INFO: IMEI packet received {"connection_id":137602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":137602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:10:57] local.INFO: TCP Data received {"connection_id":137602,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79872d90012d181ec00721af28004c00d72c..."} 
[2026-07-19 14:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79872d90012d181ec00721af28004c00d72c..."} 
[2026-07-19 14:10:57] local.INFO: Processing buffer {"connection_id":137602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79872d90012d181ec00721af28004c00d72c..."} 
[2026-07-19 14:10:57] local.INFO: Packet analysis {"connection_id":137602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7987"} 
[2026-07-19 14:10:57] local.INFO: Extracted packet for processing {"connection_id":137602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7987"} 
[2026-07-19 14:10:57] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648040,"longitude_deg":75.6555456,"latitude_deg":11.964804,"altitude":76,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af28","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819279104001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7187138143584256,"note":"Value kept but may cause issues"} 
[2026-07-19 14:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074021376,"note":"Value kept but may cause issues"} 
[2026-07-19 14:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784450330000,"timestamp_ms":1784450330000,"timestamp_seconds":1784450330,"priority":1,"record_length":96,"hex_timestamp":"0000019f79872d90"} 
[2026-07-19 14:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:10:57] 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-07-19 14: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-19 14:10:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819279104001,"66":12841,"105":206,"83":41984,"24":0,"16":7187138143584256,"45":1738037643074021376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 14:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819279104001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:10:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 14:10:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7187138143584256,"km_value":7187138143584.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074021376,"description":"Unknown IO ID 45"} 
[2026-07-19 14:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819279104001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074021376}} 
[2026-07-19 14:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":137602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:10:57] local.INFO: GPS data processed {"connection_id":137602,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:10:57] local.INFO: Acknowledgment sent {"connection_id":137602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:11:11] local.INFO: TCP Data received {"connection_id":136519,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:11:11] local.INFO: Processing buffer {"connection_id":136519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:11:11] local.INFO: Packet analysis {"connection_id":136519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:11:11] local.INFO: Extracted packet for processing {"connection_id":136519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:11:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819193344001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:11: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-07-19 14:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784450275000,"timestamp_ms":1784450275000,"timestamp_seconds":1784450275,"priority":1,"record_length":96,"hex_timestamp":"0000019f798656b8"} 
[2026-07-19 14:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:11: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-07-19 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":136519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":136519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":136519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:11:11] 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-07-19 14:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819193344001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819193344001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:11:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:11:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819193344001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":136519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:11:11] local.INFO: GPS data processed {"connection_id":136519,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:11:11] local.INFO: Acknowledgment sent {"connection_id":136519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:11:28] local.INFO: TCP Data received {"connection_id":137602,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79877f98012d181ec00721af28004c00d72c..."} 
[2026-07-19 14:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79877f98012d181ec00721af28004c00d72c..."} 
[2026-07-19 14:11:28] local.INFO: Processing buffer {"connection_id":137602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79877f98012d181ec00721af28004c00d72c..."} 
[2026-07-19 14:11:28] local.INFO: Packet analysis {"connection_id":137602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7987"} 
[2026-07-19 14:11:28] local.INFO: Extracted packet for processing {"connection_id":137602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7987"} 
[2026-07-19 14:11:28] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648040,"longitude_deg":75.6555456,"latitude_deg":11.964804,"altitude":76,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af28","is_valid_coordinates":true} 
[2026-07-19 14:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819284480001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7187138143584256,"note":"Value kept but may cause issues"} 
[2026-07-19 14:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074021376,"note":"Value kept but may cause issues"} 
[2026-07-19 14:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784450351000,"timestamp_ms":1784450351000,"timestamp_seconds":1784450351,"priority":1,"record_length":96,"hex_timestamp":"0000019f79877f98"} 
[2026-07-19 14:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:11:28] 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-07-19 14:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-19 14:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819284480001,"66":12743,"105":206,"83":41984,"24":0,"16":7187138143584256,"45":1738037643074021376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 14:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819284480001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:11:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 14:11:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7187138143584256,"km_value":7187138143584.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074021376,"description":"Unknown IO ID 45"} 
[2026-07-19 14:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819284480001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074021376}} 
[2026-07-19 14:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":137602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:11:28] local.INFO: GPS data processed {"connection_id":137602,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:11:28] local.INFO: Acknowledgment sent {"connection_id":137602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:11:31] local.INFO: TCP Data received {"connection_id":136651,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:11:31] local.INFO: Processing buffer {"connection_id":136651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:11:31] local.INFO: IMEI packet received {"connection_id":136651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":136651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:11:36] local.INFO: TCP Data received {"connection_id":136651,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:11:36] local.INFO: Processing buffer {"connection_id":136651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:11:36] local.INFO: IMEI packet received {"connection_id":136651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":136651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:11:37] local.INFO: TCP Data received {"connection_id":136651,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:11:37] local.INFO: Processing buffer {"connection_id":136651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:11:37] local.INFO: Packet analysis {"connection_id":136651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:11:37] local.INFO: Extracted packet for processing {"connection_id":136651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819193344001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:11: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-07-19 14:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784450275000,"timestamp_ms":1784450275000,"timestamp_seconds":1784450275,"priority":1,"record_length":96,"hex_timestamp":"0000019f798656b8"} 
[2026-07-19 14:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:11: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-07-19 14:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819193344001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819193344001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819193344001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":136651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:11:37] local.INFO: GPS data processed {"connection_id":136651,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:11:37] local.INFO: Acknowledgment sent {"connection_id":136651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:11:51] local.INFO: TCP Data received {"connection_id":136520,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:11:51] local.INFO: Processing buffer {"connection_id":136520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:11:51] local.INFO: IMEI packet received {"connection_id":136520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":136520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:11:55] local.INFO: TCP Data received {"connection_id":136520,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:11:55] local.INFO: Processing buffer {"connection_id":136520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:11:55] local.INFO: IMEI packet received {"connection_id":136520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":136520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:11:56] local.INFO: TCP Data received {"connection_id":136520,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7987d1a0012d181ec00721af28004c00d72b..."} 
[2026-07-19 14:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7987d1a0012d181ec00721af28004c00d72b..."} 
[2026-07-19 14:11:56] local.INFO: Processing buffer {"connection_id":136520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7987d1a0012d181ec00721af28004c00d72b..."} 
[2026-07-19 14:11:56] local.INFO: Packet analysis {"connection_id":136520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7987"} 
[2026-07-19 14:11:56] local.INFO: Extracted packet for processing {"connection_id":136520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7987"} 
[2026-07-19 14:11:56] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648040,"longitude_deg":75.6555456,"latitude_deg":11.964804,"altitude":76,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af28","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819289856001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7187138143584256,"note":"Value kept but may cause issues"} 
[2026-07-19 14:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074021376,"note":"Value kept but may cause issues"} 
[2026-07-19 14:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784450372000,"timestamp_ms":1784450372000,"timestamp_seconds":1784450372,"priority":1,"record_length":96,"hex_timestamp":"0000019f7987d1a0"} 
[2026-07-19 14:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:11: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-07-19 14: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-19 14:11:56] 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-07-19 14: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-07-19 14:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819289856001,"66":12798,"105":206,"83":41984,"24":0,"16":7187138143584256,"45":1738037643074021376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 14:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819289856001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:11:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 14:11:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7187138143584256,"km_value":7187138143584.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074021376,"description":"Unknown IO ID 45"} 
[2026-07-19 14:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819289856001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074021376}} 
[2026-07-19 14:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":136520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:11:56] local.INFO: GPS data processed {"connection_id":136520,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:11:56] local.INFO: Acknowledgment sent {"connection_id":136520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:11:56] local.INFO: TCP Data received {"connection_id":138997,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:11:56] local.INFO: Processing buffer {"connection_id":138997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:11:56] local.INFO: IMEI packet received {"connection_id":138997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 14:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":138997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:12:08] local.INFO: TCP Data received {"connection_id":136651,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:12:08] local.INFO: Processing buffer {"connection_id":136651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:12:08] local.INFO: Packet analysis {"connection_id":136651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:12:08] local.INFO: Extracted packet for processing {"connection_id":136651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819193344001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:12: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-07-19 14:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784450275000,"timestamp_ms":1784450275000,"timestamp_seconds":1784450275,"priority":1,"record_length":96,"hex_timestamp":"0000019f798656b8"} 
[2026-07-19 14:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14: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":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:12: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-07-19 14: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-07-19 14:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:12: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-07-19 14:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819193344001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819193344001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:12:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819193344001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":136651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:12:08] local.INFO: GPS data processed {"connection_id":136651,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:12:08] local.INFO: Acknowledgment sent {"connection_id":136651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:12:26] local.INFO: TCP Data received {"connection_id":137603,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:12:26] local.INFO: Processing buffer {"connection_id":137603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:12:26] local.INFO: IMEI packet received {"connection_id":137603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 14:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":137603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:12:27] local.INFO: TCP Data received {"connection_id":136520,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f798823a8012d181ec00721af28004c00d72d..."} 
[2026-07-19 14:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798823a8012d181ec00721af28004c00d72d..."} 
[2026-07-19 14:12:27] local.INFO: Processing buffer {"connection_id":136520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798823a8012d181ec00721af28004c00d72d..."} 
[2026-07-19 14:12:27] local.INFO: Packet analysis {"connection_id":136520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7988"} 
[2026-07-19 14:12:27] local.INFO: Extracted packet for processing {"connection_id":136520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7988"} 
[2026-07-19 14:12:27] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648040,"longitude_deg":75.6555456,"latitude_deg":11.964804,"altitude":76,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af28","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819295232001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7187138143584256,"note":"Value kept but may cause issues"} 
[2026-07-19 14:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074021376,"note":"Value kept but may cause issues"} 
[2026-07-19 14:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784450393000,"timestamp_ms":1784450393000,"timestamp_seconds":1784450393,"priority":1,"record_length":96,"hex_timestamp":"0000019f798823a8"} 
[2026-07-19 14:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-19 14:12:27] 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-07-19 14: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-07-19 14:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819295232001,"66":12743,"105":206,"83":41984,"24":0,"16":7187138143584256,"45":1738037643074021376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 14:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819295232001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:12:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 14:12:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7187138143584256,"km_value":7187138143584.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074021376,"description":"Unknown IO ID 45"} 
[2026-07-19 14:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819295232001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074021376}} 
[2026-07-19 14:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":136520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:12:27] local.INFO: GPS data processed {"connection_id":136520,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:12:27] local.INFO: Acknowledgment sent {"connection_id":136520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:12:36] local.INFO: TCP Data received {"connection_id":137604,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:12:36] local.INFO: Processing buffer {"connection_id":137604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:12:36] local.INFO: IMEI packet received {"connection_id":137604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":137604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:12:41] local.INFO: TCP Data received {"connection_id":137604,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:12:41] local.INFO: Processing buffer {"connection_id":137604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:12:41] local.INFO: IMEI packet received {"connection_id":137604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":137604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:12:43] local.INFO: TCP Data received {"connection_id":137604,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:12:43] local.INFO: Processing buffer {"connection_id":137604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:12:43] local.INFO: Packet analysis {"connection_id":137604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:12:43] local.INFO: Extracted packet for processing {"connection_id":137604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:12:43] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:12: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-07-19 14:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819193344001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:12: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-07-19 14:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784450275000,"timestamp_ms":1784450275000,"timestamp_seconds":1784450275,"priority":1,"record_length":96,"hex_timestamp":"0000019f798656b8"} 
[2026-07-19 14:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:12: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-07-19 14:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:12: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-07-19 14:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819193344001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819193344001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:12:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:12:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819193344001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":137604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:12:43] local.INFO: GPS data processed {"connection_id":137604,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:12:43] local.INFO: Acknowledgment sent {"connection_id":137604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:12:47] local.INFO: TCP Data received {"connection_id":137604,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:12:47] local.INFO: Processing buffer {"connection_id":137604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798656b8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:12:47] local.INFO: Packet analysis {"connection_id":137604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:12:47] local.INFO: Extracted packet for processing {"connection_id":137604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7986"} 
[2026-07-19 14:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819193344001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784450275000,"timestamp_ms":1784450275000,"timestamp_seconds":1784450275,"priority":1,"record_length":96,"hex_timestamp":"0000019f798656b8"} 
[2026-07-19 14:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":137604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":137604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":137604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819193344001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819193344001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:12:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819193344001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":137604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:12:47] local.INFO: GPS data processed {"connection_id":137604,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:12:47] local.INFO: Acknowledgment sent {"connection_id":137604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:12:51] local.INFO: TCP Data received {"connection_id":138998,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:12:51] local.INFO: Processing buffer {"connection_id":138998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:12:51] local.INFO: IMEI packet received {"connection_id":138998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":138998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:12:56] local.INFO: TCP Data received {"connection_id":138998,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:12:56] local.INFO: Processing buffer {"connection_id":138998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:12:56] local.INFO: IMEI packet received {"connection_id":138998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":138998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:12:57] local.INFO: TCP Data received {"connection_id":138998,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f798875b0012d181ec00721af28004c00d72b..."} 
[2026-07-19 14:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798875b0012d181ec00721af28004c00d72b..."} 
[2026-07-19 14:12:57] local.INFO: Processing buffer {"connection_id":138998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798875b0012d181ec00721af28004c00d72b..."} 
[2026-07-19 14:12:57] local.INFO: Packet analysis {"connection_id":138998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7988"} 
[2026-07-19 14:12:57] local.INFO: Extracted packet for processing {"connection_id":138998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7988"} 
[2026-07-19 14:12:57] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648040,"longitude_deg":75.6555456,"latitude_deg":11.964804,"altitude":76,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af28","is_valid_coordinates":true} 
[2026-07-19 14:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819300608001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7187138143584256,"note":"Value kept but may cause issues"} 
[2026-07-19 14:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074021376,"note":"Value kept but may cause issues"} 
[2026-07-19 14:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784450414000,"timestamp_ms":1784450414000,"timestamp_seconds":1784450414,"priority":1,"record_length":96,"hex_timestamp":"0000019f798875b0"} 
[2026-07-19 14:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:12:57] 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-07-19 14:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-19 14:12:57] 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-07-19 14:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":138998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":138998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":138998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819300608001,"66":12689,"105":206,"83":41984,"24":0,"16":7187138143584256,"45":1738037643074021376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 14:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819300608001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:12:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 14:12:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7187138143584256,"km_value":7187138143584.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074021376,"description":"Unknown IO ID 45"} 
[2026-07-19 14:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819300608001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074021376}} 
[2026-07-19 14:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":138998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:12:57] local.INFO: GPS data processed {"connection_id":138998,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:12:57] local.INFO: Acknowledgment sent {"connection_id":138998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:13:29] local.INFO: TCP Data received {"connection_id":138998,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f798a94a8012d183240072198c8004b007429..."} 
[2026-07-19 14:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798a94a8012d183240072198c8004b007429..."} 
[2026-07-19 14:13:29] local.INFO: Processing buffer {"connection_id":138998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798a94a8012d183240072198c8004b007429..."} 
[2026-07-19 14:13:29] local.INFO: Packet analysis {"connection_id":138998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:13:29] local.INFO: Extracted packet for processing {"connection_id":138998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:13:29] local.INFO: GPS Element Parsed {"raw_longitude":756560448,"raw_latitude":119642312,"longitude_deg":75.6560448,"latitude_deg":11.9642312,"altitude":75,"angle":116,"satellites":41,"speed":27,"hex_longitude":"2d183240","hex_latitude":"072198c8","is_valid_coordinates":true} 
[2026-07-19 14:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819338496001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7187541870510080,"note":"Value kept but may cause issues"} 
[2026-07-19 14:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593026916352,"note":"Value kept but may cause issues"} 
[2026-07-19 14:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784450553000,"timestamp_ms":1784450553000,"timestamp_seconds":1784450553,"priority":1,"record_length":96,"hex_timestamp":"0000019f798a94a8"} 
[2026-07-19 14:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:13: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-07-19 14:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-19 14:13:29] 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-07-19 14:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":138998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":138998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":138998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819338496001,"66":14233,"106":206,"83":41984,"24":27,"16":7187541870510080,"45":1738600593026916352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 14:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819338496001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:13:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 14:13:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7187541870510080,"km_value":7187541870510.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593026916352,"description":"Unknown IO ID 45"} 
[2026-07-19 14:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819338496001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1738600593026916352}} 
[2026-07-19 14:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":138998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:13:29] local.INFO: GPS data processed {"connection_id":138998,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:13:29] local.INFO: Acknowledgment sent {"connection_id":138998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:13:31] local.INFO: TCP Data received {"connection_id":137605,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:13:31] local.INFO: Processing buffer {"connection_id":137605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:13:31] local.INFO: IMEI packet received {"connection_id":137605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":137605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:13:34] local.INFO: TCP Data received {"connection_id":137605,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:13:34] local.INFO: Processing buffer {"connection_id":137605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:13:34] local.INFO: IMEI packet received {"connection_id":137605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":137605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:13:35] local.INFO: TCP Data received {"connection_id":137605,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:13:35] local.INFO: Processing buffer {"connection_id":137605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:13:35] local.INFO: Packet analysis {"connection_id":137605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:13:35] local.INFO: Extracted packet for processing {"connection_id":137605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:13:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819270400001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14: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-07-19 14:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784450576000,"timestamp_ms":1784450576000,"timestamp_seconds":1784450576,"priority":1,"record_length":96,"hex_timestamp":"0000019f798aee80"} 
[2026-07-19 14:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:13: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-07-19 14:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":137605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":137605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":137605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14: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-07-19 14:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819270400001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819270400001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:13:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:13:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819270400001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":137605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:13:35] local.INFO: GPS data processed {"connection_id":137605,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:13:35] local.INFO: Acknowledgment sent {"connection_id":137605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:14:00] local.INFO: TCP Data received {"connection_id":138999,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:14:00] local.INFO: Processing buffer {"connection_id":138999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:14:00] local.INFO: IMEI packet received {"connection_id":138999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":138999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:14:01] local.INFO: TCP Data received {"connection_id":138999,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 14:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138999,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 14:14:01] local.INFO: Processing buffer {"connection_id":138999,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 14:14:01] local.INFO: IMEI packet received {"connection_id":138999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":138999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:14:01] local.INFO: TCP Data received {"connection_id":138999,"ip":"42.106.6.17","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f79..."} 
[2026-07-19 14:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138999,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f79..."} 
[2026-07-19 14:14:01] local.INFO: Processing buffer {"connection_id":138999,"buffer_length":829,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 14:14:01] local.INFO: IMEI packet received {"connection_id":138999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":138999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:14:02] local.INFO: TCP Data received {"connection_id":138999,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f798acf40012d186580072182f0004a006529..."} 
[2026-07-19 14:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798acf40012d186580072182f0004a006529..."} 
[2026-07-19 14:14:02] local.INFO: Processing buffer {"connection_id":138999,"buffer_length":1607,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f79..."} 
[2026-07-19 14:14:02] local.INFO: IMEI packet received {"connection_id":138999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":138999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:14:06] local.INFO: TCP Data received {"connection_id":138999,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f798adaf8012d18720007218260004900542a..."} 
[2026-07-19 14:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798adaf8012d18720007218260004900542a..."} 
[2026-07-19 14:14:06] local.INFO: Processing buffer {"connection_id":138999,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019f798abfa0012d18560007218990004c00742a..."} 
[2026-07-19 14:14:06] local.INFO: Packet analysis {"connection_id":138999,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:14:06] local.INFO: Extracted packet for processing {"connection_id":138999,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756569600,"raw_latitude":119638416,"longitude_deg":75.65696,"latitude_deg":11.9638416,"altitude":76,"angle":116,"satellites":42,"speed":42,"hex_longitude":"2d185600","hex_latitude":"07218990","is_valid_coordinates":true} 
[2026-07-19 14:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819341568001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7188014316912640,"note":"Value kept but may cause issues"} 
[2026-07-19 14:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743526405118412800,"note":"Value kept but may cause issues"} 
[2026-07-19 14:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784450564000,"timestamp_ms":1784450564000,"timestamp_seconds":1784450564,"priority":1,"record_length":96,"hex_timestamp":"0000019f798abfa0"} 
[2026-07-19 14:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-19 14:14: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-07-19 14:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":138999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":138999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":138999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819341568001,"66":14265,"106":206,"83":41984,"24":42,"16":7188014316912640,"45":1743526405118412800},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 14:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819341568001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:14:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 14:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7188014316912640,"km_value":7188014316912.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743526405118412800,"description":"Unknown IO ID 45"} 
[2026-07-19 14:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819341568001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1743526405118412800}} 
[2026-07-19 14:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":138999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:14:06] local.INFO: GPS data processed {"connection_id":138999,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:14:06] local.INFO: Acknowledgment sent {"connection_id":138999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:14:06] local.INFO: Packet analysis {"connection_id":138999,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:14:06] local.INFO: Extracted packet for processing {"connection_id":138999,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756573568,"raw_latitude":119636720,"longitude_deg":75.6573568,"latitude_deg":11.963672,"altitude":74,"angle":101,"satellites":41,"speed":41,"hex_longitude":"2d186580","hex_latitude":"072182f0","is_valid_coordinates":true} 
[2026-07-19 14:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819344384001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7188220475342848,"note":"Value kept but may cause issues"} 
[2026-07-19 14:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753589135534821376,"note":"Value kept but may cause issues"} 
[2026-07-19 14:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784450568000,"timestamp_ms":1784450568000,"timestamp_seconds":1784450568,"priority":1,"record_length":96,"hex_timestamp":"0000019f798acf40"} 
[2026-07-19 14:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 14:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":138999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":138999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":138999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819344384001,"66":14254,"106":206,"83":41984,"24":41,"16":7188220475342848,"45":1753589135534821376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 14:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819344384001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:14:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 14:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7188220475342848,"km_value":7188220475342.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753589135534821376,"description":"Unknown IO ID 45"} 
[2026-07-19 14:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819344384001,"power":14254,"unknown_106":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1753589135534821376}} 
[2026-07-19 14:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":138999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:14:06] local.INFO: GPS data processed {"connection_id":138999,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:14:06] local.INFO: Acknowledgment sent {"connection_id":138999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:14:06] local.INFO: Packet analysis {"connection_id":138999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:14:06] local.INFO: Extracted packet for processing {"connection_id":138999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119636576,"longitude_deg":75.6576768,"latitude_deg":11.9636576,"altitude":73,"angle":84,"satellites":42,"speed":42,"hex_longitude":"2d187200","hex_latitude":"07218260","is_valid_coordinates":true} 
[2026-07-19 14:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819345408001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7188375094165504,"note":"Value kept but may cause issues"} 
[2026-07-19 14:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757951997673402368,"note":"Value kept but may cause issues"} 
[2026-07-19 14:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784450571000,"timestamp_ms":1784450571000,"timestamp_seconds":1784450571,"priority":1,"record_length":96,"hex_timestamp":"0000019f798adaf8"} 
[2026-07-19 14:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-19 14:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":138999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":138999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":138999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819345408001,"66":14189,"106":206,"83":41984,"24":42,"16":7188375094165504,"45":1757951997673402368},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 14:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819345408001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:14:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 14:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7188375094165504,"km_value":7188375094165.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757951997673402368,"description":"Unknown IO ID 45"} 
[2026-07-19 14:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819345408001,"power":14189,"unknown_106":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1757951997673402368}} 
[2026-07-19 14:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":138999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:14:07] local.INFO: GPS data processed {"connection_id":138999,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:14:07] local.INFO: Acknowledgment sent {"connection_id":138999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:14:08] local.INFO: TCP Data received {"connection_id":137605,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:14:08] local.INFO: Processing buffer {"connection_id":137605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:14:08] local.INFO: Packet analysis {"connection_id":137605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:14:08] local.INFO: Extracted packet for processing {"connection_id":137605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:14:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819270400001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:14: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-07-19 14:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784450576000,"timestamp_ms":1784450576000,"timestamp_seconds":1784450576,"priority":1,"record_length":96,"hex_timestamp":"0000019f798aee80"} 
[2026-07-19 14:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:14: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-07-19 14:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:14: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-07-19 14:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819270400001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819270400001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:14:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:14:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819270400001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":137605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:14:08] local.INFO: GPS data processed {"connection_id":137605,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:14:08] local.INFO: Acknowledgment sent {"connection_id":137605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:14:31] local.INFO: TCP Data received {"connection_id":137606,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:14:31] local.INFO: Processing buffer {"connection_id":137606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:14:31] local.INFO: IMEI packet received {"connection_id":137606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":137606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:14:36] local.INFO: TCP Data received {"connection_id":137606,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:14:36] local.INFO: Processing buffer {"connection_id":137606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:14:36] local.INFO: IMEI packet received {"connection_id":137606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":137606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:14:38] local.INFO: TCP Data received {"connection_id":137606,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:14:38] local.INFO: Processing buffer {"connection_id":137606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:14:38] local.INFO: Packet analysis {"connection_id":137606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:14:38] local.INFO: Extracted packet for processing {"connection_id":137606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:14:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819270400001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:14: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-07-19 14:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784450576000,"timestamp_ms":1784450576000,"timestamp_seconds":1784450576,"priority":1,"record_length":96,"hex_timestamp":"0000019f798aee80"} 
[2026-07-19 14:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819270400001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819270400001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:14:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819270400001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":137606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:14:38] local.INFO: GPS data processed {"connection_id":137606,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:14:38] local.INFO: Acknowledgment sent {"connection_id":137606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:14:53] local.INFO: TCP Data received {"connection_id":136522,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:14:53] local.INFO: Processing buffer {"connection_id":136522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:14:53] local.INFO: IMEI packet received {"connection_id":136522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":136522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:14:54] local.INFO: TCP Data received {"connection_id":136522,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:14:54] local.INFO: Processing buffer {"connection_id":136522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:14:54] local.INFO: IMEI packet received {"connection_id":136522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":136522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:14:56] local.INFO: TCP Data received {"connection_id":136522,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:14:56] local.INFO: Processing buffer {"connection_id":136522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:14:56] local.INFO: IMEI packet received {"connection_id":136522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":136522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:14:57] local.INFO: TCP Data received {"connection_id":136522,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f798b86d8012d18d24007211f88004100b92b..."} 
[2026-07-19 14:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798b86d8012d18d24007211f88004100b92b..."} 
[2026-07-19 14:14:57] local.INFO: Processing buffer {"connection_id":136522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798b86d8012d18d24007211f88004100b92b..."} 
[2026-07-19 14:14:57] local.INFO: Packet analysis {"connection_id":136522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798b"} 
[2026-07-19 14:14:57] local.INFO: Extracted packet for processing {"connection_id":136522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798b"} 
[2026-07-19 14:14:57] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119611272,"longitude_deg":75.6601408,"latitude_deg":11.9611272,"altitude":65,"angle":185,"satellites":43,"speed":32,"hex_longitude":"2d18d240","hex_latitude":"07211f88","is_valid_coordinates":true} 
[2026-07-19 14:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819356928001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7190286354612224,"note":"Value kept but may cause issues"} 
[2026-07-19 14:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770128752640,"note":"Value kept but may cause issues"} 
[2026-07-19 14:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784450615000,"timestamp_ms":1784450615000,"timestamp_seconds":1784450615,"priority":1,"record_length":96,"hex_timestamp":"0000019f798b86d8"} 
[2026-07-19 14:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:14: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-07-19 14:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-19 14:14: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-07-19 14:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819356928001,"66":13939,"106":206,"83":41984,"24":32,"16":7190286354612224,"45":1788632770128752640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 14:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819356928001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:14:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 14:14:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7190286354612224,"km_value":7190286354612.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770128752640,"description":"Unknown IO ID 45"} 
[2026-07-19 14:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819356928001,"power":13939,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1788632770128752640}} 
[2026-07-19 14:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":136522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:14:57] local.INFO: GPS data processed {"connection_id":136522,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:14:57] local.INFO: Acknowledgment sent {"connection_id":136522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:14:58] local.INFO: TCP Data received {"connection_id":136522,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f798b9a60012d18d28007211060003f00aa2c..."} 
[2026-07-19 14:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798b9a60012d18d28007211060003f00aa2c..."} 
[2026-07-19 14:14:58] local.INFO: Processing buffer {"connection_id":136522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798b9a60012d18d28007211060003f00aa2c..."} 
[2026-07-19 14:14:58] local.INFO: Packet analysis {"connection_id":136522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798b"} 
[2026-07-19 14:14:58] local.INFO: Extracted packet for processing {"connection_id":136522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798b"} 
[2026-07-19 14:14:58] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119607392,"longitude_deg":75.6601472,"latitude_deg":11.9607392,"altitude":63,"angle":170,"satellites":44,"speed":27,"hex_longitude":"2d18d280","hex_latitude":"07211060","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819357440001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7190475333173248,"note":"Value kept but may cause issues"} 
[2026-07-19 14:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401384171520,"note":"Value kept but may cause issues"} 
[2026-07-19 14:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784450620000,"timestamp_ms":1784450620000,"timestamp_seconds":1784450620,"priority":1,"record_length":96,"hex_timestamp":"0000019f798b9a60"} 
[2026-07-19 14:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:14: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-07-19 14: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-07-19 14:14:58] 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-07-19 14: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-07-19 14:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819357440001,"66":13961,"106":206,"83":41984,"24":27,"16":7190475333173248,"45":1788562401384171520},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 14:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819357440001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:14:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 14:14:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7190475333173248,"km_value":7190475333173.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401384171520,"description":"Unknown IO ID 45"} 
[2026-07-19 14:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819357440001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1788562401384171520}} 
[2026-07-19 14:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":136522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:14:58] local.INFO: GPS data processed {"connection_id":136522,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:14:58] local.INFO: Acknowledgment sent {"connection_id":136522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:15:09] local.INFO: TCP Data received {"connection_id":137606,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:15:09] local.INFO: Processing buffer {"connection_id":137606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:15:09] local.INFO: Packet analysis {"connection_id":137606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:15:09] local.INFO: Extracted packet for processing {"connection_id":137606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819270400001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:15: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-07-19 14:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784450576000,"timestamp_ms":1784450576000,"timestamp_seconds":1784450576,"priority":1,"record_length":96,"hex_timestamp":"0000019f798aee80"} 
[2026-07-19 14:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:15: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-07-19 14:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:15:09] 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-07-19 14:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819270400001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819270400001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:15:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819270400001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":137606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:15:09] local.INFO: GPS data processed {"connection_id":137606,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:15:09] local.INFO: Acknowledgment sent {"connection_id":137606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:15:29] local.INFO: TCP Data received {"connection_id":136522,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f798bb1d0012d18d540072106b8003e009e2a..."} 
[2026-07-19 14:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798bb1d0012d18d540072106b8003e009e2a..."} 
[2026-07-19 14:15:29] local.INFO: Processing buffer {"connection_id":136522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798bb1d0012d18d540072106b8003e009e2a..."} 
[2026-07-19 14:15:29] local.INFO: Packet analysis {"connection_id":136522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798b"} 
[2026-07-19 14:15:29] local.INFO: Extracted packet for processing {"connection_id":136522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798b"} 
[2026-07-19 14:15:29] local.INFO: GPS Element Parsed {"raw_longitude":756602176,"raw_latitude":119604920,"longitude_deg":75.6602176,"latitude_deg":11.960492,"altitude":62,"angle":158,"satellites":42,"speed":6,"hex_longitude":"2d18d540","hex_latitude":"072106b8","is_valid_coordinates":true} 
[2026-07-19 14:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819358720001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7190599887224832,"note":"Value kept but may cause issues"} 
[2026-07-19 14:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770127355904,"note":"Value kept but may cause issues"} 
[2026-07-19 14:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784450626000,"timestamp_ms":1784450626000,"timestamp_seconds":1784450626,"priority":1,"record_length":96,"hex_timestamp":"0000019f798bb1d0"} 
[2026-07-19 14:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:15: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-07-19 14:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-19 14:15:29] 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-07-19 14:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":136522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":136522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":136522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819358720001,"66":13537,"106":206,"83":41984,"24":6,"16":7190599887224832,"45":1788632770127355904},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 14:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819358720001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:15:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 14:15:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7190599887224832,"km_value":7190599887224.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770127355904,"description":"Unknown IO ID 45"} 
[2026-07-19 14:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819358720001,"power":13537,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1788632770127355904}} 
[2026-07-19 14:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":136522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:15:29] local.INFO: GPS data processed {"connection_id":136522,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:15:29] local.INFO: Acknowledgment sent {"connection_id":136522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:15:31] local.INFO: TCP Data received {"connection_id":136654,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:15:31] local.INFO: Processing buffer {"connection_id":136654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:15:31] local.INFO: IMEI packet received {"connection_id":136654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":136654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:15:36] local.INFO: TCP Data received {"connection_id":136654,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:15:36] local.INFO: Processing buffer {"connection_id":136654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:15:36] local.INFO: IMEI packet received {"connection_id":136654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":136654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:15:37] local.INFO: TCP Data received {"connection_id":136654,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:15:37] local.INFO: Processing buffer {"connection_id":136654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:15:37] local.INFO: Packet analysis {"connection_id":136654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:15:37] local.INFO: Extracted packet for processing {"connection_id":136654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819270400001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:15: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-07-19 14:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784450576000,"timestamp_ms":1784450576000,"timestamp_seconds":1784450576,"priority":1,"record_length":96,"hex_timestamp":"0000019f798aee80"} 
[2026-07-19 14:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819270400001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819270400001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819270400001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":136654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:15:37] local.INFO: GPS data processed {"connection_id":136654,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:15:37] local.INFO: Acknowledgment sent {"connection_id":136654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:15:50] local.INFO: TCP Data received {"connection_id":139000,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:15:50] local.INFO: Processing buffer {"connection_id":139000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:15:50] local.INFO: IMEI packet received {"connection_id":139000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":139000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:15:51] local.INFO: TCP Data received {"connection_id":139000,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:15:51] local.INFO: Processing buffer {"connection_id":139000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:15:51] local.INFO: IMEI packet received {"connection_id":139000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":139000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:15:51] local.INFO: TCP Data received {"connection_id":139000,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:15:51] local.INFO: Processing buffer {"connection_id":139000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:15:51] local.INFO: IMEI packet received {"connection_id":139000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":139000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:15:53] local.INFO: TCP Data received {"connection_id":139000,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:15:53] local.INFO: Processing buffer {"connection_id":139000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:15:53] local.INFO: IMEI packet received {"connection_id":139000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":139000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:16:09] local.INFO: TCP Data received {"connection_id":136654,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:16:09] local.INFO: Processing buffer {"connection_id":136654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:16:09] local.INFO: Packet analysis {"connection_id":136654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:16:09] local.INFO: Extracted packet for processing {"connection_id":136654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819270400001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:16: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-07-19 14:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784450576000,"timestamp_ms":1784450576000,"timestamp_seconds":1784450576,"priority":1,"record_length":96,"hex_timestamp":"0000019f798aee80"} 
[2026-07-19 14:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:16: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-07-19 14:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:16:09] 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-07-19 14:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819270400001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819270400001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819270400001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":136654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:16:09] local.INFO: GPS data processed {"connection_id":136654,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:16:09] local.INFO: Acknowledgment sent {"connection_id":136654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:16:36] local.INFO: TCP Data received {"connection_id":137607,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:16:36] local.INFO: Processing buffer {"connection_id":137607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:16:36] local.INFO: IMEI packet received {"connection_id":137607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":137607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:16:41] local.INFO: TCP Data received {"connection_id":137607,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:16:41] local.INFO: Processing buffer {"connection_id":137607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:16:41] local.INFO: IMEI packet received {"connection_id":137607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":137607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:16:42] local.INFO: TCP Data received {"connection_id":137607,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:16:42] local.INFO: Processing buffer {"connection_id":137607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:16:42] local.INFO: Packet analysis {"connection_id":137607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:16:42] local.INFO: Extracted packet for processing {"connection_id":137607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819270400001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784450576000,"timestamp_ms":1784450576000,"timestamp_seconds":1784450576,"priority":1,"record_length":96,"hex_timestamp":"0000019f798aee80"} 
[2026-07-19 14:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819270400001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819270400001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:16:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819270400001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":137607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:16:42] local.INFO: GPS data processed {"connection_id":137607,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:16:42] local.INFO: Acknowledgment sent {"connection_id":137607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:16:47] local.INFO: TCP Data received {"connection_id":137607,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:16:47] local.INFO: Processing buffer {"connection_id":137607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:16:47] local.INFO: Packet analysis {"connection_id":137607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:16:47] local.INFO: Extracted packet for processing {"connection_id":137607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819270400001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784450576000,"timestamp_ms":1784450576000,"timestamp_seconds":1784450576,"priority":1,"record_length":96,"hex_timestamp":"0000019f798aee80"} 
[2026-07-19 14:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":137607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":137607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":137607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819270400001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819270400001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:16:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:16:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819270400001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":137607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:16:47] local.INFO: GPS data processed {"connection_id":137607,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:16:47] local.INFO: Acknowledgment sent {"connection_id":137607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:17:31] local.INFO: TCP Data received {"connection_id":136656,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:17:31] local.INFO: Processing buffer {"connection_id":136656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:17:31] local.INFO: IMEI packet received {"connection_id":136656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":136656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:17:36] local.INFO: TCP Data received {"connection_id":136656,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:17:36] local.INFO: Processing buffer {"connection_id":136656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:17:36] local.INFO: IMEI packet received {"connection_id":136656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":136656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:17:37] local.INFO: TCP Data received {"connection_id":136656,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:17:37] local.INFO: Processing buffer {"connection_id":136656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:17:37] local.INFO: Packet analysis {"connection_id":136656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:17:37] local.INFO: Extracted packet for processing {"connection_id":136656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819270400001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:17: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-07-19 14:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784450576000,"timestamp_ms":1784450576000,"timestamp_seconds":1784450576,"priority":1,"record_length":96,"hex_timestamp":"0000019f798aee80"} 
[2026-07-19 14:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819270400001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819270400001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:17:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819270400001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":136656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:17:37] local.INFO: GPS data processed {"connection_id":136656,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:17:37] local.INFO: Acknowledgment sent {"connection_id":136656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:17:42] local.INFO: TCP Data received {"connection_id":136656,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:17:42] local.INFO: Processing buffer {"connection_id":136656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:17:42] local.INFO: Packet analysis {"connection_id":136656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:17:42] local.INFO: Extracted packet for processing {"connection_id":136656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:17:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819270400001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784450576000,"timestamp_ms":1784450576000,"timestamp_seconds":1784450576,"priority":1,"record_length":96,"hex_timestamp":"0000019f798aee80"} 
[2026-07-19 14:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819270400001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819270400001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:17:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:17:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819270400001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":136656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:17:42] local.INFO: GPS data processed {"connection_id":136656,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:17:42] local.INFO: Acknowledgment sent {"connection_id":136656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:17:56] local.INFO: TCP Data received {"connection_id":139001,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:17:56] local.INFO: Processing buffer {"connection_id":139001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:17:56] local.INFO: IMEI packet received {"connection_id":139001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 14:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":139001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:18:14] local.INFO: TCP Data received {"connection_id":136656,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:18:14] local.INFO: Processing buffer {"connection_id":136656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798aee80012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:18:14] local.INFO: Packet analysis {"connection_id":136656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:18:14] local.INFO: Extracted packet for processing {"connection_id":136656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798a"} 
[2026-07-19 14:18:14] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819270400001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:18: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-07-19 14:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784450576000,"timestamp_ms":1784450576000,"timestamp_seconds":1784450576,"priority":1,"record_length":96,"hex_timestamp":"0000019f798aee80"} 
[2026-07-19 14:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":136656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":136656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":136656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:18:14] 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-07-19 14:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819270400001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819270400001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:18:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:18:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819270400001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":136656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:18:14] local.INFO: GPS data processed {"connection_id":136656,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:18:14] local.INFO: Acknowledgment sent {"connection_id":136656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:18:27] local.INFO: TCP Data received {"connection_id":136657,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136657,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:18:27] local.INFO: Processing buffer {"connection_id":136657,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:18:27] local.INFO: IMEI packet received {"connection_id":136657,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 14:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":136657,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:18:32] local.INFO: TCP Data received {"connection_id":139002,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:18:32] local.INFO: Processing buffer {"connection_id":139002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:18:32] local.INFO: IMEI packet received {"connection_id":139002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":139002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:18:35] local.INFO: TCP Data received {"connection_id":139002,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:18:35] local.INFO: Processing buffer {"connection_id":139002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:18:35] local.INFO: IMEI packet received {"connection_id":139002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":139002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:18:37] local.INFO: TCP Data received {"connection_id":139002,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:18:37] local.INFO: Processing buffer {"connection_id":139002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:18:37] local.INFO: Packet analysis {"connection_id":139002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798f"} 
[2026-07-19 14:18:37] local.INFO: Extracted packet for processing {"connection_id":139002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798f"} 
[2026-07-19 14:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819347456001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:18: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-07-19 14:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784450877000,"timestamp_ms":1784450877000,"timestamp_seconds":1784450877,"priority":1,"record_length":96,"hex_timestamp":"0000019f798f8648"} 
[2026-07-19 14:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819347456001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819347456001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819347456001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":139002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:18:37] local.INFO: GPS data processed {"connection_id":139002,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:18:37] local.INFO: Acknowledgment sent {"connection_id":139002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:19:08] local.INFO: TCP Data received {"connection_id":139002,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:19:08] local.INFO: Processing buffer {"connection_id":139002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:19:08] local.INFO: Packet analysis {"connection_id":139002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798f"} 
[2026-07-19 14:19:08] local.INFO: Extracted packet for processing {"connection_id":139002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798f"} 
[2026-07-19 14:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 14:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819347456001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14: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-07-19 14:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784450877000,"timestamp_ms":1784450877000,"timestamp_seconds":1784450877,"priority":1,"record_length":96,"hex_timestamp":"0000019f798f8648"} 
[2026-07-19 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-07-19 14:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:19: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-07-19 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-07-19 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-07-19 14:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819347456001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819347456001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:19:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:19:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819347456001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":139002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:19:08] local.INFO: GPS data processed {"connection_id":139002,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:19:08] local.INFO: Acknowledgment sent {"connection_id":139002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:19:31] local.INFO: TCP Data received {"connection_id":136525,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:19:31] local.INFO: Processing buffer {"connection_id":136525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:19:31] local.INFO: IMEI packet received {"connection_id":136525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":136525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:19:36] local.INFO: TCP Data received {"connection_id":136525,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:19:36] local.INFO: Processing buffer {"connection_id":136525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:19:36] local.INFO: IMEI packet received {"connection_id":136525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":136525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:19:38] local.INFO: TCP Data received {"connection_id":136525,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:19:38] local.INFO: Processing buffer {"connection_id":136525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:19:38] local.INFO: Packet analysis {"connection_id":136525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798f"} 
[2026-07-19 14:19:38] local.INFO: Extracted packet for processing {"connection_id":136525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798f"} 
[2026-07-19 14:19:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819347456001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:19: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-07-19 14:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784450877000,"timestamp_ms":1784450877000,"timestamp_seconds":1784450877,"priority":1,"record_length":96,"hex_timestamp":"0000019f798f8648"} 
[2026-07-19 14:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819347456001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819347456001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:19:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:19:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819347456001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":136525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:19:38] local.INFO: GPS data processed {"connection_id":136525,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:19:38] local.INFO: Acknowledgment sent {"connection_id":136525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:20:09] local.INFO: TCP Data received {"connection_id":136525,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:20:09] local.INFO: Processing buffer {"connection_id":136525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:20:09] local.INFO: Packet analysis {"connection_id":136525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798f"} 
[2026-07-19 14:20:09] local.INFO: Extracted packet for processing {"connection_id":136525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798f"} 
[2026-07-19 14:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819347456001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:20: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-07-19 14:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784450877000,"timestamp_ms":1784450877000,"timestamp_seconds":1784450877,"priority":1,"record_length":96,"hex_timestamp":"0000019f798f8648"} 
[2026-07-19 14:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:20: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-07-19 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:20:09] 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-07-19 14:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819347456001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819347456001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819347456001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":136525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:20:09] local.INFO: GPS data processed {"connection_id":136525,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:20:09] local.INFO: Acknowledgment sent {"connection_id":136525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:20:36] local.INFO: TCP Data received {"connection_id":136659,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:20:36] local.INFO: Processing buffer {"connection_id":136659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:20:36] local.INFO: IMEI packet received {"connection_id":136659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":136659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:20:41] local.INFO: TCP Data received {"connection_id":136659,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:20:41] local.INFO: Processing buffer {"connection_id":136659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:20:41] local.INFO: IMEI packet received {"connection_id":136659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":136659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:20:44] local.INFO: TCP Data received {"connection_id":136659,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:20:44] local.INFO: Processing buffer {"connection_id":136659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:20:44] local.INFO: Packet analysis {"connection_id":136659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798f"} 
[2026-07-19 14:20:44] local.INFO: Extracted packet for processing {"connection_id":136659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798f"} 
[2026-07-19 14:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819347456001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:20: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-07-19 14:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784450877000,"timestamp_ms":1784450877000,"timestamp_seconds":1784450877,"priority":1,"record_length":96,"hex_timestamp":"0000019f798f8648"} 
[2026-07-19 14:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":136659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":136659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":136659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:20:44] 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-07-19 14:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819347456001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819347456001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:20:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:20:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819347456001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":136659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:20:44] local.INFO: GPS data processed {"connection_id":136659,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:20:44] local.INFO: Acknowledgment sent {"connection_id":136659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:20:47] local.INFO: TCP Data received {"connection_id":136659,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:20:47] local.INFO: Processing buffer {"connection_id":136659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:20:47] local.INFO: Packet analysis {"connection_id":136659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798f"} 
[2026-07-19 14:20:47] local.INFO: Extracted packet for processing {"connection_id":136659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798f"} 
[2026-07-19 14:20:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819347456001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784450877000,"timestamp_ms":1784450877000,"timestamp_seconds":1784450877,"priority":1,"record_length":96,"hex_timestamp":"0000019f798f8648"} 
[2026-07-19 14:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819347456001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819347456001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:20:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:20:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819347456001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":136659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:20:47] local.INFO: GPS data processed {"connection_id":136659,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:20:47] local.INFO: Acknowledgment sent {"connection_id":136659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:20:56] local.INFO: TCP Data received {"connection_id":136526,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:20:56] local.INFO: Processing buffer {"connection_id":136526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:20:56] local.INFO: IMEI packet received {"connection_id":136526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":136526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:20:57] local.INFO: TCP Data received {"connection_id":136526,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799045b0012d1927c0071fff98003600762a..."} 
[2026-07-19 14:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799045b0012d1927c0071fff98003600762a..."} 
[2026-07-19 14:20:57] local.INFO: Processing buffer {"connection_id":136526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799045b0012d1927c0071fff98003600762a..."} 
[2026-07-19 14:20:57] local.INFO: Packet analysis {"connection_id":136526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7990"} 
[2026-07-19 14:20:57] local.INFO: Extracted packet for processing {"connection_id":136526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7990"} 
[2026-07-19 14:20:57] local.INFO: GPS Element Parsed {"raw_longitude":756623296,"raw_latitude":119537560,"longitude_deg":75.6623296,"latitude_deg":11.953756,"altitude":54,"angle":118,"satellites":42,"speed":0,"hex_longitude":"2d1927c0","hex_latitude":"071fff98","is_valid_coordinates":true} 
[2026-07-19 14:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819435776001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195066653212672,"note":"Value kept but may cause issues"} 
[2026-07-19 14:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143129841664,"note":"Value kept but may cause issues"} 
[2026-07-19 14:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784450926000,"timestamp_ms":1784450926000,"timestamp_seconds":1784450926,"priority":1,"record_length":96,"hex_timestamp":"0000019f799045b0"} 
[2026-07-19 14:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:20: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-07-19 14:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-19 14:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819435776001,"66":13243,"102":206,"83":41984,"24":0,"16":7195066653212672,"45":1812558143129841664},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819435776001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:20:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:20:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195066653212672,"km_value":7195066653212.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143129841664,"description":"Unknown IO ID 45"} 
[2026-07-19 14:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819435776001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143129841664}} 
[2026-07-19 14:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":136526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:20:57] local.INFO: GPS data processed {"connection_id":136526,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:20:57] local.INFO: Acknowledgment sent {"connection_id":136526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:21:29] local.INFO: TCP Data received {"connection_id":136526,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79904998012d192800071fff48003600882a..."} 
[2026-07-19 14:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79904998012d192800071fff48003600882a..."} 
[2026-07-19 14:21:29] local.INFO: Processing buffer {"connection_id":136526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79904998012d192800071fff48003600882a..."} 
[2026-07-19 14:21:29] local.INFO: Packet analysis {"connection_id":136526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7990"} 
[2026-07-19 14:21:29] local.INFO: Extracted packet for processing {"connection_id":136526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7990"} 
[2026-07-19 14:21:29] local.INFO: GPS Element Parsed {"raw_longitude":756623360,"raw_latitude":119537480,"longitude_deg":75.662336,"latitude_deg":11.953748,"altitude":54,"angle":136,"satellites":42,"speed":0,"hex_longitude":"2d192800","hex_latitude":"071fff48","is_valid_coordinates":true} 
[2026-07-19 14:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819437056001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195075243147264,"note":"Value kept but may cause issues"} 
[2026-07-19 14:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812628511874062336,"note":"Value kept but may cause issues"} 
[2026-07-19 14:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784450927000,"timestamp_ms":1784450927000,"timestamp_seconds":1784450927,"priority":1,"record_length":96,"hex_timestamp":"0000019f79904998"} 
[2026-07-19 14:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:21: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-07-19 14:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-19 14:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:21:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":136526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":136526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":136526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819437056001,"66":13243,"102":206,"83":41984,"24":0,"16":7195075243147264,"45":1812628511874062336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819437056001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:21:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:21:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195075243147264,"km_value":7195075243147.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812628511874062336,"description":"Unknown IO ID 45"} 
[2026-07-19 14:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819437056001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812628511874062336}} 
[2026-07-19 14:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":136526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:21:29] local.INFO: GPS data processed {"connection_id":136526,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:21:29] local.INFO: Acknowledgment sent {"connection_id":136526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:21:31] local.INFO: TCP Data received {"connection_id":137611,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:21:31] local.INFO: Processing buffer {"connection_id":137611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:21:31] local.INFO: IMEI packet received {"connection_id":137611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":137611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:21:36] local.INFO: TCP Data received {"connection_id":137611,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:21:36] local.INFO: Processing buffer {"connection_id":137611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:21:36] local.INFO: IMEI packet received {"connection_id":137611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":137611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:21:37] local.INFO: TCP Data received {"connection_id":137611,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:21:37] local.INFO: Processing buffer {"connection_id":137611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:21:37] local.INFO: Packet analysis {"connection_id":137611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798f"} 
[2026-07-19 14:21:37] local.INFO: Extracted packet for processing {"connection_id":137611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798f"} 
[2026-07-19 14:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819347456001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14: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-07-19 14:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784450877000,"timestamp_ms":1784450877000,"timestamp_seconds":1784450877,"priority":1,"record_length":96,"hex_timestamp":"0000019f798f8648"} 
[2026-07-19 14:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819347456001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819347456001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:21:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:21:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819347456001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":137611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:21:37] local.INFO: GPS data processed {"connection_id":137611,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:21:37] local.INFO: Acknowledgment sent {"connection_id":137611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:21:51] local.INFO: TCP Data received {"connection_id":136527,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:21:51] local.INFO: Processing buffer {"connection_id":136527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:21:51] local.INFO: IMEI packet received {"connection_id":136527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":136527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:21:56] local.INFO: TCP Data received {"connection_id":136527,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:21:56] local.INFO: Processing buffer {"connection_id":136527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:21:56] local.INFO: IMEI packet received {"connection_id":136527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":136527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:21:57] local.INFO: TCP Data received {"connection_id":136527,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79905550012d192940071ffe80003500692a..."} 
[2026-07-19 14:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79905550012d192940071ffe80003500692a..."} 
[2026-07-19 14:21:57] local.INFO: Processing buffer {"connection_id":136527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79905550012d192940071ffe80003500692a..."} 
[2026-07-19 14:21:57] local.INFO: Packet analysis {"connection_id":136527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7990"} 
[2026-07-19 14:21:57] local.INFO: Extracted packet for processing {"connection_id":136527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7990"} 
[2026-07-19 14:21:57] local.INFO: GPS Element Parsed {"raw_longitude":756623680,"raw_latitude":119537280,"longitude_deg":75.662368,"latitude_deg":11.953728,"altitude":53,"angle":105,"satellites":42,"speed":6,"hex_longitude":"2d192940","hex_latitude":"071ffe80","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819437312001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195092423016448,"note":"Value kept but may cause issues"} 
[2026-07-19 14:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812698880618219520,"note":"Value kept but may cause issues"} 
[2026-07-19 14:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784450930000,"timestamp_ms":1784450930000,"timestamp_seconds":1784450930,"priority":1,"record_length":96,"hex_timestamp":"0000019f79905550"} 
[2026-07-19 14:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:21: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-07-19 14: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-19 14:21:57] 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-07-19 14: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-07-19 14:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819437312001,"66":13135,"102":206,"83":41984,"24":6,"16":7195092423016448,"45":1812698880618219520},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819437312001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:21:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:21:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195092423016448,"km_value":7195092423016.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812698880618219520,"description":"Unknown IO ID 45"} 
[2026-07-19 14:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819437312001,"power":13135,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1812698880618219520}} 
[2026-07-19 14:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":136527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:21:57] local.INFO: GPS data processed {"connection_id":136527,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:21:57] local.INFO: Acknowledgment sent {"connection_id":136527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:22:09] local.INFO: TCP Data received {"connection_id":137611,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:22:09] local.INFO: Processing buffer {"connection_id":137611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:22:09] local.INFO: Packet analysis {"connection_id":137611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798f"} 
[2026-07-19 14:22:09] local.INFO: Extracted packet for processing {"connection_id":137611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798f"} 
[2026-07-19 14:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819347456001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14: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-07-19 14:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784450877000,"timestamp_ms":1784450877000,"timestamp_seconds":1784450877,"priority":1,"record_length":96,"hex_timestamp":"0000019f798f8648"} 
[2026-07-19 14:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:22: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-07-19 14:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:22:09] 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-07-19 14:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819347456001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819347456001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:22:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:22:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819347456001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":137611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:22:09] local.INFO: GPS data processed {"connection_id":137611,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:22:09] local.INFO: Acknowledgment sent {"connection_id":137611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:22:28] local.INFO: TCP Data received {"connection_id":136527,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799068d8012d192e00071ffdd00036005c28..."} 
[2026-07-19 14:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799068d8012d192e00071ffdd00036005c28..."} 
[2026-07-19 14:22:28] local.INFO: Processing buffer {"connection_id":136527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799068d8012d192e00071ffdd00036005c28..."} 
[2026-07-19 14:22:28] local.INFO: Packet analysis {"connection_id":136527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7990"} 
[2026-07-19 14:22:28] local.INFO: Extracted packet for processing {"connection_id":136527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7990"} 
[2026-07-19 14:22:28] local.INFO: GPS Element Parsed {"raw_longitude":756624896,"raw_latitude":119537104,"longitude_deg":75.6624896,"latitude_deg":11.9537104,"altitude":54,"angle":92,"satellites":40,"speed":11,"hex_longitude":"2d192e00","hex_latitude":"071ffdd0","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819438080001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195148257591296,"note":"Value kept but may cause issues"} 
[2026-07-19 14:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1813050724339056640,"note":"Value kept but may cause issues"} 
[2026-07-19 14:22: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-07-19 14:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784450935000,"timestamp_ms":1784450935000,"timestamp_seconds":1784450935,"priority":1,"record_length":96,"hex_timestamp":"0000019f799068d8"} 
[2026-07-19 14:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:22: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-07-19 14: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-19 14:22: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-07-19 14: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-07-19 14:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819438080001,"66":13167,"102":206,"83":41984,"24":11,"16":7195148257591296,"45":1813050724339056640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819438080001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:22:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:22:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195148257591296,"km_value":7195148257591.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1813050724339056640,"description":"Unknown IO ID 45"} 
[2026-07-19 14:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819438080001,"power":13167,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1813050724339056640}} 
[2026-07-19 14:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":136527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:22:28] local.INFO: GPS data processed {"connection_id":136527,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:22:28] local.INFO: Acknowledgment sent {"connection_id":136527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:22:31] local.INFO: TCP Data received {"connection_id":139004,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:22:31] local.INFO: Processing buffer {"connection_id":139004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:22:31] local.INFO: IMEI packet received {"connection_id":139004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":139004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:22:36] local.INFO: TCP Data received {"connection_id":139004,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:22:36] local.INFO: Processing buffer {"connection_id":139004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:22:36] local.INFO: IMEI packet received {"connection_id":139004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":139004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:22:38] local.INFO: TCP Data received {"connection_id":139004,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:22:38] local.INFO: Processing buffer {"connection_id":139004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:22:38] local.INFO: Packet analysis {"connection_id":139004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798f"} 
[2026-07-19 14:22:38] local.INFO: Extracted packet for processing {"connection_id":139004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798f"} 
[2026-07-19 14:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819347456001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:22: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-07-19 14:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784450877000,"timestamp_ms":1784450877000,"timestamp_seconds":1784450877,"priority":1,"record_length":96,"hex_timestamp":"0000019f798f8648"} 
[2026-07-19 14:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":139004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":139004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":139004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819347456001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819347456001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:22:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819347456001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":139004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:22:38] local.INFO: GPS data processed {"connection_id":139004,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:22:38] local.INFO: Acknowledgment sent {"connection_id":139004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:22:51] local.INFO: TCP Data received {"connection_id":139005,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:22:51] local.INFO: Processing buffer {"connection_id":139005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:22:51] local.INFO: IMEI packet received {"connection_id":139005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":139005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:22:56] local.INFO: TCP Data received {"connection_id":139005,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:22:56] local.INFO: Processing buffer {"connection_id":139005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:22:56] local.INFO: IMEI packet received {"connection_id":139005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":139005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:22:57] local.INFO: TCP Data received {"connection_id":139005,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799070a8012d193080071ffd600036006729..."} 
[2026-07-19 14:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799070a8012d193080071ffd600036006729..."} 
[2026-07-19 14:22:57] local.INFO: Processing buffer {"connection_id":139005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799070a8012d193080071ffd600036006729..."} 
[2026-07-19 14:22:57] local.INFO: Packet analysis {"connection_id":139005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7990"} 
[2026-07-19 14:22:57] local.INFO: Extracted packet for processing {"connection_id":139005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7990"} 
[2026-07-19 14:22:57] local.INFO: GPS Element Parsed {"raw_longitude":756625536,"raw_latitude":119536992,"longitude_deg":75.6625536,"latitude_deg":11.9536992,"altitude":54,"angle":103,"satellites":41,"speed":13,"hex_longitude":"2d193080","hex_latitude":"071ffd60","is_valid_coordinates":true} 
[2026-07-19 14:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819439360001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195178322362368,"note":"Value kept but may cause issues"} 
[2026-07-19 14:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1814387730478387200,"note":"Value kept but may cause issues"} 
[2026-07-19 14:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784450937000,"timestamp_ms":1784450937000,"timestamp_seconds":1784450937,"priority":1,"record_length":96,"hex_timestamp":"0000019f799070a8"} 
[2026-07-19 14:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:22: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-07-19 14:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-19 14:22:57] 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-07-19 14:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819439360001,"66":12689,"102":206,"83":41984,"24":13,"16":7195178322362368,"45":1814387730478387200},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819439360001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:22:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:22:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195178322362368,"km_value":7195178322362.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1814387730478387200,"description":"Unknown IO ID 45"} 
[2026-07-19 14:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819439360001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1814387730478387200}} 
[2026-07-19 14:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":139005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:22:57] local.INFO: GPS data processed {"connection_id":139005,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:22:57] local.INFO: Acknowledgment sent {"connection_id":139005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:23:10] local.INFO: TCP Data received {"connection_id":139004,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:23:10] local.INFO: Processing buffer {"connection_id":139004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f798f8648012d34c50006aa4dd80008009528..."} 
[2026-07-19 14:23:10] local.INFO: Packet analysis {"connection_id":139004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f798f"} 
[2026-07-19 14:23:10] local.INFO: Extracted packet for processing {"connection_id":139004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f798f"} 
[2026-07-19 14:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819347456001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:23: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-07-19 14:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784450877000,"timestamp_ms":1784450877000,"timestamp_seconds":1784450877,"priority":1,"record_length":96,"hex_timestamp":"0000019f798f8648"} 
[2026-07-19 14:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":139004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":139004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":139004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:23:10] 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-07-19 14:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819347456001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819347456001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:23:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:23:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819347456001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":139004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:23:10] local.INFO: GPS data processed {"connection_id":139004,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:23:10] local.INFO: Acknowledgment sent {"connection_id":139004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:23:28] local.INFO: TCP Data received {"connection_id":139005,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7990c2b0012d193c40071ffb180037005f29..."} 
[2026-07-19 14:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7990c2b0012d193c40071ffb180037005f29..."} 
[2026-07-19 14:23:28] local.INFO: Processing buffer {"connection_id":139005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7990c2b0012d193c40071ffb180037005f29..."} 
[2026-07-19 14:23:28] local.INFO: Packet analysis {"connection_id":139005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7990"} 
[2026-07-19 14:23:28] local.INFO: Extracted packet for processing {"connection_id":139005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7990"} 
[2026-07-19 14:23:28] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536408,"longitude_deg":75.6628544,"latitude_deg":11.9536408,"altitude":55,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819439872001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195328646217728,"note":"Value kept but may cause issues"} 
[2026-07-19 14:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1815091417920135168,"note":"Value kept but may cause issues"} 
[2026-07-19 14:23: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-07-19 14:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784450958000,"timestamp_ms":1784450958000,"timestamp_seconds":1784450958,"priority":1,"record_length":96,"hex_timestamp":"0000019f7990c2b0"} 
[2026-07-19 14:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:23: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-07-19 14: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-19 14:23:28] 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-07-19 14: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-07-19 14:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819439872001,"66":13102,"102":206,"83":41984,"24":0,"16":7195328646217728,"45":1815091417920135168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819439872001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:23:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:23:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195328646217728,"km_value":7195328646217.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1815091417920135168,"description":"Unknown IO ID 45"} 
[2026-07-19 14:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819439872001,"power":13102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1815091417920135168}} 
[2026-07-19 14:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":139005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:23:28] local.INFO: GPS data processed {"connection_id":139005,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:23:28] local.INFO: Acknowledgment sent {"connection_id":139005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:23:31] local.INFO: TCP Data received {"connection_id":136661,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:23:31] local.INFO: Processing buffer {"connection_id":136661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:23:31] local.INFO: IMEI packet received {"connection_id":136661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":136661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:23:36] local.INFO: TCP Data received {"connection_id":136661,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:23:36] local.INFO: Processing buffer {"connection_id":136661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:23:36] local.INFO: IMEI packet received {"connection_id":136661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":136661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:23:37] local.INFO: TCP Data received {"connection_id":136661,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:23:37] local.INFO: Processing buffer {"connection_id":136661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:23:37] local.INFO: Packet analysis {"connection_id":136661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7994"} 
[2026-07-19 14:23:37] local.INFO: Extracted packet for processing {"connection_id":136661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7994"} 
[2026-07-19 14:23:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819424512001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:23: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-07-19 14:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784451178000,"timestamp_ms":1784451178000,"timestamp_seconds":1784451178,"priority":1,"record_length":96,"hex_timestamp":"0000019f79941e10"} 
[2026-07-19 14:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819424512001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819424512001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:23:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:23:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819424512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":136661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:23:37] local.INFO: GPS data processed {"connection_id":136661,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:23:37] local.INFO: Acknowledgment sent {"connection_id":136661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:23:51] local.INFO: TCP Data received {"connection_id":139006,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:23:51] local.INFO: Processing buffer {"connection_id":139006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:23:51] local.INFO: IMEI packet received {"connection_id":139006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":139006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:23:56] local.INFO: TCP Data received {"connection_id":139006,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:23:56] local.INFO: Processing buffer {"connection_id":139006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:23:56] local.INFO: IMEI packet received {"connection_id":139006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":139006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:23:56] local.INFO: TCP Data received {"connection_id":136528,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:23:56] local.INFO: Processing buffer {"connection_id":136528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:23:56] local.INFO: IMEI packet received {"connection_id":136528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 14:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":136528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:23:57] local.INFO: TCP Data received {"connection_id":139006,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799114b8012d193c40071ffb180037005f29..."} 
[2026-07-19 14:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799114b8012d193c40071ffb180037005f29..."} 
[2026-07-19 14:23:57] local.INFO: Processing buffer {"connection_id":139006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799114b8012d193c40071ffb180037005f29..."} 
[2026-07-19 14:23:57] local.INFO: Packet analysis {"connection_id":139006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7991"} 
[2026-07-19 14:23:57] local.INFO: Extracted packet for processing {"connection_id":139006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7991"} 
[2026-07-19 14:23:57] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536408,"longitude_deg":75.6628544,"latitude_deg":11.9536408,"altitude":55,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819445248001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195328646217728,"note":"Value kept but may cause issues"} 
[2026-07-19 14:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896335872,"note":"Value kept but may cause issues"} 
[2026-07-19 14:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784450979000,"timestamp_ms":1784450979000,"timestamp_seconds":1784450979,"priority":1,"record_length":96,"hex_timestamp":"0000019f799114b8"} 
[2026-07-19 14:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:23: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-07-19 14: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 14:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819445248001,"66":13048,"102":206,"83":41984,"24":0,"16":7195328646217728,"45":1818398748896335872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819445248001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:23:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:23:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195328646217728,"km_value":7195328646217.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896335872,"description":"Unknown IO ID 45"} 
[2026-07-19 14:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819445248001,"power":13048,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896335872}} 
[2026-07-19 14:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":139006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:23:57] local.INFO: GPS data processed {"connection_id":139006,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:23:57] local.INFO: Acknowledgment sent {"connection_id":139006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:24:09] local.INFO: TCP Data received {"connection_id":136661,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:24:09] local.INFO: Processing buffer {"connection_id":136661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:24:09] local.INFO: Packet analysis {"connection_id":136661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7994"} 
[2026-07-19 14:24:09] local.INFO: Extracted packet for processing {"connection_id":136661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7994"} 
[2026-07-19 14:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819424512001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:24: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-07-19 14:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784451178000,"timestamp_ms":1784451178000,"timestamp_seconds":1784451178,"priority":1,"record_length":96,"hex_timestamp":"0000019f79941e10"} 
[2026-07-19 14:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819424512001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819424512001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:24:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:24:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819424512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":136661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:24:09] local.INFO: GPS data processed {"connection_id":136661,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:24:09] local.INFO: Acknowledgment sent {"connection_id":136661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:24:26] local.INFO: TCP Data received {"connection_id":139007,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:24:26] local.INFO: Processing buffer {"connection_id":139007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:24:26] local.INFO: IMEI packet received {"connection_id":139007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 14:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":139007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:24:28] local.INFO: TCP Data received {"connection_id":139006,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799166c0012d193c40071ffb180037005f29..."} 
[2026-07-19 14:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799166c0012d193c40071ffb180037005f29..."} 
[2026-07-19 14:24:28] local.INFO: Processing buffer {"connection_id":139006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799166c0012d193c40071ffb180037005f29..."} 
[2026-07-19 14:24:28] local.INFO: Packet analysis {"connection_id":139006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7991"} 
[2026-07-19 14:24:28] local.INFO: Extracted packet for processing {"connection_id":139006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7991"} 
[2026-07-19 14:24:28] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536408,"longitude_deg":75.6628544,"latitude_deg":11.9536408,"altitude":55,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819450624001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195328646217728,"note":"Value kept but may cause issues"} 
[2026-07-19 14:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896335872,"note":"Value kept but may cause issues"} 
[2026-07-19 14:24: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-07-19 14:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784451000000,"timestamp_ms":1784451000000,"timestamp_seconds":1784451000,"priority":1,"record_length":96,"hex_timestamp":"0000019f799166c0"} 
[2026-07-19 14:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:24: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-07-19 14: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-19 14:24: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-07-19 14: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-07-19 14:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819450624001,"66":12885,"102":206,"83":41984,"24":0,"16":7195328646217728,"45":1818398748896335872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819450624001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:24:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:24:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195328646217728,"km_value":7195328646217.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896335872,"description":"Unknown IO ID 45"} 
[2026-07-19 14:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819450624001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896335872}} 
[2026-07-19 14:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":139006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:24:28] local.INFO: GPS data processed {"connection_id":139006,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:24:28] local.INFO: Acknowledgment sent {"connection_id":139006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:24:36] local.INFO: TCP Data received {"connection_id":137612,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:24:36] local.INFO: Processing buffer {"connection_id":137612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:24:36] local.INFO: IMEI packet received {"connection_id":137612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":137612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:24:41] local.INFO: TCP Data received {"connection_id":137612,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:24:41] local.INFO: Processing buffer {"connection_id":137612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:24:41] local.INFO: IMEI packet received {"connection_id":137612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":137612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:24:42] local.INFO: TCP Data received {"connection_id":137612,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:24:42] local.INFO: Processing buffer {"connection_id":137612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:24:42] local.INFO: Packet analysis {"connection_id":137612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7994"} 
[2026-07-19 14:24:42] local.INFO: Extracted packet for processing {"connection_id":137612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7994"} 
[2026-07-19 14:24:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819424512001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784451178000,"timestamp_ms":1784451178000,"timestamp_seconds":1784451178,"priority":1,"record_length":96,"hex_timestamp":"0000019f79941e10"} 
[2026-07-19 14:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:24:42] 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-07-19 14:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819424512001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819424512001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:24:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:24:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819424512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":137612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:24:42] local.INFO: GPS data processed {"connection_id":137612,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:24:42] local.INFO: Acknowledgment sent {"connection_id":137612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:24:47] local.INFO: TCP Data received {"connection_id":137612,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:24:47] local.INFO: Processing buffer {"connection_id":137612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:24:47] local.INFO: Packet analysis {"connection_id":137612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7994"} 
[2026-07-19 14:24:47] local.INFO: Extracted packet for processing {"connection_id":137612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7994"} 
[2026-07-19 14:24:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819424512001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784451178000,"timestamp_ms":1784451178000,"timestamp_seconds":1784451178,"priority":1,"record_length":96,"hex_timestamp":"0000019f79941e10"} 
[2026-07-19 14:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":137612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":137612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":137612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819424512001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819424512001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:24:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:24:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819424512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":137612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:24:47] local.INFO: GPS data processed {"connection_id":137612,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:24:47] local.INFO: Acknowledgment sent {"connection_id":137612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:24:56] local.INFO: TCP Data received {"connection_id":139008,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:24:56] local.INFO: Processing buffer {"connection_id":139008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:24:56] local.INFO: IMEI packet received {"connection_id":139008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":139008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:25:01] local.INFO: TCP Data received {"connection_id":139008,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:25:01] local.INFO: Processing buffer {"connection_id":139008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:25:01] local.INFO: IMEI packet received {"connection_id":139008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":139008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:25:02] local.INFO: TCP Data received {"connection_id":139008,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7991b8c8012d193c40071ffb180037005f2a..."} 
[2026-07-19 14:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7991b8c8012d193c40071ffb180037005f2a..."} 
[2026-07-19 14:25:02] local.INFO: Processing buffer {"connection_id":139008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7991b8c8012d193c40071ffb180037005f2a..."} 
[2026-07-19 14:25:02] local.INFO: Packet analysis {"connection_id":139008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7991"} 
[2026-07-19 14:25:02] local.INFO: Extracted packet for processing {"connection_id":139008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7991"} 
[2026-07-19 14:25:02] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536408,"longitude_deg":75.6628544,"latitude_deg":11.9536408,"altitude":55,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819456000001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195328646217728,"note":"Value kept but may cause issues"} 
[2026-07-19 14:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896335872,"note":"Value kept but may cause issues"} 
[2026-07-19 14:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784451021000,"timestamp_ms":1784451021000,"timestamp_seconds":1784451021,"priority":1,"record_length":96,"hex_timestamp":"0000019f7991b8c8"} 
[2026-07-19 14:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-19 14:25:02] 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-07-19 14: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-07-19 14:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":139008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":139008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":139008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819456000001,"66":12885,"102":206,"83":41984,"24":0,"16":7195328646217728,"45":1818398748896335872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819456000001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:25:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:25:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195328646217728,"km_value":7195328646217.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896335872,"description":"Unknown IO ID 45"} 
[2026-07-19 14:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819456000001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896335872}} 
[2026-07-19 14:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":139008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:25:02] local.INFO: GPS data processed {"connection_id":139008,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:25:02] local.INFO: Acknowledgment sent {"connection_id":139008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:25:06] local.INFO: TCP Data received {"connection_id":139008,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79920ad0012d193c40071ffb180037005f27..."} 
[2026-07-19 14:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79920ad0012d193c40071ffb180037005f27..."} 
[2026-07-19 14:25:06] local.INFO: Processing buffer {"connection_id":139008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79920ad0012d193c40071ffb180037005f27..."} 
[2026-07-19 14:25:06] local.INFO: Packet analysis {"connection_id":139008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7992"} 
[2026-07-19 14:25:06] local.INFO: Extracted packet for processing {"connection_id":139008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7992"} 
[2026-07-19 14:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536408,"longitude_deg":75.6628544,"latitude_deg":11.9536408,"altitude":55,"angle":95,"satellites":39,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819461376001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195328646217728,"note":"Value kept but may cause issues"} 
[2026-07-19 14:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896335872,"note":"Value kept but may cause issues"} 
[2026-07-19 14:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784451042000,"timestamp_ms":1784451042000,"timestamp_seconds":1784451042,"priority":1,"record_length":96,"hex_timestamp":"0000019f79920ad0"} 
[2026-07-19 14:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-19 14:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":139008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":139008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":139008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819461376001,"66":12885,"102":206,"83":41984,"24":0,"16":7195328646217728,"45":1818398748896335872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819461376001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:25:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195328646217728,"km_value":7195328646217.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896335872,"description":"Unknown IO ID 45"} 
[2026-07-19 14:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819461376001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896335872}} 
[2026-07-19 14:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":139008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:25:07] local.INFO: GPS data processed {"connection_id":139008,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:25:07] local.INFO: Acknowledgment sent {"connection_id":139008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:25:31] local.INFO: TCP Data received {"connection_id":139010,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:25:31] local.INFO: Processing buffer {"connection_id":139010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:25:31] local.INFO: IMEI packet received {"connection_id":139010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":139010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:25:36] local.INFO: TCP Data received {"connection_id":139010,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:25:36] local.INFO: Processing buffer {"connection_id":139010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:25:36] local.INFO: IMEI packet received {"connection_id":139010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":139010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:25:37] local.INFO: TCP Data received {"connection_id":139010,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:25:37] local.INFO: Processing buffer {"connection_id":139010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:25:37] local.INFO: Packet analysis {"connection_id":139010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7994"} 
[2026-07-19 14:25:37] local.INFO: Extracted packet for processing {"connection_id":139010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7994"} 
[2026-07-19 14:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819424512001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:25: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-07-19 14:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784451178000,"timestamp_ms":1784451178000,"timestamp_seconds":1784451178,"priority":1,"record_length":96,"hex_timestamp":"0000019f79941e10"} 
[2026-07-19 14:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14: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":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819424512001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819424512001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:25:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819424512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":139010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:25:37] local.INFO: GPS data processed {"connection_id":139010,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:25:37] local.INFO: Acknowledgment sent {"connection_id":139010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:25:51] local.INFO: TCP Data received {"connection_id":137613,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:25:51] local.INFO: Processing buffer {"connection_id":137613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:25:51] local.INFO: IMEI packet received {"connection_id":137613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":137613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:25:53] local.INFO: TCP Data received {"connection_id":137613,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:25:53] local.INFO: Processing buffer {"connection_id":137613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:25:53] local.INFO: IMEI packet received {"connection_id":137613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":137613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:25:54] local.INFO: TCP Data received {"connection_id":137613,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79959128012d193c40071ffb180037005f29..."} 
[2026-07-19 14:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79959128012d193c40071ffb180037005f29..."} 
[2026-07-19 14:25:54] local.INFO: Processing buffer {"connection_id":137613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79959128012d193c40071ffb180037005f29..."} 
[2026-07-19 14:25:54] local.INFO: Packet analysis {"connection_id":137613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7995"} 
[2026-07-19 14:25:54] local.INFO: Extracted packet for processing {"connection_id":137613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7995"} 
[2026-07-19 14:25:54] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536408,"longitude_deg":75.6628544,"latitude_deg":11.9536408,"altitude":55,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819520512001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195328646217728,"note":"Value kept but may cause issues"} 
[2026-07-19 14:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896335872,"note":"Value kept but may cause issues"} 
[2026-07-19 14: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-07-19 14:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784451273000,"timestamp_ms":1784451273000,"timestamp_seconds":1784451273,"priority":1,"record_length":96,"hex_timestamp":"0000019f79959128"} 
[2026-07-19 14:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14: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":43,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-07-19 14:25:54] 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-07-19 14: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-07-19 14:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":137613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":137613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":137613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819520512001,"66":12428,"102":206,"83":41984,"24":0,"16":7195328646217728,"45":1818398748896335872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819520512001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:25:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:25:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195328646217728,"km_value":7195328646217.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896335872,"description":"Unknown IO ID 45"} 
[2026-07-19 14:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819520512001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896335872}} 
[2026-07-19 14:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":137613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:25:54] local.INFO: GPS data processed {"connection_id":137613,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:25:54] local.INFO: Acknowledgment sent {"connection_id":137613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:26:10] local.INFO: TCP Data received {"connection_id":139010,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:26:10] local.INFO: Processing buffer {"connection_id":139010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:26:10] local.INFO: Packet analysis {"connection_id":139010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7994"} 
[2026-07-19 14:26:10] local.INFO: Extracted packet for processing {"connection_id":139010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7994"} 
[2026-07-19 14:26:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819424512001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:26: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-07-19 14:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784451178000,"timestamp_ms":1784451178000,"timestamp_seconds":1784451178,"priority":1,"record_length":96,"hex_timestamp":"0000019f79941e10"} 
[2026-07-19 14:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":139010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":139010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":139010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819424512001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819424512001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:26:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:26:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819424512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":139010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:26:10] local.INFO: GPS data processed {"connection_id":139010,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:26:10] local.INFO: Acknowledgment sent {"connection_id":139010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:26:25] local.INFO: TCP Data received {"connection_id":137613,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7995e330012d193c40071ffb180037005f2b..."} 
[2026-07-19 14:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7995e330012d193c40071ffb180037005f2b..."} 
[2026-07-19 14:26:25] local.INFO: Processing buffer {"connection_id":137613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7995e330012d193c40071ffb180037005f2b..."} 
[2026-07-19 14:26:25] local.INFO: Packet analysis {"connection_id":137613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7995"} 
[2026-07-19 14:26:25] local.INFO: Extracted packet for processing {"connection_id":137613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7995"} 
[2026-07-19 14:26:25] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536408,"longitude_deg":75.6628544,"latitude_deg":11.9536408,"altitude":55,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-07-19 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-07-19 14:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819525888001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195328646217728,"note":"Value kept but may cause issues"} 
[2026-07-19 14:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896335872,"note":"Value kept but may cause issues"} 
[2026-07-19 14: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-07-19 14:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784451294000,"timestamp_ms":1784451294000,"timestamp_seconds":1784451294,"priority":1,"record_length":96,"hex_timestamp":"0000019f7995e330"} 
[2026-07-19 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-07-19 14:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-19 14:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 14:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":137613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":137613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":137613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819525888001,"66":11080,"102":206,"83":41984,"24":0,"16":7195328646217728,"45":1818398748896335872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819525888001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:26:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:26:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195328646217728,"km_value":7195328646217.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896335872,"description":"Unknown IO ID 45"} 
[2026-07-19 14:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819525888001,"power":11080,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896335872}} 
[2026-07-19 14:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":137613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:26:25] local.INFO: GPS data processed {"connection_id":137613,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:26:25] local.INFO: Acknowledgment sent {"connection_id":137613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:26:31] local.INFO: TCP Data received {"connection_id":137614,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:26:31] local.INFO: Processing buffer {"connection_id":137614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:26:31] local.INFO: IMEI packet received {"connection_id":137614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":137614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:26:36] local.INFO: TCP Data received {"connection_id":137614,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:26:36] local.INFO: Processing buffer {"connection_id":137614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:26:36] local.INFO: IMEI packet received {"connection_id":137614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":137614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:26:37] local.INFO: TCP Data received {"connection_id":137614,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:26:37] local.INFO: Processing buffer {"connection_id":137614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:26:37] local.INFO: Packet analysis {"connection_id":137614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7994"} 
[2026-07-19 14:26:37] local.INFO: Extracted packet for processing {"connection_id":137614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7994"} 
[2026-07-19 14:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819424512001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:26: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-07-19 14:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784451178000,"timestamp_ms":1784451178000,"timestamp_seconds":1784451178,"priority":1,"record_length":96,"hex_timestamp":"0000019f79941e10"} 
[2026-07-19 14:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819424512001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819424512001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:26:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819424512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":137614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:26:37] local.INFO: GPS data processed {"connection_id":137614,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:26:37] local.INFO: Acknowledgment sent {"connection_id":137614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:26:52] local.INFO: TCP Data received {"connection_id":139012,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:26:52] local.INFO: Processing buffer {"connection_id":139012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:26:52] local.INFO: IMEI packet received {"connection_id":139012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":139012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:26:56] local.INFO: TCP Data received {"connection_id":139012,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:26:56] local.INFO: Processing buffer {"connection_id":139012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:26:56] local.INFO: IMEI packet received {"connection_id":139012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":139012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:26:57] local.INFO: TCP Data received {"connection_id":139012,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79963538012d193c40071ffb180037005f2c..."} 
[2026-07-19 14:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79963538012d193c40071ffb180037005f2c..."} 
[2026-07-19 14:26:57] local.INFO: Processing buffer {"connection_id":139012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79963538012d193c40071ffb180037005f2c..."} 
[2026-07-19 14:26:57] local.INFO: Packet analysis {"connection_id":139012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7996"} 
[2026-07-19 14:26:57] local.INFO: Extracted packet for processing {"connection_id":139012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7996"} 
[2026-07-19 14:26:57] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536408,"longitude_deg":75.6628544,"latitude_deg":11.9536408,"altitude":55,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-07-19 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-07-19 14:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819531264001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195328646217728,"note":"Value kept but may cause issues"} 
[2026-07-19 14:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896335872,"note":"Value kept but may cause issues"} 
[2026-07-19 14:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784451315000,"timestamp_ms":1784451315000,"timestamp_seconds":1784451315,"priority":1,"record_length":96,"hex_timestamp":"0000019f79963538"} 
[2026-07-19 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-07-19 14: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-07-19 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":43,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-07-19 14:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1061,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 14:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819531264001,"66":11667,"102":206,"83":41984,"24":0,"16":7195328646217728,"45":1818398748896335872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819531264001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:26:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:26:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195328646217728,"km_value":7195328646217.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896335872,"description":"Unknown IO ID 45"} 
[2026-07-19 14:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819531264001,"power":11667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896335872}} 
[2026-07-19 14:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":139012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:26:57] local.INFO: GPS data processed {"connection_id":139012,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:26:57] local.INFO: Acknowledgment sent {"connection_id":139012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:27:09] local.INFO: TCP Data received {"connection_id":137614,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:27:09] local.INFO: Processing buffer {"connection_id":137614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:27:09] local.INFO: Packet analysis {"connection_id":137614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7994"} 
[2026-07-19 14:27:09] local.INFO: Extracted packet for processing {"connection_id":137614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7994"} 
[2026-07-19 14:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819424512001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:27: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-07-19 14:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784451178000,"timestamp_ms":1784451178000,"timestamp_seconds":1784451178,"priority":1,"record_length":96,"hex_timestamp":"0000019f79941e10"} 
[2026-07-19 14:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:27: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-07-19 14:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819424512001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819424512001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:27:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:27:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819424512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":137614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:27:09] local.INFO: GPS data processed {"connection_id":137614,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:27:09] local.INFO: Acknowledgment sent {"connection_id":137614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:27:28] local.INFO: TCP Data received {"connection_id":139012,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79968740012d193c40071ffb180037005f2a..."} 
[2026-07-19 14:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79968740012d193c40071ffb180037005f2a..."} 
[2026-07-19 14:27:28] local.INFO: Processing buffer {"connection_id":139012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79968740012d193c40071ffb180037005f2a..."} 
[2026-07-19 14:27:28] local.INFO: Packet analysis {"connection_id":139012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7996"} 
[2026-07-19 14:27:28] local.INFO: Extracted packet for processing {"connection_id":139012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7996"} 
[2026-07-19 14:27:28] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536408,"longitude_deg":75.6628544,"latitude_deg":11.9536408,"altitude":55,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819536640001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195328646217728,"note":"Value kept but may cause issues"} 
[2026-07-19 14:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896335872,"note":"Value kept but may cause issues"} 
[2026-07-19 14:27: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-07-19 14:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784451336000,"timestamp_ms":1784451336000,"timestamp_seconds":1784451336,"priority":1,"record_length":96,"hex_timestamp":"0000019f79968740"} 
[2026-07-19 14:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:27: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-07-19 14: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":45,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-19 14:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1746,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819536640001,"66":12428,"102":206,"83":41984,"24":0,"16":7195328646217728,"45":1818398748896335872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819536640001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:27:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:27:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195328646217728,"km_value":7195328646217.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896335872,"description":"Unknown IO ID 45"} 
[2026-07-19 14:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819536640001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896335872}} 
[2026-07-19 14:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":139012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:27:28] local.INFO: GPS data processed {"connection_id":139012,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:27:28] local.INFO: Acknowledgment sent {"connection_id":139012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:27:31] local.INFO: TCP Data received {"connection_id":136529,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:27:31] local.INFO: Processing buffer {"connection_id":136529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:27:31] local.INFO: IMEI packet received {"connection_id":136529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":136529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:27:36] local.INFO: TCP Data received {"connection_id":136529,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:27:36] local.INFO: Processing buffer {"connection_id":136529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:27:36] local.INFO: IMEI packet received {"connection_id":136529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":136529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:27:37] local.INFO: TCP Data received {"connection_id":136529,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:27:37] local.INFO: Processing buffer {"connection_id":136529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:27:37] local.INFO: Packet analysis {"connection_id":136529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7994"} 
[2026-07-19 14:27:37] local.INFO: Extracted packet for processing {"connection_id":136529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7994"} 
[2026-07-19 14:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819424512001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:27: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-07-19 14:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784451178000,"timestamp_ms":1784451178000,"timestamp_seconds":1784451178,"priority":1,"record_length":96,"hex_timestamp":"0000019f79941e10"} 
[2026-07-19 14:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:27:37] 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-07-19 14:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819424512001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819424512001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:27:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819424512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":136529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:27:37] local.INFO: GPS data processed {"connection_id":136529,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:27:37] local.INFO: Acknowledgment sent {"connection_id":136529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:27:51] local.INFO: TCP Data received {"connection_id":137615,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:27:51] local.INFO: Processing buffer {"connection_id":137615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:27:51] local.INFO: IMEI packet received {"connection_id":137615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":137615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:27:56] local.INFO: TCP Data received {"connection_id":137615,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:27:56] local.INFO: Processing buffer {"connection_id":137615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:27:56] local.INFO: IMEI packet received {"connection_id":137615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":137615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:27:57] local.INFO: TCP Data received {"connection_id":137615,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7996d948012d193c40071ffb180037005f2a..."} 
[2026-07-19 14:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7996d948012d193c40071ffb180037005f2a..."} 
[2026-07-19 14:27:57] local.INFO: Processing buffer {"connection_id":137615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7996d948012d193c40071ffb180037005f2a..."} 
[2026-07-19 14:27:57] local.INFO: Packet analysis {"connection_id":137615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7996"} 
[2026-07-19 14:27:57] local.INFO: Extracted packet for processing {"connection_id":137615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7996"} 
[2026-07-19 14:27:57] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536408,"longitude_deg":75.6628544,"latitude_deg":11.9536408,"altitude":55,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819542016001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195328646217728,"note":"Value kept but may cause issues"} 
[2026-07-19 14:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896335872,"note":"Value kept but may cause issues"} 
[2026-07-19 14:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784451357000,"timestamp_ms":1784451357000,"timestamp_seconds":1784451357,"priority":1,"record_length":96,"hex_timestamp":"0000019f7996d948"} 
[2026-07-19 14:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:27: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-07-19 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-19 14:27:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819542016001,"66":12406,"102":206,"83":41984,"24":0,"16":7195328646217728,"45":1818398748896335872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819542016001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:27:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:27:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195328646217728,"km_value":7195328646217.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896335872,"description":"Unknown IO ID 45"} 
[2026-07-19 14:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819542016001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896335872}} 
[2026-07-19 14:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":137615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:27:57] local.INFO: GPS data processed {"connection_id":137615,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:27:57] local.INFO: Acknowledgment sent {"connection_id":137615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:28:09] local.INFO: TCP Data received {"connection_id":136529,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:28:09] local.INFO: Processing buffer {"connection_id":136529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:28:09] local.INFO: Packet analysis {"connection_id":136529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7994"} 
[2026-07-19 14:28:09] local.INFO: Extracted packet for processing {"connection_id":136529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7994"} 
[2026-07-19 14:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819424512001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:28: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-07-19 14:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784451178000,"timestamp_ms":1784451178000,"timestamp_seconds":1784451178,"priority":1,"record_length":96,"hex_timestamp":"0000019f79941e10"} 
[2026-07-19 14:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:28:09] 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-07-19 14:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819424512001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819424512001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:28:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:28:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819424512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":136529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:28:09] local.INFO: GPS data processed {"connection_id":136529,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:28:09] local.INFO: Acknowledgment sent {"connection_id":136529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:28:28] local.INFO: TCP Data received {"connection_id":137615,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79972b50012d193c40071ffb180037005f29..."} 
[2026-07-19 14:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79972b50012d193c40071ffb180037005f29..."} 
[2026-07-19 14:28:28] local.INFO: Processing buffer {"connection_id":137615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79972b50012d193c40071ffb180037005f29..."} 
[2026-07-19 14:28:28] local.INFO: Packet analysis {"connection_id":137615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7997"} 
[2026-07-19 14:28:28] local.INFO: Extracted packet for processing {"connection_id":137615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7997"} 
[2026-07-19 14:28:28] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536408,"longitude_deg":75.6628544,"latitude_deg":11.9536408,"altitude":55,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-07-19 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-07-19 14:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819547392001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195328646217728,"note":"Value kept but may cause issues"} 
[2026-07-19 14:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896335872,"note":"Value kept but may cause issues"} 
[2026-07-19 14:28: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-07-19 14:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784451378000,"timestamp_ms":1784451378000,"timestamp_seconds":1784451378,"priority":1,"record_length":96,"hex_timestamp":"0000019f79972b50"} 
[2026-07-19 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-07-19 14:28: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-07-19 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:28:28] 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-07-19 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-07-19 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-07-19 14:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819547392001,"66":12385,"102":206,"83":41984,"24":0,"16":7195328646217728,"45":1818398748896335872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819547392001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:28:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:28:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195328646217728,"km_value":7195328646217.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896335872,"description":"Unknown IO ID 45"} 
[2026-07-19 14:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819547392001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896335872}} 
[2026-07-19 14:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":137615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:28:28] local.INFO: GPS data processed {"connection_id":137615,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:28:28] local.INFO: Acknowledgment sent {"connection_id":137615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:28:31] local.INFO: TCP Data received {"connection_id":139014,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:28:31] local.INFO: Processing buffer {"connection_id":139014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:28:31] local.INFO: IMEI packet received {"connection_id":139014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":139014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:28:36] local.INFO: TCP Data received {"connection_id":139014,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:28:36] local.INFO: Processing buffer {"connection_id":139014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:28:36] local.INFO: IMEI packet received {"connection_id":139014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":139014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:28:38] local.INFO: TCP Data received {"connection_id":139014,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:28:38] local.INFO: Processing buffer {"connection_id":139014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79941e10012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:28:38] local.INFO: Packet analysis {"connection_id":139014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7994"} 
[2026-07-19 14:28:38] local.INFO: Extracted packet for processing {"connection_id":139014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7994"} 
[2026-07-19 14:28:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819424512001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:28: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-07-19 14:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784451178000,"timestamp_ms":1784451178000,"timestamp_seconds":1784451178,"priority":1,"record_length":96,"hex_timestamp":"0000019f79941e10"} 
[2026-07-19 14:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":139014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":139014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":139014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:28:38] 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-07-19 14:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819424512001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819424512001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:28:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:28:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819424512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":139014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:28:38] local.INFO: GPS data processed {"connection_id":139014,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:28:38] local.INFO: Acknowledgment sent {"connection_id":139014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:28:51] local.INFO: TCP Data received {"connection_id":136662,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:28:51] local.INFO: Processing buffer {"connection_id":136662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:28:51] local.INFO: IMEI packet received {"connection_id":136662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":136662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:28:56] local.INFO: TCP Data received {"connection_id":136662,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:28:56] local.INFO: Processing buffer {"connection_id":136662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:28:56] local.INFO: IMEI packet received {"connection_id":136662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":136662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:28:57] local.INFO: TCP Data received {"connection_id":136662,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79977d58012d193c40071ffb180037005f2a..."} 
[2026-07-19 14:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79977d58012d193c40071ffb180037005f2a..."} 
[2026-07-19 14:28:57] local.INFO: Processing buffer {"connection_id":136662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79977d58012d193c40071ffb180037005f2a..."} 
[2026-07-19 14:28:57] local.INFO: Packet analysis {"connection_id":136662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7997"} 
[2026-07-19 14:28:57] local.INFO: Extracted packet for processing {"connection_id":136662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7997"} 
[2026-07-19 14:28:57] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536408,"longitude_deg":75.6628544,"latitude_deg":11.9536408,"altitude":55,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819552768001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195328646217728,"note":"Value kept but may cause issues"} 
[2026-07-19 14:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896335872,"note":"Value kept but may cause issues"} 
[2026-07-19 14:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784451399000,"timestamp_ms":1784451399000,"timestamp_seconds":1784451399,"priority":1,"record_length":96,"hex_timestamp":"0000019f79977d58"} 
[2026-07-19 14:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:28: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-07-19 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:28:57] 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-07-19 14: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-07-19 14:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819552768001,"66":12406,"102":206,"83":41984,"24":0,"16":7195328646217728,"45":1818398748896335872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819552768001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:28:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:28:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195328646217728,"km_value":7195328646217.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896335872,"description":"Unknown IO ID 45"} 
[2026-07-19 14:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819552768001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896335872}} 
[2026-07-19 14:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":136662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:28:57] local.INFO: GPS data processed {"connection_id":136662,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:28:57] local.INFO: Acknowledgment sent {"connection_id":136662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:29:09] local.INFO: TCP Data received {"connection_id":139014,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:29:09] local.INFO: Processing buffer {"connection_id":139014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:29:09] local.INFO: Packet analysis {"connection_id":139014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:29:09] local.INFO: Extracted packet for processing {"connection_id":139014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819501568001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:29: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-07-19 14:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784451479000,"timestamp_ms":1784451479000,"timestamp_seconds":1784451479,"priority":1,"record_length":96,"hex_timestamp":"0000019f7998b5d8"} 
[2026-07-19 14:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:29:09] 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-07-19 14:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819501568001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819501568001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:29:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:29:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819501568001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":139014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:29:09] local.INFO: GPS data processed {"connection_id":139014,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:29:09] local.INFO: Acknowledgment sent {"connection_id":139014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:29:28] local.INFO: TCP Data received {"connection_id":136662,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7997cf60012d193c40071ffb180037005f2a..."} 
[2026-07-19 14:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7997cf60012d193c40071ffb180037005f2a..."} 
[2026-07-19 14:29:28] local.INFO: Processing buffer {"connection_id":136662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7997cf60012d193c40071ffb180037005f2a..."} 
[2026-07-19 14:29:28] local.INFO: Packet analysis {"connection_id":136662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7997"} 
[2026-07-19 14:29:28] local.INFO: Extracted packet for processing {"connection_id":136662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7997"} 
[2026-07-19 14:29:28] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536408,"longitude_deg":75.6628544,"latitude_deg":11.9536408,"altitude":55,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-07-19 14:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819558144001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195328646217728,"note":"Value kept but may cause issues"} 
[2026-07-19 14:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896335872,"note":"Value kept but may cause issues"} 
[2026-07-19 14:29: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-07-19 14:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784451420000,"timestamp_ms":1784451420000,"timestamp_seconds":1784451420,"priority":1,"record_length":96,"hex_timestamp":"0000019f7997cf60"} 
[2026-07-19 14:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:29: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-07-19 14:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:29:28] 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-07-19 14:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819558144001,"66":11830,"102":206,"83":41984,"24":0,"16":7195328646217728,"45":1818398748896335872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819558144001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:29:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:29:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195328646217728,"km_value":7195328646217.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896335872,"description":"Unknown IO ID 45"} 
[2026-07-19 14:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819558144001,"power":11830,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896335872}} 
[2026-07-19 14:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":136662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:29:28] local.INFO: GPS data processed {"connection_id":136662,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:29:28] local.INFO: Acknowledgment sent {"connection_id":136662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:29:36] local.INFO: TCP Data received {"connection_id":137616,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:29:36] local.INFO: Processing buffer {"connection_id":137616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:29:36] local.INFO: IMEI packet received {"connection_id":137616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":137616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:29:41] local.INFO: TCP Data received {"connection_id":137616,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:29:41] local.INFO: Processing buffer {"connection_id":137616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:29:41] local.INFO: IMEI packet received {"connection_id":137616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":137616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:29:43] local.INFO: TCP Data received {"connection_id":137616,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:29:43] local.INFO: Processing buffer {"connection_id":137616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:29:43] local.INFO: Packet analysis {"connection_id":137616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:29:43] local.INFO: Extracted packet for processing {"connection_id":137616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:29:43] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819501568001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:29: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-07-19 14:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784451479000,"timestamp_ms":1784451479000,"timestamp_seconds":1784451479,"priority":1,"record_length":96,"hex_timestamp":"0000019f7998b5d8"} 
[2026-07-19 14:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819501568001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819501568001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:29:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:29:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819501568001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":137616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:29:43] local.INFO: GPS data processed {"connection_id":137616,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:29:43] local.INFO: Acknowledgment sent {"connection_id":137616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:29:47] local.INFO: TCP Data received {"connection_id":137616,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:29:47] local.INFO: Processing buffer {"connection_id":137616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:29:47] local.INFO: Packet analysis {"connection_id":137616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:29:47] local.INFO: Extracted packet for processing {"connection_id":137616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819501568001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784451479000,"timestamp_ms":1784451479000,"timestamp_seconds":1784451479,"priority":1,"record_length":96,"hex_timestamp":"0000019f7998b5d8"} 
[2026-07-19 14:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":137616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":137616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":137616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819501568001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819501568001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:29:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819501568001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":137616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:29:47] local.INFO: GPS data processed {"connection_id":137616,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:29:47] local.INFO: Acknowledgment sent {"connection_id":137616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:29:51] local.INFO: TCP Data received {"connection_id":137617,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:29:51] local.INFO: Processing buffer {"connection_id":137617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:29:51] local.INFO: IMEI packet received {"connection_id":137617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":137617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:29:51] local.INFO: TCP Data received {"connection_id":136663,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:29:51] local.INFO: Processing buffer {"connection_id":136663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:29:51] local.INFO: IMEI packet received {"connection_id":136663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 14:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":136663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:29:56] local.INFO: TCP Data received {"connection_id":137617,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:29:56] local.INFO: Processing buffer {"connection_id":137617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:29:56] local.INFO: IMEI packet received {"connection_id":137617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":137617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:29:57] local.INFO: TCP Data received {"connection_id":137617,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79982168012d193c40071ffb180037005f2c..."} 
[2026-07-19 14:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79982168012d193c40071ffb180037005f2c..."} 
[2026-07-19 14:29:57] local.INFO: Processing buffer {"connection_id":137617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79982168012d193c40071ffb180037005f2c..."} 
[2026-07-19 14:29:57] local.INFO: Packet analysis {"connection_id":137617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:29:57] local.INFO: Extracted packet for processing {"connection_id":137617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:29:57] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536408,"longitude_deg":75.6628544,"latitude_deg":11.9536408,"altitude":55,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-07-19 14:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819563520001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195328646217728,"note":"Value kept but may cause issues"} 
[2026-07-19 14:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896335872,"note":"Value kept but may cause issues"} 
[2026-07-19 14:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784451441000,"timestamp_ms":1784451441000,"timestamp_seconds":1784451441,"priority":1,"record_length":96,"hex_timestamp":"0000019f79982168"} 
[2026-07-19 14:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:29: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-07-19 14:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-07-19 14:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819563520001,"66":12363,"102":206,"83":41984,"24":0,"16":7195328646217728,"45":1818398748896335872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819563520001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:29:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:29:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195328646217728,"km_value":7195328646217.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896335872,"description":"Unknown IO ID 45"} 
[2026-07-19 14:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819563520001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896335872}} 
[2026-07-19 14:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":137617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:29:57] local.INFO: GPS data processed {"connection_id":137617,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:29:57] local.INFO: Acknowledgment sent {"connection_id":137617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:30:26] local.INFO: TCP Data received {"connection_id":139015,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:30:26] local.INFO: Processing buffer {"connection_id":139015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:30:26] local.INFO: IMEI packet received {"connection_id":139015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 14:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":139015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:30:28] local.INFO: TCP Data received {"connection_id":137617,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79987370012d193c40071ffb180037005f28..."} 
[2026-07-19 14:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79987370012d193c40071ffb180037005f28..."} 
[2026-07-19 14:30:28] local.INFO: Processing buffer {"connection_id":137617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79987370012d193c40071ffb180037005f28..."} 
[2026-07-19 14:30:28] local.INFO: Packet analysis {"connection_id":137617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:30:28] local.INFO: Extracted packet for processing {"connection_id":137617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536408,"longitude_deg":75.6628544,"latitude_deg":11.9536408,"altitude":55,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-07-19 14:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819568896001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195328646217728,"note":"Value kept but may cause issues"} 
[2026-07-19 14:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896335872,"note":"Value kept but may cause issues"} 
[2026-07-19 14:30: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-07-19 14:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784451462000,"timestamp_ms":1784451462000,"timestamp_seconds":1784451462,"priority":1,"record_length":96,"hex_timestamp":"0000019f79987370"} 
[2026-07-19 14:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:30: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-07-19 14:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-19 14:30:28] 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-07-19 14:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819568896001,"66":12374,"102":206,"83":41984,"24":0,"16":7195328646217728,"45":1818398748896335872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819568896001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:30:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:30:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195328646217728,"km_value":7195328646217.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896335872,"description":"Unknown IO ID 45"} 
[2026-07-19 14:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819568896001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896335872}} 
[2026-07-19 14:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":137617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:30:28] local.INFO: GPS data processed {"connection_id":137617,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:30:28] local.INFO: Acknowledgment sent {"connection_id":137617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:30:31] local.INFO: TCP Data received {"connection_id":136531,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:30:31] local.INFO: Processing buffer {"connection_id":136531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:30:31] local.INFO: IMEI packet received {"connection_id":136531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":136531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:30:36] local.INFO: TCP Data received {"connection_id":136531,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:30:36] local.INFO: Processing buffer {"connection_id":136531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:30:36] local.INFO: IMEI packet received {"connection_id":136531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":136531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:30:38] local.INFO: TCP Data received {"connection_id":136531,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:30:38] local.INFO: Processing buffer {"connection_id":136531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:30:38] local.INFO: Packet analysis {"connection_id":136531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:30:38] local.INFO: Extracted packet for processing {"connection_id":136531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 14:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819501568001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:30: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-07-19 14:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784451479000,"timestamp_ms":1784451479000,"timestamp_seconds":1784451479,"priority":1,"record_length":96,"hex_timestamp":"0000019f7998b5d8"} 
[2026-07-19 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-07-19 14:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 14:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819501568001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819501568001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:30:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819501568001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":136531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:30:38] local.INFO: GPS data processed {"connection_id":136531,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:30:38] local.INFO: Acknowledgment sent {"connection_id":136531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:30:56] local.INFO: TCP Data received {"connection_id":137618,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:30:56] local.INFO: Processing buffer {"connection_id":137618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:30:56] local.INFO: IMEI packet received {"connection_id":137618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":137618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:31:01] local.INFO: TCP Data received {"connection_id":137618,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:31:01] local.INFO: Processing buffer {"connection_id":137618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:31:01] local.INFO: IMEI packet received {"connection_id":137618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":137618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:31:02] local.INFO: TCP Data received {"connection_id":137618,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7998c578012d193c40071ffb180037005f29..."} 
[2026-07-19 14:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7998c578012d193c40071ffb180037005f29..."} 
[2026-07-19 14:31:02] local.INFO: Processing buffer {"connection_id":137618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7998c578012d193c40071ffb180037005f29..."} 
[2026-07-19 14:31:02] local.INFO: Packet analysis {"connection_id":137618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:31:02] local.INFO: Extracted packet for processing {"connection_id":137618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:31:02] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536408,"longitude_deg":75.6628544,"latitude_deg":11.9536408,"altitude":55,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819574272001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195328646217728,"note":"Value kept but may cause issues"} 
[2026-07-19 14:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896335872,"note":"Value kept but may cause issues"} 
[2026-07-19 14:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784451483000,"timestamp_ms":1784451483000,"timestamp_seconds":1784451483,"priority":1,"record_length":96,"hex_timestamp":"0000019f7998c578"} 
[2026-07-19 14:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 14:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":137618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":137618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":137618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819574272001,"66":12341,"102":206,"83":41984,"24":0,"16":7195328646217728,"45":1818398748896335872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819574272001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:31:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:31:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195328646217728,"km_value":7195328646217.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896335872,"description":"Unknown IO ID 45"} 
[2026-07-19 14:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819574272001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896335872}} 
[2026-07-19 14:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":137618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:31:02] local.INFO: GPS data processed {"connection_id":137618,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:31:02] local.INFO: Acknowledgment sent {"connection_id":137618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:31:06] local.INFO: TCP Data received {"connection_id":137618,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79991780012d193c40071ffb180037005f2b..."} 
[2026-07-19 14:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79991780012d193c40071ffb180037005f2b..."} 
[2026-07-19 14:31:06] local.INFO: Processing buffer {"connection_id":137618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79991780012d193c40071ffb180037005f2b..."} 
[2026-07-19 14:31:06] local.INFO: Packet analysis {"connection_id":137618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7999"} 
[2026-07-19 14:31:06] local.INFO: Extracted packet for processing {"connection_id":137618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7999"} 
[2026-07-19 14:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536408,"longitude_deg":75.6628544,"latitude_deg":11.9536408,"altitude":55,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-07-19 14:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819579648001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195328646217728,"note":"Value kept but may cause issues"} 
[2026-07-19 14:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896335872,"note":"Value kept but may cause issues"} 
[2026-07-19 14:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784451504000,"timestamp_ms":1784451504000,"timestamp_seconds":1784451504,"priority":1,"record_length":96,"hex_timestamp":"0000019f79991780"} 
[2026-07-19 14:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 14:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":137618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":137618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":137618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819579648001,"66":12374,"102":206,"83":41984,"24":0,"16":7195328646217728,"45":1818398748896335872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819579648001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:31:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195328646217728,"km_value":7195328646217.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896335872,"description":"Unknown IO ID 45"} 
[2026-07-19 14:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819579648001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896335872}} 
[2026-07-19 14:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":137618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:31:07] local.INFO: GPS data processed {"connection_id":137618,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:31:07] local.INFO: Acknowledgment sent {"connection_id":137618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:31:11] local.INFO: TCP Data received {"connection_id":136531,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:31:11] local.INFO: Processing buffer {"connection_id":136531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:31:11] local.INFO: Packet analysis {"connection_id":136531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:31:11] local.INFO: Extracted packet for processing {"connection_id":136531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:31:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819501568001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:31: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-07-19 14:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784451479000,"timestamp_ms":1784451479000,"timestamp_seconds":1784451479,"priority":1,"record_length":96,"hex_timestamp":"0000019f7998b5d8"} 
[2026-07-19 14:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":136531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":136531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":136531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:31:11] 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-07-19 14:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819501568001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819501568001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:31:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:31:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819501568001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":136531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:31:11] local.INFO: GPS data processed {"connection_id":136531,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:31:11] local.INFO: Acknowledgment sent {"connection_id":136531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:31:31] local.INFO: TCP Data received {"connection_id":137619,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:31:31] local.INFO: Processing buffer {"connection_id":137619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:31:31] local.INFO: IMEI packet received {"connection_id":137619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":137619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:31:36] local.INFO: TCP Data received {"connection_id":137619,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:31:36] local.INFO: Processing buffer {"connection_id":137619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:31:36] local.INFO: IMEI packet received {"connection_id":137619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":137619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:31:37] local.INFO: TCP Data received {"connection_id":137619,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:31:37] local.INFO: Processing buffer {"connection_id":137619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:31:37] local.INFO: Packet analysis {"connection_id":137619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:31:37] local.INFO: Extracted packet for processing {"connection_id":137619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819501568001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:31: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-07-19 14:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784451479000,"timestamp_ms":1784451479000,"timestamp_seconds":1784451479,"priority":1,"record_length":96,"hex_timestamp":"0000019f7998b5d8"} 
[2026-07-19 14:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14: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-07-19 14:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819501568001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819501568001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:31:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819501568001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":137619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:31:38] local.INFO: GPS data processed {"connection_id":137619,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:31:38] local.INFO: Acknowledgment sent {"connection_id":137619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:31:50] local.INFO: TCP Data received {"connection_id":136664,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:31:50] local.INFO: Processing buffer {"connection_id":136664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:31:50] local.INFO: IMEI packet received {"connection_id":136664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":136664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:31:51] local.INFO: TCP Data received {"connection_id":136664,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:31:51] local.INFO: Processing buffer {"connection_id":136664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:31:51] local.INFO: IMEI packet received {"connection_id":136664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":136664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:31:56] local.INFO: TCP Data received {"connection_id":136664,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:31:56] local.INFO: Processing buffer {"connection_id":136664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:31:56] local.INFO: IMEI packet received {"connection_id":136664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":136664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:31:57] local.INFO: TCP Data received {"connection_id":136664,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79996988012d193c40071ffb180037005f28..."} 
[2026-07-19 14:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79996988012d193c40071ffb180037005f28..."} 
[2026-07-19 14:31:57] local.INFO: Processing buffer {"connection_id":136664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79996988012d193c40071ffb180037005f28..."} 
[2026-07-19 14:31:57] local.INFO: Packet analysis {"connection_id":136664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7999"} 
[2026-07-19 14:31:57] local.INFO: Extracted packet for processing {"connection_id":136664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7999"} 
[2026-07-19 14:31:57] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536408,"longitude_deg":75.6628544,"latitude_deg":11.9536408,"altitude":55,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819585024001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195328646217728,"note":"Value kept but may cause issues"} 
[2026-07-19 14:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896335872,"note":"Value kept but may cause issues"} 
[2026-07-19 14:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784451525000,"timestamp_ms":1784451525000,"timestamp_seconds":1784451525,"priority":1,"record_length":96,"hex_timestamp":"0000019f79996988"} 
[2026-07-19 14:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:31: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-07-19 14:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 14:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819585024001,"66":12341,"102":206,"83":41984,"24":0,"16":7195328646217728,"45":1818398748896335872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819585024001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:31:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:31:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195328646217728,"km_value":7195328646217.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896335872,"description":"Unknown IO ID 45"} 
[2026-07-19 14:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819585024001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896335872}} 
[2026-07-19 14:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":136664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:31:57] local.INFO: GPS data processed {"connection_id":136664,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:31:57] local.INFO: Acknowledgment sent {"connection_id":136664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:32:09] local.INFO: TCP Data received {"connection_id":137619,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:32:09] local.INFO: Processing buffer {"connection_id":137619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:32:09] local.INFO: Packet analysis {"connection_id":137619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:32:09] local.INFO: Extracted packet for processing {"connection_id":137619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819501568001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:32: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-07-19 14:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784451479000,"timestamp_ms":1784451479000,"timestamp_seconds":1784451479,"priority":1,"record_length":96,"hex_timestamp":"0000019f7998b5d8"} 
[2026-07-19 14:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:32: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-07-19 14:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819501568001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819501568001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:32:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819501568001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":137619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:32:09] local.INFO: GPS data processed {"connection_id":137619,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:32:09] local.INFO: Acknowledgment sent {"connection_id":137619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:32:28] local.INFO: TCP Data received {"connection_id":136664,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7999bb90012d193c40071ffb180037005f2a..."} 
[2026-07-19 14:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7999bb90012d193c40071ffb180037005f2a..."} 
[2026-07-19 14:32:28] local.INFO: Processing buffer {"connection_id":136664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7999bb90012d193c40071ffb180037005f2a..."} 
[2026-07-19 14:32:28] local.INFO: Packet analysis {"connection_id":136664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7999"} 
[2026-07-19 14:32:28] local.INFO: Extracted packet for processing {"connection_id":136664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7999"} 
[2026-07-19 14:32:28] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536408,"longitude_deg":75.6628544,"latitude_deg":11.9536408,"altitude":55,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819590400001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195328646217728,"note":"Value kept but may cause issues"} 
[2026-07-19 14:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896335872,"note":"Value kept but may cause issues"} 
[2026-07-19 14:32: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-07-19 14:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784451546000,"timestamp_ms":1784451546000,"timestamp_seconds":1784451546,"priority":1,"record_length":96,"hex_timestamp":"0000019f7999bb90"} 
[2026-07-19 14:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:32: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-07-19 14: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 14:32:28] 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-07-19 14: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-07-19 14:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819590400001,"66":12341,"102":206,"83":41984,"24":0,"16":7195328646217728,"45":1818398748896335872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819590400001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:32:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:32:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195328646217728,"km_value":7195328646217.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896335872,"description":"Unknown IO ID 45"} 
[2026-07-19 14:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819590400001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896335872}} 
[2026-07-19 14:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":136664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:32:28] local.INFO: GPS data processed {"connection_id":136664,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:32:28] local.INFO: Acknowledgment sent {"connection_id":136664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:32:31] local.INFO: TCP Data received {"connection_id":136533,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:32:31] local.INFO: Processing buffer {"connection_id":136533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:32:31] local.INFO: IMEI packet received {"connection_id":136533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":136533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:32:36] local.INFO: TCP Data received {"connection_id":136533,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:32:36] local.INFO: Processing buffer {"connection_id":136533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:32:36] local.INFO: IMEI packet received {"connection_id":136533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":136533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:32:37] local.INFO: TCP Data received {"connection_id":136533,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:32:37] local.INFO: Processing buffer {"connection_id":136533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:32:37] local.INFO: Packet analysis {"connection_id":136533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:32:37] local.INFO: Extracted packet for processing {"connection_id":136533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819501568001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:32: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-07-19 14:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784451479000,"timestamp_ms":1784451479000,"timestamp_seconds":1784451479,"priority":1,"record_length":96,"hex_timestamp":"0000019f7998b5d8"} 
[2026-07-19 14:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:32:37] 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-07-19 14:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819501568001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819501568001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:32:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819501568001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":136533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:32:37] local.INFO: GPS data processed {"connection_id":136533,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:32:37] local.INFO: Acknowledgment sent {"connection_id":136533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:32:51] local.INFO: TCP Data received {"connection_id":139017,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:32:51] local.INFO: Processing buffer {"connection_id":139017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:32:51] local.INFO: IMEI packet received {"connection_id":139017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":139017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:32:53] local.INFO: TCP Data received {"connection_id":139017,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:32:53] local.INFO: Processing buffer {"connection_id":139017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:32:53] local.INFO: IMEI packet received {"connection_id":139017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":139017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:32:54] local.INFO: TCP Data received {"connection_id":139017,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799a0d98012d193c40071ffb180037005f2b..."} 
[2026-07-19 14:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799a0d98012d193c40071ffb180037005f2b..."} 
[2026-07-19 14:32:54] local.INFO: Processing buffer {"connection_id":139017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799a0d98012d193c40071ffb180037005f2b..."} 
[2026-07-19 14:32:54] local.INFO: Packet analysis {"connection_id":139017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799a"} 
[2026-07-19 14:32:54] local.INFO: Extracted packet for processing {"connection_id":139017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799a"} 
[2026-07-19 14:32:54] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536408,"longitude_deg":75.6628544,"latitude_deg":11.9536408,"altitude":55,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-07-19 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-07-19 14:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819595776001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195328646217728,"note":"Value kept but may cause issues"} 
[2026-07-19 14:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896335872,"note":"Value kept but may cause issues"} 
[2026-07-19 14:32: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-07-19 14:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784451567000,"timestamp_ms":1784451567000,"timestamp_seconds":1784451567,"priority":1,"record_length":96,"hex_timestamp":"0000019f799a0d98"} 
[2026-07-19 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-07-19 14: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-07-19 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 14:32:54] 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-07-19 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-07-19 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-07-19 14:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":139017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":139017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":139017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819595776001,"66":12341,"102":206,"83":41984,"24":0,"16":7195328646217728,"45":1818398748896335872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819595776001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:32:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:32:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195328646217728,"km_value":7195328646217.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896335872,"description":"Unknown IO ID 45"} 
[2026-07-19 14:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819595776001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896335872}} 
[2026-07-19 14:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":139017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:32:54] local.INFO: GPS data processed {"connection_id":139017,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:32:54] local.INFO: Acknowledgment sent {"connection_id":139017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:33:09] local.INFO: TCP Data received {"connection_id":136533,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:33:09] local.INFO: Processing buffer {"connection_id":136533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:33:09] local.INFO: Packet analysis {"connection_id":136533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:33:09] local.INFO: Extracted packet for processing {"connection_id":136533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:33:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819501568001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14: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-07-19 14:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784451479000,"timestamp_ms":1784451479000,"timestamp_seconds":1784451479,"priority":1,"record_length":96,"hex_timestamp":"0000019f7998b5d8"} 
[2026-07-19 14:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:33:09] 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-07-19 14:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819501568001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819501568001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:33:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:33:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819501568001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":136533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:33:09] local.INFO: GPS data processed {"connection_id":136533,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:33:09] local.INFO: Acknowledgment sent {"connection_id":136533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:33:25] local.INFO: TCP Data received {"connection_id":139017,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799a5fa0012d193c40071ffb180037005f2c..."} 
[2026-07-19 14:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799a5fa0012d193c40071ffb180037005f2c..."} 
[2026-07-19 14:33:25] local.INFO: Processing buffer {"connection_id":139017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799a5fa0012d193c40071ffb180037005f2c..."} 
[2026-07-19 14:33:25] local.INFO: Packet analysis {"connection_id":139017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799a"} 
[2026-07-19 14:33:25] local.INFO: Extracted packet for processing {"connection_id":139017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799a"} 
[2026-07-19 14:33:25] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536408,"longitude_deg":75.6628544,"latitude_deg":11.9536408,"altitude":55,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-07-19 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-07-19 14:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819601152001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195328646217728,"note":"Value kept but may cause issues"} 
[2026-07-19 14:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896335872,"note":"Value kept but may cause issues"} 
[2026-07-19 14:33: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-07-19 14:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784451588000,"timestamp_ms":1784451588000,"timestamp_seconds":1784451588,"priority":1,"record_length":96,"hex_timestamp":"0000019f799a5fa0"} 
[2026-07-19 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-07-19 14:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 14:33:25] 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-07-19 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-07-19 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-07-19 14:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":139017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":139017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":139017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819601152001,"66":12319,"102":206,"83":41984,"24":0,"16":7195328646217728,"45":1818398748896335872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819601152001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:33:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:33:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195328646217728,"km_value":7195328646217.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896335872,"description":"Unknown IO ID 45"} 
[2026-07-19 14:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819601152001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896335872}} 
[2026-07-19 14:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":139017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:33:25] local.INFO: GPS data processed {"connection_id":139017,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:33:25] local.INFO: Acknowledgment sent {"connection_id":139017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:33:31] local.INFO: TCP Data received {"connection_id":136665,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:33:31] local.INFO: Processing buffer {"connection_id":136665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:33:31] local.INFO: IMEI packet received {"connection_id":136665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":136665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:33:36] local.INFO: TCP Data received {"connection_id":136665,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:33:36] local.INFO: Processing buffer {"connection_id":136665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:33:36] local.INFO: IMEI packet received {"connection_id":136665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":136665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:33:37] local.INFO: TCP Data received {"connection_id":136665,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:33:37] local.INFO: Processing buffer {"connection_id":136665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7998b5d8012d34c50006aa4dd8000800952a..."} 
[2026-07-19 14:33:37] local.INFO: Packet analysis {"connection_id":136665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:33:37] local.INFO: Extracted packet for processing {"connection_id":136665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7998"} 
[2026-07-19 14:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819501568001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:33: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-07-19 14:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784451479000,"timestamp_ms":1784451479000,"timestamp_seconds":1784451479,"priority":1,"record_length":96,"hex_timestamp":"0000019f7998b5d8"} 
[2026-07-19 14:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819501568001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819501568001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:33:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819501568001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":136665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:33:37] local.INFO: GPS data processed {"connection_id":136665,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:33:37] local.INFO: Acknowledgment sent {"connection_id":136665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:33:51] local.INFO: TCP Data received {"connection_id":137621,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:33:51] local.INFO: Processing buffer {"connection_id":137621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:33:51] local.INFO: IMEI packet received {"connection_id":137621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":137621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:33:51] local.INFO: TCP Data received {"connection_id":137621,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:33:51] local.INFO: Processing buffer {"connection_id":137621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:33:51] local.INFO: IMEI packet received {"connection_id":137621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":137621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:33:56] local.INFO: TCP Data received {"connection_id":137621,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:33:56] local.INFO: Processing buffer {"connection_id":137621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:33:56] local.INFO: IMEI packet received {"connection_id":137621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":137621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:33:57] local.INFO: TCP Data received {"connection_id":137621,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:33:57] local.INFO: Processing buffer {"connection_id":137621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:33:57] local.INFO: IMEI packet received {"connection_id":137621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":137621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:33:58] local.INFO: TCP Data received {"connection_id":137621,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799d70c8012d194080071ffb38003900522a..."} 
[2026-07-19 14:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799d70c8012d194080071ffb38003900522a..."} 
[2026-07-19 14:33:58] local.INFO: Processing buffer {"connection_id":137621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799d70c8012d194080071ffb38003900522a..."} 
[2026-07-19 14:33:58] local.INFO: Packet analysis {"connection_id":137621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:33:58] local.INFO: Extracted packet for processing {"connection_id":137621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:33:58] local.INFO: GPS Element Parsed {"raw_longitude":756629632,"raw_latitude":119536440,"longitude_deg":75.6629632,"latitude_deg":11.953644,"altitude":57,"angle":82,"satellites":42,"speed":13,"hex_longitude":"2d194080","hex_latitude":"071ffb38","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819657472001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195380185825280,"note":"Value kept but may cause issues"} 
[2026-07-19 14:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067593916416,"note":"Value kept but may cause issues"} 
[2026-07-19 14:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784451789000,"timestamp_ms":1784451789000,"timestamp_seconds":1784451789,"priority":1,"record_length":96,"hex_timestamp":"0000019f799d70c8"} 
[2026-07-19 14:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:33: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-07-19 14: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-19 14:33:58] 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-07-19 14: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-07-19 14:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":137621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":137621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":137621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819657472001,"66":12461,"102":206,"83":41984,"24":13,"16":7195380185825280,"45":1819032067593916416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819657472001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:33:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:33:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195380185825280,"km_value":7195380185825.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067593916416,"description":"Unknown IO ID 45"} 
[2026-07-19 14:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819657472001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1819032067593916416}} 
[2026-07-19 14:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":137621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:33:58] local.INFO: GPS data processed {"connection_id":137621,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:33:58] local.INFO: Acknowledgment sent {"connection_id":137621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:33:59] local.INFO: TCP Data received {"connection_id":137621,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799d8068012d1946c0071ffb60003900602c..."} 
[2026-07-19 14:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799d8068012d1946c0071ffb60003900602c..."} 
[2026-07-19 14:33:59] local.INFO: Processing buffer {"connection_id":137621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799d8068012d1946c0071ffb60003900602c..."} 
[2026-07-19 14:33:59] local.INFO: Packet analysis {"connection_id":137621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:33:59] local.INFO: Extracted packet for processing {"connection_id":137621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:33:59] local.INFO: GPS Element Parsed {"raw_longitude":756631232,"raw_latitude":119536480,"longitude_deg":75.6631232,"latitude_deg":11.953648,"altitude":57,"angle":96,"satellites":44,"speed":16,"hex_longitude":"2d1946c0","hex_latitude":"071ffb60","is_valid_coordinates":true} 
[2026-07-19 14:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819657984001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195457495236608,"note":"Value kept but may cause issues"} 
[2026-07-19 14:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819595017547364352,"note":"Value kept but may cause issues"} 
[2026-07-19 14: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-07-19 14:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784451793000,"timestamp_ms":1784451793000,"timestamp_seconds":1784451793,"priority":1,"record_length":96,"hex_timestamp":"0000019f799d8068"} 
[2026-07-19 14:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 14:33: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-07-19 14:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":137621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":137621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":137621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819657984001,"66":11798,"102":206,"83":41984,"24":16,"16":7195457495236608,"45":1819595017547364352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819657984001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:33:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:33:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195457495236608,"km_value":7195457495236.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819595017547364352,"description":"Unknown IO ID 45"} 
[2026-07-19 14:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819657984001,"power":11798,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1819595017547364352}} 
[2026-07-19 14:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":137621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:33:59] local.INFO: GPS data processed {"connection_id":137621,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:33:59] local.INFO: Acknowledgment sent {"connection_id":137621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:34:09] local.INFO: TCP Data received {"connection_id":136665,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:34:09] local.INFO: Processing buffer {"connection_id":136665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:34:09] local.INFO: Packet analysis {"connection_id":136665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:34:09] local.INFO: Extracted packet for processing {"connection_id":136665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819578624001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34: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-07-19 14:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784451780000,"timestamp_ms":1784451780000,"timestamp_seconds":1784451780,"priority":1,"record_length":96,"hex_timestamp":"0000019f799d4da0"} 
[2026-07-19 14:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:34: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-07-19 14:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819578624001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819578624001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819578624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":136665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:34:09] local.INFO: GPS data processed {"connection_id":136665,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:34:09] local.INFO: Acknowledgment sent {"connection_id":136665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:34:30] local.INFO: TCP Data received {"connection_id":137621,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799d9008012d194c40071ffa70003a00772d..."} 
[2026-07-19 14:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799d9008012d194c40071ffa70003a00772d..."} 
[2026-07-19 14:34:30] local.INFO: Processing buffer {"connection_id":137621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799d9008012d194c40071ffa70003a00772d..."} 
[2026-07-19 14:34:30] local.INFO: Packet analysis {"connection_id":137621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:34:30] local.INFO: Extracted packet for processing {"connection_id":137621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:34:30] local.INFO: GPS Element Parsed {"raw_longitude":756632640,"raw_latitude":119536240,"longitude_deg":75.663264,"latitude_deg":11.953624,"altitude":58,"angle":119,"satellites":45,"speed":10,"hex_longitude":"2d194c40","hex_latitude":"071ffa70","is_valid_coordinates":true} 
[2026-07-19 14:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819659008001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195521919746048,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821354236151816192,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784451797000,"timestamp_ms":1784451797000,"timestamp_seconds":1784451797,"priority":1,"record_length":96,"hex_timestamp":"0000019f799d9008"} 
[2026-07-19 14:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-19 14:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184178483405,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:30] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2632966145,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-353532334519146240,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:30] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846149872,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-19 14:34:30] local.WARNING: Large IO value detected {"io_id":60,"raw_value":4613691506564282112,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:30] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3003174264,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:30] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-8062287757923319808,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:30] local.WARNING: Large IO value detected {"io_id":74,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:30] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:30] local.WARNING: Large IO value detected {"io_id":95,"raw_value":2810246167479192064,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:30] local.WARNING: Large IO value detected {"io_id":233,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:30] local.WARNING: Large IO value detected {"io_id":155,"raw_value":-6359081380638605305,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:30] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,144,159,112,45,128,251,57,42,10,66,104,250,65,64,1,240,123,227,121,31,4,113,205,60,239,47,2,25,74,206,95,233,155],"length":632,"final_offset":762,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-19 14:34:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107388602257768448,"timestamp_seconds":4107388602257768.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 14:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":137621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":137621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":137621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819659008001,"66":12689,"102":206,"83":41984,"24":10,"16":7195521919746048,"45":1821354236151816192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819659008001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:34:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:34:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195521919746048,"km_value":7195521919746.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821354236151816192,"description":"Unknown IO ID 45"} 
[2026-07-19 14:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819659008001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1821354236151816192}} 
[2026-07-19 14:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":137621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:34:30] local.INFO: GPS data processed {"connection_id":137621,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:34:30] local.INFO: Acknowledgment sent {"connection_id":137621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:34:31] local.INFO: TCP Data received {"connection_id":137623,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:34:31] local.INFO: Processing buffer {"connection_id":137623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:34:31] local.INFO: IMEI packet received {"connection_id":137623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":137623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:34:37] local.INFO: TCP Data received {"connection_id":137623,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:34:37] local.INFO: Processing buffer {"connection_id":137623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:34:37] local.INFO: IMEI packet received {"connection_id":137623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":137623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:34:39] local.INFO: TCP Data received {"connection_id":137623,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:34:39] local.INFO: Processing buffer {"connection_id":137623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:34:39] local.INFO: Packet analysis {"connection_id":137623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:34:39] local.INFO: Extracted packet for processing {"connection_id":137623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:34:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819578624001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34: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-07-19 14:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784451780000,"timestamp_ms":1784451780000,"timestamp_seconds":1784451780,"priority":1,"record_length":96,"hex_timestamp":"0000019f799d4da0"} 
[2026-07-19 14:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":137623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":137623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":137623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14: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-07-19 14:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819578624001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819578624001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:34:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:34:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819578624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":137623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:34:39] local.INFO: GPS data processed {"connection_id":137623,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:34:39] local.INFO: Acknowledgment sent {"connection_id":137623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:34:56] local.INFO: TCP Data received {"connection_id":137624,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:34:56] local.INFO: Processing buffer {"connection_id":137624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:34:56] local.INFO: IMEI packet received {"connection_id":137624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":137624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:34:57] local.INFO: TCP Data received {"connection_id":137624,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:34:57] local.INFO: Processing buffer {"connection_id":137624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:34:57] local.INFO: IMEI packet received {"connection_id":137624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":137624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:34:58] local.INFO: TCP Data received {"connection_id":137624,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799d93f0012d194d00071ff9c8003a008a2d..."} 
[2026-07-19 14:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799d93f0012d194d00071ff9c8003a008a2d..."} 
[2026-07-19 14:34:58] local.INFO: Processing buffer {"connection_id":137624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799d93f0012d194d00071ff9c8003a008a2d..."} 
[2026-07-19 14:34:58] local.INFO: Packet analysis {"connection_id":137624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:34:58] local.INFO: Extracted packet for processing {"connection_id":137624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:34:58] local.INFO: GPS Element Parsed {"raw_longitude":756632832,"raw_latitude":119536072,"longitude_deg":75.6632832,"latitude_deg":11.9536072,"altitude":58,"angle":138,"satellites":45,"speed":10,"hex_longitude":"2d194d00","hex_latitude":"071ff9c8","is_valid_coordinates":true} 
[2026-07-19 14:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819660032001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195534804647936,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822902348523663360,"note":"Value kept but may cause issues"} 
[2026-07-19 14:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784451798000,"timestamp_ms":1784451798000,"timestamp_seconds":1784451798,"priority":1,"record_length":96,"hex_timestamp":"0000019f799d93f0"} 
[2026-07-19 14:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:34: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-07-19 14:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-19 14:34:58] 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-07-19 14:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":137624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":137624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":137624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819660032001,"66":12232,"102":206,"83":41984,"24":10,"16":7195534804647936,"45":1822902348523663360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819660032001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:34:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:34:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195534804647936,"km_value":7195534804647.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822902348523663360,"description":"Unknown IO ID 45"} 
[2026-07-19 14:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819660032001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1822902348523663360}} 
[2026-07-19 14:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":137624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:34:58] local.INFO: GPS data processed {"connection_id":137624,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:34:58] local.INFO: Acknowledgment sent {"connection_id":137624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:35:01] local.INFO: TCP Data received {"connection_id":137624,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799d97d8012d194d40071ff8f8003a00a12d..."} 
[2026-07-19 14:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799d97d8012d194d40071ff8f8003a00a12d..."} 
[2026-07-19 14:35:01] local.INFO: Processing buffer {"connection_id":137624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799d97d8012d194d40071ff8f8003a00a12d..."} 
[2026-07-19 14:35:01] local.INFO: Packet analysis {"connection_id":137624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:35:01] local.INFO: Extracted packet for processing {"connection_id":137624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:35:01] local.INFO: GPS Element Parsed {"raw_longitude":756632896,"raw_latitude":119535864,"longitude_deg":75.6632896,"latitude_deg":11.9535864,"altitude":58,"angle":161,"satellites":45,"speed":9,"hex_longitude":"2d194d40","hex_latitude":"071ff8f8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819660288001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195547689549824,"note":"Value kept but may cause issues"} 
[2026-07-19 14:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823113454756153344,"note":"Value kept but may cause issues"} 
[2026-07-19 14:35: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-07-19 14:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784451799000,"timestamp_ms":1784451799000,"timestamp_seconds":1784451799,"priority":1,"record_length":96,"hex_timestamp":"0000019f799d97d8"} 
[2026-07-19 14:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:35: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-07-19 14: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-19 14:35:01] 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-07-19 14: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-07-19 14:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819660288001,"66":12232,"102":206,"83":41984,"24":9,"16":7195547689549824,"45":1823113454756153344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819660288001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:35:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:35:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195547689549824,"km_value":7195547689549.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823113454756153344,"description":"Unknown IO ID 45"} 
[2026-07-19 14:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819660288001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1823113454756153344}} 
[2026-07-19 14:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":137624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:35:02] local.INFO: GPS data processed {"connection_id":137624,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:35:02] local.INFO: Acknowledgment sent {"connection_id":137624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:35:12] local.INFO: TCP Data received {"connection_id":137623,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:35:12] local.INFO: Processing buffer {"connection_id":137623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:35:12] local.INFO: Packet analysis {"connection_id":137623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:35:12] local.INFO: Extracted packet for processing {"connection_id":137623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:35:12] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819578624001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:35: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-07-19 14:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784451780000,"timestamp_ms":1784451780000,"timestamp_seconds":1784451780,"priority":1,"record_length":96,"hex_timestamp":"0000019f799d4da0"} 
[2026-07-19 14:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":137623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":137623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":137623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:35: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-07-19 14:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819578624001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819578624001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:35:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:35:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819578624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":137623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:35:12] local.INFO: GPS data processed {"connection_id":137623,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:35:12] local.INFO: Acknowledgment sent {"connection_id":137623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:35:31] local.INFO: TCP Data received {"connection_id":136667,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:35:31] local.INFO: Processing buffer {"connection_id":136667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:35:31] local.INFO: IMEI packet received {"connection_id":136667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":136667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:35:32] local.INFO: TCP Data received {"connection_id":137624,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799da390012d194f40071ff598003b008f2d..."} 
[2026-07-19 14:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799da390012d194f40071ff598003b008f2d..."} 
[2026-07-19 14:35:32] local.INFO: Processing buffer {"connection_id":137624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799da390012d194f40071ff598003b008f2d..."} 
[2026-07-19 14:35:32] local.INFO: Packet analysis {"connection_id":137624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:35:32] local.INFO: Extracted packet for processing {"connection_id":137624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:35:32] local.INFO: GPS Element Parsed {"raw_longitude":756633408,"raw_latitude":119535000,"longitude_deg":75.6633408,"latitude_deg":11.9535,"altitude":59,"angle":143,"satellites":45,"speed":15,"hex_longitude":"2d194f40","hex_latitude":"071ff598","is_valid_coordinates":true} 
[2026-07-19 14:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819660544001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195594934190080,"note":"Value kept but may cause issues"} 
[2026-07-19 14:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823183823500277760,"note":"Value kept but may cause issues"} 
[2026-07-19 14:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784451802000,"timestamp_ms":1784451802000,"timestamp_seconds":1784451802,"priority":1,"record_length":96,"hex_timestamp":"0000019f799da390"} 
[2026-07-19 14:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:35: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-07-19 14:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-19 14:35:32] 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-07-19 14:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":137624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":137624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":137624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819660544001,"66":12602,"102":206,"83":41984,"24":15,"16":7195594934190080,"45":1823183823500277760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819660544001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:35:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:35:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195594934190080,"km_value":7195594934190.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823183823500277760,"description":"Unknown IO ID 45"} 
[2026-07-19 14:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819660544001,"power":12602,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1823183823500277760}} 
[2026-07-19 14:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":137624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:35:32] local.INFO: GPS data processed {"connection_id":137624,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:35:32] local.INFO: Acknowledgment sent {"connection_id":137624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:35:36] local.INFO: TCP Data received {"connection_id":136667,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:35:36] local.INFO: Processing buffer {"connection_id":136667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:35:36] local.INFO: IMEI packet received {"connection_id":136667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":136667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:35:37] local.INFO: TCP Data received {"connection_id":136667,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:35:37] local.INFO: Processing buffer {"connection_id":136667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:35:37] local.INFO: Packet analysis {"connection_id":136667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:35:37] local.INFO: Extracted packet for processing {"connection_id":136667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819578624001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:35: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-07-19 14:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784451780000,"timestamp_ms":1784451780000,"timestamp_seconds":1784451780,"priority":1,"record_length":96,"hex_timestamp":"0000019f799d4da0"} 
[2026-07-19 14:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819578624001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819578624001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:35:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819578624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":136667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:35:37] local.INFO: GPS data processed {"connection_id":136667,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:35:37] local.INFO: Acknowledgment sent {"connection_id":136667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:35:46] local.INFO: TCP Data received {"connection_id":136666,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:35:46] local.INFO: Processing buffer {"connection_id":136666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:35:46] local.INFO: IMEI packet received {"connection_id":136666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 14:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":136666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:35:51] local.INFO: TCP Data received {"connection_id":136534,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:35:51] local.INFO: Processing buffer {"connection_id":136534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:35:51] local.INFO: IMEI packet received {"connection_id":136534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":136534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:35:57] local.INFO: TCP Data received {"connection_id":136534,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:35:57] local.INFO: Processing buffer {"connection_id":136534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:35:57] local.INFO: IMEI packet received {"connection_id":136534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":136534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:35:58] local.INFO: TCP Data received {"connection_id":136534,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799da778012d195000071ff4a0003b007d2d..."} 
[2026-07-19 14:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799da778012d195000071ff4a0003b007d2d..."} 
[2026-07-19 14:35:58] local.INFO: Processing buffer {"connection_id":136534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799da778012d195000071ff4a0003b007d2d..."} 
[2026-07-19 14:35:58] local.INFO: Packet analysis {"connection_id":136534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:35:58] local.INFO: Extracted packet for processing {"connection_id":136534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:35:58] local.INFO: GPS Element Parsed {"raw_longitude":756633600,"raw_latitude":119534752,"longitude_deg":75.66336,"latitude_deg":11.9534752,"altitude":59,"angle":125,"satellites":45,"speed":14,"hex_longitude":"2d195000","hex_latitude":"071ff4a0","is_valid_coordinates":true} 
[2026-07-19 14:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819661312001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195612114059264,"note":"Value kept but may cause issues"} 
[2026-07-19 14:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823746773453477888,"note":"Value kept but may cause issues"} 
[2026-07-19 14:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784451803000,"timestamp_ms":1784451803000,"timestamp_seconds":1784451803,"priority":1,"record_length":96,"hex_timestamp":"0000019f799da778"} 
[2026-07-19 14:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:35: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-07-19 14:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-19 14:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819661312001,"66":12602,"102":206,"83":41984,"24":14,"16":7195612114059264,"45":1823746773453477888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 14:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819661312001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:35:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 14:35:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195612114059264,"km_value":7195612114059.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823746773453477888,"description":"Unknown IO ID 45"} 
[2026-07-19 14:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819661312001,"power":12602,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1823746773453477888}} 
[2026-07-19 14:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":136534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:35:58] local.INFO: GPS data processed {"connection_id":136534,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:35:58] local.INFO: Acknowledgment sent {"connection_id":136534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:36:08] local.INFO: TCP Data received {"connection_id":136667,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:36:08] local.INFO: Processing buffer {"connection_id":136667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:36:08] local.INFO: Packet analysis {"connection_id":136667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:36:08] local.INFO: Extracted packet for processing {"connection_id":136667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819578624001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14: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-07-19 14:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784451780000,"timestamp_ms":1784451780000,"timestamp_seconds":1784451780,"priority":1,"record_length":96,"hex_timestamp":"0000019f799d4da0"} 
[2026-07-19 14:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:36: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-07-19 14:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819578624001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819578624001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:36:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819578624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":136667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:36:08] local.INFO: GPS data processed {"connection_id":136667,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:36:08] local.INFO: Acknowledgment sent {"connection_id":136667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:36:26] local.INFO: TCP Data received {"connection_id":137625,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:36:26] local.INFO: Processing buffer {"connection_id":137625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:36:26] local.INFO: IMEI packet received {"connection_id":137625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 14:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":137625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:36:30] local.INFO: TCP Data received {"connection_id":136534,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799daf48012d195340071ff318003b00702c..."} 
[2026-07-19 14:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799daf48012d195340071ff318003b00702c..."} 
[2026-07-19 14:36:30] local.INFO: Processing buffer {"connection_id":136534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799daf48012d195340071ff318003b00702c..."} 
[2026-07-19 14:36:30] local.INFO: Packet analysis {"connection_id":136534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:36:30] local.INFO: Extracted packet for processing {"connection_id":136534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:36:30] local.INFO: GPS Element Parsed {"raw_longitude":756634432,"raw_latitude":119534360,"longitude_deg":75.6634432,"latitude_deg":11.953436,"altitude":59,"angle":112,"satellites":44,"speed":18,"hex_longitude":"2d195340","hex_latitude":"071ff318","is_valid_coordinates":true} 
[2026-07-19 14:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819661568001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195655063732224,"note":"Value kept but may cause issues"} 
[2026-07-19 14:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823957879685947392,"note":"Value kept but may cause issues"} 
[2026-07-19 14:36:30] 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-07-19 14:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784451805000,"timestamp_ms":1784451805000,"timestamp_seconds":1784451805,"priority":1,"record_length":96,"hex_timestamp":"0000019f799daf48"} 
[2026-07-19 14:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-19 14:36:30] 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-07-19 14:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":136534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":136534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":136534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819661568001,"66":12287,"103":206,"83":41984,"24":18,"16":7195655063732224,"45":1823957879685947392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819661568001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:36:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:36:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195655063732224,"km_value":7195655063732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823957879685947392,"description":"Unknown IO ID 45"} 
[2026-07-19 14:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819661568001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1823957879685947392}} 
[2026-07-19 14:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":136534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:36:30] local.INFO: GPS data processed {"connection_id":136534,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:36:30] local.INFO: Acknowledgment sent {"connection_id":136534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:36:31] local.INFO: TCP Data received {"connection_id":136668,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:36:31] local.INFO: Processing buffer {"connection_id":136668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:36:31] local.INFO: IMEI packet received {"connection_id":136668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":136668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:36:36] local.INFO: TCP Data received {"connection_id":136668,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:36:36] local.INFO: Processing buffer {"connection_id":136668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:36:36] local.INFO: IMEI packet received {"connection_id":136668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":136668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:36:37] local.INFO: TCP Data received {"connection_id":136668,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:36:37] local.INFO: Processing buffer {"connection_id":136668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:36:37] local.INFO: Packet analysis {"connection_id":136668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:36:37] local.INFO: Extracted packet for processing {"connection_id":136668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819578624001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:36: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-07-19 14:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784451780000,"timestamp_ms":1784451780000,"timestamp_seconds":1784451780,"priority":1,"record_length":96,"hex_timestamp":"0000019f799d4da0"} 
[2026-07-19 14:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14: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":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819578624001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819578624001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819578624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":136668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:36:37] local.INFO: GPS data processed {"connection_id":136668,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:36:37] local.INFO: Acknowledgment sent {"connection_id":136668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:36:51] local.INFO: TCP Data received {"connection_id":137626,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:36:51] local.INFO: Processing buffer {"connection_id":137626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:36:51] local.INFO: IMEI packet received {"connection_id":137626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":137626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:36:56] local.INFO: TCP Data received {"connection_id":137626,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:36:56] local.INFO: Processing buffer {"connection_id":137626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:36:56] local.INFO: IMEI packet received {"connection_id":137626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":137626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:36:56] local.INFO: TCP Data received {"connection_id":137626,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799dce88012d196000071feef8003d00602c..."} 
[2026-07-19 14:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799dce88012d196000071feef8003d00602c..."} 
[2026-07-19 14:36:56] local.INFO: Processing buffer {"connection_id":137626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799dce88012d196000071feef8003d00602c..."} 
[2026-07-19 14:36:56] local.INFO: Packet analysis {"connection_id":137626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:36:56] local.INFO: Extracted packet for processing {"connection_id":137626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:36:56] local.INFO: GPS Element Parsed {"raw_longitude":756637696,"raw_latitude":119533304,"longitude_deg":75.6637696,"latitude_deg":11.9533304,"altitude":61,"angle":96,"satellites":44,"speed":15,"hex_longitude":"2d196000","hex_latitude":"071feef8","is_valid_coordinates":true} 
[2026-07-19 14:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819662080001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195818272489472,"note":"Value kept but may cause issues"} 
[2026-07-19 14:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824872673360156672,"note":"Value kept but may cause issues"} 
[2026-07-19 14:36: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-07-19 14:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784451813000,"timestamp_ms":1784451813000,"timestamp_seconds":1784451813,"priority":1,"record_length":96,"hex_timestamp":"0000019f799dce88"} 
[2026-07-19 14:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:36: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-07-19 14:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 14:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:36:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819662080001,"66":12678,"103":206,"83":41984,"24":15,"16":7195818272489472,"45":1824872673360156672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819662080001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:36:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:36:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195818272489472,"km_value":7195818272489.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824872673360156672,"description":"Unknown IO ID 45"} 
[2026-07-19 14:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819662080001,"power":12678,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1824872673360156672}} 
[2026-07-19 14:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":137626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:36:57] local.INFO: GPS data processed {"connection_id":137626,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:36:57] local.INFO: Acknowledgment sent {"connection_id":137626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:37:09] local.INFO: TCP Data received {"connection_id":136668,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:37:09] local.INFO: Processing buffer {"connection_id":136668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:37:09] local.INFO: Packet analysis {"connection_id":136668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:37:09] local.INFO: Extracted packet for processing {"connection_id":136668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819578624001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14: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-07-19 14:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784451780000,"timestamp_ms":1784451780000,"timestamp_seconds":1784451780,"priority":1,"record_length":96,"hex_timestamp":"0000019f799d4da0"} 
[2026-07-19 14:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:37: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-07-19 14: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819578624001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819578624001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:37:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:37:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819578624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":136668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:37:09] local.INFO: GPS data processed {"connection_id":136668,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:37:09] local.INFO: Acknowledgment sent {"connection_id":136668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:37:28] local.INFO: TCP Data received {"connection_id":137626,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799dde28012d196540071feeb0003e004c2c..."} 
[2026-07-19 14:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799dde28012d196540071feeb0003e004c2c..."} 
[2026-07-19 14:37:28] local.INFO: Processing buffer {"connection_id":137626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799dde28012d196540071feeb0003e004c2c..."} 
[2026-07-19 14:37:28] local.INFO: Packet analysis {"connection_id":137626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:37:28] local.INFO: Extracted packet for processing {"connection_id":137626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:37:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533232,"longitude_deg":75.663904,"latitude_deg":11.9533232,"altitude":62,"angle":76,"satellites":44,"speed":7,"hex_longitude":"2d196540","hex_latitude":"071feeb0","is_valid_coordinates":true} 
[2026-07-19 14:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819664128001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195882696998912,"note":"Value kept but may cause issues"} 
[2026-07-19 14:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828461479312947200,"note":"Value kept but may cause issues"} 
[2026-07-19 14:37: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-07-19 14:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784451817000,"timestamp_ms":1784451817000,"timestamp_seconds":1784451817,"priority":1,"record_length":96,"hex_timestamp":"0000019f799dde28"} 
[2026-07-19 14:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:37: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-07-19 14:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 14:37:28] 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-07-19 14:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819664128001,"66":12591,"103":206,"83":41984,"24":7,"16":7195882696998912,"45":1828461479312947200},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819664128001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:37:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:37:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195882696998912,"km_value":7195882696998.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828461479312947200,"description":"Unknown IO ID 45"} 
[2026-07-19 14:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819664128001,"power":12591,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1828461479312947200}} 
[2026-07-19 14:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":137626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:37:28] local.INFO: GPS data processed {"connection_id":137626,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:37:28] local.INFO: Acknowledgment sent {"connection_id":137626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:37:31] local.INFO: TCP Data received {"connection_id":137627,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:37:31] local.INFO: Processing buffer {"connection_id":137627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:37:31] local.INFO: IMEI packet received {"connection_id":137627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":137627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:37:36] local.INFO: TCP Data received {"connection_id":137627,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:37:36] local.INFO: Processing buffer {"connection_id":137627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:37:36] local.INFO: IMEI packet received {"connection_id":137627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":137627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:37:37] local.INFO: TCP Data received {"connection_id":137627,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:37:37] local.INFO: Processing buffer {"connection_id":137627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:37:37] local.INFO: Packet analysis {"connection_id":137627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:37:37] local.INFO: Extracted packet for processing {"connection_id":137627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819578624001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:37: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-07-19 14:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784451780000,"timestamp_ms":1784451780000,"timestamp_seconds":1784451780,"priority":1,"record_length":96,"hex_timestamp":"0000019f799d4da0"} 
[2026-07-19 14:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:37:37] 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-07-19 14:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819578624001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819578624001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:37:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:37:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819578624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":137627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:37:37] local.INFO: GPS data processed {"connection_id":137627,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:37:37] local.INFO: Acknowledgment sent {"connection_id":137627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:37:51] local.INFO: TCP Data received {"connection_id":136669,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:37:51] local.INFO: Processing buffer {"connection_id":136669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:37:51] local.INFO: IMEI packet received {"connection_id":136669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":136669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:37:56] local.INFO: TCP Data received {"connection_id":136669,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:37:56] local.INFO: Processing buffer {"connection_id":136669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:37:56] local.INFO: IMEI packet received {"connection_id":136669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":136669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:37:57] local.INFO: TCP Data received {"connection_id":136669,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799e3030012d196740071fee88003f004c2c..."} 
[2026-07-19 14:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799e3030012d196740071fee88003f004c2c..."} 
[2026-07-19 14:37:57] local.INFO: Processing buffer {"connection_id":136669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799e3030012d196740071fee88003f004c2c..."} 
[2026-07-19 14:37:57] local.INFO: Packet analysis {"connection_id":136669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799e"} 
[2026-07-19 14:37:57] local.INFO: Extracted packet for processing {"connection_id":136669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799e"} 
[2026-07-19 14:37:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819665152001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940659712,"note":"Value kept but may cause issues"} 
[2026-07-19 14:37: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-07-19 14:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784451838000,"timestamp_ms":1784451838000,"timestamp_seconds":1784451838,"priority":1,"record_length":96,"hex_timestamp":"0000019f799e3030"} 
[2026-07-19 14:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:37: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-07-19 14: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 14:37:57] 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-07-19 14: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-07-19 14:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819665152001,"66":12645,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1829939222940659712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819665152001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:37:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:37:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940659712,"description":"Unknown IO ID 45"} 
[2026-07-19 14:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819665152001,"power":12645,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940659712}} 
[2026-07-19 14:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":136669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:37:57] local.INFO: GPS data processed {"connection_id":136669,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:37:57] local.INFO: Acknowledgment sent {"connection_id":136669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:38:08] local.INFO: TCP Data received {"connection_id":137627,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:38:08] local.INFO: Processing buffer {"connection_id":137627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:38:08] local.INFO: Packet analysis {"connection_id":137627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:38:08] local.INFO: Extracted packet for processing {"connection_id":137627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819578624001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:38: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-07-19 14:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784451780000,"timestamp_ms":1784451780000,"timestamp_seconds":1784451780,"priority":1,"record_length":96,"hex_timestamp":"0000019f799d4da0"} 
[2026-07-19 14:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:38: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-07-19 14:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819578624001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819578624001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:38:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:38:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819578624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":137627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:38:08] local.INFO: GPS data processed {"connection_id":137627,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:38:08] local.INFO: Acknowledgment sent {"connection_id":137627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:38:28] local.INFO: TCP Data received {"connection_id":136669,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799e8238012d196740071fee88003f004c2e..."} 
[2026-07-19 14:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799e8238012d196740071fee88003f004c2e..."} 
[2026-07-19 14:38:28] local.INFO: Processing buffer {"connection_id":136669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799e8238012d196740071fee88003f004c2e..."} 
[2026-07-19 14:38:28] local.INFO: Packet analysis {"connection_id":136669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799e"} 
[2026-07-19 14:38:28] local.INFO: Extracted packet for processing {"connection_id":136669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799e"} 
[2026-07-19 14:38:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819670528001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:38: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-07-19 14:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784451859000,"timestamp_ms":1784451859000,"timestamp_seconds":1784451859,"priority":1,"record_length":96,"hex_timestamp":"0000019f799e8238"} 
[2026-07-19 14:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:38: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-07-19 14: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-19 14:38:28] 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-07-19 14: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-07-19 14:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819670528001,"66":12645,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819670528001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:38:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:38:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819670528001,"power":12645,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":136669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:38:28] local.INFO: GPS data processed {"connection_id":136669,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:38:28] local.INFO: Acknowledgment sent {"connection_id":136669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:38:31] local.INFO: TCP Data received {"connection_id":137628,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:38:31] local.INFO: Processing buffer {"connection_id":137628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:38:31] local.INFO: IMEI packet received {"connection_id":137628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":137628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:38:36] local.INFO: TCP Data received {"connection_id":137628,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:38:36] local.INFO: Processing buffer {"connection_id":137628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:38:36] local.INFO: IMEI packet received {"connection_id":137628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":137628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:38:37] local.INFO: TCP Data received {"connection_id":137628,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:38:37] local.INFO: Processing buffer {"connection_id":137628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799d4da0012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:38:37] local.INFO: Packet analysis {"connection_id":137628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:38:37] local.INFO: Extracted packet for processing {"connection_id":137628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799d"} 
[2026-07-19 14:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819578624001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:38: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-07-19 14:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784451780000,"timestamp_ms":1784451780000,"timestamp_seconds":1784451780,"priority":1,"record_length":96,"hex_timestamp":"0000019f799d4da0"} 
[2026-07-19 14:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:38:37] 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-07-19 14:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819578624001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819578624001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:38:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:38:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819578624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":137628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:38:37] local.INFO: GPS data processed {"connection_id":137628,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:38:37] local.INFO: Acknowledgment sent {"connection_id":137628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:38:52] local.INFO: TCP Data received {"connection_id":136670,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:38:52] local.INFO: Processing buffer {"connection_id":136670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:38:52] local.INFO: IMEI packet received {"connection_id":136670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":136670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:38:56] local.INFO: TCP Data received {"connection_id":136670,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:38:56] local.INFO: Processing buffer {"connection_id":136670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:38:56] local.INFO: IMEI packet received {"connection_id":136670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":136670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:38:57] local.INFO: TCP Data received {"connection_id":136670,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799ed440012d196740071fee88003f004c2e..."} 
[2026-07-19 14:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799ed440012d196740071fee88003f004c2e..."} 
[2026-07-19 14:38:57] local.INFO: Processing buffer {"connection_id":136670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799ed440012d196740071fee88003f004c2e..."} 
[2026-07-19 14:38:57] local.INFO: Packet analysis {"connection_id":136670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799e"} 
[2026-07-19 14:38:57] local.INFO: Extracted packet for processing {"connection_id":136670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799e"} 
[2026-07-19 14:38:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819675904001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:38: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-07-19 14:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784451880000,"timestamp_ms":1784451880000,"timestamp_seconds":1784451880,"priority":1,"record_length":96,"hex_timestamp":"0000019f799ed440"} 
[2026-07-19 14:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:38: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-07-19 14: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-19 14:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819675904001,"66":12602,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819675904001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:38:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:38:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819675904001,"power":12602,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":136670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:38:57] local.INFO: GPS data processed {"connection_id":136670,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:38:57] local.INFO: Acknowledgment sent {"connection_id":136670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:39:08] local.INFO: TCP Data received {"connection_id":137628,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:39:08] local.INFO: Processing buffer {"connection_id":137628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:39:08] local.INFO: Packet analysis {"connection_id":137628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a1"} 
[2026-07-19 14:39:08] local.INFO: Extracted packet for processing {"connection_id":137628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a1"} 
[2026-07-19 14:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819655680001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14: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-07-19 14:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784452081000,"timestamp_ms":1784452081000,"timestamp_seconds":1784452081,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a1e568"} 
[2026-07-19 14:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14: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":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:39: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-07-19 14: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-07-19 14:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:39: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-07-19 14:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819655680001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819655680001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:39:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:39:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819655680001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":137628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:39:08] local.INFO: GPS data processed {"connection_id":137628,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:39:08] local.INFO: Acknowledgment sent {"connection_id":137628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:39:28] local.INFO: TCP Data received {"connection_id":136670,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799f2648012d196740071fee88003f004c2e..."} 
[2026-07-19 14:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799f2648012d196740071fee88003f004c2e..."} 
[2026-07-19 14:39:28] local.INFO: Processing buffer {"connection_id":136670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799f2648012d196740071fee88003f004c2e..."} 
[2026-07-19 14:39:28] local.INFO: Packet analysis {"connection_id":136670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799f"} 
[2026-07-19 14:39:28] local.INFO: Extracted packet for processing {"connection_id":136670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799f"} 
[2026-07-19 14:39:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819681280001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39: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-07-19 14:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784451901000,"timestamp_ms":1784451901000,"timestamp_seconds":1784451901,"priority":1,"record_length":96,"hex_timestamp":"0000019f799f2648"} 
[2026-07-19 14:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:39: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-07-19 14: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-19 14:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819681280001,"66":12558,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819681280001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:39:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:39:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819681280001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":136670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:39:28] local.INFO: GPS data processed {"connection_id":136670,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:39:28] local.INFO: Acknowledgment sent {"connection_id":136670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:39:31] local.INFO: TCP Data received {"connection_id":136538,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:39:31] local.INFO: Processing buffer {"connection_id":136538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:39:31] local.INFO: IMEI packet received {"connection_id":136538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":136538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:39:36] local.INFO: TCP Data received {"connection_id":136538,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:39:36] local.INFO: Processing buffer {"connection_id":136538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:39:36] local.INFO: IMEI packet received {"connection_id":136538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":136538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:39:37] local.INFO: TCP Data received {"connection_id":136538,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:39:37] local.INFO: Processing buffer {"connection_id":136538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:39:37] local.INFO: Packet analysis {"connection_id":136538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a1"} 
[2026-07-19 14:39:37] local.INFO: Extracted packet for processing {"connection_id":136538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a1"} 
[2026-07-19 14:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819655680001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39: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-07-19 14:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784452081000,"timestamp_ms":1784452081000,"timestamp_seconds":1784452081,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a1e568"} 
[2026-07-19 14:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819655680001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819655680001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819655680001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":136538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:39:37] local.INFO: GPS data processed {"connection_id":136538,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:39:37] local.INFO: Acknowledgment sent {"connection_id":136538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:39:51] local.INFO: TCP Data received {"connection_id":136671,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:39:51] local.INFO: Processing buffer {"connection_id":136671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:39:51] local.INFO: IMEI packet received {"connection_id":136671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":136671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:39:51] local.INFO: TCP Data received {"connection_id":136671,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:39:51] local.INFO: Processing buffer {"connection_id":136671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:39:51] local.INFO: IMEI packet received {"connection_id":136671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":136671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:39:56] local.INFO: TCP Data received {"connection_id":136671,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:39:56] local.INFO: Processing buffer {"connection_id":136671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:39:56] local.INFO: IMEI packet received {"connection_id":136671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":136671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:39:57] local.INFO: TCP Data received {"connection_id":136671,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799f7850012d196740071fee88003f004c2e..."} 
[2026-07-19 14:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799f7850012d196740071fee88003f004c2e..."} 
[2026-07-19 14:39:57] local.INFO: Processing buffer {"connection_id":136671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799f7850012d196740071fee88003f004c2e..."} 
[2026-07-19 14:39:57] local.INFO: Packet analysis {"connection_id":136671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799f"} 
[2026-07-19 14:39:57] local.INFO: Extracted packet for processing {"connection_id":136671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799f"} 
[2026-07-19 14:39:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819686656001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39: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-07-19 14:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784451922000,"timestamp_ms":1784451922000,"timestamp_seconds":1784451922,"priority":1,"record_length":96,"hex_timestamp":"0000019f799f7850"} 
[2026-07-19 14:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:39: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-07-19 14:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-19 14:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249716567174280352,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2648582145,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4004511806,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 14:39:57] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408698882,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39:57] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2248199544,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2425290752,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39:57] local.WARNING: Large IO value detected {"io_id":18,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39:57] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39:57] local.WARNING: Large IO value detected {"io_id":74,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-19 14:39:57] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,144,159,212,45,64,238,63,46,10,66,130,48,1,240,101,227,121,31,4,113,205,7,206,96,248,44,239,49,2,25,59,18,120,74],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 14:39:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712184841666560,"timestamp_seconds":4539712184841667.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 14:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819686656001,"66":12526,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819686656001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:39:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:39:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819686656001,"power":12526,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":136671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:39:57] local.INFO: GPS data processed {"connection_id":136671,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:39:57] local.INFO: Acknowledgment sent {"connection_id":136671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:40:09] local.INFO: TCP Data received {"connection_id":136538,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:40:09] local.INFO: Processing buffer {"connection_id":136538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:40:09] local.INFO: Packet analysis {"connection_id":136538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a1"} 
[2026-07-19 14:40:09] local.INFO: Extracted packet for processing {"connection_id":136538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a1"} 
[2026-07-19 14:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819655680001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:40: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-07-19 14:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784452081000,"timestamp_ms":1784452081000,"timestamp_seconds":1784452081,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a1e568"} 
[2026-07-19 14:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:40: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-07-19 14:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819655680001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819655680001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819655680001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":136538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:40:09] local.INFO: GPS data processed {"connection_id":136538,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:40:09] local.INFO: Acknowledgment sent {"connection_id":136538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:40:28] local.INFO: TCP Data received {"connection_id":136671,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f799fca58012d196740071fee88003f004c2e..."} 
[2026-07-19 14:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f799fca58012d196740071fee88003f004c2e..."} 
[2026-07-19 14:40:28] local.INFO: Processing buffer {"connection_id":136671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f799fca58012d196740071fee88003f004c2e..."} 
[2026-07-19 14:40:28] local.INFO: Packet analysis {"connection_id":136671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f799f"} 
[2026-07-19 14:40:28] local.INFO: Extracted packet for processing {"connection_id":136671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f799f"} 
[2026-07-19 14:40:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819692032001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:40: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-07-19 14:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784451943000,"timestamp_ms":1784451943000,"timestamp_seconds":1784451943,"priority":1,"record_length":96,"hex_timestamp":"0000019f799fca58"} 
[2026-07-19 14:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:40: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-07-19 14:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 14:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819692032001,"66":12548,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819692032001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:40:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:40:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819692032001,"power":12548,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":136671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:40:28] local.INFO: GPS data processed {"connection_id":136671,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:40:28] local.INFO: Acknowledgment sent {"connection_id":136671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:40:31] local.INFO: TCP Data received {"connection_id":137629,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:40:31] local.INFO: Processing buffer {"connection_id":137629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:40:31] local.INFO: IMEI packet received {"connection_id":137629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":137629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:40:36] local.INFO: TCP Data received {"connection_id":137629,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:40:36] local.INFO: Processing buffer {"connection_id":137629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:40:36] local.INFO: IMEI packet received {"connection_id":137629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":137629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:40:37] local.INFO: TCP Data received {"connection_id":137629,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:40:37] local.INFO: Processing buffer {"connection_id":137629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:40:37] local.INFO: Packet analysis {"connection_id":137629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a1"} 
[2026-07-19 14:40:37] local.INFO: Extracted packet for processing {"connection_id":137629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a1"} 
[2026-07-19 14:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819655680001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:40: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-07-19 14:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784452081000,"timestamp_ms":1784452081000,"timestamp_seconds":1784452081,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a1e568"} 
[2026-07-19 14:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819655680001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 14:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819655680001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:40:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819655680001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":137629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:40:37] local.INFO: GPS data processed {"connection_id":137629,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:40:37] local.INFO: Acknowledgment sent {"connection_id":137629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:40:51] local.INFO: TCP Data received {"connection_id":137630,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:40:51] local.INFO: Processing buffer {"connection_id":137630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:40:51] local.INFO: IMEI packet received {"connection_id":137630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":137630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:40:54] local.INFO: TCP Data received {"connection_id":137630,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:40:54] local.INFO: Processing buffer {"connection_id":137630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:40:54] local.INFO: IMEI packet received {"connection_id":137630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":137630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:40:56] local.INFO: TCP Data received {"connection_id":137630,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:40:56] local.INFO: Processing buffer {"connection_id":137630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:40:56] local.INFO: IMEI packet received {"connection_id":137630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":137630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:41:01] local.INFO: TCP Data received {"connection_id":137630,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:41:01] local.INFO: Processing buffer {"connection_id":137630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:41:01] local.INFO: IMEI packet received {"connection_id":137630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":137630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:41:02] local.INFO: TCP Data received {"connection_id":137630,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a350b0012d196740071fee88003f004c2d..."} 
[2026-07-19 14:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a350b0012d196740071fee88003f004c2d..."} 
[2026-07-19 14:41:02] local.INFO: Processing buffer {"connection_id":137630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a350b0012d196740071fee88003f004c2d..."} 
[2026-07-19 14:41:02] local.INFO: Packet analysis {"connection_id":137630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a3"} 
[2026-07-19 14:41:02] local.INFO: Extracted packet for processing {"connection_id":137630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a3"} 
[2026-07-19 14:41:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 14:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819751168001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:41: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-07-19 14:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784452174000,"timestamp_ms":1784452174000,"timestamp_seconds":1784452174,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a350b0"} 
[2026-07-19 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-07-19 14:41: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-07-19 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 14:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":137630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":137630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":137630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819751168001,"66":12385,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819751168001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:41:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:41:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819751168001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":137630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:41:02] local.INFO: GPS data processed {"connection_id":137630,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:41:02] local.INFO: Acknowledgment sent {"connection_id":137630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:41:06] local.INFO: TCP Data received {"connection_id":137630,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a3a2b8012d196740071fee88003f004c2e..."} 
[2026-07-19 14:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a3a2b8012d196740071fee88003f004c2e..."} 
[2026-07-19 14:41:06] local.INFO: Processing buffer {"connection_id":137630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a3a2b8012d196740071fee88003f004c2e..."} 
[2026-07-19 14:41:06] local.INFO: Packet analysis {"connection_id":137630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a3"} 
[2026-07-19 14:41:06] local.INFO: Extracted packet for processing {"connection_id":137630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a3"} 
[2026-07-19 14:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819756544001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784452195000,"timestamp_ms":1784452195000,"timestamp_seconds":1784452195,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a3a2b8"} 
[2026-07-19 14:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":137630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":137630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":137630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819756544001,"66":12374,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819756544001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:41:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819756544001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":137630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:41:07] local.INFO: GPS data processed {"connection_id":137630,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:41:07] local.INFO: Acknowledgment sent {"connection_id":137630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:41:08] local.INFO: TCP Data received {"connection_id":137629,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:41:08] local.INFO: Processing buffer {"connection_id":137629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:41:08] local.INFO: Packet analysis {"connection_id":137629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a1"} 
[2026-07-19 14:41:08] local.INFO: Extracted packet for processing {"connection_id":137629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a1"} 
[2026-07-19 14:41:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819655680001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:41: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-07-19 14:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784452081000,"timestamp_ms":1784452081000,"timestamp_seconds":1784452081,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a1e568"} 
[2026-07-19 14:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:41: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-07-19 14: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-07-19 14:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819655680001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 14:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819655680001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:41:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:41:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819655680001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":137629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:41:08] local.INFO: GPS data processed {"connection_id":137629,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:41:08] local.INFO: Acknowledgment sent {"connection_id":137629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:41:36] local.INFO: TCP Data received {"connection_id":136540,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:41:36] local.INFO: Processing buffer {"connection_id":136540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:41:36] local.INFO: IMEI packet received {"connection_id":136540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":136540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:41:41] local.INFO: TCP Data received {"connection_id":136540,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:41:41] local.INFO: Processing buffer {"connection_id":136540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:41:41] local.INFO: IMEI packet received {"connection_id":136540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":136540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:41:42] local.INFO: TCP Data received {"connection_id":136540,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:41:42] local.INFO: Processing buffer {"connection_id":136540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:41:42] local.INFO: Packet analysis {"connection_id":136540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a1"} 
[2026-07-19 14:41:42] local.INFO: Extracted packet for processing {"connection_id":136540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a1"} 
[2026-07-19 14:41:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:41: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-07-19 14:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819655680001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784452081000,"timestamp_ms":1784452081000,"timestamp_seconds":1784452081,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a1e568"} 
[2026-07-19 14:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:41: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-07-19 14:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819655680001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819655680001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:41:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:41:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819655680001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":136540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:41:42] local.INFO: GPS data processed {"connection_id":136540,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:41:42] local.INFO: Acknowledgment sent {"connection_id":136540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:41:47] local.INFO: TCP Data received {"connection_id":136540,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:41:47] local.INFO: Processing buffer {"connection_id":136540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:41:47] local.INFO: Packet analysis {"connection_id":136540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a1"} 
[2026-07-19 14:41:47] local.INFO: Extracted packet for processing {"connection_id":136540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a1"} 
[2026-07-19 14:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819655680001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784452081000,"timestamp_ms":1784452081000,"timestamp_seconds":1784452081,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a1e568"} 
[2026-07-19 14:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819655680001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819655680001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:41:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819655680001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":136540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:41:47] local.INFO: GPS data processed {"connection_id":136540,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:41:47] local.INFO: Acknowledgment sent {"connection_id":136540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:41:51] local.INFO: TCP Data received {"connection_id":136672,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:41:51] local.INFO: Processing buffer {"connection_id":136672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:41:51] local.INFO: IMEI packet received {"connection_id":136672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":136672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:41:56] local.INFO: TCP Data received {"connection_id":136672,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:41:56] local.INFO: Processing buffer {"connection_id":136672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:41:56] local.INFO: IMEI packet received {"connection_id":136672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":136672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:41:57] local.INFO: TCP Data received {"connection_id":136672,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a3f4c0012d196740071fee88003f004c2e..."} 
[2026-07-19 14:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a3f4c0012d196740071fee88003f004c2e..."} 
[2026-07-19 14:41:57] local.INFO: Processing buffer {"connection_id":136672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a3f4c0012d196740071fee88003f004c2e..."} 
[2026-07-19 14:41:57] local.INFO: Packet analysis {"connection_id":136672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a3"} 
[2026-07-19 14:41:57] local.INFO: Extracted packet for processing {"connection_id":136672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a3"} 
[2026-07-19 14:41:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819761920001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:41: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-07-19 14:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784452216000,"timestamp_ms":1784452216000,"timestamp_seconds":1784452216,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a3f4c0"} 
[2026-07-19 14:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:41: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-07-19 14: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 14:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819761920001,"66":12428,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819761920001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:41:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:41:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819761920001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":136672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:41:57] local.INFO: GPS data processed {"connection_id":136672,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:41:57] local.INFO: Acknowledgment sent {"connection_id":136672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:42:26] local.INFO: TCP Data received {"connection_id":136673,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:42:26] local.INFO: Processing buffer {"connection_id":136673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:42:26] local.INFO: IMEI packet received {"connection_id":136673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 14:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":136673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:42:28] local.INFO: TCP Data received {"connection_id":136672,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a446c8012d196740071fee88003f004c2b..."} 
[2026-07-19 14:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a446c8012d196740071fee88003f004c2b..."} 
[2026-07-19 14:42:28] local.INFO: Processing buffer {"connection_id":136672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a446c8012d196740071fee88003f004c2b..."} 
[2026-07-19 14:42:28] local.INFO: Packet analysis {"connection_id":136672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a4"} 
[2026-07-19 14:42:28] local.INFO: Extracted packet for processing {"connection_id":136672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a4"} 
[2026-07-19 14:42:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819767296001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:42: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-07-19 14:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784452237000,"timestamp_ms":1784452237000,"timestamp_seconds":1784452237,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a446c8"} 
[2026-07-19 14:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-19 14:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819767296001,"66":12428,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819767296001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:42:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:42:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819767296001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":136672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:42:28] local.INFO: GPS data processed {"connection_id":136672,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:42:28] local.INFO: Acknowledgment sent {"connection_id":136672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:42:32] local.INFO: TCP Data received {"connection_id":137631,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:42:32] local.INFO: Processing buffer {"connection_id":137631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:42:32] local.INFO: IMEI packet received {"connection_id":137631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":137631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:42:36] local.INFO: TCP Data received {"connection_id":137631,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:42:36] local.INFO: Processing buffer {"connection_id":137631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:42:36] local.INFO: IMEI packet received {"connection_id":137631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":137631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:42:37] local.INFO: TCP Data received {"connection_id":137631,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:42:37] local.INFO: Processing buffer {"connection_id":137631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:42:37] local.INFO: Packet analysis {"connection_id":137631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a1"} 
[2026-07-19 14:42:37] local.INFO: Extracted packet for processing {"connection_id":137631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a1"} 
[2026-07-19 14:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819655680001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:42: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-07-19 14:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784452081000,"timestamp_ms":1784452081000,"timestamp_seconds":1784452081,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a1e568"} 
[2026-07-19 14:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819655680001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819655680001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819655680001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":137631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:42:37] local.INFO: GPS data processed {"connection_id":137631,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:42:37] local.INFO: Acknowledgment sent {"connection_id":137631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:42:42] local.INFO: TCP Data received {"connection_id":137631,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:42:42] local.INFO: Processing buffer {"connection_id":137631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:42:42] local.INFO: Packet analysis {"connection_id":137631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a1"} 
[2026-07-19 14:42:42] local.INFO: Extracted packet for processing {"connection_id":137631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a1"} 
[2026-07-19 14:42:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819655680001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784452081000,"timestamp_ms":1784452081000,"timestamp_seconds":1784452081,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a1e568"} 
[2026-07-19 14:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:42:42] 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-07-19 14:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819655680001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819655680001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:42:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:42:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819655680001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":137631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:42:42] local.INFO: GPS data processed {"connection_id":137631,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:42:42] local.INFO: Acknowledgment sent {"connection_id":137631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:42:51] local.INFO: TCP Data received {"connection_id":139019,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:42:51] local.INFO: Processing buffer {"connection_id":139019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:42:51] local.INFO: IMEI packet received {"connection_id":139019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":139019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:42:56] local.INFO: TCP Data received {"connection_id":139019,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:42:56] local.INFO: Processing buffer {"connection_id":139019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:42:56] local.INFO: IMEI packet received {"connection_id":139019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":139019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:42:57] local.INFO: TCP Data received {"connection_id":139019,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a498d0012d196740071fee88003f004c2d..."} 
[2026-07-19 14:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a498d0012d196740071fee88003f004c2d..."} 
[2026-07-19 14:42:57] local.INFO: Processing buffer {"connection_id":139019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a498d0012d196740071fee88003f004c2d..."} 
[2026-07-19 14:42:57] local.INFO: Packet analysis {"connection_id":139019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a4"} 
[2026-07-19 14:42:57] local.INFO: Extracted packet for processing {"connection_id":139019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a4"} 
[2026-07-19 14:42:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819772672001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:42: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-07-19 14:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784452258000,"timestamp_ms":1784452258000,"timestamp_seconds":1784452258,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a498d0"} 
[2026-07-19 14:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:42: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-07-19 14:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-19 14:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819772672001,"66":12406,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819772672001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:42:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:42:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819772672001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":139019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:42:57] local.INFO: GPS data processed {"connection_id":139019,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:42:57] local.INFO: Acknowledgment sent {"connection_id":139019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:43:13] local.INFO: TCP Data received {"connection_id":137631,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:43:13] local.INFO: Processing buffer {"connection_id":137631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:43:13] local.INFO: Packet analysis {"connection_id":137631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a1"} 
[2026-07-19 14:43:13] local.INFO: Extracted packet for processing {"connection_id":137631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a1"} 
[2026-07-19 14:43:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819655680001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:43: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-07-19 14:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784452081000,"timestamp_ms":1784452081000,"timestamp_seconds":1784452081,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a1e568"} 
[2026-07-19 14:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:43: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-07-19 14:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":137631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":137631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":137631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:43: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-07-19 14:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819655680001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819655680001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:43:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:43:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819655680001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":137631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:43:13] local.INFO: GPS data processed {"connection_id":137631,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:43:13] local.INFO: Acknowledgment sent {"connection_id":137631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:43:26] local.INFO: TCP Data received {"connection_id":136674,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:43:26] local.INFO: Processing buffer {"connection_id":136674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:43:26] local.INFO: IMEI packet received {"connection_id":136674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 14:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":136674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:43:28] local.INFO: TCP Data received {"connection_id":139019,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a4ead8012d196740071fee88003f004c2d..."} 
[2026-07-19 14:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a4ead8012d196740071fee88003f004c2d..."} 
[2026-07-19 14:43:28] local.INFO: Processing buffer {"connection_id":139019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a4ead8012d196740071fee88003f004c2d..."} 
[2026-07-19 14:43:28] local.INFO: Packet analysis {"connection_id":139019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a4"} 
[2026-07-19 14:43:28] local.INFO: Extracted packet for processing {"connection_id":139019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a4"} 
[2026-07-19 14:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14:43: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-07-19 14:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819778048001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:43: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-07-19 14:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784452279000,"timestamp_ms":1784452279000,"timestamp_seconds":1784452279,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a4ead8"} 
[2026-07-19 14:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:43: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-07-19 14:43: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":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:43:28] 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-07-19 14:43: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-07-19 14:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819778048001,"66":12406,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819778048001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:43:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:43:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819778048001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":139019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:43:29] local.INFO: GPS data processed {"connection_id":139019,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:43:29] local.INFO: Acknowledgment sent {"connection_id":139019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:43:31] local.INFO: TCP Data received {"connection_id":136675,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:43:31] local.INFO: Processing buffer {"connection_id":136675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:43:31] local.INFO: IMEI packet received {"connection_id":136675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":136675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:43:36] local.INFO: TCP Data received {"connection_id":136675,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:43:36] local.INFO: Processing buffer {"connection_id":136675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:43:36] local.INFO: IMEI packet received {"connection_id":136675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":136675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:43:37] local.INFO: TCP Data received {"connection_id":136675,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:43:37] local.INFO: Processing buffer {"connection_id":136675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a1e568012d34c50006aa4dd80008009529..."} 
[2026-07-19 14:43:37] local.INFO: Packet analysis {"connection_id":136675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a1"} 
[2026-07-19 14:43:37] local.INFO: Extracted packet for processing {"connection_id":136675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a1"} 
[2026-07-19 14:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819655680001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:43: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-07-19 14:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784452081000,"timestamp_ms":1784452081000,"timestamp_seconds":1784452081,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a1e568"} 
[2026-07-19 14:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819655680001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819655680001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:43:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819655680001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":136675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:43:37] local.INFO: GPS data processed {"connection_id":136675,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:43:37] local.INFO: Acknowledgment sent {"connection_id":136675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:43:51] local.INFO: TCP Data received {"connection_id":136676,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:43:51] local.INFO: Processing buffer {"connection_id":136676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:43:51] local.INFO: IMEI packet received {"connection_id":136676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":136676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:43:56] local.INFO: TCP Data received {"connection_id":136676,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:43:56] local.INFO: Processing buffer {"connection_id":136676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:43:56] local.INFO: IMEI packet received {"connection_id":136676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":136676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:43:57] local.INFO: TCP Data received {"connection_id":136676,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a53ce0012d196740071fee88003f004c29..."} 
[2026-07-19 14:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a53ce0012d196740071fee88003f004c29..."} 
[2026-07-19 14:43:57] local.INFO: Processing buffer {"connection_id":136676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a53ce0012d196740071fee88003f004c29..."} 
[2026-07-19 14:43:57] local.INFO: Packet analysis {"connection_id":136676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a5"} 
[2026-07-19 14:43:57] local.INFO: Extracted packet for processing {"connection_id":136676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a5"} 
[2026-07-19 14:43:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819783424001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:43: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-07-19 14:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784452300000,"timestamp_ms":1784452300000,"timestamp_seconds":1784452300,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a53ce0"} 
[2026-07-19 14:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:43: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-07-19 14:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:43:57] 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-07-19 14:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819783424001,"66":12385,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819783424001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:43:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:43:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819783424001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":136676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:43:57] local.INFO: GPS data processed {"connection_id":136676,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:43:57] local.INFO: Acknowledgment sent {"connection_id":136676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:44:09] local.INFO: TCP Data received {"connection_id":136675,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:44:09] local.INFO: Processing buffer {"connection_id":136675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:44:09] local.INFO: Packet analysis {"connection_id":136675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:44:09] local.INFO: Extracted packet for processing {"connection_id":136675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819732736001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14: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-07-19 14:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784452382000,"timestamp_ms":1784452382000,"timestamp_seconds":1784452382,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a67d30"} 
[2026-07-19 14:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 14:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:44:09] 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-07-19 14:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819732736001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819732736001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:44:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819732736001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":136675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:44:09] local.INFO: GPS data processed {"connection_id":136675,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:44:09] local.INFO: Acknowledgment sent {"connection_id":136675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:44:29] local.INFO: TCP Data received {"connection_id":136676,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a58ee8012d196740071fee88003f004c2c..."} 
[2026-07-19 14:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a58ee8012d196740071fee88003f004c2c..."} 
[2026-07-19 14:44:29] local.INFO: Processing buffer {"connection_id":136676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a58ee8012d196740071fee88003f004c2c..."} 
[2026-07-19 14:44:29] local.INFO: Packet analysis {"connection_id":136676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a5"} 
[2026-07-19 14:44:29] local.INFO: Extracted packet for processing {"connection_id":136676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a5"} 
[2026-07-19 14:44:29] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819788800001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784452321000,"timestamp_ms":1784452321000,"timestamp_seconds":1784452321,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a58ee8"} 
[2026-07-19 14:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:44: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-07-19 14:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":136676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":136676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":136676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819788800001,"66":12341,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819788800001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:44:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:44:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819788800001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":136676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:44:29] local.INFO: GPS data processed {"connection_id":136676,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:44:29] local.INFO: Acknowledgment sent {"connection_id":136676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:44:31] local.INFO: TCP Data received {"connection_id":139020,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:44:31] local.INFO: Processing buffer {"connection_id":139020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:44:31] local.INFO: IMEI packet received {"connection_id":139020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":139020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:44:36] local.INFO: TCP Data received {"connection_id":139020,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:44:36] local.INFO: Processing buffer {"connection_id":139020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:44:36] local.INFO: IMEI packet received {"connection_id":139020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":139020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:44:39] local.INFO: TCP Data received {"connection_id":139020,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:44:39] local.INFO: Processing buffer {"connection_id":139020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:44:39] local.INFO: Packet analysis {"connection_id":139020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:44:39] local.INFO: Extracted packet for processing {"connection_id":139020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:44:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819732736001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:44: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-07-19 14:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784452382000,"timestamp_ms":1784452382000,"timestamp_seconds":1784452382,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a67d30"} 
[2026-07-19 14:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 14:44: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-07-19 14:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:44: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-07-19 14:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819732736001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819732736001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:44:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:44:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819732736001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":139020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:44:39] local.INFO: GPS data processed {"connection_id":139020,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:44:39] local.INFO: Acknowledgment sent {"connection_id":139020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:44:51] local.INFO: TCP Data received {"connection_id":136542,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:44:51] local.INFO: Processing buffer {"connection_id":136542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:44:51] local.INFO: IMEI packet received {"connection_id":136542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":136542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:44:56] local.INFO: TCP Data received {"connection_id":136542,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:44:56] local.INFO: Processing buffer {"connection_id":136542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:44:56] local.INFO: IMEI packet received {"connection_id":136542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":136542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:44:57] local.INFO: TCP Data received {"connection_id":136542,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a5e0f0012d196740071fee88003f004c28..."} 
[2026-07-19 14:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a5e0f0012d196740071fee88003f004c28..."} 
[2026-07-19 14:44:57] local.INFO: Processing buffer {"connection_id":136542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a5e0f0012d196740071fee88003f004c28..."} 
[2026-07-19 14:44:57] local.INFO: Packet analysis {"connection_id":136542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a5"} 
[2026-07-19 14:44:57] local.INFO: Extracted packet for processing {"connection_id":136542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a5"} 
[2026-07-19 14:44:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819794176001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:44: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-07-19 14:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784452342000,"timestamp_ms":1784452342000,"timestamp_seconds":1784452342,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a5e0f0"} 
[2026-07-19 14:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:44: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-07-19 14: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 14:44:57] 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-07-19 14: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-07-19 14:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819794176001,"66":12385,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819794176001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:44:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:44:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819794176001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":136542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:44:57] local.INFO: GPS data processed {"connection_id":136542,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:44:57] local.INFO: Acknowledgment sent {"connection_id":136542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:45:12] local.INFO: TCP Data received {"connection_id":139020,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:45:12] local.INFO: Processing buffer {"connection_id":139020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:45:12] local.INFO: Packet analysis {"connection_id":139020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:45:12] local.INFO: Extracted packet for processing {"connection_id":139020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:45:12] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819732736001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:45: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-07-19 14:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784452382000,"timestamp_ms":1784452382000,"timestamp_seconds":1784452382,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a67d30"} 
[2026-07-19 14:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 14:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":139020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":139020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":139020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:45:12] 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-07-19 14:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819732736001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819732736001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:45:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:45:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819732736001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":139020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:45:12] local.INFO: GPS data processed {"connection_id":139020,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:45:12] local.INFO: Acknowledgment sent {"connection_id":139020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:45:28] local.INFO: TCP Data received {"connection_id":136542,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a632f8012d196740071fee88003f004c2d..."} 
[2026-07-19 14:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a632f8012d196740071fee88003f004c2d..."} 
[2026-07-19 14:45:28] local.INFO: Processing buffer {"connection_id":136542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a632f8012d196740071fee88003f004c2d..."} 
[2026-07-19 14:45:28] local.INFO: Packet analysis {"connection_id":136542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:45:28] local.INFO: Extracted packet for processing {"connection_id":136542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:45:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 14:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819799552001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:45: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-07-19 14:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784452363000,"timestamp_ms":1784452363000,"timestamp_seconds":1784452363,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a632f8"} 
[2026-07-19 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-07-19 14:45: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-07-19 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 14:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819799552001,"66":12385,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819799552001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:45:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:45:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819799552001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":136542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:45:28] local.INFO: GPS data processed {"connection_id":136542,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:45:28] local.INFO: Acknowledgment sent {"connection_id":136542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:45:32] local.INFO: TCP Data received {"connection_id":139021,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:45:32] local.INFO: Processing buffer {"connection_id":139021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:45:32] local.INFO: IMEI packet received {"connection_id":139021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":139021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:45:36] local.INFO: TCP Data received {"connection_id":139021,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:45:36] local.INFO: Processing buffer {"connection_id":139021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:45:36] local.INFO: IMEI packet received {"connection_id":139021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":139021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:45:38] local.INFO: TCP Data received {"connection_id":139021,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:45:38] local.INFO: Processing buffer {"connection_id":139021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:45:38] local.INFO: Packet analysis {"connection_id":139021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:45:38] local.INFO: Extracted packet for processing {"connection_id":139021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819732736001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:45: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-07-19 14:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784452382000,"timestamp_ms":1784452382000,"timestamp_seconds":1784452382,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a67d30"} 
[2026-07-19 14:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 14:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":139021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":139021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":139021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819732736001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819732736001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:45:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819732736001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":139021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:45:38] local.INFO: GPS data processed {"connection_id":139021,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:45:38] local.INFO: Acknowledgment sent {"connection_id":139021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:45:51] local.INFO: TCP Data received {"connection_id":137633,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:45:51] local.INFO: Processing buffer {"connection_id":137633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:45:51] local.INFO: IMEI packet received {"connection_id":137633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":137633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:45:56] local.INFO: TCP Data received {"connection_id":137633,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:45:56] local.INFO: Processing buffer {"connection_id":137633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:45:56] local.INFO: IMEI packet received {"connection_id":137633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":137633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:45:57] local.INFO: TCP Data received {"connection_id":137633,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a68500012d196740071fee88003f004c2c..."} 
[2026-07-19 14:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a68500012d196740071fee88003f004c2c..."} 
[2026-07-19 14:45:57] local.INFO: Processing buffer {"connection_id":137633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a68500012d196740071fee88003f004c2c..."} 
[2026-07-19 14:45:57] local.INFO: Packet analysis {"connection_id":137633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:45:57] local.INFO: Extracted packet for processing {"connection_id":137633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:45:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819804928001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:45: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-07-19 14:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784452384000,"timestamp_ms":1784452384000,"timestamp_seconds":1784452384,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a68500"} 
[2026-07-19 14:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:45:57] 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-07-19 14:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819804928001,"66":12385,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819804928001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:45:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:45:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819804928001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":137633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:45:57] local.INFO: GPS data processed {"connection_id":137633,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:45:57] local.INFO: Acknowledgment sent {"connection_id":137633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:46:09] local.INFO: TCP Data received {"connection_id":139021,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:46:09] local.INFO: Processing buffer {"connection_id":139021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:46:09] local.INFO: Packet analysis {"connection_id":139021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:46:09] local.INFO: Extracted packet for processing {"connection_id":139021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819732736001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:46: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-07-19 14:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784452382000,"timestamp_ms":1784452382000,"timestamp_seconds":1784452382,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a67d30"} 
[2026-07-19 14:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 14:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819732736001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819732736001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:46:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819732736001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":139021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:46:09] local.INFO: GPS data processed {"connection_id":139021,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:46:09] local.INFO: Acknowledgment sent {"connection_id":139021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:46:28] local.INFO: TCP Data received {"connection_id":137633,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a6d708012d196740071fee88003f004c2d..."} 
[2026-07-19 14:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a6d708012d196740071fee88003f004c2d..."} 
[2026-07-19 14:46:28] local.INFO: Processing buffer {"connection_id":137633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a6d708012d196740071fee88003f004c2d..."} 
[2026-07-19 14:46:28] local.INFO: Packet analysis {"connection_id":137633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:46:28] local.INFO: Extracted packet for processing {"connection_id":137633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819810304001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:46: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-07-19 14:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784452405000,"timestamp_ms":1784452405000,"timestamp_seconds":1784452405,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a6d708"} 
[2026-07-19 14:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:46: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-07-19 14:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819810304001,"66":12385,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819810304001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:46:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:46:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819810304001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":137633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:46:29] local.INFO: GPS data processed {"connection_id":137633,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:46:29] local.INFO: Acknowledgment sent {"connection_id":137633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:46:36] local.INFO: TCP Data received {"connection_id":139022,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:46:36] local.INFO: Processing buffer {"connection_id":139022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:46:36] local.INFO: IMEI packet received {"connection_id":139022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":139022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:46:41] local.INFO: TCP Data received {"connection_id":139022,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:46:41] local.INFO: Processing buffer {"connection_id":139022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:46:41] local.INFO: IMEI packet received {"connection_id":139022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":139022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:46:42] local.INFO: TCP Data received {"connection_id":139022,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:46:42] local.INFO: Processing buffer {"connection_id":139022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:46:42] local.INFO: Packet analysis {"connection_id":139022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:46:42] local.INFO: Extracted packet for processing {"connection_id":139022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:46:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819732736001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784452382000,"timestamp_ms":1784452382000,"timestamp_seconds":1784452382,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a67d30"} 
[2026-07-19 14:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 14:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819732736001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819732736001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:46:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:46:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819732736001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":139022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:46:42] local.INFO: GPS data processed {"connection_id":139022,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:46:42] local.INFO: Acknowledgment sent {"connection_id":139022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:46:47] local.INFO: TCP Data received {"connection_id":139022,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:46:47] local.INFO: Processing buffer {"connection_id":139022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:46:47] local.INFO: Packet analysis {"connection_id":139022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:46:47] local.INFO: Extracted packet for processing {"connection_id":139022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819732736001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784452382000,"timestamp_ms":1784452382000,"timestamp_seconds":1784452382,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a67d30"} 
[2026-07-19 14:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 14:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":139022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":139022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":139022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819732736001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819732736001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:46:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819732736001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":139022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:46:47] local.INFO: GPS data processed {"connection_id":139022,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:46:47] local.INFO: Acknowledgment sent {"connection_id":139022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:46:56] local.INFO: TCP Data received {"connection_id":136543,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:46:56] local.INFO: Processing buffer {"connection_id":136543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:46:56] local.INFO: IMEI packet received {"connection_id":136543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":136543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:47:01] local.INFO: TCP Data received {"connection_id":136543,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:47:01] local.INFO: Processing buffer {"connection_id":136543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:47:01] local.INFO: IMEI packet received {"connection_id":136543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":136543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:47:02] local.INFO: TCP Data received {"connection_id":136543,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a72910012d196740071fee88003f004c2c..."} 
[2026-07-19 14:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a72910012d196740071fee88003f004c2c..."} 
[2026-07-19 14:47:02] local.INFO: Processing buffer {"connection_id":136543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a72910012d196740071fee88003f004c2c..."} 
[2026-07-19 14:47:02] local.INFO: Packet analysis {"connection_id":136543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a7"} 
[2026-07-19 14:47:02] local.INFO: Extracted packet for processing {"connection_id":136543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a7"} 
[2026-07-19 14:47:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 14:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819815680001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:47: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-07-19 14:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784452426000,"timestamp_ms":1784452426000,"timestamp_seconds":1784452426,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a72910"} 
[2026-07-19 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-07-19 14:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 14:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 14:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819815680001,"66":12374,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819815680001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:47:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:47:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819815680001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":136543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:47:02] local.INFO: GPS data processed {"connection_id":136543,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:47:02] local.INFO: Acknowledgment sent {"connection_id":136543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:47:07] local.INFO: TCP Data received {"connection_id":136543,"ip":"42.106.6.17","data_length":93,"data_hex":"00000000000000518e010000019f79a77b18012d196740071fee88003f004c2c..."} 
[2026-07-19 14:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136543,"packet_length":93,"packet_hex":"00000000000000518e010000019f79a77b18012d196740071fee88003f004c2c..."} 
[2026-07-19 14:47:07] local.INFO: Processing buffer {"connection_id":136543,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f79a77b18012d196740071fee88003f004c2c..."} 
[2026-07-19 14:47:07] local.INFO: Packet analysis {"connection_id":136543,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f79a7"} 
[2026-07-19 14:47:07] local.INFO: Extracted packet for processing {"connection_id":136543,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f79a7"} 
[2026-07-19 14:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-19 14:47:07] 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-07-19 14:47:07] 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-07-19 14:47:07] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:47:07] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-19 14:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136543,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-19 14:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136543,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-19 14:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136543,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-19 14:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-19 14:47:07] local.WARNING: DEBUG: No valid data to process  
[2026-07-19 14:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":136543,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-19 14:47:07] local.ERROR: GPS data processing failed {"connection_id":136543,"error":"No valid data to process"} 
[2026-07-19 14:47:07] local.INFO: Acknowledgment sent {"connection_id":136543,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-19 14:47:31] local.INFO: TCP Data received {"connection_id":136678,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:47:31] local.INFO: Processing buffer {"connection_id":136678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:47:31] local.INFO: IMEI packet received {"connection_id":136678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":136678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:47:36] local.INFO: TCP Data received {"connection_id":136678,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:47:36] local.INFO: Processing buffer {"connection_id":136678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:47:36] local.INFO: IMEI packet received {"connection_id":136678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":136678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:47:37] local.INFO: TCP Data received {"connection_id":136678,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:47:37] local.INFO: Processing buffer {"connection_id":136678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:47:37] local.INFO: Packet analysis {"connection_id":136678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:47:37] local.INFO: Extracted packet for processing {"connection_id":136678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:47:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819732736001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14: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-07-19 14:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784452382000,"timestamp_ms":1784452382000,"timestamp_seconds":1784452382,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a67d30"} 
[2026-07-19 14:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 14:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:47: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-07-19 14:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819732736001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819732736001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:47:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:47:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819732736001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":136678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:47:37] local.INFO: GPS data processed {"connection_id":136678,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:47:37] local.INFO: Acknowledgment sent {"connection_id":136678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:47:51] local.INFO: TCP Data received {"connection_id":139024,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:47:51] local.INFO: Processing buffer {"connection_id":139024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:47:51] local.INFO: IMEI packet received {"connection_id":139024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":139024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:47:55] local.INFO: TCP Data received {"connection_id":139024,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:47:55] local.INFO: Processing buffer {"connection_id":139024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:47:55] local.INFO: IMEI packet received {"connection_id":139024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":139024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:47:56] local.INFO: TCP Data received {"connection_id":139024,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a7cd20012d196740071fee88003f004c29..."} 
[2026-07-19 14:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a7cd20012d196740071fee88003f004c29..."} 
[2026-07-19 14:47:56] local.INFO: Processing buffer {"connection_id":139024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a7cd20012d196740071fee88003f004c29..."} 
[2026-07-19 14:47:56] local.INFO: Packet analysis {"connection_id":139024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a7"} 
[2026-07-19 14:47:56] local.INFO: Extracted packet for processing {"connection_id":139024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a7"} 
[2026-07-19 14:47:56] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819826432001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:47: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-07-19 14:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784452468000,"timestamp_ms":1784452468000,"timestamp_seconds":1784452468,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a7cd20"} 
[2026-07-19 14:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:47: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-07-19 14:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 14:47:56] 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-07-19 14:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819826432001,"66":12374,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819826432001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:47:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:47:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819826432001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":139024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:47:56] local.INFO: GPS data processed {"connection_id":139024,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:47:56] local.INFO: Acknowledgment sent {"connection_id":139024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:48:08] local.INFO: TCP Data received {"connection_id":136678,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:48:08] local.INFO: Processing buffer {"connection_id":136678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:48:08] local.INFO: Packet analysis {"connection_id":136678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:48:08] local.INFO: Extracted packet for processing {"connection_id":136678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819732736001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14: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-07-19 14:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784452382000,"timestamp_ms":1784452382000,"timestamp_seconds":1784452382,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a67d30"} 
[2026-07-19 14:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14: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":233,"data_length":795,"current_offset":136} 
[2026-07-19 14:48: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-07-19 14: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-07-19 14:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:48: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-07-19 14:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819732736001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819732736001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:48:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819732736001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":136678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:48:08] local.INFO: GPS data processed {"connection_id":136678,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:48:08] local.INFO: Acknowledgment sent {"connection_id":136678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:48:27] local.INFO: TCP Data received {"connection_id":139024,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a81f28012d196740071fee88003f004c2c..."} 
[2026-07-19 14:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a81f28012d196740071fee88003f004c2c..."} 
[2026-07-19 14:48:27] local.INFO: Processing buffer {"connection_id":139024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a81f28012d196740071fee88003f004c2c..."} 
[2026-07-19 14:48:27] local.INFO: Packet analysis {"connection_id":139024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a8"} 
[2026-07-19 14:48:27] local.INFO: Extracted packet for processing {"connection_id":139024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a8"} 
[2026-07-19 14:48:27] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819831808001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:48: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-07-19 14:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784452489000,"timestamp_ms":1784452489000,"timestamp_seconds":1784452489,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a81f28"} 
[2026-07-19 14:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:48: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-07-19 14:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 14:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819831808001,"66":12374,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819831808001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:48:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:48:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819831808001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":139024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:48:27] local.INFO: GPS data processed {"connection_id":139024,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:48:27] local.INFO: Acknowledgment sent {"connection_id":139024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:48:31] local.INFO: TCP Data received {"connection_id":139025,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:48:31] local.INFO: Processing buffer {"connection_id":139025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:48:31] local.INFO: IMEI packet received {"connection_id":139025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":139025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:48:36] local.INFO: TCP Data received {"connection_id":139025,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:48:36] local.INFO: Processing buffer {"connection_id":139025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:48:36] local.INFO: IMEI packet received {"connection_id":139025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":139025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:48:38] local.INFO: TCP Data received {"connection_id":139025,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:48:38] local.INFO: Processing buffer {"connection_id":139025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a67d30012d34c50006aa4dd8000800952b..."} 
[2026-07-19 14:48:38] local.INFO: Packet analysis {"connection_id":139025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:48:38] local.INFO: Extracted packet for processing {"connection_id":139025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a6"} 
[2026-07-19 14:48:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819732736001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:48: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-07-19 14:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784452382000,"timestamp_ms":1784452382000,"timestamp_seconds":1784452382,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a67d30"} 
[2026-07-19 14:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 14:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":139025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":139025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":139025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819732736001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819732736001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:48:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:48:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819732736001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":139025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:48:38] local.INFO: GPS data processed {"connection_id":139025,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:48:38] local.INFO: Acknowledgment sent {"connection_id":139025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:48:51] local.INFO: TCP Data received {"connection_id":136679,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:48:51] local.INFO: Processing buffer {"connection_id":136679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:48:51] local.INFO: IMEI packet received {"connection_id":136679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":136679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:48:56] local.INFO: TCP Data received {"connection_id":136544,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:48:56] local.INFO: Processing buffer {"connection_id":136544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:48:56] local.INFO: IMEI packet received {"connection_id":136544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 14:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":136544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:48:56] local.INFO: TCP Data received {"connection_id":136679,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:48:56] local.INFO: Processing buffer {"connection_id":136679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:48:56] local.INFO: IMEI packet received {"connection_id":136679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":136679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:48:57] local.INFO: TCP Data received {"connection_id":136679,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a87130012d196740071fee88003f004c2a..."} 
[2026-07-19 14:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a87130012d196740071fee88003f004c2a..."} 
[2026-07-19 14:48:57] local.INFO: Processing buffer {"connection_id":136679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a87130012d196740071fee88003f004c2a..."} 
[2026-07-19 14:48:57] local.INFO: Packet analysis {"connection_id":136679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a8"} 
[2026-07-19 14:48:57] local.INFO: Extracted packet for processing {"connection_id":136679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a8"} 
[2026-07-19 14:48:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 14:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819837184001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:48: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-07-19 14:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784452510000,"timestamp_ms":1784452510000,"timestamp_seconds":1784452510,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a87130"} 
[2026-07-19 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-07-19 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-07-19 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 14:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 14:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819837184001,"66":12341,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819837184001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:48:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:48:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819837184001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":136679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:48:57] local.INFO: GPS data processed {"connection_id":136679,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:48:57] local.INFO: Acknowledgment sent {"connection_id":136679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:49:11] local.INFO: TCP Data received {"connection_id":139025,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:49:11] local.INFO: Processing buffer {"connection_id":139025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:49:11] local.INFO: Packet analysis {"connection_id":139025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ab"} 
[2026-07-19 14:49:11] local.INFO: Extracted packet for processing {"connection_id":139025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ab"} 
[2026-07-19 14:49:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819809792001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:49: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-07-19 14:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784452683000,"timestamp_ms":1784452683000,"timestamp_seconds":1784452683,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ab14f8"} 
[2026-07-19 14:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":139025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":139025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":139025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:49:11] 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-07-19 14:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819809792001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819809792001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:49:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:49:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819809792001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":139025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:49:11] local.INFO: GPS data processed {"connection_id":139025,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:49:11] local.INFO: Acknowledgment sent {"connection_id":139025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:49:28] local.INFO: TCP Data received {"connection_id":136679,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a8c338012d196740071fee88003f004c28..."} 
[2026-07-19 14:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a8c338012d196740071fee88003f004c28..."} 
[2026-07-19 14:49:28] local.INFO: Processing buffer {"connection_id":136679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a8c338012d196740071fee88003f004c28..."} 
[2026-07-19 14:49:28] local.INFO: Packet analysis {"connection_id":136679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a8"} 
[2026-07-19 14:49:28] local.INFO: Extracted packet for processing {"connection_id":136679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a8"} 
[2026-07-19 14:49:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819842560001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:49: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-07-19 14:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784452531000,"timestamp_ms":1784452531000,"timestamp_seconds":1784452531,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a8c338"} 
[2026-07-19 14:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 14:49:28] 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-07-19 14: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-07-19 14:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819842560001,"66":12374,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819842560001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:49:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:49:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819842560001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":136679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:49:28] local.INFO: GPS data processed {"connection_id":136679,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:49:28] local.INFO: Acknowledgment sent {"connection_id":136679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:49:36] local.INFO: TCP Data received {"connection_id":137634,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:49:36] local.INFO: Processing buffer {"connection_id":137634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:49:36] local.INFO: IMEI packet received {"connection_id":137634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 14:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":137634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:49:36] local.INFO: TCP Data received {"connection_id":136545,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:49:36] local.INFO: Processing buffer {"connection_id":136545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:49:36] local.INFO: IMEI packet received {"connection_id":136545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":136545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:49:41] local.INFO: TCP Data received {"connection_id":136545,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:49:41] local.INFO: Processing buffer {"connection_id":136545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:49:41] local.INFO: IMEI packet received {"connection_id":136545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":136545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:49:42] local.INFO: TCP Data received {"connection_id":136545,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:49:42] local.INFO: Processing buffer {"connection_id":136545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:49:42] local.INFO: Packet analysis {"connection_id":136545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ab"} 
[2026-07-19 14:49:42] local.INFO: Extracted packet for processing {"connection_id":136545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ab"} 
[2026-07-19 14:49:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819809792001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784452683000,"timestamp_ms":1784452683000,"timestamp_seconds":1784452683,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ab14f8"} 
[2026-07-19 14:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819809792001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819809792001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:49:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:49:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819809792001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":136545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:49:42] local.INFO: GPS data processed {"connection_id":136545,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:49:42] local.INFO: Acknowledgment sent {"connection_id":136545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:49:46] local.INFO: TCP Data received {"connection_id":136545,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:49:46] local.INFO: Processing buffer {"connection_id":136545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:49:46] local.INFO: Packet analysis {"connection_id":136545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ab"} 
[2026-07-19 14:49:46] local.INFO: Extracted packet for processing {"connection_id":136545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ab"} 
[2026-07-19 14:49:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819809792001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784452683000,"timestamp_ms":1784452683000,"timestamp_seconds":1784452683,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ab14f8"} 
[2026-07-19 14:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":136545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":136545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":136545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819809792001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819809792001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:49:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:49:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819809792001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":136545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:49:46] local.INFO: GPS data processed {"connection_id":136545,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:49:46] local.INFO: Acknowledgment sent {"connection_id":136545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:49:52] local.INFO: TCP Data received {"connection_id":136680,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:49:52] local.INFO: Processing buffer {"connection_id":136680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:49:52] local.INFO: IMEI packet received {"connection_id":136680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":136680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:49:56] local.INFO: TCP Data received {"connection_id":136680,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:49:56] local.INFO: Processing buffer {"connection_id":136680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:49:56] local.INFO: IMEI packet received {"connection_id":136680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":136680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:49:57] local.INFO: TCP Data received {"connection_id":136680,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a91540012d196740071fee88003f004c2c..."} 
[2026-07-19 14:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a91540012d196740071fee88003f004c2c..."} 
[2026-07-19 14:49:57] local.INFO: Processing buffer {"connection_id":136680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a91540012d196740071fee88003f004c2c..."} 
[2026-07-19 14:49:57] local.INFO: Packet analysis {"connection_id":136680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a9"} 
[2026-07-19 14:49:57] local.INFO: Extracted packet for processing {"connection_id":136680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a9"} 
[2026-07-19 14:49:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819847936001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:49: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-07-19 14:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784452552000,"timestamp_ms":1784452552000,"timestamp_seconds":1784452552,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a91540"} 
[2026-07-19 14:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:49: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-07-19 14:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 14:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819847936001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819847936001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:49:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:49:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819847936001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":136680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:49:57] local.INFO: GPS data processed {"connection_id":136680,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:49:57] local.INFO: Acknowledgment sent {"connection_id":136680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:50:28] local.INFO: TCP Data received {"connection_id":136680,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a96748012d196740071fee88003f004c2b..."} 
[2026-07-19 14:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a96748012d196740071fee88003f004c2b..."} 
[2026-07-19 14:50:28] local.INFO: Processing buffer {"connection_id":136680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a96748012d196740071fee88003f004c2b..."} 
[2026-07-19 14:50:28] local.INFO: Packet analysis {"connection_id":136680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a9"} 
[2026-07-19 14:50:28] local.INFO: Extracted packet for processing {"connection_id":136680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a9"} 
[2026-07-19 14:50:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819853312001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:50: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-07-19 14:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784452573000,"timestamp_ms":1784452573000,"timestamp_seconds":1784452573,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a96748"} 
[2026-07-19 14:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 14:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819853312001,"66":12363,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819853312001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:50:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:50:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819853312001,"power":12363,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":136680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:50:28] local.INFO: GPS data processed {"connection_id":136680,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:50:28] local.INFO: Acknowledgment sent {"connection_id":136680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:50:31] local.INFO: TCP Data received {"connection_id":139026,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:50:31] local.INFO: Processing buffer {"connection_id":139026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:50:31] local.INFO: IMEI packet received {"connection_id":139026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":139026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:50:36] local.INFO: TCP Data received {"connection_id":139026,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:50:36] local.INFO: Processing buffer {"connection_id":139026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:50:36] local.INFO: IMEI packet received {"connection_id":139026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":139026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:50:37] local.INFO: TCP Data received {"connection_id":139026,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:50:37] local.INFO: Processing buffer {"connection_id":139026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:50:37] local.INFO: Packet analysis {"connection_id":139026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ab"} 
[2026-07-19 14:50:37] local.INFO: Extracted packet for processing {"connection_id":139026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ab"} 
[2026-07-19 14:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819809792001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:50: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-07-19 14:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784452683000,"timestamp_ms":1784452683000,"timestamp_seconds":1784452683,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ab14f8"} 
[2026-07-19 14:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:50:37] 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-07-19 14:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819809792001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819809792001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819809792001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":139026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:50:37] local.INFO: GPS data processed {"connection_id":139026,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:50:37] local.INFO: Acknowledgment sent {"connection_id":139026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:50:51] local.INFO: TCP Data received {"connection_id":136546,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:50:51] local.INFO: Processing buffer {"connection_id":136546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:50:51] local.INFO: IMEI packet received {"connection_id":136546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":136546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:50:56] local.INFO: TCP Data received {"connection_id":136546,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:50:56] local.INFO: Processing buffer {"connection_id":136546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:50:56] local.INFO: IMEI packet received {"connection_id":136546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":136546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:50:57] local.INFO: TCP Data received {"connection_id":136546,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79a9b950012d196740071fee88003f004c29..."} 
[2026-07-19 14:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79a9b950012d196740071fee88003f004c29..."} 
[2026-07-19 14:50:57] local.INFO: Processing buffer {"connection_id":136546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79a9b950012d196740071fee88003f004c29..."} 
[2026-07-19 14:50:57] local.INFO: Packet analysis {"connection_id":136546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79a9"} 
[2026-07-19 14:50:57] local.INFO: Extracted packet for processing {"connection_id":136546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79a9"} 
[2026-07-19 14:50:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819858688001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:50: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-07-19 14:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784452594000,"timestamp_ms":1784452594000,"timestamp_seconds":1784452594,"priority":1,"record_length":96,"hex_timestamp":"0000019f79a9b950"} 
[2026-07-19 14:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:50: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-07-19 14: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-19 14:50:57] 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-07-19 14: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-07-19 14:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819858688001,"66":11863,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819858688001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:50:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:50:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819858688001,"power":11863,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":136546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:50:57] local.INFO: GPS data processed {"connection_id":136546,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:50:57] local.INFO: Acknowledgment sent {"connection_id":136546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:51:09] local.INFO: TCP Data received {"connection_id":139026,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:51:09] local.INFO: Processing buffer {"connection_id":139026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:51:09] local.INFO: Packet analysis {"connection_id":139026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ab"} 
[2026-07-19 14:51:09] local.INFO: Extracted packet for processing {"connection_id":139026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ab"} 
[2026-07-19 14:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819809792001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:51: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-07-19 14:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784452683000,"timestamp_ms":1784452683000,"timestamp_seconds":1784452683,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ab14f8"} 
[2026-07-19 14:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:51: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-07-19 14:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819809792001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819809792001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:51:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819809792001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":139026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:51:09] local.INFO: GPS data processed {"connection_id":139026,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:51:09] local.INFO: Acknowledgment sent {"connection_id":139026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:51:28] local.INFO: TCP Data received {"connection_id":136546,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79aa0b58012d196740071fee88003f004c2c..."} 
[2026-07-19 14:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79aa0b58012d196740071fee88003f004c2c..."} 
[2026-07-19 14:51:28] local.INFO: Processing buffer {"connection_id":136546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79aa0b58012d196740071fee88003f004c2c..."} 
[2026-07-19 14:51:28] local.INFO: Packet analysis {"connection_id":136546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79aa"} 
[2026-07-19 14:51:28] local.INFO: Extracted packet for processing {"connection_id":136546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79aa"} 
[2026-07-19 14:51:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819864064001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:51: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-07-19 14:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784452615000,"timestamp_ms":1784452615000,"timestamp_seconds":1784452615,"priority":1,"record_length":96,"hex_timestamp":"0000019f79aa0b58"} 
[2026-07-19 14:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:51: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-07-19 14: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":46,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-07-19 14:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1211,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819864064001,"66":12015,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819864064001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:51:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:51:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819864064001,"power":12015,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":136546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:51:28] local.INFO: GPS data processed {"connection_id":136546,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:51:28] local.INFO: Acknowledgment sent {"connection_id":136546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:51:31] local.INFO: TCP Data received {"connection_id":139027,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:51:31] local.INFO: Processing buffer {"connection_id":139027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:51:31] local.INFO: IMEI packet received {"connection_id":139027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":139027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:51:36] local.INFO: TCP Data received {"connection_id":139027,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:51:36] local.INFO: Processing buffer {"connection_id":139027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:51:36] local.INFO: IMEI packet received {"connection_id":139027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":139027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:51:37] local.INFO: TCP Data received {"connection_id":139027,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:51:37] local.INFO: Processing buffer {"connection_id":139027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:51:37] local.INFO: Packet analysis {"connection_id":139027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ab"} 
[2026-07-19 14:51:37] local.INFO: Extracted packet for processing {"connection_id":139027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ab"} 
[2026-07-19 14:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819809792001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:51: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-07-19 14:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784452683000,"timestamp_ms":1784452683000,"timestamp_seconds":1784452683,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ab14f8"} 
[2026-07-19 14:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819809792001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819809792001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:51:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819809792001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":139027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:51:37] local.INFO: GPS data processed {"connection_id":139027,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:51:37] local.INFO: Acknowledgment sent {"connection_id":139027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:51:51] local.INFO: TCP Data received {"connection_id":136681,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:51:51] local.INFO: Processing buffer {"connection_id":136681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:51:51] local.INFO: IMEI packet received {"connection_id":136681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":136681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:51:56] local.INFO: TCP Data received {"connection_id":136681,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:51:56] local.INFO: Processing buffer {"connection_id":136681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:51:56] local.INFO: IMEI packet received {"connection_id":136681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":136681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:51:57] local.INFO: TCP Data received {"connection_id":136681,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79aa5d60012d196740071fee88003f004c2a..."} 
[2026-07-19 14:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79aa5d60012d196740071fee88003f004c2a..."} 
[2026-07-19 14:51:57] local.INFO: Processing buffer {"connection_id":136681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79aa5d60012d196740071fee88003f004c2a..."} 
[2026-07-19 14:51:57] local.INFO: Packet analysis {"connection_id":136681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79aa"} 
[2026-07-19 14:51:57] local.INFO: Extracted packet for processing {"connection_id":136681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79aa"} 
[2026-07-19 14:51:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819869440001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:51: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-07-19 14:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784452636000,"timestamp_ms":1784452636000,"timestamp_seconds":1784452636,"priority":1,"record_length":96,"hex_timestamp":"0000019f79aa5d60"} 
[2026-07-19 14:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:51: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-07-19 14:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-19 14:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:51:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819869440001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819869440001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:51:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:51:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819869440001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":136681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:51:57] local.INFO: GPS data processed {"connection_id":136681,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:51:57] local.INFO: Acknowledgment sent {"connection_id":136681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:52:09] local.INFO: TCP Data received {"connection_id":139027,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:52:09] local.INFO: Processing buffer {"connection_id":139027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:52:09] local.INFO: Packet analysis {"connection_id":139027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ab"} 
[2026-07-19 14:52:09] local.INFO: Extracted packet for processing {"connection_id":139027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ab"} 
[2026-07-19 14:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819809792001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:52: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-07-19 14:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784452683000,"timestamp_ms":1784452683000,"timestamp_seconds":1784452683,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ab14f8"} 
[2026-07-19 14:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:52: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-07-19 14:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819809792001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819809792001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:52:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819809792001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":139027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:52:09] local.INFO: GPS data processed {"connection_id":139027,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:52:09] local.INFO: Acknowledgment sent {"connection_id":139027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:52:28] local.INFO: TCP Data received {"connection_id":136681,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ade3b8012d196740071fee88003f004c2d..."} 
[2026-07-19 14:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ade3b8012d196740071fee88003f004c2d..."} 
[2026-07-19 14:52:28] local.INFO: Processing buffer {"connection_id":136681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ade3b8012d196740071fee88003f004c2d..."} 
[2026-07-19 14:52:28] local.INFO: Packet analysis {"connection_id":136681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ad"} 
[2026-07-19 14:52:28] local.INFO: Extracted packet for processing {"connection_id":136681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ad"} 
[2026-07-19 14:52:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819928576001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:52: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-07-19 14:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784452867000,"timestamp_ms":1784452867000,"timestamp_seconds":1784452867,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ade3b8"} 
[2026-07-19 14:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 14:52:28] 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-07-19 14: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-07-19 14:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819928576001,"66":12319,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819928576001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:52:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:52:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819928576001,"power":12319,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":136681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:52:28] local.INFO: GPS data processed {"connection_id":136681,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:52:28] local.INFO: Acknowledgment sent {"connection_id":136681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:52:31] local.INFO: TCP Data received {"connection_id":137637,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:52:31] local.INFO: Processing buffer {"connection_id":137637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:52:31] local.INFO: IMEI packet received {"connection_id":137637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":137637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:52:36] local.INFO: TCP Data received {"connection_id":137637,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:52:36] local.INFO: Processing buffer {"connection_id":137637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:52:36] local.INFO: IMEI packet received {"connection_id":137637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":137637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:52:37] local.INFO: TCP Data received {"connection_id":137637,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:52:37] local.INFO: Processing buffer {"connection_id":137637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:52:37] local.INFO: Packet analysis {"connection_id":137637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ab"} 
[2026-07-19 14:52:37] local.INFO: Extracted packet for processing {"connection_id":137637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ab"} 
[2026-07-19 14:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819809792001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14: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-07-19 14:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784452683000,"timestamp_ms":1784452683000,"timestamp_seconds":1784452683,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ab14f8"} 
[2026-07-19 14:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:52:37] 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-07-19 14:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819809792001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819809792001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:52:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819809792001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":137637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:52:37] local.INFO: GPS data processed {"connection_id":137637,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:52:37] local.INFO: Acknowledgment sent {"connection_id":137637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:52:56] local.INFO: TCP Data received {"connection_id":136548,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:52:56] local.INFO: Processing buffer {"connection_id":136548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:52:56] local.INFO: IMEI packet received {"connection_id":136548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":136548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:53:01] local.INFO: TCP Data received {"connection_id":136548,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:53:01] local.INFO: Processing buffer {"connection_id":136548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:53:01] local.INFO: IMEI packet received {"connection_id":136548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":136548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:53:02] local.INFO: TCP Data received {"connection_id":136548,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ae35c0012d196740071fee88003f004c2d..."} 
[2026-07-19 14:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ae35c0012d196740071fee88003f004c2d..."} 
[2026-07-19 14:53:02] local.INFO: Processing buffer {"connection_id":136548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ae35c0012d196740071fee88003f004c2d..."} 
[2026-07-19 14:53:02] local.INFO: Packet analysis {"connection_id":136548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ae"} 
[2026-07-19 14:53:02] local.INFO: Extracted packet for processing {"connection_id":136548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ae"} 
[2026-07-19 14:53:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 14:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819933952001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:53: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-07-19 14:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784452888000,"timestamp_ms":1784452888000,"timestamp_seconds":1784452888,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ae35c0"} 
[2026-07-19 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-07-19 14:53: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-07-19 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 14:53:02] 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-07-19 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-07-19 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-07-19 14:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819933952001,"66":12341,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819933952001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:53:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:53:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819933952001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":136548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:53:02] local.INFO: GPS data processed {"connection_id":136548,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:53:02] local.INFO: Acknowledgment sent {"connection_id":136548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:53:06] local.INFO: TCP Data received {"connection_id":136548,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ae87c8012d196740071fee88003f004c2b..."} 
[2026-07-19 14:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ae87c8012d196740071fee88003f004c2b..."} 
[2026-07-19 14:53:06] local.INFO: Processing buffer {"connection_id":136548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ae87c8012d196740071fee88003f004c2b..."} 
[2026-07-19 14:53:06] local.INFO: Packet analysis {"connection_id":136548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ae"} 
[2026-07-19 14:53:06] local.INFO: Extracted packet for processing {"connection_id":136548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ae"} 
[2026-07-19 14:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819939328001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784452909000,"timestamp_ms":1784452909000,"timestamp_seconds":1784452909,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ae87c8"} 
[2026-07-19 14:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 14:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819939328001,"66":12319,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819939328001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:53:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819939328001,"power":12319,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":136548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:53:07] local.INFO: GPS data processed {"connection_id":136548,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:53:07] local.INFO: Acknowledgment sent {"connection_id":136548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:53:09] local.INFO: TCP Data received {"connection_id":137637,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:53:09] local.INFO: Processing buffer {"connection_id":137637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:53:09] local.INFO: Packet analysis {"connection_id":137637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ab"} 
[2026-07-19 14:53:09] local.INFO: Extracted packet for processing {"connection_id":137637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ab"} 
[2026-07-19 14:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819809792001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:53: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-07-19 14:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784452683000,"timestamp_ms":1784452683000,"timestamp_seconds":1784452683,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ab14f8"} 
[2026-07-19 14:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:53: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-07-19 14:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819809792001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819809792001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:53:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:53:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819809792001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":137637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:53:09] local.INFO: GPS data processed {"connection_id":137637,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:53:09] local.INFO: Acknowledgment sent {"connection_id":137637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:53:31] local.INFO: TCP Data received {"connection_id":136549,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:53:31] local.INFO: Processing buffer {"connection_id":136549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:53:31] local.INFO: IMEI packet received {"connection_id":136549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":136549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:53:36] local.INFO: TCP Data received {"connection_id":136549,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:53:36] local.INFO: Processing buffer {"connection_id":136549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:53:36] local.INFO: IMEI packet received {"connection_id":136549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":136549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:53:37] local.INFO: TCP Data received {"connection_id":136549,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:53:37] local.INFO: Processing buffer {"connection_id":136549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ab14f8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:53:37] local.INFO: Packet analysis {"connection_id":136549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ab"} 
[2026-07-19 14:53:37] local.INFO: Extracted packet for processing {"connection_id":136549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ab"} 
[2026-07-19 14:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819809792001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:53: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-07-19 14:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784452683000,"timestamp_ms":1784452683000,"timestamp_seconds":1784452683,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ab14f8"} 
[2026-07-19 14:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819809792001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819809792001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:53:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819809792001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":136549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:53:37] local.INFO: GPS data processed {"connection_id":136549,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:53:37] local.INFO: Acknowledgment sent {"connection_id":136549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:53:51] local.INFO: TCP Data received {"connection_id":136682,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:53:51] local.INFO: Processing buffer {"connection_id":136682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:53:51] local.INFO: IMEI packet received {"connection_id":136682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":136682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:53:52] local.INFO: TCP Data received {"connection_id":136682,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:53:52] local.INFO: Processing buffer {"connection_id":136682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:53:52] local.INFO: IMEI packet received {"connection_id":136682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":136682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:53:56] local.INFO: TCP Data received {"connection_id":136682,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:53:56] local.INFO: Processing buffer {"connection_id":136682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:53:56] local.INFO: IMEI packet received {"connection_id":136682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":136682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:53:57] local.INFO: TCP Data received {"connection_id":136682,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79aed9d0012d196740071fee88003f004c2e..."} 
[2026-07-19 14:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79aed9d0012d196740071fee88003f004c2e..."} 
[2026-07-19 14:53:57] local.INFO: Processing buffer {"connection_id":136682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79aed9d0012d196740071fee88003f004c2e..."} 
[2026-07-19 14:53:57] local.INFO: Packet analysis {"connection_id":136682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ae"} 
[2026-07-19 14:53:57] local.INFO: Extracted packet for processing {"connection_id":136682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ae"} 
[2026-07-19 14:53:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819944704001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:53: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-07-19 14:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784452930000,"timestamp_ms":1784452930000,"timestamp_seconds":1784452930,"priority":1,"record_length":96,"hex_timestamp":"0000019f79aed9d0"} 
[2026-07-19 14:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:53: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-07-19 14:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 14:53:57] 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-07-19 14:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819944704001,"66":12341,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819944704001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:53:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:53:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819944704001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":136682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:53:57] local.INFO: GPS data processed {"connection_id":136682,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:53:57] local.INFO: Acknowledgment sent {"connection_id":136682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:54:08] local.INFO: TCP Data received {"connection_id":136549,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:54:08] local.INFO: Processing buffer {"connection_id":136549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:54:08] local.INFO: Packet analysis {"connection_id":136549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:54:08] local.INFO: Extracted packet for processing {"connection_id":136549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819886848001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14: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-07-19 14:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784452984000,"timestamp_ms":1784452984000,"timestamp_seconds":1784452984,"priority":1,"record_length":96,"hex_timestamp":"0000019f79afacc0"} 
[2026-07-19 14:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:54: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-07-19 14: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-07-19 14:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819886848001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819886848001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:54:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819886848001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":136549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:54:08] local.INFO: GPS data processed {"connection_id":136549,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:54:08] local.INFO: Acknowledgment sent {"connection_id":136549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:54:28] local.INFO: TCP Data received {"connection_id":136682,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79af2bd8012d196740071fee88003f004c2e..."} 
[2026-07-19 14:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79af2bd8012d196740071fee88003f004c2e..."} 
[2026-07-19 14:54:28] local.INFO: Processing buffer {"connection_id":136682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79af2bd8012d196740071fee88003f004c2e..."} 
[2026-07-19 14:54:28] local.INFO: Packet analysis {"connection_id":136682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:54:28] local.INFO: Extracted packet for processing {"connection_id":136682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:54:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819950080001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:54: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-07-19 14:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784452951000,"timestamp_ms":1784452951000,"timestamp_seconds":1784452951,"priority":1,"record_length":96,"hex_timestamp":"0000019f79af2bd8"} 
[2026-07-19 14:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 14:54:28] 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-07-19 14: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-07-19 14:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819950080001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819950080001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:54:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:54:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819950080001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":136682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:54:28] local.INFO: GPS data processed {"connection_id":136682,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:54:28] local.INFO: Acknowledgment sent {"connection_id":136682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:54:31] local.INFO: TCP Data received {"connection_id":137638,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:54:31] local.INFO: Processing buffer {"connection_id":137638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:54:31] local.INFO: IMEI packet received {"connection_id":137638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":137638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:54:36] local.INFO: TCP Data received {"connection_id":137638,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:54:36] local.INFO: Processing buffer {"connection_id":137638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:54:36] local.INFO: IMEI packet received {"connection_id":137638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":137638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:54:38] local.INFO: TCP Data received {"connection_id":137638,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:54:38] local.INFO: Processing buffer {"connection_id":137638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:54:38] local.INFO: Packet analysis {"connection_id":137638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:54:38] local.INFO: Extracted packet for processing {"connection_id":137638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:54:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819886848001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:54: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-07-19 14:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784452984000,"timestamp_ms":1784452984000,"timestamp_seconds":1784452984,"priority":1,"record_length":96,"hex_timestamp":"0000019f79afacc0"} 
[2026-07-19 14:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:54: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-07-19 14:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819886848001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 14:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819886848001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:54:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819886848001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":137638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:54:38] local.INFO: GPS data processed {"connection_id":137638,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:54:38] local.INFO: Acknowledgment sent {"connection_id":137638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:54:51] local.INFO: TCP Data received {"connection_id":137639,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:54:51] local.INFO: Processing buffer {"connection_id":137639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:54:51] local.INFO: IMEI packet received {"connection_id":137639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":137639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:54:51] local.INFO: TCP Data received {"connection_id":136683,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136683,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:54:51] local.INFO: Processing buffer {"connection_id":136683,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:54:51] local.INFO: IMEI packet received {"connection_id":136683,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 14:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":136683,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:54:55] local.INFO: TCP Data received {"connection_id":137639,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:54:55] local.INFO: Processing buffer {"connection_id":137639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:54:55] local.INFO: IMEI packet received {"connection_id":137639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":137639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:54:55] local.INFO: TCP Data received {"connection_id":137639,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79af7de0012d196740071fee88003f004c2c..."} 
[2026-07-19 14:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79af7de0012d196740071fee88003f004c2c..."} 
[2026-07-19 14:54:55] local.INFO: Processing buffer {"connection_id":137639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79af7de0012d196740071fee88003f004c2c..."} 
[2026-07-19 14:54:55] local.INFO: Packet analysis {"connection_id":137639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:54:55] local.INFO: Extracted packet for processing {"connection_id":137639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:54:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 14:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819955456001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:54: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-07-19 14:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784452972000,"timestamp_ms":1784452972000,"timestamp_seconds":1784452972,"priority":1,"record_length":96,"hex_timestamp":"0000019f79af7de0"} 
[2026-07-19 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-07-19 14:54: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-07-19 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 14:54:55] 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-07-19 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-07-19 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-07-19 14:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":137639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":137639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":137639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819955456001,"66":12319,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819955456001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:54:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:54:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819955456001,"power":12319,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":137639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:54:56] local.INFO: GPS data processed {"connection_id":137639,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:54:56] local.INFO: Acknowledgment sent {"connection_id":137639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:55:09] local.INFO: TCP Data received {"connection_id":137638,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:55:09] local.INFO: Processing buffer {"connection_id":137638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:55:09] local.INFO: Packet analysis {"connection_id":137638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:55:09] local.INFO: Extracted packet for processing {"connection_id":137638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819886848001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55: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-07-19 14:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784452984000,"timestamp_ms":1784452984000,"timestamp_seconds":1784452984,"priority":1,"record_length":96,"hex_timestamp":"0000019f79afacc0"} 
[2026-07-19 14:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:55: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-07-19 14:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819886848001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 14:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819886848001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:55:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:55:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819886848001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":137638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:55:09] local.INFO: GPS data processed {"connection_id":137638,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:55:09] local.INFO: Acknowledgment sent {"connection_id":137638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:55:26] local.INFO: TCP Data received {"connection_id":139029,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:55:26] local.INFO: Processing buffer {"connection_id":139029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 14:55:26] local.INFO: IMEI packet received {"connection_id":139029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 14:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":139029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:55:27] local.INFO: TCP Data received {"connection_id":137639,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79afcfe8012d196740071fee88003f004c2a..."} 
[2026-07-19 14:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79afcfe8012d196740071fee88003f004c2a..."} 
[2026-07-19 14:55:27] local.INFO: Processing buffer {"connection_id":137639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79afcfe8012d196740071fee88003f004c2a..."} 
[2026-07-19 14:55:27] local.INFO: Packet analysis {"connection_id":137639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:55:27] local.INFO: Extracted packet for processing {"connection_id":137639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:55:27] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819960832001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55: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-07-19 14:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784452993000,"timestamp_ms":1784452993000,"timestamp_seconds":1784452993,"priority":1,"record_length":96,"hex_timestamp":"0000019f79afcfe8"} 
[2026-07-19 14:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:55: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-07-19 14: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 14:55:27] 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-07-19 14: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-07-19 14:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819960832001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819960832001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:55:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:55:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819960832001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":137639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:55:27] local.INFO: GPS data processed {"connection_id":137639,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:55:27] local.INFO: Acknowledgment sent {"connection_id":137639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:55:31] local.INFO: TCP Data received {"connection_id":136684,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:55:31] local.INFO: Processing buffer {"connection_id":136684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:55:31] local.INFO: IMEI packet received {"connection_id":136684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":136684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:55:36] local.INFO: TCP Data received {"connection_id":136684,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:55:36] local.INFO: Processing buffer {"connection_id":136684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:55:36] local.INFO: IMEI packet received {"connection_id":136684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":136684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:55:37] local.INFO: TCP Data received {"connection_id":136684,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:55:37] local.INFO: Processing buffer {"connection_id":136684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:55:37] local.INFO: Packet analysis {"connection_id":136684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:55:37] local.INFO: Extracted packet for processing {"connection_id":136684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819886848001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55: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-07-19 14:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784452984000,"timestamp_ms":1784452984000,"timestamp_seconds":1784452984,"priority":1,"record_length":96,"hex_timestamp":"0000019f79afacc0"} 
[2026-07-19 14:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:55: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-07-19 14:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819886848001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819886848001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819886848001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":136684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:55:37] local.INFO: GPS data processed {"connection_id":136684,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:55:37] local.INFO: Acknowledgment sent {"connection_id":136684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:55:51] local.INFO: TCP Data received {"connection_id":136685,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:55:51] local.INFO: Processing buffer {"connection_id":136685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:55:51] local.INFO: IMEI packet received {"connection_id":136685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":136685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:55:56] local.INFO: TCP Data received {"connection_id":136685,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:55:56] local.INFO: Processing buffer {"connection_id":136685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:55:56] local.INFO: IMEI packet received {"connection_id":136685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":136685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:55:57] local.INFO: TCP Data received {"connection_id":136685,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b021f0012d196740071fee88003f004c2b..."} 
[2026-07-19 14:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b021f0012d196740071fee88003f004c2b..."} 
[2026-07-19 14:55:57] local.INFO: Processing buffer {"connection_id":136685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b021f0012d196740071fee88003f004c2b..."} 
[2026-07-19 14:55:57] local.INFO: Packet analysis {"connection_id":136685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b0"} 
[2026-07-19 14:55:57] local.INFO: Extracted packet for processing {"connection_id":136685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b0"} 
[2026-07-19 14:55:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819966208001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55: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-07-19 14:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784453014000,"timestamp_ms":1784453014000,"timestamp_seconds":1784453014,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b021f0"} 
[2026-07-19 14:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:55: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-07-19 14: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 14:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8767824234680228199,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21441576253259776,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586883278,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55:57] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2928134145,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 14:55:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 14:55:57] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,125,45,64,238,63,44,10,66,43,46,217,1,240,53,227,121,31,4,113,205,136,239,48,2,25,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 14:55:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712167661797376,"timestamp_seconds":4539712167661797.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 14:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819966208001,"66":11961,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819966208001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:55:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:55:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819966208001,"power":11961,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":136685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:55:57] local.INFO: GPS data processed {"connection_id":136685,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:55:57] local.INFO: Acknowledgment sent {"connection_id":136685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:56:08] local.INFO: TCP Data received {"connection_id":136684,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:56:08] local.INFO: Processing buffer {"connection_id":136684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:56:08] local.INFO: Packet analysis {"connection_id":136684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:56:08] local.INFO: Extracted packet for processing {"connection_id":136684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819886848001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14: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-07-19 14:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784452984000,"timestamp_ms":1784452984000,"timestamp_seconds":1784452984,"priority":1,"record_length":96,"hex_timestamp":"0000019f79afacc0"} 
[2026-07-19 14:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14: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-07-19 14: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-07-19 14:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14: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-07-19 14:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819886848001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819886848001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:56:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819886848001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":136684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:56:08] local.INFO: GPS data processed {"connection_id":136684,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:56:08] local.INFO: Acknowledgment sent {"connection_id":136684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:56:28] local.INFO: TCP Data received {"connection_id":136685,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b073f8012d196740071fee88003f004c2c..."} 
[2026-07-19 14:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b073f8012d196740071fee88003f004c2c..."} 
[2026-07-19 14:56:28] local.INFO: Processing buffer {"connection_id":136685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b073f8012d196740071fee88003f004c2c..."} 
[2026-07-19 14:56:28] local.INFO: Packet analysis {"connection_id":136685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b0"} 
[2026-07-19 14:56:28] local.INFO: Extracted packet for processing {"connection_id":136685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b0"} 
[2026-07-19 14:56:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819971584001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:56: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-07-19 14:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784453035000,"timestamp_ms":1784453035000,"timestamp_seconds":1784453035,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b073f8"} 
[2026-07-19 14:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:56: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-07-19 14:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 14:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819971584001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819971584001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:56:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:56:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819971584001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":136685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:56:28] local.INFO: GPS data processed {"connection_id":136685,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:56:28] local.INFO: Acknowledgment sent {"connection_id":136685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:56:31] local.INFO: TCP Data received {"connection_id":136551,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:56:31] local.INFO: Processing buffer {"connection_id":136551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:56:31] local.INFO: IMEI packet received {"connection_id":136551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":136551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:56:36] local.INFO: TCP Data received {"connection_id":136551,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:56:36] local.INFO: Processing buffer {"connection_id":136551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:56:36] local.INFO: IMEI packet received {"connection_id":136551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":136551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:56:37] local.INFO: TCP Data received {"connection_id":136551,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:56:37] local.INFO: Processing buffer {"connection_id":136551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:56:37] local.INFO: Packet analysis {"connection_id":136551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:56:37] local.INFO: Extracted packet for processing {"connection_id":136551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819886848001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:56: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-07-19 14:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784452984000,"timestamp_ms":1784452984000,"timestamp_seconds":1784452984,"priority":1,"record_length":96,"hex_timestamp":"0000019f79afacc0"} 
[2026-07-19 14:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819886848001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819886848001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:56:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819886848001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":136551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:56:37] local.INFO: GPS data processed {"connection_id":136551,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:56:37] local.INFO: Acknowledgment sent {"connection_id":136551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:56:51] local.INFO: TCP Data received {"connection_id":139031,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:56:51] local.INFO: Processing buffer {"connection_id":139031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:56:51] local.INFO: IMEI packet received {"connection_id":139031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":139031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:56:56] local.INFO: TCP Data received {"connection_id":139031,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:56:56] local.INFO: Processing buffer {"connection_id":139031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:56:56] local.INFO: IMEI packet received {"connection_id":139031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":139031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:56:57] local.INFO: TCP Data received {"connection_id":139031,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b0c600012d196740071fee88003f004c2b..."} 
[2026-07-19 14:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b0c600012d196740071fee88003f004c2b..."} 
[2026-07-19 14:56:57] local.INFO: Processing buffer {"connection_id":139031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b0c600012d196740071fee88003f004c2b..."} 
[2026-07-19 14:56:57] local.INFO: Packet analysis {"connection_id":139031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b0"} 
[2026-07-19 14:56:57] local.INFO: Extracted packet for processing {"connection_id":139031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b0"} 
[2026-07-19 14:56:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819976960001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:56: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-07-19 14:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784453056000,"timestamp_ms":1784453056000,"timestamp_seconds":1784453056,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b0c600"} 
[2026-07-19 14:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:56:57] 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-07-19 14: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 14:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819976960001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819976960001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:56:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:56:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819976960001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":139031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:56:57] local.INFO: GPS data processed {"connection_id":139031,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:56:57] local.INFO: Acknowledgment sent {"connection_id":139031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:57:09] local.INFO: TCP Data received {"connection_id":136551,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:57:09] local.INFO: Processing buffer {"connection_id":136551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:57:09] local.INFO: Packet analysis {"connection_id":136551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:57:09] local.INFO: Extracted packet for processing {"connection_id":136551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819886848001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:57: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-07-19 14:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784452984000,"timestamp_ms":1784452984000,"timestamp_seconds":1784452984,"priority":1,"record_length":96,"hex_timestamp":"0000019f79afacc0"} 
[2026-07-19 14:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819886848001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819886848001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:57:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819886848001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":136551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:57:09] local.INFO: GPS data processed {"connection_id":136551,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:57:09] local.INFO: Acknowledgment sent {"connection_id":136551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:57:28] local.INFO: TCP Data received {"connection_id":139031,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b11808012d196740071fee88003f004c2c..."} 
[2026-07-19 14:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b11808012d196740071fee88003f004c2c..."} 
[2026-07-19 14:57:28] local.INFO: Processing buffer {"connection_id":139031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b11808012d196740071fee88003f004c2c..."} 
[2026-07-19 14:57:28] local.INFO: Packet analysis {"connection_id":139031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b1"} 
[2026-07-19 14:57:28] local.INFO: Extracted packet for processing {"connection_id":139031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b1"} 
[2026-07-19 14:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819982336001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:57: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-07-19 14:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784453077000,"timestamp_ms":1784453077000,"timestamp_seconds":1784453077,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b11808"} 
[2026-07-19 14:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:57: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-07-19 14: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 14:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 14:57:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 14:57:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 14:57:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 14:57:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 14:57:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8768094817619876199,"note":"Value kept but may cause issues"} 
[2026-07-19 14:57:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 14:57:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21442675764887552,"note":"Value kept but may cause issues"} 
[2026-07-19 14:57:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-07-19 14:57:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074517710,"note":"Value kept but may cause issues"} 
[2026-07-19 14:57:28] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2944262145,"note":"Value kept but may cause issues"} 
[2026-07-19 14:57:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 14:57:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 14:57:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594552,"note":"Value kept but may cause issues"} 
[2026-07-19 14:57:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 14:57:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,115,45,64,238,63,44,10,66,33,43,207,1,240,227,121,31,4,113,205,136,46,239,47,2,25,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 14:57:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712171956764672,"timestamp_seconds":4539712171956765.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 14:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819982336001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819982336001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:57:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:57:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819982336001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":139031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:57:28] local.INFO: GPS data processed {"connection_id":139031,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:57:28] local.INFO: Acknowledgment sent {"connection_id":139031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:57:31] local.INFO: TCP Data received {"connection_id":137641,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:57:31] local.INFO: Processing buffer {"connection_id":137641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:57:31] local.INFO: IMEI packet received {"connection_id":137641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":137641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:57:36] local.INFO: TCP Data received {"connection_id":137641,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:57:36] local.INFO: Processing buffer {"connection_id":137641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:57:36] local.INFO: IMEI packet received {"connection_id":137641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":137641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:57:37] local.INFO: TCP Data received {"connection_id":137641,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:57:37] local.INFO: Processing buffer {"connection_id":137641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:57:37] local.INFO: Packet analysis {"connection_id":137641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:57:37] local.INFO: Extracted packet for processing {"connection_id":137641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819886848001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:57: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-07-19 14:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784452984000,"timestamp_ms":1784452984000,"timestamp_seconds":1784452984,"priority":1,"record_length":96,"hex_timestamp":"0000019f79afacc0"} 
[2026-07-19 14:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:57:37] 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-07-19 14:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819886848001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819886848001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:57:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819886848001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":137641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:57:37] local.INFO: GPS data processed {"connection_id":137641,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:57:37] local.INFO: Acknowledgment sent {"connection_id":137641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:57:56] local.INFO: TCP Data received {"connection_id":137642,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:57:56] local.INFO: Processing buffer {"connection_id":137642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:57:56] local.INFO: IMEI packet received {"connection_id":137642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":137642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:58:01] local.INFO: TCP Data received {"connection_id":137642,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:58:01] local.INFO: Processing buffer {"connection_id":137642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:58:01] local.INFO: IMEI packet received {"connection_id":137642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":137642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:58:02] local.INFO: TCP Data received {"connection_id":137642,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b16a10012d196740071fee88003f004c2d..."} 
[2026-07-19 14:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b16a10012d196740071fee88003f004c2d..."} 
[2026-07-19 14:58:02] local.INFO: Processing buffer {"connection_id":137642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b16a10012d196740071fee88003f004c2d..."} 
[2026-07-19 14:58:02] local.INFO: Packet analysis {"connection_id":137642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b1"} 
[2026-07-19 14:58:02] local.INFO: Extracted packet for processing {"connection_id":137642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b1"} 
[2026-07-19 14:58:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 14:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819987712001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58: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-07-19 14:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784453098000,"timestamp_ms":1784453098000,"timestamp_seconds":1784453098,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b16a10"} 
[2026-07-19 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-07-19 14:58: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-07-19 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 14:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 14:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":137642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":137642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":137642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819987712001,"66":12341,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819987712001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:58:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:58:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819987712001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":137642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:58:02] local.INFO: GPS data processed {"connection_id":137642,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:58:02] local.INFO: Acknowledgment sent {"connection_id":137642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:58:03] local.INFO: TCP Data received {"connection_id":137642,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b1bc18012d196740071fee88003f004c2d..."} 
[2026-07-19 14:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b1bc18012d196740071fee88003f004c2d..."} 
[2026-07-19 14:58:03] local.INFO: Processing buffer {"connection_id":137642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b1bc18012d196740071fee88003f004c2d..."} 
[2026-07-19 14:58:03] local.INFO: Packet analysis {"connection_id":137642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b1"} 
[2026-07-19 14:58:03] local.INFO: Extracted packet for processing {"connection_id":137642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b1"} 
[2026-07-19 14:58:03] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819993088001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784453119000,"timestamp_ms":1784453119000,"timestamp_seconds":1784453119,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b1bc18"} 
[2026-07-19 14:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 14:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 14:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":137642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":137642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":137642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819993088001,"66":12319,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819993088001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:58:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:58:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819993088001,"power":12319,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":137642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:58:03] local.INFO: GPS data processed {"connection_id":137642,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:58:03] local.INFO: Acknowledgment sent {"connection_id":137642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:58:09] local.INFO: TCP Data received {"connection_id":137641,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:58:09] local.INFO: Processing buffer {"connection_id":137641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:58:09] local.INFO: Packet analysis {"connection_id":137641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:58:09] local.INFO: Extracted packet for processing {"connection_id":137641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819886848001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14: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-07-19 14:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784452984000,"timestamp_ms":1784452984000,"timestamp_seconds":1784452984,"priority":1,"record_length":96,"hex_timestamp":"0000019f79afacc0"} 
[2026-07-19 14:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:58:09] 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-07-19 14:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819886848001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819886848001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:58:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:58:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819886848001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":137641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:58:09] local.INFO: GPS data processed {"connection_id":137641,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:58:09] local.INFO: Acknowledgment sent {"connection_id":137641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:58:31] local.INFO: TCP Data received {"connection_id":139032,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:58:31] local.INFO: Processing buffer {"connection_id":139032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:58:31] local.INFO: IMEI packet received {"connection_id":139032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":139032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:58:35] local.INFO: TCP Data received {"connection_id":137642,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b20e20012d196740071fee88003f004c2e..."} 
[2026-07-19 14:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b20e20012d196740071fee88003f004c2e..."} 
[2026-07-19 14:58:35] local.INFO: Processing buffer {"connection_id":137642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b20e20012d196740071fee88003f004c2e..."} 
[2026-07-19 14:58:35] local.INFO: Packet analysis {"connection_id":137642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b2"} 
[2026-07-19 14:58:35] local.INFO: Extracted packet for processing {"connection_id":137642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b2"} 
[2026-07-19 14:58:35] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 14:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819998464001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784453140000,"timestamp_ms":1784453140000,"timestamp_seconds":1784453140,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b20e20"} 
[2026-07-19 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-07-19 14:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 14:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 14:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":137642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":137642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":137642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819998464001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819998464001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:58:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:58:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819998464001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":137642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:58:35] local.INFO: GPS data processed {"connection_id":137642,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:58:35] local.INFO: Acknowledgment sent {"connection_id":137642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:58:36] local.INFO: TCP Data received {"connection_id":139032,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:58:36] local.INFO: Processing buffer {"connection_id":139032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:58:36] local.INFO: IMEI packet received {"connection_id":139032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":139032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:58:37] local.INFO: TCP Data received {"connection_id":139032,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:58:37] local.INFO: Processing buffer {"connection_id":139032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79afacc0012d34c50006aa4dd8000800952d..."} 
[2026-07-19 14:58:37] local.INFO: Packet analysis {"connection_id":139032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:58:37] local.INFO: Extracted packet for processing {"connection_id":139032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79af"} 
[2026-07-19 14:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819886848001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58: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-07-19 14:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784452984000,"timestamp_ms":1784452984000,"timestamp_seconds":1784452984,"priority":1,"record_length":96,"hex_timestamp":"0000019f79afacc0"} 
[2026-07-19 14:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 14:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 14:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:58: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-07-19 14:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819886848001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819886848001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:58:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819886848001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":139032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:58:37] local.INFO: GPS data processed {"connection_id":139032,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:58:37] local.INFO: Acknowledgment sent {"connection_id":139032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:58:51] local.INFO: TCP Data received {"connection_id":136686,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:58:51] local.INFO: Processing buffer {"connection_id":136686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:58:51] local.INFO: IMEI packet received {"connection_id":136686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":136686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:58:56] local.INFO: TCP Data received {"connection_id":136686,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:58:56] local.INFO: Processing buffer {"connection_id":136686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:58:56] local.INFO: IMEI packet received {"connection_id":136686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":136686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:58:57] local.INFO: TCP Data received {"connection_id":136686,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b26028012d196740071fee88003f004c2d..."} 
[2026-07-19 14:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b26028012d196740071fee88003f004c2d..."} 
[2026-07-19 14:58:57] local.INFO: Processing buffer {"connection_id":136686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b26028012d196740071fee88003f004c2d..."} 
[2026-07-19 14:58:57] local.INFO: Packet analysis {"connection_id":136686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b2"} 
[2026-07-19 14:58:57] local.INFO: Extracted packet for processing {"connection_id":136686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b2"} 
[2026-07-19 14:58:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820003840001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58: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-07-19 14:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784453161000,"timestamp_ms":1784453161000,"timestamp_seconds":1784453161,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b26028"} 
[2026-07-19 14:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:58:57] 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-07-19 14:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 14:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8768455594872740199,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21439377230004224,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3366723078924468430,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2965766145,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 14:58:57] local.WARNING: Large IO value detected {"io_id":115,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594552,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 14:58:57] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,188,45,64,238,63,10,66,106,1,240,255,227,121,31,4,113,205,115,136,44,239,47,2,25,7,42],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 14:58:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712184841666560,"timestamp_seconds":4539712184841667.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 14:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820003840001,"66":12265,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820003840001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:58:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:58:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820003840001,"power":12265,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":136686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:58:57] local.INFO: GPS data processed {"connection_id":136686,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:58:57] local.INFO: Acknowledgment sent {"connection_id":136686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:59:01] local.INFO: TCP Data received {"connection_id":136686,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b2b230012d196740071fee88003f004c2d..."} 
[2026-07-19 14:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b2b230012d196740071fee88003f004c2d..."} 
[2026-07-19 14:59:01] local.INFO: Processing buffer {"connection_id":136686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b2b230012d196740071fee88003f004c2d..."} 
[2026-07-19 14:59:01] local.INFO: Packet analysis {"connection_id":136686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b2"} 
[2026-07-19 14:59:01] local.INFO: Extracted packet for processing {"connection_id":136686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b2"} 
[2026-07-19 14:59:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820009216001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784453182000,"timestamp_ms":1784453182000,"timestamp_seconds":1784453182,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b2b230"} 
[2026-07-19 14:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:59: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-07-19 14: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 14:59: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-07-19 14: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-07-19 14:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820009216001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820009216001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:59:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:59:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820009216001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":136686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:59:01] local.INFO: GPS data processed {"connection_id":136686,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:59:01] local.INFO: Acknowledgment sent {"connection_id":136686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:59:09] local.INFO: TCP Data received {"connection_id":139032,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 14:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 14:59:09] local.INFO: Processing buffer {"connection_id":139032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 14:59:09] local.INFO: Packet analysis {"connection_id":139032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 14:59:09] local.INFO: Extracted packet for processing {"connection_id":139032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 14:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819963904001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59: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-07-19 14:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784453285000,"timestamp_ms":1784453285000,"timestamp_seconds":1784453285,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b44488"} 
[2026-07-19 14:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:59: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-07-19 14:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819963904001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819963904001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:59:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819963904001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":139032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:59:09] local.INFO: GPS data processed {"connection_id":139032,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:59:09] local.INFO: Acknowledgment sent {"connection_id":139032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:59:31] local.INFO: TCP Data received {"connection_id":136687,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:59:31] local.INFO: Processing buffer {"connection_id":136687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:59:31] local.INFO: IMEI packet received {"connection_id":136687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 14:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":136687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:59:32] local.INFO: TCP Data received {"connection_id":136686,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b30438012d196740071fee88003f004c2d..."} 
[2026-07-19 14:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b30438012d196740071fee88003f004c2d..."} 
[2026-07-19 14:59:32] local.INFO: Processing buffer {"connection_id":136686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b30438012d196740071fee88003f004c2d..."} 
[2026-07-19 14:59:32] local.INFO: Packet analysis {"connection_id":136686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b3"} 
[2026-07-19 14:59:32] local.INFO: Extracted packet for processing {"connection_id":136686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b3"} 
[2026-07-19 14:59:32] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820014592001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 14:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784453203000,"timestamp_ms":1784453203000,"timestamp_seconds":1784453203,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b30438"} 
[2026-07-19 14:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:59: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-07-19 14:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 14:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:32] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:32] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8768635983499172199,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:32] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:32] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21439377230004224,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:32] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:32] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:32] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:32] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2976518145,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 14:59:32] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:32] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:32] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,103,83,24,241,157,16,144,159,96,45,64,238,63,10,66,14,46,188,1,240,31,227,121,4,113,205,136,44,239,47,2,25,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 14:59:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712180546699264,"timestamp_seconds":4539712180546699.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 14:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820014592001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820014592001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:59:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:59:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820014592001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":136686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:59:32] local.INFO: GPS data processed {"connection_id":136686,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:59:32] local.INFO: Acknowledgment sent {"connection_id":136686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:59:36] local.INFO: TCP Data received {"connection_id":136687,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:59:36] local.INFO: Processing buffer {"connection_id":136687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 14:59:36] local.INFO: IMEI packet received {"connection_id":136687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 14:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":136687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:59:38] local.INFO: TCP Data received {"connection_id":136687,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 14:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 14:59:38] local.INFO: Processing buffer {"connection_id":136687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 14:59:38] local.INFO: Packet analysis {"connection_id":136687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 14:59:38] local.INFO: Extracted packet for processing {"connection_id":136687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 14:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 14: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-07-19 14:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819963904001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 14: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-07-19 14:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784453285000,"timestamp_ms":1784453285000,"timestamp_seconds":1784453285,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b44488"} 
[2026-07-19 14:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 14:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 14:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 14: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-07-19 14:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 14:59: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-07-19 14:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 14:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 14:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819963904001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 14:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 14:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 14:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819963904001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:59:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 14:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 14:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 14:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819963904001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 14:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":136687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:59:38] local.INFO: GPS data processed {"connection_id":136687,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:59:38] local.INFO: Acknowledgment sent {"connection_id":136687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 14:59:48] local.INFO: TCP Data received {"connection_id":136554,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:59:48] local.INFO: Processing buffer {"connection_id":136554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:59:48] local.INFO: IMEI packet received {"connection_id":136554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 14:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":136554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 14:59:51] local.INFO: TCP Data received {"connection_id":136554,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:59:51] local.INFO: Processing buffer {"connection_id":136554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:59:51] local.INFO: IMEI packet received {"connection_id":136554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":136554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:59:56] local.INFO: TCP Data received {"connection_id":136554,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:59:56] local.INFO: Processing buffer {"connection_id":136554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 14:59:56] local.INFO: IMEI packet received {"connection_id":136554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 14:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":136554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 14:59:57] local.INFO: TCP Data received {"connection_id":136554,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b35640012d196740071fee88003f004c2c..."} 
[2026-07-19 14:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b35640012d196740071fee88003f004c2c..."} 
[2026-07-19 14:59:57] local.INFO: Processing buffer {"connection_id":136554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b35640012d196740071fee88003f004c2c..."} 
[2026-07-19 14:59:57] local.INFO: Packet analysis {"connection_id":136554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b3"} 
[2026-07-19 14:59:57] local.INFO: Extracted packet for processing {"connection_id":136554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b3"} 
[2026-07-19 14:59:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 14:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 14:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820019968001,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59: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-07-19 14:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784453224000,"timestamp_ms":1784453224000,"timestamp_seconds":1784453224,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b35640"} 
[2026-07-19 14:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 14:59: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-07-19 14:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 14:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8768726177812388199,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21440476741632000,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2981894145,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 14:59:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 14:59:57] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,103,83,24,241,157,16,144,159,178,45,64,238,63,10,66,96,14,1,240,227,121,31,4,113,205,106,136,239,48,2,25,7,43],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 14:59:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712180546699264,"timestamp_seconds":4539712180546699.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 14:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 14:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 14:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 14:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 14:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 14:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 14:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 14:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820019968001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 14:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 14:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 14:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820019968001,"description":"Unknown IO ID 0"} 
[2026-07-19 14:59:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 14:59:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 14:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 14:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 14:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820019968001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 14:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":136554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 14:59:57] local.INFO: GPS data processed {"connection_id":136554,"processed":1,"errors":0,"total":1} 
[2026-07-19 14:59:57] local.INFO: Acknowledgment sent {"connection_id":136554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:00:10] local.INFO: TCP Data received {"connection_id":136687,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:00:10] local.INFO: Processing buffer {"connection_id":136687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:00:10] local.INFO: Packet analysis {"connection_id":136687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 15:00:10] local.INFO: Extracted packet for processing {"connection_id":136687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 15:00:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819963904001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:00: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-07-19 15:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784453285000,"timestamp_ms":1784453285000,"timestamp_seconds":1784453285,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b44488"} 
[2026-07-19 15:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 15:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819963904001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819963904001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:00:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:00:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819963904001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":136687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:00:10] local.INFO: GPS data processed {"connection_id":136687,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:00:10] local.INFO: Acknowledgment sent {"connection_id":136687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:00:28] local.INFO: TCP Data received {"connection_id":136554,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b3a848012d196740071fee88003f004c2d..."} 
[2026-07-19 15:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b3a848012d196740071fee88003f004c2d..."} 
[2026-07-19 15:00:28] local.INFO: Processing buffer {"connection_id":136554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b3a848012d196740071fee88003f004c2d..."} 
[2026-07-19 15:00:28] local.INFO: Packet analysis {"connection_id":136554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b3"} 
[2026-07-19 15:00:28] local.INFO: Extracted packet for processing {"connection_id":136554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b3"} 
[2026-07-19 15:00:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820025344001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:00: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-07-19 15:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784453245000,"timestamp_ms":1784453245000,"timestamp_seconds":1784453245,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b3a848"} 
[2026-07-19 15:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:00: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-07-19 15:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820025344001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820025344001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:00:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:00:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820025344001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":136554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:00:28] local.INFO: GPS data processed {"connection_id":136554,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:00:28] local.INFO: Acknowledgment sent {"connection_id":136554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:00:31] local.INFO: TCP Data received {"connection_id":136555,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:00:31] local.INFO: Processing buffer {"connection_id":136555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:00:31] local.INFO: IMEI packet received {"connection_id":136555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":136555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:00:36] local.INFO: TCP Data received {"connection_id":136555,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:00:36] local.INFO: Processing buffer {"connection_id":136555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:00:36] local.INFO: IMEI packet received {"connection_id":136555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":136555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:00:38] local.INFO: TCP Data received {"connection_id":136555,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:00:38] local.INFO: Processing buffer {"connection_id":136555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:00:38] local.INFO: Packet analysis {"connection_id":136555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 15:00:38] local.INFO: Extracted packet for processing {"connection_id":136555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 15:00:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819963904001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:00: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-07-19 15:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784453285000,"timestamp_ms":1784453285000,"timestamp_seconds":1784453285,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b44488"} 
[2026-07-19 15:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 15:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819963904001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819963904001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:00:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:00:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819963904001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":136555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:00:38] local.INFO: GPS data processed {"connection_id":136555,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:00:38] local.INFO: Acknowledgment sent {"connection_id":136555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:00:51] local.INFO: TCP Data received {"connection_id":139033,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:00:51] local.INFO: Processing buffer {"connection_id":139033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:00:51] local.INFO: IMEI packet received {"connection_id":139033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":139033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:00:51] local.INFO: TCP Data received {"connection_id":137643,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:00:51] local.INFO: Processing buffer {"connection_id":137643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:00:51] local.INFO: IMEI packet received {"connection_id":137643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 15:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":137643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:00:52] local.INFO: TCP Data received {"connection_id":139033,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:00:52] local.INFO: Processing buffer {"connection_id":139033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:00:52] local.INFO: IMEI packet received {"connection_id":139033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":139033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:00:56] local.INFO: TCP Data received {"connection_id":139033,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:00:56] local.INFO: Processing buffer {"connection_id":139033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:00:56] local.INFO: IMEI packet received {"connection_id":139033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":139033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:00:57] local.INFO: TCP Data received {"connection_id":139033,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b3fa50012d196740071fee88003f004c2e..."} 
[2026-07-19 15:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b3fa50012d196740071fee88003f004c2e..."} 
[2026-07-19 15:00:57] local.INFO: Processing buffer {"connection_id":139033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b3fa50012d196740071fee88003f004c2e..."} 
[2026-07-19 15:00:57] local.INFO: Packet analysis {"connection_id":139033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b3"} 
[2026-07-19 15:00:57] local.INFO: Extracted packet for processing {"connection_id":139033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b3"} 
[2026-07-19 15:00:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820030720001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:00: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-07-19 15:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784453266000,"timestamp_ms":1784453266000,"timestamp_seconds":1784453266,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b3fa50"} 
[2026-07-19 15:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:00:57] 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-07-19 15:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:00:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820030720001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820030720001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:00:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:00:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820030720001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":139033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:00:57] local.INFO: GPS data processed {"connection_id":139033,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:00:57] local.INFO: Acknowledgment sent {"connection_id":139033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:01:09] local.INFO: TCP Data received {"connection_id":136555,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:01:09] local.INFO: Processing buffer {"connection_id":136555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:01:09] local.INFO: Packet analysis {"connection_id":136555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 15:01:09] local.INFO: Extracted packet for processing {"connection_id":136555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 15:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819963904001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01: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-07-19 15:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784453285000,"timestamp_ms":1784453285000,"timestamp_seconds":1784453285,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b44488"} 
[2026-07-19 15:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 15:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:01:09] 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-07-19 15:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819963904001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819963904001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:01:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:01:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819963904001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":136555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:01:09] local.INFO: GPS data processed {"connection_id":136555,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:01:09] local.INFO: Acknowledgment sent {"connection_id":136555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:01:26] local.INFO: TCP Data received {"connection_id":137644,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:01:26] local.INFO: Processing buffer {"connection_id":137644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:01:26] local.INFO: IMEI packet received {"connection_id":137644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 15:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":137644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:01:28] local.INFO: TCP Data received {"connection_id":139033,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b44c58012d196740071fee88003f004c2e..."} 
[2026-07-19 15:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b44c58012d196740071fee88003f004c2e..."} 
[2026-07-19 15:01:28] local.INFO: Processing buffer {"connection_id":139033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b44c58012d196740071fee88003f004c2e..."} 
[2026-07-19 15:01:28] local.INFO: Packet analysis {"connection_id":139033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 15:01:28] local.INFO: Extracted packet for processing {"connection_id":139033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 15:01:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820036096001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01: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-07-19 15:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784453287000,"timestamp_ms":1784453287000,"timestamp_seconds":1784453287,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b44c58"} 
[2026-07-19 15:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:01: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-07-19 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820036096001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820036096001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:01:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:01:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820036096001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":139033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:01:28] local.INFO: GPS data processed {"connection_id":139033,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:01:28] local.INFO: Acknowledgment sent {"connection_id":139033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:01:31] local.INFO: TCP Data received {"connection_id":139034,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:01:31] local.INFO: Processing buffer {"connection_id":139034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:01:31] local.INFO: IMEI packet received {"connection_id":139034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":139034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:01:36] local.INFO: TCP Data received {"connection_id":139034,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:01:36] local.INFO: Processing buffer {"connection_id":139034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:01:36] local.INFO: IMEI packet received {"connection_id":139034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":139034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:01:37] local.INFO: TCP Data received {"connection_id":139034,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:01:37] local.INFO: Processing buffer {"connection_id":139034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:01:37] local.INFO: Packet analysis {"connection_id":139034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 15:01:37] local.INFO: Extracted packet for processing {"connection_id":139034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 15:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819963904001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01: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-07-19 15:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784453285000,"timestamp_ms":1784453285000,"timestamp_seconds":1784453285,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b44488"} 
[2026-07-19 15:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 15:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:01: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-07-19 15:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819963904001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819963904001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:01:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819963904001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":139034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:01:37] local.INFO: GPS data processed {"connection_id":139034,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:01:37] local.INFO: Acknowledgment sent {"connection_id":139034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:01:51] local.INFO: TCP Data received {"connection_id":136556,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:01:51] local.INFO: Processing buffer {"connection_id":136556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:01:51] local.INFO: IMEI packet received {"connection_id":136556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":136556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:01:54] local.INFO: TCP Data received {"connection_id":136556,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:01:54] local.INFO: Processing buffer {"connection_id":136556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:01:54] local.INFO: IMEI packet received {"connection_id":136556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":136556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:01:56] local.INFO: TCP Data received {"connection_id":136556,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:01:56] local.INFO: Processing buffer {"connection_id":136556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:01:56] local.INFO: IMEI packet received {"connection_id":136556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":136556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:01:57] local.INFO: TCP Data received {"connection_id":136556,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b49e60012d196740071fee88003f004c2d..."} 
[2026-07-19 15:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b49e60012d196740071fee88003f004c2d..."} 
[2026-07-19 15:01:57] local.INFO: Processing buffer {"connection_id":136556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b49e60012d196740071fee88003f004c2d..."} 
[2026-07-19 15:01:57] local.INFO: Packet analysis {"connection_id":136556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 15:01:57] local.INFO: Extracted packet for processing {"connection_id":136556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 15:01:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820041472001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01: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-07-19 15:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784453308000,"timestamp_ms":1784453308000,"timestamp_seconds":1784453308,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b49e60"} 
[2026-07-19 15:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:01:57] 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-07-19 15:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8769086955065252199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21441576253259776,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3452291471844507854,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3003398145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:01:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:01:57] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,250,45,64,238,63,46,10,66,168,86,1,240,255,227,121,31,4,113,205,178,136,239,48,2,25,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:01:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712184841666560,"timestamp_seconds":4539712184841667.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820041472001,"66":12156,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820041472001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:01:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:01:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820041472001,"power":12156,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":136556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:01:57] local.INFO: GPS data processed {"connection_id":136556,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:01:57] local.INFO: Acknowledgment sent {"connection_id":136556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:02:02] local.INFO: TCP Data received {"connection_id":136556,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b4f068012d196740071fee88003f004c2f..."} 
[2026-07-19 15:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b4f068012d196740071fee88003f004c2f..."} 
[2026-07-19 15:02:02] local.INFO: Processing buffer {"connection_id":136556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b4f068012d196740071fee88003f004c2f..."} 
[2026-07-19 15:02:02] local.INFO: Packet analysis {"connection_id":136556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 15:02:02] local.INFO: Extracted packet for processing {"connection_id":136556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 15:02:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820046848001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02: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-07-19 15:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784453329000,"timestamp_ms":1784453329000,"timestamp_seconds":1784453329,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b4f068"} 
[2026-07-19 15:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:02: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-07-19 15: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-19 15:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820046848001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820046848001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:02:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:02:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820046848001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":136556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:02:02] local.INFO: GPS data processed {"connection_id":136556,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:02:02] local.INFO: Acknowledgment sent {"connection_id":136556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:02:09] local.INFO: TCP Data received {"connection_id":139034,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:02:09] local.INFO: Processing buffer {"connection_id":139034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:02:09] local.INFO: Packet analysis {"connection_id":139034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 15:02:09] local.INFO: Extracted packet for processing {"connection_id":139034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 15:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819963904001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02: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-07-19 15:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784453285000,"timestamp_ms":1784453285000,"timestamp_seconds":1784453285,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b44488"} 
[2026-07-19 15:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 15:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:02: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-07-19 15:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819963904001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819963904001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:02:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819963904001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":139034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:02:09] local.INFO: GPS data processed {"connection_id":139034,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:02:09] local.INFO: Acknowledgment sent {"connection_id":139034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:02:31] local.INFO: TCP Data received {"connection_id":136558,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:02:31] local.INFO: Processing buffer {"connection_id":136558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:02:31] local.INFO: IMEI packet received {"connection_id":136558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":136558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:02:32] local.INFO: TCP Data received {"connection_id":136556,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b54270012d196740071fee88003f004c2d..."} 
[2026-07-19 15:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b54270012d196740071fee88003f004c2d..."} 
[2026-07-19 15:02:33] local.INFO: Processing buffer {"connection_id":136556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b54270012d196740071fee88003f004c2d..."} 
[2026-07-19 15:02:33] local.INFO: Packet analysis {"connection_id":136556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b5"} 
[2026-07-19 15:02:33] local.INFO: Extracted packet for processing {"connection_id":136556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b5"} 
[2026-07-19 15:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820052224001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:33] 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-07-19 15:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784453350000,"timestamp_ms":1784453350000,"timestamp_seconds":1784453350,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b54270"} 
[2026-07-19 15:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:33] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:33] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:33] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8769267343691684199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:33] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:33] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21441576253259776,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:33] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:33] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:33] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3014150145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:02:33] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:33] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:33] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,158,45,64,238,63,10,66,76,46,250,1,240,255,227,121,31,4,113,205,86,136,44,239,47,2,25,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:02:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712189136633856,"timestamp_seconds":4539712189136634.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":136556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":136556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":136556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820052224001,"66":12004,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820052224001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:02:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820052224001,"power":12004,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":136556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:02:33] local.INFO: GPS data processed {"connection_id":136556,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:02:33] local.INFO: Acknowledgment sent {"connection_id":136556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:02:36] local.INFO: TCP Data received {"connection_id":136558,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:02:36] local.INFO: Processing buffer {"connection_id":136558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:02:36] local.INFO: IMEI packet received {"connection_id":136558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":136558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:02:38] local.INFO: TCP Data received {"connection_id":136558,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:02:38] local.INFO: Processing buffer {"connection_id":136558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:02:38] local.INFO: Packet analysis {"connection_id":136558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 15:02:38] local.INFO: Extracted packet for processing {"connection_id":136558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 15:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819963904001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02: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-07-19 15:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784453285000,"timestamp_ms":1784453285000,"timestamp_seconds":1784453285,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b44488"} 
[2026-07-19 15:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 15:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819963904001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819963904001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:02:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:02:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819963904001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":136558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:02:38] local.INFO: GPS data processed {"connection_id":136558,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:02:38] local.INFO: Acknowledgment sent {"connection_id":136558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:02:51] local.INFO: TCP Data received {"connection_id":136688,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:02:51] local.INFO: Processing buffer {"connection_id":136688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:02:51] local.INFO: IMEI packet received {"connection_id":136688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":136688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:02:56] local.INFO: TCP Data received {"connection_id":136688,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:02:56] local.INFO: Processing buffer {"connection_id":136688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:02:56] local.INFO: IMEI packet received {"connection_id":136688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":136688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:02:57] local.INFO: TCP Data received {"connection_id":136688,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b59478012d196740071fee88003f004c2d..."} 
[2026-07-19 15:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b59478012d196740071fee88003f004c2d..."} 
[2026-07-19 15:02:57] local.INFO: Processing buffer {"connection_id":136688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b59478012d196740071fee88003f004c2d..."} 
[2026-07-19 15:02:57] local.INFO: Packet analysis {"connection_id":136688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b5"} 
[2026-07-19 15:02:57] local.INFO: Extracted packet for processing {"connection_id":136688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b5"} 
[2026-07-19 15:02:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:02: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-07-19 15:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820057600001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:02: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-07-19 15:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784453371000,"timestamp_ms":1784453371000,"timestamp_seconds":1784453371,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b59478"} 
[2026-07-19 15:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:02:57] 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-07-19 15:02: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-19 15:02:57] 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-07-19 15:02: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-07-19 15:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820057600001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820057600001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:02:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:02:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820057600001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":136688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:02:57] local.INFO: GPS data processed {"connection_id":136688,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:02:57] local.INFO: Acknowledgment sent {"connection_id":136688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:03:10] local.INFO: TCP Data received {"connection_id":136558,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:03:10] local.INFO: Processing buffer {"connection_id":136558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:03:10] local.INFO: Packet analysis {"connection_id":136558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 15:03:10] local.INFO: Extracted packet for processing {"connection_id":136558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 15:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819963904001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03: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-07-19 15:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784453285000,"timestamp_ms":1784453285000,"timestamp_seconds":1784453285,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b44488"} 
[2026-07-19 15:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 15:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:03:10] 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-07-19 15:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819963904001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819963904001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:03:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:03:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819963904001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":136558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:03:10] local.INFO: GPS data processed {"connection_id":136558,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:03:10] local.INFO: Acknowledgment sent {"connection_id":136558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:03:28] local.INFO: TCP Data received {"connection_id":136688,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b5e680012d196740071fee88003f004c2e..."} 
[2026-07-19 15:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b5e680012d196740071fee88003f004c2e..."} 
[2026-07-19 15:03:28] local.INFO: Processing buffer {"connection_id":136688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b5e680012d196740071fee88003f004c2e..."} 
[2026-07-19 15:03:28] local.INFO: Packet analysis {"connection_id":136688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b5"} 
[2026-07-19 15:03:28] local.INFO: Extracted packet for processing {"connection_id":136688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b5"} 
[2026-07-19 15:03:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820062976001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03: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-07-19 15:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784453392000,"timestamp_ms":1784453392000,"timestamp_seconds":1784453392,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b5e680"} 
[2026-07-19 15:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:03: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-07-19 15:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8769447732318116199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21441576253259776,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03:28] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3024902145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:03:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03:28] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,103,83,24,241,157,16,144,159,66,45,64,238,63,10,240,47,158,1,124,227,121,31,4,113,205,250,136,46,239,2,25,7,44],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:03:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712180546699264,"timestamp_seconds":4539712180546699.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820062976001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820062976001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:03:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:03:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820062976001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":136688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:03:28] local.INFO: GPS data processed {"connection_id":136688,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:03:28] local.INFO: Acknowledgment sent {"connection_id":136688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:03:36] local.INFO: TCP Data received {"connection_id":137645,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:03:36] local.INFO: Processing buffer {"connection_id":137645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:03:36] local.INFO: IMEI packet received {"connection_id":137645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":137645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:03:41] local.INFO: TCP Data received {"connection_id":137645,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:03:41] local.INFO: Processing buffer {"connection_id":137645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:03:41] local.INFO: IMEI packet received {"connection_id":137645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":137645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:03:43] local.INFO: TCP Data received {"connection_id":137645,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:03:43] local.INFO: Processing buffer {"connection_id":137645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b44488012d34c50006aa4dd8000800952c..."} 
[2026-07-19 15:03:43] local.INFO: Packet analysis {"connection_id":137645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 15:03:43] local.INFO: Extracted packet for processing {"connection_id":137645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b4"} 
[2026-07-19 15:03:43] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456819963904001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03: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-07-19 15:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784453285000,"timestamp_ms":1784453285000,"timestamp_seconds":1784453285,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b44488"} 
[2026-07-19 15:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 15:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":137645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":137645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":137645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:03:43] 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-07-19 15:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456819963904001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456819963904001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:03:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:03:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456819963904001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":137645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:03:43] local.INFO: GPS data processed {"connection_id":137645,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:03:43] local.INFO: Acknowledgment sent {"connection_id":137645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:03:51] local.INFO: TCP Data received {"connection_id":136689,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:03:51] local.INFO: Processing buffer {"connection_id":136689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:03:51] local.INFO: IMEI packet received {"connection_id":136689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":136689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:03:56] local.INFO: TCP Data received {"connection_id":136689,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:03:56] local.INFO: Processing buffer {"connection_id":136689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:03:56] local.INFO: IMEI packet received {"connection_id":136689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":136689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:03:57] local.INFO: TCP Data received {"connection_id":136689,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b63888012d196740071fee88003f004c2f..."} 
[2026-07-19 15:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b63888012d196740071fee88003f004c2f..."} 
[2026-07-19 15:03:57] local.INFO: Processing buffer {"connection_id":136689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b63888012d196740071fee88003f004c2f..."} 
[2026-07-19 15:03:57] local.INFO: Packet analysis {"connection_id":136689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b6"} 
[2026-07-19 15:03:57] local.INFO: Extracted packet for processing {"connection_id":136689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b6"} 
[2026-07-19 15:03:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820068352001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:03: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-07-19 15:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784453413000,"timestamp_ms":1784453413000,"timestamp_seconds":1784453413,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b63888"} 
[2026-07-19 15:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:03:57] 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-07-19 15:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 15:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820068352001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820068352001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:03:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:03:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820068352001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":136689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:03:57] local.INFO: GPS data processed {"connection_id":136689,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:03:57] local.INFO: Acknowledgment sent {"connection_id":136689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:04:14] local.INFO: TCP Data received {"connection_id":137645,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:04:14] local.INFO: Processing buffer {"connection_id":137645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:04:14] local.INFO: Packet analysis {"connection_id":137645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:04:14] local.INFO: Extracted packet for processing {"connection_id":137645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:04:14] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820040960001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:04: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-07-19 15:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784453586000,"timestamp_ms":1784453586000,"timestamp_seconds":1784453586,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b8dc50"} 
[2026-07-19 15:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":137645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":137645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":137645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:04:14] 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-07-19 15:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820040960001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820040960001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:04:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:04:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820040960001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":137645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:04:14] local.INFO: GPS data processed {"connection_id":137645,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:04:14] local.INFO: Acknowledgment sent {"connection_id":137645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:04:28] local.INFO: TCP Data received {"connection_id":136689,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b68a90012d196740071fee88003f004c2d..."} 
[2026-07-19 15:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b68a90012d196740071fee88003f004c2d..."} 
[2026-07-19 15:04:28] local.INFO: Processing buffer {"connection_id":136689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b68a90012d196740071fee88003f004c2d..."} 
[2026-07-19 15:04:28] local.INFO: Packet analysis {"connection_id":136689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b6"} 
[2026-07-19 15:04:28] local.INFO: Extracted packet for processing {"connection_id":136689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b6"} 
[2026-07-19 15:04:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820073728001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:04: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-07-19 15:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784453434000,"timestamp_ms":1784453434000,"timestamp_seconds":1784453434,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b68a90"} 
[2026-07-19 15:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:04: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-07-19 15:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 15:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820073728001,"66":11906,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820073728001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:04:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:04:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820073728001,"power":11906,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":136689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:04:28] local.INFO: GPS data processed {"connection_id":136689,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:04:28] local.INFO: Acknowledgment sent {"connection_id":136689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:04:31] local.INFO: TCP Data received {"connection_id":136561,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:04:31] local.INFO: Processing buffer {"connection_id":136561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:04:31] local.INFO: IMEI packet received {"connection_id":136561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":136561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:04:36] local.INFO: TCP Data received {"connection_id":136561,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:04:36] local.INFO: Processing buffer {"connection_id":136561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:04:36] local.INFO: IMEI packet received {"connection_id":136561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":136561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:04:37] local.INFO: TCP Data received {"connection_id":136561,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:04:37] local.INFO: Processing buffer {"connection_id":136561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:04:37] local.INFO: Packet analysis {"connection_id":136561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:04:37] local.INFO: Extracted packet for processing {"connection_id":136561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820040960001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:04: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-07-19 15:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784453586000,"timestamp_ms":1784453586000,"timestamp_seconds":1784453586,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b8dc50"} 
[2026-07-19 15:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820040960001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820040960001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:04:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820040960001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":136561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:04:37] local.INFO: GPS data processed {"connection_id":136561,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:04:37] local.INFO: Acknowledgment sent {"connection_id":136561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:04:56] local.INFO: TCP Data received {"connection_id":139035,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:04:56] local.INFO: Processing buffer {"connection_id":139035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:04:56] local.INFO: IMEI packet received {"connection_id":139035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":139035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:05:01] local.INFO: TCP Data received {"connection_id":139035,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:05:01] local.INFO: Processing buffer {"connection_id":139035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:05:01] local.INFO: IMEI packet received {"connection_id":139035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":139035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:05:02] local.INFO: TCP Data received {"connection_id":139035,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b6dc98012d196740071fee88003f004c2e..."} 
[2026-07-19 15:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b6dc98012d196740071fee88003f004c2e..."} 
[2026-07-19 15:05:02] local.INFO: Processing buffer {"connection_id":139035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b6dc98012d196740071fee88003f004c2e..."} 
[2026-07-19 15:05:02] local.INFO: Packet analysis {"connection_id":139035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b6"} 
[2026-07-19 15:05:02] local.INFO: Extracted packet for processing {"connection_id":139035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b6"} 
[2026-07-19 15:05:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820079104001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:05: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-07-19 15:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784453455000,"timestamp_ms":1784453455000,"timestamp_seconds":1784453455,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b6dc98"} 
[2026-07-19 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-07-19 15:05: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-07-19 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":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-19 15:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 15:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":139035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":139035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":139035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820079104001,"66":12004,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820079104001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:05:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:05:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820079104001,"power":12004,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":139035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:05:02] local.INFO: GPS data processed {"connection_id":139035,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:05:02] local.INFO: Acknowledgment sent {"connection_id":139035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:05:03] local.INFO: TCP Data received {"connection_id":139035,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b72ea0012d196740071fee88003f004c2f..."} 
[2026-07-19 15:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b72ea0012d196740071fee88003f004c2f..."} 
[2026-07-19 15:05:03] local.INFO: Processing buffer {"connection_id":139035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b72ea0012d196740071fee88003f004c2f..."} 
[2026-07-19 15:05:03] local.INFO: Packet analysis {"connection_id":139035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b7"} 
[2026-07-19 15:05:03] local.INFO: Extracted packet for processing {"connection_id":139035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b7"} 
[2026-07-19 15:05:03] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820084480001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784453476000,"timestamp_ms":1784453476000,"timestamp_seconds":1784453476,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b72ea0"} 
[2026-07-19 15:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-19 15:05:03] 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-07-19 15: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-07-19 15:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":139035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":139035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":139035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820084480001,"66":11971,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820084480001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:05:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:05:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820084480001,"power":11971,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":139035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:05:03] local.INFO: GPS data processed {"connection_id":139035,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:05:03] local.INFO: Acknowledgment sent {"connection_id":139035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:05:08] local.INFO: TCP Data received {"connection_id":136561,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:05:08] local.INFO: Processing buffer {"connection_id":136561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:05:08] local.INFO: Packet analysis {"connection_id":136561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:05:08] local.INFO: Extracted packet for processing {"connection_id":136561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820040960001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15: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-07-19 15:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784453586000,"timestamp_ms":1784453586000,"timestamp_seconds":1784453586,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b8dc50"} 
[2026-07-19 15:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:05: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-07-19 15:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820040960001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820040960001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:05:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820040960001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":136561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:05:08] local.INFO: GPS data processed {"connection_id":136561,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:05:08] local.INFO: Acknowledgment sent {"connection_id":136561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:05:31] local.INFO: TCP Data received {"connection_id":139036,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:05:31] local.INFO: Processing buffer {"connection_id":139036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:05:31] local.INFO: IMEI packet received {"connection_id":139036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":139036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:05:35] local.INFO: TCP Data received {"connection_id":139035,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b780a8012d196740071fee88003f004c2d..."} 
[2026-07-19 15:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b780a8012d196740071fee88003f004c2d..."} 
[2026-07-19 15:05:35] local.INFO: Processing buffer {"connection_id":139035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b780a8012d196740071fee88003f004c2d..."} 
[2026-07-19 15:05:35] local.INFO: Packet analysis {"connection_id":139035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b7"} 
[2026-07-19 15:05:35] local.INFO: Extracted packet for processing {"connection_id":139035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b7"} 
[2026-07-19 15:05:35] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820089856001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784453497000,"timestamp_ms":1784453497000,"timestamp_seconds":1784453497,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b780a8"} 
[2026-07-19 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-07-19 15:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":46,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-19 15:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2183,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 15:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":139035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":139035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":139035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820089856001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820089856001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:05:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:05:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820089856001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":139035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:05:35] local.INFO: GPS data processed {"connection_id":139035,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:05:35] local.INFO: Acknowledgment sent {"connection_id":139035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:05:36] local.INFO: TCP Data received {"connection_id":139036,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:05:36] local.INFO: Processing buffer {"connection_id":139036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:05:36] local.INFO: IMEI packet received {"connection_id":139036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":139036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:05:37] local.INFO: TCP Data received {"connection_id":139036,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:05:37] local.INFO: Processing buffer {"connection_id":139036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:05:37] local.INFO: Packet analysis {"connection_id":139036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:05:37] local.INFO: Extracted packet for processing {"connection_id":139036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820040960001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:05: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-07-19 15:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784453586000,"timestamp_ms":1784453586000,"timestamp_seconds":1784453586,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b8dc50"} 
[2026-07-19 15:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820040960001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820040960001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:05:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820040960001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":139036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:05:37] local.INFO: GPS data processed {"connection_id":139036,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:05:37] local.INFO: Acknowledgment sent {"connection_id":139036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:05:51] local.INFO: TCP Data received {"connection_id":139037,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:05:51] local.INFO: Processing buffer {"connection_id":139037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:05:51] local.INFO: IMEI packet received {"connection_id":139037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":139037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:05:56] local.INFO: TCP Data received {"connection_id":139037,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:05:56] local.INFO: Processing buffer {"connection_id":139037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:05:56] local.INFO: IMEI packet received {"connection_id":139037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":139037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:05:57] local.INFO: TCP Data received {"connection_id":139037,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b7d2b0012d196740071fee88003f004c2c..."} 
[2026-07-19 15:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b7d2b0012d196740071fee88003f004c2c..."} 
[2026-07-19 15:05:57] local.INFO: Processing buffer {"connection_id":139037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b7d2b0012d196740071fee88003f004c2c..."} 
[2026-07-19 15:05:57] local.INFO: Packet analysis {"connection_id":139037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b7"} 
[2026-07-19 15:05:57] local.INFO: Extracted packet for processing {"connection_id":139037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b7"} 
[2026-07-19 15:05:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820095232001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:05: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-07-19 15:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784453518000,"timestamp_ms":1784453518000,"timestamp_seconds":1784453518,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b7d2b0"} 
[2026-07-19 15:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:05:57] 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-07-19 15:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820095232001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820095232001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:05:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:05:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820095232001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":139037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:05:57] local.INFO: GPS data processed {"connection_id":139037,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:05:57] local.INFO: Acknowledgment sent {"connection_id":139037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:06:09] local.INFO: TCP Data received {"connection_id":139036,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:06:09] local.INFO: Processing buffer {"connection_id":139036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:06:09] local.INFO: Packet analysis {"connection_id":139036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:06:09] local.INFO: Extracted packet for processing {"connection_id":139036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820040960001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06: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-07-19 15:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784453586000,"timestamp_ms":1784453586000,"timestamp_seconds":1784453586,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b8dc50"} 
[2026-07-19 15:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:06:09] 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-07-19 15:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820040960001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820040960001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:06:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820040960001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":139036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:06:09] local.INFO: GPS data processed {"connection_id":139036,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:06:09] local.INFO: Acknowledgment sent {"connection_id":139036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:06:28] local.INFO: TCP Data received {"connection_id":139037,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b824b8012d196740071fee88003f004c2b..."} 
[2026-07-19 15:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b824b8012d196740071fee88003f004c2b..."} 
[2026-07-19 15:06:28] local.INFO: Processing buffer {"connection_id":139037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b824b8012d196740071fee88003f004c2b..."} 
[2026-07-19 15:06:28] local.INFO: Packet analysis {"connection_id":139037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:06:28] local.INFO: Extracted packet for processing {"connection_id":139037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820100608001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06: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-07-19 15:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784453539000,"timestamp_ms":1784453539000,"timestamp_seconds":1784453539,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b824b8"} 
[2026-07-19 15:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:06: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-07-19 15:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820100608001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820100608001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:06:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820100608001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":139037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:06:28] local.INFO: GPS data processed {"connection_id":139037,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:06:28] local.INFO: Acknowledgment sent {"connection_id":139037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:06:36] local.INFO: TCP Data received {"connection_id":139039,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:06:36] local.INFO: Processing buffer {"connection_id":139039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:06:36] local.INFO: IMEI packet received {"connection_id":139039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":139039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:06:41] local.INFO: TCP Data received {"connection_id":139039,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:06:41] local.INFO: Processing buffer {"connection_id":139039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:06:41] local.INFO: IMEI packet received {"connection_id":139039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":139039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:06:42] local.INFO: TCP Data received {"connection_id":139039,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:06:42] local.INFO: Processing buffer {"connection_id":139039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:06:42] local.INFO: Packet analysis {"connection_id":139039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:06:42] local.INFO: Extracted packet for processing {"connection_id":139039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:06:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820040960001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784453586000,"timestamp_ms":1784453586000,"timestamp_seconds":1784453586,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b8dc50"} 
[2026-07-19 15:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820040960001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820040960001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:06:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:06:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820040960001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":139039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:06:42] local.INFO: GPS data processed {"connection_id":139039,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:06:42] local.INFO: Acknowledgment sent {"connection_id":139039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:06:46] local.INFO: TCP Data received {"connection_id":139038,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:06:46] local.INFO: Processing buffer {"connection_id":139038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:06:46] local.INFO: IMEI packet received {"connection_id":139038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 15:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":139038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:06:47] local.INFO: TCP Data received {"connection_id":139039,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:06:47] local.INFO: Processing buffer {"connection_id":139039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:06:47] local.INFO: Packet analysis {"connection_id":139039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:06:47] local.INFO: Extracted packet for processing {"connection_id":139039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:06:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820040960001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784453586000,"timestamp_ms":1784453586000,"timestamp_seconds":1784453586,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b8dc50"} 
[2026-07-19 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-07-19 15:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 15:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":139039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":139039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":139039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820040960001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820040960001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:06:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:06:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820040960001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":139039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:06:47] local.INFO: GPS data processed {"connection_id":139039,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:06:47] local.INFO: Acknowledgment sent {"connection_id":139039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:06:51] local.INFO: TCP Data received {"connection_id":137647,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:06:51] local.INFO: Processing buffer {"connection_id":137647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:06:51] local.INFO: IMEI packet received {"connection_id":137647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":137647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:06:56] local.INFO: TCP Data received {"connection_id":137647,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:06:56] local.INFO: Processing buffer {"connection_id":137647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:06:56] local.INFO: IMEI packet received {"connection_id":137647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":137647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:06:57] local.INFO: TCP Data received {"connection_id":137647,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b876c0012d196740071fee88003f004c2a..."} 
[2026-07-19 15:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b876c0012d196740071fee88003f004c2a..."} 
[2026-07-19 15:06:57] local.INFO: Processing buffer {"connection_id":137647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b876c0012d196740071fee88003f004c2a..."} 
[2026-07-19 15:06:57] local.INFO: Packet analysis {"connection_id":137647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:06:57] local.INFO: Extracted packet for processing {"connection_id":137647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:06:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820105984001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06: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-07-19 15:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784453560000,"timestamp_ms":1784453560000,"timestamp_seconds":1784453560,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b876c0"} 
[2026-07-19 15:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:06:57] 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-07-19 15:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8770169286823844199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21443775276515328,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195247100690638,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3067910145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:06:57] local.WARNING: Large IO value detected {"io_id":138,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:06:57] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,103,83,24,241,157,16,144,159,210,45,64,238,63,44,10,66,128,46,1,240,195,227,121,31,4,113,205,138,136,239,2,25,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:06:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712171956764672,"timestamp_seconds":4539712171956765.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820105984001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820105984001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:06:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:06:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820105984001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":137647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:06:57] local.INFO: GPS data processed {"connection_id":137647,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:06:57] local.INFO: Acknowledgment sent {"connection_id":137647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:07:26] local.INFO: TCP Data received {"connection_id":139040,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:07:26] local.INFO: Processing buffer {"connection_id":139040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:07:26] local.INFO: IMEI packet received {"connection_id":139040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 15:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":139040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:07:28] local.INFO: TCP Data received {"connection_id":137647,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b8c8c8012d196740071fee88003f004c2b..."} 
[2026-07-19 15:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b8c8c8012d196740071fee88003f004c2b..."} 
[2026-07-19 15:07:28] local.INFO: Processing buffer {"connection_id":137647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b8c8c8012d196740071fee88003f004c2b..."} 
[2026-07-19 15:07:28] local.INFO: Packet analysis {"connection_id":137647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:07:28] local.INFO: Extracted packet for processing {"connection_id":137647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820111360001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07: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-07-19 15:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784453581000,"timestamp_ms":1784453581000,"timestamp_seconds":1784453581,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b8c8c8"} 
[2026-07-19 15:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:07: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-07-19 15: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8770259481137060199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21441576253259776,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3351241955205382350,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07:28] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3073286145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:07:28] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07:28] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3825257848,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07:28] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,144,159,36,45,64,238,63,43,10,66,210,44,128,1,240,255,227,121,31,4,113,205,220,136,46,239,2,25,7,47],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:07:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712167661797376,"timestamp_seconds":4539712167661797.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820111360001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820111360001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:07:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:07:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820111360001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":137647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:07:28] local.INFO: GPS data processed {"connection_id":137647,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:07:28] local.INFO: Acknowledgment sent {"connection_id":137647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:07:31] local.INFO: TCP Data received {"connection_id":136562,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:07:31] local.INFO: Processing buffer {"connection_id":136562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:07:31] local.INFO: IMEI packet received {"connection_id":136562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":136562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:07:36] local.INFO: TCP Data received {"connection_id":136562,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:07:36] local.INFO: Processing buffer {"connection_id":136562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:07:36] local.INFO: IMEI packet received {"connection_id":136562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":136562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:07:37] local.INFO: TCP Data received {"connection_id":136562,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:07:37] local.INFO: Processing buffer {"connection_id":136562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:07:37] local.INFO: Packet analysis {"connection_id":136562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:07:37] local.INFO: Extracted packet for processing {"connection_id":136562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820040960001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07: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-07-19 15:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784453586000,"timestamp_ms":1784453586000,"timestamp_seconds":1784453586,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b8dc50"} 
[2026-07-19 15:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820040960001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820040960001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820040960001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":136562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:07:37] local.INFO: GPS data processed {"connection_id":136562,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:07:37] local.INFO: Acknowledgment sent {"connection_id":136562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:07:51] local.INFO: TCP Data received {"connection_id":136690,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:07:51] local.INFO: Processing buffer {"connection_id":136690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:07:51] local.INFO: IMEI packet received {"connection_id":136690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":136690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:07:52] local.INFO: TCP Data received {"connection_id":136690,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:07:52] local.INFO: Processing buffer {"connection_id":136690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:07:52] local.INFO: IMEI packet received {"connection_id":136690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":136690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:07:56] local.INFO: TCP Data received {"connection_id":136690,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:07:56] local.INFO: Processing buffer {"connection_id":136690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:07:56] local.INFO: IMEI packet received {"connection_id":136690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":136690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:07:57] local.INFO: TCP Data received {"connection_id":136690,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b91ad0012d196740071fee88003f004c28..."} 
[2026-07-19 15:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b91ad0012d196740071fee88003f004c28..."} 
[2026-07-19 15:07:57] local.INFO: Processing buffer {"connection_id":136690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b91ad0012d196740071fee88003f004c28..."} 
[2026-07-19 15:07:57] local.INFO: Packet analysis {"connection_id":136690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b9"} 
[2026-07-19 15:07:57] local.INFO: Extracted packet for processing {"connection_id":136690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b9"} 
[2026-07-19 15:07:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820116736001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:07: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-07-19 15:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784453602000,"timestamp_ms":1784453602000,"timestamp_seconds":1784453602,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b91ad0"} 
[2026-07-19 15:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:07:57] 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-07-19 15:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820116736001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820116736001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:07:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:07:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820116736001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":136690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:07:57] local.INFO: GPS data processed {"connection_id":136690,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:07:57] local.INFO: Acknowledgment sent {"connection_id":136690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:08:09] local.INFO: TCP Data received {"connection_id":136562,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:08:09] local.INFO: Processing buffer {"connection_id":136562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:08:09] local.INFO: Packet analysis {"connection_id":136562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:08:09] local.INFO: Extracted packet for processing {"connection_id":136562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820040960001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:08: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-07-19 15:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784453586000,"timestamp_ms":1784453586000,"timestamp_seconds":1784453586,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b8dc50"} 
[2026-07-19 15:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820040960001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820040960001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:08:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820040960001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":136562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:08:09] local.INFO: GPS data processed {"connection_id":136562,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:08:09] local.INFO: Acknowledgment sent {"connection_id":136562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:08:28] local.INFO: TCP Data received {"connection_id":136690,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b96cd8012d196740071fee88003f004c2d..."} 
[2026-07-19 15:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b96cd8012d196740071fee88003f004c2d..."} 
[2026-07-19 15:08:28] local.INFO: Processing buffer {"connection_id":136690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b96cd8012d196740071fee88003f004c2d..."} 
[2026-07-19 15:08:28] local.INFO: Packet analysis {"connection_id":136690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b9"} 
[2026-07-19 15:08:28] local.INFO: Extracted packet for processing {"connection_id":136690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b9"} 
[2026-07-19 15:08:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820122112001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:08: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-07-19 15:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784453623000,"timestamp_ms":1784453623000,"timestamp_seconds":1784453623,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b96cd8"} 
[2026-07-19 15:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:08: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-07-19 15:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820122112001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820122112001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:08:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:08:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820122112001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":136690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:08:28] local.INFO: GPS data processed {"connection_id":136690,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:08:28] local.INFO: Acknowledgment sent {"connection_id":136690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:08:31] local.INFO: TCP Data received {"connection_id":139041,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:08:31] local.INFO: Processing buffer {"connection_id":139041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:08:31] local.INFO: IMEI packet received {"connection_id":139041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":139041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:08:36] local.INFO: TCP Data received {"connection_id":139041,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:08:36] local.INFO: Processing buffer {"connection_id":139041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:08:36] local.INFO: IMEI packet received {"connection_id":139041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":139041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:08:37] local.INFO: TCP Data received {"connection_id":139041,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:08:37] local.INFO: Processing buffer {"connection_id":139041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79b8dc50012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:08:37] local.INFO: Packet analysis {"connection_id":139041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:08:37] local.INFO: Extracted packet for processing {"connection_id":139041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79b8"} 
[2026-07-19 15:08:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820040960001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:08: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-07-19 15:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784453586000,"timestamp_ms":1784453586000,"timestamp_seconds":1784453586,"priority":1,"record_length":96,"hex_timestamp":"0000019f79b8dc50"} 
[2026-07-19 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-07-19 15:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 15:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820040960001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820040960001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:08:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:08:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820040960001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":139041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:08:37] local.INFO: GPS data processed {"connection_id":139041,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:08:37] local.INFO: Acknowledgment sent {"connection_id":139041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:08:51] local.INFO: TCP Data received {"connection_id":136563,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:08:51] local.INFO: Processing buffer {"connection_id":136563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:08:51] local.INFO: IMEI packet received {"connection_id":136563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":136563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:08:54] local.INFO: TCP Data received {"connection_id":136563,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:08:54] local.INFO: Processing buffer {"connection_id":136563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:08:54] local.INFO: IMEI packet received {"connection_id":136563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":136563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:08:56] local.INFO: TCP Data received {"connection_id":136563,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:08:56] local.INFO: Processing buffer {"connection_id":136563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:08:56] local.INFO: IMEI packet received {"connection_id":136563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":136563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:08:57] local.INFO: TCP Data received {"connection_id":136563,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79bcf330012d196740071fee88003f004c2c..."} 
[2026-07-19 15:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79bcf330012d196740071fee88003f004c2c..."} 
[2026-07-19 15:08:57] local.INFO: Processing buffer {"connection_id":136563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79bcf330012d196740071fee88003f004c2c..."} 
[2026-07-19 15:08:57] local.INFO: Packet analysis {"connection_id":136563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79bc"} 
[2026-07-19 15:08:57] local.INFO: Extracted packet for processing {"connection_id":136563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79bc"} 
[2026-07-19 15:08:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820181248001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:08: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-07-19 15:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784453854000,"timestamp_ms":1784453854000,"timestamp_seconds":1784453854,"priority":1,"record_length":96,"hex_timestamp":"0000019f79bcf330"} 
[2026-07-19 15:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:08:57] 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-07-19 15:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-19 15:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:08:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820181248001,"66":12232,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820181248001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:08:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:08:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820181248001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":136563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:08:57] local.INFO: GPS data processed {"connection_id":136563,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:08:57] local.INFO: Acknowledgment sent {"connection_id":136563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:09:08] local.INFO: TCP Data received {"connection_id":139041,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:09:08] local.INFO: Processing buffer {"connection_id":139041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:09:08] local.INFO: Packet analysis {"connection_id":139041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79bd"} 
[2026-07-19 15:09:08] local.INFO: Extracted packet for processing {"connection_id":139041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79bd"} 
[2026-07-19 15:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820118016001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:09: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-07-19 15:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784453887000,"timestamp_ms":1784453887000,"timestamp_seconds":1784453887,"priority":1,"record_length":96,"hex_timestamp":"0000019f79bd7418"} 
[2026-07-19 15:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 15:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820118016001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820118016001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:09:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820118016001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":139041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:09:09] local.INFO: GPS data processed {"connection_id":139041,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:09:09] local.INFO: Acknowledgment sent {"connection_id":139041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:09:28] local.INFO: TCP Data received {"connection_id":136563,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79bd4538012d196740071fee88003f004c2d..."} 
[2026-07-19 15:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79bd4538012d196740071fee88003f004c2d..."} 
[2026-07-19 15:09:28] local.INFO: Processing buffer {"connection_id":136563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79bd4538012d196740071fee88003f004c2d..."} 
[2026-07-19 15:09:28] local.INFO: Packet analysis {"connection_id":136563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79bd"} 
[2026-07-19 15:09:28] local.INFO: Extracted packet for processing {"connection_id":136563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79bd"} 
[2026-07-19 15:09:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820186624001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:09: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-07-19 15:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784453875000,"timestamp_ms":1784453875000,"timestamp_seconds":1784453875,"priority":1,"record_length":96,"hex_timestamp":"0000019f79bd4538"} 
[2026-07-19 15:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:09: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-07-19 15: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-19 15:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820186624001,"66":11863,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820186624001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:09:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:09:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820186624001,"power":11863,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":136563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:09:28] local.INFO: GPS data processed {"connection_id":136563,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:09:28] local.INFO: Acknowledgment sent {"connection_id":136563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:09:31] local.INFO: TCP Data received {"connection_id":137648,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:09:31] local.INFO: Processing buffer {"connection_id":137648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:09:31] local.INFO: IMEI packet received {"connection_id":137648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":137648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:09:36] local.INFO: TCP Data received {"connection_id":137648,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:09:36] local.INFO: Processing buffer {"connection_id":137648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:09:36] local.INFO: IMEI packet received {"connection_id":137648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":137648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:09:37] local.INFO: TCP Data received {"connection_id":137648,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:09:37] local.INFO: Processing buffer {"connection_id":137648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:09:37] local.INFO: Packet analysis {"connection_id":137648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79bd"} 
[2026-07-19 15:09:37] local.INFO: Extracted packet for processing {"connection_id":137648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79bd"} 
[2026-07-19 15:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820118016001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:09: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-07-19 15:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784453887000,"timestamp_ms":1784453887000,"timestamp_seconds":1784453887,"priority":1,"record_length":96,"hex_timestamp":"0000019f79bd7418"} 
[2026-07-19 15:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 15:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:09:37] 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-07-19 15:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820118016001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820118016001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:09:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820118016001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":137648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:09:37] local.INFO: GPS data processed {"connection_id":137648,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:09:37] local.INFO: Acknowledgment sent {"connection_id":137648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:09:51] local.INFO: TCP Data received {"connection_id":136692,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:09:51] local.INFO: Processing buffer {"connection_id":136692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:09:51] local.INFO: IMEI packet received {"connection_id":136692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":136692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:09:56] local.INFO: TCP Data received {"connection_id":136692,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:09:56] local.INFO: Processing buffer {"connection_id":136692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:09:56] local.INFO: IMEI packet received {"connection_id":136692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":136692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:09:57] local.INFO: TCP Data received {"connection_id":136692,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79bd9740012d196740071fee88003f004c2c..."} 
[2026-07-19 15:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79bd9740012d196740071fee88003f004c2c..."} 
[2026-07-19 15:09:57] local.INFO: Processing buffer {"connection_id":136692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79bd9740012d196740071fee88003f004c2c..."} 
[2026-07-19 15:09:57] local.INFO: Packet analysis {"connection_id":136692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79bd"} 
[2026-07-19 15:09:57] local.INFO: Extracted packet for processing {"connection_id":136692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79bd"} 
[2026-07-19 15:09:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820192000001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:09: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-07-19 15:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784453896000,"timestamp_ms":1784453896000,"timestamp_seconds":1784453896,"priority":1,"record_length":96,"hex_timestamp":"0000019f79bd9740"} 
[2026-07-19 15:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:09:57] 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-07-19 15: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":46,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-07-19 15:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1211,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820192000001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820192000001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:09:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:09:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820192000001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":136692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:09:57] local.INFO: GPS data processed {"connection_id":136692,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:09:57] local.INFO: Acknowledgment sent {"connection_id":136692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:10:09] local.INFO: TCP Data received {"connection_id":137648,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:10:09] local.INFO: Processing buffer {"connection_id":137648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:10:09] local.INFO: Packet analysis {"connection_id":137648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79bd"} 
[2026-07-19 15:10:09] local.INFO: Extracted packet for processing {"connection_id":137648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79bd"} 
[2026-07-19 15:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820118016001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:10: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-07-19 15:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784453887000,"timestamp_ms":1784453887000,"timestamp_seconds":1784453887,"priority":1,"record_length":96,"hex_timestamp":"0000019f79bd7418"} 
[2026-07-19 15:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 15:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:10: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-07-19 15:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820118016001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820118016001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820118016001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":137648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:10:09] local.INFO: GPS data processed {"connection_id":137648,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:10:09] local.INFO: Acknowledgment sent {"connection_id":137648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:10:28] local.INFO: TCP Data received {"connection_id":136692,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79bde948012d196740071fee88003f004c2b..."} 
[2026-07-19 15:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79bde948012d196740071fee88003f004c2b..."} 
[2026-07-19 15:10:28] local.INFO: Processing buffer {"connection_id":136692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79bde948012d196740071fee88003f004c2b..."} 
[2026-07-19 15:10:28] local.INFO: Packet analysis {"connection_id":136692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79bd"} 
[2026-07-19 15:10:28] local.INFO: Extracted packet for processing {"connection_id":136692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79bd"} 
[2026-07-19 15:10:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820197376001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:10: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-07-19 15:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784453917000,"timestamp_ms":1784453917000,"timestamp_seconds":1784453917,"priority":1,"record_length":96,"hex_timestamp":"0000019f79bde948"} 
[2026-07-19 15:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:10: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-07-19 15:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 15:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820197376001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820197376001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:10:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:10:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820197376001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":136692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:10:28] local.INFO: GPS data processed {"connection_id":136692,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:10:28] local.INFO: Acknowledgment sent {"connection_id":136692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:10:36] local.INFO: TCP Data received {"connection_id":139043,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:10:36] local.INFO: Processing buffer {"connection_id":139043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:10:36] local.INFO: IMEI packet received {"connection_id":139043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":139043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:10:41] local.INFO: TCP Data received {"connection_id":139043,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:10:41] local.INFO: Processing buffer {"connection_id":139043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:10:41] local.INFO: IMEI packet received {"connection_id":139043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":139043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:10:42] local.INFO: TCP Data received {"connection_id":139043,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:10:42] local.INFO: Processing buffer {"connection_id":139043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:10:42] local.INFO: Packet analysis {"connection_id":139043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79bd"} 
[2026-07-19 15:10:42] local.INFO: Extracted packet for processing {"connection_id":139043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79bd"} 
[2026-07-19 15:10:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820118016001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784453887000,"timestamp_ms":1784453887000,"timestamp_seconds":1784453887,"priority":1,"record_length":96,"hex_timestamp":"0000019f79bd7418"} 
[2026-07-19 15:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 15:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:10:42] 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-07-19 15:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820118016001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820118016001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:10:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:10:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820118016001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":139043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:10:42] local.INFO: GPS data processed {"connection_id":139043,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:10:42] local.INFO: Acknowledgment sent {"connection_id":139043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:10:47] local.INFO: TCP Data received {"connection_id":139043,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:10:47] local.INFO: Processing buffer {"connection_id":139043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:10:47] local.INFO: Packet analysis {"connection_id":139043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79bd"} 
[2026-07-19 15:10:47] local.INFO: Extracted packet for processing {"connection_id":139043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79bd"} 
[2026-07-19 15:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820118016001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784453887000,"timestamp_ms":1784453887000,"timestamp_seconds":1784453887,"priority":1,"record_length":96,"hex_timestamp":"0000019f79bd7418"} 
[2026-07-19 15:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 15:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":139043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":139043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":139043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820118016001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820118016001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:10:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820118016001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":139043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:10:47] local.INFO: GPS data processed {"connection_id":139043,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:10:47] local.INFO: Acknowledgment sent {"connection_id":139043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:10:56] local.INFO: TCP Data received {"connection_id":136564,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:10:56] local.INFO: Processing buffer {"connection_id":136564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:10:56] local.INFO: IMEI packet received {"connection_id":136564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":136564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:11:00] local.INFO: TCP Data received {"connection_id":136564,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:11:00] local.INFO: Processing buffer {"connection_id":136564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:11:00] local.INFO: IMEI packet received {"connection_id":136564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":136564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:11:01] local.INFO: TCP Data received {"connection_id":136564,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79be3b50012d196740071fee88003f004c2b..."} 
[2026-07-19 15:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79be3b50012d196740071fee88003f004c2b..."} 
[2026-07-19 15:11:01] local.INFO: Processing buffer {"connection_id":136564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79be3b50012d196740071fee88003f004c2b..."} 
[2026-07-19 15:11:01] local.INFO: Packet analysis {"connection_id":136564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79be"} 
[2026-07-19 15:11:01] local.INFO: Extracted packet for processing {"connection_id":136564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79be"} 
[2026-07-19 15:11:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820202752001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784453938000,"timestamp_ms":1784453938000,"timestamp_seconds":1784453938,"priority":1,"record_length":96,"hex_timestamp":"0000019f79be3b50"} 
[2026-07-19 15:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:11: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-07-19 15: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 15:11:01] 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-07-19 15: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-07-19 15:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820202752001,"66":11993,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820202752001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:11:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:11:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820202752001,"power":11993,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":136564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:11:01] local.INFO: GPS data processed {"connection_id":136564,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:11:01] local.INFO: Acknowledgment sent {"connection_id":136564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:11:02] local.INFO: TCP Data received {"connection_id":136564,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79be8d58012d196740071fee88003f004c2e..."} 
[2026-07-19 15:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79be8d58012d196740071fee88003f004c2e..."} 
[2026-07-19 15:11:02] local.INFO: Processing buffer {"connection_id":136564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79be8d58012d196740071fee88003f004c2e..."} 
[2026-07-19 15:11:02] local.INFO: Packet analysis {"connection_id":136564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79be"} 
[2026-07-19 15:11:02] local.INFO: Extracted packet for processing {"connection_id":136564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79be"} 
[2026-07-19 15:11:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820208128001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11: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-07-19 15:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784453959000,"timestamp_ms":1784453959000,"timestamp_seconds":1784453959,"priority":1,"record_length":96,"hex_timestamp":"0000019f79be8d58"} 
[2026-07-19 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-07-19 15:11: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-07-19 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":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-19 15:11:02] 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-07-19 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-07-19 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-07-19 15:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820208128001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820208128001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:11:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:11:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820208128001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":136564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:11:02] local.INFO: GPS data processed {"connection_id":136564,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:11:02] local.INFO: Acknowledgment sent {"connection_id":136564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:11:31] local.INFO: TCP Data received {"connection_id":136566,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:11:31] local.INFO: Processing buffer {"connection_id":136566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:11:31] local.INFO: IMEI packet received {"connection_id":136566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":136566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:11:33] local.INFO: TCP Data received {"connection_id":136564,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79bedf60012d196740071fee88003f004c2e..."} 
[2026-07-19 15:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79bedf60012d196740071fee88003f004c2e..."} 
[2026-07-19 15:11:33] local.INFO: Processing buffer {"connection_id":136564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79bedf60012d196740071fee88003f004c2e..."} 
[2026-07-19 15:11:33] local.INFO: Packet analysis {"connection_id":136564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79be"} 
[2026-07-19 15:11:33] local.INFO: Extracted packet for processing {"connection_id":136564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79be"} 
[2026-07-19 15:11:33] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820213504001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:33] 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-07-19 15:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784453980000,"timestamp_ms":1784453980000,"timestamp_seconds":1784453980,"priority":1,"record_length":96,"hex_timestamp":"0000019f79bedf60"} 
[2026-07-19 15:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:33] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:33] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:33] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8771973173088164199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:33] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:33] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21439377230004224,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:33] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:33] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3351241955205382350,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:33] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3175430145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:11:33] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495800,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:33] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:33] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,144,159,59,45,64,238,63,43,10,66,233,151,1,240,222,227,121,31,4,113,205,243,136,44,239,47,2,25,7,46],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:11:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712184841666560,"timestamp_seconds":4539712184841667.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":136564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":136564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":136564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820213504001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820213504001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:11:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:11:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820213504001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":136564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:11:33] local.INFO: GPS data processed {"connection_id":136564,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:11:33] local.INFO: Acknowledgment sent {"connection_id":136564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:11:36] local.INFO: TCP Data received {"connection_id":136566,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:11:36] local.INFO: Processing buffer {"connection_id":136566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:11:36] local.INFO: IMEI packet received {"connection_id":136566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":136566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:11:37] local.INFO: TCP Data received {"connection_id":136566,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:11:37] local.INFO: Processing buffer {"connection_id":136566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:11:37] local.INFO: Packet analysis {"connection_id":136566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79bd"} 
[2026-07-19 15:11:37] local.INFO: Extracted packet for processing {"connection_id":136566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79bd"} 
[2026-07-19 15:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820118016001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11: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-07-19 15:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784453887000,"timestamp_ms":1784453887000,"timestamp_seconds":1784453887,"priority":1,"record_length":96,"hex_timestamp":"0000019f79bd7418"} 
[2026-07-19 15:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 15:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820118016001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820118016001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820118016001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":136566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:11:37] local.INFO: GPS data processed {"connection_id":136566,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:11:37] local.INFO: Acknowledgment sent {"connection_id":136566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:11:51] local.INFO: TCP Data received {"connection_id":136693,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:11:51] local.INFO: Processing buffer {"connection_id":136693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:11:51] local.INFO: IMEI packet received {"connection_id":136693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":136693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:11:56] local.INFO: TCP Data received {"connection_id":136693,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:11:56] local.INFO: Processing buffer {"connection_id":136693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:11:56] local.INFO: IMEI packet received {"connection_id":136693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":136693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:11:57] local.INFO: TCP Data received {"connection_id":136693,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79bf3168012d196740071fee88003f004c2c..."} 
[2026-07-19 15:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79bf3168012d196740071fee88003f004c2c..."} 
[2026-07-19 15:11:57] local.INFO: Processing buffer {"connection_id":136693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79bf3168012d196740071fee88003f004c2c..."} 
[2026-07-19 15:11:57] local.INFO: Packet analysis {"connection_id":136693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79bf"} 
[2026-07-19 15:11:57] local.INFO: Extracted packet for processing {"connection_id":136693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79bf"} 
[2026-07-19 15:11:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820218880001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 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-07-19 15:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784454001000,"timestamp_ms":1784454001000,"timestamp_seconds":1784454001,"priority":1,"record_length":96,"hex_timestamp":"0000019f79bf3168"} 
[2026-07-19 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-07-19 15:11:57] 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-07-19 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 15:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820218880001,"66":12265,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820218880001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:11:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:11:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820218880001,"power":12265,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":136693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:11:57] local.INFO: GPS data processed {"connection_id":136693,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:11:57] local.INFO: Acknowledgment sent {"connection_id":136693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:12:11] local.INFO: TCP Data received {"connection_id":137650,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:12:11] local.INFO: Processing buffer {"connection_id":137650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:12:11] local.INFO: IMEI packet received {"connection_id":137650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":137650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:12:28] local.INFO: TCP Data received {"connection_id":136693,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79bf8370012d196740071fee88003f004c2d..."} 
[2026-07-19 15:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79bf8370012d196740071fee88003f004c2d..."} 
[2026-07-19 15:12:28] local.INFO: Processing buffer {"connection_id":136693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79bf8370012d196740071fee88003f004c2d..."} 
[2026-07-19 15:12:28] local.INFO: Packet analysis {"connection_id":136693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79bf"} 
[2026-07-19 15:12:28] local.INFO: Extracted packet for processing {"connection_id":136693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79bf"} 
[2026-07-19 15:12:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820224256001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 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-07-19 15:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784454022000,"timestamp_ms":1784454022000,"timestamp_seconds":1784454022,"priority":1,"record_length":96,"hex_timestamp":"0000019f79bf8370"} 
[2026-07-19 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-07-19 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-07-19 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 15:12:28] 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-07-19 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-07-19 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-07-19 15:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820224256001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820224256001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:12:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:12:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820224256001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":136693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:12:28] local.INFO: GPS data processed {"connection_id":136693,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:12:28] local.INFO: Acknowledgment sent {"connection_id":136693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:12:41] local.INFO: TCP Data received {"connection_id":136567,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:12:41] local.INFO: Processing buffer {"connection_id":136567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:12:41] local.INFO: IMEI packet received {"connection_id":136567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":136567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:12:46] local.INFO: TCP Data received {"connection_id":136567,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:12:46] local.INFO: Processing buffer {"connection_id":136567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:12:46] local.INFO: IMEI packet received {"connection_id":136567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":136567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:12:47] local.INFO: TCP Data received {"connection_id":136567,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:12:47] local.INFO: Processing buffer {"connection_id":136567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:12:47] local.INFO: Packet analysis {"connection_id":136567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79bd"} 
[2026-07-19 15:12:47] local.INFO: Extracted packet for processing {"connection_id":136567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79bd"} 
[2026-07-19 15:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820118016001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784453887000,"timestamp_ms":1784453887000,"timestamp_seconds":1784453887,"priority":1,"record_length":96,"hex_timestamp":"0000019f79bd7418"} 
[2026-07-19 15:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 15:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820118016001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820118016001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:12:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820118016001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":136567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:12:47] local.INFO: GPS data processed {"connection_id":136567,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:12:47] local.INFO: Acknowledgment sent {"connection_id":136567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:12:51] local.INFO: TCP Data received {"connection_id":139044,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:12:51] local.INFO: Processing buffer {"connection_id":139044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:12:51] local.INFO: IMEI packet received {"connection_id":139044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":139044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:12:56] local.INFO: TCP Data received {"connection_id":139044,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:12:56] local.INFO: Processing buffer {"connection_id":139044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:12:56] local.INFO: IMEI packet received {"connection_id":139044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":139044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:12:57] local.INFO: TCP Data received {"connection_id":139044,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79bfd578012d196740071fee88003f004c2d..."} 
[2026-07-19 15:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79bfd578012d196740071fee88003f004c2d..."} 
[2026-07-19 15:12:57] local.INFO: Processing buffer {"connection_id":139044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79bfd578012d196740071fee88003f004c2d..."} 
[2026-07-19 15:12:57] local.INFO: Packet analysis {"connection_id":139044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79bf"} 
[2026-07-19 15:12:57] local.INFO: Extracted packet for processing {"connection_id":139044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79bf"} 
[2026-07-19 15:12:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820229632001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:12: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-07-19 15:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784454043000,"timestamp_ms":1784454043000,"timestamp_seconds":1784454043,"priority":1,"record_length":96,"hex_timestamp":"0000019f79bfd578"} 
[2026-07-19 15:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:12:57] 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-07-19 15:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820229632001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820229632001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:12:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:12:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820229632001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":139044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:12:57] local.INFO: GPS data processed {"connection_id":139044,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:12:57] local.INFO: Acknowledgment sent {"connection_id":139044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:13:26] local.INFO: TCP Data received {"connection_id":137651,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:13:26] local.INFO: Processing buffer {"connection_id":137651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:13:26] local.INFO: IMEI packet received {"connection_id":137651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 15:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":137651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:13:28] local.INFO: TCP Data received {"connection_id":139044,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c02780012d196740071fee88003f004c2d..."} 
[2026-07-19 15:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c02780012d196740071fee88003f004c2d..."} 
[2026-07-19 15:13:28] local.INFO: Processing buffer {"connection_id":139044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c02780012d196740071fee88003f004c2d..."} 
[2026-07-19 15:13:28] local.INFO: Packet analysis {"connection_id":139044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c0"} 
[2026-07-19 15:13:28] local.INFO: Extracted packet for processing {"connection_id":139044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c0"} 
[2026-07-19 15:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820235008001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:13: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-07-19 15:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784454064000,"timestamp_ms":1784454064000,"timestamp_seconds":1784454064,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c02780"} 
[2026-07-19 15:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:13: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-07-19 15:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:13:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:13:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:13:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:13:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:13:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8772333950341028199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:13:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:13:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21439377230004224,"note":"Value kept but may cause issues"} 
[2026-07-19 15:13:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-07-19 15:13:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195247100690638,"note":"Value kept but may cause issues"} 
[2026-07-19 15:13:28] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3196934145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:13:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:13:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:13:28] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3640708472,"note":"Value kept but may cause issues"} 
[2026-07-19 15:13:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:13:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,131,45,64,238,63,10,66,49,44,223,1,240,255,227,121,31,4,113,205,59,136,43,239,46,2,25,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:13:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712180546699264,"timestamp_seconds":4539712180546699.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820235008001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820235008001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:13:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:13:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820235008001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":139044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:13:28] local.INFO: GPS data processed {"connection_id":139044,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:13:28] local.INFO: Acknowledgment sent {"connection_id":139044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:13:31] local.INFO: TCP Data received {"connection_id":139045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:13:31] local.INFO: Processing buffer {"connection_id":139045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:13:31] local.INFO: IMEI packet received {"connection_id":139045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":139045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:13:36] local.INFO: TCP Data received {"connection_id":139045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:13:36] local.INFO: Processing buffer {"connection_id":139045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:13:36] local.INFO: IMEI packet received {"connection_id":139045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":139045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:13:37] local.INFO: TCP Data received {"connection_id":139045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:13:37] local.INFO: Processing buffer {"connection_id":139045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79bd7418012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:13:37] local.INFO: Packet analysis {"connection_id":139045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79bd"} 
[2026-07-19 15:13:37] local.INFO: Extracted packet for processing {"connection_id":139045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79bd"} 
[2026-07-19 15:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820118016001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:13: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-07-19 15:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784453887000,"timestamp_ms":1784453887000,"timestamp_seconds":1784453887,"priority":1,"record_length":96,"hex_timestamp":"0000019f79bd7418"} 
[2026-07-19 15:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 15:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:13: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-07-19 15:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820118016001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820118016001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:13:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820118016001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":139045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:13:37] local.INFO: GPS data processed {"connection_id":139045,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:13:37] local.INFO: Acknowledgment sent {"connection_id":139045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:13:51] local.INFO: TCP Data received {"connection_id":136568,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:13:51] local.INFO: Processing buffer {"connection_id":136568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:13:51] local.INFO: IMEI packet received {"connection_id":136568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":136568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:13:56] local.INFO: TCP Data received {"connection_id":136568,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:13:56] local.INFO: Processing buffer {"connection_id":136568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:13:56] local.INFO: IMEI packet received {"connection_id":136568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":136568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:13:57] local.INFO: TCP Data received {"connection_id":136568,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c07988012d196740071fee88003f004c2d..."} 
[2026-07-19 15:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c07988012d196740071fee88003f004c2d..."} 
[2026-07-19 15:13:57] local.INFO: Processing buffer {"connection_id":136568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c07988012d196740071fee88003f004c2d..."} 
[2026-07-19 15:13:57] local.INFO: Packet analysis {"connection_id":136568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c0"} 
[2026-07-19 15:13:57] local.INFO: Extracted packet for processing {"connection_id":136568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c0"} 
[2026-07-19 15:13:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820240384001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:13: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-07-19 15:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784454085000,"timestamp_ms":1784454085000,"timestamp_seconds":1784454085,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c07988"} 
[2026-07-19 15:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:13:57] 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-07-19 15:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820240384001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820240384001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:13:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:13:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820240384001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":136568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:13:57] local.INFO: GPS data processed {"connection_id":136568,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:13:57] local.INFO: Acknowledgment sent {"connection_id":136568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:14:09] local.INFO: TCP Data received {"connection_id":139045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:14:09] local.INFO: Processing buffer {"connection_id":139045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:14:09] local.INFO: Packet analysis {"connection_id":139045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:14:09] local.INFO: Extracted packet for processing {"connection_id":139045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820195072001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14: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-07-19 15:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784454188000,"timestamp_ms":1784454188000,"timestamp_seconds":1784454188,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c20be0"} 
[2026-07-19 15:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:14: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-07-19 15:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820195072001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820195072001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:14:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820195072001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":139045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:14:09] local.INFO: GPS data processed {"connection_id":139045,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:14:09] local.INFO: Acknowledgment sent {"connection_id":139045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:14:28] local.INFO: TCP Data received {"connection_id":136568,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c0cb90012d196740071fee88003f004c2d..."} 
[2026-07-19 15:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c0cb90012d196740071fee88003f004c2d..."} 
[2026-07-19 15:14:28] local.INFO: Processing buffer {"connection_id":136568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c0cb90012d196740071fee88003f004c2d..."} 
[2026-07-19 15:14:28] local.INFO: Packet analysis {"connection_id":136568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c0"} 
[2026-07-19 15:14:28] local.INFO: Extracted packet for processing {"connection_id":136568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c0"} 
[2026-07-19 15:14:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820245760001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14: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-07-19 15:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784454106000,"timestamp_ms":1784454106000,"timestamp_seconds":1784454106,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c0cb90"} 
[2026-07-19 15:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:14: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-07-19 15:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820245760001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820245760001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:14:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:14:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820245760001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":136568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:14:28] local.INFO: GPS data processed {"connection_id":136568,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:14:28] local.INFO: Acknowledgment sent {"connection_id":136568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:14:36] local.INFO: TCP Data received {"connection_id":136569,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:14:36] local.INFO: Processing buffer {"connection_id":136569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:14:36] local.INFO: IMEI packet received {"connection_id":136569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":136569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:14:41] local.INFO: TCP Data received {"connection_id":136569,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:14:41] local.INFO: Processing buffer {"connection_id":136569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:14:41] local.INFO: IMEI packet received {"connection_id":136569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":136569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:14:42] local.INFO: TCP Data received {"connection_id":136569,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:14:42] local.INFO: Processing buffer {"connection_id":136569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:14:42] local.INFO: Packet analysis {"connection_id":136569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:14:42] local.INFO: Extracted packet for processing {"connection_id":136569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:14:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820195072001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784454188000,"timestamp_ms":1784454188000,"timestamp_seconds":1784454188,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c20be0"} 
[2026-07-19 15:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820195072001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820195072001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:14:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:14:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820195072001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":136569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:14:42] local.INFO: GPS data processed {"connection_id":136569,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:14:42] local.INFO: Acknowledgment sent {"connection_id":136569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:14:46] local.INFO: TCP Data received {"connection_id":136569,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:14:46] local.INFO: Processing buffer {"connection_id":136569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:14:46] local.INFO: Packet analysis {"connection_id":136569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:14:46] local.INFO: Extracted packet for processing {"connection_id":136569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:14:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820195072001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784454188000,"timestamp_ms":1784454188000,"timestamp_seconds":1784454188,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c20be0"} 
[2026-07-19 15:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":136569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":136569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":136569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820195072001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820195072001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:14:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:14:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820195072001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":136569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:14:46] local.INFO: GPS data processed {"connection_id":136569,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:14:46] local.INFO: Acknowledgment sent {"connection_id":136569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:14:51] local.INFO: TCP Data received {"connection_id":137652,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:14:51] local.INFO: Processing buffer {"connection_id":137652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:14:51] local.INFO: IMEI packet received {"connection_id":137652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":137652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:14:51] local.INFO: TCP Data received {"connection_id":137652,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:14:51] local.INFO: Processing buffer {"connection_id":137652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:14:51] local.INFO: IMEI packet received {"connection_id":137652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":137652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:14:56] local.INFO: TCP Data received {"connection_id":137652,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:14:56] local.INFO: Processing buffer {"connection_id":137652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:14:56] local.INFO: IMEI packet received {"connection_id":137652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":137652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:14:57] local.INFO: TCP Data received {"connection_id":137652,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c11d98012d196740071fee88003f004c2c..."} 
[2026-07-19 15:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c11d98012d196740071fee88003f004c2c..."} 
[2026-07-19 15:14:57] local.INFO: Processing buffer {"connection_id":137652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c11d98012d196740071fee88003f004c2c..."} 
[2026-07-19 15:14:57] local.INFO: Packet analysis {"connection_id":137652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c1"} 
[2026-07-19 15:14:57] local.INFO: Extracted packet for processing {"connection_id":137652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c1"} 
[2026-07-19 15:14:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820251136001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14: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-07-19 15:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784454127000,"timestamp_ms":1784454127000,"timestamp_seconds":1784454127,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c11d98"} 
[2026-07-19 15:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:14:57] 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-07-19 15:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8772604533280676199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3213062145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21442675764887552,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:14:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3909143928,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:14:57] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,103,83,24,241,157,16,144,159,121,45,64,238,63,10,66,39,213,1,240,227,31,4,113,205,49,136,44,239,47,2,25,7,46],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:14:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712180546699264,"timestamp_seconds":4539712180546699.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820251136001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820251136001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:14:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:14:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820251136001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":137652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:14:57] local.INFO: GPS data processed {"connection_id":137652,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:14:57] local.INFO: Acknowledgment sent {"connection_id":137652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:15:28] local.INFO: TCP Data received {"connection_id":137652,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c16fa0012d196740071fee88003f004c2d..."} 
[2026-07-19 15:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c16fa0012d196740071fee88003f004c2d..."} 
[2026-07-19 15:15:28] local.INFO: Processing buffer {"connection_id":137652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c16fa0012d196740071fee88003f004c2d..."} 
[2026-07-19 15:15:28] local.INFO: Packet analysis {"connection_id":137652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c1"} 
[2026-07-19 15:15:28] local.INFO: Extracted packet for processing {"connection_id":137652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c1"} 
[2026-07-19 15:15:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820256512001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:15: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-07-19 15:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784454148000,"timestamp_ms":1784454148000,"timestamp_seconds":1784454148,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c16fa0"} 
[2026-07-19 15:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:15: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-07-19 15:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:15:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:15:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:15:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:15:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:15:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8772694727593892199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:15:28] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":36865,"corrected_to":0} 
[2026-07-19 15:15:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:15:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21440476741632000,"note":"Value kept but may cause issues"} 
[2026-07-19 15:15:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-07-19 15:15:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3452291471844507854,"note":"Value kept but may cause issues"} 
[2026-07-19 15:15:28] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3218438145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:15:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:15:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:15:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 15:15:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:15:28] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,103,83,24,241,157,16,144,159,203,45,64,238,63,10,66,121,39,1,240,255,227,31,4,113,205,131,136,239,47,2,25,7,46],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":203,"original":36865,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:15:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712176251731968,"timestamp_seconds":4539712176251732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820256512001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820256512001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:15:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:15:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820256512001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":137652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:15:28] local.INFO: GPS data processed {"connection_id":137652,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:15:28] local.INFO: Acknowledgment sent {"connection_id":137652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:15:31] local.INFO: TCP Data received {"connection_id":139047,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:15:31] local.INFO: Processing buffer {"connection_id":139047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:15:31] local.INFO: IMEI packet received {"connection_id":139047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":139047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:15:36] local.INFO: TCP Data received {"connection_id":139047,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:15:36] local.INFO: Processing buffer {"connection_id":139047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:15:36] local.INFO: IMEI packet received {"connection_id":139047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":139047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:15:37] local.INFO: TCP Data received {"connection_id":139047,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:15:37] local.INFO: Processing buffer {"connection_id":139047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:15:37] local.INFO: Packet analysis {"connection_id":139047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:15:37] local.INFO: Extracted packet for processing {"connection_id":139047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820195072001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:15: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-07-19 15:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784454188000,"timestamp_ms":1784454188000,"timestamp_seconds":1784454188,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c20be0"} 
[2026-07-19 15:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820195072001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820195072001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820195072001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":139047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:15:37] local.INFO: GPS data processed {"connection_id":139047,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:15:37] local.INFO: Acknowledgment sent {"connection_id":139047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:15:51] local.INFO: TCP Data received {"connection_id":139048,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:15:51] local.INFO: Processing buffer {"connection_id":139048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:15:51] local.INFO: IMEI packet received {"connection_id":139048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":139048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:15:54] local.INFO: TCP Data received {"connection_id":139048,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:15:54] local.INFO: Processing buffer {"connection_id":139048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:15:54] local.INFO: IMEI packet received {"connection_id":139048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":139048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:15:56] local.INFO: TCP Data received {"connection_id":139048,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:15:56] local.INFO: Processing buffer {"connection_id":139048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:15:56] local.INFO: IMEI packet received {"connection_id":139048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":139048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:15:57] local.INFO: TCP Data received {"connection_id":139048,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c1c1a8012d196740071fee88003f004c2c..."} 
[2026-07-19 15:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c1c1a8012d196740071fee88003f004c2c..."} 
[2026-07-19 15:15:57] local.INFO: Processing buffer {"connection_id":139048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c1c1a8012d196740071fee88003f004c2c..."} 
[2026-07-19 15:15:57] local.INFO: Packet analysis {"connection_id":139048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c1"} 
[2026-07-19 15:15:57] local.INFO: Extracted packet for processing {"connection_id":139048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c1"} 
[2026-07-19 15:15:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820261888001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:15: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-07-19 15:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784454169000,"timestamp_ms":1784454169000,"timestamp_seconds":1784454169,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c1c1a8"} 
[2026-07-19 15:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:15:57] 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-07-19 15:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:15:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820261888001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820261888001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:15:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:15:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820261888001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":139048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:15:57] local.INFO: GPS data processed {"connection_id":139048,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:15:57] local.INFO: Acknowledgment sent {"connection_id":139048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:16:09] local.INFO: TCP Data received {"connection_id":139047,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:16:09] local.INFO: Processing buffer {"connection_id":139047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:16:09] local.INFO: Packet analysis {"connection_id":139047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:16:09] local.INFO: Extracted packet for processing {"connection_id":139047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820195072001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16: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-07-19 15:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784454188000,"timestamp_ms":1784454188000,"timestamp_seconds":1784454188,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c20be0"} 
[2026-07-19 15:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820195072001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820195072001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820195072001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":139047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:16:09] local.INFO: GPS data processed {"connection_id":139047,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:16:09] local.INFO: Acknowledgment sent {"connection_id":139047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:16:28] local.INFO: TCP Data received {"connection_id":139048,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c213b0012d196740071fee88003f004c2c..."} 
[2026-07-19 15:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c213b0012d196740071fee88003f004c2c..."} 
[2026-07-19 15:16:28] local.INFO: Processing buffer {"connection_id":139048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c213b0012d196740071fee88003f004c2c..."} 
[2026-07-19 15:16:28] local.INFO: Packet analysis {"connection_id":139048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:16:28] local.INFO: Extracted packet for processing {"connection_id":139048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:16:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820267264001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16: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-07-19 15:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784454190000,"timestamp_ms":1784454190000,"timestamp_seconds":1784454190,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c213b0"} 
[2026-07-19 15:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:16: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-07-19 15:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8772875116220324199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21441576253259776,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:28] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":36865,"corrected_to":0} 
[2026-07-19 15:16:28] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3229190145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:16:28] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:28] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,103,83,24,241,157,16,144,159,111,45,64,238,63,10,66,29,44,203,1,240,227,121,31,4,113,205,39,136,239,47,2,25,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":203,"original":36865,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:16:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712176251731968,"timestamp_seconds":4539712176251732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820267264001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820267264001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:16:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:16:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820267264001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":139048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:16:28] local.INFO: GPS data processed {"connection_id":139048,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:16:28] local.INFO: Acknowledgment sent {"connection_id":139048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:16:31] local.INFO: TCP Data received {"connection_id":139049,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:16:31] local.INFO: Processing buffer {"connection_id":139049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:16:31] local.INFO: IMEI packet received {"connection_id":139049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":139049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:16:36] local.INFO: TCP Data received {"connection_id":139049,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:16:36] local.INFO: Processing buffer {"connection_id":139049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:16:36] local.INFO: IMEI packet received {"connection_id":139049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":139049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:16:38] local.INFO: TCP Data received {"connection_id":139049,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:16:38] local.INFO: Processing buffer {"connection_id":139049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:16:38] local.INFO: Packet analysis {"connection_id":139049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:16:38] local.INFO: Extracted packet for processing {"connection_id":139049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:16:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820195072001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16: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-07-19 15:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784454188000,"timestamp_ms":1784454188000,"timestamp_seconds":1784454188,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c20be0"} 
[2026-07-19 15:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":139049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":139049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":139049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:16:38] 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-07-19 15:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820195072001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820195072001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:16:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:16:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820195072001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":139049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:16:38] local.INFO: GPS data processed {"connection_id":139049,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:16:38] local.INFO: Acknowledgment sent {"connection_id":139049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:16:56] local.INFO: TCP Data received {"connection_id":136695,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:16:56] local.INFO: Processing buffer {"connection_id":136695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:16:56] local.INFO: IMEI packet received {"connection_id":136695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":136695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:16:57] local.INFO: TCP Data received {"connection_id":136695,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:16:57] local.INFO: Processing buffer {"connection_id":136695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:16:57] local.INFO: IMEI packet received {"connection_id":136695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":136695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:16:58] local.INFO: TCP Data received {"connection_id":136695,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c265b8012d196740071fee88003f004c2b..."} 
[2026-07-19 15:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c265b8012d196740071fee88003f004c2b..."} 
[2026-07-19 15:16:58] local.INFO: Processing buffer {"connection_id":136695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c265b8012d196740071fee88003f004c2b..."} 
[2026-07-19 15:16:58] local.INFO: Packet analysis {"connection_id":136695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:16:58] local.INFO: Extracted packet for processing {"connection_id":136695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:16:58] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820272640001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784454211000,"timestamp_ms":1784454211000,"timestamp_seconds":1784454211,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c265b8"} 
[2026-07-19 15:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:16:58] 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-07-19 15:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820272640001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820272640001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:16:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:16:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820272640001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":136695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:16:58] local.INFO: GPS data processed {"connection_id":136695,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:16:58] local.INFO: Acknowledgment sent {"connection_id":136695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:17:01] local.INFO: TCP Data received {"connection_id":136695,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c2b7c0012d196740071fee88003f004c29..."} 
[2026-07-19 15:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c2b7c0012d196740071fee88003f004c29..."} 
[2026-07-19 15:17:01] local.INFO: Processing buffer {"connection_id":136695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c2b7c0012d196740071fee88003f004c29..."} 
[2026-07-19 15:17:01] local.INFO: Packet analysis {"connection_id":136695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:17:01] local.INFO: Extracted packet for processing {"connection_id":136695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:17:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820278016001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784454232000,"timestamp_ms":1784454232000,"timestamp_seconds":1784454232,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c2b7c0"} 
[2026-07-19 15:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:17: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-07-19 15: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:01] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:01] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:01] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:01] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8773055504846756199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:01] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:01] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21441576253259776,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:01] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:01] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:01] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3239942145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:01] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:17:01] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2415996185,"corrected_to":0} 
[2026-07-19 15:17:01] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:01] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,19,45,64,238,63,44,10,66,193,111,1,240,255,227,121,31,4,113,205,203,136,239,48,2,25,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":203,"original":2415996185,"validated":0}]} 
[2026-07-19 15:17:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712171956764672,"timestamp_seconds":4539712171956765.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820278016001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820278016001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:17:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:17:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820278016001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":136695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:17:01] local.INFO: GPS data processed {"connection_id":136695,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:17:01] local.INFO: Acknowledgment sent {"connection_id":136695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:17:09] local.INFO: TCP Data received {"connection_id":139049,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:17:09] local.INFO: Processing buffer {"connection_id":139049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:17:09] local.INFO: Packet analysis {"connection_id":139049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:17:09] local.INFO: Extracted packet for processing {"connection_id":139049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820195072001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17: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-07-19 15:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784454188000,"timestamp_ms":1784454188000,"timestamp_seconds":1784454188,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c20be0"} 
[2026-07-19 15:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:17:09] 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-07-19 15:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820195072001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820195072001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:17:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:17:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820195072001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":139049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:17:09] local.INFO: GPS data processed {"connection_id":139049,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:17:09] local.INFO: Acknowledgment sent {"connection_id":139049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:17:31] local.INFO: TCP Data received {"connection_id":136696,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:17:31] local.INFO: Processing buffer {"connection_id":136696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:17:31] local.INFO: IMEI packet received {"connection_id":136696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":136696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:17:32] local.INFO: TCP Data received {"connection_id":136695,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c309c8012d196740071fee88003f004c29..."} 
[2026-07-19 15:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c309c8012d196740071fee88003f004c29..."} 
[2026-07-19 15:17:32] local.INFO: Processing buffer {"connection_id":136695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c309c8012d196740071fee88003f004c29..."} 
[2026-07-19 15:17:32] local.INFO: Packet analysis {"connection_id":136695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c3"} 
[2026-07-19 15:17:32] local.INFO: Extracted packet for processing {"connection_id":136695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c3"} 
[2026-07-19 15:17:32] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820283392001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784454253000,"timestamp_ms":1784454253000,"timestamp_seconds":1784454253,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c309c8"} 
[2026-07-19 15:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 15:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820283392001,"66":12004,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820283392001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:17:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:17:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820283392001,"power":12004,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":136695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:17:32] local.INFO: GPS data processed {"connection_id":136695,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:17:32] local.INFO: Acknowledgment sent {"connection_id":136695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:17:36] local.INFO: TCP Data received {"connection_id":136696,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:17:36] local.INFO: Processing buffer {"connection_id":136696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:17:36] local.INFO: IMEI packet received {"connection_id":136696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":136696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:17:37] local.INFO: TCP Data received {"connection_id":136696,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:17:37] local.INFO: Processing buffer {"connection_id":136696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:17:37] local.INFO: Packet analysis {"connection_id":136696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:17:37] local.INFO: Extracted packet for processing {"connection_id":136696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820195072001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17: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-07-19 15:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784454188000,"timestamp_ms":1784454188000,"timestamp_seconds":1784454188,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c20be0"} 
[2026-07-19 15:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:17:37] 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-07-19 15:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820195072001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820195072001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:17:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820195072001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":136696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:17:37] local.INFO: GPS data processed {"connection_id":136696,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:17:37] local.INFO: Acknowledgment sent {"connection_id":136696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:17:51] local.INFO: TCP Data received {"connection_id":139050,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:17:51] local.INFO: Processing buffer {"connection_id":139050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:17:51] local.INFO: IMEI packet received {"connection_id":139050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":139050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:17:56] local.INFO: TCP Data received {"connection_id":139050,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:17:56] local.INFO: Processing buffer {"connection_id":139050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:17:56] local.INFO: IMEI packet received {"connection_id":139050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":139050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:17:57] local.INFO: TCP Data received {"connection_id":139050,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c35bd0012d196740071fee88003f004c29..."} 
[2026-07-19 15:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c35bd0012d196740071fee88003f004c29..."} 
[2026-07-19 15:17:57] local.INFO: Processing buffer {"connection_id":139050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c35bd0012d196740071fee88003f004c29..."} 
[2026-07-19 15:17:57] local.INFO: Packet analysis {"connection_id":139050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c3"} 
[2026-07-19 15:17:57] local.INFO: Extracted packet for processing {"connection_id":139050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c3"} 
[2026-07-19 15:17:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820288768001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:17: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-07-19 15:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784454274000,"timestamp_ms":1784454274000,"timestamp_seconds":1784454274,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c35bd0"} 
[2026-07-19 15:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:17: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-07-19 15: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-19 15:17:57] 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-07-19 15: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-07-19 15:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820288768001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820288768001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:17:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:17:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820288768001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":139050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:17:57] local.INFO: GPS data processed {"connection_id":139050,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:17:57] local.INFO: Acknowledgment sent {"connection_id":139050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:18:10] local.INFO: TCP Data received {"connection_id":136696,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:18:10] local.INFO: Processing buffer {"connection_id":136696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:18:10] local.INFO: Packet analysis {"connection_id":136696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:18:10] local.INFO: Extracted packet for processing {"connection_id":136696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820195072001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:18: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-07-19 15:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784454188000,"timestamp_ms":1784454188000,"timestamp_seconds":1784454188,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c20be0"} 
[2026-07-19 15:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:18: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-07-19 15:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820195072001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820195072001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:18:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820195072001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":136696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:18:10] local.INFO: GPS data processed {"connection_id":136696,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:18:10] local.INFO: Acknowledgment sent {"connection_id":136696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:18:28] local.INFO: TCP Data received {"connection_id":139050,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c3add8012d196740071fee88003f004c2a..."} 
[2026-07-19 15:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c3add8012d196740071fee88003f004c2a..."} 
[2026-07-19 15:18:28] local.INFO: Processing buffer {"connection_id":139050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c3add8012d196740071fee88003f004c2a..."} 
[2026-07-19 15:18:28] local.INFO: Packet analysis {"connection_id":139050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c3"} 
[2026-07-19 15:18:28] local.INFO: Extracted packet for processing {"connection_id":139050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c3"} 
[2026-07-19 15:18:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820294144001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:18: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-07-19 15:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784454295000,"timestamp_ms":1784454295000,"timestamp_seconds":1784454295,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c3add8"} 
[2026-07-19 15:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:18: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-07-19 15: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 15:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820294144001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820294144001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:18:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:18:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820294144001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":139050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:18:28] local.INFO: GPS data processed {"connection_id":139050,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:18:28] local.INFO: Acknowledgment sent {"connection_id":139050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:18:31] local.INFO: TCP Data received {"connection_id":137653,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:18:31] local.INFO: Processing buffer {"connection_id":137653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:18:31] local.INFO: IMEI packet received {"connection_id":137653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":137653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:18:36] local.INFO: TCP Data received {"connection_id":137653,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:18:36] local.INFO: Processing buffer {"connection_id":137653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:18:36] local.INFO: IMEI packet received {"connection_id":137653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":137653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:18:37] local.INFO: TCP Data received {"connection_id":137653,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:18:37] local.INFO: Processing buffer {"connection_id":137653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c20be0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 15:18:37] local.INFO: Packet analysis {"connection_id":137653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:18:37] local.INFO: Extracted packet for processing {"connection_id":137653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c2"} 
[2026-07-19 15:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820195072001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:18: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-07-19 15:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784454188000,"timestamp_ms":1784454188000,"timestamp_seconds":1784454188,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c20be0"} 
[2026-07-19 15:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820195072001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820195072001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820195072001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":137653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:18:37] local.INFO: GPS data processed {"connection_id":137653,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:18:37] local.INFO: Acknowledgment sent {"connection_id":137653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:18:51] local.INFO: TCP Data received {"connection_id":139051,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:18:51] local.INFO: Processing buffer {"connection_id":139051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:18:51] local.INFO: IMEI packet received {"connection_id":139051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":139051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:18:51] local.INFO: TCP Data received {"connection_id":136697,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136697,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:18:51] local.INFO: Processing buffer {"connection_id":136697,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:18:51] local.INFO: IMEI packet received {"connection_id":136697,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 15:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":136697,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:18:56] local.INFO: TCP Data received {"connection_id":139051,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:18:56] local.INFO: Processing buffer {"connection_id":139051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:18:56] local.INFO: IMEI packet received {"connection_id":139051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":139051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:18:57] local.INFO: TCP Data received {"connection_id":139051,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c3ffe0012d196740071fee88003f004c2c..."} 
[2026-07-19 15:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c3ffe0012d196740071fee88003f004c2c..."} 
[2026-07-19 15:18:57] local.INFO: Processing buffer {"connection_id":139051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c3ffe0012d196740071fee88003f004c2c..."} 
[2026-07-19 15:18:57] local.INFO: Packet analysis {"connection_id":139051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c3"} 
[2026-07-19 15:18:57] local.INFO: Extracted packet for processing {"connection_id":139051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c3"} 
[2026-07-19 15:18:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820299520001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:18: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-07-19 15:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784454316000,"timestamp_ms":1784454316000,"timestamp_seconds":1784454316,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c3ffe0"} 
[2026-07-19 15:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:18: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-07-19 15:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:18:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820299520001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820299520001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:18:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:18:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820299520001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":139051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:18:57] local.INFO: GPS data processed {"connection_id":139051,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:18:57] local.INFO: Acknowledgment sent {"connection_id":139051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:19:09] local.INFO: TCP Data received {"connection_id":137653,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:19:09] local.INFO: Processing buffer {"connection_id":137653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:19:09] local.INFO: Packet analysis {"connection_id":137653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:19:09] local.INFO: Extracted packet for processing {"connection_id":137653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820272128001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:19: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-07-19 15:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784454489000,"timestamp_ms":1784454489000,"timestamp_seconds":1784454489,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c6a3a8"} 
[2026-07-19 15:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:19:09] 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-07-19 15:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820272128001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820272128001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:19:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820272128001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":137653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:19:09] local.INFO: GPS data processed {"connection_id":137653,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:19:09] local.INFO: Acknowledgment sent {"connection_id":137653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:19:26] local.INFO: TCP Data received {"connection_id":136698,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:19:26] local.INFO: Processing buffer {"connection_id":136698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:19:26] local.INFO: IMEI packet received {"connection_id":136698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 15:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":136698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:19:28] local.INFO: TCP Data received {"connection_id":139051,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c451e8012d196740071fee88003f004c2d..."} 
[2026-07-19 15:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c451e8012d196740071fee88003f004c2d..."} 
[2026-07-19 15:19:28] local.INFO: Processing buffer {"connection_id":139051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c451e8012d196740071fee88003f004c2d..."} 
[2026-07-19 15:19:28] local.INFO: Packet analysis {"connection_id":139051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c4"} 
[2026-07-19 15:19:28] local.INFO: Extracted packet for processing {"connection_id":139051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c4"} 
[2026-07-19 15:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820304896001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:19: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-07-19 15:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784454337000,"timestamp_ms":1784454337000,"timestamp_seconds":1784454337,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c451e8"} 
[2026-07-19 15:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:19: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-07-19 15:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820304896001,"66":11961,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820304896001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:19:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:19:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820304896001,"power":11961,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":139051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:19:28] local.INFO: GPS data processed {"connection_id":139051,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:19:28] local.INFO: Acknowledgment sent {"connection_id":139051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:19:31] local.INFO: TCP Data received {"connection_id":136699,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:19:31] local.INFO: Processing buffer {"connection_id":136699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:19:31] local.INFO: IMEI packet received {"connection_id":136699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":136699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:19:36] local.INFO: TCP Data received {"connection_id":136699,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:19:36] local.INFO: Processing buffer {"connection_id":136699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:19:36] local.INFO: IMEI packet received {"connection_id":136699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":136699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:19:37] local.INFO: TCP Data received {"connection_id":136699,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:19:37] local.INFO: Processing buffer {"connection_id":136699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:19:37] local.INFO: Packet analysis {"connection_id":136699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:19:37] local.INFO: Extracted packet for processing {"connection_id":136699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820272128001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:19: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-07-19 15:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784454489000,"timestamp_ms":1784454489000,"timestamp_seconds":1784454489,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c6a3a8"} 
[2026-07-19 15:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820272128001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820272128001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:19:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820272128001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":136699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:19:37] local.INFO: GPS data processed {"connection_id":136699,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:19:37] local.INFO: Acknowledgment sent {"connection_id":136699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:19:42] local.INFO: TCP Data received {"connection_id":136699,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:19:42] local.INFO: Processing buffer {"connection_id":136699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:19:42] local.INFO: Packet analysis {"connection_id":136699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:19:42] local.INFO: Extracted packet for processing {"connection_id":136699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:19:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:19: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-07-19 15:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820272128001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784454489000,"timestamp_ms":1784454489000,"timestamp_seconds":1784454489,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c6a3a8"} 
[2026-07-19 15:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820272128001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820272128001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:19:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:19:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820272128001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":136699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:19:42] local.INFO: GPS data processed {"connection_id":136699,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:19:42] local.INFO: Acknowledgment sent {"connection_id":136699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:19:51] local.INFO: TCP Data received {"connection_id":137654,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:19:51] local.INFO: Processing buffer {"connection_id":137654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:19:51] local.INFO: IMEI packet received {"connection_id":137654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":137654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:19:56] local.INFO: TCP Data received {"connection_id":137654,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:19:56] local.INFO: Processing buffer {"connection_id":137654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:19:56] local.INFO: IMEI packet received {"connection_id":137654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":137654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:19:57] local.INFO: TCP Data received {"connection_id":137654,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c4a3f0012d196740071fee88003f004c2c..."} 
[2026-07-19 15:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c4a3f0012d196740071fee88003f004c2c..."} 
[2026-07-19 15:19:57] local.INFO: Processing buffer {"connection_id":137654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c4a3f0012d196740071fee88003f004c2c..."} 
[2026-07-19 15:19:57] local.INFO: Packet analysis {"connection_id":137654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c4"} 
[2026-07-19 15:19:57] local.INFO: Extracted packet for processing {"connection_id":137654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c4"} 
[2026-07-19 15:19:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820310272001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:19: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-07-19 15:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784454358000,"timestamp_ms":1784454358000,"timestamp_seconds":1784454358,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c4a3f0"} 
[2026-07-19 15:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:19:57] 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-07-19 15:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 15:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820310272001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820310272001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:19:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:19:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820310272001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":137654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:19:57] local.INFO: GPS data processed {"connection_id":137654,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:19:57] local.INFO: Acknowledgment sent {"connection_id":137654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:20:14] local.INFO: TCP Data received {"connection_id":136699,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:20:14] local.INFO: Processing buffer {"connection_id":136699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:20:14] local.INFO: Packet analysis {"connection_id":136699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:20:14] local.INFO: Extracted packet for processing {"connection_id":136699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:20:14] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820272128001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:20: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-07-19 15:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784454489000,"timestamp_ms":1784454489000,"timestamp_seconds":1784454489,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c6a3a8"} 
[2026-07-19 15:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":136699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":136699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":136699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:20:14] 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-07-19 15:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820272128001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820272128001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:20:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:20:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820272128001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":136699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:20:14] local.INFO: GPS data processed {"connection_id":136699,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:20:14] local.INFO: Acknowledgment sent {"connection_id":136699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:20:28] local.INFO: TCP Data received {"connection_id":137654,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c4f5f8012d196740071fee88003f004c2c..."} 
[2026-07-19 15:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c4f5f8012d196740071fee88003f004c2c..."} 
[2026-07-19 15:20:28] local.INFO: Processing buffer {"connection_id":137654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c4f5f8012d196740071fee88003f004c2c..."} 
[2026-07-19 15:20:28] local.INFO: Packet analysis {"connection_id":137654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c4"} 
[2026-07-19 15:20:28] local.INFO: Extracted packet for processing {"connection_id":137654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c4"} 
[2026-07-19 15:20:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820315648001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:20: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-07-19 15:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784454379000,"timestamp_ms":1784454379000,"timestamp_seconds":1784454379,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c4f5f8"} 
[2026-07-19 15:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:20: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-07-19 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820315648001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820315648001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:20:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:20:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820315648001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":137654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:20:28] local.INFO: GPS data processed {"connection_id":137654,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:20:28] local.INFO: Acknowledgment sent {"connection_id":137654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:20:31] local.INFO: TCP Data received {"connection_id":139052,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:20:31] local.INFO: Processing buffer {"connection_id":139052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:20:31] local.INFO: IMEI packet received {"connection_id":139052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":139052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:20:36] local.INFO: TCP Data received {"connection_id":139052,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:20:36] local.INFO: Processing buffer {"connection_id":139052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:20:36] local.INFO: IMEI packet received {"connection_id":139052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":139052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:20:37] local.INFO: TCP Data received {"connection_id":139052,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:20:37] local.INFO: Processing buffer {"connection_id":139052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:20:37] local.INFO: Packet analysis {"connection_id":139052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:20:37] local.INFO: Extracted packet for processing {"connection_id":139052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820272128001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:20: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-07-19 15:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784454489000,"timestamp_ms":1784454489000,"timestamp_seconds":1784454489,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c6a3a8"} 
[2026-07-19 15:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:20:37] 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-07-19 15:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820272128001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820272128001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:20:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820272128001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":139052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:20:37] local.INFO: GPS data processed {"connection_id":139052,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:20:37] local.INFO: Acknowledgment sent {"connection_id":139052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:20:51] local.INFO: TCP Data received {"connection_id":137655,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:20:51] local.INFO: Processing buffer {"connection_id":137655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:20:51] local.INFO: IMEI packet received {"connection_id":137655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":137655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:20:56] local.INFO: TCP Data received {"connection_id":137655,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:20:56] local.INFO: Processing buffer {"connection_id":137655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:20:56] local.INFO: IMEI packet received {"connection_id":137655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":137655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:20:57] local.INFO: TCP Data received {"connection_id":137655,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c54800012d196740071fee88003f004c2b..."} 
[2026-07-19 15:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c54800012d196740071fee88003f004c2b..."} 
[2026-07-19 15:20:57] local.INFO: Processing buffer {"connection_id":137655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c54800012d196740071fee88003f004c2b..."} 
[2026-07-19 15:20:57] local.INFO: Packet analysis {"connection_id":137655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c5"} 
[2026-07-19 15:20:57] local.INFO: Extracted packet for processing {"connection_id":137655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c5"} 
[2026-07-19 15:20:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820321024001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:20: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-07-19 15:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784454400000,"timestamp_ms":1784454400000,"timestamp_seconds":1784454400,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c54800"} 
[2026-07-19 15:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820321024001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820321024001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:20:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:20:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820321024001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":137655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:20:57] local.INFO: GPS data processed {"connection_id":137655,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:20:57] local.INFO: Acknowledgment sent {"connection_id":137655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:21:09] local.INFO: TCP Data received {"connection_id":139052,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:21:09] local.INFO: Processing buffer {"connection_id":139052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:21:09] local.INFO: Packet analysis {"connection_id":139052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:21:09] local.INFO: Extracted packet for processing {"connection_id":139052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820272128001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:21: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-07-19 15:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784454489000,"timestamp_ms":1784454489000,"timestamp_seconds":1784454489,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c6a3a8"} 
[2026-07-19 15:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:21: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-07-19 15:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820272128001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820272128001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820272128001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":139052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:21:09] local.INFO: GPS data processed {"connection_id":139052,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:21:09] local.INFO: Acknowledgment sent {"connection_id":139052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:21:28] local.INFO: TCP Data received {"connection_id":137655,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c59a08012d196740071fee88003f004c29..."} 
[2026-07-19 15:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c59a08012d196740071fee88003f004c29..."} 
[2026-07-19 15:21:28] local.INFO: Processing buffer {"connection_id":137655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c59a08012d196740071fee88003f004c29..."} 
[2026-07-19 15:21:28] local.INFO: Packet analysis {"connection_id":137655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c5"} 
[2026-07-19 15:21:28] local.INFO: Extracted packet for processing {"connection_id":137655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c5"} 
[2026-07-19 15:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820326400001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:21: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-07-19 15:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784454421000,"timestamp_ms":1784454421000,"timestamp_seconds":1784454421,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c59a08"} 
[2026-07-19 15:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:21: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-07-19 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820326400001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820326400001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:21:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:21:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820326400001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":137655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:21:28] local.INFO: GPS data processed {"connection_id":137655,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:21:28] local.INFO: Acknowledgment sent {"connection_id":137655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:21:32] local.INFO: TCP Data received {"connection_id":136574,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:21:32] local.INFO: Processing buffer {"connection_id":136574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:21:32] local.INFO: IMEI packet received {"connection_id":136574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":136574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:21:36] local.INFO: TCP Data received {"connection_id":136574,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:21:36] local.INFO: Processing buffer {"connection_id":136574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:21:36] local.INFO: IMEI packet received {"connection_id":136574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":136574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:21:38] local.INFO: TCP Data received {"connection_id":136574,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:21:38] local.INFO: Processing buffer {"connection_id":136574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:21:38] local.INFO: Packet analysis {"connection_id":136574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:21:38] local.INFO: Extracted packet for processing {"connection_id":136574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:21:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820272128001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:21: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-07-19 15:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784454489000,"timestamp_ms":1784454489000,"timestamp_seconds":1784454489,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c6a3a8"} 
[2026-07-19 15:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820272128001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820272128001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:21:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:21:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820272128001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":136574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:21:38] local.INFO: GPS data processed {"connection_id":136574,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:21:38] local.INFO: Acknowledgment sent {"connection_id":136574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:21:51] local.INFO: TCP Data received {"connection_id":136700,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:21:51] local.INFO: Processing buffer {"connection_id":136700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:21:51] local.INFO: IMEI packet received {"connection_id":136700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":136700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:21:51] local.INFO: TCP Data received {"connection_id":136700,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:21:51] local.INFO: Processing buffer {"connection_id":136700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:21:51] local.INFO: IMEI packet received {"connection_id":136700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":136700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:21:56] local.INFO: TCP Data received {"connection_id":136700,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:21:56] local.INFO: Processing buffer {"connection_id":136700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:21:56] local.INFO: IMEI packet received {"connection_id":136700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":136700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:21:57] local.INFO: TCP Data received {"connection_id":136700,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c5ec10012d196740071fee88003f004c2b..."} 
[2026-07-19 15:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c5ec10012d196740071fee88003f004c2b..."} 
[2026-07-19 15:21:57] local.INFO: Processing buffer {"connection_id":136700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c5ec10012d196740071fee88003f004c2b..."} 
[2026-07-19 15:21:57] local.INFO: Packet analysis {"connection_id":136700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c5"} 
[2026-07-19 15:21:57] local.INFO: Extracted packet for processing {"connection_id":136700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c5"} 
[2026-07-19 15:21:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820331776001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:21: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-07-19 15:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784454442000,"timestamp_ms":1784454442000,"timestamp_seconds":1784454442,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c5ec10"} 
[2026-07-19 15:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:21:57] 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-07-19 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820331776001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820331776001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:21:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:21:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820331776001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":136700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:21:57] local.INFO: GPS data processed {"connection_id":136700,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:21:57] local.INFO: Acknowledgment sent {"connection_id":136700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:22:10] local.INFO: TCP Data received {"connection_id":136574,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:22:10] local.INFO: Processing buffer {"connection_id":136574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:22:10] local.INFO: Packet analysis {"connection_id":136574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:22:10] local.INFO: Extracted packet for processing {"connection_id":136574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:22:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820272128001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22: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-07-19 15:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784454489000,"timestamp_ms":1784454489000,"timestamp_seconds":1784454489,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c6a3a8"} 
[2026-07-19 15:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820272128001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820272128001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:22:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:22:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820272128001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":136574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:22:10] local.INFO: GPS data processed {"connection_id":136574,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:22:10] local.INFO: Acknowledgment sent {"connection_id":136574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:22:28] local.INFO: TCP Data received {"connection_id":136700,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c63e18012d196740071fee88003f004c28..."} 
[2026-07-19 15:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c63e18012d196740071fee88003f004c28..."} 
[2026-07-19 15:22:28] local.INFO: Processing buffer {"connection_id":136700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c63e18012d196740071fee88003f004c28..."} 
[2026-07-19 15:22:28] local.INFO: Packet analysis {"connection_id":136700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:22:28] local.INFO: Extracted packet for processing {"connection_id":136700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:22:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820337152001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22: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-07-19 15:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784454463000,"timestamp_ms":1784454463000,"timestamp_seconds":1784454463,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c63e18"} 
[2026-07-19 15:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:22:28] 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-07-19 15: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8774047642292132199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21440476741632000,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22:28] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3299078145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:22:28] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22:28] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3103837560,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22:28] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,144,159,154,45,64,238,63,41,10,66,72,43,245,1,240,255,227,121,31,4,113,205,81,136,239,46,2,25,7,42],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:22:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712171956764672,"timestamp_seconds":4539712171956765.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820337152001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820337152001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:22:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:22:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820337152001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":136700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:22:28] local.INFO: GPS data processed {"connection_id":136700,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:22:28] local.INFO: Acknowledgment sent {"connection_id":136700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:22:31] local.INFO: TCP Data received {"connection_id":136575,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:22:31] local.INFO: Processing buffer {"connection_id":136575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:22:31] local.INFO: IMEI packet received {"connection_id":136575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":136575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:22:36] local.INFO: TCP Data received {"connection_id":136575,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:22:36] local.INFO: Processing buffer {"connection_id":136575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:22:36] local.INFO: IMEI packet received {"connection_id":136575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":136575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:22:37] local.INFO: TCP Data received {"connection_id":136575,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:22:37] local.INFO: Processing buffer {"connection_id":136575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:22:37] local.INFO: Packet analysis {"connection_id":136575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:22:37] local.INFO: Extracted packet for processing {"connection_id":136575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820272128001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:22: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-07-19 15:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784454489000,"timestamp_ms":1784454489000,"timestamp_seconds":1784454489,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c6a3a8"} 
[2026-07-19 15:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820272128001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820272128001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:22:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820272128001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":136575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:22:37] local.INFO: GPS data processed {"connection_id":136575,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:22:37] local.INFO: Acknowledgment sent {"connection_id":136575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:22:55] local.INFO: TCP Data received {"connection_id":139053,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:22:55] local.INFO: Processing buffer {"connection_id":139053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:22:55] local.INFO: IMEI packet received {"connection_id":139053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":139053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:22:56] local.INFO: TCP Data received {"connection_id":139053,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:22:56] local.INFO: Processing buffer {"connection_id":139053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:22:56] local.INFO: IMEI packet received {"connection_id":139053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":139053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:23:01] local.INFO: TCP Data received {"connection_id":139053,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:23:01] local.INFO: Processing buffer {"connection_id":139053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:23:01] local.INFO: IMEI packet received {"connection_id":139053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":139053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:23:02] local.INFO: TCP Data received {"connection_id":139053,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c9c470012d196740071fee88003f004c2d..."} 
[2026-07-19 15:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c9c470012d196740071fee88003f004c2d..."} 
[2026-07-19 15:23:02] local.INFO: Processing buffer {"connection_id":139053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c9c470012d196740071fee88003f004c2d..."} 
[2026-07-19 15:23:02] local.INFO: Packet analysis {"connection_id":139053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c9"} 
[2026-07-19 15:23:02] local.INFO: Extracted packet for processing {"connection_id":139053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c9"} 
[2026-07-19 15:23:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820396288001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:23: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-07-19 15:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784454694000,"timestamp_ms":1784454694000,"timestamp_seconds":1784454694,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c9c470"} 
[2026-07-19 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-07-19 15:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 15:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":139053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":139053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":139053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820396288001,"66":12232,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820396288001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:23:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:23:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820396288001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":139053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:23:02] local.INFO: GPS data processed {"connection_id":139053,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:23:02] local.INFO: Acknowledgment sent {"connection_id":139053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:23:09] local.INFO: TCP Data received {"connection_id":136575,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:23:09] local.INFO: Processing buffer {"connection_id":136575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:23:09] local.INFO: Packet analysis {"connection_id":136575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:23:09] local.INFO: Extracted packet for processing {"connection_id":136575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:23:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820272128001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:23: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-07-19 15:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784454489000,"timestamp_ms":1784454489000,"timestamp_seconds":1784454489,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c6a3a8"} 
[2026-07-19 15:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:23:09] 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-07-19 15:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820272128001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820272128001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:23:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:23:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820272128001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":136575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:23:09] local.INFO: GPS data processed {"connection_id":136575,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:23:09] local.INFO: Acknowledgment sent {"connection_id":136575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:23:31] local.INFO: TCP Data received {"connection_id":136701,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:23:31] local.INFO: Processing buffer {"connection_id":136701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:23:31] local.INFO: IMEI packet received {"connection_id":136701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":136701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:23:33] local.INFO: TCP Data received {"connection_id":139053,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ca1678012d196740071fee88003f004c2d..."} 
[2026-07-19 15:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ca1678012d196740071fee88003f004c2d..."} 
[2026-07-19 15:23:33] local.INFO: Processing buffer {"connection_id":139053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ca1678012d196740071fee88003f004c2d..."} 
[2026-07-19 15:23:33] local.INFO: Packet analysis {"connection_id":139053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ca"} 
[2026-07-19 15:23:33] local.INFO: Extracted packet for processing {"connection_id":139053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ca"} 
[2026-07-19 15:23:33] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820401664001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:23:33] 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-07-19 15:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784454715000,"timestamp_ms":1784454715000,"timestamp_seconds":1784454715,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ca1678"} 
[2026-07-19 15:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-19 15:23:33] 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-07-19 15:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":139053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":139053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":139053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820401664001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820401664001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:23:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:23:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820401664001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":139053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:23:33] local.INFO: GPS data processed {"connection_id":139053,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:23:33] local.INFO: Acknowledgment sent {"connection_id":139053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:23:36] local.INFO: TCP Data received {"connection_id":136701,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:23:36] local.INFO: Processing buffer {"connection_id":136701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:23:36] local.INFO: IMEI packet received {"connection_id":136701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":136701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:23:37] local.INFO: TCP Data received {"connection_id":136701,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:23:37] local.INFO: Processing buffer {"connection_id":136701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79c6a3a8012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:23:37] local.INFO: Packet analysis {"connection_id":136701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:23:37] local.INFO: Extracted packet for processing {"connection_id":136701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79c6"} 
[2026-07-19 15:23:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820272128001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:23: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-07-19 15:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784454489000,"timestamp_ms":1784454489000,"timestamp_seconds":1784454489,"priority":1,"record_length":96,"hex_timestamp":"0000019f79c6a3a8"} 
[2026-07-19 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-07-19 15:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 15:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820272128001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820272128001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:23:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:23:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820272128001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":136701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:23:37] local.INFO: GPS data processed {"connection_id":136701,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:23:37] local.INFO: Acknowledgment sent {"connection_id":136701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:23:51] local.INFO: TCP Data received {"connection_id":136576,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:23:51] local.INFO: Processing buffer {"connection_id":136576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:23:51] local.INFO: IMEI packet received {"connection_id":136576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":136576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:23:56] local.INFO: TCP Data received {"connection_id":136576,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:23:56] local.INFO: Processing buffer {"connection_id":136576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:23:56] local.INFO: IMEI packet received {"connection_id":136576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":136576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:23:57] local.INFO: TCP Data received {"connection_id":136576,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ca6880012d196740071fee88003f004c2b..."} 
[2026-07-19 15:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ca6880012d196740071fee88003f004c2b..."} 
[2026-07-19 15:23:57] local.INFO: Processing buffer {"connection_id":136576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ca6880012d196740071fee88003f004c2b..."} 
[2026-07-19 15:23:57] local.INFO: Packet analysis {"connection_id":136576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ca"} 
[2026-07-19 15:23:57] local.INFO: Extracted packet for processing {"connection_id":136576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ca"} 
[2026-07-19 15:23:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820407040001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:23: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-07-19 15:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784454736000,"timestamp_ms":1784454736000,"timestamp_seconds":1784454736,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ca6880"} 
[2026-07-19 15:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:23: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-07-19 15: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 15:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820407040001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820407040001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:23:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:23:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820407040001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":136576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:23:57] local.INFO: GPS data processed {"connection_id":136576,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:23:57] local.INFO: Acknowledgment sent {"connection_id":136576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:24:08] local.INFO: TCP Data received {"connection_id":136701,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:24:08] local.INFO: Processing buffer {"connection_id":136701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:24:08] local.INFO: Packet analysis {"connection_id":136701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:24:08] local.INFO: Extracted packet for processing {"connection_id":136701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820349184001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:24: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-07-19 15:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784454790000,"timestamp_ms":1784454790000,"timestamp_seconds":1784454790,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cb3b70"} 
[2026-07-19 15:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:24: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-07-19 15:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:24: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-07-19 15:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820349184001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820349184001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:24:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:24:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820349184001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":136701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:24:08] local.INFO: GPS data processed {"connection_id":136701,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:24:08] local.INFO: Acknowledgment sent {"connection_id":136701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:24:28] local.INFO: TCP Data received {"connection_id":136576,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79caba88012d196740071fee88003f004c2c..."} 
[2026-07-19 15:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79caba88012d196740071fee88003f004c2c..."} 
[2026-07-19 15:24:28] local.INFO: Processing buffer {"connection_id":136576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79caba88012d196740071fee88003f004c2c..."} 
[2026-07-19 15:24:28] local.INFO: Packet analysis {"connection_id":136576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ca"} 
[2026-07-19 15:24:28] local.INFO: Extracted packet for processing {"connection_id":136576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ca"} 
[2026-07-19 15:24:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820412416001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:24: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-07-19 15:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784454757000,"timestamp_ms":1784454757000,"timestamp_seconds":1784454757,"priority":1,"record_length":96,"hex_timestamp":"0000019f79caba88"} 
[2026-07-19 15:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:24:28] 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-07-19 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820412416001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820412416001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:24:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:24:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820412416001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":136576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:24:28] local.INFO: GPS data processed {"connection_id":136576,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:24:28] local.INFO: Acknowledgment sent {"connection_id":136576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:24:31] local.INFO: TCP Data received {"connection_id":139054,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:24:31] local.INFO: Processing buffer {"connection_id":139054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:24:31] local.INFO: IMEI packet received {"connection_id":139054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":139054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:24:36] local.INFO: TCP Data received {"connection_id":139054,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:24:36] local.INFO: Processing buffer {"connection_id":139054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:24:36] local.INFO: IMEI packet received {"connection_id":139054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":139054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:24:37] local.INFO: TCP Data received {"connection_id":139054,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:24:37] local.INFO: Processing buffer {"connection_id":139054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:24:37] local.INFO: Packet analysis {"connection_id":139054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:24:37] local.INFO: Extracted packet for processing {"connection_id":139054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820349184001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:24: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-07-19 15:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784454790000,"timestamp_ms":1784454790000,"timestamp_seconds":1784454790,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cb3b70"} 
[2026-07-19 15:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820349184001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820349184001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:24:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820349184001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":139054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:24:37] local.INFO: GPS data processed {"connection_id":139054,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:24:37] local.INFO: Acknowledgment sent {"connection_id":139054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:24:51] local.INFO: TCP Data received {"connection_id":137659,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:24:51] local.INFO: Processing buffer {"connection_id":137659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:24:51] local.INFO: IMEI packet received {"connection_id":137659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":137659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:24:56] local.INFO: TCP Data received {"connection_id":136577,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:24:56] local.INFO: Processing buffer {"connection_id":136577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:24:56] local.INFO: IMEI packet received {"connection_id":136577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 15:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":136577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:24:56] local.INFO: TCP Data received {"connection_id":137659,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:24:56] local.INFO: Processing buffer {"connection_id":137659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:24:56] local.INFO: IMEI packet received {"connection_id":137659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":137659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:24:57] local.INFO: TCP Data received {"connection_id":137659,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cb0c90012d196740071fee88003f004c2c..."} 
[2026-07-19 15:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cb0c90012d196740071fee88003f004c2c..."} 
[2026-07-19 15:24:57] local.INFO: Processing buffer {"connection_id":137659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cb0c90012d196740071fee88003f004c2c..."} 
[2026-07-19 15:24:57] local.INFO: Packet analysis {"connection_id":137659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:24:57] local.INFO: Extracted packet for processing {"connection_id":137659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:24:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820417792001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:24: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-07-19 15:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784454778000,"timestamp_ms":1784454778000,"timestamp_seconds":1784454778,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cb0c90"} 
[2026-07-19 15:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:24: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-07-19 15:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820417792001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820417792001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:24:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:24:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820417792001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":137659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:24:57] local.INFO: GPS data processed {"connection_id":137659,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:24:57] local.INFO: Acknowledgment sent {"connection_id":137659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:25:09] local.INFO: TCP Data received {"connection_id":139054,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:25:09] local.INFO: Processing buffer {"connection_id":139054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:25:09] local.INFO: Packet analysis {"connection_id":139054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:25:09] local.INFO: Extracted packet for processing {"connection_id":139054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820349184001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:25: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-07-19 15:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784454790000,"timestamp_ms":1784454790000,"timestamp_seconds":1784454790,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cb3b70"} 
[2026-07-19 15:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820349184001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820349184001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:25:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:25:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820349184001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":139054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:25:09] local.INFO: GPS data processed {"connection_id":139054,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:25:09] local.INFO: Acknowledgment sent {"connection_id":139054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:25:26] local.INFO: TCP Data received {"connection_id":136578,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:25:26] local.INFO: Processing buffer {"connection_id":136578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:25:26] local.INFO: IMEI packet received {"connection_id":136578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 15:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":136578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:25:28] local.INFO: TCP Data received {"connection_id":137659,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cb5e98012d196740071fee88003f004c2b..."} 
[2026-07-19 15:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cb5e98012d196740071fee88003f004c2b..."} 
[2026-07-19 15:25:28] local.INFO: Processing buffer {"connection_id":137659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cb5e98012d196740071fee88003f004c2b..."} 
[2026-07-19 15:25:28] local.INFO: Packet analysis {"connection_id":137659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:25:28] local.INFO: Extracted packet for processing {"connection_id":137659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:25:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820423168001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:25: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-07-19 15:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784454799000,"timestamp_ms":1784454799000,"timestamp_seconds":1784454799,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cb5e98"} 
[2026-07-19 15:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:25:28] 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-07-19 15:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820423168001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820423168001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:25:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:25:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820423168001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":137659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:25:28] local.INFO: GPS data processed {"connection_id":137659,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:25:28] local.INFO: Acknowledgment sent {"connection_id":137659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:25:31] local.INFO: TCP Data received {"connection_id":136579,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:25:31] local.INFO: Processing buffer {"connection_id":136579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:25:31] local.INFO: IMEI packet received {"connection_id":136579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":136579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:25:36] local.INFO: TCP Data received {"connection_id":136579,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:25:36] local.INFO: Processing buffer {"connection_id":136579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:25:36] local.INFO: IMEI packet received {"connection_id":136579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":136579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:25:37] local.INFO: TCP Data received {"connection_id":136579,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:25:37] local.INFO: Processing buffer {"connection_id":136579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:25:37] local.INFO: Packet analysis {"connection_id":136579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:25:37] local.INFO: Extracted packet for processing {"connection_id":136579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820349184001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:25: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-07-19 15:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784454790000,"timestamp_ms":1784454790000,"timestamp_seconds":1784454790,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cb3b70"} 
[2026-07-19 15:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15: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":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820349184001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820349184001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:25:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820349184001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":136579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:25:37] local.INFO: GPS data processed {"connection_id":136579,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:25:37] local.INFO: Acknowledgment sent {"connection_id":136579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:25:52] local.INFO: TCP Data received {"connection_id":136702,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:25:52] local.INFO: Processing buffer {"connection_id":136702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:25:52] local.INFO: IMEI packet received {"connection_id":136702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":136702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:25:56] local.INFO: TCP Data received {"connection_id":136702,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:25:56] local.INFO: Processing buffer {"connection_id":136702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:25:56] local.INFO: IMEI packet received {"connection_id":136702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":136702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:25:57] local.INFO: TCP Data received {"connection_id":136702,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cbb0a0012d196740071fee88003f004c2a..."} 
[2026-07-19 15:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cbb0a0012d196740071fee88003f004c2a..."} 
[2026-07-19 15:25:57] local.INFO: Processing buffer {"connection_id":136702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cbb0a0012d196740071fee88003f004c2a..."} 
[2026-07-19 15:25:57] local.INFO: Packet analysis {"connection_id":136702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:25:57] local.INFO: Extracted packet for processing {"connection_id":136702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:25:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820428544001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:25: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-07-19 15:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784454820000,"timestamp_ms":1784454820000,"timestamp_seconds":1784454820,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cbb0a0"} 
[2026-07-19 15:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:25: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-07-19 15:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:25:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:25:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820428544001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820428544001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:25:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:25:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820428544001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":136702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:25:57] local.INFO: GPS data processed {"connection_id":136702,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:25:57] local.INFO: Acknowledgment sent {"connection_id":136702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:26:09] local.INFO: TCP Data received {"connection_id":136579,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:26:09] local.INFO: Processing buffer {"connection_id":136579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:26:09] local.INFO: Packet analysis {"connection_id":136579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:26:09] local.INFO: Extracted packet for processing {"connection_id":136579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820349184001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15: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-07-19 15:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784454790000,"timestamp_ms":1784454790000,"timestamp_seconds":1784454790,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cb3b70"} 
[2026-07-19 15:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:26: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-07-19 15:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820349184001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820349184001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820349184001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":136579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:26:09] local.INFO: GPS data processed {"connection_id":136579,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:26:09] local.INFO: Acknowledgment sent {"connection_id":136579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:26:28] local.INFO: TCP Data received {"connection_id":136702,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cc02a8012d196740071fee88003f004c28..."} 
[2026-07-19 15:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cc02a8012d196740071fee88003f004c28..."} 
[2026-07-19 15:26:28] local.INFO: Processing buffer {"connection_id":136702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cc02a8012d196740071fee88003f004c28..."} 
[2026-07-19 15:26:28] local.INFO: Packet analysis {"connection_id":136702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cc"} 
[2026-07-19 15:26:28] local.INFO: Extracted packet for processing {"connection_id":136702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cc"} 
[2026-07-19 15:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820433920001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26: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-07-19 15:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784454841000,"timestamp_ms":1784454841000,"timestamp_seconds":1784454841,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cc02a8"} 
[2026-07-19 15:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:26:28] 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-07-19 15:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8775671139930020199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21441576253259776,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002797613056206,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26:28] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3395846145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:26:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594552,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26:28] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,144,159,94,45,64,238,63,43,10,66,12,44,186,1,240,255,227,121,31,4,113,205,22,136,239,47,2,25,7,42],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:26:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712167661797376,"timestamp_seconds":4539712167661797.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820433920001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820433920001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:26:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:26:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820433920001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":136702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:26:28] local.INFO: GPS data processed {"connection_id":136702,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:26:28] local.INFO: Acknowledgment sent {"connection_id":136702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:26:31] local.INFO: TCP Data received {"connection_id":139055,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:26:31] local.INFO: Processing buffer {"connection_id":139055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:26:31] local.INFO: IMEI packet received {"connection_id":139055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":139055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:26:36] local.INFO: TCP Data received {"connection_id":139055,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:26:36] local.INFO: Processing buffer {"connection_id":139055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:26:36] local.INFO: IMEI packet received {"connection_id":139055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":139055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:26:38] local.INFO: TCP Data received {"connection_id":139055,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:26:38] local.INFO: Processing buffer {"connection_id":139055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:26:38] local.INFO: Packet analysis {"connection_id":139055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:26:38] local.INFO: Extracted packet for processing {"connection_id":139055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:26:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820349184001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26: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-07-19 15:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784454790000,"timestamp_ms":1784454790000,"timestamp_seconds":1784454790,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cb3b70"} 
[2026-07-19 15:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":139055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":139055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":139055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820349184001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820349184001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:26:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:26:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820349184001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":139055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:26:38] local.INFO: GPS data processed {"connection_id":139055,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:26:38] local.INFO: Acknowledgment sent {"connection_id":139055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:26:51] local.INFO: TCP Data received {"connection_id":136580,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:26:51] local.INFO: Processing buffer {"connection_id":136580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:26:51] local.INFO: IMEI packet received {"connection_id":136580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":136580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:26:56] local.INFO: TCP Data received {"connection_id":136580,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:26:56] local.INFO: Processing buffer {"connection_id":136580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:26:56] local.INFO: IMEI packet received {"connection_id":136580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":136580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:26:57] local.INFO: TCP Data received {"connection_id":136580,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cc54b0012d196740071fee88003f004c29..."} 
[2026-07-19 15:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cc54b0012d196740071fee88003f004c29..."} 
[2026-07-19 15:26:57] local.INFO: Processing buffer {"connection_id":136580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cc54b0012d196740071fee88003f004c29..."} 
[2026-07-19 15:26:57] local.INFO: Packet analysis {"connection_id":136580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cc"} 
[2026-07-19 15:26:57] local.INFO: Extracted packet for processing {"connection_id":136580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cc"} 
[2026-07-19 15:26:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820439296001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:26: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-07-19 15:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784454862000,"timestamp_ms":1784454862000,"timestamp_seconds":1784454862,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cc54b0"} 
[2026-07-19 15:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:26: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-07-19 15: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 15:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820439296001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820439296001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:26:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:26:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820439296001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":136580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:26:57] local.INFO: GPS data processed {"connection_id":136580,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:26:57] local.INFO: Acknowledgment sent {"connection_id":136580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:27:09] local.INFO: TCP Data received {"connection_id":139055,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:27:09] local.INFO: Processing buffer {"connection_id":139055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:27:09] local.INFO: Packet analysis {"connection_id":139055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:27:09] local.INFO: Extracted packet for processing {"connection_id":139055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820349184001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:27: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-07-19 15:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784454790000,"timestamp_ms":1784454790000,"timestamp_seconds":1784454790,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cb3b70"} 
[2026-07-19 15:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820349184001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820349184001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:27:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:27:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820349184001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":139055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:27:09] local.INFO: GPS data processed {"connection_id":139055,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:27:09] local.INFO: Acknowledgment sent {"connection_id":139055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:27:28] local.INFO: TCP Data received {"connection_id":136580,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cca6b8012d196740071fee88003f004c29..."} 
[2026-07-19 15:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cca6b8012d196740071fee88003f004c29..."} 
[2026-07-19 15:27:28] local.INFO: Processing buffer {"connection_id":136580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cca6b8012d196740071fee88003f004c29..."} 
[2026-07-19 15:27:28] local.INFO: Packet analysis {"connection_id":136580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cc"} 
[2026-07-19 15:27:28] local.INFO: Extracted packet for processing {"connection_id":136580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cc"} 
[2026-07-19 15:27:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820444672001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:27: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-07-19 15:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784454883000,"timestamp_ms":1784454883000,"timestamp_seconds":1784454883,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cca6b8"} 
[2026-07-19 15:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:27:28] 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-07-19 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820444672001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820444672001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:27:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:27:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820444672001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":136580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:27:28] local.INFO: GPS data processed {"connection_id":136580,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:27:28] local.INFO: Acknowledgment sent {"connection_id":136580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:27:31] local.INFO: TCP Data received {"connection_id":137661,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:27:31] local.INFO: Processing buffer {"connection_id":137661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:27:31] local.INFO: IMEI packet received {"connection_id":137661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":137661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:27:36] local.INFO: TCP Data received {"connection_id":137661,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:27:36] local.INFO: Processing buffer {"connection_id":137661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:27:36] local.INFO: IMEI packet received {"connection_id":137661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":137661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:27:39] local.INFO: TCP Data received {"connection_id":137661,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:27:39] local.INFO: Processing buffer {"connection_id":137661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:27:39] local.INFO: Packet analysis {"connection_id":137661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:27:39] local.INFO: Extracted packet for processing {"connection_id":137661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:27:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820349184001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:27: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-07-19 15:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784454790000,"timestamp_ms":1784454790000,"timestamp_seconds":1784454790,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cb3b70"} 
[2026-07-19 15:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":137661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":137661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":137661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:27: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-07-19 15:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820349184001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820349184001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:27:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:27:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820349184001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":137661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:27:39] local.INFO: GPS data processed {"connection_id":137661,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:27:39] local.INFO: Acknowledgment sent {"connection_id":137661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:27:56] local.INFO: TCP Data received {"connection_id":139056,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:27:56] local.INFO: Processing buffer {"connection_id":139056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:27:56] local.INFO: IMEI packet received {"connection_id":139056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":139056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:28:01] local.INFO: TCP Data received {"connection_id":139056,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:28:01] local.INFO: Processing buffer {"connection_id":139056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:28:01] local.INFO: IMEI packet received {"connection_id":139056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":139056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:28:02] local.INFO: TCP Data received {"connection_id":139056,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ccf8c0012d196740071fee88003f004c28..."} 
[2026-07-19 15:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ccf8c0012d196740071fee88003f004c28..."} 
[2026-07-19 15:28:02] local.INFO: Processing buffer {"connection_id":139056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ccf8c0012d196740071fee88003f004c28..."} 
[2026-07-19 15:28:02] local.INFO: Packet analysis {"connection_id":139056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cc"} 
[2026-07-19 15:28:02] local.INFO: Extracted packet for processing {"connection_id":139056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cc"} 
[2026-07-19 15:28:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820450048001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:28: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-07-19 15:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784454904000,"timestamp_ms":1784454904000,"timestamp_seconds":1784454904,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ccf8c0"} 
[2026-07-19 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-07-19 15:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 15:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 15:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":139056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":139056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":139056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820450048001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820450048001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:28:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:28:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820450048001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":139056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:28:02] local.INFO: GPS data processed {"connection_id":139056,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:28:02] local.INFO: Acknowledgment sent {"connection_id":139056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:28:06] local.INFO: TCP Data received {"connection_id":139056,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cd4ac8012d196740071fee88003f004c2b..."} 
[2026-07-19 15:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cd4ac8012d196740071fee88003f004c2b..."} 
[2026-07-19 15:28:06] local.INFO: Processing buffer {"connection_id":139056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cd4ac8012d196740071fee88003f004c2b..."} 
[2026-07-19 15:28:06] local.INFO: Packet analysis {"connection_id":139056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cd"} 
[2026-07-19 15:28:06] local.INFO: Extracted packet for processing {"connection_id":139056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cd"} 
[2026-07-19 15:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820455424001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784454925000,"timestamp_ms":1784454925000,"timestamp_seconds":1784454925,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cd4ac8"} 
[2026-07-19 15:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":139056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":139056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":139056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820455424001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820455424001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:28:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820455424001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":139056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:28:07] local.INFO: GPS data processed {"connection_id":139056,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:28:07] local.INFO: Acknowledgment sent {"connection_id":139056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:28:11] local.INFO: TCP Data received {"connection_id":137661,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:28:11] local.INFO: Processing buffer {"connection_id":137661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:28:11] local.INFO: Packet analysis {"connection_id":137661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:28:11] local.INFO: Extracted packet for processing {"connection_id":137661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:28:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820349184001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:28: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-07-19 15:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784454790000,"timestamp_ms":1784454790000,"timestamp_seconds":1784454790,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cb3b70"} 
[2026-07-19 15:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":137661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":137661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":137661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:28: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-07-19 15:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820349184001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820349184001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:28:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:28:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820349184001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":137661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:28:11] local.INFO: GPS data processed {"connection_id":137661,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:28:11] local.INFO: Acknowledgment sent {"connection_id":137661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:28:31] local.INFO: TCP Data received {"connection_id":139058,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:28:31] local.INFO: Processing buffer {"connection_id":139058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:28:31] local.INFO: IMEI packet received {"connection_id":139058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":139058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:28:37] local.INFO: TCP Data received {"connection_id":139058,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:28:37] local.INFO: Processing buffer {"connection_id":139058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:28:37] local.INFO: IMEI packet received {"connection_id":139058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":139058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:28:39] local.INFO: TCP Data received {"connection_id":139058,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:28:39] local.INFO: Processing buffer {"connection_id":139058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cb3b70012d34c50006aa4dd8000800952a..."} 
[2026-07-19 15:28:39] local.INFO: Packet analysis {"connection_id":139058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:28:39] local.INFO: Extracted packet for processing {"connection_id":139058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cb"} 
[2026-07-19 15:28:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820349184001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:28: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-07-19 15:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784454790000,"timestamp_ms":1784454790000,"timestamp_seconds":1784454790,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cb3b70"} 
[2026-07-19 15:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:28: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-07-19 15:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820349184001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820349184001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:28:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:28:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820349184001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":139058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:28:39] local.INFO: GPS data processed {"connection_id":139058,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:28:39] local.INFO: Acknowledgment sent {"connection_id":139058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:28:51] local.INFO: TCP Data received {"connection_id":136581,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:28:51] local.INFO: Processing buffer {"connection_id":136581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:28:51] local.INFO: IMEI packet received {"connection_id":136581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":136581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:28:52] local.INFO: TCP Data received {"connection_id":136581,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:28:52] local.INFO: Processing buffer {"connection_id":136581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:28:52] local.INFO: IMEI packet received {"connection_id":136581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":136581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:28:56] local.INFO: TCP Data received {"connection_id":136581,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:28:56] local.INFO: Processing buffer {"connection_id":136581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:28:56] local.INFO: IMEI packet received {"connection_id":136581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":136581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:28:57] local.INFO: TCP Data received {"connection_id":136581,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cd9cd0012d196740071fee88003f004c2c..."} 
[2026-07-19 15:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cd9cd0012d196740071fee88003f004c2c..."} 
[2026-07-19 15:28:57] local.INFO: Processing buffer {"connection_id":136581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cd9cd0012d196740071fee88003f004c2c..."} 
[2026-07-19 15:28:57] local.INFO: Packet analysis {"connection_id":136581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cd"} 
[2026-07-19 15:28:57] local.INFO: Extracted packet for processing {"connection_id":136581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cd"} 
[2026-07-19 15:28:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820460800001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:28: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-07-19 15:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784454946000,"timestamp_ms":1784454946000,"timestamp_seconds":1784454946,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cd9cd0"} 
[2026-07-19 15:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:28: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-07-19 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820460800001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820460800001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:28:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:28:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820460800001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":136581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:28:57] local.INFO: GPS data processed {"connection_id":136581,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:28:57] local.INFO: Acknowledgment sent {"connection_id":136581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:29:01] local.INFO: TCP Data received {"connection_id":136581,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cdeed8012d196740071fee88003f004c2a..."} 
[2026-07-19 15:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cdeed8012d196740071fee88003f004c2a..."} 
[2026-07-19 15:29:01] local.INFO: Processing buffer {"connection_id":136581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cdeed8012d196740071fee88003f004c2a..."} 
[2026-07-19 15:29:01] local.INFO: Packet analysis {"connection_id":136581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cd"} 
[2026-07-19 15:29:01] local.INFO: Extracted packet for processing {"connection_id":136581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cd"} 
[2026-07-19 15:29:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820466176001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784454967000,"timestamp_ms":1784454967000,"timestamp_seconds":1784454967,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cdeed8"} 
[2026-07-19 15:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15: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-07-19 15:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:01] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:01] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:01] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:01] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8776212305809316199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:01] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:01] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21438277718376448,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:01] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:01] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:01] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3428102145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:01] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:29:01] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594552,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:01] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:01] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,74,45,64,238,63,43,10,66,248,40,166,1,240,222,227,121,31,4,113,205,2,136,239,47,25,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:29:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712176251731968,"timestamp_seconds":4539712176251732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820466176001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820466176001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:29:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:29:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820466176001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":136581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:29:01] local.INFO: GPS data processed {"connection_id":136581,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:29:01] local.INFO: Acknowledgment sent {"connection_id":136581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:29:11] local.INFO: TCP Data received {"connection_id":139058,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:29:11] local.INFO: Processing buffer {"connection_id":139058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:29:11] local.INFO: Packet analysis {"connection_id":139058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:29:11] local.INFO: Extracted packet for processing {"connection_id":139058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:29:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820426240001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29: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-07-19 15:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784455091000,"timestamp_ms":1784455091000,"timestamp_seconds":1784455091,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cfd338"} 
[2026-07-19 15:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":139058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":139058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":139058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820426240001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820426240001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:29:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:29:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820426240001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":139058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:29:11] local.INFO: GPS data processed {"connection_id":139058,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:29:11] local.INFO: Acknowledgment sent {"connection_id":139058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:29:32] local.INFO: TCP Data received {"connection_id":136582,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:29:32] local.INFO: Processing buffer {"connection_id":136582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:29:32] local.INFO: IMEI packet received {"connection_id":136582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":136582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:29:32] local.INFO: TCP Data received {"connection_id":136581,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ce40e0012d196740071fee88003f004c2c..."} 
[2026-07-19 15:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ce40e0012d196740071fee88003f004c2c..."} 
[2026-07-19 15:29:32] local.INFO: Processing buffer {"connection_id":136581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ce40e0012d196740071fee88003f004c2c..."} 
[2026-07-19 15:29:32] local.INFO: Packet analysis {"connection_id":136581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ce"} 
[2026-07-19 15:29:32] local.INFO: Extracted packet for processing {"connection_id":136581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ce"} 
[2026-07-19 15:29:32] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820471552001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784454988000,"timestamp_ms":1784454988000,"timestamp_seconds":1784454988,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ce40e0"} 
[2026-07-19 15:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:29: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-07-19 15:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:32] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:32] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8776302500122532199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:32] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:32] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21436078695120896,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:32] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:32] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195247100690638,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:32] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3433478145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:32] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:29:32] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:32] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:32] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:32] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,144,159,156,45,64,238,63,44,10,66,74,43,248,1,240,255,227,121,31,4,113,205,84,136,41,239,47,2,25,7,42],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:29:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712167661797376,"timestamp_seconds":4539712167661797.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820471552001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820471552001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:29:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:29:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820471552001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":136581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:29:32] local.INFO: GPS data processed {"connection_id":136581,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:29:32] local.INFO: Acknowledgment sent {"connection_id":136581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:29:36] local.INFO: TCP Data received {"connection_id":136582,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:29:36] local.INFO: Processing buffer {"connection_id":136582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:29:36] local.INFO: IMEI packet received {"connection_id":136582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":136582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:29:37] local.INFO: TCP Data received {"connection_id":136582,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:29:37] local.INFO: Processing buffer {"connection_id":136582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:29:37] local.INFO: Packet analysis {"connection_id":136582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:29:37] local.INFO: Extracted packet for processing {"connection_id":136582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:29:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820426240001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29: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-07-19 15:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784455091000,"timestamp_ms":1784455091000,"timestamp_seconds":1784455091,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cfd338"} 
[2026-07-19 15:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820426240001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820426240001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:29:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:29:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820426240001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":136582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:29:37] local.INFO: GPS data processed {"connection_id":136582,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:29:37] local.INFO: Acknowledgment sent {"connection_id":136582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:29:51] local.INFO: TCP Data received {"connection_id":137663,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:29:51] local.INFO: Processing buffer {"connection_id":137663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:29:51] local.INFO: IMEI packet received {"connection_id":137663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":137663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:29:54] local.INFO: TCP Data received {"connection_id":137663,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:29:54] local.INFO: Processing buffer {"connection_id":137663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:29:54] local.INFO: IMEI packet received {"connection_id":137663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":137663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:29:55] local.INFO: TCP Data received {"connection_id":137663,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ce92e8012d196740071fee88003f004c2e..."} 
[2026-07-19 15:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ce92e8012d196740071fee88003f004c2e..."} 
[2026-07-19 15:29:55] local.INFO: Processing buffer {"connection_id":137663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ce92e8012d196740071fee88003f004c2e..."} 
[2026-07-19 15:29:55] local.INFO: Packet analysis {"connection_id":137663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ce"} 
[2026-07-19 15:29:55] local.INFO: Extracted packet for processing {"connection_id":137663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ce"} 
[2026-07-19 15:29:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820476928001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:29: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-07-19 15:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784455009000,"timestamp_ms":1784455009000,"timestamp_seconds":1784455009,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ce92e8"} 
[2026-07-19 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-07-19 15:29: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-07-19 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 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-07-19 15:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":137663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":137663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":137663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820476928001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820476928001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:29:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:29:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820476928001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":137663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:29:55] local.INFO: GPS data processed {"connection_id":137663,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:29:55] local.INFO: Acknowledgment sent {"connection_id":137663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:30:09] local.INFO: TCP Data received {"connection_id":136582,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:30:09] local.INFO: Processing buffer {"connection_id":136582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:30:09] local.INFO: Packet analysis {"connection_id":136582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:30:09] local.INFO: Extracted packet for processing {"connection_id":136582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820426240001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15: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-07-19 15:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784455091000,"timestamp_ms":1784455091000,"timestamp_seconds":1784455091,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cfd338"} 
[2026-07-19 15:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:30: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-07-19 15:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820426240001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820426240001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:30:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:30:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820426240001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":136582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:30:09] local.INFO: GPS data processed {"connection_id":136582,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:30:09] local.INFO: Acknowledgment sent {"connection_id":136582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:30:26] local.INFO: TCP Data received {"connection_id":137663,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cee4f0012d196740071fee88003f004c2d..."} 
[2026-07-19 15:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cee4f0012d196740071fee88003f004c2d..."} 
[2026-07-19 15:30:26] local.INFO: Processing buffer {"connection_id":137663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cee4f0012d196740071fee88003f004c2d..."} 
[2026-07-19 15:30:26] local.INFO: Packet analysis {"connection_id":137663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ce"} 
[2026-07-19 15:30:26] local.INFO: Extracted packet for processing {"connection_id":137663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ce"} 
[2026-07-19 15:30:26] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820482304001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30: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-07-19 15:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784455030000,"timestamp_ms":1784455030000,"timestamp_seconds":1784455030,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cee4f0"} 
[2026-07-19 15:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:30: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-07-19 15: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:26] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:26] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:26] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:26] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8776482888748964199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:26] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:26] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21437178206748672,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:26] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:26] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195247100690638,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:26] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3444230145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:26] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:30:26] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:26] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:26] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:26] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,64,45,238,63,44,10,66,42,156,1,240,227,121,31,4,113,205,248,136,40,239,47,2,25,7,41],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:30:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712184841666560,"timestamp_seconds":4539712184841667.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":137663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":137663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":137663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820482304001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820482304001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:30:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:30:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820482304001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":137663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:30:26] local.INFO: GPS data processed {"connection_id":137663,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:30:26] local.INFO: Acknowledgment sent {"connection_id":137663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:30:31] local.INFO: TCP Data received {"connection_id":136583,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:30:31] local.INFO: Processing buffer {"connection_id":136583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:30:31] local.INFO: IMEI packet received {"connection_id":136583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":136583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:30:36] local.INFO: TCP Data received {"connection_id":136583,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:30:36] local.INFO: Processing buffer {"connection_id":136583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:30:36] local.INFO: IMEI packet received {"connection_id":136583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":136583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:30:37] local.INFO: TCP Data received {"connection_id":136583,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:30:37] local.INFO: Processing buffer {"connection_id":136583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:30:37] local.INFO: Packet analysis {"connection_id":136583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:30:37] local.INFO: Extracted packet for processing {"connection_id":136583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820426240001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30: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-07-19 15:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784455091000,"timestamp_ms":1784455091000,"timestamp_seconds":1784455091,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cfd338"} 
[2026-07-19 15:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820426240001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820426240001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:30:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820426240001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":136583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:30:37] local.INFO: GPS data processed {"connection_id":136583,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:30:37] local.INFO: Acknowledgment sent {"connection_id":136583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:30:51] local.INFO: TCP Data received {"connection_id":137664,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:30:51] local.INFO: Processing buffer {"connection_id":137664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:30:51] local.INFO: IMEI packet received {"connection_id":137664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 15:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":137664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:30:52] local.INFO: TCP Data received {"connection_id":137665,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:30:52] local.INFO: Processing buffer {"connection_id":137665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:30:52] local.INFO: IMEI packet received {"connection_id":137665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":137665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:30:56] local.INFO: TCP Data received {"connection_id":137665,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:30:56] local.INFO: Processing buffer {"connection_id":137665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:30:56] local.INFO: IMEI packet received {"connection_id":137665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":137665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:30:57] local.INFO: TCP Data received {"connection_id":137665,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cf36f8012d196740071fee88003f004c2e..."} 
[2026-07-19 15:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cf36f8012d196740071fee88003f004c2e..."} 
[2026-07-19 15:30:57] local.INFO: Processing buffer {"connection_id":137665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cf36f8012d196740071fee88003f004c2e..."} 
[2026-07-19 15:30:57] local.INFO: Packet analysis {"connection_id":137665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:30:57] local.INFO: Extracted packet for processing {"connection_id":137665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:30:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820487680001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30: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-07-19 15:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784455051000,"timestamp_ms":1784455051000,"timestamp_seconds":1784455051,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cf36f8"} 
[2026-07-19 15:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:30: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-07-19 15: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8776573083062180199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21436078695120896,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3449606145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:30:57] local.WARNING: Large IO value detected {"io_id":74,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:30:57] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,146,45,64,238,63,46,10,66,44,1,240,227,121,31,4,113,205,74,136,43,239,47,2,25,7,41],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:30:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712180546699264,"timestamp_seconds":4539712180546699.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820487680001,"66":12265,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820487680001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:30:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:30:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820487680001,"power":12265,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":137665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:30:57] local.INFO: GPS data processed {"connection_id":137665,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:30:57] local.INFO: Acknowledgment sent {"connection_id":137665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:31:09] local.INFO: TCP Data received {"connection_id":136583,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:31:09] local.INFO: Processing buffer {"connection_id":136583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:31:09] local.INFO: Packet analysis {"connection_id":136583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:31:09] local.INFO: Extracted packet for processing {"connection_id":136583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820426240001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:31: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-07-19 15:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784455091000,"timestamp_ms":1784455091000,"timestamp_seconds":1784455091,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cfd338"} 
[2026-07-19 15:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:31:09] 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-07-19 15:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820426240001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820426240001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820426240001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":136583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:31:09] local.INFO: GPS data processed {"connection_id":136583,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:31:09] local.INFO: Acknowledgment sent {"connection_id":136583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:31:28] local.INFO: TCP Data received {"connection_id":137665,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cf8900012d196740071fee88003f004c2f..."} 
[2026-07-19 15:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cf8900012d196740071fee88003f004c2f..."} 
[2026-07-19 15:31:28] local.INFO: Processing buffer {"connection_id":137665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cf8900012d196740071fee88003f004c2f..."} 
[2026-07-19 15:31:28] local.INFO: Packet analysis {"connection_id":137665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:31:28] local.INFO: Extracted packet for processing {"connection_id":137665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:31:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820493056001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:31: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-07-19 15:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784455072000,"timestamp_ms":1784455072000,"timestamp_seconds":1784455072,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cf8900"} 
[2026-07-19 15:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 15:31:28] 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-07-19 15: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-07-19 15:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820493056001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820493056001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:31:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:31:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820493056001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":137665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:31:28] local.INFO: GPS data processed {"connection_id":137665,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:31:28] local.INFO: Acknowledgment sent {"connection_id":137665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:31:31] local.INFO: TCP Data received {"connection_id":136704,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:31:31] local.INFO: Processing buffer {"connection_id":136704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:31:31] local.INFO: IMEI packet received {"connection_id":136704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 15:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":136704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:31:31] local.INFO: TCP Data received {"connection_id":136705,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:31:31] local.INFO: Processing buffer {"connection_id":136705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:31:31] local.INFO: IMEI packet received {"connection_id":136705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":136705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:31:36] local.INFO: TCP Data received {"connection_id":136705,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:31:36] local.INFO: Processing buffer {"connection_id":136705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:31:36] local.INFO: IMEI packet received {"connection_id":136705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":136705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:31:38] local.INFO: TCP Data received {"connection_id":136705,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:31:38] local.INFO: Processing buffer {"connection_id":136705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:31:38] local.INFO: Packet analysis {"connection_id":136705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:31:38] local.INFO: Extracted packet for processing {"connection_id":136705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820426240001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:31: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-07-19 15:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784455091000,"timestamp_ms":1784455091000,"timestamp_seconds":1784455091,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cfd338"} 
[2026-07-19 15:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:31: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-07-19 15:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820426240001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820426240001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:31:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820426240001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":136705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:31:38] local.INFO: GPS data processed {"connection_id":136705,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:31:38] local.INFO: Acknowledgment sent {"connection_id":136705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:31:51] local.INFO: TCP Data received {"connection_id":137666,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:31:51] local.INFO: Processing buffer {"connection_id":137666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:31:51] local.INFO: IMEI packet received {"connection_id":137666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":137666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:31:56] local.INFO: TCP Data received {"connection_id":137666,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:31:56] local.INFO: Processing buffer {"connection_id":137666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:31:56] local.INFO: IMEI packet received {"connection_id":137666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":137666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:31:57] local.INFO: TCP Data received {"connection_id":137666,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cfdb08012d196740071fee88003f004c2f..."} 
[2026-07-19 15:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cfdb08012d196740071fee88003f004c2f..."} 
[2026-07-19 15:31:57] local.INFO: Processing buffer {"connection_id":137666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cfdb08012d196740071fee88003f004c2f..."} 
[2026-07-19 15:31:57] local.INFO: Packet analysis {"connection_id":137666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:31:57] local.INFO: Extracted packet for processing {"connection_id":137666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:31:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820498432001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:31: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-07-19 15:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784455093000,"timestamp_ms":1784455093000,"timestamp_seconds":1784455093,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cfdb08"} 
[2026-07-19 15:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:31: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-07-19 15:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820498432001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820498432001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:31:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:31:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820498432001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":137666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:31:57] local.INFO: GPS data processed {"connection_id":137666,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:31:57] local.INFO: Acknowledgment sent {"connection_id":137666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:32:09] local.INFO: TCP Data received {"connection_id":136705,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:32:09] local.INFO: Processing buffer {"connection_id":136705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:32:09] local.INFO: Packet analysis {"connection_id":136705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:32:09] local.INFO: Extracted packet for processing {"connection_id":136705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820426240001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:32: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-07-19 15:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784455091000,"timestamp_ms":1784455091000,"timestamp_seconds":1784455091,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cfd338"} 
[2026-07-19 15:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:32:09] 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-07-19 15:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820426240001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820426240001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:32:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820426240001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":136705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:32:09] local.INFO: GPS data processed {"connection_id":136705,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:32:09] local.INFO: Acknowledgment sent {"connection_id":136705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:32:28] local.INFO: TCP Data received {"connection_id":137666,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d02d10012d196740071fee88003f004c29..."} 
[2026-07-19 15:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d02d10012d196740071fee88003f004c29..."} 
[2026-07-19 15:32:28] local.INFO: Processing buffer {"connection_id":137666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d02d10012d196740071fee88003f004c29..."} 
[2026-07-19 15:32:28] local.INFO: Packet analysis {"connection_id":137666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d0"} 
[2026-07-19 15:32:28] local.INFO: Extracted packet for processing {"connection_id":137666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d0"} 
[2026-07-19 15:32:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820503808001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:32: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-07-19 15:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784455114000,"timestamp_ms":1784455114000,"timestamp_seconds":1784455114,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d02d10"} 
[2026-07-19 15:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:32:28] 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-07-19 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820503808001,"66":12232,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820503808001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:32:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:32:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820503808001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":137666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:32:28] local.INFO: GPS data processed {"connection_id":137666,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:32:28] local.INFO: Acknowledgment sent {"connection_id":137666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:32:36] local.INFO: TCP Data received {"connection_id":139060,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:32:36] local.INFO: Processing buffer {"connection_id":139060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:32:36] local.INFO: IMEI packet received {"connection_id":139060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":139060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:32:41] local.INFO: TCP Data received {"connection_id":139060,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:32:41] local.INFO: Processing buffer {"connection_id":139060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:32:41] local.INFO: IMEI packet received {"connection_id":139060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":139060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:32:42] local.INFO: TCP Data received {"connection_id":139060,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:32:42] local.INFO: Processing buffer {"connection_id":139060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:32:42] local.INFO: Packet analysis {"connection_id":139060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:32:42] local.INFO: Extracted packet for processing {"connection_id":139060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:32:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820426240001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784455091000,"timestamp_ms":1784455091000,"timestamp_seconds":1784455091,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cfd338"} 
[2026-07-19 15:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820426240001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820426240001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:32:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:32:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820426240001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":139060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:32:42] local.INFO: GPS data processed {"connection_id":139060,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:32:42] local.INFO: Acknowledgment sent {"connection_id":139060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:32:46] local.INFO: TCP Data received {"connection_id":139060,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:32:46] local.INFO: Processing buffer {"connection_id":139060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:32:46] local.INFO: Packet analysis {"connection_id":139060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:32:46] local.INFO: Extracted packet for processing {"connection_id":139060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:32:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820426240001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784455091000,"timestamp_ms":1784455091000,"timestamp_seconds":1784455091,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cfd338"} 
[2026-07-19 15:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":139060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":139060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":139060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820426240001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820426240001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:32:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:32:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820426240001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":139060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:32:46] local.INFO: GPS data processed {"connection_id":139060,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:32:46] local.INFO: Acknowledgment sent {"connection_id":139060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:32:56] local.INFO: TCP Data received {"connection_id":136706,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:32:56] local.INFO: Processing buffer {"connection_id":136706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:32:56] local.INFO: IMEI packet received {"connection_id":136706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":136706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:33:01] local.INFO: TCP Data received {"connection_id":136706,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:33:01] local.INFO: Processing buffer {"connection_id":136706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:33:01] local.INFO: IMEI packet received {"connection_id":136706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":136706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:33:02] local.INFO: TCP Data received {"connection_id":136706,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d07f18012d196740071fee88003f004c2d..."} 
[2026-07-19 15:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d07f18012d196740071fee88003f004c2d..."} 
[2026-07-19 15:33:02] local.INFO: Processing buffer {"connection_id":136706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d07f18012d196740071fee88003f004c2d..."} 
[2026-07-19 15:33:02] local.INFO: Packet analysis {"connection_id":136706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d0"} 
[2026-07-19 15:33:02] local.INFO: Extracted packet for processing {"connection_id":136706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d0"} 
[2026-07-19 15:33:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820509184001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:33: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-07-19 15:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784455135000,"timestamp_ms":1784455135000,"timestamp_seconds":1784455135,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d07f18"} 
[2026-07-19 15:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-19 15:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820509184001,"66":12232,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820509184001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:33:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:33:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820509184001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":136706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:33:02] local.INFO: GPS data processed {"connection_id":136706,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:33:02] local.INFO: Acknowledgment sent {"connection_id":136706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:33:03] local.INFO: TCP Data received {"connection_id":136706,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d0d120012d196740071fee88003f004c2b..."} 
[2026-07-19 15:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d0d120012d196740071fee88003f004c2b..."} 
[2026-07-19 15:33:03] local.INFO: Processing buffer {"connection_id":136706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d0d120012d196740071fee88003f004c2b..."} 
[2026-07-19 15:33:03] local.INFO: Packet analysis {"connection_id":136706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d0"} 
[2026-07-19 15:33:03] local.INFO: Extracted packet for processing {"connection_id":136706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d0"} 
[2026-07-19 15:33:03] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820514560001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784455156000,"timestamp_ms":1784455156000,"timestamp_seconds":1784455156,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d0d120"} 
[2026-07-19 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-07-19 15:33: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-07-19 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-19 15:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 15:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":136706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":136706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":136706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820514560001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820514560001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:33:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:33:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820514560001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":136706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:33:03] local.INFO: GPS data processed {"connection_id":136706,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:33:03] local.INFO: Acknowledgment sent {"connection_id":136706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:33:34] local.INFO: TCP Data received {"connection_id":139062,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:33:34] local.INFO: Processing buffer {"connection_id":139062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:33:34] local.INFO: IMEI packet received {"connection_id":139062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":139062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:33:34] local.INFO: TCP Data received {"connection_id":136706,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d12328012d196740071fee88003f004c2c..."} 
[2026-07-19 15:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d12328012d196740071fee88003f004c2c..."} 
[2026-07-19 15:33:34] local.INFO: Processing buffer {"connection_id":136706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d12328012d196740071fee88003f004c2c..."} 
[2026-07-19 15:33:34] local.INFO: Packet analysis {"connection_id":136706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d1"} 
[2026-07-19 15:33:34] local.INFO: Extracted packet for processing {"connection_id":136706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d1"} 
[2026-07-19 15:33:34] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820519936001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784455177000,"timestamp_ms":1784455177000,"timestamp_seconds":1784455177,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d12328"} 
[2026-07-19 15:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":136706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":136706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":136706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820519936001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820519936001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:33:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:33:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820519936001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":136706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:33:34] local.INFO: GPS data processed {"connection_id":136706,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:33:34] local.INFO: Acknowledgment sent {"connection_id":136706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:33:36] local.INFO: TCP Data received {"connection_id":139062,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:33:36] local.INFO: Processing buffer {"connection_id":139062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:33:36] local.INFO: IMEI packet received {"connection_id":139062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":139062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:33:37] local.INFO: TCP Data received {"connection_id":139062,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:33:37] local.INFO: Processing buffer {"connection_id":139062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:33:37] local.INFO: Packet analysis {"connection_id":139062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:33:37] local.INFO: Extracted packet for processing {"connection_id":139062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820426240001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:33: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-07-19 15:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784455091000,"timestamp_ms":1784455091000,"timestamp_seconds":1784455091,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cfd338"} 
[2026-07-19 15:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:33: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-07-19 15:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820426240001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820426240001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:33:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820426240001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":139062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:33:37] local.INFO: GPS data processed {"connection_id":139062,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:33:37] local.INFO: Acknowledgment sent {"connection_id":139062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:33:42] local.INFO: TCP Data received {"connection_id":139062,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:33:42] local.INFO: Processing buffer {"connection_id":139062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79cfd338012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:33:42] local.INFO: Packet analysis {"connection_id":139062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:33:42] local.INFO: Extracted packet for processing {"connection_id":139062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79cf"} 
[2026-07-19 15:33:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820426240001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784455091000,"timestamp_ms":1784455091000,"timestamp_seconds":1784455091,"priority":1,"record_length":96,"hex_timestamp":"0000019f79cfd338"} 
[2026-07-19 15:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820426240001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820426240001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:33:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:33:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820426240001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":139062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:33:42] local.INFO: GPS data processed {"connection_id":139062,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:33:42] local.INFO: Acknowledgment sent {"connection_id":139062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:33:51] local.INFO: TCP Data received {"connection_id":137667,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:33:51] local.INFO: Processing buffer {"connection_id":137667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:33:51] local.INFO: IMEI packet received {"connection_id":137667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":137667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:33:56] local.INFO: TCP Data received {"connection_id":137667,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:33:56] local.INFO: Processing buffer {"connection_id":137667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:33:56] local.INFO: IMEI packet received {"connection_id":137667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":137667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:33:57] local.INFO: TCP Data received {"connection_id":137667,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d17530012d196740071fee88003f004c2d..."} 
[2026-07-19 15:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d17530012d196740071fee88003f004c2d..."} 
[2026-07-19 15:33:57] local.INFO: Processing buffer {"connection_id":137667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d17530012d196740071fee88003f004c2d..."} 
[2026-07-19 15:33:57] local.INFO: Packet analysis {"connection_id":137667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d1"} 
[2026-07-19 15:33:57] local.INFO: Extracted packet for processing {"connection_id":137667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d1"} 
[2026-07-19 15:33:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820525312001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:33: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-07-19 15:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784455198000,"timestamp_ms":1784455198000,"timestamp_seconds":1784455198,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d17530"} 
[2026-07-19 15:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:33: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-07-19 15:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820525312001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820525312001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:33:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:33:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820525312001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":137667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:33:57] local.INFO: GPS data processed {"connection_id":137667,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:33:57] local.INFO: Acknowledgment sent {"connection_id":137667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:34:01] local.INFO: TCP Data received {"connection_id":137667,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d1c738012d196740071fee88003f004c2c..."} 
[2026-07-19 15:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d1c738012d196740071fee88003f004c2c..."} 
[2026-07-19 15:34:01] local.INFO: Processing buffer {"connection_id":137667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d1c738012d196740071fee88003f004c2c..."} 
[2026-07-19 15:34:01] local.INFO: Packet analysis {"connection_id":137667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d1"} 
[2026-07-19 15:34:01] local.INFO: Extracted packet for processing {"connection_id":137667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d1"} 
[2026-07-19 15:34:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820530688001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784455219000,"timestamp_ms":1784455219000,"timestamp_seconds":1784455219,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d1c738"} 
[2026-07-19 15:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:34: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-07-19 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:34:01] 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-07-19 15: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-07-19 15:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820530688001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820530688001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:34:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:34:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820530688001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":137667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:34:02] local.INFO: GPS data processed {"connection_id":137667,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:34:02] local.INFO: Acknowledgment sent {"connection_id":137667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:34:13] local.INFO: TCP Data received {"connection_id":139062,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:34:13] local.INFO: Processing buffer {"connection_id":139062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:34:13] local.INFO: Packet analysis {"connection_id":139062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:34:13] local.INFO: Extracted packet for processing {"connection_id":139062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:34:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820503296001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:34: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-07-19 15:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784455392000,"timestamp_ms":1784455392000,"timestamp_seconds":1784455392,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d46b00"} 
[2026-07-19 15:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:34: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-07-19 15: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":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:34: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-07-19 15: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-07-19 15:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":139062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":139062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":139062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:34: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-07-19 15:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820503296001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820503296001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:34:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:34:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820503296001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":139062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:34:13] local.INFO: GPS data processed {"connection_id":139062,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:34:13] local.INFO: Acknowledgment sent {"connection_id":139062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:34:31] local.INFO: TCP Data received {"connection_id":136707,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:34:31] local.INFO: Processing buffer {"connection_id":136707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:34:31] local.INFO: IMEI packet received {"connection_id":136707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":136707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:34:32] local.INFO: TCP Data received {"connection_id":137667,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d21940012d196740071fee88003f004c2c..."} 
[2026-07-19 15:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d21940012d196740071fee88003f004c2c..."} 
[2026-07-19 15:34:32] local.INFO: Processing buffer {"connection_id":137667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d21940012d196740071fee88003f004c2c..."} 
[2026-07-19 15:34:32] local.INFO: Packet analysis {"connection_id":137667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d2"} 
[2026-07-19 15:34:32] local.INFO: Extracted packet for processing {"connection_id":137667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d2"} 
[2026-07-19 15:34:32] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820536064001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784455240000,"timestamp_ms":1784455240000,"timestamp_seconds":1784455240,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d21940"} 
[2026-07-19 15:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:34: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-07-19 15:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:34:32] 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-07-19 15:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":137667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":137667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":137667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820536064001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820536064001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:34:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:34:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820536064001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":137667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:34:33] local.INFO: GPS data processed {"connection_id":137667,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:34:33] local.INFO: Acknowledgment sent {"connection_id":137667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:34:36] local.INFO: TCP Data received {"connection_id":136707,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:34:36] local.INFO: Processing buffer {"connection_id":136707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:34:36] local.INFO: IMEI packet received {"connection_id":136707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":136707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:34:37] local.INFO: TCP Data received {"connection_id":136707,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:34:37] local.INFO: Processing buffer {"connection_id":136707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:34:37] local.INFO: Packet analysis {"connection_id":136707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:34:37] local.INFO: Extracted packet for processing {"connection_id":136707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820503296001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:34: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-07-19 15:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784455392000,"timestamp_ms":1784455392000,"timestamp_seconds":1784455392,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d46b00"} 
[2026-07-19 15:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:34: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-07-19 15:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820503296001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820503296001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:34:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820503296001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":136707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:34:37] local.INFO: GPS data processed {"connection_id":136707,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:34:37] local.INFO: Acknowledgment sent {"connection_id":136707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:34:48] local.INFO: TCP Data received {"connection_id":136584,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:34:48] local.INFO: Processing buffer {"connection_id":136584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:34:48] local.INFO: IMEI packet received {"connection_id":136584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":136584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:34:51] local.INFO: TCP Data received {"connection_id":136584,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:34:51] local.INFO: Processing buffer {"connection_id":136584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:34:51] local.INFO: IMEI packet received {"connection_id":136584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":136584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:34:56] local.INFO: TCP Data received {"connection_id":136584,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:34:56] local.INFO: Processing buffer {"connection_id":136584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:34:56] local.INFO: IMEI packet received {"connection_id":136584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":136584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:34:57] local.INFO: TCP Data received {"connection_id":136584,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d26b48012d196740071fee88003f004c2d..."} 
[2026-07-19 15:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d26b48012d196740071fee88003f004c2d..."} 
[2026-07-19 15:34:57] local.INFO: Processing buffer {"connection_id":136584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d26b48012d196740071fee88003f004c2d..."} 
[2026-07-19 15:34:57] local.INFO: Packet analysis {"connection_id":136584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d2"} 
[2026-07-19 15:34:57] local.INFO: Extracted packet for processing {"connection_id":136584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d2"} 
[2026-07-19 15:34:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820541440001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:34: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-07-19 15:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784455261000,"timestamp_ms":1784455261000,"timestamp_seconds":1784455261,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d26b48"} 
[2026-07-19 15:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820541440001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820541440001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:34:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:34:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820541440001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":136584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:34:57] local.INFO: GPS data processed {"connection_id":136584,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:34:57] local.INFO: Acknowledgment sent {"connection_id":136584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:35:09] local.INFO: TCP Data received {"connection_id":136707,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:35:09] local.INFO: Processing buffer {"connection_id":136707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:35:09] local.INFO: Packet analysis {"connection_id":136707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:35:09] local.INFO: Extracted packet for processing {"connection_id":136707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820503296001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15: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-07-19 15:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784455392000,"timestamp_ms":1784455392000,"timestamp_seconds":1784455392,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d46b00"} 
[2026-07-19 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-07-19 15:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 15:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:35: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-07-19 15:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820503296001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820503296001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:35:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820503296001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":136707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:35:09] local.INFO: GPS data processed {"connection_id":136707,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:35:09] local.INFO: Acknowledgment sent {"connection_id":136707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:35:28] local.INFO: TCP Data received {"connection_id":136584,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d2bd50012d196740071fee88003f004c2d..."} 
[2026-07-19 15:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d2bd50012d196740071fee88003f004c2d..."} 
[2026-07-19 15:35:28] local.INFO: Processing buffer {"connection_id":136584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d2bd50012d196740071fee88003f004c2d..."} 
[2026-07-19 15:35:28] local.INFO: Packet analysis {"connection_id":136584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d2"} 
[2026-07-19 15:35:28] local.INFO: Extracted packet for processing {"connection_id":136584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d2"} 
[2026-07-19 15:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820546816001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:35: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-07-19 15:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784455282000,"timestamp_ms":1784455282000,"timestamp_seconds":1784455282,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d2bd50"} 
[2026-07-19 15:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:35:28] 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-07-19 15:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 15:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820546816001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820546816001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:35:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:35:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820546816001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":136584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:35:28] local.INFO: GPS data processed {"connection_id":136584,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:35:28] local.INFO: Acknowledgment sent {"connection_id":136584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:35:31] local.INFO: TCP Data received {"connection_id":136585,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:35:31] local.INFO: Processing buffer {"connection_id":136585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:35:31] local.INFO: IMEI packet received {"connection_id":136585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":136585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:35:36] local.INFO: TCP Data received {"connection_id":136585,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:35:36] local.INFO: Processing buffer {"connection_id":136585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:35:36] local.INFO: IMEI packet received {"connection_id":136585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":136585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:35:37] local.INFO: TCP Data received {"connection_id":136585,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:35:38] local.INFO: Processing buffer {"connection_id":136585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:35:38] local.INFO: Packet analysis {"connection_id":136585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:35:38] local.INFO: Extracted packet for processing {"connection_id":136585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820503296001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:35: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-07-19 15:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784455392000,"timestamp_ms":1784455392000,"timestamp_seconds":1784455392,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d46b00"} 
[2026-07-19 15:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:35: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-07-19 15:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820503296001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820503296001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:35:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820503296001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":136585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:35:38] local.INFO: GPS data processed {"connection_id":136585,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:35:38] local.INFO: Acknowledgment sent {"connection_id":136585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:35:51] local.INFO: TCP Data received {"connection_id":136708,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:35:51] local.INFO: Processing buffer {"connection_id":136708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:35:51] local.INFO: IMEI packet received {"connection_id":136708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":136708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:35:52] local.INFO: TCP Data received {"connection_id":136708,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:35:52] local.INFO: Processing buffer {"connection_id":136708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:35:52] local.INFO: IMEI packet received {"connection_id":136708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":136708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:35:56] local.INFO: TCP Data received {"connection_id":136708,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:35:56] local.INFO: Processing buffer {"connection_id":136708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:35:56] local.INFO: IMEI packet received {"connection_id":136708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":136708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:35:57] local.INFO: TCP Data received {"connection_id":136708,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d30f58012d196740071fee88003f004c2e..."} 
[2026-07-19 15:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d30f58012d196740071fee88003f004c2e..."} 
[2026-07-19 15:35:57] local.INFO: Processing buffer {"connection_id":136708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d30f58012d196740071fee88003f004c2e..."} 
[2026-07-19 15:35:57] local.INFO: Packet analysis {"connection_id":136708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d3"} 
[2026-07-19 15:35:57] local.INFO: Extracted packet for processing {"connection_id":136708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d3"} 
[2026-07-19 15:35:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820552192001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:35: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-07-19 15:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784455303000,"timestamp_ms":1784455303000,"timestamp_seconds":1784455303,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d30f58"} 
[2026-07-19 15:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:35: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-07-19 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820552192001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820552192001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:35:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:35:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820552192001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":136708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:35:57] local.INFO: GPS data processed {"connection_id":136708,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:35:57] local.INFO: Acknowledgment sent {"connection_id":136708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:36:09] local.INFO: TCP Data received {"connection_id":136585,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:36:09] local.INFO: Processing buffer {"connection_id":136585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:36:09] local.INFO: Packet analysis {"connection_id":136585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:36:09] local.INFO: Extracted packet for processing {"connection_id":136585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820503296001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:36: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-07-19 15:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784455392000,"timestamp_ms":1784455392000,"timestamp_seconds":1784455392,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d46b00"} 
[2026-07-19 15:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:36: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-07-19 15:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820503296001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820503296001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:36:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820503296001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":136585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:36:09] local.INFO: GPS data processed {"connection_id":136585,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:36:09] local.INFO: Acknowledgment sent {"connection_id":136585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:36:28] local.INFO: TCP Data received {"connection_id":136708,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d36160012d196740071fee88003f004c2c..."} 
[2026-07-19 15:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d36160012d196740071fee88003f004c2c..."} 
[2026-07-19 15:36:28] local.INFO: Processing buffer {"connection_id":136708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d36160012d196740071fee88003f004c2c..."} 
[2026-07-19 15:36:28] local.INFO: Packet analysis {"connection_id":136708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d3"} 
[2026-07-19 15:36:28] local.INFO: Extracted packet for processing {"connection_id":136708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d3"} 
[2026-07-19 15:36:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820557568001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:36: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-07-19 15:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784455324000,"timestamp_ms":1784455324000,"timestamp_seconds":1784455324,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d36160"} 
[2026-07-19 15:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820557568001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820557568001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:36:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:36:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820557568001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":136708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:36:28] local.INFO: GPS data processed {"connection_id":136708,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:36:28] local.INFO: Acknowledgment sent {"connection_id":136708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:36:31] local.INFO: TCP Data received {"connection_id":136709,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:36:31] local.INFO: Processing buffer {"connection_id":136709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:36:31] local.INFO: IMEI packet received {"connection_id":136709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":136709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:36:36] local.INFO: TCP Data received {"connection_id":136709,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:36:36] local.INFO: Processing buffer {"connection_id":136709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:36:36] local.INFO: IMEI packet received {"connection_id":136709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":136709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:36:37] local.INFO: TCP Data received {"connection_id":136709,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:36:37] local.INFO: Processing buffer {"connection_id":136709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:36:37] local.INFO: Packet analysis {"connection_id":136709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:36:37] local.INFO: Extracted packet for processing {"connection_id":136709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820503296001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:36: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-07-19 15:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784455392000,"timestamp_ms":1784455392000,"timestamp_seconds":1784455392,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d46b00"} 
[2026-07-19 15:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15: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-07-19 15:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820503296001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820503296001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820503296001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":136709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:36:37] local.INFO: GPS data processed {"connection_id":136709,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:36:37] local.INFO: Acknowledgment sent {"connection_id":136709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:36:51] local.INFO: TCP Data received {"connection_id":137671,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:36:52] local.INFO: Processing buffer {"connection_id":137671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:36:52] local.INFO: IMEI packet received {"connection_id":137671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":137671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:36:54] local.INFO: TCP Data received {"connection_id":137671,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:36:54] local.INFO: Processing buffer {"connection_id":137671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:36:54] local.INFO: IMEI packet received {"connection_id":137671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":137671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:36:56] local.INFO: TCP Data received {"connection_id":137671,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:36:56] local.INFO: Processing buffer {"connection_id":137671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:36:56] local.INFO: IMEI packet received {"connection_id":137671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":137671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:36:56] local.INFO: TCP Data received {"connection_id":137670,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:36:56] local.INFO: Processing buffer {"connection_id":137670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:36:56] local.INFO: IMEI packet received {"connection_id":137670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 15:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":137670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:36:57] local.INFO: TCP Data received {"connection_id":137671,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d3b368012d196740071fee88003f004c2c..."} 
[2026-07-19 15:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d3b368012d196740071fee88003f004c2c..."} 
[2026-07-19 15:36:57] local.INFO: Processing buffer {"connection_id":137671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d3b368012d196740071fee88003f004c2c..."} 
[2026-07-19 15:36:57] local.INFO: Packet analysis {"connection_id":137671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d3"} 
[2026-07-19 15:36:57] local.INFO: Extracted packet for processing {"connection_id":137671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d3"} 
[2026-07-19 15:36:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820562944001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:36: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-07-19 15:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784455345000,"timestamp_ms":1784455345000,"timestamp_seconds":1784455345,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d3b368"} 
[2026-07-19 15:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820562944001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820562944001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:36:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:36:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820562944001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":137671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:36:57] local.INFO: GPS data processed {"connection_id":137671,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:36:57] local.INFO: Acknowledgment sent {"connection_id":137671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:37:01] local.INFO: TCP Data received {"connection_id":137671,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d40570012d196740071fee88003f004c2a..."} 
[2026-07-19 15:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d40570012d196740071fee88003f004c2a..."} 
[2026-07-19 15:37:01] local.INFO: Processing buffer {"connection_id":137671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d40570012d196740071fee88003f004c2a..."} 
[2026-07-19 15:37:01] local.INFO: Packet analysis {"connection_id":137671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:37:01] local.INFO: Extracted packet for processing {"connection_id":137671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:37:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820568320001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784455366000,"timestamp_ms":1784455366000,"timestamp_seconds":1784455366,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d40570"} 
[2026-07-19 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-07-19 15:37: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-07-19 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 15:37:01] 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-07-19 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-07-19 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-07-19 15:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820568320001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820568320001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:37:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:37:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820568320001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":137671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:37:02] local.INFO: GPS data processed {"connection_id":137671,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:37:02] local.INFO: Acknowledgment sent {"connection_id":137671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:37:08] local.INFO: TCP Data received {"connection_id":136709,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:37:08] local.INFO: Processing buffer {"connection_id":136709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:37:08] local.INFO: Packet analysis {"connection_id":136709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:37:08] local.INFO: Extracted packet for processing {"connection_id":136709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820503296001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15: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-07-19 15:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784455392000,"timestamp_ms":1784455392000,"timestamp_seconds":1784455392,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d46b00"} 
[2026-07-19 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-07-19 15:37: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-07-19 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 15:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820503296001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820503296001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:37:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820503296001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":136709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:37:08] local.INFO: GPS data processed {"connection_id":136709,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:37:08] local.INFO: Acknowledgment sent {"connection_id":136709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:37:26] local.INFO: TCP Data received {"connection_id":136710,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:37:26] local.INFO: Processing buffer {"connection_id":136710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:37:26] local.INFO: IMEI packet received {"connection_id":136710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 15:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":136710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:37:32] local.INFO: TCP Data received {"connection_id":137671,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d45778012d196740071fee88003f004c2c..."} 
[2026-07-19 15:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d45778012d196740071fee88003f004c2c..."} 
[2026-07-19 15:37:32] local.INFO: Processing buffer {"connection_id":137671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d45778012d196740071fee88003f004c2c..."} 
[2026-07-19 15:37:32] local.INFO: Packet analysis {"connection_id":137671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:37:32] local.INFO: Extracted packet for processing {"connection_id":137671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:37:32] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820573696001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784455387000,"timestamp_ms":1784455387000,"timestamp_seconds":1784455387,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d45778"} 
[2026-07-19 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-07-19 15:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:37:32] 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-07-19 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-07-19 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-07-19 15:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":137671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":137671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":137671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820573696001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820573696001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:37:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:37:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820573696001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":137671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:37:33] local.INFO: GPS data processed {"connection_id":137671,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:37:33] local.INFO: Acknowledgment sent {"connection_id":137671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:37:36] local.INFO: TCP Data received {"connection_id":136586,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:37:36] local.INFO: Processing buffer {"connection_id":136586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:37:36] local.INFO: IMEI packet received {"connection_id":136586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":136586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:37:41] local.INFO: TCP Data received {"connection_id":136586,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:37:41] local.INFO: Processing buffer {"connection_id":136586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:37:41] local.INFO: IMEI packet received {"connection_id":136586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":136586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:37:42] local.INFO: TCP Data received {"connection_id":136586,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:37:42] local.INFO: Processing buffer {"connection_id":136586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:37:42] local.INFO: Packet analysis {"connection_id":136586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:37:42] local.INFO: Extracted packet for processing {"connection_id":136586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:37:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820503296001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784455392000,"timestamp_ms":1784455392000,"timestamp_seconds":1784455392,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d46b00"} 
[2026-07-19 15:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820503296001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820503296001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:37:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:37:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820503296001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":136586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:37:42] local.INFO: GPS data processed {"connection_id":136586,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:37:42] local.INFO: Acknowledgment sent {"connection_id":136586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:37:47] local.INFO: TCP Data received {"connection_id":136586,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:37:47] local.INFO: Processing buffer {"connection_id":136586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:37:47] local.INFO: Packet analysis {"connection_id":136586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:37:47] local.INFO: Extracted packet for processing {"connection_id":136586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820503296001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784455392000,"timestamp_ms":1784455392000,"timestamp_seconds":1784455392,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d46b00"} 
[2026-07-19 15:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820503296001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820503296001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:37:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820503296001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":136586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:37:47] local.INFO: GPS data processed {"connection_id":136586,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:37:47] local.INFO: Acknowledgment sent {"connection_id":136586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:37:51] local.INFO: TCP Data received {"connection_id":139063,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:37:51] local.INFO: Processing buffer {"connection_id":139063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:37:51] local.INFO: IMEI packet received {"connection_id":139063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":139063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:37:56] local.INFO: TCP Data received {"connection_id":139063,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:37:56] local.INFO: Processing buffer {"connection_id":139063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:37:56] local.INFO: IMEI packet received {"connection_id":139063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":139063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:37:57] local.INFO: TCP Data received {"connection_id":139063,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d4a980012d196740071fee88003f004c2c..."} 
[2026-07-19 15:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d4a980012d196740071fee88003f004c2c..."} 
[2026-07-19 15:37:57] local.INFO: Processing buffer {"connection_id":139063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d4a980012d196740071fee88003f004c2c..."} 
[2026-07-19 15:37:57] local.INFO: Packet analysis {"connection_id":139063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:37:57] local.INFO: Extracted packet for processing {"connection_id":139063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:37:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820579072001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37: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-07-19 15:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784455408000,"timestamp_ms":1784455408000,"timestamp_seconds":1784455408,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d4a980"} 
[2026-07-19 15:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:37: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-07-19 15: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8778106386386852199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21441576253259776,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195247100690638,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3540998145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:37:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:37:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,5,45,64,238,63,42,10,66,179,44,97,1,240,255,227,121,31,4,113,205,189,136,239,47,2,25,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:37:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712176251731968,"timestamp_seconds":4539712176251732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820579072001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820579072001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:37:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:37:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820579072001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":139063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:37:57] local.INFO: GPS data processed {"connection_id":139063,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:37:57] local.INFO: Acknowledgment sent {"connection_id":139063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:38:28] local.INFO: TCP Data received {"connection_id":139063,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d4fb88012d196740071fee88003f004c2b..."} 
[2026-07-19 15:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d4fb88012d196740071fee88003f004c2b..."} 
[2026-07-19 15:38:28] local.INFO: Processing buffer {"connection_id":139063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d4fb88012d196740071fee88003f004c2b..."} 
[2026-07-19 15:38:28] local.INFO: Packet analysis {"connection_id":139063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:38:28] local.INFO: Extracted packet for processing {"connection_id":139063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:38:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820584448001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:38: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-07-19 15:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784455429000,"timestamp_ms":1784455429000,"timestamp_seconds":1784455429,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d4fb88"} 
[2026-07-19 15:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 15:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820584448001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820584448001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:38:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:38:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820584448001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":139063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:38:28] local.INFO: GPS data processed {"connection_id":139063,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:38:28] local.INFO: Acknowledgment sent {"connection_id":139063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:38:31] local.INFO: TCP Data received {"connection_id":136711,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:38:31] local.INFO: Processing buffer {"connection_id":136711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:38:31] local.INFO: IMEI packet received {"connection_id":136711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":136711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:38:36] local.INFO: TCP Data received {"connection_id":136711,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:38:36] local.INFO: Processing buffer {"connection_id":136711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:38:36] local.INFO: IMEI packet received {"connection_id":136711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":136711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:38:38] local.INFO: TCP Data received {"connection_id":136711,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:38:38] local.INFO: Processing buffer {"connection_id":136711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d46b00012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:38:38] local.INFO: Packet analysis {"connection_id":136711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:38:38] local.INFO: Extracted packet for processing {"connection_id":136711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d4"} 
[2026-07-19 15:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820503296001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:38: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-07-19 15:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784455392000,"timestamp_ms":1784455392000,"timestamp_seconds":1784455392,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d46b00"} 
[2026-07-19 15:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:38: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-07-19 15:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820503296001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820503296001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:38:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820503296001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":136711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:38:38] local.INFO: GPS data processed {"connection_id":136711,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:38:38] local.INFO: Acknowledgment sent {"connection_id":136711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:38:56] local.INFO: TCP Data received {"connection_id":136588,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:38:56] local.INFO: Processing buffer {"connection_id":136588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:38:56] local.INFO: IMEI packet received {"connection_id":136588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":136588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:39:00] local.INFO: TCP Data received {"connection_id":136588,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:39:00] local.INFO: Processing buffer {"connection_id":136588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:39:00] local.INFO: IMEI packet received {"connection_id":136588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":136588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:39:01] local.INFO: TCP Data received {"connection_id":136588,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d881e0012d196740071fee88003f004c2d..."} 
[2026-07-19 15:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d881e0012d196740071fee88003f004c2d..."} 
[2026-07-19 15:39:01] local.INFO: Processing buffer {"connection_id":136588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d881e0012d196740071fee88003f004c2d..."} 
[2026-07-19 15:39:01] local.INFO: Packet analysis {"connection_id":136588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d8"} 
[2026-07-19 15:39:01] local.INFO: Extracted packet for processing {"connection_id":136588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d8"} 
[2026-07-19 15:39:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820643584001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784455660000,"timestamp_ms":1784455660000,"timestamp_seconds":1784455660,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d881e0"} 
[2026-07-19 15:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:39: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-07-19 15:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:39:01] 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-07-19 15:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820643584001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820643584001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:39:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:39:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820643584001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":136588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:39:01] local.INFO: GPS data processed {"connection_id":136588,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:39:01] local.INFO: Acknowledgment sent {"connection_id":136588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:39:02] local.INFO: TCP Data received {"connection_id":136588,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d8d3e8012d196740071fee88003f004c2a..."} 
[2026-07-19 15:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d8d3e8012d196740071fee88003f004c2a..."} 
[2026-07-19 15:39:02] local.INFO: Processing buffer {"connection_id":136588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d8d3e8012d196740071fee88003f004c2a..."} 
[2026-07-19 15:39:02] local.INFO: Packet analysis {"connection_id":136588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d8"} 
[2026-07-19 15:39:02] local.INFO: Extracted packet for processing {"connection_id":136588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d8"} 
[2026-07-19 15:39:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820648960001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:39: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-07-19 15:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784455681000,"timestamp_ms":1784455681000,"timestamp_seconds":1784455681,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d8d3e8"} 
[2026-07-19 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-07-19 15:39: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-07-19 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 15:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820648960001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820648960001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:39:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:39:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820648960001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":136588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:39:02] local.INFO: GPS data processed {"connection_id":136588,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:39:02] local.INFO: Acknowledgment sent {"connection_id":136588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:39:09] local.INFO: TCP Data received {"connection_id":136711,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:39:09] local.INFO: Processing buffer {"connection_id":136711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:39:09] local.INFO: Packet analysis {"connection_id":136711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:39:09] local.INFO: Extracted packet for processing {"connection_id":136711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820580352001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:39: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-07-19 15:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784455693000,"timestamp_ms":1784455693000,"timestamp_seconds":1784455693,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d902c8"} 
[2026-07-19 15:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:39: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-07-19 15:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820580352001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820580352001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:39:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820580352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":136711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:39:09] local.INFO: GPS data processed {"connection_id":136711,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:39:09] local.INFO: Acknowledgment sent {"connection_id":136711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:39:31] local.INFO: TCP Data received {"connection_id":137672,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:39:31] local.INFO: Processing buffer {"connection_id":137672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:39:31] local.INFO: IMEI packet received {"connection_id":137672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":137672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:39:33] local.INFO: TCP Data received {"connection_id":136588,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d925f0012d196740071fee88003f004c2b..."} 
[2026-07-19 15:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d925f0012d196740071fee88003f004c2b..."} 
[2026-07-19 15:39:33] local.INFO: Processing buffer {"connection_id":136588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d925f0012d196740071fee88003f004c2b..."} 
[2026-07-19 15:39:33] local.INFO: Packet analysis {"connection_id":136588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:39:33] local.INFO: Extracted packet for processing {"connection_id":136588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:39:33] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820654336001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:39:33] 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-07-19 15:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784455702000,"timestamp_ms":1784455702000,"timestamp_seconds":1784455702,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d925f0"} 
[2026-07-19 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-07-19 15:39: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-07-19 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 15:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 15:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":136588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":136588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":136588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820654336001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820654336001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:39:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:39:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820654336001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":136588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:39:33] local.INFO: GPS data processed {"connection_id":136588,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:39:33] local.INFO: Acknowledgment sent {"connection_id":136588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:39:36] local.INFO: TCP Data received {"connection_id":137672,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:39:36] local.INFO: Processing buffer {"connection_id":137672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:39:36] local.INFO: IMEI packet received {"connection_id":137672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":137672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:39:37] local.INFO: TCP Data received {"connection_id":137672,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:39:37] local.INFO: Processing buffer {"connection_id":137672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:39:37] local.INFO: Packet analysis {"connection_id":137672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:39:37] local.INFO: Extracted packet for processing {"connection_id":137672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820580352001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:39: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-07-19 15:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784455693000,"timestamp_ms":1784455693000,"timestamp_seconds":1784455693,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d902c8"} 
[2026-07-19 15:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820580352001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820580352001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820580352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":137672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:39:37] local.INFO: GPS data processed {"connection_id":137672,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:39:37] local.INFO: Acknowledgment sent {"connection_id":137672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:39:51] local.INFO: TCP Data received {"connection_id":139064,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:39:51] local.INFO: Processing buffer {"connection_id":139064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:39:51] local.INFO: IMEI packet received {"connection_id":139064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":139064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:39:56] local.INFO: TCP Data received {"connection_id":139064,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:39:56] local.INFO: Processing buffer {"connection_id":139064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:39:56] local.INFO: IMEI packet received {"connection_id":139064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":139064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:39:57] local.INFO: TCP Data received {"connection_id":139064,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d977f8012d196740071fee88003f004c27..."} 
[2026-07-19 15:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d977f8012d196740071fee88003f004c27..."} 
[2026-07-19 15:39:57] local.INFO: Processing buffer {"connection_id":139064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d977f8012d196740071fee88003f004c27..."} 
[2026-07-19 15:39:57] local.INFO: Packet analysis {"connection_id":139064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:39:57] local.INFO: Extracted packet for processing {"connection_id":139064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:39:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":39,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820659712001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:39: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-07-19 15:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784455723000,"timestamp_ms":1784455723000,"timestamp_seconds":1784455723,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d977f8"} 
[2026-07-19 15:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820659712001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820659712001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:39:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:39:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820659712001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":139064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:39:57] local.INFO: GPS data processed {"connection_id":139064,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:39:57] local.INFO: Acknowledgment sent {"connection_id":139064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:40:09] local.INFO: TCP Data received {"connection_id":137672,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:40:09] local.INFO: Processing buffer {"connection_id":137672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:40:09] local.INFO: Packet analysis {"connection_id":137672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:40:09] local.INFO: Extracted packet for processing {"connection_id":137672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820580352001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:40: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-07-19 15:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784455693000,"timestamp_ms":1784455693000,"timestamp_seconds":1784455693,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d902c8"} 
[2026-07-19 15:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:40:09] 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-07-19 15:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820580352001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820580352001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820580352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":137672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:40:09] local.INFO: GPS data processed {"connection_id":137672,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:40:09] local.INFO: Acknowledgment sent {"connection_id":137672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:40:28] local.INFO: TCP Data received {"connection_id":139064,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d9ca00012d196740071fee88003f004c29..."} 
[2026-07-19 15:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d9ca00012d196740071fee88003f004c29..."} 
[2026-07-19 15:40:28] local.INFO: Processing buffer {"connection_id":139064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d9ca00012d196740071fee88003f004c29..."} 
[2026-07-19 15:40:28] local.INFO: Packet analysis {"connection_id":139064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:40:28] local.INFO: Extracted packet for processing {"connection_id":139064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:40:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820665088001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:40: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-07-19 15:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784455744000,"timestamp_ms":1784455744000,"timestamp_seconds":1784455744,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d9ca00"} 
[2026-07-19 15:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820665088001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820665088001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:40:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:40:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820665088001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":139064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:40:28] local.INFO: GPS data processed {"connection_id":139064,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:40:28] local.INFO: Acknowledgment sent {"connection_id":139064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:40:31] local.INFO: TCP Data received {"connection_id":136591,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:40:31] local.INFO: Processing buffer {"connection_id":136591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:40:31] local.INFO: IMEI packet received {"connection_id":136591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":136591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:40:36] local.INFO: TCP Data received {"connection_id":136591,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:40:36] local.INFO: Processing buffer {"connection_id":136591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:40:36] local.INFO: IMEI packet received {"connection_id":136591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":136591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:40:37] local.INFO: TCP Data received {"connection_id":136591,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:40:37] local.INFO: Processing buffer {"connection_id":136591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:40:37] local.INFO: Packet analysis {"connection_id":136591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:40:37] local.INFO: Extracted packet for processing {"connection_id":136591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820580352001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:40: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-07-19 15:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784455693000,"timestamp_ms":1784455693000,"timestamp_seconds":1784455693,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d902c8"} 
[2026-07-19 15:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820580352001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820580352001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:40:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820580352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":136591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:40:37] local.INFO: GPS data processed {"connection_id":136591,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:40:37] local.INFO: Acknowledgment sent {"connection_id":136591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:40:51] local.INFO: TCP Data received {"connection_id":139065,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:40:51] local.INFO: Processing buffer {"connection_id":139065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:40:51] local.INFO: IMEI packet received {"connection_id":139065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":139065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:40:56] local.INFO: TCP Data received {"connection_id":139065,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:40:56] local.INFO: Processing buffer {"connection_id":139065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:40:56] local.INFO: IMEI packet received {"connection_id":139065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":139065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:40:57] local.INFO: TCP Data received {"connection_id":139065,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79da1c08012d196740071fee88003f004c2c..."} 
[2026-07-19 15:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79da1c08012d196740071fee88003f004c2c..."} 
[2026-07-19 15:40:57] local.INFO: Processing buffer {"connection_id":139065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79da1c08012d196740071fee88003f004c2c..."} 
[2026-07-19 15:40:57] local.INFO: Packet analysis {"connection_id":139065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79da"} 
[2026-07-19 15:40:57] local.INFO: Extracted packet for processing {"connection_id":139065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79da"} 
[2026-07-19 15:40:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820670464001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:40: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-07-19 15:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784455765000,"timestamp_ms":1784455765000,"timestamp_seconds":1784455765,"priority":1,"record_length":96,"hex_timestamp":"0000019f79da1c08"} 
[2026-07-19 15:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:40:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820670464001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820670464001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:40:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:40:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820670464001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":139065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:40:57] local.INFO: GPS data processed {"connection_id":139065,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:40:57] local.INFO: Acknowledgment sent {"connection_id":139065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:41:09] local.INFO: TCP Data received {"connection_id":136591,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:41:09] local.INFO: Processing buffer {"connection_id":136591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:41:09] local.INFO: Packet analysis {"connection_id":136591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:41:09] local.INFO: Extracted packet for processing {"connection_id":136591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:41:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820580352001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41: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-07-19 15:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784455693000,"timestamp_ms":1784455693000,"timestamp_seconds":1784455693,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d902c8"} 
[2026-07-19 15:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:41:09] 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-07-19 15:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820580352001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820580352001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:41:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:41:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820580352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":136591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:41:09] local.INFO: GPS data processed {"connection_id":136591,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:41:09] local.INFO: Acknowledgment sent {"connection_id":136591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:41:28] local.INFO: TCP Data received {"connection_id":139065,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79da6e10012d196740071fee88003f004c2b..."} 
[2026-07-19 15:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79da6e10012d196740071fee88003f004c2b..."} 
[2026-07-19 15:41:28] local.INFO: Processing buffer {"connection_id":139065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79da6e10012d196740071fee88003f004c2b..."} 
[2026-07-19 15:41:28] local.INFO: Packet analysis {"connection_id":139065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79da"} 
[2026-07-19 15:41:28] local.INFO: Extracted packet for processing {"connection_id":139065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79da"} 
[2026-07-19 15:41:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820675840001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41: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-07-19 15:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784455786000,"timestamp_ms":1784455786000,"timestamp_seconds":1784455786,"priority":1,"record_length":96,"hex_timestamp":"0000019f79da6e10"} 
[2026-07-19 15:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8779729884024740199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21438277718376448,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832591,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:28] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3637766145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:41:28] local.WARNING: Large IO value detected {"io_id":129,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:28] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,144,159,202,45,64,238,63,41,10,66,119,39,37,1,240,255,227,121,31,4,113,205,129,136,239,47,2,25,7,44],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:41:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712176251731968,"timestamp_seconds":4539712176251732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820675840001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820675840001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:41:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:41:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820675840001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":139065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:41:28] local.INFO: GPS data processed {"connection_id":139065,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:41:28] local.INFO: Acknowledgment sent {"connection_id":139065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:41:31] local.INFO: TCP Data received {"connection_id":136712,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:41:31] local.INFO: Processing buffer {"connection_id":136712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:41:31] local.INFO: IMEI packet received {"connection_id":136712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":136712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:41:36] local.INFO: TCP Data received {"connection_id":136712,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:41:36] local.INFO: Processing buffer {"connection_id":136712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:41:36] local.INFO: IMEI packet received {"connection_id":136712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":136712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:41:37] local.INFO: TCP Data received {"connection_id":136712,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:41:37] local.INFO: Processing buffer {"connection_id":136712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:41:37] local.INFO: Packet analysis {"connection_id":136712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:41:37] local.INFO: Extracted packet for processing {"connection_id":136712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820580352001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41: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-07-19 15:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784455693000,"timestamp_ms":1784455693000,"timestamp_seconds":1784455693,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d902c8"} 
[2026-07-19 15:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:41: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-07-19 15:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820580352001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820580352001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:41:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820580352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":136712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:41:37] local.INFO: GPS data processed {"connection_id":136712,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:41:37] local.INFO: Acknowledgment sent {"connection_id":136712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:41:51] local.INFO: TCP Data received {"connection_id":137673,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:41:51] local.INFO: Processing buffer {"connection_id":137673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:41:51] local.INFO: IMEI packet received {"connection_id":137673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":137673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:41:56] local.INFO: TCP Data received {"connection_id":137673,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:41:56] local.INFO: Processing buffer {"connection_id":137673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:41:56] local.INFO: IMEI packet received {"connection_id":137673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":137673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:41:57] local.INFO: TCP Data received {"connection_id":137673,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79dac018012d196740071fee88003f004c2c..."} 
[2026-07-19 15:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79dac018012d196740071fee88003f004c2c..."} 
[2026-07-19 15:41:57] local.INFO: Processing buffer {"connection_id":137673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79dac018012d196740071fee88003f004c2c..."} 
[2026-07-19 15:41:57] local.INFO: Packet analysis {"connection_id":137673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79da"} 
[2026-07-19 15:41:57] local.INFO: Extracted packet for processing {"connection_id":137673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79da"} 
[2026-07-19 15:41:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820681216001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41: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-07-19 15:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784455807000,"timestamp_ms":1784455807000,"timestamp_seconds":1784455807,"priority":1,"record_length":96,"hex_timestamp":"0000019f79dac018"} 
[2026-07-19 15:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8779820078337956199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21441576253259776,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832591,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3643142145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:41:57] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594552,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:41:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,144,159,28,45,64,238,63,44,10,66,202,41,119,1,240,255,227,121,31,4,113,205,211,136,42,239,47,2,25,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:41:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712171956764672,"timestamp_seconds":4539712171956765.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820681216001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820681216001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:41:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:41:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820681216001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":137673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:41:57] local.INFO: GPS data processed {"connection_id":137673,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:41:57] local.INFO: Acknowledgment sent {"connection_id":137673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:42:09] local.INFO: TCP Data received {"connection_id":136712,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:42:09] local.INFO: Processing buffer {"connection_id":136712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:42:09] local.INFO: Packet analysis {"connection_id":136712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:42:09] local.INFO: Extracted packet for processing {"connection_id":136712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820580352001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15: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-07-19 15:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784455693000,"timestamp_ms":1784455693000,"timestamp_seconds":1784455693,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d902c8"} 
[2026-07-19 15:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:42: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-07-19 15:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820580352001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820580352001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:42:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820580352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":136712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:42:09] local.INFO: GPS data processed {"connection_id":136712,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:42:09] local.INFO: Acknowledgment sent {"connection_id":136712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:42:28] local.INFO: TCP Data received {"connection_id":137673,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79db1220012d196740071fee88003f004c2a..."} 
[2026-07-19 15:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79db1220012d196740071fee88003f004c2a..."} 
[2026-07-19 15:42:28] local.INFO: Processing buffer {"connection_id":137673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79db1220012d196740071fee88003f004c2a..."} 
[2026-07-19 15:42:28] local.INFO: Packet analysis {"connection_id":137673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79db"} 
[2026-07-19 15:42:28] local.INFO: Extracted packet for processing {"connection_id":137673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79db"} 
[2026-07-19 15:42:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820686592001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42: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-07-19 15:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784455828000,"timestamp_ms":1784455828000,"timestamp_seconds":1784455828,"priority":1,"record_length":96,"hex_timestamp":"0000019f79db1220"} 
[2026-07-19 15:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8779910272651172199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21438277718376448,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832591,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195247100690638,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:28] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3648518145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:42:28] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,110,45,64,238,63,43,10,66,28,44,202,1,240,255,227,121,31,4,113,205,37,136,239,47,2,25,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:42:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712176251731968,"timestamp_seconds":4539712176251732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820686592001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820686592001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:42:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:42:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820686592001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":137673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:42:28] local.INFO: GPS data processed {"connection_id":137673,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:42:28] local.INFO: Acknowledgment sent {"connection_id":137673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:42:36] local.INFO: TCP Data received {"connection_id":136593,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:42:36] local.INFO: Processing buffer {"connection_id":136593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:42:36] local.INFO: IMEI packet received {"connection_id":136593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":136593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:42:41] local.INFO: TCP Data received {"connection_id":136593,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:42:41] local.INFO: Processing buffer {"connection_id":136593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:42:41] local.INFO: IMEI packet received {"connection_id":136593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":136593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:42:43] local.INFO: TCP Data received {"connection_id":136593,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:42:43] local.INFO: Processing buffer {"connection_id":136593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:42:43] local.INFO: Packet analysis {"connection_id":136593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:42:43] local.INFO: Extracted packet for processing {"connection_id":136593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:42:43] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820580352001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42: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-07-19 15:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784455693000,"timestamp_ms":1784455693000,"timestamp_seconds":1784455693,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d902c8"} 
[2026-07-19 15:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820580352001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820580352001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:42:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:42:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820580352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":136593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:42:43] local.INFO: GPS data processed {"connection_id":136593,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:42:43] local.INFO: Acknowledgment sent {"connection_id":136593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:42:51] local.INFO: TCP Data received {"connection_id":137674,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:42:51] local.INFO: Processing buffer {"connection_id":137674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:42:51] local.INFO: IMEI packet received {"connection_id":137674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":137674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:42:52] local.INFO: TCP Data received {"connection_id":137674,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:42:52] local.INFO: Processing buffer {"connection_id":137674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:42:52] local.INFO: IMEI packet received {"connection_id":137674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":137674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:42:56] local.INFO: TCP Data received {"connection_id":136713,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136713,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:42:56] local.INFO: Processing buffer {"connection_id":136713,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:42:56] local.INFO: IMEI packet received {"connection_id":136713,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 15:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":136713,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:42:56] local.INFO: TCP Data received {"connection_id":137674,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:42:56] local.INFO: Processing buffer {"connection_id":137674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:42:56] local.INFO: IMEI packet received {"connection_id":137674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":137674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:42:57] local.INFO: TCP Data received {"connection_id":137674,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79db6428012d196740071fee88003f004c2f..."} 
[2026-07-19 15:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79db6428012d196740071fee88003f004c2f..."} 
[2026-07-19 15:42:57] local.INFO: Processing buffer {"connection_id":137674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79db6428012d196740071fee88003f004c2f..."} 
[2026-07-19 15:42:57] local.INFO: Packet analysis {"connection_id":137674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79db"} 
[2026-07-19 15:42:57] local.INFO: Extracted packet for processing {"connection_id":137674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79db"} 
[2026-07-19 15:42:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820691968001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42: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-07-19 15:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784455849000,"timestamp_ms":1784455849000,"timestamp_seconds":1784455849,"priority":1,"record_length":96,"hex_timestamp":"0000019f79db6428"} 
[2026-07-19 15:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8780000466964388199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21439377230004224,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832591,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3653894145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:42:57] local.WARNING: Large IO value detected {"io_id":119,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:42:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,144,159,192,45,64,238,63,44,10,66,110,43,28,1,240,227,121,31,4,113,205,119,136,39,239,47,2,25,7,42],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:42:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712167661797376,"timestamp_seconds":4539712167661797.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820691968001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820691968001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:42:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:42:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820691968001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":137674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:42:57] local.INFO: GPS data processed {"connection_id":137674,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:42:57] local.INFO: Acknowledgment sent {"connection_id":137674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:43:14] local.INFO: TCP Data received {"connection_id":136593,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:43:14] local.INFO: Processing buffer {"connection_id":136593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:43:14] local.INFO: Packet analysis {"connection_id":136593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:43:14] local.INFO: Extracted packet for processing {"connection_id":136593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:43:14] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820580352001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43: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-07-19 15:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784455693000,"timestamp_ms":1784455693000,"timestamp_seconds":1784455693,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d902c8"} 
[2026-07-19 15:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:43: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-07-19 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":136593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":136593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":136593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:43: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-07-19 15:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820580352001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820580352001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:43:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:43:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820580352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":136593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:43:14] local.INFO: GPS data processed {"connection_id":136593,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:43:14] local.INFO: Acknowledgment sent {"connection_id":136593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:43:27] local.INFO: TCP Data received {"connection_id":136714,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:43:27] local.INFO: Processing buffer {"connection_id":136714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:43:27] local.INFO: IMEI packet received {"connection_id":136714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 15:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":136714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:43:28] local.INFO: TCP Data received {"connection_id":137674,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79dbb630012d196740071fee88003f004c2d..."} 
[2026-07-19 15:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79dbb630012d196740071fee88003f004c2d..."} 
[2026-07-19 15:43:28] local.INFO: Processing buffer {"connection_id":137674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79dbb630012d196740071fee88003f004c2d..."} 
[2026-07-19 15:43:28] local.INFO: Packet analysis {"connection_id":137674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79db"} 
[2026-07-19 15:43:28] local.INFO: Extracted packet for processing {"connection_id":137674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79db"} 
[2026-07-19 15:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:43: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-07-19 15:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820697344001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43: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-07-19 15:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784455870000,"timestamp_ms":1784455870000,"timestamp_seconds":1784455870,"priority":1,"record_length":96,"hex_timestamp":"0000019f79dbb630"} 
[2026-07-19 15:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15:43: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":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8780090661277604199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21434979183493120,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832591,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43:28] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3659270145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:43:28] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":77081,"corrected_to":0} 
[2026-07-19 15:43:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43:28] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,144,159,18,45,64,238,63,42,10,66,192,44,110,1,240,227,121,31,4,113,205,202,136,41,239,47,2,25,7,43],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":202,"original":77081,"validated":0}]} 
[2026-07-19 15:43:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712189136633856,"timestamp_seconds":4539712189136634.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820697344001,"66":12265,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820697344001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:43:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:43:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820697344001,"power":12265,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":137674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:43:28] local.INFO: GPS data processed {"connection_id":137674,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:43:28] local.INFO: Acknowledgment sent {"connection_id":137674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:43:31] local.INFO: TCP Data received {"connection_id":136715,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:43:31] local.INFO: Processing buffer {"connection_id":136715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:43:31] local.INFO: IMEI packet received {"connection_id":136715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":136715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:43:36] local.INFO: TCP Data received {"connection_id":136715,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:43:36] local.INFO: Processing buffer {"connection_id":136715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:43:36] local.INFO: IMEI packet received {"connection_id":136715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":136715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:43:37] local.INFO: TCP Data received {"connection_id":136715,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:43:37] local.INFO: Processing buffer {"connection_id":136715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79d902c8012d34c50006aa4dd8000800952e..."} 
[2026-07-19 15:43:37] local.INFO: Packet analysis {"connection_id":136715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:43:37] local.INFO: Extracted packet for processing {"connection_id":136715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79d9"} 
[2026-07-19 15:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820580352001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43: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-07-19 15:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784455693000,"timestamp_ms":1784455693000,"timestamp_seconds":1784455693,"priority":1,"record_length":96,"hex_timestamp":"0000019f79d902c8"} 
[2026-07-19 15:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:43: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-07-19 15:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820580352001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820580352001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:43:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820580352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":136715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:43:37] local.INFO: GPS data processed {"connection_id":136715,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:43:37] local.INFO: Acknowledgment sent {"connection_id":136715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:43:51] local.INFO: TCP Data received {"connection_id":136594,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:43:51] local.INFO: Processing buffer {"connection_id":136594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:43:51] local.INFO: IMEI packet received {"connection_id":136594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":136594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:43:54] local.INFO: TCP Data received {"connection_id":136594,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:43:54] local.INFO: Processing buffer {"connection_id":136594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:43:54] local.INFO: IMEI packet received {"connection_id":136594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":136594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:43:56] local.INFO: TCP Data received {"connection_id":136594,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:43:56] local.INFO: Processing buffer {"connection_id":136594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:43:56] local.INFO: IMEI packet received {"connection_id":136594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":136594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:43:57] local.INFO: TCP Data received {"connection_id":136594,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79dc0838012d196740071fee88003f004c2b..."} 
[2026-07-19 15:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79dc0838012d196740071fee88003f004c2b..."} 
[2026-07-19 15:43:57] local.INFO: Processing buffer {"connection_id":136594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79dc0838012d196740071fee88003f004c2b..."} 
[2026-07-19 15:43:57] local.INFO: Packet analysis {"connection_id":136594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79dc"} 
[2026-07-19 15:43:57] local.INFO: Extracted packet for processing {"connection_id":136594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79dc"} 
[2026-07-19 15:43:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820702720001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:43: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-07-19 15:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784455891000,"timestamp_ms":1784455891000,"timestamp_seconds":1784455891,"priority":1,"record_length":96,"hex_timestamp":"0000019f79dc0838"} 
[2026-07-19 15:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 15:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820702720001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820702720001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:43:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:43:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820702720001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":136594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:43:57] local.INFO: GPS data processed {"connection_id":136594,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:43:57] local.INFO: Acknowledgment sent {"connection_id":136594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:44:08] local.INFO: TCP Data received {"connection_id":136715,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:44:08] local.INFO: Processing buffer {"connection_id":136715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:44:08] local.INFO: Packet analysis {"connection_id":136715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:44:08] local.INFO: Extracted packet for processing {"connection_id":136715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820657408001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15: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-07-19 15:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784455994000,"timestamp_ms":1784455994000,"timestamp_seconds":1784455994,"priority":1,"record_length":96,"hex_timestamp":"0000019f79dd9a90"} 
[2026-07-19 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-07-19 15:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 15:44: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-07-19 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-07-19 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-07-19 15:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15: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-07-19 15:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820657408001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820657408001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:44:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820657408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":136715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:44:08] local.INFO: GPS data processed {"connection_id":136715,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:44:08] local.INFO: Acknowledgment sent {"connection_id":136715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:44:28] local.INFO: TCP Data received {"connection_id":136594,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79dc5a40012d196740071fee88003f004c30..."} 
[2026-07-19 15:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79dc5a40012d196740071fee88003f004c30..."} 
[2026-07-19 15:44:28] local.INFO: Processing buffer {"connection_id":136594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79dc5a40012d196740071fee88003f004c30..."} 
[2026-07-19 15:44:28] local.INFO: Packet analysis {"connection_id":136594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79dc"} 
[2026-07-19 15:44:28] local.INFO: Extracted packet for processing {"connection_id":136594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79dc"} 
[2026-07-19 15:44:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":48,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820708096001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44: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-07-19 15:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784455912000,"timestamp_ms":1784455912000,"timestamp_seconds":1784455912,"priority":1,"record_length":96,"hex_timestamp":"0000019f79dc5a40"} 
[2026-07-19 15:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:44: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-07-19 15: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8780271049904036199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21440476741632000,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832591,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44:28] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3670022145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:44:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,182,45,64,238,63,10,66,100,47,18,1,240,227,121,31,4,113,205,110,136,43,239,48,2,25,7,41],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:44:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712171956764672,"timestamp_seconds":4539712171956765.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820708096001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820708096001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:44:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:44:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820708096001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":136594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:44:28] local.INFO: GPS data processed {"connection_id":136594,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:44:28] local.INFO: Acknowledgment sent {"connection_id":136594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:44:31] local.INFO: TCP Data received {"connection_id":137676,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:44:31] local.INFO: Processing buffer {"connection_id":137676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:44:31] local.INFO: IMEI packet received {"connection_id":137676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":137676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:44:36] local.INFO: TCP Data received {"connection_id":137676,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:44:36] local.INFO: Processing buffer {"connection_id":137676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:44:36] local.INFO: IMEI packet received {"connection_id":137676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":137676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:44:39] local.INFO: TCP Data received {"connection_id":137676,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:44:39] local.INFO: Processing buffer {"connection_id":137676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:44:39] local.INFO: Packet analysis {"connection_id":137676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:44:39] local.INFO: Extracted packet for processing {"connection_id":137676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:44:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820657408001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44: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-07-19 15:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784455994000,"timestamp_ms":1784455994000,"timestamp_seconds":1784455994,"priority":1,"record_length":96,"hex_timestamp":"0000019f79dd9a90"} 
[2026-07-19 15:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 15:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":137676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":137676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":137676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:44: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-07-19 15:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820657408001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820657408001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:44:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:44:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820657408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":137676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:44:39] local.INFO: GPS data processed {"connection_id":137676,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:44:39] local.INFO: Acknowledgment sent {"connection_id":137676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:44:56] local.INFO: TCP Data received {"connection_id":136595,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:44:56] local.INFO: Processing buffer {"connection_id":136595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:44:56] local.INFO: IMEI packet received {"connection_id":136595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":136595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:44:57] local.INFO: TCP Data received {"connection_id":136595,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:44:57] local.INFO: Processing buffer {"connection_id":136595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:44:57] local.INFO: IMEI packet received {"connection_id":136595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":136595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:44:58] local.INFO: TCP Data received {"connection_id":136595,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79dcac48012d196740071fee88003f004c2e..."} 
[2026-07-19 15:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79dcac48012d196740071fee88003f004c2e..."} 
[2026-07-19 15:44:58] local.INFO: Processing buffer {"connection_id":136595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79dcac48012d196740071fee88003f004c2e..."} 
[2026-07-19 15:44:58] local.INFO: Packet analysis {"connection_id":136595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79dc"} 
[2026-07-19 15:44:58] local.INFO: Extracted packet for processing {"connection_id":136595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79dc"} 
[2026-07-19 15:44:58] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820713472001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784455933000,"timestamp_ms":1784455933000,"timestamp_seconds":1784455933,"priority":1,"record_length":96,"hex_timestamp":"0000019f79dcac48"} 
[2026-07-19 15:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:44: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-07-19 15:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820713472001,"66":12102,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820713472001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:44:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:44:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820713472001,"power":12102,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":136595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:44:58] local.INFO: GPS data processed {"connection_id":136595,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:44:58] local.INFO: Acknowledgment sent {"connection_id":136595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:45:01] local.INFO: TCP Data received {"connection_id":136595,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79dcfe50012d196740071fee88003f004c2d..."} 
[2026-07-19 15:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79dcfe50012d196740071fee88003f004c2d..."} 
[2026-07-19 15:45:01] local.INFO: Processing buffer {"connection_id":136595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79dcfe50012d196740071fee88003f004c2d..."} 
[2026-07-19 15:45:01] local.INFO: Packet analysis {"connection_id":136595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79dc"} 
[2026-07-19 15:45:01] local.INFO: Extracted packet for processing {"connection_id":136595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79dc"} 
[2026-07-19 15:45:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820718848001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784455954000,"timestamp_ms":1784455954000,"timestamp_seconds":1784455954,"priority":1,"record_length":96,"hex_timestamp":"0000019f79dcfe50"} 
[2026-07-19 15:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:45: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-07-19 15: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-19 15:45:01] 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-07-19 15: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-07-19 15:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820718848001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820718848001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:45:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:45:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820718848001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":136595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:45:02] local.INFO: GPS data processed {"connection_id":136595,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:45:02] local.INFO: Acknowledgment sent {"connection_id":136595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:45:10] local.INFO: TCP Data received {"connection_id":137676,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:45:10] local.INFO: Processing buffer {"connection_id":137676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:45:10] local.INFO: Packet analysis {"connection_id":137676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:45:10] local.INFO: Extracted packet for processing {"connection_id":137676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:45:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820657408001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:45: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-07-19 15:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784455994000,"timestamp_ms":1784455994000,"timestamp_seconds":1784455994,"priority":1,"record_length":96,"hex_timestamp":"0000019f79dd9a90"} 
[2026-07-19 15:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 15:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820657408001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820657408001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:45:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:45:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820657408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":137676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:45:10] local.INFO: GPS data processed {"connection_id":137676,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:45:10] local.INFO: Acknowledgment sent {"connection_id":137676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:45:31] local.INFO: TCP Data received {"connection_id":136597,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:45:31] local.INFO: Processing buffer {"connection_id":136597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:45:31] local.INFO: IMEI packet received {"connection_id":136597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":136597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:45:32] local.INFO: TCP Data received {"connection_id":136595,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79dd5058012d196740071fee88003f004c2f..."} 
[2026-07-19 15:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79dd5058012d196740071fee88003f004c2f..."} 
[2026-07-19 15:45:32] local.INFO: Processing buffer {"connection_id":136595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79dd5058012d196740071fee88003f004c2f..."} 
[2026-07-19 15:45:32] local.INFO: Packet analysis {"connection_id":136595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:45:32] local.INFO: Extracted packet for processing {"connection_id":136595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:45:32] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820724224001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784455975000,"timestamp_ms":1784455975000,"timestamp_seconds":1784455975,"priority":1,"record_length":96,"hex_timestamp":"0000019f79dd5058"} 
[2026-07-19 15:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15: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-07-19 15:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 15:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820724224001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820724224001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:45:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:45:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820724224001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":136595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:45:33] local.INFO: GPS data processed {"connection_id":136595,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:45:33] local.INFO: Acknowledgment sent {"connection_id":136595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:45:36] local.INFO: TCP Data received {"connection_id":136597,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:45:36] local.INFO: Processing buffer {"connection_id":136597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:45:36] local.INFO: IMEI packet received {"connection_id":136597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":136597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:45:37] local.INFO: TCP Data received {"connection_id":136597,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:45:37] local.INFO: Processing buffer {"connection_id":136597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:45:37] local.INFO: Packet analysis {"connection_id":136597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:45:37] local.INFO: Extracted packet for processing {"connection_id":136597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820657408001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:45: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-07-19 15:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784455994000,"timestamp_ms":1784455994000,"timestamp_seconds":1784455994,"priority":1,"record_length":96,"hex_timestamp":"0000019f79dd9a90"} 
[2026-07-19 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-07-19 15:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 15:45: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-07-19 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-07-19 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-07-19 15:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:45: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-07-19 15:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820657408001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820657408001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:45:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820657408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":136597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:45:37] local.INFO: GPS data processed {"connection_id":136597,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:45:37] local.INFO: Acknowledgment sent {"connection_id":136597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:45:51] local.INFO: TCP Data received {"connection_id":136598,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:45:51] local.INFO: Processing buffer {"connection_id":136598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:45:51] local.INFO: IMEI packet received {"connection_id":136598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":136598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:45:56] local.INFO: TCP Data received {"connection_id":136598,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:45:56] local.INFO: Processing buffer {"connection_id":136598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:45:56] local.INFO: IMEI packet received {"connection_id":136598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":136598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:45:57] local.INFO: TCP Data received {"connection_id":136598,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79dda260012d196740071fee88003f004c2d..."} 
[2026-07-19 15:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79dda260012d196740071fee88003f004c2d..."} 
[2026-07-19 15:45:57] local.INFO: Processing buffer {"connection_id":136598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79dda260012d196740071fee88003f004c2d..."} 
[2026-07-19 15:45:57] local.INFO: Packet analysis {"connection_id":136598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:45:57] local.INFO: Extracted packet for processing {"connection_id":136598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:45:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820729600001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:45: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-07-19 15:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784455996000,"timestamp_ms":1784455996000,"timestamp_seconds":1784455996,"priority":1,"record_length":96,"hex_timestamp":"0000019f79dda260"} 
[2026-07-19 15:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 15:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820729600001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820729600001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:45:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:45:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820729600001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":136598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:45:57] local.INFO: GPS data processed {"connection_id":136598,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:45:57] local.INFO: Acknowledgment sent {"connection_id":136598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:46:09] local.INFO: TCP Data received {"connection_id":136597,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:46:09] local.INFO: Processing buffer {"connection_id":136597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:46:09] local.INFO: Packet analysis {"connection_id":136597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:46:09] local.INFO: Extracted packet for processing {"connection_id":136597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820657408001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:46: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-07-19 15:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784455994000,"timestamp_ms":1784455994000,"timestamp_seconds":1784455994,"priority":1,"record_length":96,"hex_timestamp":"0000019f79dd9a90"} 
[2026-07-19 15:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 15:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:46: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-07-19 15:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820657408001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820657408001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:46:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820657408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":136597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:46:09] local.INFO: GPS data processed {"connection_id":136597,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:46:09] local.INFO: Acknowledgment sent {"connection_id":136597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:46:28] local.INFO: TCP Data received {"connection_id":136598,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ddf468012d196740071fee88003f004c2d..."} 
[2026-07-19 15:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ddf468012d196740071fee88003f004c2d..."} 
[2026-07-19 15:46:28] local.INFO: Processing buffer {"connection_id":136598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ddf468012d196740071fee88003f004c2d..."} 
[2026-07-19 15:46:28] local.INFO: Packet analysis {"connection_id":136598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:46:28] local.INFO: Extracted packet for processing {"connection_id":136598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820734976001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:46: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-07-19 15:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784456017000,"timestamp_ms":1784456017000,"timestamp_seconds":1784456017,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ddf468"} 
[2026-07-19 15:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:46: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-07-19 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820734976001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820734976001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:46:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:46:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820734976001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":136598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:46:29] local.INFO: GPS data processed {"connection_id":136598,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:46:29] local.INFO: Acknowledgment sent {"connection_id":136598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:46:31] local.INFO: TCP Data received {"connection_id":136716,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:46:31] local.INFO: Processing buffer {"connection_id":136716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:46:31] local.INFO: IMEI packet received {"connection_id":136716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":136716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:46:37] local.INFO: TCP Data received {"connection_id":136716,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:46:37] local.INFO: Processing buffer {"connection_id":136716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:46:37] local.INFO: IMEI packet received {"connection_id":136716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":136716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:46:41] local.INFO: TCP Data received {"connection_id":136716,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:46:41] local.INFO: Processing buffer {"connection_id":136716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:46:41] local.INFO: IMEI packet received {"connection_id":136716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":136716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:46:42] local.INFO: TCP Data received {"connection_id":136716,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:46:42] local.INFO: Processing buffer {"connection_id":136716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:46:42] local.INFO: Packet analysis {"connection_id":136716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:46:42] local.INFO: Extracted packet for processing {"connection_id":136716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:46:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820657408001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784455994000,"timestamp_ms":1784455994000,"timestamp_seconds":1784455994,"priority":1,"record_length":96,"hex_timestamp":"0000019f79dd9a90"} 
[2026-07-19 15:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 15:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820657408001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820657408001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:46:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:46:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820657408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":136716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:46:42] local.INFO: GPS data processed {"connection_id":136716,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:46:42] local.INFO: Acknowledgment sent {"connection_id":136716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:46:51] local.INFO: TCP Data received {"connection_id":137678,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:46:51] local.INFO: Processing buffer {"connection_id":137678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:46:51] local.INFO: IMEI packet received {"connection_id":137678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":137678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:46:56] local.INFO: TCP Data received {"connection_id":137678,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:46:56] local.INFO: Processing buffer {"connection_id":137678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:46:56] local.INFO: IMEI packet received {"connection_id":137678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":137678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:46:57] local.INFO: TCP Data received {"connection_id":137678,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79de4670012d196740071fee88003f004c2a..."} 
[2026-07-19 15:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79de4670012d196740071fee88003f004c2a..."} 
[2026-07-19 15:46:57] local.INFO: Processing buffer {"connection_id":137678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79de4670012d196740071fee88003f004c2a..."} 
[2026-07-19 15:46:57] local.INFO: Packet analysis {"connection_id":137678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79de"} 
[2026-07-19 15:46:57] local.INFO: Extracted packet for processing {"connection_id":137678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79de"} 
[2026-07-19 15:46:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820740352001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:46: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-07-19 15:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784456038000,"timestamp_ms":1784456038000,"timestamp_seconds":1784456038,"priority":1,"record_length":96,"hex_timestamp":"0000019f79de4670"} 
[2026-07-19 15:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820740352001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820740352001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:46:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:46:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820740352001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":137678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:46:57] local.INFO: GPS data processed {"connection_id":137678,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:46:57] local.INFO: Acknowledgment sent {"connection_id":137678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:47:14] local.INFO: TCP Data received {"connection_id":136716,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:47:14] local.INFO: Processing buffer {"connection_id":136716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:47:14] local.INFO: Packet analysis {"connection_id":136716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:47:14] local.INFO: Extracted packet for processing {"connection_id":136716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:47:14] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820657408001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47: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-07-19 15:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784455994000,"timestamp_ms":1784455994000,"timestamp_seconds":1784455994,"priority":1,"record_length":96,"hex_timestamp":"0000019f79dd9a90"} 
[2026-07-19 15:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 15:47: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-07-19 15:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":136716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":136716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":136716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:47: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-07-19 15:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820657408001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820657408001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:47:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:47:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820657408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":136716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:47:14] local.INFO: GPS data processed {"connection_id":136716,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:47:14] local.INFO: Acknowledgment sent {"connection_id":136716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:47:29] local.INFO: TCP Data received {"connection_id":137678,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79de9878012d196740071fee88003f004c2a..."} 
[2026-07-19 15:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79de9878012d196740071fee88003f004c2a..."} 
[2026-07-19 15:47:29] local.INFO: Processing buffer {"connection_id":137678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79de9878012d196740071fee88003f004c2a..."} 
[2026-07-19 15:47:29] local.INFO: Packet analysis {"connection_id":137678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79de"} 
[2026-07-19 15:47:29] local.INFO: Extracted packet for processing {"connection_id":137678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79de"} 
[2026-07-19 15:47:29] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820745728001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784456059000,"timestamp_ms":1784456059000,"timestamp_seconds":1784456059,"priority":1,"record_length":96,"hex_timestamp":"0000019f79de9878"} 
[2026-07-19 15:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:47: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-07-19 15:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":137678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":137678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":137678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820745728001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820745728001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:47:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:47:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820745728001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":137678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:47:29] local.INFO: GPS data processed {"connection_id":137678,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:47:29] local.INFO: Acknowledgment sent {"connection_id":137678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:47:36] local.INFO: TCP Data received {"connection_id":136599,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:47:36] local.INFO: Processing buffer {"connection_id":136599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:47:36] local.INFO: IMEI packet received {"connection_id":136599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":136599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:47:41] local.INFO: TCP Data received {"connection_id":136599,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:47:41] local.INFO: Processing buffer {"connection_id":136599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:47:41] local.INFO: IMEI packet received {"connection_id":136599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":136599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:47:42] local.INFO: TCP Data received {"connection_id":136599,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:47:42] local.INFO: Processing buffer {"connection_id":136599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:47:42] local.INFO: Packet analysis {"connection_id":136599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:47:42] local.INFO: Extracted packet for processing {"connection_id":136599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:47:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820657408001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784455994000,"timestamp_ms":1784455994000,"timestamp_seconds":1784455994,"priority":1,"record_length":96,"hex_timestamp":"0000019f79dd9a90"} 
[2026-07-19 15:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 15:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820657408001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820657408001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:47:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:47:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820657408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":136599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:47:42] local.INFO: GPS data processed {"connection_id":136599,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:47:42] local.INFO: Acknowledgment sent {"connection_id":136599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:47:47] local.INFO: TCP Data received {"connection_id":136599,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:47:47] local.INFO: Processing buffer {"connection_id":136599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:47:47] local.INFO: Packet analysis {"connection_id":136599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:47:47] local.INFO: Extracted packet for processing {"connection_id":136599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820657408001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784455994000,"timestamp_ms":1784455994000,"timestamp_seconds":1784455994,"priority":1,"record_length":96,"hex_timestamp":"0000019f79dd9a90"} 
[2026-07-19 15:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 15:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820657408001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820657408001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:47:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:47:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820657408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":136599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:47:47] local.INFO: GPS data processed {"connection_id":136599,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:47:47] local.INFO: Acknowledgment sent {"connection_id":136599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:47:51] local.INFO: TCP Data received {"connection_id":139066,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:47:51] local.INFO: Processing buffer {"connection_id":139066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:47:51] local.INFO: IMEI packet received {"connection_id":139066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":139066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:47:56] local.INFO: TCP Data received {"connection_id":139066,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:47:56] local.INFO: Processing buffer {"connection_id":139066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:47:56] local.INFO: IMEI packet received {"connection_id":139066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":139066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:47:57] local.INFO: TCP Data received {"connection_id":139066,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79deea80012d196740071fee88003f004c30..."} 
[2026-07-19 15:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79deea80012d196740071fee88003f004c30..."} 
[2026-07-19 15:47:57] local.INFO: Processing buffer {"connection_id":139066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79deea80012d196740071fee88003f004c30..."} 
[2026-07-19 15:47:57] local.INFO: Packet analysis {"connection_id":139066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79de"} 
[2026-07-19 15:47:57] local.INFO: Extracted packet for processing {"connection_id":139066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79de"} 
[2026-07-19 15:47:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":48,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820751104001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47: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-07-19 15:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784456080000,"timestamp_ms":1784456080000,"timestamp_seconds":1784456080,"priority":1,"record_length":96,"hex_timestamp":"0000019f79deea80"} 
[2026-07-19 15:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:47: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-07-19 15:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8780992604409764199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21442675764887552,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832591,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3406411050640670926,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3713030145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:47:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594552,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:47:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,70,45,64,238,63,42,10,66,244,162,1,240,255,227,121,31,4,113,205,254,136,239,47,2,25,7,48],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:47:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712167661797376,"timestamp_seconds":4539712167661797.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820751104001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820751104001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:47:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:47:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820751104001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":139066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:47:57] local.INFO: GPS data processed {"connection_id":139066,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:47:57] local.INFO: Acknowledgment sent {"connection_id":139066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:48:28] local.INFO: TCP Data received {"connection_id":139066,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79df3c88012d196740071fee88003f004c2e..."} 
[2026-07-19 15:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79df3c88012d196740071fee88003f004c2e..."} 
[2026-07-19 15:48:28] local.INFO: Processing buffer {"connection_id":139066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79df3c88012d196740071fee88003f004c2e..."} 
[2026-07-19 15:48:28] local.INFO: Packet analysis {"connection_id":139066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79df"} 
[2026-07-19 15:48:28] local.INFO: Extracted packet for processing {"connection_id":139066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79df"} 
[2026-07-19 15:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820756480001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:48: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-07-19 15:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784456101000,"timestamp_ms":1784456101000,"timestamp_seconds":1784456101,"priority":1,"record_length":96,"hex_timestamp":"0000019f79df3c88"} 
[2026-07-19 15:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:48: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-07-19 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820756480001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820756480001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:48:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:48:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820756480001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":139066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:48:28] local.INFO: GPS data processed {"connection_id":139066,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:48:28] local.INFO: Acknowledgment sent {"connection_id":139066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:48:31] local.INFO: TCP Data received {"connection_id":139067,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:48:31] local.INFO: Processing buffer {"connection_id":139067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:48:31] local.INFO: IMEI packet received {"connection_id":139067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":139067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:48:36] local.INFO: TCP Data received {"connection_id":139067,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:48:36] local.INFO: Processing buffer {"connection_id":139067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:48:36] local.INFO: IMEI packet received {"connection_id":139067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":139067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:48:42] local.INFO: TCP Data received {"connection_id":139067,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:48:42] local.INFO: Processing buffer {"connection_id":139067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79dd9a90012d34c50006aa4dd8000800952d..."} 
[2026-07-19 15:48:42] local.INFO: Packet analysis {"connection_id":139067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:48:42] local.INFO: Extracted packet for processing {"connection_id":139067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79dd"} 
[2026-07-19 15:48:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820657408001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784455994000,"timestamp_ms":1784455994000,"timestamp_seconds":1784455994,"priority":1,"record_length":96,"hex_timestamp":"0000019f79dd9a90"} 
[2026-07-19 15:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 15:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820657408001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820657408001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:48:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:48:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820657408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":139067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:48:42] local.INFO: GPS data processed {"connection_id":139067,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:48:42] local.INFO: Acknowledgment sent {"connection_id":139067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:48:52] local.INFO: TCP Data received {"connection_id":136717,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:48:52] local.INFO: Processing buffer {"connection_id":136717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:48:52] local.INFO: IMEI packet received {"connection_id":136717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":136717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:48:56] local.INFO: TCP Data received {"connection_id":136717,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:48:56] local.INFO: Processing buffer {"connection_id":136717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:48:56] local.INFO: IMEI packet received {"connection_id":136717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":136717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:48:57] local.INFO: TCP Data received {"connection_id":136717,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79df8e90012d196740071fee88003f004c2a..."} 
[2026-07-19 15:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79df8e90012d196740071fee88003f004c2a..."} 
[2026-07-19 15:48:57] local.INFO: Processing buffer {"connection_id":136717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79df8e90012d196740071fee88003f004c2a..."} 
[2026-07-19 15:48:57] local.INFO: Packet analysis {"connection_id":136717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79df"} 
[2026-07-19 15:48:57] local.INFO: Extracted packet for processing {"connection_id":136717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79df"} 
[2026-07-19 15:48:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820761856001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:48: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-07-19 15:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784456122000,"timestamp_ms":1784456122000,"timestamp_seconds":1784456122,"priority":1,"record_length":96,"hex_timestamp":"0000019f79df8e90"} 
[2026-07-19 15:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:48: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-07-19 15: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 15:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820761856001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820761856001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:48:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:48:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820761856001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":136717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:48:57] local.INFO: GPS data processed {"connection_id":136717,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:48:57] local.INFO: Acknowledgment sent {"connection_id":136717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:49:01] local.INFO: TCP Data received {"connection_id":137680,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:49:01] local.INFO: Processing buffer {"connection_id":137680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:49:01] local.INFO: IMEI packet received {"connection_id":137680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 15:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":137680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:49:13] local.INFO: TCP Data received {"connection_id":139067,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:49:13] local.INFO: Processing buffer {"connection_id":139067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:49:13] local.INFO: Packet analysis {"connection_id":139067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:49:13] local.INFO: Extracted packet for processing {"connection_id":139067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:49:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820734464001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49: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-07-19 15:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784456295000,"timestamp_ms":1784456295000,"timestamp_seconds":1784456295,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e23258"} 
[2026-07-19 15:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 15:49: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-07-19 15:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":139067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":139067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":139067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:49: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-07-19 15:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820734464001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 15:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820734464001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:49:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:49:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820734464001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":139067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:49:13] local.INFO: GPS data processed {"connection_id":139067,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:49:13] local.INFO: Acknowledgment sent {"connection_id":139067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:49:26] local.INFO: TCP Data received {"connection_id":136600,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:49:26] local.INFO: Processing buffer {"connection_id":136600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:49:26] local.INFO: IMEI packet received {"connection_id":136600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 15:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":136600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:49:28] local.INFO: TCP Data received {"connection_id":136717,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79dfe098012d196740071fee88003f004c2b..."} 
[2026-07-19 15:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79dfe098012d196740071fee88003f004c2b..."} 
[2026-07-19 15:49:28] local.INFO: Processing buffer {"connection_id":136717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79dfe098012d196740071fee88003f004c2b..."} 
[2026-07-19 15:49:28] local.INFO: Packet analysis {"connection_id":136717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79df"} 
[2026-07-19 15:49:28] local.INFO: Extracted packet for processing {"connection_id":136717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79df"} 
[2026-07-19 15:49:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820767232001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49: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-07-19 15:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784456143000,"timestamp_ms":1784456143000,"timestamp_seconds":1784456143,"priority":1,"record_length":96,"hex_timestamp":"0000019f79dfe098"} 
[2026-07-19 15:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820767232001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820767232001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:49:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:49:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820767232001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":136717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:49:28] local.INFO: GPS data processed {"connection_id":136717,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:49:28] local.INFO: Acknowledgment sent {"connection_id":136717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:49:31] local.INFO: TCP Data received {"connection_id":137681,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:49:31] local.INFO: Processing buffer {"connection_id":137681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:49:31] local.INFO: IMEI packet received {"connection_id":137681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":137681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:49:36] local.INFO: TCP Data received {"connection_id":137681,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:49:36] local.INFO: Processing buffer {"connection_id":137681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:49:36] local.INFO: IMEI packet received {"connection_id":137681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":137681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:49:37] local.INFO: TCP Data received {"connection_id":137681,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:49:37] local.INFO: Processing buffer {"connection_id":137681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:49:37] local.INFO: Packet analysis {"connection_id":137681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:49:37] local.INFO: Extracted packet for processing {"connection_id":137681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820734464001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49: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-07-19 15:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784456295000,"timestamp_ms":1784456295000,"timestamp_seconds":1784456295,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e23258"} 
[2026-07-19 15:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 15:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:49: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-07-19 15:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820734464001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820734464001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:49:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820734464001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":137681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:49:37] local.INFO: GPS data processed {"connection_id":137681,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:49:37] local.INFO: Acknowledgment sent {"connection_id":137681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:49:51] local.INFO: TCP Data received {"connection_id":139068,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:49:51] local.INFO: Processing buffer {"connection_id":139068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:49:51] local.INFO: IMEI packet received {"connection_id":139068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":139068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:49:51] local.INFO: TCP Data received {"connection_id":139068,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:49:51] local.INFO: Processing buffer {"connection_id":139068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:49:51] local.INFO: IMEI packet received {"connection_id":139068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":139068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:49:56] local.INFO: TCP Data received {"connection_id":139068,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:49:56] local.INFO: Processing buffer {"connection_id":139068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:49:56] local.INFO: IMEI packet received {"connection_id":139068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":139068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:49:57] local.INFO: TCP Data received {"connection_id":139068,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e032a0012d196740071fee88003f004c29..."} 
[2026-07-19 15:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e032a0012d196740071fee88003f004c29..."} 
[2026-07-19 15:49:57] local.INFO: Processing buffer {"connection_id":139068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e032a0012d196740071fee88003f004c29..."} 
[2026-07-19 15:49:57] local.INFO: Packet analysis {"connection_id":139068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e0"} 
[2026-07-19 15:49:57] local.INFO: Extracted packet for processing {"connection_id":139068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e0"} 
[2026-07-19 15:49:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820772608001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49: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-07-19 15:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784456164000,"timestamp_ms":1784456164000,"timestamp_seconds":1784456164,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e032a0"} 
[2026-07-19 15:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8781353381662628199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21441576253259776,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832591,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3734534145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:49:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:49:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,142,45,64,238,63,42,10,66,60,46,234,1,240,255,227,121,31,4,113,205,70,136,239,47,2,25,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:49:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712171956764672,"timestamp_seconds":4539712171956765.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820772608001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820772608001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:49:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:49:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820772608001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":139068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:49:57] local.INFO: GPS data processed {"connection_id":139068,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:49:57] local.INFO: Acknowledgment sent {"connection_id":139068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:50:09] local.INFO: TCP Data received {"connection_id":137681,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:50:09] local.INFO: Processing buffer {"connection_id":137681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:50:09] local.INFO: Packet analysis {"connection_id":137681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:50:09] local.INFO: Extracted packet for processing {"connection_id":137681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820734464001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:50: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-07-19 15:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784456295000,"timestamp_ms":1784456295000,"timestamp_seconds":1784456295,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e23258"} 
[2026-07-19 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-07-19 15:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 15:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 15:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:50: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-07-19 15:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820734464001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820734464001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:50:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820734464001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":137681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:50:09] local.INFO: GPS data processed {"connection_id":137681,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:50:09] local.INFO: Acknowledgment sent {"connection_id":137681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:50:28] local.INFO: TCP Data received {"connection_id":139068,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e084a8012d196740071fee88003f004c2b..."} 
[2026-07-19 15:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e084a8012d196740071fee88003f004c2b..."} 
[2026-07-19 15:50:28] local.INFO: Processing buffer {"connection_id":139068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e084a8012d196740071fee88003f004c2b..."} 
[2026-07-19 15:50:28] local.INFO: Packet analysis {"connection_id":139068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e0"} 
[2026-07-19 15:50:28] local.INFO: Extracted packet for processing {"connection_id":139068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e0"} 
[2026-07-19 15:50:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820777984001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:50: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-07-19 15:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784456185000,"timestamp_ms":1784456185000,"timestamp_seconds":1784456185,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e084a8"} 
[2026-07-19 15:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:50: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-07-19 15:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:50:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:50:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:50:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:50:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:50:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8781443575975844199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:50:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:50:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21438277718376448,"note":"Value kept but may cause issues"} 
[2026-07-19 15:50:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832592,"note":"Value kept but may cause issues"} 
[2026-07-19 15:50:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 15:50:28] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3739910145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:50:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:50:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:50:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:50:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,224,45,64,238,63,43,10,66,142,42,60,1,240,222,227,121,31,4,113,205,152,136,239,48,2,25,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:50:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712163366830080,"timestamp_seconds":4539712163366830.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820777984001,"66":12319,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820777984001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:50:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:50:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820777984001,"power":12319,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":139068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:50:28] local.INFO: GPS data processed {"connection_id":139068,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:50:28] local.INFO: Acknowledgment sent {"connection_id":139068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:50:31] local.INFO: TCP Data received {"connection_id":136719,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:50:31] local.INFO: Processing buffer {"connection_id":136719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:50:31] local.INFO: IMEI packet received {"connection_id":136719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":136719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:50:36] local.INFO: TCP Data received {"connection_id":136719,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:50:36] local.INFO: Processing buffer {"connection_id":136719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:50:36] local.INFO: IMEI packet received {"connection_id":136719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":136719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:50:37] local.INFO: TCP Data received {"connection_id":136719,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:50:37] local.INFO: Processing buffer {"connection_id":136719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:50:37] local.INFO: Packet analysis {"connection_id":136719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:50:37] local.INFO: Extracted packet for processing {"connection_id":136719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820734464001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:50: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-07-19 15:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784456295000,"timestamp_ms":1784456295000,"timestamp_seconds":1784456295,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e23258"} 
[2026-07-19 15:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 15:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:50:37] 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-07-19 15:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820734464001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820734464001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820734464001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":136719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:50:37] local.INFO: GPS data processed {"connection_id":136719,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:50:37] local.INFO: Acknowledgment sent {"connection_id":136719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:50:54] local.INFO: TCP Data received {"connection_id":137682,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:50:54] local.INFO: Processing buffer {"connection_id":137682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:50:54] local.INFO: IMEI packet received {"connection_id":137682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":137682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:50:56] local.INFO: TCP Data received {"connection_id":137682,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:50:56] local.INFO: Processing buffer {"connection_id":137682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:50:56] local.INFO: IMEI packet received {"connection_id":137682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":137682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:51:01] local.INFO: TCP Data received {"connection_id":137682,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:51:01] local.INFO: Processing buffer {"connection_id":137682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:51:01] local.INFO: IMEI packet received {"connection_id":137682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":137682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:51:02] local.INFO: TCP Data received {"connection_id":137682,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e0d6b0012d196740071fee88003f004c2e..."} 
[2026-07-19 15:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e0d6b0012d196740071fee88003f004c2e..."} 
[2026-07-19 15:51:02] local.INFO: Processing buffer {"connection_id":137682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e0d6b0012d196740071fee88003f004c2e..."} 
[2026-07-19 15:51:02] local.INFO: Packet analysis {"connection_id":137682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e0"} 
[2026-07-19 15:51:02] local.INFO: Extracted packet for processing {"connection_id":137682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e0"} 
[2026-07-19 15:51:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820783360001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51: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-07-19 15:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784456206000,"timestamp_ms":1784456206000,"timestamp_seconds":1784456206,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e0d6b0"} 
[2026-07-19 15:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:51: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-07-19 15:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 15:51:02] 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-07-19 15:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":137682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":137682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":137682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820783360001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820783360001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:51:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:51:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820783360001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":137682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:51:02] local.INFO: GPS data processed {"connection_id":137682,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:51:02] local.INFO: Acknowledgment sent {"connection_id":137682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:51:06] local.INFO: TCP Data received {"connection_id":137682,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e128b8012d196740071fee88003f004c2d..."} 
[2026-07-19 15:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e128b8012d196740071fee88003f004c2d..."} 
[2026-07-19 15:51:06] local.INFO: Processing buffer {"connection_id":137682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e128b8012d196740071fee88003f004c2d..."} 
[2026-07-19 15:51:06] local.INFO: Packet analysis {"connection_id":137682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e1"} 
[2026-07-19 15:51:06] local.INFO: Extracted packet for processing {"connection_id":137682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e1"} 
[2026-07-19 15:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820788736001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784456227000,"timestamp_ms":1784456227000,"timestamp_seconds":1784456227,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e128b8"} 
[2026-07-19 15:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:51: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-07-19 15:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:06] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8781623964602276199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:06] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:06] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21444874788143104,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832592,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:06] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3750662145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:51:06] local.WARNING: Large IO value detected {"io_id":60,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:06] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594552,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:06] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:06] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,144,159,132,45,64,238,63,43,10,66,50,41,224,1,240,227,121,31,4,113,205,60,136,46,239,47,2,25,7,42],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:51:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712184841666560,"timestamp_seconds":4539712184841667.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":137682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":137682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":137682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820788736001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820788736001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:51:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820788736001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":137682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:51:06] local.INFO: GPS data processed {"connection_id":137682,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:51:06] local.INFO: Acknowledgment sent {"connection_id":137682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:51:09] local.INFO: TCP Data received {"connection_id":136719,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:51:09] local.INFO: Processing buffer {"connection_id":136719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:51:09] local.INFO: Packet analysis {"connection_id":136719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:51:09] local.INFO: Extracted packet for processing {"connection_id":136719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820734464001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51: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-07-19 15:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784456295000,"timestamp_ms":1784456295000,"timestamp_seconds":1784456295,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e23258"} 
[2026-07-19 15:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 15:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:51: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-07-19 15:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820734464001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820734464001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:51:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820734464001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":136719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:51:09] local.INFO: GPS data processed {"connection_id":136719,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:51:09] local.INFO: Acknowledgment sent {"connection_id":136719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:51:36] local.INFO: TCP Data received {"connection_id":136601,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:51:36] local.INFO: Processing buffer {"connection_id":136601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:51:36] local.INFO: IMEI packet received {"connection_id":136601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":136601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:51:41] local.INFO: TCP Data received {"connection_id":136601,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:51:41] local.INFO: Processing buffer {"connection_id":136601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:51:41] local.INFO: IMEI packet received {"connection_id":136601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":136601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:51:42] local.INFO: TCP Data received {"connection_id":136601,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:51:42] local.INFO: Processing buffer {"connection_id":136601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:51:42] local.INFO: Packet analysis {"connection_id":136601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:51:42] local.INFO: Extracted packet for processing {"connection_id":136601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:51:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820734464001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784456295000,"timestamp_ms":1784456295000,"timestamp_seconds":1784456295,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e23258"} 
[2026-07-19 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-07-19 15:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 15:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 15:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:51: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-07-19 15:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820734464001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820734464001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:51:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:51:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820734464001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":136601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:51:42] local.INFO: GPS data processed {"connection_id":136601,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:51:42] local.INFO: Acknowledgment sent {"connection_id":136601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:51:47] local.INFO: TCP Data received {"connection_id":136601,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:51:47] local.INFO: Processing buffer {"connection_id":136601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:51:47] local.INFO: Packet analysis {"connection_id":136601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:51:47] local.INFO: Extracted packet for processing {"connection_id":136601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:51:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820734464001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784456295000,"timestamp_ms":1784456295000,"timestamp_seconds":1784456295,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e23258"} 
[2026-07-19 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-07-19 15:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 15:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 15:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820734464001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820734464001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:51:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:51:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820734464001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":136601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:51:47] local.INFO: GPS data processed {"connection_id":136601,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:51:47] local.INFO: Acknowledgment sent {"connection_id":136601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:51:51] local.INFO: TCP Data received {"connection_id":136720,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:51:51] local.INFO: Processing buffer {"connection_id":136720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:51:51] local.INFO: IMEI packet received {"connection_id":136720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":136720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:51:56] local.INFO: TCP Data received {"connection_id":136720,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:51:56] local.INFO: Processing buffer {"connection_id":136720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:51:56] local.INFO: IMEI packet received {"connection_id":136720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":136720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:51:57] local.INFO: TCP Data received {"connection_id":136720,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e17ac0012d196740071fee88003f004c2c..."} 
[2026-07-19 15:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e17ac0012d196740071fee88003f004c2c..."} 
[2026-07-19 15:51:57] local.INFO: Processing buffer {"connection_id":136720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e17ac0012d196740071fee88003f004c2c..."} 
[2026-07-19 15:51:57] local.INFO: Packet analysis {"connection_id":136720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e1"} 
[2026-07-19 15:51:57] local.INFO: Extracted packet for processing {"connection_id":136720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e1"} 
[2026-07-19 15:51:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820794112001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51: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-07-19 15:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784456248000,"timestamp_ms":1784456248000,"timestamp_seconds":1784456248,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e17ac0"} 
[2026-07-19 15:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:51: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-07-19 15:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8781714158915492199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21442675764887552,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832592,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195247100690638,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3756038145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:51:57] local.WARNING: Large IO value detected {"io_id":142,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:51:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,144,159,214,45,64,238,63,46,10,66,132,43,50,1,240,227,121,31,4,113,205,142,136,42,239,47,2,25,7,48],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:51:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712180546699264,"timestamp_seconds":4539712180546699.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820794112001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820794112001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:51:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:51:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820794112001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":136720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:51:57] local.INFO: GPS data processed {"connection_id":136720,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:51:57] local.INFO: Acknowledgment sent {"connection_id":136720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:52:28] local.INFO: TCP Data received {"connection_id":136720,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e1ccc8012d196740071fee88003f004c2a..."} 
[2026-07-19 15:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e1ccc8012d196740071fee88003f004c2a..."} 
[2026-07-19 15:52:28] local.INFO: Processing buffer {"connection_id":136720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e1ccc8012d196740071fee88003f004c2a..."} 
[2026-07-19 15:52:28] local.INFO: Packet analysis {"connection_id":136720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e1"} 
[2026-07-19 15:52:28] local.INFO: Extracted packet for processing {"connection_id":136720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e1"} 
[2026-07-19 15:52:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820799488001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52: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-07-19 15:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784456269000,"timestamp_ms":1784456269000,"timestamp_seconds":1784456269,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e1ccc8"} 
[2026-07-19 15:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820799488001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820799488001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:52:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:52:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820799488001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":136720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:52:28] local.INFO: GPS data processed {"connection_id":136720,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:52:28] local.INFO: Acknowledgment sent {"connection_id":136720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:52:31] local.INFO: TCP Data received {"connection_id":139069,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:52:31] local.INFO: Processing buffer {"connection_id":139069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:52:31] local.INFO: IMEI packet received {"connection_id":139069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":139069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:52:36] local.INFO: TCP Data received {"connection_id":139069,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:52:36] local.INFO: Processing buffer {"connection_id":139069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:52:36] local.INFO: IMEI packet received {"connection_id":139069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":139069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:52:37] local.INFO: TCP Data received {"connection_id":139069,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:52:37] local.INFO: Processing buffer {"connection_id":139069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:52:37] local.INFO: Packet analysis {"connection_id":139069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:52:37] local.INFO: Extracted packet for processing {"connection_id":139069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820734464001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15: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-07-19 15:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784456295000,"timestamp_ms":1784456295000,"timestamp_seconds":1784456295,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e23258"} 
[2026-07-19 15:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 15:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820734464001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820734464001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:52:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820734464001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":139069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:52:37] local.INFO: GPS data processed {"connection_id":139069,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:52:37] local.INFO: Acknowledgment sent {"connection_id":139069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:52:42] local.INFO: TCP Data received {"connection_id":139069,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:52:42] local.INFO: Processing buffer {"connection_id":139069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:52:42] local.INFO: Packet analysis {"connection_id":139069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:52:42] local.INFO: Extracted packet for processing {"connection_id":139069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:52:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820734464001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784456295000,"timestamp_ms":1784456295000,"timestamp_seconds":1784456295,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e23258"} 
[2026-07-19 15:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 15:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:52:42] 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-07-19 15:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820734464001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820734464001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:52:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:52:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820734464001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":139069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:52:42] local.INFO: GPS data processed {"connection_id":139069,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:52:42] local.INFO: Acknowledgment sent {"connection_id":139069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:52:51] local.INFO: TCP Data received {"connection_id":139070,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:52:51] local.INFO: Processing buffer {"connection_id":139070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:52:51] local.INFO: IMEI packet received {"connection_id":139070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":139070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:52:56] local.INFO: TCP Data received {"connection_id":139070,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:52:56] local.INFO: Processing buffer {"connection_id":139070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:52:56] local.INFO: IMEI packet received {"connection_id":139070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":139070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:52:57] local.INFO: TCP Data received {"connection_id":139070,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e21ed0012d196740071fee88003f004c2a..."} 
[2026-07-19 15:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e21ed0012d196740071fee88003f004c2a..."} 
[2026-07-19 15:52:57] local.INFO: Processing buffer {"connection_id":139070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e21ed0012d196740071fee88003f004c2a..."} 
[2026-07-19 15:52:57] local.INFO: Packet analysis {"connection_id":139070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:52:57] local.INFO: Extracted packet for processing {"connection_id":139070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:52:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820804864001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52: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-07-19 15:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784456290000,"timestamp_ms":1784456290000,"timestamp_seconds":1784456290,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e21ed0"} 
[2026-07-19 15:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8781894547541924199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21439377230004224,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832591,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3766790145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:52:57] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:52:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,122,45,64,238,63,44,10,66,40,214,1,240,227,121,31,4,113,205,50,136,41,239,48,2,25,7,42],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:52:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712167661797376,"timestamp_seconds":4539712167661797.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820804864001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820804864001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:52:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:52:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820804864001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":139070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:52:57] local.INFO: GPS data processed {"connection_id":139070,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:52:57] local.INFO: Acknowledgment sent {"connection_id":139070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:53:15] local.INFO: TCP Data received {"connection_id":139069,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:53:15] local.INFO: Processing buffer {"connection_id":139069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:53:15] local.INFO: Packet analysis {"connection_id":139069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:53:15] local.INFO: Extracted packet for processing {"connection_id":139069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:53:15] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820734464001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784456295000,"timestamp_ms":1784456295000,"timestamp_seconds":1784456295,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e23258"} 
[2026-07-19 15:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 15:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":139069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":139069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":139069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:53:15] 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-07-19 15:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820734464001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820734464001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:53:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:53:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820734464001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":139069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:53:15] local.INFO: GPS data processed {"connection_id":139069,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:53:15] local.INFO: Acknowledgment sent {"connection_id":139069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:53:28] local.INFO: TCP Data received {"connection_id":139070,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e5a528012d196740071fee88003f004c2a..."} 
[2026-07-19 15:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e5a528012d196740071fee88003f004c2a..."} 
[2026-07-19 15:53:28] local.INFO: Processing buffer {"connection_id":139070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e5a528012d196740071fee88003f004c2a..."} 
[2026-07-19 15:53:28] local.INFO: Packet analysis {"connection_id":139070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e5"} 
[2026-07-19 15:53:28] local.INFO: Extracted packet for processing {"connection_id":139070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e5"} 
[2026-07-19 15:53:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820864000001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53: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-07-19 15:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784456521000,"timestamp_ms":1784456521000,"timestamp_seconds":1784456521,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e5a528"} 
[2026-07-19 15:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:53: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-07-19 15: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8782886684987300199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21442675764887552,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832592,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:28] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3825926145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:53:28] local.WARNING: Large IO value detected {"io_id":184,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:28] local.WARNING: Large IO value detected {"io_id":46,"raw_value":4009807224,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,1,45,64,238,63,41,10,66,175,40,93,240,255,227,121,31,4,113,205,184,136,42,239,46,2,25,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:53:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712171956764672,"timestamp_seconds":4539712171956765.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820864000001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820864000001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:53:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:53:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820864000001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":139070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:53:28] local.INFO: GPS data processed {"connection_id":139070,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:53:28] local.INFO: Acknowledgment sent {"connection_id":139070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:53:31] local.INFO: TCP Data received {"connection_id":137686,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:53:31] local.INFO: Processing buffer {"connection_id":137686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:53:31] local.INFO: IMEI packet received {"connection_id":137686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":137686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:53:36] local.INFO: TCP Data received {"connection_id":137686,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:53:36] local.INFO: Processing buffer {"connection_id":137686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:53:36] local.INFO: IMEI packet received {"connection_id":137686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":137686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:53:37] local.INFO: TCP Data received {"connection_id":137686,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:53:37] local.INFO: Processing buffer {"connection_id":137686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e23258012d34c50006aa4dd8000800952f..."} 
[2026-07-19 15:53:37] local.INFO: Packet analysis {"connection_id":137686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:53:37] local.INFO: Extracted packet for processing {"connection_id":137686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e2"} 
[2026-07-19 15:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820734464001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53: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-07-19 15:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784456295000,"timestamp_ms":1784456295000,"timestamp_seconds":1784456295,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e23258"} 
[2026-07-19 15:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 15:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820734464001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820734464001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:53:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820734464001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":137686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:53:37] local.INFO: GPS data processed {"connection_id":137686,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:53:37] local.INFO: Acknowledgment sent {"connection_id":137686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:53:51] local.INFO: TCP Data received {"connection_id":137687,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:53:51] local.INFO: Processing buffer {"connection_id":137687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:53:51] local.INFO: IMEI packet received {"connection_id":137687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":137687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:53:56] local.INFO: TCP Data received {"connection_id":137687,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:53:56] local.INFO: Processing buffer {"connection_id":137687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:53:56] local.INFO: IMEI packet received {"connection_id":137687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":137687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:53:57] local.INFO: TCP Data received {"connection_id":137687,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e5f730012d196740071fee88003f004c29..."} 
[2026-07-19 15:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e5f730012d196740071fee88003f004c29..."} 
[2026-07-19 15:53:57] local.INFO: Processing buffer {"connection_id":137687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e5f730012d196740071fee88003f004c29..."} 
[2026-07-19 15:53:57] local.INFO: Packet analysis {"connection_id":137687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e5"} 
[2026-07-19 15:53:57] local.INFO: Extracted packet for processing {"connection_id":137687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e5"} 
[2026-07-19 15:53:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820869376001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:53: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-07-19 15:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784456542000,"timestamp_ms":1784456542000,"timestamp_seconds":1784456542,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e5f730"} 
[2026-07-19 15:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:53: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-07-19 15:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820869376001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820869376001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:53:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:53:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820869376001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":137687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:53:57] local.INFO: GPS data processed {"connection_id":137687,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:53:57] local.INFO: Acknowledgment sent {"connection_id":137687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:54:09] local.INFO: TCP Data received {"connection_id":137686,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:54:09] local.INFO: Processing buffer {"connection_id":137686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:54:09] local.INFO: Packet analysis {"connection_id":137686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:54:09] local.INFO: Extracted packet for processing {"connection_id":137686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820811520001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15: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-07-19 15:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784456596000,"timestamp_ms":1784456596000,"timestamp_seconds":1784456596,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e6ca20"} 
[2026-07-19 15:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:54:09] 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-07-19 15:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820811520001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820811520001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820811520001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":137686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:54:09] local.INFO: GPS data processed {"connection_id":137686,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:54:09] local.INFO: Acknowledgment sent {"connection_id":137686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:54:28] local.INFO: TCP Data received {"connection_id":137687,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e64938012d196740071fee88003f004c2a..."} 
[2026-07-19 15:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e64938012d196740071fee88003f004c2a..."} 
[2026-07-19 15:54:28] local.INFO: Processing buffer {"connection_id":137687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e64938012d196740071fee88003f004c2a..."} 
[2026-07-19 15:54:28] local.INFO: Packet analysis {"connection_id":137687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:54:28] local.INFO: Extracted packet for processing {"connection_id":137687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:54:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820874752001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54: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-07-19 15:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784456563000,"timestamp_ms":1784456563000,"timestamp_seconds":1784456563,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e64938"} 
[2026-07-19 15:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:54: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-07-19 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820874752001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820874752001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:54:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:54:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820874752001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":137687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:54:28] local.INFO: GPS data processed {"connection_id":137687,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:54:28] local.INFO: Acknowledgment sent {"connection_id":137687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:54:36] local.INFO: TCP Data received {"connection_id":139072,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:54:36] local.INFO: Processing buffer {"connection_id":139072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:54:36] local.INFO: IMEI packet received {"connection_id":139072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":139072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:54:41] local.INFO: TCP Data received {"connection_id":139072,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:54:41] local.INFO: Processing buffer {"connection_id":139072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:54:41] local.INFO: IMEI packet received {"connection_id":139072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":139072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:54:42] local.INFO: TCP Data received {"connection_id":139072,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:54:42] local.INFO: Processing buffer {"connection_id":139072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:54:42] local.INFO: Packet analysis {"connection_id":139072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:54:42] local.INFO: Extracted packet for processing {"connection_id":139072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:54:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820811520001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784456596000,"timestamp_ms":1784456596000,"timestamp_seconds":1784456596,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e6ca20"} 
[2026-07-19 15:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820811520001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820811520001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:54:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:54:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820811520001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":139072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:54:42] local.INFO: GPS data processed {"connection_id":139072,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:54:42] local.INFO: Acknowledgment sent {"connection_id":139072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:54:46] local.INFO: TCP Data received {"connection_id":139071,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:54:46] local.INFO: Processing buffer {"connection_id":139071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:54:46] local.INFO: IMEI packet received {"connection_id":139071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 15:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":139071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:54:51] local.INFO: TCP Data received {"connection_id":136602,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:54:51] local.INFO: Processing buffer {"connection_id":136602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:54:51] local.INFO: IMEI packet received {"connection_id":136602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":136602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:54:56] local.INFO: TCP Data received {"connection_id":136602,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:54:56] local.INFO: Processing buffer {"connection_id":136602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:54:56] local.INFO: IMEI packet received {"connection_id":136602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":136602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:54:57] local.INFO: TCP Data received {"connection_id":136602,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e69b40012d196740071fee88003f004c2a..."} 
[2026-07-19 15:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e69b40012d196740071fee88003f004c2a..."} 
[2026-07-19 15:54:57] local.INFO: Processing buffer {"connection_id":136602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e69b40012d196740071fee88003f004c2a..."} 
[2026-07-19 15:54:57] local.INFO: Packet analysis {"connection_id":136602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:54:57] local.INFO: Extracted packet for processing {"connection_id":136602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:54:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820880128001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54: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-07-19 15:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784456584000,"timestamp_ms":1784456584000,"timestamp_seconds":1784456584,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e69b40"} 
[2026-07-19 15:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:54: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-07-19 15:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8783157267926948199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54:57] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":12289,"corrected_to":0} 
[2026-07-19 15:54:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21439377230004224,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832592,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3842054145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:54:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:54:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,247,45,64,238,63,41,10,66,165,42,1,240,227,121,31,4,113,205,175,136,40,239,48,2,25,7,43],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":247,"original":12289,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:54:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712167661797376,"timestamp_seconds":4539712167661797.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820880128001,"66":12319,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820880128001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:54:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:54:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820880128001,"power":12319,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":136602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:54:57] local.INFO: GPS data processed {"connection_id":136602,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:54:57] local.INFO: Acknowledgment sent {"connection_id":136602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:55:14] local.INFO: TCP Data received {"connection_id":139072,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:55:14] local.INFO: Processing buffer {"connection_id":139072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:55:14] local.INFO: Packet analysis {"connection_id":139072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:55:14] local.INFO: Extracted packet for processing {"connection_id":139072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:55:14] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820811520001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55: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-07-19 15:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784456596000,"timestamp_ms":1784456596000,"timestamp_seconds":1784456596,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e6ca20"} 
[2026-07-19 15:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":139072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":139072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":139072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:55:14] 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-07-19 15:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820811520001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820811520001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:55:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:55:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820811520001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":139072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:55:14] local.INFO: GPS data processed {"connection_id":139072,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:55:14] local.INFO: Acknowledgment sent {"connection_id":139072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:55:26] local.INFO: TCP Data received {"connection_id":136603,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:55:26] local.INFO: Processing buffer {"connection_id":136603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 15:55:26] local.INFO: IMEI packet received {"connection_id":136603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 15:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":136603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:55:28] local.INFO: TCP Data received {"connection_id":136602,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e6ed48012d196740071fee88003f004c2c..."} 
[2026-07-19 15:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e6ed48012d196740071fee88003f004c2c..."} 
[2026-07-19 15:55:28] local.INFO: Processing buffer {"connection_id":136602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e6ed48012d196740071fee88003f004c2c..."} 
[2026-07-19 15:55:28] local.INFO: Packet analysis {"connection_id":136602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:55:28] local.INFO: Extracted packet for processing {"connection_id":136602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:55:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820885504001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55: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-07-19 15:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784456605000,"timestamp_ms":1784456605000,"timestamp_seconds":1784456605,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e6ed48"} 
[2026-07-19 15:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:55: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-07-19 15: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 15:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820885504001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820885504001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:55:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:55:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820885504001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":136602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:55:28] local.INFO: GPS data processed {"connection_id":136602,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:55:28] local.INFO: Acknowledgment sent {"connection_id":136602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:55:31] local.INFO: TCP Data received {"connection_id":136721,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:55:31] local.INFO: Processing buffer {"connection_id":136721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:55:31] local.INFO: IMEI packet received {"connection_id":136721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":136721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:55:36] local.INFO: TCP Data received {"connection_id":136721,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:55:36] local.INFO: Processing buffer {"connection_id":136721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:55:36] local.INFO: IMEI packet received {"connection_id":136721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":136721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:55:38] local.INFO: TCP Data received {"connection_id":136721,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:55:38] local.INFO: Processing buffer {"connection_id":136721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:55:38] local.INFO: Packet analysis {"connection_id":136721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:55:38] local.INFO: Extracted packet for processing {"connection_id":136721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820811520001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55: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-07-19 15:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784456596000,"timestamp_ms":1784456596000,"timestamp_seconds":1784456596,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e6ca20"} 
[2026-07-19 15:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:55:38] 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-07-19 15:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820811520001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820811520001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:55:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820811520001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":136721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:55:38] local.INFO: GPS data processed {"connection_id":136721,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:55:38] local.INFO: Acknowledgment sent {"connection_id":136721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:55:51] local.INFO: TCP Data received {"connection_id":137688,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:55:51] local.INFO: Processing buffer {"connection_id":137688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:55:51] local.INFO: IMEI packet received {"connection_id":137688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":137688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:55:56] local.INFO: TCP Data received {"connection_id":137688,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:55:56] local.INFO: Processing buffer {"connection_id":137688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:55:56] local.INFO: IMEI packet received {"connection_id":137688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":137688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:55:57] local.INFO: TCP Data received {"connection_id":137688,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e73f50012d196740071fee88003f004c2b..."} 
[2026-07-19 15:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e73f50012d196740071fee88003f004c2b..."} 
[2026-07-19 15:55:57] local.INFO: Processing buffer {"connection_id":137688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e73f50012d196740071fee88003f004c2b..."} 
[2026-07-19 15:55:57] local.INFO: Packet analysis {"connection_id":137688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e7"} 
[2026-07-19 15:55:57] local.INFO: Extracted packet for processing {"connection_id":137688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e7"} 
[2026-07-19 15:55:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820890880001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55: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-07-19 15:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784456626000,"timestamp_ms":1784456626000,"timestamp_seconds":1784456626,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e73f50"} 
[2026-07-19 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-07-19 15:55: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-07-19 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8783337656553380199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21437178206748672,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832592,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55:57] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":12289,"corrected_to":0} 
[2026-07-19 15:55:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3852806145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:55:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:55:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,155,45,64,238,63,42,10,66,73,247,1,240,255,227,121,31,4,113,205,136,43,239,48,2,25,7,40],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":247,"original":12289,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:55:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712176251731968,"timestamp_seconds":4539712176251732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 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-07-19 15:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820890880001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820890880001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:55:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:55:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820890880001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":137688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:55:57] local.INFO: GPS data processed {"connection_id":137688,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:55:57] local.INFO: Acknowledgment sent {"connection_id":137688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:56:09] local.INFO: TCP Data received {"connection_id":136721,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:56:09] local.INFO: Processing buffer {"connection_id":136721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:56:09] local.INFO: Packet analysis {"connection_id":136721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:56:09] local.INFO: Extracted packet for processing {"connection_id":136721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820811520001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:56: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-07-19 15:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784456596000,"timestamp_ms":1784456596000,"timestamp_seconds":1784456596,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e6ca20"} 
[2026-07-19 15:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:56: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-07-19 15:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820811520001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820811520001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820811520001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":136721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:56:09] local.INFO: GPS data processed {"connection_id":136721,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:56:09] local.INFO: Acknowledgment sent {"connection_id":136721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:56:28] local.INFO: TCP Data received {"connection_id":137688,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e79158012d196740071fee88003f004c2c..."} 
[2026-07-19 15:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e79158012d196740071fee88003f004c2c..."} 
[2026-07-19 15:56:28] local.INFO: Processing buffer {"connection_id":137688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e79158012d196740071fee88003f004c2c..."} 
[2026-07-19 15:56:28] local.INFO: Packet analysis {"connection_id":137688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e7"} 
[2026-07-19 15:56:28] local.INFO: Extracted packet for processing {"connection_id":137688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e7"} 
[2026-07-19 15:56:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820896256001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:56: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-07-19 15:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784456647000,"timestamp_ms":1784456647000,"timestamp_seconds":1784456647,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e79158"} 
[2026-07-19 15:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:56: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-07-19 15: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:56:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:56:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:56:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:56:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:56:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8783427850866596199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:56:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:56:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21439377230004224,"note":"Value kept but may cause issues"} 
[2026-07-19 15:56:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832592,"note":"Value kept but may cause issues"} 
[2026-07-19 15:56:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-19 15:56:28] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3858182145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:56:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:56:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:56:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 15:56:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:56:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,237,45,64,238,63,44,10,66,155,42,73,1,240,227,121,31,4,113,205,165,136,239,47,2,25,7,41],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:56:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712171956764672,"timestamp_seconds":4539712171956765.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820896256001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820896256001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:56:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:56:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820896256001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":137688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:56:28] local.INFO: GPS data processed {"connection_id":137688,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:56:28] local.INFO: Acknowledgment sent {"connection_id":137688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:56:31] local.INFO: TCP Data received {"connection_id":137689,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:56:31] local.INFO: Processing buffer {"connection_id":137689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:56:31] local.INFO: IMEI packet received {"connection_id":137689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":137689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:56:36] local.INFO: TCP Data received {"connection_id":137689,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:56:36] local.INFO: Processing buffer {"connection_id":137689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:56:36] local.INFO: IMEI packet received {"connection_id":137689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":137689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:56:37] local.INFO: TCP Data received {"connection_id":137689,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:56:37] local.INFO: Processing buffer {"connection_id":137689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:56:37] local.INFO: Packet analysis {"connection_id":137689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:56:37] local.INFO: Extracted packet for processing {"connection_id":137689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820811520001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:56: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-07-19 15:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784456596000,"timestamp_ms":1784456596000,"timestamp_seconds":1784456596,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e6ca20"} 
[2026-07-19 15:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820811520001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820811520001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:56:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820811520001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":137689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:56:37] local.INFO: GPS data processed {"connection_id":137689,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:56:37] local.INFO: Acknowledgment sent {"connection_id":137689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:56:51] local.INFO: TCP Data received {"connection_id":136722,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:56:51] local.INFO: Processing buffer {"connection_id":136722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:56:51] local.INFO: IMEI packet received {"connection_id":136722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":136722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:56:51] local.INFO: TCP Data received {"connection_id":136722,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:56:51] local.INFO: Processing buffer {"connection_id":136722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:56:51] local.INFO: IMEI packet received {"connection_id":136722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":136722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:56:56] local.INFO: TCP Data received {"connection_id":136722,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:56:56] local.INFO: Processing buffer {"connection_id":136722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:56:56] local.INFO: IMEI packet received {"connection_id":136722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":136722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:57:01] local.INFO: TCP Data received {"connection_id":136722,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:57:01] local.INFO: Processing buffer {"connection_id":136722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:57:01] local.INFO: IMEI packet received {"connection_id":136722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":136722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:57:02] local.INFO: TCP Data received {"connection_id":136722,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e7e360012d196740071fee88003f004c2b..."} 
[2026-07-19 15:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e7e360012d196740071fee88003f004c2b..."} 
[2026-07-19 15:57:02] local.INFO: Processing buffer {"connection_id":136722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e7e360012d196740071fee88003f004c2b..."} 
[2026-07-19 15:57:02] local.INFO: Packet analysis {"connection_id":136722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e7"} 
[2026-07-19 15:57:02] local.INFO: Extracted packet for processing {"connection_id":136722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e7"} 
[2026-07-19 15:57:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820901632001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784456668000,"timestamp_ms":1784456668000,"timestamp_seconds":1784456668,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e7e360"} 
[2026-07-19 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-07-19 15:57: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-07-19 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:02] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:02] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:02] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8783518045179812199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:02] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21438277718376448,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:02] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:02] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832592,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:02] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:02] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:02] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3863558145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:57:02] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":805383449,"corrected_to":0} 
[2026-07-19 15:57:02] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:02] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:02] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,63,45,64,238,43,10,66,237,44,155,1,240,31,227,121,4,113,205,247,136,41,239,47,2,25,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":247,"original":805383449,"validated":0}]} 
[2026-07-19 15:57:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712176251731968,"timestamp_seconds":4539712176251732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 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-07-19 15:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820901632001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820901632001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:57:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:57:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820901632001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":136722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:57:02] local.INFO: GPS data processed {"connection_id":136722,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:57:02] local.INFO: Acknowledgment sent {"connection_id":136722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:57:06] local.INFO: TCP Data received {"connection_id":136722,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e83568012d196740071fee88003f004c2a..."} 
[2026-07-19 15:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e83568012d196740071fee88003f004c2a..."} 
[2026-07-19 15:57:06] local.INFO: Processing buffer {"connection_id":136722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e83568012d196740071fee88003f004c2a..."} 
[2026-07-19 15:57:06] local.INFO: Packet analysis {"connection_id":136722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e8"} 
[2026-07-19 15:57:06] local.INFO: Extracted packet for processing {"connection_id":136722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e8"} 
[2026-07-19 15:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820907008001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784456689000,"timestamp_ms":1784456689000,"timestamp_seconds":1784456689,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e83568"} 
[2026-07-19 15:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:57: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-07-19 15:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:06] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8783608239493028199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:06] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:06] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21437178206748672,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832592,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:06] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3868934145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:57:06] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:06] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,145,45,64,238,63,44,10,66,43,237,1,240,227,121,31,4,113,205,73,136,42,239,48,2,25,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:57:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712171956764672,"timestamp_seconds":4539712171956765.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820907008001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820907008001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:57:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820907008001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":136722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:57:06] local.INFO: GPS data processed {"connection_id":136722,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:57:06] local.INFO: Acknowledgment sent {"connection_id":136722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:57:09] local.INFO: TCP Data received {"connection_id":137689,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:57:09] local.INFO: Processing buffer {"connection_id":137689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:57:09] local.INFO: Packet analysis {"connection_id":137689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:57:09] local.INFO: Extracted packet for processing {"connection_id":137689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820811520001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57: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-07-19 15:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784456596000,"timestamp_ms":1784456596000,"timestamp_seconds":1784456596,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e6ca20"} 
[2026-07-19 15:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:57:09] 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-07-19 15:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820811520001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820811520001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:57:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820811520001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":137689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:57:09] local.INFO: GPS data processed {"connection_id":137689,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:57:09] local.INFO: Acknowledgment sent {"connection_id":137689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:57:31] local.INFO: TCP Data received {"connection_id":136723,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:57:31] local.INFO: Processing buffer {"connection_id":136723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:57:31] local.INFO: IMEI packet received {"connection_id":136723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":136723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:57:36] local.INFO: TCP Data received {"connection_id":136723,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:57:36] local.INFO: Processing buffer {"connection_id":136723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:57:36] local.INFO: IMEI packet received {"connection_id":136723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":136723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:57:37] local.INFO: TCP Data received {"connection_id":136723,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:57:37] local.INFO: Processing buffer {"connection_id":136723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:57:37] local.INFO: Packet analysis {"connection_id":136723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:57:37] local.INFO: Extracted packet for processing {"connection_id":136723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820811520001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57: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-07-19 15:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784456596000,"timestamp_ms":1784456596000,"timestamp_seconds":1784456596,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e6ca20"} 
[2026-07-19 15:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:57: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-07-19 15:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820811520001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820811520001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:57:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820811520001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":136723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:57:37] local.INFO: GPS data processed {"connection_id":136723,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:57:37] local.INFO: Acknowledgment sent {"connection_id":136723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:57:51] local.INFO: TCP Data received {"connection_id":139073,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:57:51] local.INFO: Processing buffer {"connection_id":139073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:57:51] local.INFO: IMEI packet received {"connection_id":139073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":139073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:57:55] local.INFO: TCP Data received {"connection_id":139073,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:57:55] local.INFO: Processing buffer {"connection_id":139073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:57:55] local.INFO: IMEI packet received {"connection_id":139073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":139073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:57:55] local.INFO: TCP Data received {"connection_id":139073,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e88770012d196740071fee88003f004c2a..."} 
[2026-07-19 15:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e88770012d196740071fee88003f004c2a..."} 
[2026-07-19 15:57:55] local.INFO: Processing buffer {"connection_id":139073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e88770012d196740071fee88003f004c2a..."} 
[2026-07-19 15:57:55] local.INFO: Packet analysis {"connection_id":139073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e8"} 
[2026-07-19 15:57:55] local.INFO: Extracted packet for processing {"connection_id":139073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e8"} 
[2026-07-19 15:57:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820912384001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57: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-07-19 15:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784456710000,"timestamp_ms":1784456710000,"timestamp_seconds":1784456710,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e88770"} 
[2026-07-19 15:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 15: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":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:55] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:55] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:55] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8783698433806244199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:55] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:55] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21438277718376448,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:55] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832592,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:55] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:55] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3874310145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:55] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:57:55] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:57:55] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,227,45,64,238,63,43,10,66,145,44,1,240,121,31,4,113,205,155,136,42,239,48,2,25,7,41],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:57:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712167661797376,"timestamp_seconds":4539712167661797.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":139073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":139073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":139073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820912384001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820912384001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:57:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:57:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820912384001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":139073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:57:55] local.INFO: GPS data processed {"connection_id":139073,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:57:55] local.INFO: Acknowledgment sent {"connection_id":139073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:58:09] local.INFO: TCP Data received {"connection_id":136723,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:58:09] local.INFO: Processing buffer {"connection_id":136723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:58:09] local.INFO: Packet analysis {"connection_id":136723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:58:09] local.INFO: Extracted packet for processing {"connection_id":136723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820811520001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15: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-07-19 15:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784456596000,"timestamp_ms":1784456596000,"timestamp_seconds":1784456596,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e6ca20"} 
[2026-07-19 15:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15: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-07-19 15:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:58: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-07-19 15:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820811520001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820811520001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:58:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:58:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820811520001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":136723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:58:09] local.INFO: GPS data processed {"connection_id":136723,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:58:09] local.INFO: Acknowledgment sent {"connection_id":136723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:58:26] local.INFO: TCP Data received {"connection_id":139073,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e8d978012d196740071fee88003f004c2b..."} 
[2026-07-19 15:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e8d978012d196740071fee88003f004c2b..."} 
[2026-07-19 15:58:26] local.INFO: Processing buffer {"connection_id":139073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e8d978012d196740071fee88003f004c2b..."} 
[2026-07-19 15:58:26] local.INFO: Packet analysis {"connection_id":139073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e8"} 
[2026-07-19 15:58:26] local.INFO: Extracted packet for processing {"connection_id":139073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e8"} 
[2026-07-19 15:58:26] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15: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-07-19 15:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820917760001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58: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-07-19 15:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784456731000,"timestamp_ms":1784456731000,"timestamp_seconds":1784456731,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e8d978"} 
[2026-07-19 15:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:58: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-07-19 15: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:26] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:26] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:26] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:26] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8783788628119460199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:26] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:26] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21438277718376448,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:26] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832592,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:26] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586883278,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:26] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3879686145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:26] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:58:26] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:26] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,53,45,64,238,63,42,10,66,227,43,145,1,240,121,31,4,113,205,237,136,44,239,48,2,25,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:58:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712167661797376,"timestamp_seconds":4539712167661797.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":139073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":139073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":139073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820917760001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820917760001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:58:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:58:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820917760001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":139073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:58:27] local.INFO: GPS data processed {"connection_id":139073,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:58:27] local.INFO: Acknowledgment sent {"connection_id":139073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:58:37] local.INFO: TCP Data received {"connection_id":136724,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:58:37] local.INFO: Processing buffer {"connection_id":136724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:58:37] local.INFO: IMEI packet received {"connection_id":136724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":136724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:58:41] local.INFO: TCP Data received {"connection_id":136724,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:58:41] local.INFO: Processing buffer {"connection_id":136724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:58:41] local.INFO: IMEI packet received {"connection_id":136724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":136724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:58:43] local.INFO: TCP Data received {"connection_id":136724,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:58:43] local.INFO: Processing buffer {"connection_id":136724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:58:43] local.INFO: Packet analysis {"connection_id":136724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:58:43] local.INFO: Extracted packet for processing {"connection_id":136724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:58:43] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 15:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820811520001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58: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-07-19 15:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784456596000,"timestamp_ms":1784456596000,"timestamp_seconds":1784456596,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e6ca20"} 
[2026-07-19 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-07-19 15:58:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:58:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 15:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:58:43] 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-07-19 15:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820811520001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820811520001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:58:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:58:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820811520001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":136724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:58:43] local.INFO: GPS data processed {"connection_id":136724,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:58:43] local.INFO: Acknowledgment sent {"connection_id":136724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:58:47] local.INFO: TCP Data received {"connection_id":136724,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:58:47] local.INFO: Processing buffer {"connection_id":136724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e6ca20012d34c50006aa4dd80008009531..."} 
[2026-07-19 15:58:47] local.INFO: Packet analysis {"connection_id":136724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:58:47] local.INFO: Extracted packet for processing {"connection_id":136724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 15:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820811520001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 15:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784456596000,"timestamp_ms":1784456596000,"timestamp_seconds":1784456596,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e6ca20"} 
[2026-07-19 15:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820811520001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820811520001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:58:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820811520001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":136724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:58:47] local.INFO: GPS data processed {"connection_id":136724,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:58:47] local.INFO: Acknowledgment sent {"connection_id":136724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:58:51] local.INFO: TCP Data received {"connection_id":139075,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:58:51] local.INFO: Processing buffer {"connection_id":139075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:58:51] local.INFO: IMEI packet received {"connection_id":139075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":139075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:58:56] local.INFO: TCP Data received {"connection_id":139075,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:58:56] local.INFO: Processing buffer {"connection_id":139075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:58:56] local.INFO: IMEI packet received {"connection_id":139075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":139075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:58:57] local.INFO: TCP Data received {"connection_id":139075,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e92b80012d196740071fee88003f004c2d..."} 
[2026-07-19 15:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e92b80012d196740071fee88003f004c2d..."} 
[2026-07-19 15:58:57] local.INFO: Processing buffer {"connection_id":139075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e92b80012d196740071fee88003f004c2d..."} 
[2026-07-19 15:58:57] local.INFO: Packet analysis {"connection_id":139075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e9"} 
[2026-07-19 15:58:57] local.INFO: Extracted packet for processing {"connection_id":139075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e9"} 
[2026-07-19 15:58:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820923136001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58: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-07-19 15:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784456752000,"timestamp_ms":1784456752000,"timestamp_seconds":1784456752,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e92b80"} 
[2026-07-19 15:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:58: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-07-19 15:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8783878822432676199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21440476741632000,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832592,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3885062145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:58:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:58:57] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,103,83,24,241,157,16,144,159,135,45,64,238,63,42,10,66,53,227,1,240,121,31,4,113,205,136,43,239,48,2,25,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:58:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712171956764672,"timestamp_seconds":4539712171956765.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820923136001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820923136001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:58:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:58:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820923136001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":139075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:58:57] local.INFO: GPS data processed {"connection_id":139075,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:58:57] local.INFO: Acknowledgment sent {"connection_id":139075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:59:28] local.INFO: TCP Data received {"connection_id":139075,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e97d88012d196740071fee88003f004c2b..."} 
[2026-07-19 15:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e97d88012d196740071fee88003f004c2b..."} 
[2026-07-19 15:59:28] local.INFO: Processing buffer {"connection_id":139075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e97d88012d196740071fee88003f004c2b..."} 
[2026-07-19 15:59:28] local.INFO: Packet analysis {"connection_id":139075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e9"} 
[2026-07-19 15:59:28] local.INFO: Extracted packet for processing {"connection_id":139075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e9"} 
[2026-07-19 15:59:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820928512001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:59: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-07-19 15:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784456773000,"timestamp_ms":1784456773000,"timestamp_seconds":1784456773,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e97d88"} 
[2026-07-19 15:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:59: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-07-19 15:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 15:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820928512001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820928512001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:59:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:59:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820928512001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":139075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:59:28] local.INFO: GPS data processed {"connection_id":139075,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:59:28] local.INFO: Acknowledgment sent {"connection_id":139075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:59:31] local.INFO: TCP Data received {"connection_id":136726,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:59:31] local.INFO: Processing buffer {"connection_id":136726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:59:31] local.INFO: IMEI packet received {"connection_id":136726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 15:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":136726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:59:36] local.INFO: TCP Data received {"connection_id":136726,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:59:36] local.INFO: Processing buffer {"connection_id":136726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 15:59:36] local.INFO: IMEI packet received {"connection_id":136726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 15:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":136726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:59:37] local.INFO: TCP Data received {"connection_id":136726,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 15:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 15:59:37] local.INFO: Processing buffer {"connection_id":136726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 15:59:37] local.INFO: Packet analysis {"connection_id":136726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 15:59:37] local.INFO: Extracted packet for processing {"connection_id":136726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 15:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":50,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 15:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820888576001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 15:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 15:59: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-07-19 15:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784456897000,"timestamp_ms":1784456897000,"timestamp_seconds":1784456897,"priority":1,"record_length":96,"hex_timestamp":"0000019f79eb61e8"} 
[2026-07-19 15:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 15:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 15:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 15:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 15:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 15:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 15:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 15:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820888576001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 15:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 15:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 15:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820888576001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:59:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 15:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 15:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 15:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820888576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 15:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":136726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:59:37] local.INFO: GPS data processed {"connection_id":136726,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:59:37] local.INFO: Acknowledgment sent {"connection_id":136726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 15:59:51] local.INFO: TCP Data received {"connection_id":139076,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:59:51] local.INFO: Processing buffer {"connection_id":139076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:59:51] local.INFO: IMEI packet received {"connection_id":139076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 15:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":139076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 15:59:56] local.INFO: TCP Data received {"connection_id":139076,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:59:56] local.INFO: Processing buffer {"connection_id":139076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 15:59:56] local.INFO: IMEI packet received {"connection_id":139076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 15:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":139076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 15:59:57] local.INFO: TCP Data received {"connection_id":139076,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e9cf90012d196740071fee88003f004c2d..."} 
[2026-07-19 15:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e9cf90012d196740071fee88003f004c2d..."} 
[2026-07-19 15:59:57] local.INFO: Processing buffer {"connection_id":139076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e9cf90012d196740071fee88003f004c2d..."} 
[2026-07-19 15:59:57] local.INFO: Packet analysis {"connection_id":139076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e9"} 
[2026-07-19 15:59:57] local.INFO: Extracted packet for processing {"connection_id":139076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e9"} 
[2026-07-19 15:59:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 15:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 15:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820933888001,"note":"Value kept but may cause issues"} 
[2026-07-19 15:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 15:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 15:59: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-07-19 15:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784456794000,"timestamp_ms":1784456794000,"timestamp_seconds":1784456794,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e9cf90"} 
[2026-07-19 15:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 15:59: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-07-19 15:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 15:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 15:59:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 15:59:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 15:59:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 15:59:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 15:59:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8784059211059108199,"note":"Value kept but may cause issues"} 
[2026-07-19 15:59:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 15:59:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21440476741632000,"note":"Value kept but may cause issues"} 
[2026-07-19 15:59:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832593,"note":"Value kept but may cause issues"} 
[2026-07-19 15:59:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-19 15:59:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3895814145,"note":"Value kept but may cause issues"} 
[2026-07-19 15:59:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 15:59:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 15:59:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 15:59:57] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,103,83,24,241,157,16,144,159,43,45,64,238,63,10,66,217,135,1,240,227,121,31,4,113,205,136,239,48,2,25,7],"length":534,"final_offset":664,"validated_count":32,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 15:59:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712171956764672,"timestamp_seconds":4539712171956765.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 15:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 15:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 15:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 15:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 15:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 15:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 15:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 15:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820933888001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 15:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 15:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 15:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820933888001,"description":"Unknown IO ID 0"} 
[2026-07-19 15:59:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 15:59:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 15:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 15:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 15:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820933888001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 15:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":139076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 15:59:57] local.INFO: GPS data processed {"connection_id":139076,"processed":1,"errors":0,"total":1} 
[2026-07-19 15:59:57] local.INFO: Acknowledgment sent {"connection_id":139076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:00:09] local.INFO: TCP Data received {"connection_id":136726,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:00:09] local.INFO: Processing buffer {"connection_id":136726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:00:09] local.INFO: Packet analysis {"connection_id":136726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 16:00:09] local.INFO: Extracted packet for processing {"connection_id":136726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 16:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":50,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820888576001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784456897000,"timestamp_ms":1784456897000,"timestamp_seconds":1784456897,"priority":1,"record_length":96,"hex_timestamp":"0000019f79eb61e8"} 
[2026-07-19 16:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820888576001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820888576001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:00:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:00:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820888576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":136726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:00:09] local.INFO: GPS data processed {"connection_id":136726,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:00:09] local.INFO: Acknowledgment sent {"connection_id":136726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:00:28] local.INFO: TCP Data received {"connection_id":139076,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ea2198012d196740071fee88003f004c2a..."} 
[2026-07-19 16:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ea2198012d196740071fee88003f004c2a..."} 
[2026-07-19 16:00:28] local.INFO: Processing buffer {"connection_id":139076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ea2198012d196740071fee88003f004c2a..."} 
[2026-07-19 16:00:28] local.INFO: Packet analysis {"connection_id":139076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ea"} 
[2026-07-19 16:00:28] local.INFO: Extracted packet for processing {"connection_id":139076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ea"} 
[2026-07-19 16:00:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820939264001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:00: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-07-19 16:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784456815000,"timestamp_ms":1784456815000,"timestamp_seconds":1784456815,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ea2198"} 
[2026-07-19 16:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:00: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-07-19 16:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820939264001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820939264001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:00:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:00:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820939264001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":139076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:00:28] local.INFO: GPS data processed {"connection_id":139076,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:00:28] local.INFO: Acknowledgment sent {"connection_id":139076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:00:36] local.INFO: TCP Data received {"connection_id":139077,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:00:36] local.INFO: Processing buffer {"connection_id":139077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:00:36] local.INFO: IMEI packet received {"connection_id":139077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":139077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:00:41] local.INFO: TCP Data received {"connection_id":139077,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:00:41] local.INFO: Processing buffer {"connection_id":139077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:00:41] local.INFO: IMEI packet received {"connection_id":139077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":139077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:00:42] local.INFO: TCP Data received {"connection_id":139077,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:00:42] local.INFO: Processing buffer {"connection_id":139077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:00:42] local.INFO: Packet analysis {"connection_id":139077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 16:00:42] local.INFO: Extracted packet for processing {"connection_id":139077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 16:00:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":50,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820888576001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784456897000,"timestamp_ms":1784456897000,"timestamp_seconds":1784456897,"priority":1,"record_length":96,"hex_timestamp":"0000019f79eb61e8"} 
[2026-07-19 16:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820888576001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820888576001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:00:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:00:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820888576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":139077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:00:42] local.INFO: GPS data processed {"connection_id":139077,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:00:42] local.INFO: Acknowledgment sent {"connection_id":139077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:00:47] local.INFO: TCP Data received {"connection_id":139077,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:00:47] local.INFO: Processing buffer {"connection_id":139077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:00:47] local.INFO: Packet analysis {"connection_id":139077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 16:00:47] local.INFO: Extracted packet for processing {"connection_id":139077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 16:00:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":50,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820888576001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784456897000,"timestamp_ms":1784456897000,"timestamp_seconds":1784456897,"priority":1,"record_length":96,"hex_timestamp":"0000019f79eb61e8"} 
[2026-07-19 16:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":139077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":139077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":139077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820888576001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820888576001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:00:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:00:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820888576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":139077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:00:47] local.INFO: GPS data processed {"connection_id":139077,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:00:47] local.INFO: Acknowledgment sent {"connection_id":139077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:00:51] local.INFO: TCP Data received {"connection_id":136606,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:00:51] local.INFO: Processing buffer {"connection_id":136606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:00:51] local.INFO: IMEI packet received {"connection_id":136606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":136606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:00:56] local.INFO: TCP Data received {"connection_id":136606,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:00:56] local.INFO: Processing buffer {"connection_id":136606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:00:56] local.INFO: IMEI packet received {"connection_id":136606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":136606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:00:56] local.INFO: TCP Data received {"connection_id":136605,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:00:56] local.INFO: Processing buffer {"connection_id":136605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:00:56] local.INFO: IMEI packet received {"connection_id":136605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 16:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":136605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:00:57] local.INFO: TCP Data received {"connection_id":136606,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ea73a0012d196740071fee88003f004c2b..."} 
[2026-07-19 16:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ea73a0012d196740071fee88003f004c2b..."} 
[2026-07-19 16:00:57] local.INFO: Processing buffer {"connection_id":136606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ea73a0012d196740071fee88003f004c2b..."} 
[2026-07-19 16:00:57] local.INFO: Packet analysis {"connection_id":136606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ea"} 
[2026-07-19 16:00:57] local.INFO: Extracted packet for processing {"connection_id":136606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ea"} 
[2026-07-19 16:00:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820944640001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:00: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-07-19 16:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784456836000,"timestamp_ms":1784456836000,"timestamp_seconds":1784456836,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ea73a0"} 
[2026-07-19 16:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:00: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-07-19 16:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 16:00:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820944640001,"66":12265,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820944640001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:00:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:00:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820944640001,"power":12265,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":136606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:00:57] local.INFO: GPS data processed {"connection_id":136606,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:00:57] local.INFO: Acknowledgment sent {"connection_id":136606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:01:27] local.INFO: TCP Data received {"connection_id":137691,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:01:27] local.INFO: Processing buffer {"connection_id":137691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:01:27] local.INFO: IMEI packet received {"connection_id":137691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 16:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":137691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:01:28] local.INFO: TCP Data received {"connection_id":136606,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79eac5a8012d196740071fee88003f004c2a..."} 
[2026-07-19 16:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79eac5a8012d196740071fee88003f004c2a..."} 
[2026-07-19 16:01:28] local.INFO: Processing buffer {"connection_id":136606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79eac5a8012d196740071fee88003f004c2a..."} 
[2026-07-19 16:01:28] local.INFO: Packet analysis {"connection_id":136606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ea"} 
[2026-07-19 16:01:28] local.INFO: Extracted packet for processing {"connection_id":136606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ea"} 
[2026-07-19 16:01:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820950016001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:01: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-07-19 16:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784456857000,"timestamp_ms":1784456857000,"timestamp_seconds":1784456857,"priority":1,"record_length":96,"hex_timestamp":"0000019f79eac5a8"} 
[2026-07-19 16:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:01: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-07-19 16: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 16:01:28] 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-07-19 16: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-07-19 16:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820950016001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820950016001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:01:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:01:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820950016001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":136606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:01:28] local.INFO: GPS data processed {"connection_id":136606,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:01:28] local.INFO: Acknowledgment sent {"connection_id":136606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:01:31] local.INFO: TCP Data received {"connection_id":137692,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:01:31] local.INFO: Processing buffer {"connection_id":137692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:01:31] local.INFO: IMEI packet received {"connection_id":137692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":137692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:01:36] local.INFO: TCP Data received {"connection_id":137692,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:01:36] local.INFO: Processing buffer {"connection_id":137692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:01:36] local.INFO: IMEI packet received {"connection_id":137692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":137692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:01:37] local.INFO: TCP Data received {"connection_id":137692,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:01:37] local.INFO: Processing buffer {"connection_id":137692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:01:37] local.INFO: Packet analysis {"connection_id":137692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 16:01:37] local.INFO: Extracted packet for processing {"connection_id":137692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 16:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":50,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 16:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820888576001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:01: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-07-19 16:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784456897000,"timestamp_ms":1784456897000,"timestamp_seconds":1784456897,"priority":1,"record_length":96,"hex_timestamp":"0000019f79eb61e8"} 
[2026-07-19 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-07-19 16:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 16:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820888576001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820888576001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:01:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820888576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":137692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:01:37] local.INFO: GPS data processed {"connection_id":137692,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:01:37] local.INFO: Acknowledgment sent {"connection_id":137692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:01:51] local.INFO: TCP Data received {"connection_id":136727,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:01:51] local.INFO: Processing buffer {"connection_id":136727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:01:51] local.INFO: IMEI packet received {"connection_id":136727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":136727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:01:56] local.INFO: TCP Data received {"connection_id":136727,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:01:56] local.INFO: Processing buffer {"connection_id":136727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:01:56] local.INFO: IMEI packet received {"connection_id":136727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":136727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:01:57] local.INFO: TCP Data received {"connection_id":136727,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79eb17b0012d196740071fee88003f004c28..."} 
[2026-07-19 16:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79eb17b0012d196740071fee88003f004c28..."} 
[2026-07-19 16:01:57] local.INFO: Processing buffer {"connection_id":136727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79eb17b0012d196740071fee88003f004c28..."} 
[2026-07-19 16:01:57] local.INFO: Packet analysis {"connection_id":136727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 16:01:57] local.INFO: Extracted packet for processing {"connection_id":136727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 16:01:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820955392001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:01: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-07-19 16:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784456878000,"timestamp_ms":1784456878000,"timestamp_seconds":1784456878,"priority":1,"record_length":96,"hex_timestamp":"0000019f79eb17b0"} 
[2026-07-19 16:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:01: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-07-19 16:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:01:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820955392001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820955392001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:01:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:01:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820955392001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":136727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:01:57] local.INFO: GPS data processed {"connection_id":136727,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:01:57] local.INFO: Acknowledgment sent {"connection_id":136727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:02:09] local.INFO: TCP Data received {"connection_id":137692,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:02:09] local.INFO: Processing buffer {"connection_id":137692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:02:09] local.INFO: Packet analysis {"connection_id":137692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 16:02:09] local.INFO: Extracted packet for processing {"connection_id":137692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 16:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":50,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820888576001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:02: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-07-19 16:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784456897000,"timestamp_ms":1784456897000,"timestamp_seconds":1784456897,"priority":1,"record_length":96,"hex_timestamp":"0000019f79eb61e8"} 
[2026-07-19 16:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820888576001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820888576001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:02:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820888576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":137692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:02:09] local.INFO: GPS data processed {"connection_id":137692,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:02:09] local.INFO: Acknowledgment sent {"connection_id":137692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:02:28] local.INFO: TCP Data received {"connection_id":136727,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79eb69b8012d196740071fee88003f004c28..."} 
[2026-07-19 16:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79eb69b8012d196740071fee88003f004c28..."} 
[2026-07-19 16:02:28] local.INFO: Processing buffer {"connection_id":136727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79eb69b8012d196740071fee88003f004c28..."} 
[2026-07-19 16:02:28] local.INFO: Packet analysis {"connection_id":136727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 16:02:28] local.INFO: Extracted packet for processing {"connection_id":136727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 16:02:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820960768001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:02: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-07-19 16:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784456899000,"timestamp_ms":1784456899000,"timestamp_seconds":1784456899,"priority":1,"record_length":96,"hex_timestamp":"0000019f79eb69b8"} 
[2026-07-19 16:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:02: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-07-19 16:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:02:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820960768001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820960768001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:02:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:02:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820960768001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":136727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:02:28] local.INFO: GPS data processed {"connection_id":136727,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:02:28] local.INFO: Acknowledgment sent {"connection_id":136727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:02:31] local.INFO: TCP Data received {"connection_id":139078,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:02:31] local.INFO: Processing buffer {"connection_id":139078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:02:31] local.INFO: IMEI packet received {"connection_id":139078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":139078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:02:36] local.INFO: TCP Data received {"connection_id":139078,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:02:36] local.INFO: Processing buffer {"connection_id":139078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:02:36] local.INFO: IMEI packet received {"connection_id":139078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":139078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:02:37] local.INFO: TCP Data received {"connection_id":139078,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:02:37] local.INFO: Processing buffer {"connection_id":139078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:02:37] local.INFO: Packet analysis {"connection_id":139078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 16:02:37] local.INFO: Extracted packet for processing {"connection_id":139078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 16:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":50,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820888576001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:02: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-07-19 16:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784456897000,"timestamp_ms":1784456897000,"timestamp_seconds":1784456897,"priority":1,"record_length":96,"hex_timestamp":"0000019f79eb61e8"} 
[2026-07-19 16:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820888576001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820888576001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:02:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820888576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":139078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:02:37] local.INFO: GPS data processed {"connection_id":139078,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:02:37] local.INFO: Acknowledgment sent {"connection_id":139078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:02:56] local.INFO: TCP Data received {"connection_id":136607,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:02:56] local.INFO: Processing buffer {"connection_id":136607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:02:56] local.INFO: IMEI packet received {"connection_id":136607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":136607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:03:01] local.INFO: TCP Data received {"connection_id":136607,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:03:01] local.INFO: Processing buffer {"connection_id":136607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:03:01] local.INFO: IMEI packet received {"connection_id":136607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":136607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:03:02] local.INFO: TCP Data received {"connection_id":136607,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ebbbc0012d196740071fee88003f004c28..."} 
[2026-07-19 16:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ebbbc0012d196740071fee88003f004c28..."} 
[2026-07-19 16:03:02] local.INFO: Processing buffer {"connection_id":136607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ebbbc0012d196740071fee88003f004c28..."} 
[2026-07-19 16:03:02] local.INFO: Packet analysis {"connection_id":136607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 16:03:02] local.INFO: Extracted packet for processing {"connection_id":136607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 16:03:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 16:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820966144001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03: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-07-19 16:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784456920000,"timestamp_ms":1784456920000,"timestamp_seconds":1784456920,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ebbbc0"} 
[2026-07-19 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-07-19 16:03: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-07-19 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:02] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:02] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:02] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8784600376938404199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:02] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:02] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21439377230004224,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:02] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832593,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:02] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:02] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3928070145,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:02] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:03:02] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:02] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:02] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:02] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,23,45,64,238,63,40,10,66,197,42,115,1,240,233,227,121,31,4,113,205,207,136,239,47,2,25,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:03:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712159071862784,"timestamp_seconds":4539712159071863.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 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-07-19 16:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820966144001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820966144001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:03:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:03:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820966144001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":136607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:03:02] local.INFO: GPS data processed {"connection_id":136607,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:03:02] local.INFO: Acknowledgment sent {"connection_id":136607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:03:06] local.INFO: TCP Data received {"connection_id":136607,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ec0dc8012d196740071fee88003f004c28..."} 
[2026-07-19 16:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ec0dc8012d196740071fee88003f004c28..."} 
[2026-07-19 16:03:06] local.INFO: Processing buffer {"connection_id":136607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ec0dc8012d196740071fee88003f004c28..."} 
[2026-07-19 16:03:06] local.INFO: Packet analysis {"connection_id":136607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ec"} 
[2026-07-19 16:03:06] local.INFO: Extracted packet for processing {"connection_id":136607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ec"} 
[2026-07-19 16:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820971520001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784456941000,"timestamp_ms":1784456941000,"timestamp_seconds":1784456941,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ec0dc8"} 
[2026-07-19 16:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:06] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8784690571251620199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:06] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:06] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21441576253259776,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832592,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:06] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3933446145,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:03:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:06] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594552,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:06] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:06] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,144,159,105,45,64,238,63,40,10,66,23,197,1,240,255,227,121,31,4,113,205,33,136,42,239,47,2,25,7,43],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:03:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712159071862784,"timestamp_seconds":4539712159071863.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820971520001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820971520001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:03:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820971520001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":136607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:03:06] local.INFO: GPS data processed {"connection_id":136607,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:03:06] local.INFO: Acknowledgment sent {"connection_id":136607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:03:08] local.INFO: TCP Data received {"connection_id":139078,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:03:08] local.INFO: Processing buffer {"connection_id":139078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:03:08] local.INFO: Packet analysis {"connection_id":139078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 16:03:08] local.INFO: Extracted packet for processing {"connection_id":139078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 16:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":50,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820888576001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03: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-07-19 16:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784456897000,"timestamp_ms":1784456897000,"timestamp_seconds":1784456897,"priority":1,"record_length":96,"hex_timestamp":"0000019f79eb61e8"} 
[2026-07-19 16:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:03: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-07-19 16:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820888576001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820888576001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:03:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:03:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820888576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":139078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:03:08] local.INFO: GPS data processed {"connection_id":139078,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:03:08] local.INFO: Acknowledgment sent {"connection_id":139078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:03:31] local.INFO: TCP Data received {"connection_id":136609,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:03:31] local.INFO: Processing buffer {"connection_id":136609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:03:31] local.INFO: IMEI packet received {"connection_id":136609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":136609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:03:36] local.INFO: TCP Data received {"connection_id":136609,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:03:36] local.INFO: Processing buffer {"connection_id":136609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:03:36] local.INFO: IMEI packet received {"connection_id":136609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":136609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:03:37] local.INFO: TCP Data received {"connection_id":136609,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:03:37] local.INFO: Processing buffer {"connection_id":136609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79eb61e8012d34c50006aa4dd80008009532..."} 
[2026-07-19 16:03:37] local.INFO: Packet analysis {"connection_id":136609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 16:03:37] local.INFO: Extracted packet for processing {"connection_id":136609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79eb"} 
[2026-07-19 16:03:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":50,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820888576001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03: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-07-19 16:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784456897000,"timestamp_ms":1784456897000,"timestamp_seconds":1784456897,"priority":1,"record_length":96,"hex_timestamp":"0000019f79eb61e8"} 
[2026-07-19 16:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820888576001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820888576001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:03:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:03:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820888576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":136609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:03:37] local.INFO: GPS data processed {"connection_id":136609,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:03:37] local.INFO: Acknowledgment sent {"connection_id":136609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:03:51] local.INFO: TCP Data received {"connection_id":137694,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:03:51] local.INFO: Processing buffer {"connection_id":137694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:03:51] local.INFO: IMEI packet received {"connection_id":137694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":137694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:03:52] local.INFO: TCP Data received {"connection_id":137694,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:03:52] local.INFO: Processing buffer {"connection_id":137694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:03:52] local.INFO: IMEI packet received {"connection_id":137694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":137694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:03:56] local.INFO: TCP Data received {"connection_id":137694,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:03:56] local.INFO: Processing buffer {"connection_id":137694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:03:56] local.INFO: IMEI packet received {"connection_id":137694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":137694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:03:57] local.INFO: TCP Data received {"connection_id":137694,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ec5fd0012d196740071fee88003f004c29..."} 
[2026-07-19 16:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ec5fd0012d196740071fee88003f004c29..."} 
[2026-07-19 16:03:57] local.INFO: Processing buffer {"connection_id":137694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ec5fd0012d196740071fee88003f004c29..."} 
[2026-07-19 16:03:57] local.INFO: Packet analysis {"connection_id":137694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ec"} 
[2026-07-19 16:03:57] local.INFO: Extracted packet for processing {"connection_id":137694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ec"} 
[2026-07-19 16:03:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820976896001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:03: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-07-19 16:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784456962000,"timestamp_ms":1784456962000,"timestamp_seconds":1784456962,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ec5fd0"} 
[2026-07-19 16:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:03: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-07-19 16:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820976896001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820976896001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:03:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:03:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820976896001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":137694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:03:57] local.INFO: GPS data processed {"connection_id":137694,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:03:57] local.INFO: Acknowledgment sent {"connection_id":137694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:04:09] local.INFO: TCP Data received {"connection_id":136609,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:04:09] local.INFO: Processing buffer {"connection_id":136609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:04:09] local.INFO: Packet analysis {"connection_id":136609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ef"} 
[2026-07-19 16:04:09] local.INFO: Extracted packet for processing {"connection_id":136609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ef"} 
[2026-07-19 16:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":48,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820965632001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:04: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-07-19 16:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784457198000,"timestamp_ms":1784457198000,"timestamp_seconds":1784457198,"priority":1,"record_length":96,"hex_timestamp":"0000019f79eff9b0"} 
[2026-07-19 16:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820965632001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820965632001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:04:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:04:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820965632001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":136609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:04:09] local.INFO: GPS data processed {"connection_id":136609,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:04:09] local.INFO: Acknowledgment sent {"connection_id":136609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:04:28] local.INFO: TCP Data received {"connection_id":137694,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ecb1d8012d196740071fee88003f004c28..."} 
[2026-07-19 16:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ecb1d8012d196740071fee88003f004c28..."} 
[2026-07-19 16:04:28] local.INFO: Processing buffer {"connection_id":137694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ecb1d8012d196740071fee88003f004c28..."} 
[2026-07-19 16:04:28] local.INFO: Packet analysis {"connection_id":137694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ec"} 
[2026-07-19 16:04:28] local.INFO: Extracted packet for processing {"connection_id":137694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ec"} 
[2026-07-19 16:04:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820982272001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:04: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-07-19 16:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784456983000,"timestamp_ms":1784456983000,"timestamp_seconds":1784456983,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ecb1d8"} 
[2026-07-19 16:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:04: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-07-19 16:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820982272001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820982272001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:04:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:04:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820982272001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":137694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:04:28] local.INFO: GPS data processed {"connection_id":137694,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:04:28] local.INFO: Acknowledgment sent {"connection_id":137694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:04:36] local.INFO: TCP Data received {"connection_id":139080,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:04:36] local.INFO: Processing buffer {"connection_id":139080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:04:36] local.INFO: IMEI packet received {"connection_id":139080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":139080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:04:41] local.INFO: TCP Data received {"connection_id":139080,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:04:41] local.INFO: Processing buffer {"connection_id":139080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:04:41] local.INFO: IMEI packet received {"connection_id":139080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":139080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:04:42] local.INFO: TCP Data received {"connection_id":139080,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:04:42] local.INFO: Processing buffer {"connection_id":139080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:04:42] local.INFO: Packet analysis {"connection_id":139080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ef"} 
[2026-07-19 16:04:42] local.INFO: Extracted packet for processing {"connection_id":139080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ef"} 
[2026-07-19 16:04:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":48,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820965632001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784457198000,"timestamp_ms":1784457198000,"timestamp_seconds":1784457198,"priority":1,"record_length":96,"hex_timestamp":"0000019f79eff9b0"} 
[2026-07-19 16:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820965632001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820965632001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:04:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:04:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820965632001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":139080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:04:42] local.INFO: GPS data processed {"connection_id":139080,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:04:42] local.INFO: Acknowledgment sent {"connection_id":139080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:04:46] local.INFO: TCP Data received {"connection_id":139080,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:04:46] local.INFO: Processing buffer {"connection_id":139080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:04:46] local.INFO: Packet analysis {"connection_id":139080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ef"} 
[2026-07-19 16:04:46] local.INFO: Extracted packet for processing {"connection_id":139080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ef"} 
[2026-07-19 16:04:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":48,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820965632001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784457198000,"timestamp_ms":1784457198000,"timestamp_seconds":1784457198,"priority":1,"record_length":96,"hex_timestamp":"0000019f79eff9b0"} 
[2026-07-19 16:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":139080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":139080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":139080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820965632001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820965632001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:04:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:04:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820965632001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":139080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:04:46] local.INFO: GPS data processed {"connection_id":139080,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:04:46] local.INFO: Acknowledgment sent {"connection_id":139080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:04:51] local.INFO: TCP Data received {"connection_id":137695,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:04:51] local.INFO: Processing buffer {"connection_id":137695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:04:51] local.INFO: IMEI packet received {"connection_id":137695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":137695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:04:54] local.INFO: TCP Data received {"connection_id":137695,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:04:54] local.INFO: Processing buffer {"connection_id":137695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:04:54] local.INFO: IMEI packet received {"connection_id":137695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":137695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:04:55] local.INFO: TCP Data received {"connection_id":137695,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f03830012d196740071fee88003f004c2f..."} 
[2026-07-19 16:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f03830012d196740071fee88003f004c2f..."} 
[2026-07-19 16:04:55] local.INFO: Processing buffer {"connection_id":137695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f03830012d196740071fee88003f004c2f..."} 
[2026-07-19 16:04:55] local.INFO: Packet analysis {"connection_id":137695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f0"} 
[2026-07-19 16:04:55] local.INFO: Extracted packet for processing {"connection_id":137695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f0"} 
[2026-07-19 16:04:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 16:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821041408001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:04: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-07-19 16:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784457214000,"timestamp_ms":1784457214000,"timestamp_seconds":1784457214,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f03830"} 
[2026-07-19 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-07-19 16:04: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-07-19 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 16:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":137695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":137695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":137695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821041408001,"66":12037,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821041408001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:04:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:04:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821041408001,"power":12037,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":137695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:04:55] local.INFO: GPS data processed {"connection_id":137695,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:04:55] local.INFO: Acknowledgment sent {"connection_id":137695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:05:26] local.INFO: TCP Data received {"connection_id":137695,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f08a38012d196740071fee88003f004c2f..."} 
[2026-07-19 16:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f08a38012d196740071fee88003f004c2f..."} 
[2026-07-19 16:05:26] local.INFO: Processing buffer {"connection_id":137695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f08a38012d196740071fee88003f004c2f..."} 
[2026-07-19 16:05:26] local.INFO: Packet analysis {"connection_id":137695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f0"} 
[2026-07-19 16:05:26] local.INFO: Extracted packet for processing {"connection_id":137695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f0"} 
[2026-07-19 16:05:26] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 16:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821046784001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:05: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-07-19 16:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784457235000,"timestamp_ms":1784457235000,"timestamp_seconds":1784457235,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f08a38"} 
[2026-07-19 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-07-19 16:05: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-07-19 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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-19 16:05:26] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 16:05:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:05:26] local.WARNING: Large IO value detected {"io_id":144,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-07-19 16:05:26] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4008710145,"note":"Value kept but may cause issues"} 
[2026-07-19 16:05:26] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:05:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675904093319069720,"corrected_to":0} 
[2026-07-19 16:05:26] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182186759946496,"note":"Value kept but may cause issues"} 
[2026-07-19 16:05:26] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:05:26] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300925994271263785,"note":"Value kept but may cause issues"} 
[2026-07-19 16:05:26] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194883584,"note":"Value kept but may cause issues"} 
[2026-07-19 16:05:26] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,144,159,230,45,64,238,63,44,10,66,148,43,1,240,222,227,121,31,4,113,205,158,136,42,239,48,2,25,7,69],"length":484,"final_offset":614,"validated_count":37,"validation_warnings":[{"io_id":205,"original":8675904093319069720,"validated":0}]} 
[2026-07-19 16:05:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712189136633856,"timestamp_seconds":4539712189136634.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 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-07-19 16:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":137695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":137695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":137695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821046784001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821046784001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:05:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:05:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821046784001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":137695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:05:26] local.INFO: GPS data processed {"connection_id":137695,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:05:26] local.INFO: Acknowledgment sent {"connection_id":137695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:05:31] local.INFO: TCP Data received {"connection_id":136728,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:05:31] local.INFO: Processing buffer {"connection_id":136728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:05:31] local.INFO: IMEI packet received {"connection_id":136728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":136728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:05:36] local.INFO: TCP Data received {"connection_id":136728,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:05:36] local.INFO: Processing buffer {"connection_id":136728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:05:36] local.INFO: IMEI packet received {"connection_id":136728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":136728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:05:37] local.INFO: TCP Data received {"connection_id":136728,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:05:37] local.INFO: Processing buffer {"connection_id":136728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:05:37] local.INFO: Packet analysis {"connection_id":136728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ef"} 
[2026-07-19 16:05:37] local.INFO: Extracted packet for processing {"connection_id":136728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ef"} 
[2026-07-19 16:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":48,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820965632001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:05: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-07-19 16:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784457198000,"timestamp_ms":1784457198000,"timestamp_seconds":1784457198,"priority":1,"record_length":96,"hex_timestamp":"0000019f79eff9b0"} 
[2026-07-19 16:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:05: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-07-19 16:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820965632001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820965632001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:05:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820965632001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":136728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:05:37] local.INFO: GPS data processed {"connection_id":136728,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:05:37] local.INFO: Acknowledgment sent {"connection_id":136728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:05:42] local.INFO: TCP Data received {"connection_id":136728,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:05:42] local.INFO: Processing buffer {"connection_id":136728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:05:42] local.INFO: Packet analysis {"connection_id":136728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ef"} 
[2026-07-19 16:05:42] local.INFO: Extracted packet for processing {"connection_id":136728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ef"} 
[2026-07-19 16:05:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":48,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820965632001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784457198000,"timestamp_ms":1784457198000,"timestamp_seconds":1784457198,"priority":1,"record_length":96,"hex_timestamp":"0000019f79eff9b0"} 
[2026-07-19 16:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820965632001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820965632001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:05:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:05:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820965632001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":136728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:05:42] local.INFO: GPS data processed {"connection_id":136728,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:05:42] local.INFO: Acknowledgment sent {"connection_id":136728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:05:51] local.INFO: TCP Data received {"connection_id":137696,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:05:51] local.INFO: Processing buffer {"connection_id":137696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:05:51] local.INFO: IMEI packet received {"connection_id":137696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":137696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:05:56] local.INFO: TCP Data received {"connection_id":137696,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:05:56] local.INFO: Processing buffer {"connection_id":137696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:05:56] local.INFO: IMEI packet received {"connection_id":137696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":137696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:05:57] local.INFO: TCP Data received {"connection_id":137696,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f0dc40012d196740071fee88003f004c2f..."} 
[2026-07-19 16:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f0dc40012d196740071fee88003f004c2f..."} 
[2026-07-19 16:05:57] local.INFO: Processing buffer {"connection_id":137696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f0dc40012d196740071fee88003f004c2f..."} 
[2026-07-19 16:05:57] local.INFO: Packet analysis {"connection_id":137696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f0"} 
[2026-07-19 16:05:57] local.INFO: Extracted packet for processing {"connection_id":137696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f0"} 
[2026-07-19 16:05:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821052160001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:05: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-07-19 16:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784457256000,"timestamp_ms":1784457256000,"timestamp_seconds":1784457256,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f0dc40"} 
[2026-07-19 16:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:05: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-07-19 16:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821052160001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821052160001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:05:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:05:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821052160001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":137696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:05:57] local.INFO: GPS data processed {"connection_id":137696,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:05:57] local.INFO: Acknowledgment sent {"connection_id":137696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:06:14] local.INFO: TCP Data received {"connection_id":136728,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:06:14] local.INFO: Processing buffer {"connection_id":136728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:06:14] local.INFO: Packet analysis {"connection_id":136728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ef"} 
[2026-07-19 16:06:14] local.INFO: Extracted packet for processing {"connection_id":136728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ef"} 
[2026-07-19 16:06:14] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":48,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820965632001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:06: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-07-19 16:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784457198000,"timestamp_ms":1784457198000,"timestamp_seconds":1784457198,"priority":1,"record_length":96,"hex_timestamp":"0000019f79eff9b0"} 
[2026-07-19 16:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:06: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-07-19 16:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:06: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-07-19 16:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":136728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":136728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":136728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820965632001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820965632001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:06:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:06:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820965632001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":136728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:06:14] local.INFO: GPS data processed {"connection_id":136728,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:06:14] local.INFO: Acknowledgment sent {"connection_id":136728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:06:28] local.INFO: TCP Data received {"connection_id":137696,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f12e48012d196740071fee88003f004c2b..."} 
[2026-07-19 16:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f12e48012d196740071fee88003f004c2b..."} 
[2026-07-19 16:06:28] local.INFO: Processing buffer {"connection_id":137696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f12e48012d196740071fee88003f004c2b..."} 
[2026-07-19 16:06:28] local.INFO: Packet analysis {"connection_id":137696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f1"} 
[2026-07-19 16:06:28] local.INFO: Extracted packet for processing {"connection_id":137696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f1"} 
[2026-07-19 16:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821057536001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:06: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-07-19 16:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784457277000,"timestamp_ms":1784457277000,"timestamp_seconds":1784457277,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f12e48"} 
[2026-07-19 16:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:06: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-07-19 16:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821057536001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821057536001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:06:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821057536001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":137696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:06:28] local.INFO: GPS data processed {"connection_id":137696,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:06:28] local.INFO: Acknowledgment sent {"connection_id":137696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:06:31] local.INFO: TCP Data received {"connection_id":136729,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:06:31] local.INFO: Processing buffer {"connection_id":136729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:06:31] local.INFO: IMEI packet received {"connection_id":136729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":136729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:06:36] local.INFO: TCP Data received {"connection_id":136729,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:06:36] local.INFO: Processing buffer {"connection_id":136729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:06:36] local.INFO: IMEI packet received {"connection_id":136729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":136729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:06:39] local.INFO: TCP Data received {"connection_id":136729,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:06:39] local.INFO: Processing buffer {"connection_id":136729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:06:39] local.INFO: Packet analysis {"connection_id":136729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ef"} 
[2026-07-19 16:06:39] local.INFO: Extracted packet for processing {"connection_id":136729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ef"} 
[2026-07-19 16:06:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":48,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820965632001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:06: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-07-19 16:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784457198000,"timestamp_ms":1784457198000,"timestamp_seconds":1784457198,"priority":1,"record_length":96,"hex_timestamp":"0000019f79eff9b0"} 
[2026-07-19 16:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:06:39] 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-07-19 16:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820965632001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820965632001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:06:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:06:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820965632001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":136729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:06:39] local.INFO: GPS data processed {"connection_id":136729,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:06:39] local.INFO: Acknowledgment sent {"connection_id":136729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:06:46] local.INFO: TCP Data received {"connection_id":136611,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:06:46] local.INFO: Processing buffer {"connection_id":136611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:06:46] local.INFO: IMEI packet received {"connection_id":136611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 16:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":136611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:06:51] local.INFO: TCP Data received {"connection_id":139081,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:06:51] local.INFO: Processing buffer {"connection_id":139081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:06:51] local.INFO: IMEI packet received {"connection_id":139081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":139081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:06:56] local.INFO: TCP Data received {"connection_id":139081,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:06:56] local.INFO: Processing buffer {"connection_id":139081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:06:56] local.INFO: IMEI packet received {"connection_id":139081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":139081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:06:57] local.INFO: TCP Data received {"connection_id":139081,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f18050012d196740071fee88003f004c2c..."} 
[2026-07-19 16:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f18050012d196740071fee88003f004c2c..."} 
[2026-07-19 16:06:57] local.INFO: Processing buffer {"connection_id":139081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f18050012d196740071fee88003f004c2c..."} 
[2026-07-19 16:06:57] local.INFO: Packet analysis {"connection_id":139081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f1"} 
[2026-07-19 16:06:57] local.INFO: Extracted packet for processing {"connection_id":139081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f1"} 
[2026-07-19 16:06:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821062912001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:06: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-07-19 16:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784457298000,"timestamp_ms":1784457298000,"timestamp_seconds":1784457298,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f18050"} 
[2026-07-19 16:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:06: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-07-19 16:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821062912001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821062912001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:06:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:06:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821062912001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":139081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:06:57] local.INFO: GPS data processed {"connection_id":139081,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:06:57] local.INFO: Acknowledgment sent {"connection_id":139081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:07:13] local.INFO: TCP Data received {"connection_id":136729,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:07:13] local.INFO: Processing buffer {"connection_id":136729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:07:13] local.INFO: Packet analysis {"connection_id":136729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ef"} 
[2026-07-19 16:07:13] local.INFO: Extracted packet for processing {"connection_id":136729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ef"} 
[2026-07-19 16:07:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":48,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820965632001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784457198000,"timestamp_ms":1784457198000,"timestamp_seconds":1784457198,"priority":1,"record_length":96,"hex_timestamp":"0000019f79eff9b0"} 
[2026-07-19 16:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:07: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-07-19 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":136729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":136729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":136729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:07:13] 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-07-19 16:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820965632001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820965632001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:07:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:07:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820965632001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":136729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:07:13] local.INFO: GPS data processed {"connection_id":136729,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:07:13] local.INFO: Acknowledgment sent {"connection_id":136729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:07:26] local.INFO: TCP Data received {"connection_id":137697,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137697,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:07:26] local.INFO: Processing buffer {"connection_id":137697,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:07:26] local.INFO: IMEI packet received {"connection_id":137697,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 16:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":137697,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:07:28] local.INFO: TCP Data received {"connection_id":139081,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f1d258012d196740071fee88003f004c2f..."} 
[2026-07-19 16:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f1d258012d196740071fee88003f004c2f..."} 
[2026-07-19 16:07:28] local.INFO: Processing buffer {"connection_id":139081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f1d258012d196740071fee88003f004c2f..."} 
[2026-07-19 16:07:28] local.INFO: Packet analysis {"connection_id":139081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f1"} 
[2026-07-19 16:07:28] local.INFO: Extracted packet for processing {"connection_id":139081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f1"} 
[2026-07-19 16:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 16:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821068288001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07: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-07-19 16:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784457319000,"timestamp_ms":1784457319000,"timestamp_seconds":1784457319,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f1d258"} 
[2026-07-19 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-07-19 16:07: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-07-19 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 16:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821068288001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821068288001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:07:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:07:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821068288001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":139081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:07:28] local.INFO: GPS data processed {"connection_id":139081,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:07:28] local.INFO: Acknowledgment sent {"connection_id":139081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:07:31] local.INFO: TCP Data received {"connection_id":137698,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:07:31] local.INFO: Processing buffer {"connection_id":137698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:07:31] local.INFO: IMEI packet received {"connection_id":137698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":137698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:07:36] local.INFO: TCP Data received {"connection_id":137698,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:07:36] local.INFO: Processing buffer {"connection_id":137698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:07:36] local.INFO: IMEI packet received {"connection_id":137698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":137698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:07:37] local.INFO: TCP Data received {"connection_id":137698,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:07:37] local.INFO: Processing buffer {"connection_id":137698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:07:37] local.INFO: Packet analysis {"connection_id":137698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ef"} 
[2026-07-19 16:07:37] local.INFO: Extracted packet for processing {"connection_id":137698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ef"} 
[2026-07-19 16:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":48,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820965632001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07: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-07-19 16:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784457198000,"timestamp_ms":1784457198000,"timestamp_seconds":1784457198,"priority":1,"record_length":96,"hex_timestamp":"0000019f79eff9b0"} 
[2026-07-19 16:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:07: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-07-19 16:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:07:37] 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-07-19 16:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820965632001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820965632001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820965632001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":137698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:07:37] local.INFO: GPS data processed {"connection_id":137698,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:07:37] local.INFO: Acknowledgment sent {"connection_id":137698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:07:51] local.INFO: TCP Data received {"connection_id":137699,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:07:51] local.INFO: Processing buffer {"connection_id":137699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:07:51] local.INFO: IMEI packet received {"connection_id":137699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":137699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:07:56] local.INFO: TCP Data received {"connection_id":137699,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:07:56] local.INFO: Processing buffer {"connection_id":137699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:07:56] local.INFO: IMEI packet received {"connection_id":137699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":137699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:07:57] local.INFO: TCP Data received {"connection_id":137699,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f22460012d196740071fee88003f004c2c..."} 
[2026-07-19 16:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f22460012d196740071fee88003f004c2c..."} 
[2026-07-19 16:07:57] local.INFO: Processing buffer {"connection_id":137699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f22460012d196740071fee88003f004c2c..."} 
[2026-07-19 16:07:57] local.INFO: Packet analysis {"connection_id":137699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f2"} 
[2026-07-19 16:07:57] local.INFO: Extracted packet for processing {"connection_id":137699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f2"} 
[2026-07-19 16:07:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821073664001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07: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-07-19 16:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784457340000,"timestamp_ms":1784457340000,"timestamp_seconds":1784457340,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f22460"} 
[2026-07-19 16:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:07: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-07-19 16:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8786404263202724199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21440476741632000,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832593,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4035590145,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:07:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:07:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,128,45,64,238,63,44,10,66,46,43,220,1,240,255,227,121,31,4,113,205,56,136,47,239,2,25,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:07:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712189136633856,"timestamp_seconds":4539712189136634.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821073664001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821073664001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:07:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:07:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821073664001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":137699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:07:57] local.INFO: GPS data processed {"connection_id":137699,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:07:57] local.INFO: Acknowledgment sent {"connection_id":137699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:08:10] local.INFO: TCP Data received {"connection_id":137698,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:08:10] local.INFO: Processing buffer {"connection_id":137698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:08:10] local.INFO: Packet analysis {"connection_id":137698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ef"} 
[2026-07-19 16:08:10] local.INFO: Extracted packet for processing {"connection_id":137698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ef"} 
[2026-07-19 16:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":48,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820965632001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:08: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-07-19 16:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784457198000,"timestamp_ms":1784457198000,"timestamp_seconds":1784457198,"priority":1,"record_length":96,"hex_timestamp":"0000019f79eff9b0"} 
[2026-07-19 16:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:08: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-07-19 16:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820965632001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820965632001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:08:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820965632001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":137698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:08:10] local.INFO: GPS data processed {"connection_id":137698,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:08:10] local.INFO: Acknowledgment sent {"connection_id":137698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:08:28] local.INFO: TCP Data received {"connection_id":137699,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f27668012d196740071fee88003f004c2b..."} 
[2026-07-19 16:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f27668012d196740071fee88003f004c2b..."} 
[2026-07-19 16:08:28] local.INFO: Processing buffer {"connection_id":137699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f27668012d196740071fee88003f004c2b..."} 
[2026-07-19 16:08:28] local.INFO: Packet analysis {"connection_id":137699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f2"} 
[2026-07-19 16:08:28] local.INFO: Extracted packet for processing {"connection_id":137699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f2"} 
[2026-07-19 16:08:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821079040001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:08: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-07-19 16:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784457361000,"timestamp_ms":1784457361000,"timestamp_seconds":1784457361,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f27668"} 
[2026-07-19 16:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:08: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-07-19 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:08:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:08:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:08:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:08:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:08:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8786494457515940199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:08:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:08:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21443775276515328,"note":"Value kept but may cause issues"} 
[2026-07-19 16:08:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 16:08:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832593,"note":"Value kept but may cause issues"} 
[2026-07-19 16:08:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3388115177154478286,"note":"Value kept but may cause issues"} 
[2026-07-19 16:08:28] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4040966145,"note":"Value kept but may cause issues"} 
[2026-07-19 16:08:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:08:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:08:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:08:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,210,45,64,238,63,47,10,66,128,44,46,1,240,255,227,121,31,4,113,205,138,136,239,2,25,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:08:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712176251731968,"timestamp_seconds":4539712176251732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821079040001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821079040001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:08:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:08:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821079040001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":137699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:08:28] local.INFO: GPS data processed {"connection_id":137699,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:08:28] local.INFO: Acknowledgment sent {"connection_id":137699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:08:31] local.INFO: TCP Data received {"connection_id":136730,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:08:31] local.INFO: Processing buffer {"connection_id":136730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:08:31] local.INFO: IMEI packet received {"connection_id":136730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":136730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:08:36] local.INFO: TCP Data received {"connection_id":136730,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:08:36] local.INFO: Processing buffer {"connection_id":136730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:08:36] local.INFO: IMEI packet received {"connection_id":136730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":136730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:08:38] local.INFO: TCP Data received {"connection_id":136730,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:08:38] local.INFO: Processing buffer {"connection_id":136730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79eff9b0012d34c50006aa4dd80008009530..."} 
[2026-07-19 16:08:38] local.INFO: Packet analysis {"connection_id":136730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ef"} 
[2026-07-19 16:08:38] local.INFO: Extracted packet for processing {"connection_id":136730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ef"} 
[2026-07-19 16:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":48,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820965632001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:08: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-07-19 16:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784457198000,"timestamp_ms":1784457198000,"timestamp_seconds":1784457198,"priority":1,"record_length":96,"hex_timestamp":"0000019f79eff9b0"} 
[2026-07-19 16:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820965632001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820965632001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:08:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:08:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820965632001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":136730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:08:38] local.INFO: GPS data processed {"connection_id":136730,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:08:38] local.INFO: Acknowledgment sent {"connection_id":136730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:08:56] local.INFO: TCP Data received {"connection_id":139082,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:08:56] local.INFO: Processing buffer {"connection_id":139082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:08:56] local.INFO: IMEI packet received {"connection_id":139082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":139082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:09:01] local.INFO: TCP Data received {"connection_id":139082,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:09:01] local.INFO: Processing buffer {"connection_id":139082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:09:01] local.INFO: IMEI packet received {"connection_id":139082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":139082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:09:02] local.INFO: TCP Data received {"connection_id":139082,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f2c870012d196740071fee88003f004c2e..."} 
[2026-07-19 16:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f2c870012d196740071fee88003f004c2e..."} 
[2026-07-19 16:09:02] local.INFO: Processing buffer {"connection_id":139082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f2c870012d196740071fee88003f004c2e..."} 
[2026-07-19 16:09:02] local.INFO: Packet analysis {"connection_id":139082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f2"} 
[2026-07-19 16:09:02] local.INFO: Extracted packet for processing {"connection_id":139082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f2"} 
[2026-07-19 16:09:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 16:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821084416001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09: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-07-19 16:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784457382000,"timestamp_ms":1784457382000,"timestamp_seconds":1784457382,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f2c870"} 
[2026-07-19 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-07-19 16:09: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-07-19 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 16:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":139082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":139082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":139082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821084416001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821084416001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:09:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:09:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821084416001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":139082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:09:02] local.INFO: GPS data processed {"connection_id":139082,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:09:02] local.INFO: Acknowledgment sent {"connection_id":139082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:09:07] local.INFO: TCP Data received {"connection_id":139082,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f31a78012d196740071fee88003f004c2c..."} 
[2026-07-19 16:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f31a78012d196740071fee88003f004c2c..."} 
[2026-07-19 16:09:07] local.INFO: Processing buffer {"connection_id":139082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f31a78012d196740071fee88003f004c2c..."} 
[2026-07-19 16:09:07] local.INFO: Packet analysis {"connection_id":139082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f3"} 
[2026-07-19 16:09:07] local.INFO: Extracted packet for processing {"connection_id":139082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f3"} 
[2026-07-19 16:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821089792001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784457403000,"timestamp_ms":1784457403000,"timestamp_seconds":1784457403,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f31a78"} 
[2026-07-19 16:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:09: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-07-19 16:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:07] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:07] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8786674846142372199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:07] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:07] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21443775276515328,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832593,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:07] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4051718145,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:09:07] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:07] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,118,45,64,238,63,43,10,66,36,44,210,1,240,227,121,31,4,113,205,46,136,239,47,2,25,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:09:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712184841666560,"timestamp_seconds":4539712184841667.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":139082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":139082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":139082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821089792001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821089792001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:09:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821089792001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":139082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:09:07] local.INFO: GPS data processed {"connection_id":139082,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:09:07] local.INFO: Acknowledgment sent {"connection_id":139082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:09:09] local.INFO: TCP Data received {"connection_id":136730,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:09:09] local.INFO: Processing buffer {"connection_id":136730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:09:09] local.INFO: Packet analysis {"connection_id":136730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:09:09] local.INFO: Extracted packet for processing {"connection_id":136730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:09:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821042688001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09: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-07-19 16:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784457499000,"timestamp_ms":1784457499000,"timestamp_seconds":1784457499,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f49178"} 
[2026-07-19 16:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821042688001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821042688001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:09:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:09:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821042688001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":136730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:09:09] local.INFO: GPS data processed {"connection_id":136730,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:09:09] local.INFO: Acknowledgment sent {"connection_id":136730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:09:31] local.INFO: TCP Data received {"connection_id":136731,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:09:31] local.INFO: Processing buffer {"connection_id":136731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:09:31] local.INFO: IMEI packet received {"connection_id":136731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":136731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:09:36] local.INFO: TCP Data received {"connection_id":136731,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:09:36] local.INFO: Processing buffer {"connection_id":136731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:09:36] local.INFO: IMEI packet received {"connection_id":136731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":136731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:09:37] local.INFO: TCP Data received {"connection_id":136731,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:09:37] local.INFO: Processing buffer {"connection_id":136731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:09:37] local.INFO: Packet analysis {"connection_id":136731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:09:37] local.INFO: Extracted packet for processing {"connection_id":136731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 16:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821042688001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09: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-07-19 16:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784457499000,"timestamp_ms":1784457499000,"timestamp_seconds":1784457499,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f49178"} 
[2026-07-19 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-07-19 16:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:09: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-07-19 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-07-19 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-07-19 16:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821042688001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821042688001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:09:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821042688001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":136731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:09:37] local.INFO: GPS data processed {"connection_id":136731,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:09:37] local.INFO: Acknowledgment sent {"connection_id":136731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:09:48] local.INFO: TCP Data received {"connection_id":137702,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:09:48] local.INFO: Processing buffer {"connection_id":137702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:09:48] local.INFO: IMEI packet received {"connection_id":137702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":137702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:09:51] local.INFO: TCP Data received {"connection_id":137702,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:09:51] local.INFO: Processing buffer {"connection_id":137702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:09:51] local.INFO: IMEI packet received {"connection_id":137702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":137702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:09:56] local.INFO: TCP Data received {"connection_id":137702,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:09:56] local.INFO: Processing buffer {"connection_id":137702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:09:56] local.INFO: IMEI packet received {"connection_id":137702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":137702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:09:57] local.INFO: TCP Data received {"connection_id":137702,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f36c80012d196740071fee88003f004c26..."} 
[2026-07-19 16:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f36c80012d196740071fee88003f004c26..."} 
[2026-07-19 16:09:57] local.INFO: Processing buffer {"connection_id":137702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f36c80012d196740071fee88003f004c26..."} 
[2026-07-19 16:09:57] local.INFO: Packet analysis {"connection_id":137702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f3"} 
[2026-07-19 16:09:57] local.INFO: Extracted packet for processing {"connection_id":137702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f3"} 
[2026-07-19 16:09:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":38,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821095168001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09: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-07-19 16:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784457424000,"timestamp_ms":1784457424000,"timestamp_seconds":1784457424,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f36c80"} 
[2026-07-19 16:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:09: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-07-19 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8786765040455588199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":28673,"corrected_to":0} 
[2026-07-19 16:09:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21439377230004224,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832593,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4057094145,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:09:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:09:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,200,45,64,238,63,46,10,66,118,43,36,1,240,227,121,31,4,113,205,128,136,44,239,47,2,25,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":200,"original":28673,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:09:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712176251731968,"timestamp_seconds":4539712176251732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821095168001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821095168001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:09:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:09:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821095168001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":137702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:09:57] local.INFO: GPS data processed {"connection_id":137702,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:09:57] local.INFO: Acknowledgment sent {"connection_id":137702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:10:09] local.INFO: TCP Data received {"connection_id":136731,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:10:09] local.INFO: Processing buffer {"connection_id":136731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:10:09] local.INFO: Packet analysis {"connection_id":136731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:10:09] local.INFO: Extracted packet for processing {"connection_id":136731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821042688001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10: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-07-19 16:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784457499000,"timestamp_ms":1784457499000,"timestamp_seconds":1784457499,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f49178"} 
[2026-07-19 16:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821042688001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821042688001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821042688001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":136731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:10:09] local.INFO: GPS data processed {"connection_id":136731,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:10:09] local.INFO: Acknowledgment sent {"connection_id":136731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:10:28] local.INFO: TCP Data received {"connection_id":137702,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f3be88012d196740071fee88003f004c2e..."} 
[2026-07-19 16:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f3be88012d196740071fee88003f004c2e..."} 
[2026-07-19 16:10:28] local.INFO: Processing buffer {"connection_id":137702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f3be88012d196740071fee88003f004c2e..."} 
[2026-07-19 16:10:28] local.INFO: Packet analysis {"connection_id":137702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f3"} 
[2026-07-19 16:10:28] local.INFO: Extracted packet for processing {"connection_id":137702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f3"} 
[2026-07-19 16:10:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821100544001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10: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-07-19 16:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784457445000,"timestamp_ms":1784457445000,"timestamp_seconds":1784457445,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f3be88"} 
[2026-07-19 16:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:10: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-07-19 16:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821100544001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821100544001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:10:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:10:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821100544001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":137702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:10:28] local.INFO: GPS data processed {"connection_id":137702,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:10:28] local.INFO: Acknowledgment sent {"connection_id":137702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:10:32] local.INFO: TCP Data received {"connection_id":136612,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:10:32] local.INFO: Processing buffer {"connection_id":136612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:10:32] local.INFO: IMEI packet received {"connection_id":136612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":136612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:10:36] local.INFO: TCP Data received {"connection_id":136612,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:10:36] local.INFO: Processing buffer {"connection_id":136612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:10:36] local.INFO: IMEI packet received {"connection_id":136612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":136612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:10:37] local.INFO: TCP Data received {"connection_id":136612,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:10:37] local.INFO: Processing buffer {"connection_id":136612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:10:37] local.INFO: Packet analysis {"connection_id":136612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:10:37] local.INFO: Extracted packet for processing {"connection_id":136612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821042688001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10: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-07-19 16:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784457499000,"timestamp_ms":1784457499000,"timestamp_seconds":1784457499,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f49178"} 
[2026-07-19 16:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:10: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-07-19 16:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821042688001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821042688001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:10:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821042688001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":136612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:10:37] local.INFO: GPS data processed {"connection_id":136612,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:10:37] local.INFO: Acknowledgment sent {"connection_id":136612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:10:51] local.INFO: TCP Data received {"connection_id":139083,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:10:51] local.INFO: Processing buffer {"connection_id":139083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:10:51] local.INFO: IMEI packet received {"connection_id":139083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":139083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:10:52] local.INFO: TCP Data received {"connection_id":139083,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:10:52] local.INFO: Processing buffer {"connection_id":139083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:10:52] local.INFO: IMEI packet received {"connection_id":139083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":139083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:10:56] local.INFO: TCP Data received {"connection_id":139083,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:10:56] local.INFO: Processing buffer {"connection_id":139083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:10:56] local.INFO: IMEI packet received {"connection_id":139083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":139083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:10:57] local.INFO: TCP Data received {"connection_id":139083,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f41090012d196740071fee88003f004c2c..."} 
[2026-07-19 16:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f41090012d196740071fee88003f004c2c..."} 
[2026-07-19 16:10:57] local.INFO: Processing buffer {"connection_id":139083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f41090012d196740071fee88003f004c2c..."} 
[2026-07-19 16:10:57] local.INFO: Packet analysis {"connection_id":139083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:10:57] local.INFO: Extracted packet for processing {"connection_id":139083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:10:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821105920001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10: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-07-19 16:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784457466000,"timestamp_ms":1784457466000,"timestamp_seconds":1784457466,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f41090"} 
[2026-07-19 16:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:10: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-07-19 16:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8786945429082020199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21443775276515328,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832593,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":28673,"corrected_to":0} 
[2026-07-19 16:10:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4067846145,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:10:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:10:57] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,108,45,64,238,63,38,10,66,26,44,200,1,240,227,121,31,4,113,205,36,136,239,48,2,25,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":200,"original":28673,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:10:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712184841666560,"timestamp_seconds":4539712184841667.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821105920001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821105920001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:10:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:10:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821105920001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":139083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:10:57] local.INFO: GPS data processed {"connection_id":139083,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:10:57] local.INFO: Acknowledgment sent {"connection_id":139083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:11:10] local.INFO: TCP Data received {"connection_id":136612,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:11:10] local.INFO: Processing buffer {"connection_id":136612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:11:10] local.INFO: Packet analysis {"connection_id":136612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:11:10] local.INFO: Extracted packet for processing {"connection_id":136612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:11:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821042688001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11: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-07-19 16:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784457499000,"timestamp_ms":1784457499000,"timestamp_seconds":1784457499,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f49178"} 
[2026-07-19 16:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:11:10] 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-07-19 16:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821042688001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821042688001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:11:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:11:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821042688001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":136612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:11:10] local.INFO: GPS data processed {"connection_id":136612,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:11:10] local.INFO: Acknowledgment sent {"connection_id":136612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:11:28] local.INFO: TCP Data received {"connection_id":139083,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f46298012d196740071fee88003f004c2c..."} 
[2026-07-19 16:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f46298012d196740071fee88003f004c2c..."} 
[2026-07-19 16:11:28] local.INFO: Processing buffer {"connection_id":139083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f46298012d196740071fee88003f004c2c..."} 
[2026-07-19 16:11:28] local.INFO: Packet analysis {"connection_id":139083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:11:28] local.INFO: Extracted packet for processing {"connection_id":139083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:11:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821111296001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11: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-07-19 16:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784457487000,"timestamp_ms":1784457487000,"timestamp_seconds":1784457487,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f46298"} 
[2026-07-19 16:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:11: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-07-19 16:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821111296001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821111296001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:11:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:11:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821111296001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":139083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:11:28] local.INFO: GPS data processed {"connection_id":139083,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:11:28] local.INFO: Acknowledgment sent {"connection_id":139083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:11:31] local.INFO: TCP Data received {"connection_id":137704,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:11:31] local.INFO: Processing buffer {"connection_id":137704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:11:31] local.INFO: IMEI packet received {"connection_id":137704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":137704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:11:36] local.INFO: TCP Data received {"connection_id":137704,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:11:36] local.INFO: Processing buffer {"connection_id":137704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:11:36] local.INFO: IMEI packet received {"connection_id":137704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":137704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:11:37] local.INFO: TCP Data received {"connection_id":137704,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:11:37] local.INFO: Processing buffer {"connection_id":137704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:11:37] local.INFO: Packet analysis {"connection_id":137704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:11:37] local.INFO: Extracted packet for processing {"connection_id":137704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821042688001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11: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-07-19 16:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784457499000,"timestamp_ms":1784457499000,"timestamp_seconds":1784457499,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f49178"} 
[2026-07-19 16:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:11: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-07-19 16:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821042688001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821042688001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821042688001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":137704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:11:37] local.INFO: GPS data processed {"connection_id":137704,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:11:37] local.INFO: Acknowledgment sent {"connection_id":137704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:11:51] local.INFO: TCP Data received {"connection_id":139084,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:11:51] local.INFO: Processing buffer {"connection_id":139084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:11:51] local.INFO: IMEI packet received {"connection_id":139084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":139084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:11:54] local.INFO: TCP Data received {"connection_id":139084,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:11:54] local.INFO: Processing buffer {"connection_id":139084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:11:54] local.INFO: IMEI packet received {"connection_id":139084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":139084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:11:56] local.INFO: TCP Data received {"connection_id":139084,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:11:56] local.INFO: Processing buffer {"connection_id":139084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:11:56] local.INFO: IMEI packet received {"connection_id":139084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":139084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:11:57] local.INFO: TCP Data received {"connection_id":139084,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f4b4a0012d196740071fee88003f004c2c..."} 
[2026-07-19 16:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f4b4a0012d196740071fee88003f004c2c..."} 
[2026-07-19 16:11:57] local.INFO: Processing buffer {"connection_id":139084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f4b4a0012d196740071fee88003f004c2c..."} 
[2026-07-19 16:11:57] local.INFO: Packet analysis {"connection_id":139084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:11:57] local.INFO: Extracted packet for processing {"connection_id":139084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:11:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821116672001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784457508000,"timestamp_ms":1784457508000,"timestamp_seconds":1784457508,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f4b4a0"} 
[2026-07-19 16:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:11: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-07-19 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8787125817708452199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21439377230004224,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832593,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4078598145,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:11:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1879125273,"corrected_to":0} 
[2026-07-19 16:11:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:11:57] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,45,64,238,63,44,10,66,190,46,108,1,240,255,227,121,31,4,113,205,200,136,239,48,2,25,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":200,"original":1879125273,"validated":0}]} 
[2026-07-19 16:11:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712176251731968,"timestamp_seconds":4539712176251732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821116672001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821116672001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:11:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:11:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821116672001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":139084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:11:57] local.INFO: GPS data processed {"connection_id":139084,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:11:57] local.INFO: Acknowledgment sent {"connection_id":139084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:12:01] local.INFO: TCP Data received {"connection_id":139084,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f506a8012d196740071fee88003f004c2b..."} 
[2026-07-19 16:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f506a8012d196740071fee88003f004c2b..."} 
[2026-07-19 16:12:01] local.INFO: Processing buffer {"connection_id":139084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f506a8012d196740071fee88003f004c2b..."} 
[2026-07-19 16:12:01] local.INFO: Packet analysis {"connection_id":139084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f5"} 
[2026-07-19 16:12:01] local.INFO: Extracted packet for processing {"connection_id":139084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f5"} 
[2026-07-19 16:12:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821122048001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784457529000,"timestamp_ms":1784457529000,"timestamp_seconds":1784457529,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f506a8"} 
[2026-07-19 16:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:12: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-07-19 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:01] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:01] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:01] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:01] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8787216012021668199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:01] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:01] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21442675764887552,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:01] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832593,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:01] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:01] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4083974145,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:01] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:12:01] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:01] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,103,83,24,241,157,16,144,159,98,45,64,238,63,44,10,66,190,1,240,227,121,31,4,113,205,26,136,239,48,2,25,7,43],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:12:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712176251731968,"timestamp_seconds":4539712176251732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":139084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":139084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":139084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821122048001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821122048001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:12:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:12:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821122048001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":139084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:12:01] local.INFO: GPS data processed {"connection_id":139084,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:12:01] local.INFO: Acknowledgment sent {"connection_id":139084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:12:08] local.INFO: TCP Data received {"connection_id":137704,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:12:08] local.INFO: Processing buffer {"connection_id":137704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:12:08] local.INFO: Packet analysis {"connection_id":137704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:12:08] local.INFO: Extracted packet for processing {"connection_id":137704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 16:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821042688001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12: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-07-19 16:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784457499000,"timestamp_ms":1784457499000,"timestamp_seconds":1784457499,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f49178"} 
[2026-07-19 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-07-19 16:12: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-07-19 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:12: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-07-19 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-07-19 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-07-19 16:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:12: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-07-19 16:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821042688001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821042688001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:12:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821042688001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":137704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:12:08] local.INFO: GPS data processed {"connection_id":137704,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:12:08] local.INFO: Acknowledgment sent {"connection_id":137704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:12:31] local.INFO: TCP Data received {"connection_id":139086,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:12:31] local.INFO: Processing buffer {"connection_id":139086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:12:31] local.INFO: IMEI packet received {"connection_id":139086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":139086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:12:32] local.INFO: TCP Data received {"connection_id":139084,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f558b0012d196740071fee88003f004c2c..."} 
[2026-07-19 16:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f558b0012d196740071fee88003f004c2c..."} 
[2026-07-19 16:12:32] local.INFO: Processing buffer {"connection_id":139084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f558b0012d196740071fee88003f004c2c..."} 
[2026-07-19 16:12:32] local.INFO: Packet analysis {"connection_id":139084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f5"} 
[2026-07-19 16:12:32] local.INFO: Extracted packet for processing {"connection_id":139084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f5"} 
[2026-07-19 16:12:32] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821127424001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784457550000,"timestamp_ms":1784457550000,"timestamp_seconds":1784457550,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f558b0"} 
[2026-07-19 16:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:12: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-07-19 16:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:32] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:32] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8787306206334884199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:32] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:32] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21440476741632000,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:32] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832593,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:32] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:32] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4089350145,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:32] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:12:32] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:32] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:32] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:32] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,180,45,64,238,63,44,10,66,98,1,240,255,227,121,31,4,113,205,108,136,38,239,47,2,25,7,46],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:12:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712171956764672,"timestamp_seconds":4539712171956765.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":139084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":139084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":139084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821127424001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821127424001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:12:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:12:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821127424001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":139084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:12:32] local.INFO: GPS data processed {"connection_id":139084,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:12:32] local.INFO: Acknowledgment sent {"connection_id":139084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:12:36] local.INFO: TCP Data received {"connection_id":139086,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:12:36] local.INFO: Processing buffer {"connection_id":139086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:12:36] local.INFO: IMEI packet received {"connection_id":139086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":139086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:12:38] local.INFO: TCP Data received {"connection_id":139086,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:12:38] local.INFO: Processing buffer {"connection_id":139086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:12:38] local.INFO: Packet analysis {"connection_id":139086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:12:38] local.INFO: Extracted packet for processing {"connection_id":139086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:12:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821042688001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12: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-07-19 16:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784457499000,"timestamp_ms":1784457499000,"timestamp_seconds":1784457499,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f49178"} 
[2026-07-19 16:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":139086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":139086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":139086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:12:38] 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-07-19 16:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821042688001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821042688001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:12:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:12:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821042688001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":139086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:12:38] local.INFO: GPS data processed {"connection_id":139086,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:12:38] local.INFO: Acknowledgment sent {"connection_id":139086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:12:51] local.INFO: TCP Data received {"connection_id":137705,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:12:51] local.INFO: Processing buffer {"connection_id":137705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:12:51] local.INFO: IMEI packet received {"connection_id":137705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":137705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:12:56] local.INFO: TCP Data received {"connection_id":137705,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:12:56] local.INFO: Processing buffer {"connection_id":137705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:12:56] local.INFO: IMEI packet received {"connection_id":137705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":137705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:12:57] local.INFO: TCP Data received {"connection_id":137705,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f5aab8012d196740071fee88003f004c2b..."} 
[2026-07-19 16:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f5aab8012d196740071fee88003f004c2b..."} 
[2026-07-19 16:12:57] local.INFO: Processing buffer {"connection_id":137705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f5aab8012d196740071fee88003f004c2b..."} 
[2026-07-19 16:12:57] local.INFO: Packet analysis {"connection_id":137705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f5"} 
[2026-07-19 16:12:57] local.INFO: Extracted packet for processing {"connection_id":137705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f5"} 
[2026-07-19 16:12:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821132800001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:12: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-07-19 16:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784457571000,"timestamp_ms":1784457571000,"timestamp_seconds":1784457571,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f5aab8"} 
[2026-07-19 16:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:12: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-07-19 16:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 16:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821132800001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821132800001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:12:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:12:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821132800001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":137705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:12:57] local.INFO: GPS data processed {"connection_id":137705,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:12:57] local.INFO: Acknowledgment sent {"connection_id":137705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:13:01] local.INFO: TCP Data received {"connection_id":139085,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:13:01] local.INFO: Processing buffer {"connection_id":139085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:13:01] local.INFO: IMEI packet received {"connection_id":139085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 16:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":139085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:13:09] local.INFO: TCP Data received {"connection_id":139086,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:13:09] local.INFO: Processing buffer {"connection_id":139086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:13:09] local.INFO: Packet analysis {"connection_id":139086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:13:09] local.INFO: Extracted packet for processing {"connection_id":139086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821042688001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13: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-07-19 16:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784457499000,"timestamp_ms":1784457499000,"timestamp_seconds":1784457499,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f49178"} 
[2026-07-19 16:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:13: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-07-19 16:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821042688001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821042688001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:13:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:13:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821042688001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":139086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:13:09] local.INFO: GPS data processed {"connection_id":139086,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:13:09] local.INFO: Acknowledgment sent {"connection_id":139086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:13:26] local.INFO: TCP Data received {"connection_id":139087,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:13:26] local.INFO: Processing buffer {"connection_id":139087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:13:26] local.INFO: IMEI packet received {"connection_id":139087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 16:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":139087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:13:28] local.INFO: TCP Data received {"connection_id":137705,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f5fcc0012d196740071fee88003f004c2d..."} 
[2026-07-19 16:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f5fcc0012d196740071fee88003f004c2d..."} 
[2026-07-19 16:13:28] local.INFO: Processing buffer {"connection_id":137705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f5fcc0012d196740071fee88003f004c2d..."} 
[2026-07-19 16:13:28] local.INFO: Packet analysis {"connection_id":137705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f5"} 
[2026-07-19 16:13:28] local.INFO: Extracted packet for processing {"connection_id":137705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f5"} 
[2026-07-19 16:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821138176001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13: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-07-19 16:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784457592000,"timestamp_ms":1784457592000,"timestamp_seconds":1784457592,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f5fcc0"} 
[2026-07-19 16:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:13: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-07-19 16:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8787486594961316199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21442675764887552,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832593,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13:28] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4100102145,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:13:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,88,45,64,238,63,44,10,66,6,43,180,1,240,227,121,31,4,113,205,136,239,47,2,25,7,38],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:13:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712171956764672,"timestamp_seconds":4539712171956765.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821138176001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821138176001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:13:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:13:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821138176001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":137705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:13:28] local.INFO: GPS data processed {"connection_id":137705,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:13:28] local.INFO: Acknowledgment sent {"connection_id":137705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:13:31] local.INFO: TCP Data received {"connection_id":139088,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:13:31] local.INFO: Processing buffer {"connection_id":139088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:13:31] local.INFO: IMEI packet received {"connection_id":139088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":139088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:13:31] local.INFO: TCP Data received {"connection_id":139087,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:13:31] local.INFO: Processing buffer {"connection_id":139087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:13:31] local.INFO: IMEI packet received {"connection_id":139087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-19 16:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":139087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:13:33] local.INFO: TCP Data received {"connection_id":139087,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e026e8012d34c38006aa3f80000801132a..."} 
[2026-07-19 16:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e026e8012d34c38006aa3f80000801132a..."} 
[2026-07-19 16:13:33] local.INFO: Processing buffer {"connection_id":139087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e026e8012d34c38006aa3f80000801132a..."} 
[2026-07-19 16:13:33] local.INFO: Packet analysis {"connection_id":139087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e0"} 
[2026-07-19 16:13:33] local.INFO: Extracted packet for processing {"connection_id":139087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e0"} 
[2026-07-19 16:13:33] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111820672,"longitude_deg":75.843264,"latitude_deg":11.1820672,"altitude":8,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-07-19 16:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820761344001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":137892630867476480,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545277952,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13: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-07-19 16:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784456161000,"timestamp_ms":1784456161000,"timestamp_seconds":1784456161,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e026e8"} 
[2026-07-19 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-07-19 16:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-19 16:13: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-07-19 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-07-19 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-07-19 16:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":139087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":139087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-19 16:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":139087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-19 16:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-19 16:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-19 16:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820761344001,"66":25778,"97":206,"81":23296,"24":0,"16":137892630867476480,"45":3802023276545277952},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-19 16:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-19 16:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820761344001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:13:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:13:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":137892630867476480,"km_value":137892630867476.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545277952,"description":"Unknown IO ID 45"} 
[2026-07-19 16:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820761344001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545277952}} 
[2026-07-19 16:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":139087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512768,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:13:33] local.INFO: GPS data processed {"connection_id":139087,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:13:33] local.INFO: Acknowledgment sent {"connection_id":139087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:13:36] local.INFO: TCP Data received {"connection_id":139088,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:13:36] local.INFO: Processing buffer {"connection_id":139088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:13:36] local.INFO: IMEI packet received {"connection_id":139088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":139088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:13:37] local.INFO: TCP Data received {"connection_id":139088,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:13:37] local.INFO: Processing buffer {"connection_id":139088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f49178012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:13:37] local.INFO: Packet analysis {"connection_id":139088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:13:37] local.INFO: Extracted packet for processing {"connection_id":139088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f4"} 
[2026-07-19 16:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821042688001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:13: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-07-19 16:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784457499000,"timestamp_ms":1784457499000,"timestamp_seconds":1784457499,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f49178"} 
[2026-07-19 16:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:13: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-07-19 16: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-07-19 16:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821042688001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821042688001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:13:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821042688001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":139088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:13:37] local.INFO: GPS data processed {"connection_id":139088,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:13:37] local.INFO: Acknowledgment sent {"connection_id":139088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:13:56] local.INFO: TCP Data received {"connection_id":136613,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:13:56] local.INFO: Processing buffer {"connection_id":136613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:13:56] local.INFO: IMEI packet received {"connection_id":136613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":136613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:14:00] local.INFO: TCP Data received {"connection_id":136613,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:14:00] local.INFO: Processing buffer {"connection_id":136613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:14:00] local.INFO: IMEI packet received {"connection_id":136613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":136613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:14:01] local.INFO: TCP Data received {"connection_id":136613,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f64ec8012d196740071fee88003f004c2d..."} 
[2026-07-19 16:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f64ec8012d196740071fee88003f004c2d..."} 
[2026-07-19 16:14:01] local.INFO: Processing buffer {"connection_id":136613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f64ec8012d196740071fee88003f004c2d..."} 
[2026-07-19 16:14:01] local.INFO: Packet analysis {"connection_id":136613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f6"} 
[2026-07-19 16:14:01] local.INFO: Extracted packet for processing {"connection_id":136613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f6"} 
[2026-07-19 16:14:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821143552001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784457613000,"timestamp_ms":1784457613000,"timestamp_seconds":1784457613,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f64ec8"} 
[2026-07-19 16:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:14: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-07-19 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:14:01] 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-07-19 16: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-07-19 16:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821143552001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821143552001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:14:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:14:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821143552001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":136613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:14:01] local.INFO: GPS data processed {"connection_id":136613,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:14:01] local.INFO: Acknowledgment sent {"connection_id":136613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:14:02] local.INFO: TCP Data received {"connection_id":136613,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f6a0d0012d196740071fee88003f004c2b..."} 
[2026-07-19 16:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f6a0d0012d196740071fee88003f004c2b..."} 
[2026-07-19 16:14:02] local.INFO: Processing buffer {"connection_id":136613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f6a0d0012d196740071fee88003f004c2b..."} 
[2026-07-19 16:14:02] local.INFO: Packet analysis {"connection_id":136613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f6"} 
[2026-07-19 16:14:02] local.INFO: Extracted packet for processing {"connection_id":136613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f6"} 
[2026-07-19 16:14:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 16:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821148928001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:14: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-07-19 16:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784457634000,"timestamp_ms":1784457634000,"timestamp_seconds":1784457634,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f6a0d0"} 
[2026-07-19 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-07-19 16:14: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-07-19 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 16:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 16:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821148928001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821148928001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:14:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:14:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821148928001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":136613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:14:02] local.INFO: GPS data processed {"connection_id":136613,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:14:02] local.INFO: Acknowledgment sent {"connection_id":136613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:14:09] local.INFO: TCP Data received {"connection_id":139088,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:14:09] local.INFO: Processing buffer {"connection_id":139088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:14:09] local.INFO: Packet analysis {"connection_id":139088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:14:09] local.INFO: Extracted packet for processing {"connection_id":139088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821119744001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:14: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-07-19 16:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784457800000,"timestamp_ms":1784457800000,"timestamp_seconds":1784457800,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f92940"} 
[2026-07-19 16:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:14:09] 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-07-19 16:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821119744001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821119744001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:14:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821119744001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":139088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:14:09] local.INFO: GPS data processed {"connection_id":139088,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:14:09] local.INFO: Acknowledgment sent {"connection_id":139088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:14:16] local.INFO: TCP Data received {"connection_id":136614,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:14:16] local.INFO: Processing buffer {"connection_id":136614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:14:16] local.INFO: IMEI packet received {"connection_id":136614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 16:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":136614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:14:31] local.INFO: TCP Data received {"connection_id":139089,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:14:31] local.INFO: Processing buffer {"connection_id":139089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:14:31] local.INFO: IMEI packet received {"connection_id":139089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":139089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:14:32] local.INFO: TCP Data received {"connection_id":136613,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f6f2d8012d196740071fee88003f004c2c..."} 
[2026-07-19 16:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f6f2d8012d196740071fee88003f004c2c..."} 
[2026-07-19 16:14:32] local.INFO: Processing buffer {"connection_id":136613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f6f2d8012d196740071fee88003f004c2c..."} 
[2026-07-19 16:14:32] local.INFO: Packet analysis {"connection_id":136613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f6"} 
[2026-07-19 16:14:32] local.INFO: Extracted packet for processing {"connection_id":136613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f6"} 
[2026-07-19 16:14:32] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821154304001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784457655000,"timestamp_ms":1784457655000,"timestamp_seconds":1784457655,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f6f2d8"} 
[2026-07-19 16:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:14: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-07-19 16: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 16:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821154304001,"66":11928,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821154304001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:14:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:14:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821154304001,"power":11928,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":136613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:14:33] local.INFO: GPS data processed {"connection_id":136613,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:14:33] local.INFO: Acknowledgment sent {"connection_id":136613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:14:36] local.INFO: TCP Data received {"connection_id":139089,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:14:36] local.INFO: Processing buffer {"connection_id":139089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:14:36] local.INFO: IMEI packet received {"connection_id":139089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":139089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:14:37] local.INFO: TCP Data received {"connection_id":139089,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:14:37] local.INFO: Processing buffer {"connection_id":139089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:14:37] local.INFO: Packet analysis {"connection_id":139089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:14:37] local.INFO: Extracted packet for processing {"connection_id":139089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821119744001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:14: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-07-19 16:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784457800000,"timestamp_ms":1784457800000,"timestamp_seconds":1784457800,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f92940"} 
[2026-07-19 16:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:14: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-07-19 16: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-07-19 16:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821119744001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821119744001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821119744001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":139089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:14:37] local.INFO: GPS data processed {"connection_id":139089,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:14:37] local.INFO: Acknowledgment sent {"connection_id":139089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:14:51] local.INFO: TCP Data received {"connection_id":137706,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:14:51] local.INFO: Processing buffer {"connection_id":137706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:14:51] local.INFO: IMEI packet received {"connection_id":137706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":137706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:14:56] local.INFO: TCP Data received {"connection_id":137706,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:14:56] local.INFO: Processing buffer {"connection_id":137706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:14:56] local.INFO: IMEI packet received {"connection_id":137706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":137706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:14:57] local.INFO: TCP Data received {"connection_id":137706,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f744e0012d196740071fee88003f004c2e..."} 
[2026-07-19 16:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f744e0012d196740071fee88003f004c2e..."} 
[2026-07-19 16:14:57] local.INFO: Processing buffer {"connection_id":137706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f744e0012d196740071fee88003f004c2e..."} 
[2026-07-19 16:14:57] local.INFO: Packet analysis {"connection_id":137706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f7"} 
[2026-07-19 16:14:57] local.INFO: Extracted packet for processing {"connection_id":137706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f7"} 
[2026-07-19 16:14:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821159680001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:14: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-07-19 16:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784457676000,"timestamp_ms":1784457676000,"timestamp_seconds":1784457676,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f744e0"} 
[2026-07-19 16:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-19 16:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1796,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821159680001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821159680001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:14:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:14:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821159680001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":137706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:14:57] local.INFO: GPS data processed {"connection_id":137706,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:14:57] local.INFO: Acknowledgment sent {"connection_id":137706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:15:08] local.INFO: TCP Data received {"connection_id":139089,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:15:08] local.INFO: Processing buffer {"connection_id":139089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:15:08] local.INFO: Packet analysis {"connection_id":139089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:15:08] local.INFO: Extracted packet for processing {"connection_id":139089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:15:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821119744001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784457800000,"timestamp_ms":1784457800000,"timestamp_seconds":1784457800,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f92940"} 
[2026-07-19 16:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:15: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-07-19 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:15: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-07-19 16: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-07-19 16:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821119744001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821119744001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:15:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:15:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821119744001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":139089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:15:08] local.INFO: GPS data processed {"connection_id":139089,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:15:08] local.INFO: Acknowledgment sent {"connection_id":139089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:15:28] local.INFO: TCP Data received {"connection_id":137706,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f796e8012d196740071fee88003f004c2d..."} 
[2026-07-19 16:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f796e8012d196740071fee88003f004c2d..."} 
[2026-07-19 16:15:28] local.INFO: Processing buffer {"connection_id":137706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f796e8012d196740071fee88003f004c2d..."} 
[2026-07-19 16:15:28] local.INFO: Packet analysis {"connection_id":137706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f7"} 
[2026-07-19 16:15:28] local.INFO: Extracted packet for processing {"connection_id":137706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f7"} 
[2026-07-19 16:15:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821165056001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:15: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-07-19 16:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784457697000,"timestamp_ms":1784457697000,"timestamp_seconds":1784457697,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f796e8"} 
[2026-07-19 16:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821165056001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821165056001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:15:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:15:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821165056001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":137706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:15:28] local.INFO: GPS data processed {"connection_id":137706,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:15:28] local.INFO: Acknowledgment sent {"connection_id":137706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:15:31] local.INFO: TCP Data received {"connection_id":136734,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:15:31] local.INFO: Processing buffer {"connection_id":136734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:15:31] local.INFO: IMEI packet received {"connection_id":136734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":136734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:15:36] local.INFO: TCP Data received {"connection_id":136734,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:15:36] local.INFO: Processing buffer {"connection_id":136734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:15:36] local.INFO: IMEI packet received {"connection_id":136734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":136734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:15:37] local.INFO: TCP Data received {"connection_id":136734,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:15:37] local.INFO: Processing buffer {"connection_id":136734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:15:37] local.INFO: Packet analysis {"connection_id":136734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:15:37] local.INFO: Extracted packet for processing {"connection_id":136734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821119744001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:15: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-07-19 16:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784457800000,"timestamp_ms":1784457800000,"timestamp_seconds":1784457800,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f92940"} 
[2026-07-19 16:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:15: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-07-19 16:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:15:37] 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-07-19 16:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821119744001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821119744001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821119744001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":136734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:15:37] local.INFO: GPS data processed {"connection_id":136734,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:15:37] local.INFO: Acknowledgment sent {"connection_id":136734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:15:51] local.INFO: TCP Data received {"connection_id":136615,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:15:51] local.INFO: Processing buffer {"connection_id":136615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:15:51] local.INFO: IMEI packet received {"connection_id":136615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":136615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:15:56] local.INFO: TCP Data received {"connection_id":136615,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:15:56] local.INFO: Processing buffer {"connection_id":136615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:15:56] local.INFO: IMEI packet received {"connection_id":136615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":136615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:15:57] local.INFO: TCP Data received {"connection_id":136615,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f7e8f0012d196740071fee88003f004c2f..."} 
[2026-07-19 16:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f7e8f0012d196740071fee88003f004c2f..."} 
[2026-07-19 16:15:57] local.INFO: Processing buffer {"connection_id":136615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f7e8f0012d196740071fee88003f004c2f..."} 
[2026-07-19 16:15:57] local.INFO: Packet analysis {"connection_id":136615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f7"} 
[2026-07-19 16:15:57] local.INFO: Extracted packet for processing {"connection_id":136615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f7"} 
[2026-07-19 16:15:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821170432001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:15: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-07-19 16:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784457718000,"timestamp_ms":1784457718000,"timestamp_seconds":1784457718,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f7e8f0"} 
[2026-07-19 16:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:15:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821170432001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821170432001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:15:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:15:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821170432001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":136615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:15:57] local.INFO: GPS data processed {"connection_id":136615,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:15:57] local.INFO: Acknowledgment sent {"connection_id":136615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:16:09] local.INFO: TCP Data received {"connection_id":136734,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:16:09] local.INFO: Processing buffer {"connection_id":136734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:16:09] local.INFO: Packet analysis {"connection_id":136734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:16:09] local.INFO: Extracted packet for processing {"connection_id":136734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821119744001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16: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-07-19 16:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784457800000,"timestamp_ms":1784457800000,"timestamp_seconds":1784457800,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f92940"} 
[2026-07-19 16:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:16: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-07-19 16:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821119744001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821119744001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821119744001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":136734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:16:09] local.INFO: GPS data processed {"connection_id":136734,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:16:09] local.INFO: Acknowledgment sent {"connection_id":136734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:16:28] local.INFO: TCP Data received {"connection_id":136615,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f83af8012d196740071fee88003f004c2d..."} 
[2026-07-19 16:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f83af8012d196740071fee88003f004c2d..."} 
[2026-07-19 16:16:28] local.INFO: Processing buffer {"connection_id":136615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f83af8012d196740071fee88003f004c2d..."} 
[2026-07-19 16:16:28] local.INFO: Packet analysis {"connection_id":136615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f8"} 
[2026-07-19 16:16:28] local.INFO: Extracted packet for processing {"connection_id":136615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f8"} 
[2026-07-19 16:16:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821175808001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16: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-07-19 16:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784457739000,"timestamp_ms":1784457739000,"timestamp_seconds":1784457739,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f83af8"} 
[2026-07-19 16:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:16: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-07-19 16:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:16:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821175808001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821175808001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:16:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:16:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821175808001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":136615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:16:28] local.INFO: GPS data processed {"connection_id":136615,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:16:28] local.INFO: Acknowledgment sent {"connection_id":136615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:16:31] local.INFO: TCP Data received {"connection_id":137708,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:16:31] local.INFO: Processing buffer {"connection_id":137708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:16:31] local.INFO: IMEI packet received {"connection_id":137708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":137708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:16:36] local.INFO: TCP Data received {"connection_id":137708,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:16:36] local.INFO: Processing buffer {"connection_id":137708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:16:36] local.INFO: IMEI packet received {"connection_id":137708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":137708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:16:37] local.INFO: TCP Data received {"connection_id":137708,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:16:37] local.INFO: Processing buffer {"connection_id":137708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:16:37] local.INFO: Packet analysis {"connection_id":137708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:16:37] local.INFO: Extracted packet for processing {"connection_id":137708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:16:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821119744001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16: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-07-19 16:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784457800000,"timestamp_ms":1784457800000,"timestamp_seconds":1784457800,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f92940"} 
[2026-07-19 16:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:16: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-07-19 16:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821119744001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821119744001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:16:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:16:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821119744001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":137708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:16:37] local.INFO: GPS data processed {"connection_id":137708,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:16:37] local.INFO: Acknowledgment sent {"connection_id":137708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:16:51] local.INFO: TCP Data received {"connection_id":139090,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:16:51] local.INFO: Processing buffer {"connection_id":139090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:16:51] local.INFO: IMEI packet received {"connection_id":139090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":139090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:16:56] local.INFO: TCP Data received {"connection_id":139090,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:16:56] local.INFO: Processing buffer {"connection_id":139090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:16:56] local.INFO: IMEI packet received {"connection_id":139090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":139090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:16:57] local.INFO: TCP Data received {"connection_id":139090,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f88d00012d196740071fee88003f004c2c..."} 
[2026-07-19 16:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f88d00012d196740071fee88003f004c2c..."} 
[2026-07-19 16:16:57] local.INFO: Processing buffer {"connection_id":139090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f88d00012d196740071fee88003f004c2c..."} 
[2026-07-19 16:16:57] local.INFO: Packet analysis {"connection_id":139090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f8"} 
[2026-07-19 16:16:57] local.INFO: Extracted packet for processing {"connection_id":139090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f8"} 
[2026-07-19 16:16:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821181184001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16: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-07-19 16:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784457760000,"timestamp_ms":1784457760000,"timestamp_seconds":1784457760,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f88d00"} 
[2026-07-19 16:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8788208149467044199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21441576253259776,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594552,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195247100690638,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4143110145,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:16:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:16:57] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,232,45,64,238,63,47,10,66,150,68,1,240,255,227,121,31,4,113,205,160,136,43,239,2,25,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:16:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712180546699264,"timestamp_seconds":4539712180546699.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821181184001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821181184001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:16:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:16:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821181184001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":139090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:16:57] local.INFO: GPS data processed {"connection_id":139090,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:16:57] local.INFO: Acknowledgment sent {"connection_id":139090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:17:09] local.INFO: TCP Data received {"connection_id":137708,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:17:09] local.INFO: Processing buffer {"connection_id":137708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:17:09] local.INFO: Packet analysis {"connection_id":137708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:17:09] local.INFO: Extracted packet for processing {"connection_id":137708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821119744001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:17: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-07-19 16:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784457800000,"timestamp_ms":1784457800000,"timestamp_seconds":1784457800,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f92940"} 
[2026-07-19 16:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821119744001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821119744001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:17:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:17:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821119744001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":137708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:17:09] local.INFO: GPS data processed {"connection_id":137708,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:17:09] local.INFO: Acknowledgment sent {"connection_id":137708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:17:28] local.INFO: TCP Data received {"connection_id":139090,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f8df08012d196740071fee88003f004c2e..."} 
[2026-07-19 16:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f8df08012d196740071fee88003f004c2e..."} 
[2026-07-19 16:17:28] local.INFO: Processing buffer {"connection_id":139090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f8df08012d196740071fee88003f004c2e..."} 
[2026-07-19 16:17:28] local.INFO: Packet analysis {"connection_id":139090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f8"} 
[2026-07-19 16:17:28] local.INFO: Extracted packet for processing {"connection_id":139090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f8"} 
[2026-07-19 16:17:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821186560001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:17: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-07-19 16:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784457781000,"timestamp_ms":1784457781000,"timestamp_seconds":1784457781,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f8df08"} 
[2026-07-19 16:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821186560001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821186560001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:17:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:17:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821186560001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":139090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:17:28] local.INFO: GPS data processed {"connection_id":139090,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:17:28] local.INFO: Acknowledgment sent {"connection_id":139090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:17:31] local.INFO: TCP Data received {"connection_id":136735,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:17:31] local.INFO: Processing buffer {"connection_id":136735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:17:31] local.INFO: IMEI packet received {"connection_id":136735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":136735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:17:36] local.INFO: TCP Data received {"connection_id":136735,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:17:36] local.INFO: Processing buffer {"connection_id":136735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:17:36] local.INFO: IMEI packet received {"connection_id":136735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":136735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:17:37] local.INFO: TCP Data received {"connection_id":136735,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:17:37] local.INFO: Processing buffer {"connection_id":136735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:17:37] local.INFO: Packet analysis {"connection_id":136735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:17:37] local.INFO: Extracted packet for processing {"connection_id":136735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821119744001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:17: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-07-19 16:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784457800000,"timestamp_ms":1784457800000,"timestamp_seconds":1784457800,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f92940"} 
[2026-07-19 16:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:17: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-07-19 16:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821119744001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821119744001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:17:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821119744001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":136735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:17:37] local.INFO: GPS data processed {"connection_id":136735,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:17:37] local.INFO: Acknowledgment sent {"connection_id":136735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:17:51] local.INFO: TCP Data received {"connection_id":137710,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:17:51] local.INFO: Processing buffer {"connection_id":137710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:17:51] local.INFO: IMEI packet received {"connection_id":137710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":137710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:17:51] local.INFO: TCP Data received {"connection_id":137710,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:17:51] local.INFO: Processing buffer {"connection_id":137710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:17:51] local.INFO: IMEI packet received {"connection_id":137710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":137710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:17:56] local.INFO: TCP Data received {"connection_id":137710,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:17:56] local.INFO: Processing buffer {"connection_id":137710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:17:56] local.INFO: IMEI packet received {"connection_id":137710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":137710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:17:57] local.INFO: TCP Data received {"connection_id":137710,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f93110012d196740071fee88003f004c2d..."} 
[2026-07-19 16:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f93110012d196740071fee88003f004c2d..."} 
[2026-07-19 16:17:57] local.INFO: Processing buffer {"connection_id":137710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f93110012d196740071fee88003f004c2d..."} 
[2026-07-19 16:17:57] local.INFO: Packet analysis {"connection_id":137710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:17:57] local.INFO: Extracted packet for processing {"connection_id":137710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:17:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821191936001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:17: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-07-19 16:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784457802000,"timestamp_ms":1784457802000,"timestamp_seconds":1784457802,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f93110"} 
[2026-07-19 16:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 16:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821191936001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821191936001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:17:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:17:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821191936001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":137710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:17:57] local.INFO: GPS data processed {"connection_id":137710,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:17:57] local.INFO: Acknowledgment sent {"connection_id":137710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:18:08] local.INFO: TCP Data received {"connection_id":136735,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:18:08] local.INFO: Processing buffer {"connection_id":136735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:18:08] local.INFO: Packet analysis {"connection_id":136735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:18:08] local.INFO: Extracted packet for processing {"connection_id":136735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821119744001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:18: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-07-19 16:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784457800000,"timestamp_ms":1784457800000,"timestamp_seconds":1784457800,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f92940"} 
[2026-07-19 16:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:18: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-07-19 16:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:18: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-07-19 16:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:18: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-07-19 16:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821119744001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821119744001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:18:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:18:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821119744001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":136735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:18:08] local.INFO: GPS data processed {"connection_id":136735,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:18:08] local.INFO: Acknowledgment sent {"connection_id":136735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:18:28] local.INFO: TCP Data received {"connection_id":137710,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f98318012d196740071fee88003f004c2c..."} 
[2026-07-19 16:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f98318012d196740071fee88003f004c2c..."} 
[2026-07-19 16:18:28] local.INFO: Processing buffer {"connection_id":137710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f98318012d196740071fee88003f004c2c..."} 
[2026-07-19 16:18:28] local.INFO: Packet analysis {"connection_id":137710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:18:28] local.INFO: Extracted packet for processing {"connection_id":137710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:18:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821197312001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:18: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-07-19 16:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784457823000,"timestamp_ms":1784457823000,"timestamp_seconds":1784457823,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f98318"} 
[2026-07-19 16:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16: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-07-19 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821197312001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821197312001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:18:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:18:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821197312001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":137710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:18:28] local.INFO: GPS data processed {"connection_id":137710,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:18:28] local.INFO: Acknowledgment sent {"connection_id":137710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:18:36] local.INFO: TCP Data received {"connection_id":139091,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:18:36] local.INFO: Processing buffer {"connection_id":139091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:18:36] local.INFO: IMEI packet received {"connection_id":139091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":139091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:18:41] local.INFO: TCP Data received {"connection_id":139091,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:18:41] local.INFO: Processing buffer {"connection_id":139091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:18:41] local.INFO: IMEI packet received {"connection_id":139091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":139091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:18:42] local.INFO: TCP Data received {"connection_id":139091,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:18:42] local.INFO: Processing buffer {"connection_id":139091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:18:42] local.INFO: Packet analysis {"connection_id":139091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:18:42] local.INFO: Extracted packet for processing {"connection_id":139091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:18:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821119744001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784457800000,"timestamp_ms":1784457800000,"timestamp_seconds":1784457800,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f92940"} 
[2026-07-19 16:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:18: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-07-19 16:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821119744001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821119744001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:18:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:18:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821119744001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":139091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:18:42] local.INFO: GPS data processed {"connection_id":139091,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:18:42] local.INFO: Acknowledgment sent {"connection_id":139091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:18:47] local.INFO: TCP Data received {"connection_id":139091,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:18:47] local.INFO: Processing buffer {"connection_id":139091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79f92940012d34c50006aa4dd80008009531..."} 
[2026-07-19 16:18:47] local.INFO: Packet analysis {"connection_id":139091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:18:47] local.INFO: Extracted packet for processing {"connection_id":139091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79f9"} 
[2026-07-19 16:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821119744001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784457800000,"timestamp_ms":1784457800000,"timestamp_seconds":1784457800,"priority":1,"record_length":96,"hex_timestamp":"0000019f79f92940"} 
[2026-07-19 16:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":139091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":139091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":139091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821119744001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821119744001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:18:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821119744001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":139091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:18:47] local.INFO: GPS data processed {"connection_id":139091,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:18:47] local.INFO: Acknowledgment sent {"connection_id":139091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:18:51] local.INFO: TCP Data received {"connection_id":136737,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:18:51] local.INFO: Processing buffer {"connection_id":136737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:18:51] local.INFO: IMEI packet received {"connection_id":136737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":136737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:18:54] local.INFO: TCP Data received {"connection_id":136737,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:18:54] local.INFO: Processing buffer {"connection_id":136737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:18:54] local.INFO: IMEI packet received {"connection_id":136737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":136737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:18:56] local.INFO: TCP Data received {"connection_id":136737,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:18:56] local.INFO: Processing buffer {"connection_id":136737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:18:56] local.INFO: IMEI packet received {"connection_id":136737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":136737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:18:57] local.INFO: TCP Data received {"connection_id":136737,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79fd0970012d196740071fee88003f004c2f..."} 
[2026-07-19 16:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79fd0970012d196740071fee88003f004c2f..."} 
[2026-07-19 16:18:57] local.INFO: Processing buffer {"connection_id":136737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79fd0970012d196740071fee88003f004c2f..."} 
[2026-07-19 16:18:57] local.INFO: Packet analysis {"connection_id":136737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:18:57] local.INFO: Extracted packet for processing {"connection_id":136737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:18:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821256448001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:18: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-07-19 16:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784458054000,"timestamp_ms":1784458054000,"timestamp_seconds":1784458054,"priority":1,"record_length":96,"hex_timestamp":"0000019f79fd0970"} 
[2026-07-19 16:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 16:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:18:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821256448001,"66":12145,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821256448001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:18:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:18:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821256448001,"power":12145,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":136737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:18:57] local.INFO: GPS data processed {"connection_id":136737,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:18:57] local.INFO: Acknowledgment sent {"connection_id":136737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:19:28] local.INFO: TCP Data received {"connection_id":136737,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79fd5b78012d196740071fee88003f004c2e..."} 
[2026-07-19 16:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79fd5b78012d196740071fee88003f004c2e..."} 
[2026-07-19 16:19:28] local.INFO: Processing buffer {"connection_id":136737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79fd5b78012d196740071fee88003f004c2e..."} 
[2026-07-19 16:19:28] local.INFO: Packet analysis {"connection_id":136737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:19:28] local.INFO: Extracted packet for processing {"connection_id":136737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821261824001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:19: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-07-19 16:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784458075000,"timestamp_ms":1784458075000,"timestamp_seconds":1784458075,"priority":1,"record_length":96,"hex_timestamp":"0000019f79fd5b78"} 
[2026-07-19 16:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:19: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-07-19 16:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-19 16:19:28] 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-07-19 16:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821261824001,"66":12232,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821261824001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:19:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:19:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821261824001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":136737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:19:28] local.INFO: GPS data processed {"connection_id":136737,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:19:28] local.INFO: Acknowledgment sent {"connection_id":136737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:19:32] local.INFO: TCP Data received {"connection_id":137712,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:19:32] local.INFO: Processing buffer {"connection_id":137712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:19:32] local.INFO: IMEI packet received {"connection_id":137712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":137712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:19:36] local.INFO: TCP Data received {"connection_id":137712,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:19:36] local.INFO: Processing buffer {"connection_id":137712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:19:36] local.INFO: IMEI packet received {"connection_id":137712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":137712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:19:37] local.INFO: TCP Data received {"connection_id":137712,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:19:37] local.INFO: Processing buffer {"connection_id":137712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:19:37] local.INFO: Packet analysis {"connection_id":137712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:19:37] local.INFO: Extracted packet for processing {"connection_id":137712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 16:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821196800001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:19: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-07-19 16:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784458101000,"timestamp_ms":1784458101000,"timestamp_seconds":1784458101,"priority":1,"record_length":96,"hex_timestamp":"0000019f79fdc108"} 
[2026-07-19 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-07-19 16:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 16:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821196800001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821196800001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:19:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821196800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":137712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:19:37] local.INFO: GPS data processed {"connection_id":137712,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:19:37] local.INFO: Acknowledgment sent {"connection_id":137712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:19:41] local.INFO: TCP Data received {"connection_id":137711,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:19:41] local.INFO: Processing buffer {"connection_id":137711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:19:41] local.INFO: IMEI packet received {"connection_id":137711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 16:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":137711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:19:56] local.INFO: TCP Data received {"connection_id":139092,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:19:56] local.INFO: Processing buffer {"connection_id":139092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:19:56] local.INFO: IMEI packet received {"connection_id":139092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":139092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:19:57] local.INFO: TCP Data received {"connection_id":139092,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:19:57] local.INFO: Processing buffer {"connection_id":139092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:19:57] local.INFO: IMEI packet received {"connection_id":139092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":139092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:19:57] local.INFO: TCP Data received {"connection_id":139092,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79fdad80012d196740071fee88003f004c2b..."} 
[2026-07-19 16:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79fdad80012d196740071fee88003f004c2b..."} 
[2026-07-19 16:19:57] local.INFO: Processing buffer {"connection_id":139092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79fdad80012d196740071fee88003f004c2b..."} 
[2026-07-19 16:19:57] local.INFO: Packet analysis {"connection_id":139092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:19:57] local.INFO: Extracted packet for processing {"connection_id":139092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:19:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821267200001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:19: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-07-19 16:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784458096000,"timestamp_ms":1784458096000,"timestamp_seconds":1784458096,"priority":1,"record_length":96,"hex_timestamp":"0000019f79fdad80"} 
[2026-07-19 16:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-19 16:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821267200001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821267200001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:19:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:19:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821267200001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":139092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:19:58] local.INFO: GPS data processed {"connection_id":139092,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:19:58] local.INFO: Acknowledgment sent {"connection_id":139092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:20:01] local.INFO: TCP Data received {"connection_id":139092,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79fdff88012d196740071fee88003f004c2f..."} 
[2026-07-19 16:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79fdff88012d196740071fee88003f004c2f..."} 
[2026-07-19 16:20:01] local.INFO: Processing buffer {"connection_id":139092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79fdff88012d196740071fee88003f004c2f..."} 
[2026-07-19 16:20:01] local.INFO: Packet analysis {"connection_id":139092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:20:01] local.INFO: Extracted packet for processing {"connection_id":139092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:20:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 16:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821272576001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784458117000,"timestamp_ms":1784458117000,"timestamp_seconds":1784458117,"priority":1,"record_length":96,"hex_timestamp":"0000019f79fdff88"} 
[2026-07-19 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-07-19 16: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-07-19 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:20:01] 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-07-19 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-07-19 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-07-19 16:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":139092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":139092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":139092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821272576001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821272576001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:20:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:20:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821272576001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":139092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:20:01] local.INFO: GPS data processed {"connection_id":139092,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:20:01] local.INFO: Acknowledgment sent {"connection_id":139092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:20:09] local.INFO: TCP Data received {"connection_id":137712,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:20:09] local.INFO: Processing buffer {"connection_id":137712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:20:09] local.INFO: Packet analysis {"connection_id":137712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:20:09] local.INFO: Extracted packet for processing {"connection_id":137712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821196800001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20: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-07-19 16:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784458101000,"timestamp_ms":1784458101000,"timestamp_seconds":1784458101,"priority":1,"record_length":96,"hex_timestamp":"0000019f79fdc108"} 
[2026-07-19 16:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821196800001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821196800001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821196800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":137712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:20:09] local.INFO: GPS data processed {"connection_id":137712,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:20:09] local.INFO: Acknowledgment sent {"connection_id":137712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:20:13] local.INFO: TCP Data received {"connection_id":139093,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139093,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:20:13] local.INFO: Processing buffer {"connection_id":139093,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:20:13] local.INFO: IMEI packet received {"connection_id":139093,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 16:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":139093,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:20:14] local.INFO: TCP Data received {"connection_id":139093,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139093,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:20:14] local.INFO: Processing buffer {"connection_id":139093,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:20:14] local.INFO: IMEI packet received {"connection_id":139093,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 16:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":139093,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:20:18] local.INFO: TCP Data received {"connection_id":139093,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139093,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:20:18] local.INFO: Processing buffer {"connection_id":139093,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:20:18] local.INFO: IMEI packet received {"connection_id":139093,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 16:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":139093,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:20:19] local.INFO: TCP Data received {"connection_id":139093,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-19 16:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139093,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-19 16:20:19] local.INFO: Processing buffer {"connection_id":139093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-19 16:20:19] local.INFO: Packet analysis {"connection_id":139093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-19 16:20:19] local.INFO: Extracted packet for processing {"connection_id":139093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-19 16:20: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-07-19 16:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:19] 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-07-19 16:20:19] 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-07-19 16:20:19] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-19 16:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":139093,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-19 16:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-19 16:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-19 16:20:19] local.WARNING: DEBUG: No valid data to process  
[2026-07-19 16:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":139093,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-19 16:20:19] local.ERROR: GPS data processing failed {"connection_id":139093,"error":"No valid data to process"} 
[2026-07-19 16:20:19] local.INFO: Acknowledgment sent {"connection_id":139093,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-19 16:20:26] local.INFO: TCP Data received {"connection_id":136616,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:20:26] local.INFO: Processing buffer {"connection_id":136616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:20:26] local.INFO: IMEI packet received {"connection_id":136616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 16:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":136616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:20:31] local.INFO: TCP Data received {"connection_id":136738,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:20:31] local.INFO: Processing buffer {"connection_id":136738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:20:31] local.INFO: IMEI packet received {"connection_id":136738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":136738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:20:31] local.INFO: TCP Data received {"connection_id":136616,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:20:31] local.INFO: Processing buffer {"connection_id":136616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:20:31] local.INFO: IMEI packet received {"connection_id":136616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-19 16:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":136616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:20:32] local.INFO: TCP Data received {"connection_id":136616,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f79e6c250012d34c38006aa3f80000801132a..."} 
[2026-07-19 16:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79e6c250012d34c38006aa3f80000801132a..."} 
[2026-07-19 16:20:32] local.INFO: Processing buffer {"connection_id":136616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79e6c250012d34c38006aa3f80000801132a..."} 
[2026-07-19 16:20:32] local.INFO: Packet analysis {"connection_id":136616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 16:20:32] local.INFO: Extracted packet for processing {"connection_id":136616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79e6"} 
[2026-07-19 16:20:32] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111820672,"longitude_deg":75.843264,"latitude_deg":11.1820672,"altitude":8,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-07-19 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-07-19 16:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456820810752001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":137892630867476480,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545277952,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20: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-07-19 16:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784456594000,"timestamp_ms":1784456594000,"timestamp_seconds":1784456594,"priority":1,"record_length":96,"hex_timestamp":"0000019f79e6c250"} 
[2026-07-19 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-07-19 16:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":111,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-19 16:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1860,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 16:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-19 16:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-19 16:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-19 16:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-19 16:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456820810752001,"66":26593,"97":206,"81":23296,"24":0,"16":137892630867476480,"45":3802023276545277952},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-19 16:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-19 16:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456820810752001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:20:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:20:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":137892630867476480,"km_value":137892630867476.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545277952,"description":"Unknown IO ID 45"} 
[2026-07-19 16:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456820810752001,"power":26593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545277952}} 
[2026-07-19 16:20:32] local.INFO: TCP Data received {"connection_id":139092,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79fe5190012d196740071fee88003f004c2c..."} 
[2026-07-19 16:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79fe5190012d196740071fee88003f004c2c..."} 
[2026-07-19 16:20:32] local.INFO: Processing buffer {"connection_id":139092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79fe5190012d196740071fee88003f004c2c..."} 
[2026-07-19 16:20:32] local.INFO: Packet analysis {"connection_id":139092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79fe"} 
[2026-07-19 16:20:32] local.INFO: Extracted packet for processing {"connection_id":139092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79fe"} 
[2026-07-19 16:20:32] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 16:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821277952001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784458138000,"timestamp_ms":1784458138000,"timestamp_seconds":1784458138,"priority":1,"record_length":96,"hex_timestamp":"0000019f79fe5190"} 
[2026-07-19 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-07-19 16:20: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-07-19 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:20:32] 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-07-19 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-07-19 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-07-19 16:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":139092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":139092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":139092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821277952001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821277952001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:20:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:20:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821277952001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":136616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512798,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:20:32] local.INFO: GPS data processed {"connection_id":136616,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:20:32] local.INFO: Acknowledgment sent {"connection_id":136616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":139092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:20:32] local.INFO: GPS data processed {"connection_id":139092,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:20:32] local.INFO: Acknowledgment sent {"connection_id":139092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:20:37] local.INFO: TCP Data received {"connection_id":136738,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:20:37] local.INFO: Processing buffer {"connection_id":136738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:20:37] local.INFO: IMEI packet received {"connection_id":136738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":136738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:20:38] local.INFO: TCP Data received {"connection_id":136738,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:20:38] local.INFO: Processing buffer {"connection_id":136738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:20:38] local.INFO: Packet analysis {"connection_id":136738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:20:38] local.INFO: Extracted packet for processing {"connection_id":136738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821196800001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20: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-07-19 16:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784458101000,"timestamp_ms":1784458101000,"timestamp_seconds":1784458101,"priority":1,"record_length":96,"hex_timestamp":"0000019f79fdc108"} 
[2026-07-19 16:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821196800001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821196800001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821196800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":136738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:20:38] local.INFO: GPS data processed {"connection_id":136738,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:20:38] local.INFO: Acknowledgment sent {"connection_id":136738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:20:50] local.INFO: TCP Data received {"connection_id":139093,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-19 16:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139093,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-19 16:20:50] local.INFO: Processing buffer {"connection_id":139093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-19 16:20:50] local.INFO: Packet analysis {"connection_id":139093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-19 16:20:50] local.INFO: Extracted packet for processing {"connection_id":139093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-19 16:20:50] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-19 16:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:50] 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-07-19 16:20:50] 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-07-19 16:20:50] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-19 16:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":139093,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-19 16:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-19 16:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-19 16:20:50] local.WARNING: DEBUG: No valid data to process  
[2026-07-19 16:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":139093,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-19 16:20:50] local.ERROR: GPS data processing failed {"connection_id":139093,"error":"No valid data to process"} 
[2026-07-19 16:20:50] local.INFO: Acknowledgment sent {"connection_id":139093,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-19 16:20:51] local.INFO: TCP Data received {"connection_id":136617,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:20:51] local.INFO: Processing buffer {"connection_id":136617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:20:51] local.INFO: IMEI packet received {"connection_id":136617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":136617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:20:56] local.INFO: TCP Data received {"connection_id":136617,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:20:56] local.INFO: Processing buffer {"connection_id":136617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:20:56] local.INFO: IMEI packet received {"connection_id":136617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":136617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:20:57] local.INFO: TCP Data received {"connection_id":136617,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79fea398012d196740071fee88003f004c2d..."} 
[2026-07-19 16:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79fea398012d196740071fee88003f004c2d..."} 
[2026-07-19 16:20:57] local.INFO: Processing buffer {"connection_id":136617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79fea398012d196740071fee88003f004c2d..."} 
[2026-07-19 16:20:57] local.INFO: Packet analysis {"connection_id":136617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79fe"} 
[2026-07-19 16:20:57] local.INFO: Extracted packet for processing {"connection_id":136617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79fe"} 
[2026-07-19 16:20:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821283328001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20: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-07-19 16:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784458159000,"timestamp_ms":1784458159000,"timestamp_seconds":1784458159,"priority":1,"record_length":96,"hex_timestamp":"0000019f79fea398"} 
[2026-07-19 16:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:20: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-07-19 16:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8789921841418148199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21443775276515328,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3909143928,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195247100690638,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13465703,"corrected_to":0} 
[2026-07-19 16:20:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4245254145,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:20:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:20:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,255,45,64,238,63,47,10,66,173,43,91,1,240,200,227,121,31,4,113,205,183,136,239,2,25,7,48],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":200,"original":13465703,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:20:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712176251731968,"timestamp_seconds":4539712176251732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821283328001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821283328001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:20:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:20:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821283328001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":136617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:20:57] local.INFO: GPS data processed {"connection_id":136617,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:20:57] local.INFO: Acknowledgment sent {"connection_id":136617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:21:10] local.INFO: TCP Data received {"connection_id":136738,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:21:10] local.INFO: Processing buffer {"connection_id":136738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:21:10] local.INFO: Packet analysis {"connection_id":136738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:21:10] local.INFO: Extracted packet for processing {"connection_id":136738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 16:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821196800001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:21: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-07-19 16:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784458101000,"timestamp_ms":1784458101000,"timestamp_seconds":1784458101,"priority":1,"record_length":96,"hex_timestamp":"0000019f79fdc108"} 
[2026-07-19 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-07-19 16:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 16:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:21:10] 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-07-19 16:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821196800001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821196800001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:21:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821196800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":136738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:21:10] local.INFO: GPS data processed {"connection_id":136738,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:21:10] local.INFO: Acknowledgment sent {"connection_id":136738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:21:16] local.INFO: TCP Data received {"connection_id":137713,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137713,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:21:16] local.INFO: Processing buffer {"connection_id":137713,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:21:16] local.INFO: IMEI packet received {"connection_id":137713,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 16:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":137713,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:21:21] local.INFO: TCP Data received {"connection_id":139093,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a001a980100000000000000000000000000..."} 
[2026-07-19 16:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a001a980100000000000000000000000000..."} 
[2026-07-19 16:21:21] local.INFO: Processing buffer {"connection_id":139093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a001a980100000000000000000000000000..."} 
[2026-07-19 16:21:21] local.INFO: Packet analysis {"connection_id":139093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a00"} 
[2026-07-19 16:21:21] local.INFO: Extracted packet for processing {"connection_id":139093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a00"} 
[2026-07-19 16:21: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-07-19 16: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-07-19 16:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 16:21:21] 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-07-19 16:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784458255000,"timestamp_ms":1784458255000,"timestamp_seconds":1784458255,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a001a98"} 
[2026-07-19 16:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:21:21] 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-07-19 16: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":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-19 16:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":139093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":139093,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-19 16:21:21] local.INFO: GPS data processed {"connection_id":139093,"processed":0,"errors":0,"total":1} 
[2026-07-19 16:21:21] local.INFO: Acknowledgment sent {"connection_id":139093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:21:28] local.INFO: TCP Data received {"connection_id":136617,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79fef5a0012d196740071fee88003f004c30..."} 
[2026-07-19 16:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79fef5a0012d196740071fee88003f004c30..."} 
[2026-07-19 16:21:28] local.INFO: Processing buffer {"connection_id":136617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79fef5a0012d196740071fee88003f004c30..."} 
[2026-07-19 16:21:28] local.INFO: Packet analysis {"connection_id":136617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79fe"} 
[2026-07-19 16:21:28] local.INFO: Extracted packet for processing {"connection_id":136617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79fe"} 
[2026-07-19 16:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":48,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821288704001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:21: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-07-19 16:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784458180000,"timestamp_ms":1784458180000,"timestamp_seconds":1784458180,"priority":1,"record_length":96,"hex_timestamp":"0000019f79fef5a0"} 
[2026-07-19 16:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:21: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-07-19 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821288704001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821288704001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:21:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:21:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821288704001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":136617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:21:28] local.INFO: GPS data processed {"connection_id":136617,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:21:28] local.INFO: Acknowledgment sent {"connection_id":136617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:21:31] local.INFO: TCP Data received {"connection_id":136739,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:21:31] local.INFO: Processing buffer {"connection_id":136739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:21:31] local.INFO: IMEI packet received {"connection_id":136739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":136739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:21:36] local.INFO: TCP Data received {"connection_id":136739,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:21:36] local.INFO: Processing buffer {"connection_id":136739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:21:36] local.INFO: IMEI packet received {"connection_id":136739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":136739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:21:37] local.INFO: TCP Data received {"connection_id":136739,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:21:37] local.INFO: Processing buffer {"connection_id":136739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:21:37] local.INFO: Packet analysis {"connection_id":136739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:21:37] local.INFO: Extracted packet for processing {"connection_id":136739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821196800001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784458101000,"timestamp_ms":1784458101000,"timestamp_seconds":1784458101,"priority":1,"record_length":96,"hex_timestamp":"0000019f79fdc108"} 
[2026-07-19 16:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821196800001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821196800001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:21:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:21:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821196800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":136739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:21:37] local.INFO: GPS data processed {"connection_id":136739,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:21:37] local.INFO: Acknowledgment sent {"connection_id":136739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:21:51] local.INFO: TCP Data received {"connection_id":136740,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:21:51] local.INFO: Processing buffer {"connection_id":136740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:21:51] local.INFO: IMEI packet received {"connection_id":136740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":136740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:21:52] local.INFO: TCP Data received {"connection_id":139093,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a005d00012d7a420005da73580007015a09..."} 
[2026-07-19 16:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a005d00012d7a420005da73580007015a09..."} 
[2026-07-19 16:21:52] local.INFO: Processing buffer {"connection_id":139093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a005d00012d7a420005da73580007015a09..."} 
[2026-07-19 16:21:52] local.INFO: Packet analysis {"connection_id":139093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a00"} 
[2026-07-19 16:21:52] local.INFO: Extracted packet for processing {"connection_id":139093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a00"} 
[2026-07-19 16:21:52] local.INFO: GPS Element Parsed {"raw_longitude":762987008,"raw_latitude":98202456,"longitude_deg":76.2987008,"latitude_deg":9.8202456,"altitude":7,"angle":346,"satellites":9,"speed":13,"hex_longitude":"2d7a4200","hex_latitude":"05da7358","is_valid_coordinates":true} 
[2026-07-19 16:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 16:21:52] 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-07-19 16:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784458272000,"timestamp_ms":1784458272000,"timestamp_seconds":1784458272,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a005d00"} 
[2026-07-19 16:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1024,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-19 16:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2676,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":139093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13276,"229":206,"85":15104,"24":13,"16":108181494517727232},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16]} 
[2026-07-19 16:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-19 16:21:52] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 16:21:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:21:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13276,"unknown_229":206,"unknown_85":15104,"ignition":13,"odometer":null}} 
[2026-07-19 16:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":139093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:21:52] local.INFO: GPS data processed {"connection_id":139093,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:21:52] local.INFO: Acknowledgment sent {"connection_id":139093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:21:56] local.INFO: TCP Data received {"connection_id":136740,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:21:56] local.INFO: Processing buffer {"connection_id":136740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:21:56] local.INFO: IMEI packet received {"connection_id":136740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":136740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:21:57] local.INFO: TCP Data received {"connection_id":136740,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ff47a8012d196740071fee88003f004c2d..."} 
[2026-07-19 16:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ff47a8012d196740071fee88003f004c2d..."} 
[2026-07-19 16:21:57] local.INFO: Processing buffer {"connection_id":136740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ff47a8012d196740071fee88003f004c2d..."} 
[2026-07-19 16:21:57] local.INFO: Packet analysis {"connection_id":136740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ff"} 
[2026-07-19 16:21:57] local.INFO: Extracted packet for processing {"connection_id":136740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ff"} 
[2026-07-19 16:21:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821294080001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:21: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-07-19 16:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784458201000,"timestamp_ms":1784458201000,"timestamp_seconds":1784458201,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ff47a8"} 
[2026-07-19 16:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821294080001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821294080001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:21:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:21:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821294080001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":136740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:21:57] local.INFO: GPS data processed {"connection_id":136740,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:21:57] local.INFO: Acknowledgment sent {"connection_id":136740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:22:08] local.INFO: TCP Data received {"connection_id":136739,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:22:08] local.INFO: Processing buffer {"connection_id":136739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:22:08] local.INFO: Packet analysis {"connection_id":136739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:22:08] local.INFO: Extracted packet for processing {"connection_id":136739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821196800001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784458101000,"timestamp_ms":1784458101000,"timestamp_seconds":1784458101,"priority":1,"record_length":96,"hex_timestamp":"0000019f79fdc108"} 
[2026-07-19 16:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:22: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-07-19 16: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-07-19 16:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:22: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-07-19 16:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821196800001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821196800001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:22:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821196800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":136739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:22:08] local.INFO: GPS data processed {"connection_id":136739,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:22:08] local.INFO: Acknowledgment sent {"connection_id":136739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:22:23] local.INFO: TCP Data received {"connection_id":139093,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0068b8012d7a410005da79f0000a015b09..."} 
[2026-07-19 16:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0068b8012d7a410005da79f0000a015b09..."} 
[2026-07-19 16:22:23] local.INFO: Processing buffer {"connection_id":139093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0068b8012d7a410005da79f0000a015b09..."} 
[2026-07-19 16:22:23] local.INFO: Packet analysis {"connection_id":139093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a00"} 
[2026-07-19 16:22:23] local.INFO: Extracted packet for processing {"connection_id":139093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a00"} 
[2026-07-19 16:22:23] local.INFO: GPS Element Parsed {"raw_longitude":762986752,"raw_latitude":98204144,"longitude_deg":76.2986752,"latitude_deg":9.8204144,"altitude":10,"angle":347,"satellites":9,"speed":20,"hex_longitude":"2d7a4100","hex_latitude":"05da79f0","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821317632001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181576122105856,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809603846229940224,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784458275000,"timestamp_ms":1784458275000,"timestamp_seconds":1784458275,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0068b8"} 
[2026-07-19 16:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:22:23] 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-07-19 16:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-19 16:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":139093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821317632001,"66":13037,"229":206,"85":15104,"24":20,"16":108181576122105856,"45":8809603846229940224},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 16:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821317632001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:22:23] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 16:22:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181576122105856,"km_value":108181576122105.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809603846229940224,"description":"Unknown IO ID 45"} 
[2026-07-19 16:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821317632001,"power":13037,"unknown_229":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8809603846229940224}} 
[2026-07-19 16:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":139093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512808,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:22:23] local.INFO: GPS data processed {"connection_id":139093,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:22:23] local.INFO: Acknowledgment sent {"connection_id":139093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:22:28] local.INFO: TCP Data received {"connection_id":136740,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ff99b0012d196740071fee88003f004c2e..."} 
[2026-07-19 16:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ff99b0012d196740071fee88003f004c2e..."} 
[2026-07-19 16:22:28] local.INFO: Processing buffer {"connection_id":136740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ff99b0012d196740071fee88003f004c2e..."} 
[2026-07-19 16:22:28] local.INFO: Packet analysis {"connection_id":136740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ff"} 
[2026-07-19 16:22:28] local.INFO: Extracted packet for processing {"connection_id":136740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ff"} 
[2026-07-19 16:22:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 16:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821299456001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22: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-07-19 16:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784458222000,"timestamp_ms":1784458222000,"timestamp_seconds":1784458222,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ff99b0"} 
[2026-07-19 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-07-19 16:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 16:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821299456001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821299456001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:22:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:22:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821299456001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":136740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:22:28] local.INFO: GPS data processed {"connection_id":136740,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:22:28] local.INFO: Acknowledgment sent {"connection_id":136740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:22:31] local.INFO: TCP Data received {"connection_id":139094,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:22:31] local.INFO: Processing buffer {"connection_id":139094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:22:31] local.INFO: IMEI packet received {"connection_id":139094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":139094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:22:36] local.INFO: TCP Data received {"connection_id":139094,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:22:36] local.INFO: Processing buffer {"connection_id":139094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:22:36] local.INFO: IMEI packet received {"connection_id":139094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":139094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:22:37] local.INFO: TCP Data received {"connection_id":139094,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:22:37] local.INFO: Processing buffer {"connection_id":139094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:22:37] local.INFO: Packet analysis {"connection_id":139094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:22:37] local.INFO: Extracted packet for processing {"connection_id":139094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821196800001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22: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-07-19 16:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784458101000,"timestamp_ms":1784458101000,"timestamp_seconds":1784458101,"priority":1,"record_length":96,"hex_timestamp":"0000019f79fdc108"} 
[2026-07-19 16:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:22: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-07-19 16:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821196800001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821196800001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:22:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821196800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":139094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:22:37] local.INFO: GPS data processed {"connection_id":139094,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:22:37] local.INFO: Acknowledgment sent {"connection_id":139094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:22:51] local.INFO: TCP Data received {"connection_id":136741,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:22:51] local.INFO: Processing buffer {"connection_id":136741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:22:51] local.INFO: IMEI packet received {"connection_id":136741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":136741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:22:54] local.INFO: TCP Data received {"connection_id":139093,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a01a138012d7a338005daa200001100850d..."} 
[2026-07-19 16:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a01a138012d7a338005daa200001100850d..."} 
[2026-07-19 16:22:54] local.INFO: Processing buffer {"connection_id":139093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a01a138012d7a338005daa200001100850d..."} 
[2026-07-19 16:22:54] local.INFO: Packet analysis {"connection_id":139093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:22:54] local.INFO: Extracted packet for processing {"connection_id":139093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:22:54] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98214400,"longitude_deg":76.2983296,"latitude_deg":9.82144,"altitude":17,"angle":133,"satellites":13,"speed":1,"hex_longitude":"2d7a3380","hex_latitude":"05daa200","is_valid_coordinates":true} 
[2026-07-19 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-07-19 16:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821336832001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182297676611584,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805311352838232064,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:54] 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-07-19 16:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784458355000,"timestamp_ms":1784458355000,"timestamp_seconds":1784458355,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a01a138"} 
[2026-07-19 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-07-19 16:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-19 16:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751611991,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":4686839862978936842,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:54] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:54] local.WARNING: Large IO value detected {"io_id":122,"raw_value":4161332492311724052,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:54] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2765619219,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:54] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632547396069349,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2816803022,"corrected_to":0} 
[2026-07-19 16:22:54] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:54] local.WARNING: Large IO value detected {"io_id":50,"raw_value":1369320407705898581,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:54] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:54] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,229,85,24,241,157,16,87,159,106,45,164,18,12,10,66,128,19,1,240,84,227,122,218,4,113,205,6,54,96,239,53,2,5,20,50,59],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2816803022,"validated":0}]} 
[2026-07-19 16:22:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1297196173408468992,"timestamp_seconds":1297196173408469.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 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-07-19 16:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":139093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821336832001,"66":13428,"229":206,"85":15104,"24":1,"16":108182297676611584,"45":8805311352838232064},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 16:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821336832001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:22:54] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 16:22:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182297676611584,"km_value":108182297676611.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805311352838232064,"description":"Unknown IO ID 45"} 
[2026-07-19 16:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821336832001,"power":13428,"unknown_229":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8805311352838232064}} 
[2026-07-19 16:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":139093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512811,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:22:54] local.INFO: GPS data processed {"connection_id":139093,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:22:54] local.INFO: Acknowledgment sent {"connection_id":139093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:22:56] local.INFO: TCP Data received {"connection_id":136741,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:22:56] local.INFO: Processing buffer {"connection_id":136741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:22:56] local.INFO: IMEI packet received {"connection_id":136741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":136741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:22:57] local.INFO: TCP Data received {"connection_id":136741,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f79ffebb8012d196740071fee88003f004c2d..."} 
[2026-07-19 16:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79ffebb8012d196740071fee88003f004c2d..."} 
[2026-07-19 16:22:57] local.INFO: Processing buffer {"connection_id":136741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79ffebb8012d196740071fee88003f004c2d..."} 
[2026-07-19 16:22:57] local.INFO: Packet analysis {"connection_id":136741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79ff"} 
[2026-07-19 16:22:57] local.INFO: Extracted packet for processing {"connection_id":136741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79ff"} 
[2026-07-19 16:22:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821304832001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22: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-07-19 16:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784458243000,"timestamp_ms":1784458243000,"timestamp_seconds":1784458243,"priority":1,"record_length":96,"hex_timestamp":"0000019f79ffebb8"} 
[2026-07-19 16:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:22: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-07-19 16:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8790282618671012199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21439377230004224,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832593,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:57] local.WARNING: Large IO value detected {"io_id":255,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4266758145,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:22:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:22:57] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,71,45,64,238,63,10,66,245,48,163,1,240,255,227,121,31,4,113,205,136,47,239,2,25,7,46],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:22:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712184841666560,"timestamp_seconds":4539712184841667.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821304832001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821304832001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:22:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:22:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821304832001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":136741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:22:57] local.INFO: GPS data processed {"connection_id":136741,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:22:57] local.INFO: Acknowledgment sent {"connection_id":136741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:23:08] local.INFO: TCP Data received {"connection_id":139094,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:23:08] local.INFO: Processing buffer {"connection_id":139094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:23:08] local.INFO: Packet analysis {"connection_id":139094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:23:08] local.INFO: Extracted packet for processing {"connection_id":139094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821196800001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23: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-07-19 16:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784458101000,"timestamp_ms":1784458101000,"timestamp_seconds":1784458101,"priority":1,"record_length":96,"hex_timestamp":"0000019f79fdc108"} 
[2026-07-19 16:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:23: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-07-19 16:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:23: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-07-19 16:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821196800001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821196800001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:23:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821196800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":139094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:23:08] local.INFO: GPS data processed {"connection_id":139094,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:23:08] local.INFO: Acknowledgment sent {"connection_id":139094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:23:26] local.INFO: TCP Data received {"connection_id":139093,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:23:26] local.INFO: Processing buffer {"connection_id":139093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:23:26] local.INFO: Packet analysis {"connection_id":139093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:23:26] local.INFO: Extracted packet for processing {"connection_id":139093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:23:26] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214352,"longitude_deg":76.2983424,"latitude_deg":9.8214352,"altitude":16,"angle":143,"satellites":14,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa1d0","is_valid_coordinates":true} 
[2026-07-19 16:23: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-07-19 16:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821338880001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459070693376,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:26] 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-07-19 16:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784458364000,"timestamp_ms":1784458364000,"timestamp_seconds":1784458364,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a01c460"} 
[2026-07-19 16:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-19 16:23:26] 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-07-19 16: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-07-19 16:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":139093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821338880001,"66":13341,"229":206,"85":15104,"24":0,"16":108182301971578880,"45":8805522459070693376},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 16:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821338880001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:23:26] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 16:23:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459070693376,"description":"Unknown IO ID 45"} 
[2026-07-19 16:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821338880001,"power":13341,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805522459070693376}} 
[2026-07-19 16:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":139093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:23:26] local.INFO: GPS data processed {"connection_id":139093,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:23:26] local.INFO: Acknowledgment sent {"connection_id":139093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:23:28] local.INFO: TCP Data received {"connection_id":136741,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a003dc0012d196740071fee88003f004c2c..."} 
[2026-07-19 16:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a003dc0012d196740071fee88003f004c2c..."} 
[2026-07-19 16:23:28] local.INFO: Processing buffer {"connection_id":136741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a003dc0012d196740071fee88003f004c2c..."} 
[2026-07-19 16:23:28] local.INFO: Packet analysis {"connection_id":136741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a00"} 
[2026-07-19 16:23:28] local.INFO: Extracted packet for processing {"connection_id":136741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a00"} 
[2026-07-19 16:23:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821310208001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23: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-07-19 16:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784458264000,"timestamp_ms":1784458264000,"timestamp_seconds":1784458264,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a003dc0"} 
[2026-07-19 16:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8790372812984228199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21443775276515328,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832593,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:28] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4272134145,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:23:28] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:28] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,144,159,153,45,64,238,63,46,10,66,71,245,1,240,255,227,121,31,4,113,205,81,136,44,239,48,2,25,7,43],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:23:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712180546699264,"timestamp_seconds":4539712180546699.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821310208001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821310208001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:23:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:23:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821310208001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":136741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:23:28] local.INFO: GPS data processed {"connection_id":136741,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:23:28] local.INFO: Acknowledgment sent {"connection_id":136741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:23:36] local.INFO: TCP Data received {"connection_id":136742,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:23:36] local.INFO: Processing buffer {"connection_id":136742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:23:36] local.INFO: IMEI packet received {"connection_id":136742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":136742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:23:41] local.INFO: TCP Data received {"connection_id":136742,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:23:41] local.INFO: Processing buffer {"connection_id":136742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:23:41] local.INFO: IMEI packet received {"connection_id":136742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":136742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:23:42] local.INFO: TCP Data received {"connection_id":136742,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:23:42] local.INFO: Processing buffer {"connection_id":136742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:23:42] local.INFO: Packet analysis {"connection_id":136742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:23:42] local.INFO: Extracted packet for processing {"connection_id":136742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:23:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821196800001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784458101000,"timestamp_ms":1784458101000,"timestamp_seconds":1784458101,"priority":1,"record_length":96,"hex_timestamp":"0000019f79fdc108"} 
[2026-07-19 16:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:23: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-07-19 16:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821196800001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821196800001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:23:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:23:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821196800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":136742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:23:42] local.INFO: GPS data processed {"connection_id":136742,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:23:42] local.INFO: Acknowledgment sent {"connection_id":136742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:23:46] local.INFO: TCP Data received {"connection_id":136742,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:23:46] local.INFO: Processing buffer {"connection_id":136742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f79fdc108012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:23:46] local.INFO: Packet analysis {"connection_id":136742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:23:46] local.INFO: Extracted packet for processing {"connection_id":136742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f79fd"} 
[2026-07-19 16:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821196800001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784458101000,"timestamp_ms":1784458101000,"timestamp_seconds":1784458101,"priority":1,"record_length":96,"hex_timestamp":"0000019f79fdc108"} 
[2026-07-19 16:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":136742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":136742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":136742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821196800001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821196800001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:23:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821196800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":136742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:23:46] local.INFO: GPS data processed {"connection_id":136742,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:23:46] local.INFO: Acknowledgment sent {"connection_id":136742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:23:51] local.INFO: TCP Data received {"connection_id":136619,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:23:51] local.INFO: Processing buffer {"connection_id":136619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:23:51] local.INFO: IMEI packet received {"connection_id":136619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":136619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:23:56] local.INFO: TCP Data received {"connection_id":136619,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:23:56] local.INFO: Processing buffer {"connection_id":136619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:23:56] local.INFO: IMEI packet received {"connection_id":136619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":136619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:23:57] local.INFO: TCP Data received {"connection_id":136619,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a008fc8012d196740071fee88003f004c2d..."} 
[2026-07-19 16:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a008fc8012d196740071fee88003f004c2d..."} 
[2026-07-19 16:23:57] local.INFO: Processing buffer {"connection_id":136619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a008fc8012d196740071fee88003f004c2d..."} 
[2026-07-19 16:23:57] local.INFO: Packet analysis {"connection_id":136619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a00"} 
[2026-07-19 16:23:57] local.INFO: Extracted packet for processing {"connection_id":136619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a00"} 
[2026-07-19 16:23:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 16:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821315584001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23: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-07-19 16:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784458285000,"timestamp_ms":1784458285000,"timestamp_seconds":1784458285,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a008fc8"} 
[2026-07-19 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-07-19 16:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 16:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821315584001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821315584001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:23:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:23:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821315584001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":136619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:23:57] local.INFO: GPS data processed {"connection_id":136619,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:23:57] local.INFO: Acknowledgment sent {"connection_id":136619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:23:57] local.INFO: TCP Data received {"connection_id":139093,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:23:57] local.INFO: Processing buffer {"connection_id":139093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:23:57] local.INFO: Packet analysis {"connection_id":139093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:23:57] local.INFO: Extracted packet for processing {"connection_id":139093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:23:57] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214352,"longitude_deg":76.2983424,"latitude_deg":9.8214352,"altitude":16,"angle":143,"satellites":14,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa1d0","is_valid_coordinates":true} 
[2026-07-19 16:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821341184001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805663196559036416,"note":"Value kept but may cause issues"} 
[2026-07-19 16:23: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-07-19 16:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784458364000,"timestamp_ms":1784458364000,"timestamp_seconds":1784458364,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a01c460"} 
[2026-07-19 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-07-19 16:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6144,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-19 16:23: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-07-19 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-07-19 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-07-19 16:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821341184001,"66":13341,"229":206,"85":15104,"24":0,"16":108182301971578880,"45":8805663196559036416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 16:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821341184001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:23:57] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 16:23:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805663196559036416,"description":"Unknown IO ID 45"} 
[2026-07-19 16:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821341184001,"power":13341,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805663196559036416}} 
[2026-07-19 16:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":139093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:23:57] local.INFO: GPS data processed {"connection_id":139093,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:23:57] local.INFO: Acknowledgment sent {"connection_id":139093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:24:28] local.INFO: TCP Data received {"connection_id":136619,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a00e1d0012d196740071fee88003f004c2c..."} 
[2026-07-19 16:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a00e1d0012d196740071fee88003f004c2c..."} 
[2026-07-19 16:24:28] local.INFO: Processing buffer {"connection_id":136619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a00e1d0012d196740071fee88003f004c2c..."} 
[2026-07-19 16:24:28] local.INFO: Packet analysis {"connection_id":136619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a00"} 
[2026-07-19 16:24:28] local.INFO: Extracted packet for processing {"connection_id":136619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a00"} 
[2026-07-19 16:24:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821320960001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24: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-07-19 16:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784458306000,"timestamp_ms":1784458306000,"timestamp_seconds":1784458306,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a00e1d0"} 
[2026-07-19 16:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8790553201610660199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21441576253259776,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832593,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:28] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4282886145,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:24:28] local.WARNING: Large IO value detected {"io_id":245,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,61,45,64,238,63,44,10,66,235,153,1,240,227,121,31,4,113,205,245,136,48,239,47,2,25,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:24:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712180546699264,"timestamp_seconds":4539712180546699.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821320960001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821320960001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:24:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:24:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821320960001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":136619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:24:28] local.INFO: GPS data processed {"connection_id":136619,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:24:28] local.INFO: Acknowledgment sent {"connection_id":136619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:24:28] local.INFO: TCP Data received {"connection_id":139093,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:24:28] local.INFO: Processing buffer {"connection_id":139093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:24:28] local.INFO: Packet analysis {"connection_id":139093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:24:28] local.INFO: Extracted packet for processing {"connection_id":139093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:24:28] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214352,"longitude_deg":76.2983424,"latitude_deg":9.8214352,"altitude":16,"angle":143,"satellites":14,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa1d0","is_valid_coordinates":true} 
[2026-07-19 16:24:28] 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-07-19 16:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821341184001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805663196559036416,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784458364000,"timestamp_ms":1784458364000,"timestamp_seconds":1784458364,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a01c460"} 
[2026-07-19 16:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6144,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-19 16:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821341184001,"66":13341,"229":206,"85":15104,"24":0,"16":108182301971578880,"45":8805663196559036416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 16:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821341184001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:24:28] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 16:24:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805663196559036416,"description":"Unknown IO ID 45"} 
[2026-07-19 16:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821341184001,"power":13341,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805663196559036416}} 
[2026-07-19 16:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":139093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:24:29] local.INFO: GPS data processed {"connection_id":139093,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:24:29] local.INFO: Acknowledgment sent {"connection_id":139093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:24:31] local.INFO: TCP Data received {"connection_id":136743,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:24:31] local.INFO: Processing buffer {"connection_id":136743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:24:31] local.INFO: IMEI packet received {"connection_id":136743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":136743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:24:36] local.INFO: TCP Data received {"connection_id":136743,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:24:36] local.INFO: Processing buffer {"connection_id":136743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:24:36] local.INFO: IMEI packet received {"connection_id":136743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":136743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:24:37] local.INFO: TCP Data received {"connection_id":136743,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:24:37] local.INFO: Processing buffer {"connection_id":136743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:24:37] local.INFO: Packet analysis {"connection_id":136743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:24:37] local.INFO: Extracted packet for processing {"connection_id":136743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821273856001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24: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-07-19 16:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784458402000,"timestamp_ms":1784458402000,"timestamp_seconds":1784458402,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0258d0"} 
[2026-07-19 16:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:24: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-07-19 16:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821273856001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821273856001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:24:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821273856001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":136743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:24:37] local.INFO: GPS data processed {"connection_id":136743,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:24:37] local.INFO: Acknowledgment sent {"connection_id":136743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:24:51] local.INFO: TCP Data received {"connection_id":136621,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:24:51] local.INFO: Processing buffer {"connection_id":136621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:24:51] local.INFO: IMEI packet received {"connection_id":136621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":136621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:24:51] local.INFO: TCP Data received {"connection_id":136621,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:24:51] local.INFO: Processing buffer {"connection_id":136621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:24:51] local.INFO: IMEI packet received {"connection_id":136621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":136621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:24:56] local.INFO: TCP Data received {"connection_id":136621,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:24:56] local.INFO: Processing buffer {"connection_id":136621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:24:56] local.INFO: IMEI packet received {"connection_id":136621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":136621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:24:57] local.INFO: TCP Data received {"connection_id":136621,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0133d8012d196740071fee88003f004c2c..."} 
[2026-07-19 16:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0133d8012d196740071fee88003f004c2c..."} 
[2026-07-19 16:24:57] local.INFO: Processing buffer {"connection_id":136621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0133d8012d196740071fee88003f004c2c..."} 
[2026-07-19 16:24:57] local.INFO: Packet analysis {"connection_id":136621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:24:57] local.INFO: Extracted packet for processing {"connection_id":136621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:24:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821326336001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:24: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-07-19 16:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784458327000,"timestamp_ms":1784458327000,"timestamp_seconds":1784458327,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0133d8"} 
[2026-07-19 16:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821326336001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821326336001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:24:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:24:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821326336001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":136621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:24:57] local.INFO: GPS data processed {"connection_id":136621,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:24:57] local.INFO: Acknowledgment sent {"connection_id":136621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:25:00] local.INFO: TCP Data received {"connection_id":139093,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:25:00] local.INFO: Processing buffer {"connection_id":139093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:25:00] local.INFO: Packet analysis {"connection_id":139093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:25:00] local.INFO: Extracted packet for processing {"connection_id":139093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:25:00] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214352,"longitude_deg":76.2983424,"latitude_deg":9.8214352,"altitude":16,"angle":143,"satellites":14,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa1d0","is_valid_coordinates":true} 
[2026-07-19 16:25:00] 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-07-19 16:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821341184001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805663196559036416,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25: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-07-19 16:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784458364000,"timestamp_ms":1784458364000,"timestamp_seconds":1784458364,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a01c460"} 
[2026-07-19 16:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6144,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-19 16:25:00] 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-07-19 16:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":139093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821341184001,"66":13341,"229":206,"85":15104,"24":0,"16":108182301971578880,"45":8805663196559036416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 16:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821341184001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:25:00] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 16:25:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805663196559036416,"description":"Unknown IO ID 45"} 
[2026-07-19 16:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821341184001,"power":13341,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805663196559036416}} 
[2026-07-19 16:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":139093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:25:00] local.INFO: GPS data processed {"connection_id":139093,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:25:00] local.INFO: Acknowledgment sent {"connection_id":139093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:25:09] local.INFO: TCP Data received {"connection_id":136743,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:25:09] local.INFO: Processing buffer {"connection_id":136743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:25:09] local.INFO: Packet analysis {"connection_id":136743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:25:09] local.INFO: Extracted packet for processing {"connection_id":136743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821273856001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25: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-07-19 16:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784458402000,"timestamp_ms":1784458402000,"timestamp_seconds":1784458402,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0258d0"} 
[2026-07-19 16:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:25:09] 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-07-19 16:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821273856001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821273856001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:25:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:25:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821273856001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":136743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:25:09] local.INFO: GPS data processed {"connection_id":136743,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:25:09] local.INFO: Acknowledgment sent {"connection_id":136743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:25:28] local.INFO: TCP Data received {"connection_id":136621,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0185e0012d196740071fee88003f004c2e..."} 
[2026-07-19 16:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0185e0012d196740071fee88003f004c2e..."} 
[2026-07-19 16:25:28] local.INFO: Processing buffer {"connection_id":136621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0185e0012d196740071fee88003f004c2e..."} 
[2026-07-19 16:25:28] local.INFO: Packet analysis {"connection_id":136621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:25:28] local.INFO: Extracted packet for processing {"connection_id":136621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:25:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821331712001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25: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-07-19 16:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784458348000,"timestamp_ms":1784458348000,"timestamp_seconds":1784458348,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0185e0"} 
[2026-07-19 16:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8790733590237092199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21441576253259776,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:28] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4293638145,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:25:28] local.WARNING: Large IO value detected {"io_id":153,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,225,45,64,238,63,44,10,66,143,61,1,240,255,227,121,31,4,113,205,153,136,46,239,48,2,25,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:25:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712176251731968,"timestamp_seconds":4539712176251732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821331712001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821331712001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:25:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:25:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821331712001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":136621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:25:28] local.INFO: GPS data processed {"connection_id":136621,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:25:28] local.INFO: Acknowledgment sent {"connection_id":136621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:25:31] local.INFO: TCP Data received {"connection_id":136622,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:25:31] local.INFO: Processing buffer {"connection_id":136622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:25:31] local.INFO: IMEI packet received {"connection_id":136622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":136622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:25:31] local.INFO: TCP Data received {"connection_id":139093,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:25:31] local.INFO: Processing buffer {"connection_id":139093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:25:31] local.INFO: Packet analysis {"connection_id":139093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:25:31] local.INFO: Extracted packet for processing {"connection_id":139093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:25:31] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214352,"longitude_deg":76.2983424,"latitude_deg":9.8214352,"altitude":16,"angle":143,"satellites":14,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa1d0","is_valid_coordinates":true} 
[2026-07-19 16:25:31] 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-07-19 16:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821341184001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805663196559036416,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25: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-07-19 16:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784458364000,"timestamp_ms":1784458364000,"timestamp_seconds":1784458364,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a01c460"} 
[2026-07-19 16:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6144,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-19 16:25:31] 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-07-19 16:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":139093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821341184001,"66":13341,"229":206,"85":15104,"24":0,"16":108182301971578880,"45":8805663196559036416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 16:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821341184001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:25:31] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 16:25:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805663196559036416,"description":"Unknown IO ID 45"} 
[2026-07-19 16:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821341184001,"power":13341,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805663196559036416}} 
[2026-07-19 16:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":139093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:25:31] local.INFO: GPS data processed {"connection_id":139093,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:25:31] local.INFO: Acknowledgment sent {"connection_id":139093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:25:36] local.INFO: TCP Data received {"connection_id":136622,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:25:36] local.INFO: Processing buffer {"connection_id":136622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:25:36] local.INFO: IMEI packet received {"connection_id":136622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":136622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:25:37] local.INFO: TCP Data received {"connection_id":136622,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:25:37] local.INFO: Processing buffer {"connection_id":136622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:25:37] local.INFO: Packet analysis {"connection_id":136622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:25:37] local.INFO: Extracted packet for processing {"connection_id":136622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821273856001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:25: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-07-19 16:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784458402000,"timestamp_ms":1784458402000,"timestamp_seconds":1784458402,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0258d0"} 
[2026-07-19 16:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16: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-07-19 16:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821273856001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821273856001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:25:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821273856001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":136622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:25:37] local.INFO: GPS data processed {"connection_id":136622,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:25:37] local.INFO: Acknowledgment sent {"connection_id":136622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:25:54] local.INFO: TCP Data received {"connection_id":136623,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:25:54] local.INFO: Processing buffer {"connection_id":136623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:25:54] local.INFO: IMEI packet received {"connection_id":136623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":136623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:25:56] local.INFO: TCP Data received {"connection_id":136623,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:25:56] local.INFO: Processing buffer {"connection_id":136623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:25:56] local.INFO: IMEI packet received {"connection_id":136623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":136623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:26:01] local.INFO: TCP Data received {"connection_id":136623,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:26:01] local.INFO: Processing buffer {"connection_id":136623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:26:01] local.INFO: IMEI packet received {"connection_id":136623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":136623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:26:02] local.INFO: TCP Data received {"connection_id":136623,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a01d7e8012d196740071fee88003f004c2c..."} 
[2026-07-19 16:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a01d7e8012d196740071fee88003f004c2c..."} 
[2026-07-19 16:26:02] local.INFO: Processing buffer {"connection_id":136623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a01d7e8012d196740071fee88003f004c2c..."} 
[2026-07-19 16:26:02] local.INFO: Packet analysis {"connection_id":136623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:26:02] local.INFO: Extracted packet for processing {"connection_id":136623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:26:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821337088001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26: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-07-19 16:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784458369000,"timestamp_ms":1784458369000,"timestamp_seconds":1784458369,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a01d7e8"} 
[2026-07-19 16:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:26: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-07-19 16:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821337088001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821337088001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:26:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:26:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821337088001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":136623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:26:02] local.INFO: GPS data processed {"connection_id":136623,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:26:02] local.INFO: Acknowledgment sent {"connection_id":136623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:26:02] local.INFO: TCP Data received {"connection_id":139093,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:26:02] local.INFO: Processing buffer {"connection_id":139093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:26:02] local.INFO: Packet analysis {"connection_id":139093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:26:02] local.INFO: Extracted packet for processing {"connection_id":139093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:26:02] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214352,"longitude_deg":76.2983424,"latitude_deg":9.8214352,"altitude":16,"angle":143,"satellites":14,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa1d0","is_valid_coordinates":true} 
[2026-07-19 16:26: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-07-19 16:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821341184001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805663196559036416,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26: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-07-19 16:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784458364000,"timestamp_ms":1784458364000,"timestamp_seconds":1784458364,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a01c460"} 
[2026-07-19 16:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6144,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-19 16:26:02] 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-07-19 16:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":139093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821341184001,"66":13341,"229":206,"85":15104,"24":0,"16":108182301971578880,"45":8805663196559036416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 16:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821341184001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:26:02] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 16:26:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805663196559036416,"description":"Unknown IO ID 45"} 
[2026-07-19 16:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821341184001,"power":13341,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805663196559036416}} 
[2026-07-19 16:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":139093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:26:02] local.INFO: GPS data processed {"connection_id":139093,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:26:02] local.INFO: Acknowledgment sent {"connection_id":139093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:26:08] local.INFO: TCP Data received {"connection_id":136622,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:26:08] local.INFO: Processing buffer {"connection_id":136622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:26:08] local.INFO: Packet analysis {"connection_id":136622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:26:08] local.INFO: Extracted packet for processing {"connection_id":136622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821273856001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784458402000,"timestamp_ms":1784458402000,"timestamp_seconds":1784458402,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0258d0"} 
[2026-07-19 16:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16: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-07-19 16: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-07-19 16:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821273856001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821273856001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:26:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821273856001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":136622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:26:08] local.INFO: GPS data processed {"connection_id":136622,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:26:08] local.INFO: Acknowledgment sent {"connection_id":136622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:26:31] local.INFO: TCP Data received {"connection_id":136624,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:26:31] local.INFO: Processing buffer {"connection_id":136624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:26:31] local.INFO: IMEI packet received {"connection_id":136624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":136624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:26:33] local.INFO: TCP Data received {"connection_id":136623,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0229f0012d196740071fee88003f004c2d..."} 
[2026-07-19 16:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0229f0012d196740071fee88003f004c2d..."} 
[2026-07-19 16:26:33] local.INFO: Processing buffer {"connection_id":136623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0229f0012d196740071fee88003f004c2d..."} 
[2026-07-19 16:26:33] local.INFO: Packet analysis {"connection_id":136623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:26:33] local.INFO: Extracted packet for processing {"connection_id":136623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821342464001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:33] 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-07-19 16:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784458390000,"timestamp_ms":1784458390000,"timestamp_seconds":1784458390,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0229f0"} 
[2026-07-19 16:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:33] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:33] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:33] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8790913978863524199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:33] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:33] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21441576253259776,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:33] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:33] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:26:33] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:33] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:33] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:33] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,133,45,64,238,63,46,10,66,51,44,225,1,240,255,227,122,31,4,113,205,61,136,239,47,2,25,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:26:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712176251731968,"timestamp_seconds":4539712176251732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":136623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":136623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":136623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821342464001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821342464001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:26:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:26:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821342464001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":136623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:26:33] local.INFO: GPS data processed {"connection_id":136623,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:26:33] local.INFO: Acknowledgment sent {"connection_id":136623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:26:33] local.INFO: TCP Data received {"connection_id":139093,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:26:33] local.INFO: Processing buffer {"connection_id":139093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:26:33] local.INFO: Packet analysis {"connection_id":139093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:26:33] local.INFO: Extracted packet for processing {"connection_id":139093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:26:33] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214352,"longitude_deg":76.2983424,"latitude_deg":9.8214352,"altitude":16,"angle":143,"satellites":14,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa1d0","is_valid_coordinates":true} 
[2026-07-19 16:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821341184001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805663196559036416,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26: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-07-19 16:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784458364000,"timestamp_ms":1784458364000,"timestamp_seconds":1784458364,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a01c460"} 
[2026-07-19 16:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6144,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-19 16:26:33] 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-07-19 16: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-07-19 16:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":139093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":139093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821341184001,"66":13341,"229":206,"85":15104,"24":0,"16":108182301971578880,"45":8805663196559036416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 16:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821341184001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:26:33] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 16:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805663196559036416,"description":"Unknown IO ID 45"} 
[2026-07-19 16:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821341184001,"power":13341,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805663196559036416}} 
[2026-07-19 16:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":139093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:26:33] local.INFO: GPS data processed {"connection_id":139093,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:26:33] local.INFO: Acknowledgment sent {"connection_id":139093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:26:36] local.INFO: TCP Data received {"connection_id":136624,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:26:36] local.INFO: Processing buffer {"connection_id":136624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:26:36] local.INFO: IMEI packet received {"connection_id":136624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":136624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:26:37] local.INFO: TCP Data received {"connection_id":136624,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:26:37] local.INFO: Processing buffer {"connection_id":136624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:26:37] local.INFO: Packet analysis {"connection_id":136624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:26:37] local.INFO: Extracted packet for processing {"connection_id":136624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821273856001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26: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-07-19 16:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784458402000,"timestamp_ms":1784458402000,"timestamp_seconds":1784458402,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0258d0"} 
[2026-07-19 16:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:26: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-07-19 16:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821273856001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821273856001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:26:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821273856001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":136624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:26:37] local.INFO: GPS data processed {"connection_id":136624,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:26:37] local.INFO: Acknowledgment sent {"connection_id":136624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:26:41] local.INFO: TCP Data received {"connection_id":137715,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:26:41] local.INFO: Processing buffer {"connection_id":137715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:26:41] local.INFO: IMEI packet received {"connection_id":137715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 16:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":137715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:26:51] local.INFO: TCP Data received {"connection_id":136744,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:26:51] local.INFO: Processing buffer {"connection_id":136744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:26:51] local.INFO: IMEI packet received {"connection_id":136744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":136744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:26:53] local.INFO: TCP Data received {"connection_id":139096,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:26:53] local.INFO: Processing buffer {"connection_id":139096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:26:53] local.INFO: IMEI packet received {"connection_id":139096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 16:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":139096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:26:56] local.INFO: TCP Data received {"connection_id":136744,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:26:56] local.INFO: Processing buffer {"connection_id":136744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:26:56] local.INFO: IMEI packet received {"connection_id":136744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":136744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:26:57] local.INFO: TCP Data received {"connection_id":136744,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a027bf8012d196740071fee88003f004c2c..."} 
[2026-07-19 16:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a027bf8012d196740071fee88003f004c2c..."} 
[2026-07-19 16:26:57] local.INFO: Processing buffer {"connection_id":136744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a027bf8012d196740071fee88003f004c2c..."} 
[2026-07-19 16:26:57] local.INFO: Packet analysis {"connection_id":136744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:26:57] local.INFO: Extracted packet for processing {"connection_id":136744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:26:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821347840001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26: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-07-19 16:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784458411000,"timestamp_ms":1784458411000,"timestamp_seconds":1784458411,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a027bf8"} 
[2026-07-19 16:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821347840001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821347840001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:26:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:26:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821347840001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":136744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:26:57] local.INFO: GPS data processed {"connection_id":136744,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:26:57] local.INFO: Acknowledgment sent {"connection_id":136744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:26:58] local.INFO: TCP Data received {"connection_id":139096,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:26:58] local.INFO: Processing buffer {"connection_id":139096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:26:58] local.INFO: IMEI packet received {"connection_id":139096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 16:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":139096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:26:59] local.INFO: TCP Data received {"connection_id":139096,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:26:59] local.INFO: Processing buffer {"connection_id":139096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:26:59] local.INFO: Packet analysis {"connection_id":139096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:26:59] local.INFO: Extracted packet for processing {"connection_id":139096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:26:59] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214352,"longitude_deg":76.2983424,"latitude_deg":9.8214352,"altitude":16,"angle":143,"satellites":14,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa1d0","is_valid_coordinates":true} 
[2026-07-19 16:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821341184001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805663196559036416,"note":"Value kept but may cause issues"} 
[2026-07-19 16:26:59] 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-07-19 16:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784458364000,"timestamp_ms":1784458364000,"timestamp_seconds":1784458364,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a01c460"} 
[2026-07-19 16:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6144,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-19 16:26: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-07-19 16: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-07-19 16:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":139096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":139096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":139096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821341184001,"66":13341,"229":206,"85":15104,"24":0,"16":108182301971578880,"45":8805663196559036416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 16:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821341184001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:26:59] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 16:26:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805663196559036416,"description":"Unknown IO ID 45"} 
[2026-07-19 16:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821341184001,"power":13341,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805663196559036416}} 
[2026-07-19 16:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":139096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:27:00] local.INFO: GPS data processed {"connection_id":139096,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:27:00] local.INFO: Acknowledgment sent {"connection_id":139096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:27:08] local.INFO: TCP Data received {"connection_id":136624,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:27:08] local.INFO: Processing buffer {"connection_id":136624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:27:08] local.INFO: Packet analysis {"connection_id":136624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:27:08] local.INFO: Extracted packet for processing {"connection_id":136624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821273856001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784458402000,"timestamp_ms":1784458402000,"timestamp_seconds":1784458402,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0258d0"} 
[2026-07-19 16:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:27: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-07-19 16: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-07-19 16:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821273856001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821273856001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:27:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:27:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821273856001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":136624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:27:08] local.INFO: GPS data processed {"connection_id":136624,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:27:08] local.INFO: Acknowledgment sent {"connection_id":136624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:27:26] local.INFO: TCP Data received {"connection_id":139097,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:27:26] local.INFO: Processing buffer {"connection_id":139097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:27:26] local.INFO: IMEI packet received {"connection_id":139097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 16:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":139097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:27:28] local.INFO: TCP Data received {"connection_id":136744,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a02ce00012d196740071fee88003f004c2a..."} 
[2026-07-19 16:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a02ce00012d196740071fee88003f004c2a..."} 
[2026-07-19 16:27:28] local.INFO: Processing buffer {"connection_id":136744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a02ce00012d196740071fee88003f004c2a..."} 
[2026-07-19 16:27:28] local.INFO: Packet analysis {"connection_id":136744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:27:28] local.INFO: Extracted packet for processing {"connection_id":136744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:27:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821353216001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27: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-07-19 16:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784458432000,"timestamp_ms":1784458432000,"timestamp_seconds":1784458432,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a02ce00"} 
[2026-07-19 16:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8791094367489956199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21441576253259776,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:27:28] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,41,45,64,238,63,10,66,215,44,133,1,240,255,227,122,31,4,113,205,225,136,239,47,2,25,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:27:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712176251731968,"timestamp_seconds":4539712176251732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821353216001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821353216001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:27:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:27:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821353216001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":136744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:27:29] local.INFO: GPS data processed {"connection_id":136744,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:27:29] local.INFO: Acknowledgment sent {"connection_id":136744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:27:31] local.INFO: TCP Data received {"connection_id":139096,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:27:31] local.INFO: Processing buffer {"connection_id":139096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a01c460012d7a340005daa1d00010008f0e..."} 
[2026-07-19 16:27:31] local.INFO: Packet analysis {"connection_id":139096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:27:31] local.INFO: Extracted packet for processing {"connection_id":139096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a01"} 
[2026-07-19 16:27:31] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214352,"longitude_deg":76.2983424,"latitude_deg":9.8214352,"altitude":16,"angle":143,"satellites":14,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa1d0","is_valid_coordinates":true} 
[2026-07-19 16:27:31] 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-07-19 16:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821341184001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805663196559036416,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27: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-07-19 16:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784458364000,"timestamp_ms":1784458364000,"timestamp_seconds":1784458364,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a01c460"} 
[2026-07-19 16:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6144,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-19 16:27:31] 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-07-19 16:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":139096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":139096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":139096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821341184001,"66":13341,"229":206,"85":15104,"24":0,"16":108182301971578880,"45":8805663196559036416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 16:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821341184001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:27:31] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 16:27:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805663196559036416,"description":"Unknown IO ID 45"} 
[2026-07-19 16:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821341184001,"power":13341,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805663196559036416}} 
[2026-07-19 16:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":139096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:27:31] local.INFO: GPS data processed {"connection_id":139096,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:27:31] local.INFO: Acknowledgment sent {"connection_id":139096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:27:36] local.INFO: TCP Data received {"connection_id":137716,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:27:36] local.INFO: Processing buffer {"connection_id":137716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:27:36] local.INFO: IMEI packet received {"connection_id":137716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":137716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:27:41] local.INFO: TCP Data received {"connection_id":137716,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:27:41] local.INFO: Processing buffer {"connection_id":137716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:27:41] local.INFO: IMEI packet received {"connection_id":137716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":137716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:27:42] local.INFO: TCP Data received {"connection_id":137716,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:27:42] local.INFO: Processing buffer {"connection_id":137716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:27:42] local.INFO: Packet analysis {"connection_id":137716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:27:42] local.INFO: Extracted packet for processing {"connection_id":137716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:27:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821273856001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784458402000,"timestamp_ms":1784458402000,"timestamp_seconds":1784458402,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0258d0"} 
[2026-07-19 16:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821273856001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821273856001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:27:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:27:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821273856001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":137716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:27:42] local.INFO: GPS data processed {"connection_id":137716,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:27:42] local.INFO: Acknowledgment sent {"connection_id":137716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:27:47] local.INFO: TCP Data received {"connection_id":137716,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:27:47] local.INFO: Processing buffer {"connection_id":137716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:27:47] local.INFO: Packet analysis {"connection_id":137716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:27:47] local.INFO: Extracted packet for processing {"connection_id":137716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821273856001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784458402000,"timestamp_ms":1784458402000,"timestamp_seconds":1784458402,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0258d0"} 
[2026-07-19 16:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":137716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":137716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":137716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821273856001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821273856001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:27:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821273856001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":137716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:27:47] local.INFO: GPS data processed {"connection_id":137716,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:27:47] local.INFO: Acknowledgment sent {"connection_id":137716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:27:51] local.INFO: TCP Data received {"connection_id":136745,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:27:51] local.INFO: Processing buffer {"connection_id":136745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:27:51] local.INFO: IMEI packet received {"connection_id":136745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":136745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:27:53] local.INFO: TCP Data received {"connection_id":136625,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:27:53] local.INFO: Processing buffer {"connection_id":136625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:27:53] local.INFO: IMEI packet received {"connection_id":136625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 16:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":136625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:27:56] local.INFO: TCP Data received {"connection_id":136745,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:27:56] local.INFO: Processing buffer {"connection_id":136745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:27:56] local.INFO: IMEI packet received {"connection_id":136745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":136745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:27:57] local.INFO: TCP Data received {"connection_id":136745,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a032008012d196740071fee88003f004c29..."} 
[2026-07-19 16:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a032008012d196740071fee88003f004c29..."} 
[2026-07-19 16:27:57] local.INFO: Processing buffer {"connection_id":136745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a032008012d196740071fee88003f004c29..."} 
[2026-07-19 16:27:57] local.INFO: Packet analysis {"connection_id":136745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a03"} 
[2026-07-19 16:27:57] local.INFO: Extracted packet for processing {"connection_id":136745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a03"} 
[2026-07-19 16:27:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821358592001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27: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-07-19 16:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784458453000,"timestamp_ms":1784458453000,"timestamp_seconds":1784458453,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a032008"} 
[2026-07-19 16:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:27:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821358592001,"66":12265,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821358592001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:27:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:27:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821358592001,"power":12265,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":136745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:27:57] local.INFO: GPS data processed {"connection_id":136745,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:27:57] local.INFO: Acknowledgment sent {"connection_id":136745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:27:58] local.INFO: TCP Data received {"connection_id":136625,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:27:58] local.INFO: Processing buffer {"connection_id":136625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:27:58] local.INFO: IMEI packet received {"connection_id":136625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 16:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":136625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:27:59] local.INFO: TCP Data received {"connection_id":136625,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:27:59] local.INFO: Processing buffer {"connection_id":136625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:27:59] local.INFO: Packet analysis {"connection_id":136625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:27:59] local.INFO: Extracted packet for processing {"connection_id":136625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:27:59] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214368,"longitude_deg":76.2983424,"latitude_deg":9.8214368,"altitude":16,"angle":143,"satellites":37,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa1e0","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821341184001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805663196559036416,"note":"Value kept but may cause issues"} 
[2026-07-19 16:27:59] 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-07-19 16:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784458667000,"timestamp_ms":1784458667000,"timestamp_seconds":1784458667,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0663f8"} 
[2026-07-19 16:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6144,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-19 16:27: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-07-19 16: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-07-19 16:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":136625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":136625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":136625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821341184001,"66":12330,"229":206,"85":15104,"24":0,"16":108182301971578880,"45":8805663196559036416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 16:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821341184001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:27:59] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 16:27:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805663196559036416,"description":"Unknown IO ID 45"} 
[2026-07-19 16:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821341184001,"power":12330,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805663196559036416}} 
[2026-07-19 16:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":136625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:27:59] local.INFO: GPS data processed {"connection_id":136625,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:27:59] local.INFO: Acknowledgment sent {"connection_id":136625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:28:28] local.INFO: TCP Data received {"connection_id":136745,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a037210012d196740071fee88003f004c2b..."} 
[2026-07-19 16:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a037210012d196740071fee88003f004c2b..."} 
[2026-07-19 16:28:28] local.INFO: Processing buffer {"connection_id":136745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a037210012d196740071fee88003f004c2b..."} 
[2026-07-19 16:28:28] local.INFO: Packet analysis {"connection_id":136745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a03"} 
[2026-07-19 16:28:28] local.INFO: Extracted packet for processing {"connection_id":136745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a03"} 
[2026-07-19 16:28:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 16:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821363968001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:28: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-07-19 16:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784458474000,"timestamp_ms":1784458474000,"timestamp_seconds":1784458474,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a037210"} 
[2026-07-19 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-07-19 16:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 16:28:28] 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-07-19 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-07-19 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-07-19 16:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821363968001,"66":12232,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821363968001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:28:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:28:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821363968001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":136745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:28:28] local.INFO: GPS data processed {"connection_id":136745,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:28:28] local.INFO: Acknowledgment sent {"connection_id":136745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:28:30] local.INFO: TCP Data received {"connection_id":136625,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:28:30] local.INFO: Processing buffer {"connection_id":136625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:28:30] local.INFO: Packet analysis {"connection_id":136625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:28:30] local.INFO: Extracted packet for processing {"connection_id":136625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:28:30] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214368,"longitude_deg":76.2983424,"latitude_deg":9.8214368,"altitude":16,"angle":143,"satellites":37,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa1e0","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821341184001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 16:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805663196559036416,"note":"Value kept but may cause issues"} 
[2026-07-19 16:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784458667000,"timestamp_ms":1784458667000,"timestamp_seconds":1784458667,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0663f8"} 
[2026-07-19 16:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6144,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-19 16:28: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-07-19 16: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-07-19 16:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":136625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":136625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":136625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821341184001,"66":12330,"229":206,"85":15104,"24":0,"16":108182301971578880,"45":8805663196559036416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 16:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821341184001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:28:30] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 16:28:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805663196559036416,"description":"Unknown IO ID 45"} 
[2026-07-19 16:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821341184001,"power":12330,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805663196559036416}} 
[2026-07-19 16:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":136625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:28:30] local.INFO: GPS data processed {"connection_id":136625,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:28:30] local.INFO: Acknowledgment sent {"connection_id":136625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:28:31] local.INFO: TCP Data received {"connection_id":136746,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:28:31] local.INFO: Processing buffer {"connection_id":136746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:28:31] local.INFO: IMEI packet received {"connection_id":136746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":136746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:28:36] local.INFO: TCP Data received {"connection_id":136746,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:28:36] local.INFO: Processing buffer {"connection_id":136746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:28:36] local.INFO: IMEI packet received {"connection_id":136746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":136746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:28:37] local.INFO: TCP Data received {"connection_id":136746,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:28:37] local.INFO: Processing buffer {"connection_id":136746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0258d0012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:28:37] local.INFO: Packet analysis {"connection_id":136746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:28:37] local.INFO: Extracted packet for processing {"connection_id":136746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a02"} 
[2026-07-19 16:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821273856001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:28: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-07-19 16:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784458402000,"timestamp_ms":1784458402000,"timestamp_seconds":1784458402,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0258d0"} 
[2026-07-19 16:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:28: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-07-19 16:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:28: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-07-19 16:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821273856001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821273856001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:28:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821273856001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":136746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:28:37] local.INFO: GPS data processed {"connection_id":136746,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:28:37] local.INFO: Acknowledgment sent {"connection_id":136746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:28:51] local.INFO: TCP Data received {"connection_id":136628,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:28:51] local.INFO: Processing buffer {"connection_id":136628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:28:51] local.INFO: IMEI packet received {"connection_id":136628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":136628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:28:53] local.INFO: TCP Data received {"connection_id":137717,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:28:53] local.INFO: Processing buffer {"connection_id":137717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:28:53] local.INFO: IMEI packet received {"connection_id":137717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 16:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":137717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:28:56] local.INFO: TCP Data received {"connection_id":136628,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:28:56] local.INFO: Processing buffer {"connection_id":136628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:28:56] local.INFO: IMEI packet received {"connection_id":136628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":136628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:28:57] local.INFO: TCP Data received {"connection_id":136628,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a03c418012d196740071fee88003f004c2d..."} 
[2026-07-19 16:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a03c418012d196740071fee88003f004c2d..."} 
[2026-07-19 16:28:57] local.INFO: Processing buffer {"connection_id":136628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a03c418012d196740071fee88003f004c2d..."} 
[2026-07-19 16:28:57] local.INFO: Packet analysis {"connection_id":136628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a03"} 
[2026-07-19 16:28:57] local.INFO: Extracted packet for processing {"connection_id":136628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a03"} 
[2026-07-19 16:28:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 16:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821369344001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:28: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-07-19 16:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784458495000,"timestamp_ms":1784458495000,"timestamp_seconds":1784458495,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a03c418"} 
[2026-07-19 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-07-19 16:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-19 16:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 16:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821369344001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821369344001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:28:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:28:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821369344001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":136628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:28:57] local.INFO: GPS data processed {"connection_id":136628,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:28:57] local.INFO: Acknowledgment sent {"connection_id":136628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:28:58] local.INFO: TCP Data received {"connection_id":137717,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:28:58] local.INFO: Processing buffer {"connection_id":137717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:28:58] local.INFO: IMEI packet received {"connection_id":137717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 16:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":137717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:28:59] local.INFO: TCP Data received {"connection_id":137717,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:28:59] local.INFO: Processing buffer {"connection_id":137717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:28:59] local.INFO: Packet analysis {"connection_id":137717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:28:59] local.INFO: Extracted packet for processing {"connection_id":137717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:28:59] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214368,"longitude_deg":76.2983424,"latitude_deg":9.8214368,"altitude":16,"angle":143,"satellites":37,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa1e0","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821341184001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 16:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805663196559036416,"note":"Value kept but may cause issues"} 
[2026-07-19 16:28:59] 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-07-19 16:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784458667000,"timestamp_ms":1784458667000,"timestamp_seconds":1784458667,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0663f8"} 
[2026-07-19 16:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6144,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-19 16:28: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-07-19 16: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-07-19 16:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":137717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":137717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":137717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821341184001,"66":12330,"229":206,"85":15104,"24":0,"16":108182301971578880,"45":8805663196559036416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 16:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821341184001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:28:59] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 16:28:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805663196559036416,"description":"Unknown IO ID 45"} 
[2026-07-19 16:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821341184001,"power":12330,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805663196559036416}} 
[2026-07-19 16:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":137717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:28:59] local.INFO: GPS data processed {"connection_id":137717,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:28:59] local.INFO: Acknowledgment sent {"connection_id":137717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:29:09] local.INFO: TCP Data received {"connection_id":136746,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:29:09] local.INFO: Processing buffer {"connection_id":136746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:29:09] local.INFO: Packet analysis {"connection_id":136746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:29:09] local.INFO: Extracted packet for processing {"connection_id":136746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821350912001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:29: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-07-19 16:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784458703000,"timestamp_ms":1784458703000,"timestamp_seconds":1784458703,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a06f098"} 
[2026-07-19 16:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:29: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-07-19 16:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821350912001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821350912001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:29:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:29:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821350912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":136746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:29:09] local.INFO: GPS data processed {"connection_id":136746,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:29:09] local.INFO: Acknowledgment sent {"connection_id":136746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:29:28] local.INFO: TCP Data received {"connection_id":136628,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a041620012d196740071fee88003f004c2c..."} 
[2026-07-19 16:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a041620012d196740071fee88003f004c2c..."} 
[2026-07-19 16:29:28] local.INFO: Processing buffer {"connection_id":136628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a041620012d196740071fee88003f004c2c..."} 
[2026-07-19 16:29:28] local.INFO: Packet analysis {"connection_id":136628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a04"} 
[2026-07-19 16:29:28] local.INFO: Extracted packet for processing {"connection_id":136628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a04"} 
[2026-07-19 16:29:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821374720001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:29: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-07-19 16:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784458516000,"timestamp_ms":1784458516000,"timestamp_seconds":1784458516,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a041620"} 
[2026-07-19 16:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 16:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821374720001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821374720001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:29:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:29:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821374720001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":136628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:29:28] local.INFO: GPS data processed {"connection_id":136628,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:29:28] local.INFO: Acknowledgment sent {"connection_id":136628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:29:30] local.INFO: TCP Data received {"connection_id":137717,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:29:30] local.INFO: Processing buffer {"connection_id":137717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:29:30] local.INFO: Packet analysis {"connection_id":137717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:29:30] local.INFO: Extracted packet for processing {"connection_id":137717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:29:30] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214368,"longitude_deg":76.2983424,"latitude_deg":9.8214368,"altitude":16,"angle":143,"satellites":37,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa1e0","is_valid_coordinates":true} 
[2026-07-19 16:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821341184001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 16:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805663196559036416,"note":"Value kept but may cause issues"} 
[2026-07-19 16:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784458667000,"timestamp_ms":1784458667000,"timestamp_seconds":1784458667,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0663f8"} 
[2026-07-19 16:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6144,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-19 16:29: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-07-19 16:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":137717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":137717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":137717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821341184001,"66":12330,"229":206,"85":15104,"24":0,"16":108182301971578880,"45":8805663196559036416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 16:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821341184001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:29:30] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 16:29:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805663196559036416,"description":"Unknown IO ID 45"} 
[2026-07-19 16:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821341184001,"power":12330,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805663196559036416}} 
[2026-07-19 16:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":137717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:29:30] local.INFO: GPS data processed {"connection_id":137717,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:29:30] local.INFO: Acknowledgment sent {"connection_id":137717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:29:31] local.INFO: TCP Data received {"connection_id":137719,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:29:31] local.INFO: Processing buffer {"connection_id":137719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:29:31] local.INFO: IMEI packet received {"connection_id":137719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":137719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:29:36] local.INFO: TCP Data received {"connection_id":137719,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:29:36] local.INFO: Processing buffer {"connection_id":137719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:29:36] local.INFO: IMEI packet received {"connection_id":137719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":137719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:29:37] local.INFO: TCP Data received {"connection_id":137719,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:29:37] local.INFO: Processing buffer {"connection_id":137719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:29:37] local.INFO: Packet analysis {"connection_id":137719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:29:37] local.INFO: Extracted packet for processing {"connection_id":137719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:29:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821350912001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:29: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-07-19 16:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784458703000,"timestamp_ms":1784458703000,"timestamp_seconds":1784458703,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a06f098"} 
[2026-07-19 16:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821350912001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821350912001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:29:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:29:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821350912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":137719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:29:37] local.INFO: GPS data processed {"connection_id":137719,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:29:37] local.INFO: Acknowledgment sent {"connection_id":137719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:29:51] local.INFO: TCP Data received {"connection_id":136747,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:29:51] local.INFO: Processing buffer {"connection_id":136747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:29:51] local.INFO: IMEI packet received {"connection_id":136747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":136747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:29:53] local.INFO: TCP Data received {"connection_id":136748,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:29:53] local.INFO: Processing buffer {"connection_id":136748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:29:53] local.INFO: IMEI packet received {"connection_id":136748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 16:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":136748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:29:56] local.INFO: TCP Data received {"connection_id":136747,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:29:56] local.INFO: Processing buffer {"connection_id":136747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:29:56] local.INFO: IMEI packet received {"connection_id":136747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":136747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:29:57] local.INFO: TCP Data received {"connection_id":136747,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a046828012d196740071fee88003f004c2a..."} 
[2026-07-19 16:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a046828012d196740071fee88003f004c2a..."} 
[2026-07-19 16:29:57] local.INFO: Processing buffer {"connection_id":136747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a046828012d196740071fee88003f004c2a..."} 
[2026-07-19 16:29:57] local.INFO: Packet analysis {"connection_id":136747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a04"} 
[2026-07-19 16:29:57] local.INFO: Extracted packet for processing {"connection_id":136747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a04"} 
[2026-07-19 16:29:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821380096001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:29: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-07-19 16:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784458537000,"timestamp_ms":1784458537000,"timestamp_seconds":1784458537,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a046828"} 
[2026-07-19 16:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821380096001,"66":12265,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821380096001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:29:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:29:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821380096001,"power":12265,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":136747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:29:57] local.INFO: GPS data processed {"connection_id":136747,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:29:57] local.INFO: Acknowledgment sent {"connection_id":136747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:29:58] local.INFO: TCP Data received {"connection_id":136748,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:29:58] local.INFO: Processing buffer {"connection_id":136748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:29:58] local.INFO: IMEI packet received {"connection_id":136748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 16:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":136748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:29:59] local.INFO: TCP Data received {"connection_id":136748,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:29:59] local.INFO: Processing buffer {"connection_id":136748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:29:59] local.INFO: Packet analysis {"connection_id":136748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:29:59] local.INFO: Extracted packet for processing {"connection_id":136748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:29:59] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214368,"longitude_deg":76.2983424,"latitude_deg":9.8214368,"altitude":16,"angle":143,"satellites":37,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa1e0","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821341184001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 16:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805663196559036416,"note":"Value kept but may cause issues"} 
[2026-07-19 16:29:59] 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-07-19 16:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784458667000,"timestamp_ms":1784458667000,"timestamp_seconds":1784458667,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0663f8"} 
[2026-07-19 16:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6144,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-19 16:29: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-07-19 16: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-07-19 16:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":136748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":136748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":136748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821341184001,"66":12330,"229":206,"85":15104,"24":0,"16":108182301971578880,"45":8805663196559036416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 16:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821341184001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:29:59] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 16:29:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805663196559036416,"description":"Unknown IO ID 45"} 
[2026-07-19 16:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821341184001,"power":12330,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805663196559036416}} 
[2026-07-19 16:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":136748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:29:59] local.INFO: GPS data processed {"connection_id":136748,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:29:59] local.INFO: Acknowledgment sent {"connection_id":136748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:30:08] local.INFO: TCP Data received {"connection_id":137719,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:30:08] local.INFO: Processing buffer {"connection_id":137719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:30:08] local.INFO: Packet analysis {"connection_id":137719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:30:08] local.INFO: Extracted packet for processing {"connection_id":137719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821350912001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784458703000,"timestamp_ms":1784458703000,"timestamp_seconds":1784458703,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a06f098"} 
[2026-07-19 16:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:30: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-07-19 16: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-07-19 16:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:30: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-07-19 16:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821350912001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821350912001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:30:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:30:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821350912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":137719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:30:08] local.INFO: GPS data processed {"connection_id":137719,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:30:08] local.INFO: Acknowledgment sent {"connection_id":137719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:30:28] local.INFO: TCP Data received {"connection_id":136747,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a04ba30012d196740071fee88003f004c29..."} 
[2026-07-19 16:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a04ba30012d196740071fee88003f004c29..."} 
[2026-07-19 16:30:28] local.INFO: Processing buffer {"connection_id":136747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a04ba30012d196740071fee88003f004c29..."} 
[2026-07-19 16:30:28] local.INFO: Packet analysis {"connection_id":136747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a04"} 
[2026-07-19 16:30:28] local.INFO: Extracted packet for processing {"connection_id":136747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a04"} 
[2026-07-19 16:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821385472001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:30: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-07-19 16:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784458558000,"timestamp_ms":1784458558000,"timestamp_seconds":1784458558,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a04ba30"} 
[2026-07-19 16:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 16:30:28] 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-07-19 16:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821385472001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821385472001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:30:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:30:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821385472001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":136747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:30:28] local.INFO: GPS data processed {"connection_id":136747,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:30:28] local.INFO: Acknowledgment sent {"connection_id":136747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:30:30] local.INFO: TCP Data received {"connection_id":136748,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:30:30] local.INFO: Processing buffer {"connection_id":136748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:30:30] local.INFO: Packet analysis {"connection_id":136748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:30:30] local.INFO: Extracted packet for processing {"connection_id":136748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:30:30] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214368,"longitude_deg":76.2983424,"latitude_deg":9.8214368,"altitude":16,"angle":143,"satellites":37,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa1e0","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821341184001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 16:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805663196559036416,"note":"Value kept but may cause issues"} 
[2026-07-19 16:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784458667000,"timestamp_ms":1784458667000,"timestamp_seconds":1784458667,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0663f8"} 
[2026-07-19 16:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6144,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-19 16:30: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-07-19 16: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-07-19 16:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":136748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":136748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":136748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821341184001,"66":12330,"229":206,"85":15104,"24":0,"16":108182301971578880,"45":8805663196559036416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 16:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821341184001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:30:30] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 16:30:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805663196559036416,"description":"Unknown IO ID 45"} 
[2026-07-19 16:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821341184001,"power":12330,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805663196559036416}} 
[2026-07-19 16:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":136748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512857,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:30:30] local.INFO: GPS data processed {"connection_id":136748,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:30:30] local.INFO: Acknowledgment sent {"connection_id":136748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:30:31] local.INFO: TCP Data received {"connection_id":139099,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:30:31] local.INFO: Processing buffer {"connection_id":139099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:30:31] local.INFO: IMEI packet received {"connection_id":139099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":139099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:30:36] local.INFO: TCP Data received {"connection_id":139099,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:30:36] local.INFO: Processing buffer {"connection_id":139099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:30:36] local.INFO: IMEI packet received {"connection_id":139099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":139099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:30:37] local.INFO: TCP Data received {"connection_id":139099,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:30:37] local.INFO: Processing buffer {"connection_id":139099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:30:37] local.INFO: Packet analysis {"connection_id":139099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:30:37] local.INFO: Extracted packet for processing {"connection_id":139099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821350912001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:30: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-07-19 16:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784458703000,"timestamp_ms":1784458703000,"timestamp_seconds":1784458703,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a06f098"} 
[2026-07-19 16:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821350912001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821350912001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:30:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821350912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":139099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:30:37] local.INFO: GPS data processed {"connection_id":139099,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:30:37] local.INFO: Acknowledgment sent {"connection_id":139099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:30:53] local.INFO: TCP Data received {"connection_id":139100,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:30:53] local.INFO: Processing buffer {"connection_id":139100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:30:53] local.INFO: IMEI packet received {"connection_id":139100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 16:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":139100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:30:56] local.INFO: TCP Data received {"connection_id":136749,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:30:56] local.INFO: Processing buffer {"connection_id":136749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:30:56] local.INFO: IMEI packet received {"connection_id":136749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":136749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:30:58] local.INFO: TCP Data received {"connection_id":139100,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:30:58] local.INFO: Processing buffer {"connection_id":139100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:30:58] local.INFO: IMEI packet received {"connection_id":139100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 16:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":139100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:30:59] local.INFO: TCP Data received {"connection_id":139100,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:30:59] local.INFO: Processing buffer {"connection_id":139100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:30:59] local.INFO: Packet analysis {"connection_id":139100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:30:59] local.INFO: Extracted packet for processing {"connection_id":139100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:30:59] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214368,"longitude_deg":76.2983424,"latitude_deg":9.8214368,"altitude":16,"angle":143,"satellites":37,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa1e0","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821341184001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 16:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805663196559036416,"note":"Value kept but may cause issues"} 
[2026-07-19 16:30:59] 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-07-19 16:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784458667000,"timestamp_ms":1784458667000,"timestamp_seconds":1784458667,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0663f8"} 
[2026-07-19 16:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6144,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-19 16:30: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-07-19 16: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-07-19 16:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":139100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":139100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":139100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821341184001,"66":12330,"229":206,"85":15104,"24":0,"16":108182301971578880,"45":8805663196559036416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 16:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821341184001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:30:59] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 16:30:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805663196559036416,"description":"Unknown IO ID 45"} 
[2026-07-19 16:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821341184001,"power":12330,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805663196559036416}} 
[2026-07-19 16:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":139100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:30:59] local.INFO: GPS data processed {"connection_id":139100,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:30:59] local.INFO: Acknowledgment sent {"connection_id":139100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:31:01] local.INFO: TCP Data received {"connection_id":136749,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:31:01] local.INFO: Processing buffer {"connection_id":136749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:31:01] local.INFO: IMEI packet received {"connection_id":136749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":136749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:31:02] local.INFO: TCP Data received {"connection_id":136749,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a050c38012d196740071fee88003f004c2b..."} 
[2026-07-19 16:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a050c38012d196740071fee88003f004c2b..."} 
[2026-07-19 16:31:02] local.INFO: Processing buffer {"connection_id":136749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a050c38012d196740071fee88003f004c2b..."} 
[2026-07-19 16:31:02] local.INFO: Packet analysis {"connection_id":136749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a05"} 
[2026-07-19 16:31:02] local.INFO: Extracted packet for processing {"connection_id":136749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a05"} 
[2026-07-19 16:31:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 16:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821390848001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784458579000,"timestamp_ms":1784458579000,"timestamp_seconds":1784458579,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a050c38"} 
[2026-07-19 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-07-19 16:31: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-07-19 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 16:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821390848001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821390848001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:31:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:31:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821390848001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":136749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:31:02] local.INFO: GPS data processed {"connection_id":136749,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:31:02] local.INFO: Acknowledgment sent {"connection_id":136749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:31:06] local.INFO: TCP Data received {"connection_id":136749,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a055e40012d196740071fee88003f004c2c..."} 
[2026-07-19 16:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a055e40012d196740071fee88003f004c2c..."} 
[2026-07-19 16:31:06] local.INFO: Processing buffer {"connection_id":136749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a055e40012d196740071fee88003f004c2c..."} 
[2026-07-19 16:31:06] local.INFO: Packet analysis {"connection_id":136749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a05"} 
[2026-07-19 16:31:06] local.INFO: Extracted packet for processing {"connection_id":136749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a05"} 
[2026-07-19 16:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821396224001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784458600000,"timestamp_ms":1784458600000,"timestamp_seconds":1784458600,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a055e40"} 
[2026-07-19 16:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821396224001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821396224001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:31:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821396224001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":136749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:31:06] local.INFO: GPS data processed {"connection_id":136749,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:31:06] local.INFO: Acknowledgment sent {"connection_id":136749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:31:09] local.INFO: TCP Data received {"connection_id":139099,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:31:09] local.INFO: Processing buffer {"connection_id":139099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:31:09] local.INFO: Packet analysis {"connection_id":139099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:31:09] local.INFO: Extracted packet for processing {"connection_id":139099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821350912001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31: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-07-19 16:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784458703000,"timestamp_ms":1784458703000,"timestamp_seconds":1784458703,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a06f098"} 
[2026-07-19 16:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:31: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-07-19 16:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821350912001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821350912001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821350912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":139099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:31:09] local.INFO: GPS data processed {"connection_id":139099,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:31:09] local.INFO: Acknowledgment sent {"connection_id":139099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:31:30] local.INFO: TCP Data received {"connection_id":139100,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:31:30] local.INFO: Processing buffer {"connection_id":139100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:31:30] local.INFO: Packet analysis {"connection_id":139100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:31:30] local.INFO: Extracted packet for processing {"connection_id":139100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:31:30] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214368,"longitude_deg":76.2983424,"latitude_deg":9.8214368,"altitude":16,"angle":143,"satellites":37,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa1e0","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821341184001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805663196559036416,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784458667000,"timestamp_ms":1784458667000,"timestamp_seconds":1784458667,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0663f8"} 
[2026-07-19 16:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6144,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-19 16:31: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-07-19 16: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-07-19 16:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":139100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":139100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":139100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821341184001,"66":12330,"229":206,"85":15104,"24":0,"16":108182301971578880,"45":8805663196559036416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 16:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821341184001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:31:30] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 16:31:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805663196559036416,"description":"Unknown IO ID 45"} 
[2026-07-19 16:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821341184001,"power":12330,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805663196559036416}} 
[2026-07-19 16:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":139100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:31:30] local.INFO: GPS data processed {"connection_id":139100,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:31:30] local.INFO: Acknowledgment sent {"connection_id":139100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:31:31] local.INFO: TCP Data received {"connection_id":136630,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:31:31] local.INFO: Processing buffer {"connection_id":136630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:31:31] local.INFO: IMEI packet received {"connection_id":136630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":136630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:31:36] local.INFO: TCP Data received {"connection_id":136630,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:31:36] local.INFO: Processing buffer {"connection_id":136630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:31:36] local.INFO: IMEI packet received {"connection_id":136630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":136630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:31:37] local.INFO: TCP Data received {"connection_id":136630,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:31:37] local.INFO: Processing buffer {"connection_id":136630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:31:37] local.INFO: Packet analysis {"connection_id":136630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:31:37] local.INFO: Extracted packet for processing {"connection_id":136630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821350912001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784458703000,"timestamp_ms":1784458703000,"timestamp_seconds":1784458703,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a06f098"} 
[2026-07-19 16:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821350912001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821350912001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:31:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821350912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":136630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:31:37] local.INFO: GPS data processed {"connection_id":136630,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:31:37] local.INFO: Acknowledgment sent {"connection_id":136630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:31:51] local.INFO: TCP Data received {"connection_id":136631,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:31:51] local.INFO: Processing buffer {"connection_id":136631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:31:51] local.INFO: IMEI packet received {"connection_id":136631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":136631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:31:52] local.INFO: TCP Data received {"connection_id":136631,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:31:52] local.INFO: Processing buffer {"connection_id":136631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:31:52] local.INFO: IMEI packet received {"connection_id":136631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":136631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:31:53] local.INFO: TCP Data received {"connection_id":136632,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:31:53] local.INFO: Processing buffer {"connection_id":136632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:31:53] local.INFO: IMEI packet received {"connection_id":136632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 16:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":136632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:31:56] local.INFO: TCP Data received {"connection_id":136631,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:31:56] local.INFO: Processing buffer {"connection_id":136631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:31:56] local.INFO: IMEI packet received {"connection_id":136631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":136631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:31:57] local.INFO: TCP Data received {"connection_id":136631,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a08e498012d196740071fee88003f004c2c..."} 
[2026-07-19 16:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a08e498012d196740071fee88003f004c2c..."} 
[2026-07-19 16:31:57] local.INFO: Processing buffer {"connection_id":136631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a08e498012d196740071fee88003f004c2c..."} 
[2026-07-19 16:31:57] local.INFO: Packet analysis {"connection_id":136631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a08"} 
[2026-07-19 16:31:57] local.INFO: Extracted packet for processing {"connection_id":136631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a08"} 
[2026-07-19 16:31:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821455360001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31: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-07-19 16:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784458831000,"timestamp_ms":1784458831000,"timestamp_seconds":1784458831,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a08e498"} 
[2026-07-19 16:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8792808059441060199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21442675764887552,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:31:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:57] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,103,83,24,241,157,16,144,159,64,45,238,63,43,10,66,41,156,1,240,227,122,31,4,113,205,248,136,44,239,48,2,25,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:31:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712180546699264,"timestamp_seconds":4539712180546699.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821455360001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821455360001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:31:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:31:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821455360001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":136631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:31:57] local.INFO: GPS data processed {"connection_id":136631,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:31:57] local.INFO: Acknowledgment sent {"connection_id":136631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:31:58] local.INFO: TCP Data received {"connection_id":136632,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:31:58] local.INFO: Processing buffer {"connection_id":136632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:31:58] local.INFO: IMEI packet received {"connection_id":136632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 16:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":136632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:31:59] local.INFO: TCP Data received {"connection_id":136632,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:31:59] local.INFO: Processing buffer {"connection_id":136632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:31:59] local.INFO: Packet analysis {"connection_id":136632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:31:59] local.INFO: Extracted packet for processing {"connection_id":136632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:31:59] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214368,"longitude_deg":76.2983424,"latitude_deg":9.8214368,"altitude":16,"angle":143,"satellites":37,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa1e0","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821341184001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805663196559036416,"note":"Value kept but may cause issues"} 
[2026-07-19 16:31:59] 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-07-19 16:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784458667000,"timestamp_ms":1784458667000,"timestamp_seconds":1784458667,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0663f8"} 
[2026-07-19 16:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6144,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16: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-07-19 16: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-07-19 16:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":136632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":136632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":136632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821341184001,"66":12330,"229":206,"85":15104,"24":0,"16":108182301971578880,"45":8805663196559036416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 16:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821341184001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:31:59] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 16:31:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805663196559036416,"description":"Unknown IO ID 45"} 
[2026-07-19 16:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821341184001,"power":12330,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805663196559036416}} 
[2026-07-19 16:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":136632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:31:59] local.INFO: GPS data processed {"connection_id":136632,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:31:59] local.INFO: Acknowledgment sent {"connection_id":136632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:32:01] local.INFO: TCP Data received {"connection_id":136631,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0936a0012d196740071fee88003f004c28..."} 
[2026-07-19 16:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0936a0012d196740071fee88003f004c28..."} 
[2026-07-19 16:32:01] local.INFO: Processing buffer {"connection_id":136631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0936a0012d196740071fee88003f004c28..."} 
[2026-07-19 16:32:01] local.INFO: Packet analysis {"connection_id":136631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a09"} 
[2026-07-19 16:32:01] local.INFO: Extracted packet for processing {"connection_id":136631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a09"} 
[2026-07-19 16:32:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821460736001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784458852000,"timestamp_ms":1784458852000,"timestamp_seconds":1784458852,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0936a0"} 
[2026-07-19 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-07-19 16:32: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-07-19 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:32:01] 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-07-19 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-07-19 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-07-19 16:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821460736001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821460736001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:32:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:32:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821460736001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":136631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:32:01] local.INFO: GPS data processed {"connection_id":136631,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:32:01] local.INFO: Acknowledgment sent {"connection_id":136631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:32:08] local.INFO: TCP Data received {"connection_id":136630,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:32:08] local.INFO: Processing buffer {"connection_id":136630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:32:08] local.INFO: Packet analysis {"connection_id":136630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:32:08] local.INFO: Extracted packet for processing {"connection_id":136630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821350912001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32: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-07-19 16:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784458703000,"timestamp_ms":1784458703000,"timestamp_seconds":1784458703,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a06f098"} 
[2026-07-19 16:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:32: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-07-19 16:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821350912001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821350912001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:32:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:32:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821350912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":136630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:32:08] local.INFO: GPS data processed {"connection_id":136630,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:32:08] local.INFO: Acknowledgment sent {"connection_id":136630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:32:30] local.INFO: TCP Data received {"connection_id":136632,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:32:30] local.INFO: Processing buffer {"connection_id":136632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0663f8012d7a340005daa1e00010008f25..."} 
[2026-07-19 16:32:30] local.INFO: Packet analysis {"connection_id":136632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:32:30] local.INFO: Extracted packet for processing {"connection_id":136632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:32:30] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214368,"longitude_deg":76.2983424,"latitude_deg":9.8214368,"altitude":16,"angle":143,"satellites":37,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa1e0","is_valid_coordinates":true} 
[2026-07-19 16:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821341184001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805663196559036416,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784458667000,"timestamp_ms":1784458667000,"timestamp_seconds":1784458667,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0663f8"} 
[2026-07-19 16:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6144,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-19 16:32: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-07-19 16:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":136632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":136632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":136632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821341184001,"66":12330,"229":206,"85":15104,"24":0,"16":108182301971578880,"45":8805663196559036416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 16:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821341184001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:32:30] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 16:32:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805663196559036416,"description":"Unknown IO ID 45"} 
[2026-07-19 16:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821341184001,"power":12330,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805663196559036416}} 
[2026-07-19 16:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":136632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:32:30] local.INFO: GPS data processed {"connection_id":136632,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:32:30] local.INFO: Acknowledgment sent {"connection_id":136632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:32:31] local.INFO: TCP Data received {"connection_id":139101,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:32:31] local.INFO: Processing buffer {"connection_id":139101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:32:31] local.INFO: IMEI packet received {"connection_id":139101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":139101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:32:32] local.INFO: TCP Data received {"connection_id":136631,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0988a8012d196740071fee88003f004c25..."} 
[2026-07-19 16:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0988a8012d196740071fee88003f004c25..."} 
[2026-07-19 16:32:32] local.INFO: Processing buffer {"connection_id":136631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0988a8012d196740071fee88003f004c25..."} 
[2026-07-19 16:32:32] local.INFO: Packet analysis {"connection_id":136631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a09"} 
[2026-07-19 16:32:32] local.INFO: Extracted packet for processing {"connection_id":136631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a09"} 
[2026-07-19 16:32:32] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":37,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821466112001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784458873000,"timestamp_ms":1784458873000,"timestamp_seconds":1784458873,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0988a8"} 
[2026-07-19 16:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:32: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-07-19 16:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:32] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:32] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8792988448067492199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:32] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:32] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21438277718376448,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:32] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:32] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:32] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:32:32] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:32] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,103,83,24,241,157,16,144,159,228,45,64,238,63,44,10,66,146,1,240,227,122,31,4,113,205,156,136,42,239,48,2,25,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:32:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712159071862784,"timestamp_seconds":4539712159071863.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821466112001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821466112001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:32:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:32:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821466112001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":136631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:32:32] local.INFO: GPS data processed {"connection_id":136631,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:32:32] local.INFO: Acknowledgment sent {"connection_id":136631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:32:36] local.INFO: TCP Data received {"connection_id":139101,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:32:36] local.INFO: Processing buffer {"connection_id":139101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:32:36] local.INFO: IMEI packet received {"connection_id":139101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":139101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:32:37] local.INFO: TCP Data received {"connection_id":139101,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:32:37] local.INFO: Processing buffer {"connection_id":139101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:32:37] local.INFO: Packet analysis {"connection_id":139101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:32:37] local.INFO: Extracted packet for processing {"connection_id":139101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821350912001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32: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-07-19 16:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784458703000,"timestamp_ms":1784458703000,"timestamp_seconds":1784458703,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a06f098"} 
[2026-07-19 16:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821350912001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821350912001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:32:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821350912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":139101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:32:37] local.INFO: GPS data processed {"connection_id":139101,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:32:37] local.INFO: Acknowledgment sent {"connection_id":139101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:32:51] local.INFO: TCP Data received {"connection_id":139102,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:32:51] local.INFO: Processing buffer {"connection_id":139102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:32:51] local.INFO: IMEI packet received {"connection_id":139102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":139102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:32:54] local.INFO: TCP Data received {"connection_id":139102,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:32:54] local.INFO: Processing buffer {"connection_id":139102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:32:54] local.INFO: IMEI packet received {"connection_id":139102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":139102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:32:55] local.INFO: TCP Data received {"connection_id":139102,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a09dab0012d196740071fee88003f004c2a..."} 
[2026-07-19 16:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a09dab0012d196740071fee88003f004c2a..."} 
[2026-07-19 16:32:55] local.INFO: Processing buffer {"connection_id":139102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a09dab0012d196740071fee88003f004c2a..."} 
[2026-07-19 16:32:55] local.INFO: Packet analysis {"connection_id":139102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a09"} 
[2026-07-19 16:32:55] local.INFO: Extracted packet for processing {"connection_id":139102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a09"} 
[2026-07-19 16:32:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821471488001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:32: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-07-19 16:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784458894000,"timestamp_ms":1784458894000,"timestamp_seconds":1784458894,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a09dab0"} 
[2026-07-19 16:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:32: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-07-19 16:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":139102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":139102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":139102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821471488001,"66":12232,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821471488001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:32:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:32:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821471488001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":139102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:32:55] local.INFO: GPS data processed {"connection_id":139102,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:32:55] local.INFO: Acknowledgment sent {"connection_id":139102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:32:56] local.INFO: TCP Data received {"connection_id":136633,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:32:56] local.INFO: Processing buffer {"connection_id":136633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:32:56] local.INFO: IMEI packet received {"connection_id":136633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 16:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":136633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:33:09] local.INFO: TCP Data received {"connection_id":139101,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:33:09] local.INFO: Processing buffer {"connection_id":139101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:33:09] local.INFO: Packet analysis {"connection_id":139101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:33:09] local.INFO: Extracted packet for processing {"connection_id":139101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:33:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821350912001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784458703000,"timestamp_ms":1784458703000,"timestamp_seconds":1784458703,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a06f098"} 
[2026-07-19 16:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:33:09] 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-07-19 16:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821350912001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821350912001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:33:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:33:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821350912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":139101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:33:09] local.INFO: GPS data processed {"connection_id":139101,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:33:09] local.INFO: Acknowledgment sent {"connection_id":139101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:33:26] local.INFO: TCP Data received {"connection_id":139103,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:33:26] local.INFO: Processing buffer {"connection_id":139103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:33:26] local.INFO: IMEI packet received {"connection_id":139103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 16:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":139103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:33:26] local.INFO: TCP Data received {"connection_id":139102,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0a2cb8012d196740071fee88003f004c2b..."} 
[2026-07-19 16:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0a2cb8012d196740071fee88003f004c2b..."} 
[2026-07-19 16:33:26] local.INFO: Processing buffer {"connection_id":139102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0a2cb8012d196740071fee88003f004c2b..."} 
[2026-07-19 16:33:26] local.INFO: Packet analysis {"connection_id":139102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0a"} 
[2026-07-19 16:33:26] local.INFO: Extracted packet for processing {"connection_id":139102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0a"} 
[2026-07-19 16:33:26] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821476864001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:33: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-07-19 16:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784458915000,"timestamp_ms":1784458915000,"timestamp_seconds":1784458915,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0a2cb8"} 
[2026-07-19 16:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:33: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-07-19 16: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-19 16:33:26] 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-07-19 16: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-07-19 16:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":139102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":139102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":139102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821476864001,"66":12211,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821476864001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:33:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:33:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821476864001,"power":12211,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":139102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:33:26] local.INFO: GPS data processed {"connection_id":139102,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:33:26] local.INFO: Acknowledgment sent {"connection_id":139102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:33:36] local.INFO: TCP Data received {"connection_id":137720,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:33:36] local.INFO: Processing buffer {"connection_id":137720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:33:36] local.INFO: IMEI packet received {"connection_id":137720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":137720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:33:41] local.INFO: TCP Data received {"connection_id":137720,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:33:41] local.INFO: Processing buffer {"connection_id":137720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:33:41] local.INFO: IMEI packet received {"connection_id":137720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":137720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:33:42] local.INFO: TCP Data received {"connection_id":137720,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:33:42] local.INFO: Processing buffer {"connection_id":137720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:33:42] local.INFO: Packet analysis {"connection_id":137720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:33:42] local.INFO: Extracted packet for processing {"connection_id":137720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:33:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821350912001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784458703000,"timestamp_ms":1784458703000,"timestamp_seconds":1784458703,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a06f098"} 
[2026-07-19 16:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821350912001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821350912001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:33:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:33:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821350912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":137720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:33:42] local.INFO: GPS data processed {"connection_id":137720,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:33:42] local.INFO: Acknowledgment sent {"connection_id":137720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:33:47] local.INFO: TCP Data received {"connection_id":137720,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:33:47] local.INFO: Processing buffer {"connection_id":137720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a06f098012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:33:47] local.INFO: Packet analysis {"connection_id":137720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:33:47] local.INFO: Extracted packet for processing {"connection_id":137720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a06"} 
[2026-07-19 16:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821350912001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784458703000,"timestamp_ms":1784458703000,"timestamp_seconds":1784458703,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a06f098"} 
[2026-07-19 16:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":137720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":137720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":137720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821350912001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821350912001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:33:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:33:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821350912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":137720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:33:47] local.INFO: GPS data processed {"connection_id":137720,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:33:47] local.INFO: Acknowledgment sent {"connection_id":137720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:33:51] local.INFO: TCP Data received {"connection_id":136634,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:33:51] local.INFO: Processing buffer {"connection_id":136634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:33:51] local.INFO: IMEI packet received {"connection_id":136634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":136634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:33:56] local.INFO: TCP Data received {"connection_id":136634,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:33:56] local.INFO: Processing buffer {"connection_id":136634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:33:56] local.INFO: IMEI packet received {"connection_id":136634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":136634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:33:57] local.INFO: TCP Data received {"connection_id":136634,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0a7ec0012d196740071fee88003f004c2b..."} 
[2026-07-19 16:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0a7ec0012d196740071fee88003f004c2b..."} 
[2026-07-19 16:33:57] local.INFO: Processing buffer {"connection_id":136634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0a7ec0012d196740071fee88003f004c2b..."} 
[2026-07-19 16:33:57] local.INFO: Packet analysis {"connection_id":136634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0a"} 
[2026-07-19 16:33:57] local.INFO: Extracted packet for processing {"connection_id":136634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0a"} 
[2026-07-19 16:33:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821482240001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:33: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-07-19 16:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784458936000,"timestamp_ms":1784458936000,"timestamp_seconds":1784458936,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0a7ec0"} 
[2026-07-19 16:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-19 16:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821482240001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821482240001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:33:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:33:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821482240001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":136634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:33:57] local.INFO: GPS data processed {"connection_id":136634,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:33:57] local.INFO: Acknowledgment sent {"connection_id":136634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:34:28] local.INFO: TCP Data received {"connection_id":136634,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0ad0c8012d196740071fee88003f004c2c..."} 
[2026-07-19 16:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0ad0c8012d196740071fee88003f004c2c..."} 
[2026-07-19 16:34:28] local.INFO: Processing buffer {"connection_id":136634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0ad0c8012d196740071fee88003f004c2c..."} 
[2026-07-19 16:34:28] local.INFO: Packet analysis {"connection_id":136634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0a"} 
[2026-07-19 16:34:28] local.INFO: Extracted packet for processing {"connection_id":136634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0a"} 
[2026-07-19 16:34:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821487616001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:34: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-07-19 16:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784458957000,"timestamp_ms":1784458957000,"timestamp_seconds":1784458957,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0ad0c8"} 
[2026-07-19 16:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821487616001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821487616001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:34:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:34:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821487616001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":136634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:34:28] local.INFO: GPS data processed {"connection_id":136634,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:34:28] local.INFO: Acknowledgment sent {"connection_id":136634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:34:31] local.INFO: TCP Data received {"connection_id":136751,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:34:31] local.INFO: Processing buffer {"connection_id":136751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:34:31] local.INFO: IMEI packet received {"connection_id":136751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":136751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:34:36] local.INFO: TCP Data received {"connection_id":136751,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:34:36] local.INFO: Processing buffer {"connection_id":136751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:34:36] local.INFO: IMEI packet received {"connection_id":136751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":136751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:34:37] local.INFO: TCP Data received {"connection_id":136751,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:34:37] local.INFO: Processing buffer {"connection_id":136751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:34:37] local.INFO: Packet analysis {"connection_id":136751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:34:37] local.INFO: Extracted packet for processing {"connection_id":136751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821427968001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:34: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-07-19 16:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784459004000,"timestamp_ms":1784459004000,"timestamp_seconds":1784459004,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0b8860"} 
[2026-07-19 16:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:34:37] 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-07-19 16:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821427968001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821427968001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:34:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821427968001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":136751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:34:37] local.INFO: GPS data processed {"connection_id":136751,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:34:37] local.INFO: Acknowledgment sent {"connection_id":136751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:34:51] local.INFO: TCP Data received {"connection_id":139104,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:34:51] local.INFO: Processing buffer {"connection_id":139104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:34:51] local.INFO: IMEI packet received {"connection_id":139104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":139104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:34:56] local.INFO: TCP Data received {"connection_id":139104,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:34:56] local.INFO: Processing buffer {"connection_id":139104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:34:56] local.INFO: IMEI packet received {"connection_id":139104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":139104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:34:57] local.INFO: TCP Data received {"connection_id":139104,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0b22d0012d196740071fee88003f004c2b..."} 
[2026-07-19 16:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0b22d0012d196740071fee88003f004c2b..."} 
[2026-07-19 16:34:57] local.INFO: Processing buffer {"connection_id":139104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0b22d0012d196740071fee88003f004c2b..."} 
[2026-07-19 16:34:57] local.INFO: Packet analysis {"connection_id":139104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:34:57] local.INFO: Extracted packet for processing {"connection_id":139104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:34:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821492992001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:34: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-07-19 16:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784458978000,"timestamp_ms":1784458978000,"timestamp_seconds":1784458978,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0b22d0"} 
[2026-07-19 16:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 16:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821492992001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821492992001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:34:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:34:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821492992001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":139104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:34:57] local.INFO: GPS data processed {"connection_id":139104,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:34:57] local.INFO: Acknowledgment sent {"connection_id":139104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:35:09] local.INFO: TCP Data received {"connection_id":136751,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:35:09] local.INFO: Processing buffer {"connection_id":136751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:35:09] local.INFO: Packet analysis {"connection_id":136751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:35:09] local.INFO: Extracted packet for processing {"connection_id":136751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821427968001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784459004000,"timestamp_ms":1784459004000,"timestamp_seconds":1784459004,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0b8860"} 
[2026-07-19 16:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:35: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-07-19 16:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821427968001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821427968001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:35:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821427968001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":136751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:35:09] local.INFO: GPS data processed {"connection_id":136751,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:35:09] local.INFO: Acknowledgment sent {"connection_id":136751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:35:28] local.INFO: TCP Data received {"connection_id":139104,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0b74d8012d196740071fee88003f004c2c..."} 
[2026-07-19 16:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0b74d8012d196740071fee88003f004c2c..."} 
[2026-07-19 16:35:28] local.INFO: Processing buffer {"connection_id":139104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0b74d8012d196740071fee88003f004c2c..."} 
[2026-07-19 16:35:28] local.INFO: Packet analysis {"connection_id":139104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:35:28] local.INFO: Extracted packet for processing {"connection_id":139104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821498368001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35: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-07-19 16:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784458999000,"timestamp_ms":1784458999000,"timestamp_seconds":1784458999,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0b74d8"} 
[2026-07-19 16:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8793529613946788199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21436078695120896,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:35:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,208,45,64,238,63,44,10,66,126,43,1,240,179,227,122,31,4,113,205,136,37,239,47,2,25,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:35:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712171956764672,"timestamp_seconds":4539712171956765.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821498368001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821498368001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:35:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:35:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821498368001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":139104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:35:28] local.INFO: GPS data processed {"connection_id":139104,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:35:28] local.INFO: Acknowledgment sent {"connection_id":139104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:35:31] local.INFO: TCP Data received {"connection_id":139106,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:35:31] local.INFO: Processing buffer {"connection_id":139106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:35:31] local.INFO: IMEI packet received {"connection_id":139106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":139106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:35:36] local.INFO: TCP Data received {"connection_id":139106,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:35:36] local.INFO: Processing buffer {"connection_id":139106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:35:36] local.INFO: IMEI packet received {"connection_id":139106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":139106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:35:37] local.INFO: TCP Data received {"connection_id":139106,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:35:37] local.INFO: Processing buffer {"connection_id":139106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:35:37] local.INFO: Packet analysis {"connection_id":139106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:35:37] local.INFO: Extracted packet for processing {"connection_id":139106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821427968001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35: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-07-19 16:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784459004000,"timestamp_ms":1784459004000,"timestamp_seconds":1784459004,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0b8860"} 
[2026-07-19 16:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:35: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-07-19 16:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:35: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-07-19 16:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821427968001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821427968001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:35:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821427968001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":139106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:35:37] local.INFO: GPS data processed {"connection_id":139106,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:35:37] local.INFO: Acknowledgment sent {"connection_id":139106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:35:51] local.INFO: TCP Data received {"connection_id":139107,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:35:51] local.INFO: Processing buffer {"connection_id":139107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:35:51] local.INFO: IMEI packet received {"connection_id":139107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":139107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:35:56] local.INFO: TCP Data received {"connection_id":139107,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:35:56] local.INFO: Processing buffer {"connection_id":139107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:35:56] local.INFO: IMEI packet received {"connection_id":139107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":139107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:35:57] local.INFO: TCP Data received {"connection_id":139107,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0bc6e0012d196740071fee88003f004c2e..."} 
[2026-07-19 16:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0bc6e0012d196740071fee88003f004c2e..."} 
[2026-07-19 16:35:57] local.INFO: Processing buffer {"connection_id":139107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0bc6e0012d196740071fee88003f004c2e..."} 
[2026-07-19 16:35:57] local.INFO: Packet analysis {"connection_id":139107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:35:57] local.INFO: Extracted packet for processing {"connection_id":139107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:35:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821503744001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35: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-07-19 16:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784459020000,"timestamp_ms":1784459020000,"timestamp_seconds":1784459020,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0bc6e0"} 
[2026-07-19 16:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8793619808260004199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21432780160237568,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:35:57] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495800,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:35:57] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,144,159,34,45,64,238,63,43,10,66,208,44,126,1,240,255,227,122,31,4,113,205,218,136,42,239,47,2,25,7,40],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:35:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712176251731968,"timestamp_seconds":4539712176251732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821503744001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821503744001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:35:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:35:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821503744001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":139107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:35:57] local.INFO: GPS data processed {"connection_id":139107,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:35:57] local.INFO: Acknowledgment sent {"connection_id":139107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:36:09] local.INFO: TCP Data received {"connection_id":139106,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:36:09] local.INFO: Processing buffer {"connection_id":139106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:36:09] local.INFO: Packet analysis {"connection_id":139106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:36:09] local.INFO: Extracted packet for processing {"connection_id":139106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821427968001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:36: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-07-19 16:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784459004000,"timestamp_ms":1784459004000,"timestamp_seconds":1784459004,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0b8860"} 
[2026-07-19 16:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:36: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-07-19 16:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821427968001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821427968001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:36:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821427968001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":139106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:36:09] local.INFO: GPS data processed {"connection_id":139106,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:36:09] local.INFO: Acknowledgment sent {"connection_id":139106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:36:28] local.INFO: TCP Data received {"connection_id":139107,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0c18e8012d196740071fee88003f004c2e..."} 
[2026-07-19 16:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0c18e8012d196740071fee88003f004c2e..."} 
[2026-07-19 16:36:28] local.INFO: Processing buffer {"connection_id":139107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0c18e8012d196740071fee88003f004c2e..."} 
[2026-07-19 16:36:28] local.INFO: Packet analysis {"connection_id":139107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0c"} 
[2026-07-19 16:36:28] local.INFO: Extracted packet for processing {"connection_id":139107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0c"} 
[2026-07-19 16:36:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821509120001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:36: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-07-19 16:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784459041000,"timestamp_ms":1784459041000,"timestamp_seconds":1784459041,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0c18e8"} 
[2026-07-19 16:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821509120001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821509120001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:36:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:36:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821509120001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":139107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:36:28] local.INFO: GPS data processed {"connection_id":139107,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:36:28] local.INFO: Acknowledgment sent {"connection_id":139107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:36:30] local.INFO: TCP Data received {"connection_id":136752,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:36:30] local.INFO: Processing buffer {"connection_id":136752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:36:30] local.INFO: IMEI packet received {"connection_id":136752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":136752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:36:36] local.INFO: TCP Data received {"connection_id":136752,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:36:36] local.INFO: Processing buffer {"connection_id":136752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:36:36] local.INFO: IMEI packet received {"connection_id":136752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":136752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:36:36] local.INFO: TCP Data received {"connection_id":136752,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:36:36] local.INFO: Processing buffer {"connection_id":136752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:36:36] local.INFO: Packet analysis {"connection_id":136752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:36:36] local.INFO: Extracted packet for processing {"connection_id":136752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821427968001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:36: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-07-19 16:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784459004000,"timestamp_ms":1784459004000,"timestamp_seconds":1784459004,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0b8860"} 
[2026-07-19 16:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:36: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-07-19 16:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:36: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-07-19 16:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821427968001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821427968001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:36:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:36:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821427968001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":136752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:36:36] local.INFO: GPS data processed {"connection_id":136752,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:36:36] local.INFO: Acknowledgment sent {"connection_id":136752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:36:56] local.INFO: TCP Data received {"connection_id":139108,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:36:56] local.INFO: Processing buffer {"connection_id":139108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:36:56] local.INFO: IMEI packet received {"connection_id":139108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":139108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:37:01] local.INFO: TCP Data received {"connection_id":139108,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:37:01] local.INFO: Processing buffer {"connection_id":139108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:37:01] local.INFO: IMEI packet received {"connection_id":139108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":139108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:37:02] local.INFO: TCP Data received {"connection_id":139108,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0c6af0012d196740071fee88003f004c2e..."} 
[2026-07-19 16:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0c6af0012d196740071fee88003f004c2e..."} 
[2026-07-19 16:37:02] local.INFO: Processing buffer {"connection_id":139108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0c6af0012d196740071fee88003f004c2e..."} 
[2026-07-19 16:37:02] local.INFO: Packet analysis {"connection_id":139108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0c"} 
[2026-07-19 16:37:02] local.INFO: Extracted packet for processing {"connection_id":139108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0c"} 
[2026-07-19 16:37:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 16:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821514496001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:37: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-07-19 16:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784459062000,"timestamp_ms":1784459062000,"timestamp_seconds":1784459062,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0c6af0"} 
[2026-07-19 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-07-19 16:37: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-07-19 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 16:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":139108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":139108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":139108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821514496001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821514496001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:37:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:37:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821514496001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":139108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:37:02] local.INFO: GPS data processed {"connection_id":139108,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:37:02] local.INFO: Acknowledgment sent {"connection_id":139108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:37:06] local.INFO: TCP Data received {"connection_id":139108,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0cbcf8012d196740071fee88003f004c26..."} 
[2026-07-19 16:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0cbcf8012d196740071fee88003f004c26..."} 
[2026-07-19 16:37:06] local.INFO: Processing buffer {"connection_id":139108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0cbcf8012d196740071fee88003f004c26..."} 
[2026-07-19 16:37:06] local.INFO: Packet analysis {"connection_id":139108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0c"} 
[2026-07-19 16:37:06] local.INFO: Extracted packet for processing {"connection_id":139108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0c"} 
[2026-07-19 16:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":38,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821519872001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784459083000,"timestamp_ms":1784459083000,"timestamp_seconds":1784459083,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0cbcf8"} 
[2026-07-19 16:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:37: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-07-19 16:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":139108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":139108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":139108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821519872001,"66":12265,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821519872001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:37:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821519872001,"power":12265,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":139108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:37:06] local.INFO: GPS data processed {"connection_id":139108,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:37:06] local.INFO: Acknowledgment sent {"connection_id":139108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:37:07] local.INFO: TCP Data received {"connection_id":136752,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:37:07] local.INFO: Processing buffer {"connection_id":136752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:37:07] local.INFO: Packet analysis {"connection_id":136752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:37:07] local.INFO: Extracted packet for processing {"connection_id":136752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:37:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 16:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821427968001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:37: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-07-19 16:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784459004000,"timestamp_ms":1784459004000,"timestamp_seconds":1784459004,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0b8860"} 
[2026-07-19 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-07-19 16:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 16:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821427968001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821427968001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:37:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:37:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821427968001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":136752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:37:07] local.INFO: GPS data processed {"connection_id":136752,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:37:07] local.INFO: Acknowledgment sent {"connection_id":136752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:37:30] local.INFO: TCP Data received {"connection_id":136754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:37:30] local.INFO: Processing buffer {"connection_id":136754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:37:30] local.INFO: IMEI packet received {"connection_id":136754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":136754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:37:35] local.INFO: TCP Data received {"connection_id":136754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:37:35] local.INFO: Processing buffer {"connection_id":136754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:37:35] local.INFO: IMEI packet received {"connection_id":136754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":136754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:37:36] local.INFO: TCP Data received {"connection_id":136754,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:37:36] local.INFO: Processing buffer {"connection_id":136754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:37:36] local.INFO: Packet analysis {"connection_id":136754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:37:36] local.INFO: Extracted packet for processing {"connection_id":136754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821427968001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:37: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-07-19 16:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784459004000,"timestamp_ms":1784459004000,"timestamp_seconds":1784459004,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0b8860"} 
[2026-07-19 16:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:37: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-07-19 16: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-07-19 16:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:37: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-07-19 16:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821427968001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821427968001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:37:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:37:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821427968001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":136754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:37:36] local.INFO: GPS data processed {"connection_id":136754,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:37:36] local.INFO: Acknowledgment sent {"connection_id":136754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:37:48] local.INFO: TCP Data received {"connection_id":139109,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:37:48] local.INFO: Processing buffer {"connection_id":139109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:37:48] local.INFO: IMEI packet received {"connection_id":139109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":139109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:37:51] local.INFO: TCP Data received {"connection_id":139109,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:37:51] local.INFO: Processing buffer {"connection_id":139109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:37:51] local.INFO: IMEI packet received {"connection_id":139109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":139109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:37:56] local.INFO: TCP Data received {"connection_id":139109,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:37:56] local.INFO: Processing buffer {"connection_id":139109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:37:56] local.INFO: IMEI packet received {"connection_id":139109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":139109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:37:56] local.INFO: TCP Data received {"connection_id":139109,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0d0f00012d196740071fee88003f004c2c..."} 
[2026-07-19 16:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0d0f00012d196740071fee88003f004c2c..."} 
[2026-07-19 16:37:56] local.INFO: Processing buffer {"connection_id":139109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0d0f00012d196740071fee88003f004c2c..."} 
[2026-07-19 16:37:56] local.INFO: Packet analysis {"connection_id":139109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0d"} 
[2026-07-19 16:37:56] local.INFO: Extracted packet for processing {"connection_id":139109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0d"} 
[2026-07-19 16:37:56] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821525248001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:37: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-07-19 16:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784459104000,"timestamp_ms":1784459104000,"timestamp_seconds":1784459104,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0d0f00"} 
[2026-07-19 16:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:37: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-07-19 16: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 16:37:56] 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-07-19 16: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-07-19 16:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821525248001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821525248001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:37:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:37:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821525248001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":139109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:37:56] local.INFO: GPS data processed {"connection_id":139109,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:37:56] local.INFO: Acknowledgment sent {"connection_id":139109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:38:08] local.INFO: TCP Data received {"connection_id":136754,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:38:08] local.INFO: Processing buffer {"connection_id":136754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:38:08] local.INFO: Packet analysis {"connection_id":136754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:38:08] local.INFO: Extracted packet for processing {"connection_id":136754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821427968001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38: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-07-19 16:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784459004000,"timestamp_ms":1784459004000,"timestamp_seconds":1784459004,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0b8860"} 
[2026-07-19 16:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:38: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-07-19 16: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-07-19 16:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:38: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-07-19 16:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821427968001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821427968001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:38:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:38:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821427968001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":136754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:38:08] local.INFO: GPS data processed {"connection_id":136754,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:38:08] local.INFO: Acknowledgment sent {"connection_id":136754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:38:27] local.INFO: TCP Data received {"connection_id":139109,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0d6108012d196740071fee88003f004c2f..."} 
[2026-07-19 16:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0d6108012d196740071fee88003f004c2f..."} 
[2026-07-19 16:38:27] local.INFO: Processing buffer {"connection_id":139109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0d6108012d196740071fee88003f004c2f..."} 
[2026-07-19 16:38:27] local.INFO: Packet analysis {"connection_id":139109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0d"} 
[2026-07-19 16:38:27] local.INFO: Extracted packet for processing {"connection_id":139109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0d"} 
[2026-07-19 16:38:27] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821530624001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38: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-07-19 16:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784459125000,"timestamp_ms":1784459125000,"timestamp_seconds":1784459125,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0d6108"} 
[2026-07-19 16:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:38:27] 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-07-19 16:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821530624001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821530624001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:38:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:38:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821530624001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":139109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:38:27] local.INFO: GPS data processed {"connection_id":139109,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:38:27] local.INFO: Acknowledgment sent {"connection_id":139109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:38:31] local.INFO: TCP Data received {"connection_id":137722,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:38:31] local.INFO: Processing buffer {"connection_id":137722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:38:31] local.INFO: IMEI packet received {"connection_id":137722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":137722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:38:36] local.INFO: TCP Data received {"connection_id":137722,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:38:36] local.INFO: Processing buffer {"connection_id":137722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:38:36] local.INFO: IMEI packet received {"connection_id":137722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":137722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:38:37] local.INFO: TCP Data received {"connection_id":137722,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:38:37] local.INFO: Processing buffer {"connection_id":137722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0b8860012d34c50006aa4dd8000800952e..."} 
[2026-07-19 16:38:37] local.INFO: Packet analysis {"connection_id":137722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:38:37] local.INFO: Extracted packet for processing {"connection_id":137722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0b"} 
[2026-07-19 16:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821427968001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38: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-07-19 16:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784459004000,"timestamp_ms":1784459004000,"timestamp_seconds":1784459004,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0b8860"} 
[2026-07-19 16:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:38: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-07-19 16:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:38: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-07-19 16:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821427968001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821427968001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:38:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:38:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821427968001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":137722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:38:37] local.INFO: GPS data processed {"connection_id":137722,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:38:37] local.INFO: Acknowledgment sent {"connection_id":137722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:38:46] local.INFO: TCP Data received {"connection_id":137721,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:38:46] local.INFO: Processing buffer {"connection_id":137721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:38:46] local.INFO: IMEI packet received {"connection_id":137721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 16:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":137721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:38:51] local.INFO: TCP Data received {"connection_id":139110,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:38:51] local.INFO: Processing buffer {"connection_id":139110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:38:51] local.INFO: IMEI packet received {"connection_id":139110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":139110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:38:51] local.INFO: TCP Data received {"connection_id":139110,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:38:51] local.INFO: Processing buffer {"connection_id":139110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:38:51] local.INFO: IMEI packet received {"connection_id":139110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":139110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:38:56] local.INFO: TCP Data received {"connection_id":139110,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:38:56] local.INFO: Processing buffer {"connection_id":139110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:38:56] local.INFO: IMEI packet received {"connection_id":139110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":139110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:38:57] local.INFO: TCP Data received {"connection_id":139110,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0db310012d196740071fee88003f004c2d..."} 
[2026-07-19 16:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0db310012d196740071fee88003f004c2d..."} 
[2026-07-19 16:38:57] local.INFO: Processing buffer {"connection_id":139110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0db310012d196740071fee88003f004c2d..."} 
[2026-07-19 16:38:57] local.INFO: Packet analysis {"connection_id":139110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0d"} 
[2026-07-19 16:38:57] local.INFO: Extracted packet for processing {"connection_id":139110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0d"} 
[2026-07-19 16:38:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821536000001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38: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-07-19 16:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784459146000,"timestamp_ms":1784459146000,"timestamp_seconds":1784459146,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0db310"} 
[2026-07-19 16:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8794160974139300199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21440476741632000,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:38:57] local.WARNING: Large IO value detected {"io_id":198,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:38:57] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,144,159,15,45,64,238,63,44,10,66,188,38,106,1,240,255,227,122,31,4,113,205,198,136,46,239,47,2,25,7,43],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:38:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712189136633856,"timestamp_seconds":4539712189136634.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821536000001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821536000001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:38:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:38:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821536000001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":139110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:38:57] local.INFO: GPS data processed {"connection_id":139110,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:38:57] local.INFO: Acknowledgment sent {"connection_id":139110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:39:08] local.INFO: TCP Data received {"connection_id":137722,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:39:08] local.INFO: Processing buffer {"connection_id":137722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:39:08] local.INFO: Packet analysis {"connection_id":137722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:39:08] local.INFO: Extracted packet for processing {"connection_id":137722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821505024001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784459305000,"timestamp_ms":1784459305000,"timestamp_seconds":1784459305,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a102028"} 
[2026-07-19 16:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:39: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-07-19 16:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:39: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-07-19 16:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:39: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-07-19 16:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821505024001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821505024001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:39:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:39:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821505024001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":137722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:39:08] local.INFO: GPS data processed {"connection_id":137722,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:39:08] local.INFO: Acknowledgment sent {"connection_id":137722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:39:28] local.INFO: TCP Data received {"connection_id":139110,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0e0518012d196740071fee88003f004c2c..."} 
[2026-07-19 16:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0e0518012d196740071fee88003f004c2c..."} 
[2026-07-19 16:39:28] local.INFO: Processing buffer {"connection_id":139110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0e0518012d196740071fee88003f004c2c..."} 
[2026-07-19 16:39:28] local.INFO: Packet analysis {"connection_id":139110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0e"} 
[2026-07-19 16:39:28] local.INFO: Extracted packet for processing {"connection_id":139110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0e"} 
[2026-07-19 16:39:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821541376001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39: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-07-19 16:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784459167000,"timestamp_ms":1784459167000,"timestamp_seconds":1784459167,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0e0518"} 
[2026-07-19 16:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:39: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-07-19 16:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:28] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8794251168452516199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21442675764887552,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:39:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,97,45,64,238,63,47,10,66,15,44,188,1,240,233,227,122,31,4,113,205,136,46,239,2,25,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:39:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712180546699264,"timestamp_seconds":4539712180546699.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821541376001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821541376001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:39:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:39:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821541376001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":139110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:39:28] local.INFO: GPS data processed {"connection_id":139110,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:39:28] local.INFO: Acknowledgment sent {"connection_id":139110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:39:31] local.INFO: TCP Data received {"connection_id":137723,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:39:31] local.INFO: Processing buffer {"connection_id":137723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:39:31] local.INFO: IMEI packet received {"connection_id":137723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 16:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":137723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:39:36] local.INFO: TCP Data received {"connection_id":136636,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:39:36] local.INFO: Processing buffer {"connection_id":136636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:39:36] local.INFO: IMEI packet received {"connection_id":136636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":136636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:39:41] local.INFO: TCP Data received {"connection_id":136636,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:39:41] local.INFO: Processing buffer {"connection_id":136636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:39:41] local.INFO: IMEI packet received {"connection_id":136636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":136636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:39:42] local.INFO: TCP Data received {"connection_id":136636,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:39:42] local.INFO: Processing buffer {"connection_id":136636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:39:42] local.INFO: Packet analysis {"connection_id":136636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:39:42] local.INFO: Extracted packet for processing {"connection_id":136636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:39:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821505024001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784459305000,"timestamp_ms":1784459305000,"timestamp_seconds":1784459305,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a102028"} 
[2026-07-19 16:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821505024001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821505024001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:39:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:39:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821505024001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":136636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:39:42] local.INFO: GPS data processed {"connection_id":136636,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:39:42] local.INFO: Acknowledgment sent {"connection_id":136636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:39:51] local.INFO: TCP Data received {"connection_id":136755,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:39:51] local.INFO: Processing buffer {"connection_id":136755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:39:51] local.INFO: IMEI packet received {"connection_id":136755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":136755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:39:55] local.INFO: TCP Data received {"connection_id":136755,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:39:55] local.INFO: Processing buffer {"connection_id":136755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:39:55] local.INFO: IMEI packet received {"connection_id":136755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":136755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:39:55] local.INFO: TCP Data received {"connection_id":136755,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0e5720012d196740071fee88003f004c2d..."} 
[2026-07-19 16:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0e5720012d196740071fee88003f004c2d..."} 
[2026-07-19 16:39:55] local.INFO: Processing buffer {"connection_id":136755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0e5720012d196740071fee88003f004c2d..."} 
[2026-07-19 16:39:55] local.INFO: Packet analysis {"connection_id":136755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0e"} 
[2026-07-19 16:39:55] local.INFO: Extracted packet for processing {"connection_id":136755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0e"} 
[2026-07-19 16:39:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821546752001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39: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-07-19 16:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784459188000,"timestamp_ms":1784459188000,"timestamp_seconds":1784459188,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0e5720"} 
[2026-07-19 16:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:39: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-07-19 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:55] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:55] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:55] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8794341362765732199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:55] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:55] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21442675764887552,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:55] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:55] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:55] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:55] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:39:55] local.WARNING: Large IO value detected {"io_id":106,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:55] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:39:55] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,179,45,64,238,63,10,66,97,47,15,1,240,255,227,122,31,4,113,205,106,136,46,239,2,25,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:39:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712176251731968,"timestamp_seconds":4539712176251732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":136755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":136755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":136755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821546752001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821546752001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:39:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:39:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821546752001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":136755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:39:55] local.INFO: GPS data processed {"connection_id":136755,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:39:55] local.INFO: Acknowledgment sent {"connection_id":136755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:40:13] local.INFO: TCP Data received {"connection_id":136636,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:40:13] local.INFO: Processing buffer {"connection_id":136636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:40:13] local.INFO: Packet analysis {"connection_id":136636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:40:13] local.INFO: Extracted packet for processing {"connection_id":136636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:40:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821505024001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40: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-07-19 16:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784459305000,"timestamp_ms":1784459305000,"timestamp_seconds":1784459305,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a102028"} 
[2026-07-19 16:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:40: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-07-19 16:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:40: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-07-19 16:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":136636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":136636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":136636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:40: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-07-19 16:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821505024001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821505024001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:40:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:40:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821505024001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":136636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:40:13] local.INFO: GPS data processed {"connection_id":136636,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:40:13] local.INFO: Acknowledgment sent {"connection_id":136636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:40:26] local.INFO: TCP Data received {"connection_id":136755,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0ea928012d196740071fee88003f004c2e..."} 
[2026-07-19 16:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0ea928012d196740071fee88003f004c2e..."} 
[2026-07-19 16:40:26] local.INFO: Processing buffer {"connection_id":136755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0ea928012d196740071fee88003f004c2e..."} 
[2026-07-19 16:40:26] local.INFO: Packet analysis {"connection_id":136755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0e"} 
[2026-07-19 16:40:26] local.INFO: Extracted packet for processing {"connection_id":136755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0e"} 
[2026-07-19 16:40:26] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821552128001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40: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-07-19 16:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784459209000,"timestamp_ms":1784459209000,"timestamp_seconds":1784459209,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0ea928"} 
[2026-07-19 16:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:40: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-07-19 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:40:26] 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-07-19 16: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-07-19 16:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":136755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":136755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":136755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821552128001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821552128001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:40:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:40:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821552128001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":136755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:40:26] local.INFO: GPS data processed {"connection_id":136755,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:40:26] local.INFO: Acknowledgment sent {"connection_id":136755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:40:32] local.INFO: TCP Data received {"connection_id":136637,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:40:32] local.INFO: Processing buffer {"connection_id":136637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:40:32] local.INFO: IMEI packet received {"connection_id":136637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":136637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:40:36] local.INFO: TCP Data received {"connection_id":136637,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:40:36] local.INFO: Processing buffer {"connection_id":136637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:40:36] local.INFO: IMEI packet received {"connection_id":136637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":136637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:40:37] local.INFO: TCP Data received {"connection_id":136637,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:40:37] local.INFO: Processing buffer {"connection_id":136637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:40:37] local.INFO: Packet analysis {"connection_id":136637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:40:37] local.INFO: Extracted packet for processing {"connection_id":136637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821505024001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40: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-07-19 16:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784459305000,"timestamp_ms":1784459305000,"timestamp_seconds":1784459305,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a102028"} 
[2026-07-19 16:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821505024001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821505024001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:40:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821505024001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":136637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:40:37] local.INFO: GPS data processed {"connection_id":136637,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:40:37] local.INFO: Acknowledgment sent {"connection_id":136637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:40:51] local.INFO: TCP Data received {"connection_id":136756,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:40:51] local.INFO: Processing buffer {"connection_id":136756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:40:51] local.INFO: IMEI packet received {"connection_id":136756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":136756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:40:56] local.INFO: TCP Data received {"connection_id":136756,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:40:56] local.INFO: Processing buffer {"connection_id":136756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:40:56] local.INFO: IMEI packet received {"connection_id":136756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":136756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:40:57] local.INFO: TCP Data received {"connection_id":136756,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0efb30012d196740071fee88003f004c2e..."} 
[2026-07-19 16:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0efb30012d196740071fee88003f004c2e..."} 
[2026-07-19 16:40:57] local.INFO: Processing buffer {"connection_id":136756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0efb30012d196740071fee88003f004c2e..."} 
[2026-07-19 16:40:57] local.INFO: Packet analysis {"connection_id":136756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0e"} 
[2026-07-19 16:40:57] local.INFO: Extracted packet for processing {"connection_id":136756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0e"} 
[2026-07-19 16:40:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821557504001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40: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-07-19 16:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784459230000,"timestamp_ms":1784459230000,"timestamp_seconds":1784459230,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0efb30"} 
[2026-07-19 16:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8794521751392164199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21433879671865344,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3452291471844507854,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:40:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:40:57] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,87,45,64,238,63,10,66,5,44,179,1,240,227,122,31,4,113,205,15,136,239,47,2,25,7,46],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:40:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712184841666560,"timestamp_seconds":4539712184841667.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821557504001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821557504001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:40:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:40:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821557504001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":136756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:40:57] local.INFO: GPS data processed {"connection_id":136756,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:40:57] local.INFO: Acknowledgment sent {"connection_id":136756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:41:08] local.INFO: TCP Data received {"connection_id":136637,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:41:08] local.INFO: Processing buffer {"connection_id":136637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:41:08] local.INFO: Packet analysis {"connection_id":136637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:41:08] local.INFO: Extracted packet for processing {"connection_id":136637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:41:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821505024001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:41: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-07-19 16:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784459305000,"timestamp_ms":1784459305000,"timestamp_seconds":1784459305,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a102028"} 
[2026-07-19 16:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:41: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-07-19 16:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821505024001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821505024001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:41:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:41:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821505024001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":136637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:41:08] local.INFO: GPS data processed {"connection_id":136637,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:41:08] local.INFO: Acknowledgment sent {"connection_id":136637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:41:28] local.INFO: TCP Data received {"connection_id":136756,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0f4d38012d196740071fee88003f004c2d..."} 
[2026-07-19 16:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0f4d38012d196740071fee88003f004c2d..."} 
[2026-07-19 16:41:28] local.INFO: Processing buffer {"connection_id":136756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0f4d38012d196740071fee88003f004c2d..."} 
[2026-07-19 16:41:28] local.INFO: Packet analysis {"connection_id":136756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0f"} 
[2026-07-19 16:41:28] local.INFO: Extracted packet for processing {"connection_id":136756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0f"} 
[2026-07-19 16:41:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821562880001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:41: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-07-19 16:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784459251000,"timestamp_ms":1784459251000,"timestamp_seconds":1784459251,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0f4d38"} 
[2026-07-19 16:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:41: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-07-19 16:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821562880001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821562880001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:41:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:41:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821562880001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":136756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:41:28] local.INFO: GPS data processed {"connection_id":136756,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:41:28] local.INFO: Acknowledgment sent {"connection_id":136756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:41:31] local.INFO: TCP Data received {"connection_id":136757,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:41:31] local.INFO: Processing buffer {"connection_id":136757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:41:31] local.INFO: IMEI packet received {"connection_id":136757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":136757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:41:36] local.INFO: TCP Data received {"connection_id":136757,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:41:36] local.INFO: Processing buffer {"connection_id":136757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:41:36] local.INFO: IMEI packet received {"connection_id":136757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":136757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:41:38] local.INFO: TCP Data received {"connection_id":136757,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:41:38] local.INFO: Processing buffer {"connection_id":136757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:41:38] local.INFO: Packet analysis {"connection_id":136757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:41:38] local.INFO: Extracted packet for processing {"connection_id":136757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:41:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821505024001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784459305000,"timestamp_ms":1784459305000,"timestamp_seconds":1784459305,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a102028"} 
[2026-07-19 16:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821505024001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821505024001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:41:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:41:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821505024001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":136757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:41:38] local.INFO: GPS data processed {"connection_id":136757,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:41:38] local.INFO: Acknowledgment sent {"connection_id":136757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:41:51] local.INFO: TCP Data received {"connection_id":136758,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:41:51] local.INFO: Processing buffer {"connection_id":136758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:41:51] local.INFO: IMEI packet received {"connection_id":136758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":136758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:41:56] local.INFO: TCP Data received {"connection_id":136758,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:41:56] local.INFO: Processing buffer {"connection_id":136758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:41:56] local.INFO: IMEI packet received {"connection_id":136758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":136758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:41:57] local.INFO: TCP Data received {"connection_id":136758,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0f9f40012d196740071fee88003f004c2d..."} 
[2026-07-19 16:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0f9f40012d196740071fee88003f004c2d..."} 
[2026-07-19 16:41:57] local.INFO: Processing buffer {"connection_id":136758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0f9f40012d196740071fee88003f004c2d..."} 
[2026-07-19 16:41:57] local.INFO: Packet analysis {"connection_id":136758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0f"} 
[2026-07-19 16:41:57] local.INFO: Extracted packet for processing {"connection_id":136758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0f"} 
[2026-07-19 16:41:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821568256001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:41: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-07-19 16:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784459272000,"timestamp_ms":1784459272000,"timestamp_seconds":1784459272,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0f9f40"} 
[2026-07-19 16:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:41:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:41:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:41:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:41:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:41:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8794702140018596199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:41:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:41:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21443775276515328,"note":"Value kept but may cause issues"} 
[2026-07-19 16:41:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-07-19 16:41:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-19 16:41:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:41:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:41:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:41:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,251,45,64,238,63,46,10,66,169,87,1,240,255,227,122,31,4,113,205,179,136,239,48,2,25,7,44],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:41:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712180546699264,"timestamp_seconds":4539712180546699.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821568256001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821568256001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:41:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:41:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821568256001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":136758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:41:57] local.INFO: GPS data processed {"connection_id":136758,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:41:57] local.INFO: Acknowledgment sent {"connection_id":136758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:42:09] local.INFO: TCP Data received {"connection_id":136757,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:42:09] local.INFO: Processing buffer {"connection_id":136757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:42:09] local.INFO: Packet analysis {"connection_id":136757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:42:09] local.INFO: Extracted packet for processing {"connection_id":136757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821505024001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784459305000,"timestamp_ms":1784459305000,"timestamp_seconds":1784459305,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a102028"} 
[2026-07-19 16:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:42:09] 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-07-19 16:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821505024001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821505024001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:42:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821505024001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":136757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:42:09] local.INFO: GPS data processed {"connection_id":136757,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:42:09] local.INFO: Acknowledgment sent {"connection_id":136757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:42:28] local.INFO: TCP Data received {"connection_id":136758,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a0ff148012d196740071fee88003f004c2b..."} 
[2026-07-19 16:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a0ff148012d196740071fee88003f004c2b..."} 
[2026-07-19 16:42:28] local.INFO: Processing buffer {"connection_id":136758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a0ff148012d196740071fee88003f004c2b..."} 
[2026-07-19 16:42:28] local.INFO: Packet analysis {"connection_id":136758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a0f"} 
[2026-07-19 16:42:28] local.INFO: Extracted packet for processing {"connection_id":136758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a0f"} 
[2026-07-19 16:42:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821573632001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:42: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-07-19 16:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784459293000,"timestamp_ms":1784459293000,"timestamp_seconds":1784459293,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a0ff148"} 
[2026-07-19 16:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821573632001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821573632001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:42:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:42:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821573632001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":136758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:42:28] local.INFO: GPS data processed {"connection_id":136758,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:42:28] local.INFO: Acknowledgment sent {"connection_id":136758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:42:31] local.INFO: TCP Data received {"connection_id":139114,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:42:31] local.INFO: Processing buffer {"connection_id":139114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:42:31] local.INFO: IMEI packet received {"connection_id":139114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":139114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:42:36] local.INFO: TCP Data received {"connection_id":139114,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:42:36] local.INFO: Processing buffer {"connection_id":139114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:42:36] local.INFO: IMEI packet received {"connection_id":139114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":139114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:42:37] local.INFO: TCP Data received {"connection_id":139114,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:42:37] local.INFO: Processing buffer {"connection_id":139114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:42:37] local.INFO: Packet analysis {"connection_id":139114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:42:37] local.INFO: Extracted packet for processing {"connection_id":139114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821505024001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:42: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-07-19 16:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784459305000,"timestamp_ms":1784459305000,"timestamp_seconds":1784459305,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a102028"} 
[2026-07-19 16:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821505024001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821505024001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821505024001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":139114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:42:37] local.INFO: GPS data processed {"connection_id":139114,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:42:37] local.INFO: Acknowledgment sent {"connection_id":139114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:42:56] local.INFO: TCP Data received {"connection_id":139115,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:42:56] local.INFO: Processing buffer {"connection_id":139115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:42:56] local.INFO: IMEI packet received {"connection_id":139115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":139115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:43:01] local.INFO: TCP Data received {"connection_id":139115,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:43:01] local.INFO: Processing buffer {"connection_id":139115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:43:01] local.INFO: IMEI packet received {"connection_id":139115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":139115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:43:02] local.INFO: TCP Data received {"connection_id":139115,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a104350012d196740071fee88003f004c2c..."} 
[2026-07-19 16:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a104350012d196740071fee88003f004c2c..."} 
[2026-07-19 16:43:02] local.INFO: Processing buffer {"connection_id":139115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a104350012d196740071fee88003f004c2c..."} 
[2026-07-19 16:43:02] local.INFO: Packet analysis {"connection_id":139115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:43:02] local.INFO: Extracted packet for processing {"connection_id":139115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:43:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 16:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821579008001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:43: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-07-19 16:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784459314000,"timestamp_ms":1784459314000,"timestamp_seconds":1784459314,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a104350"} 
[2026-07-19 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-07-19 16:43: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-07-19 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 16:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":139115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":139115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":139115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821579008001,"66":12232,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821579008001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:43:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:43:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821579008001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":139115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:43:02] local.INFO: GPS data processed {"connection_id":139115,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:43:02] local.INFO: Acknowledgment sent {"connection_id":139115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:43:03] local.INFO: TCP Data received {"connection_id":139115,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a109558012d196740071fee88003f004c2c..."} 
[2026-07-19 16:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a109558012d196740071fee88003f004c2c..."} 
[2026-07-19 16:43:03] local.INFO: Processing buffer {"connection_id":139115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a109558012d196740071fee88003f004c2c..."} 
[2026-07-19 16:43:03] local.INFO: Packet analysis {"connection_id":139115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:43:03] local.INFO: Extracted packet for processing {"connection_id":139115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:43:03] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821584384001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784459335000,"timestamp_ms":1784459335000,"timestamp_seconds":1784459335,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a109558"} 
[2026-07-19 16:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:43: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-07-19 16:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-19 16:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":139115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":139115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":139115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821584384001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821584384001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:43:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:43:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821584384001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":139115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:43:03] local.INFO: GPS data processed {"connection_id":139115,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:43:03] local.INFO: Acknowledgment sent {"connection_id":139115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:43:09] local.INFO: TCP Data received {"connection_id":139114,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:43:09] local.INFO: Processing buffer {"connection_id":139114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:43:09] local.INFO: Packet analysis {"connection_id":139114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:43:09] local.INFO: Extracted packet for processing {"connection_id":139114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821505024001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:43: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-07-19 16:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784459305000,"timestamp_ms":1784459305000,"timestamp_seconds":1784459305,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a102028"} 
[2026-07-19 16:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821505024001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821505024001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:43:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:43:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821505024001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":139114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:43:09] local.INFO: GPS data processed {"connection_id":139114,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:43:09] local.INFO: Acknowledgment sent {"connection_id":139114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:43:31] local.INFO: TCP Data received {"connection_id":137724,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:43:31] local.INFO: Processing buffer {"connection_id":137724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:43:31] local.INFO: IMEI packet received {"connection_id":137724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":137724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:43:34] local.INFO: TCP Data received {"connection_id":139115,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a10e760012d196740071fee88003f004c2d..."} 
[2026-07-19 16:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a10e760012d196740071fee88003f004c2d..."} 
[2026-07-19 16:43:34] local.INFO: Processing buffer {"connection_id":139115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a10e760012d196740071fee88003f004c2d..."} 
[2026-07-19 16:43:34] local.INFO: Packet analysis {"connection_id":139115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:43:34] local.INFO: Extracted packet for processing {"connection_id":139115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:43:34] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821589760001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784459356000,"timestamp_ms":1784459356000,"timestamp_seconds":1784459356,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a10e760"} 
[2026-07-19 16:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:43: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-07-19 16: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 16:43:34] 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-07-19 16: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-07-19 16:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":139115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":139115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":139115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821589760001,"66":12232,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821589760001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:43:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:43:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821589760001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":139115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:43:34] local.INFO: GPS data processed {"connection_id":139115,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:43:34] local.INFO: Acknowledgment sent {"connection_id":139115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:43:36] local.INFO: TCP Data received {"connection_id":137724,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:43:36] local.INFO: Processing buffer {"connection_id":137724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:43:36] local.INFO: IMEI packet received {"connection_id":137724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":137724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:43:37] local.INFO: TCP Data received {"connection_id":137724,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:43:37] local.INFO: Processing buffer {"connection_id":137724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a102028012d34c50006aa4dd8000800952f..."} 
[2026-07-19 16:43:37] local.INFO: Packet analysis {"connection_id":137724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:43:37] local.INFO: Extracted packet for processing {"connection_id":137724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a10"} 
[2026-07-19 16:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821505024001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:43: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-07-19 16:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784459305000,"timestamp_ms":1784459305000,"timestamp_seconds":1784459305,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a102028"} 
[2026-07-19 16:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 16:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821505024001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821505024001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:43:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821505024001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":137724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:43:37] local.INFO: GPS data processed {"connection_id":137724,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:43:37] local.INFO: Acknowledgment sent {"connection_id":137724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:43:51] local.INFO: TCP Data received {"connection_id":136639,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:43:51] local.INFO: Processing buffer {"connection_id":136639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:43:51] local.INFO: IMEI packet received {"connection_id":136639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":136639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:43:56] local.INFO: TCP Data received {"connection_id":136639,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:43:56] local.INFO: Processing buffer {"connection_id":136639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:43:56] local.INFO: IMEI packet received {"connection_id":136639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":136639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:43:57] local.INFO: TCP Data received {"connection_id":136639,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a113968012d196740071fee88003f004c26..."} 
[2026-07-19 16:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a113968012d196740071fee88003f004c26..."} 
[2026-07-19 16:43:57] local.INFO: Processing buffer {"connection_id":136639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a113968012d196740071fee88003f004c26..."} 
[2026-07-19 16:43:57] local.INFO: Packet analysis {"connection_id":136639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a11"} 
[2026-07-19 16:43:57] local.INFO: Extracted packet for processing {"connection_id":136639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a11"} 
[2026-07-19 16:43:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":38,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821595136001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:43: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-07-19 16:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784459377000,"timestamp_ms":1784459377000,"timestamp_seconds":1784459377,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a113968"} 
[2026-07-19 16:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-19 16:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821595136001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821595136001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:43:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:43:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821595136001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":136639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:43:57] local.INFO: GPS data processed {"connection_id":136639,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:43:57] local.INFO: Acknowledgment sent {"connection_id":136639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:44:01] local.INFO: TCP Data received {"connection_id":136639,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a118b70012d196740071fee88003f004c2b..."} 
[2026-07-19 16:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a118b70012d196740071fee88003f004c2b..."} 
[2026-07-19 16:44:01] local.INFO: Processing buffer {"connection_id":136639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a118b70012d196740071fee88003f004c2b..."} 
[2026-07-19 16:44:01] local.INFO: Packet analysis {"connection_id":136639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a11"} 
[2026-07-19 16:44:01] local.INFO: Extracted packet for processing {"connection_id":136639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a11"} 
[2026-07-19 16:44:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821600512001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784459398000,"timestamp_ms":1784459398000,"timestamp_seconds":1784459398,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a118b70"} 
[2026-07-19 16:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:44: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-07-19 16: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 16:44:01] 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-07-19 16: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-07-19 16:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821600512001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821600512001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:44:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:44:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821600512001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":136639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:44:01] local.INFO: GPS data processed {"connection_id":136639,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:44:01] local.INFO: Acknowledgment sent {"connection_id":136639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:44:09] local.INFO: TCP Data received {"connection_id":137724,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:44:09] local.INFO: Processing buffer {"connection_id":137724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:44:09] local.INFO: Packet analysis {"connection_id":137724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a14"} 
[2026-07-19 16:44:09] local.INFO: Extracted packet for processing {"connection_id":137724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a14"} 
[2026-07-19 16:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821582080001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784459606000,"timestamp_ms":1784459606000,"timestamp_seconds":1784459606,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a14b7f0"} 
[2026-07-19 16:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 16:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821582080001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821582080001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:44:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821582080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":137724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:44:09] local.INFO: GPS data processed {"connection_id":137724,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:44:09] local.INFO: Acknowledgment sent {"connection_id":137724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:44:32] local.INFO: TCP Data received {"connection_id":136639,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a11dd78012d196740071fee88003f004c2c..."} 
[2026-07-19 16:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a11dd78012d196740071fee88003f004c2c..."} 
[2026-07-19 16:44:32] local.INFO: Processing buffer {"connection_id":136639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a11dd78012d196740071fee88003f004c2c..."} 
[2026-07-19 16:44:32] local.INFO: Packet analysis {"connection_id":136639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a11"} 
[2026-07-19 16:44:32] local.INFO: Extracted packet for processing {"connection_id":136639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a11"} 
[2026-07-19 16:44:32] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821605888001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784459419000,"timestamp_ms":1784459419000,"timestamp_seconds":1784459419,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a11dd78"} 
[2026-07-19 16:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:44: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-07-19 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:44:32] 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-07-19 16: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-07-19 16:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821605888001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821605888001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:44:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:44:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821605888001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":136639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:44:32] local.INFO: GPS data processed {"connection_id":136639,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:44:32] local.INFO: Acknowledgment sent {"connection_id":136639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:44:36] local.INFO: TCP Data received {"connection_id":139117,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:44:36] local.INFO: Processing buffer {"connection_id":139117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:44:36] local.INFO: IMEI packet received {"connection_id":139117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":139117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:44:41] local.INFO: TCP Data received {"connection_id":139117,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:44:41] local.INFO: Processing buffer {"connection_id":139117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:44:41] local.INFO: IMEI packet received {"connection_id":139117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":139117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:44:42] local.INFO: TCP Data received {"connection_id":139117,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:44:42] local.INFO: Processing buffer {"connection_id":139117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:44:42] local.INFO: Packet analysis {"connection_id":139117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a14"} 
[2026-07-19 16:44:42] local.INFO: Extracted packet for processing {"connection_id":139117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a14"} 
[2026-07-19 16:44:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821582080001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784459606000,"timestamp_ms":1784459606000,"timestamp_seconds":1784459606,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a14b7f0"} 
[2026-07-19 16:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 16:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821582080001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821582080001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:44:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:44:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821582080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":139117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:44:42] local.INFO: GPS data processed {"connection_id":139117,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:44:42] local.INFO: Acknowledgment sent {"connection_id":139117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:44:48] local.INFO: TCP Data received {"connection_id":137725,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:44:48] local.INFO: Processing buffer {"connection_id":137725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:44:48] local.INFO: IMEI packet received {"connection_id":137725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":137725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:44:51] local.INFO: TCP Data received {"connection_id":137725,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:44:51] local.INFO: Processing buffer {"connection_id":137725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:44:51] local.INFO: IMEI packet received {"connection_id":137725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":137725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:44:56] local.INFO: TCP Data received {"connection_id":137725,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:44:56] local.INFO: Processing buffer {"connection_id":137725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:44:56] local.INFO: IMEI packet received {"connection_id":137725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":137725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:44:57] local.INFO: TCP Data received {"connection_id":137725,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a122f80012d196740071fee88003f004c2b..."} 
[2026-07-19 16:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a122f80012d196740071fee88003f004c2b..."} 
[2026-07-19 16:44:57] local.INFO: Processing buffer {"connection_id":137725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a122f80012d196740071fee88003f004c2b..."} 
[2026-07-19 16:44:57] local.INFO: Packet analysis {"connection_id":137725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a12"} 
[2026-07-19 16:44:57] local.INFO: Extracted packet for processing {"connection_id":137725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a12"} 
[2026-07-19 16:44:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821611264001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:44: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-07-19 16:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784459440000,"timestamp_ms":1784459440000,"timestamp_seconds":1784459440,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a122f80"} 
[2026-07-19 16:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821611264001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821611264001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:44:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:44:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821611264001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":137725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:44:57] local.INFO: GPS data processed {"connection_id":137725,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:44:57] local.INFO: Acknowledgment sent {"connection_id":137725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:45:06] local.INFO: TCP Data received {"connection_id":139116,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:45:06] local.INFO: Processing buffer {"connection_id":139116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:45:06] local.INFO: IMEI packet received {"connection_id":139116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 16:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":139116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:45:14] local.INFO: TCP Data received {"connection_id":139117,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:45:14] local.INFO: Processing buffer {"connection_id":139117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:45:14] local.INFO: Packet analysis {"connection_id":139117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a14"} 
[2026-07-19 16:45:14] local.INFO: Extracted packet for processing {"connection_id":139117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a14"} 
[2026-07-19 16:45:14] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821582080001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45: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-07-19 16:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784459606000,"timestamp_ms":1784459606000,"timestamp_seconds":1784459606,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a14b7f0"} 
[2026-07-19 16:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 16:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":139117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":139117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":139117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:45:14] 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-07-19 16:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821582080001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821582080001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:45:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:45:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821582080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":139117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:45:14] local.INFO: GPS data processed {"connection_id":139117,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:45:14] local.INFO: Acknowledgment sent {"connection_id":139117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:45:26] local.INFO: TCP Data received {"connection_id":136640,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136640,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:45:26] local.INFO: Processing buffer {"connection_id":136640,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:45:26] local.INFO: IMEI packet received {"connection_id":136640,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 16:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":136640,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:45:28] local.INFO: TCP Data received {"connection_id":137725,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a128188012d196740071fee88003f004c2b..."} 
[2026-07-19 16:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a128188012d196740071fee88003f004c2b..."} 
[2026-07-19 16:45:28] local.INFO: Processing buffer {"connection_id":137725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a128188012d196740071fee88003f004c2b..."} 
[2026-07-19 16:45:28] local.INFO: Packet analysis {"connection_id":137725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a12"} 
[2026-07-19 16:45:28] local.INFO: Extracted packet for processing {"connection_id":137725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a12"} 
[2026-07-19 16:45:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821616640001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45: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-07-19 16:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784459461000,"timestamp_ms":1784459461000,"timestamp_seconds":1784459461,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a128188"} 
[2026-07-19 16:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8795513888837540199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21440476741632000,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002797613056206,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:45:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594552,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,221,45,64,238,63,44,10,66,139,43,57,1,240,222,227,122,31,4,113,205,149,136,239,47,2,25,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:45:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712171956764672,"timestamp_seconds":4539712171956765.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821616640001,"66":12265,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821616640001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:45:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:45:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821616640001,"power":12265,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":137725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:45:28] local.INFO: GPS data processed {"connection_id":137725,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:45:28] local.INFO: Acknowledgment sent {"connection_id":137725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:45:30] local.INFO: TCP Data received {"connection_id":137726,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:45:31] local.INFO: Processing buffer {"connection_id":137726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:45:31] local.INFO: IMEI packet received {"connection_id":137726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":137726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:45:36] local.INFO: TCP Data received {"connection_id":137726,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:45:36] local.INFO: Processing buffer {"connection_id":137726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:45:36] local.INFO: IMEI packet received {"connection_id":137726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":137726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:45:37] local.INFO: TCP Data received {"connection_id":137726,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:45:37] local.INFO: Processing buffer {"connection_id":137726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:45:37] local.INFO: Packet analysis {"connection_id":137726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a14"} 
[2026-07-19 16:45:37] local.INFO: Extracted packet for processing {"connection_id":137726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a14"} 
[2026-07-19 16:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821582080001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45: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-07-19 16:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784459606000,"timestamp_ms":1784459606000,"timestamp_seconds":1784459606,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a14b7f0"} 
[2026-07-19 16:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 16:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821582080001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821582080001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:45:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821582080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":137726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:45:37] local.INFO: GPS data processed {"connection_id":137726,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:45:37] local.INFO: Acknowledgment sent {"connection_id":137726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:45:51] local.INFO: TCP Data received {"connection_id":136641,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:45:51] local.INFO: Processing buffer {"connection_id":136641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:45:51] local.INFO: IMEI packet received {"connection_id":136641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":136641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:45:52] local.INFO: TCP Data received {"connection_id":136641,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:45:52] local.INFO: Processing buffer {"connection_id":136641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:45:52] local.INFO: IMEI packet received {"connection_id":136641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":136641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:45:56] local.INFO: TCP Data received {"connection_id":136641,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:45:56] local.INFO: Processing buffer {"connection_id":136641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:45:56] local.INFO: IMEI packet received {"connection_id":136641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":136641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:45:57] local.INFO: TCP Data received {"connection_id":136641,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a12d390012d196740071fee88003f004c2d..."} 
[2026-07-19 16:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a12d390012d196740071fee88003f004c2d..."} 
[2026-07-19 16:45:57] local.INFO: Processing buffer {"connection_id":136641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a12d390012d196740071fee88003f004c2d..."} 
[2026-07-19 16:45:57] local.INFO: Packet analysis {"connection_id":136641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a12"} 
[2026-07-19 16:45:57] local.INFO: Extracted packet for processing {"connection_id":136641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a12"} 
[2026-07-19 16:45:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821622016001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:45: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-07-19 16:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784459482000,"timestamp_ms":1784459482000,"timestamp_seconds":1784459482,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a12d390"} 
[2026-07-19 16:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 16:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821622016001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821622016001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:45:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:45:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821622016001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":136641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:45:57] local.INFO: GPS data processed {"connection_id":136641,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:45:57] local.INFO: Acknowledgment sent {"connection_id":136641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:46:09] local.INFO: TCP Data received {"connection_id":137726,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:46:09] local.INFO: Processing buffer {"connection_id":137726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:46:09] local.INFO: Packet analysis {"connection_id":137726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a14"} 
[2026-07-19 16:46:09] local.INFO: Extracted packet for processing {"connection_id":137726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a14"} 
[2026-07-19 16:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821582080001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:46: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-07-19 16:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784459606000,"timestamp_ms":1784459606000,"timestamp_seconds":1784459606,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a14b7f0"} 
[2026-07-19 16:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 16:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:46:09] 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-07-19 16:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821582080001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821582080001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:46:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821582080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":137726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:46:09] local.INFO: GPS data processed {"connection_id":137726,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:46:09] local.INFO: Acknowledgment sent {"connection_id":137726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:46:28] local.INFO: TCP Data received {"connection_id":136641,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a132598012d196740071fee88003f004c2c..."} 
[2026-07-19 16:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a132598012d196740071fee88003f004c2c..."} 
[2026-07-19 16:46:28] local.INFO: Processing buffer {"connection_id":136641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a132598012d196740071fee88003f004c2c..."} 
[2026-07-19 16:46:28] local.INFO: Packet analysis {"connection_id":136641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a13"} 
[2026-07-19 16:46:28] local.INFO: Extracted packet for processing {"connection_id":136641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a13"} 
[2026-07-19 16:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821627392001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:46: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-07-19 16:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784459503000,"timestamp_ms":1784459503000,"timestamp_seconds":1784459503,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a132598"} 
[2026-07-19 16:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821627392001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821627392001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:46:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:46:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821627392001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":136641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:46:28] local.INFO: GPS data processed {"connection_id":136641,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:46:28] local.INFO: Acknowledgment sent {"connection_id":136641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:46:31] local.INFO: TCP Data received {"connection_id":136642,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:46:31] local.INFO: Processing buffer {"connection_id":136642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:46:31] local.INFO: IMEI packet received {"connection_id":136642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":136642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:46:36] local.INFO: TCP Data received {"connection_id":136642,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:46:36] local.INFO: Processing buffer {"connection_id":136642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:46:36] local.INFO: IMEI packet received {"connection_id":136642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":136642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:46:37] local.INFO: TCP Data received {"connection_id":136642,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:46:37] local.INFO: Processing buffer {"connection_id":136642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:46:37] local.INFO: Packet analysis {"connection_id":136642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a14"} 
[2026-07-19 16:46:37] local.INFO: Extracted packet for processing {"connection_id":136642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a14"} 
[2026-07-19 16:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821582080001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:46: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-07-19 16:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784459606000,"timestamp_ms":1784459606000,"timestamp_seconds":1784459606,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a14b7f0"} 
[2026-07-19 16:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 16:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821582080001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821582080001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:46:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821582080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":136642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:46:37] local.INFO: GPS data processed {"connection_id":136642,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:46:37] local.INFO: Acknowledgment sent {"connection_id":136642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:46:51] local.INFO: TCP Data received {"connection_id":136643,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:46:51] local.INFO: Processing buffer {"connection_id":136643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:46:51] local.INFO: IMEI packet received {"connection_id":136643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":136643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:46:54] local.INFO: TCP Data received {"connection_id":136643,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:46:54] local.INFO: Processing buffer {"connection_id":136643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:46:54] local.INFO: IMEI packet received {"connection_id":136643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":136643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:46:56] local.INFO: TCP Data received {"connection_id":136643,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:46:56] local.INFO: Processing buffer {"connection_id":136643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:46:56] local.INFO: IMEI packet received {"connection_id":136643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":136643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:46:57] local.INFO: TCP Data received {"connection_id":136643,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a16abf0012d196740071fee88003f004c2d..."} 
[2026-07-19 16:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a16abf0012d196740071fee88003f004c2d..."} 
[2026-07-19 16:46:57] local.INFO: Processing buffer {"connection_id":136643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a16abf0012d196740071fee88003f004c2d..."} 
[2026-07-19 16:46:57] local.INFO: Packet analysis {"connection_id":136643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a16"} 
[2026-07-19 16:46:57] local.INFO: Extracted packet for processing {"connection_id":136643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a16"} 
[2026-07-19 16:46:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821686528001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:46: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-07-19 16:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784459734000,"timestamp_ms":1784459734000,"timestamp_seconds":1784459734,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a16abf0"} 
[2026-07-19 16:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-19 16:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821686528001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821686528001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:46:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:46:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821686528001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":136643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:46:57] local.INFO: GPS data processed {"connection_id":136643,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:46:57] local.INFO: Acknowledgment sent {"connection_id":136643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:47:01] local.INFO: TCP Data received {"connection_id":136643,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a16fdf8012d196740071fee88003f004c2f..."} 
[2026-07-19 16:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a16fdf8012d196740071fee88003f004c2f..."} 
[2026-07-19 16:47:01] local.INFO: Processing buffer {"connection_id":136643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a16fdf8012d196740071fee88003f004c2f..."} 
[2026-07-19 16:47:01] local.INFO: Packet analysis {"connection_id":136643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a16"} 
[2026-07-19 16:47:01] local.INFO: Extracted packet for processing {"connection_id":136643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a16"} 
[2026-07-19 16:47:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821691904001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784459755000,"timestamp_ms":1784459755000,"timestamp_seconds":1784459755,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a16fdf8"} 
[2026-07-19 16:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:47: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-07-19 16: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 16:47:01] 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-07-19 16: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-07-19 16:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821691904001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821691904001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:47:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:47:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821691904001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":136643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:47:01] local.INFO: GPS data processed {"connection_id":136643,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:47:01] local.INFO: Acknowledgment sent {"connection_id":136643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:47:09] local.INFO: TCP Data received {"connection_id":136642,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:47:09] local.INFO: Processing buffer {"connection_id":136642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:47:09] local.INFO: Packet analysis {"connection_id":136642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a14"} 
[2026-07-19 16:47:09] local.INFO: Extracted packet for processing {"connection_id":136642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a14"} 
[2026-07-19 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821582080001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784459606000,"timestamp_ms":1784459606000,"timestamp_seconds":1784459606,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a14b7f0"} 
[2026-07-19 16:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 16:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:47: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-07-19 16:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821582080001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821582080001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:47:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821582080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":136642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:47:09] local.INFO: GPS data processed {"connection_id":136642,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:47:09] local.INFO: Acknowledgment sent {"connection_id":136642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:47:30] local.INFO: TCP Data received {"connection_id":137729,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:47:30] local.INFO: Processing buffer {"connection_id":137729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:47:30] local.INFO: IMEI packet received {"connection_id":137729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":137729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:47:32] local.INFO: TCP Data received {"connection_id":136643,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a175000012d196740071fee88003f004c2d..."} 
[2026-07-19 16:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a175000012d196740071fee88003f004c2d..."} 
[2026-07-19 16:47:32] local.INFO: Processing buffer {"connection_id":136643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a175000012d196740071fee88003f004c2d..."} 
[2026-07-19 16:47:32] local.INFO: Packet analysis {"connection_id":136643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a17"} 
[2026-07-19 16:47:32] local.INFO: Extracted packet for processing {"connection_id":136643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a17"} 
[2026-07-19 16:47:32] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821697280001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784459776000,"timestamp_ms":1784459776000,"timestamp_seconds":1784459776,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a175000"} 
[2026-07-19 16:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:47: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-07-19 16:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 16:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821697280001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821697280001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:47:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:47:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821697280001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":136643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:47:32] local.INFO: GPS data processed {"connection_id":136643,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:47:32] local.INFO: Acknowledgment sent {"connection_id":136643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:47:36] local.INFO: TCP Data received {"connection_id":137729,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:47:36] local.INFO: Processing buffer {"connection_id":137729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:47:36] local.INFO: IMEI packet received {"connection_id":137729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":137729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:47:37] local.INFO: TCP Data received {"connection_id":137729,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:47:37] local.INFO: Processing buffer {"connection_id":137729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:47:37] local.INFO: Packet analysis {"connection_id":137729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a14"} 
[2026-07-19 16:47:37] local.INFO: Extracted packet for processing {"connection_id":137729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a14"} 
[2026-07-19 16:47:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821582080001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784459606000,"timestamp_ms":1784459606000,"timestamp_seconds":1784459606,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a14b7f0"} 
[2026-07-19 16:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":31,"data_length":795,"current_offset":136} 
[2026-07-19 16:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:47: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-07-19 16:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821582080001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821582080001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:47:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:47:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821582080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":137729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:47:37] local.INFO: GPS data processed {"connection_id":137729,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:47:37] local.INFO: Acknowledgment sent {"connection_id":137729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:47:51] local.INFO: TCP Data received {"connection_id":136759,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:47:51] local.INFO: Processing buffer {"connection_id":136759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:47:51] local.INFO: IMEI packet received {"connection_id":136759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":136759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:47:56] local.INFO: TCP Data received {"connection_id":136759,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:47:56] local.INFO: Processing buffer {"connection_id":136759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:47:56] local.INFO: IMEI packet received {"connection_id":136759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":136759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:47:57] local.INFO: TCP Data received {"connection_id":136759,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a17a208012d196740071fee88003f004c2e..."} 
[2026-07-19 16:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a17a208012d196740071fee88003f004c2e..."} 
[2026-07-19 16:47:57] local.INFO: Processing buffer {"connection_id":136759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a17a208012d196740071fee88003f004c2e..."} 
[2026-07-19 16:47:57] local.INFO: Packet analysis {"connection_id":136759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a17"} 
[2026-07-19 16:47:57] local.INFO: Extracted packet for processing {"connection_id":136759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a17"} 
[2026-07-19 16:47:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821702656001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:47: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-07-19 16:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784459797000,"timestamp_ms":1784459797000,"timestamp_seconds":1784459797,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a17a208"} 
[2026-07-19 16:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 16:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821702656001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821702656001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:47:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:47:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821702656001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":136759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:47:57] local.INFO: GPS data processed {"connection_id":136759,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:47:57] local.INFO: Acknowledgment sent {"connection_id":136759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:48:09] local.INFO: TCP Data received {"connection_id":137729,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:48:09] local.INFO: Processing buffer {"connection_id":137729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:48:09] local.INFO: Packet analysis {"connection_id":137729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a14"} 
[2026-07-19 16:48:09] local.INFO: Extracted packet for processing {"connection_id":137729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a14"} 
[2026-07-19 16:48:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821582080001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:48: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-07-19 16:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784459606000,"timestamp_ms":1784459606000,"timestamp_seconds":1784459606,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a14b7f0"} 
[2026-07-19 16:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 16:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:48: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-07-19 16:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821582080001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821582080001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:48:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:48:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821582080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":137729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:48:09] local.INFO: GPS data processed {"connection_id":137729,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:48:09] local.INFO: Acknowledgment sent {"connection_id":137729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:48:28] local.INFO: TCP Data received {"connection_id":136759,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a17f410012d196740071fee88003f004c2f..."} 
[2026-07-19 16:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a17f410012d196740071fee88003f004c2f..."} 
[2026-07-19 16:48:28] local.INFO: Processing buffer {"connection_id":136759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a17f410012d196740071fee88003f004c2f..."} 
[2026-07-19 16:48:28] local.INFO: Packet analysis {"connection_id":136759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a17"} 
[2026-07-19 16:48:28] local.INFO: Extracted packet for processing {"connection_id":136759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a17"} 
[2026-07-19 16:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821708032001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:48: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-07-19 16:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784459818000,"timestamp_ms":1784459818000,"timestamp_seconds":1784459818,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a17f410"} 
[2026-07-19 16:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821708032001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821708032001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:48:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:48:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821708032001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":136759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:48:28] local.INFO: GPS data processed {"connection_id":136759,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:48:28] local.INFO: Acknowledgment sent {"connection_id":136759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:48:36] local.INFO: TCP Data received {"connection_id":137730,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:48:36] local.INFO: Processing buffer {"connection_id":137730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:48:36] local.INFO: IMEI packet received {"connection_id":137730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":137730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:48:41] local.INFO: TCP Data received {"connection_id":137730,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:48:41] local.INFO: Processing buffer {"connection_id":137730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:48:41] local.INFO: IMEI packet received {"connection_id":137730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":137730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:48:42] local.INFO: TCP Data received {"connection_id":137730,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:48:42] local.INFO: Processing buffer {"connection_id":137730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:48:42] local.INFO: Packet analysis {"connection_id":137730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a14"} 
[2026-07-19 16:48:42] local.INFO: Extracted packet for processing {"connection_id":137730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a14"} 
[2026-07-19 16:48:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821582080001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784459606000,"timestamp_ms":1784459606000,"timestamp_seconds":1784459606,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a14b7f0"} 
[2026-07-19 16:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 16:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821582080001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821582080001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:48:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:48:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821582080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":137730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:48:42] local.INFO: GPS data processed {"connection_id":137730,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:48:42] local.INFO: Acknowledgment sent {"connection_id":137730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:48:47] local.INFO: TCP Data received {"connection_id":137730,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:48:47] local.INFO: Processing buffer {"connection_id":137730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a14b7f0012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:48:47] local.INFO: Packet analysis {"connection_id":137730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a14"} 
[2026-07-19 16:48:47] local.INFO: Extracted packet for processing {"connection_id":137730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a14"} 
[2026-07-19 16:48:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821582080001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784459606000,"timestamp_ms":1784459606000,"timestamp_seconds":1784459606,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a14b7f0"} 
[2026-07-19 16:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 16:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":137730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":137730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":137730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821582080001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821582080001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:48:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:48:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821582080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":137730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:48:47] local.INFO: GPS data processed {"connection_id":137730,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:48:47] local.INFO: Acknowledgment sent {"connection_id":137730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:48:51] local.INFO: TCP Data received {"connection_id":136761,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:48:51] local.INFO: Processing buffer {"connection_id":136761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:48:51] local.INFO: IMEI packet received {"connection_id":136761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":136761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:48:56] local.INFO: TCP Data received {"connection_id":136761,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:48:56] local.INFO: Processing buffer {"connection_id":136761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:48:56] local.INFO: IMEI packet received {"connection_id":136761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":136761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:48:57] local.INFO: TCP Data received {"connection_id":136761,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a184618012d196740071fee88003f004c2c..."} 
[2026-07-19 16:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a184618012d196740071fee88003f004c2c..."} 
[2026-07-19 16:48:57] local.INFO: Processing buffer {"connection_id":136761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a184618012d196740071fee88003f004c2c..."} 
[2026-07-19 16:48:57] local.INFO: Packet analysis {"connection_id":136761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a18"} 
[2026-07-19 16:48:57] local.INFO: Extracted packet for processing {"connection_id":136761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a18"} 
[2026-07-19 16:48:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821713408001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:48: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-07-19 16:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784459839000,"timestamp_ms":1784459839000,"timestamp_seconds":1784459839,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a184618"} 
[2026-07-19 16:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821713408001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821713408001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:48:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:48:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821713408001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":136761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:48:57] local.INFO: GPS data processed {"connection_id":136761,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:48:57] local.INFO: Acknowledgment sent {"connection_id":136761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:49:28] local.INFO: TCP Data received {"connection_id":136761,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a189820012d196740071fee88003f004c2c..."} 
[2026-07-19 16:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a189820012d196740071fee88003f004c2c..."} 
[2026-07-19 16:49:28] local.INFO: Processing buffer {"connection_id":136761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a189820012d196740071fee88003f004c2c..."} 
[2026-07-19 16:49:28] local.INFO: Packet analysis {"connection_id":136761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a18"} 
[2026-07-19 16:49:28] local.INFO: Extracted packet for processing {"connection_id":136761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a18"} 
[2026-07-19 16:49:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821718784001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:49: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-07-19 16:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784459860000,"timestamp_ms":1784459860000,"timestamp_seconds":1784459860,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a189820"} 
[2026-07-19 16:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:49:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:49:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:49:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:49:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:49:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8797227580788644199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:49:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:49:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21443775276515328,"note":"Value kept but may cause issues"} 
[2026-07-19 16:49:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594552,"note":"Value kept but may cause issues"} 
[2026-07-19 16:49:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-07-19 16:49:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3363626854180651214,"note":"Value kept but may cause issues"} 
[2026-07-19 16:49:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:49:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:49:28] local.WARNING: Large IO value detected {"io_id":171,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-07-19 16:49:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:49:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,244,45,64,238,63,47,10,66,162,46,80,1,240,222,227,122,31,4,113,205,171,136,239,2,25,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:49:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712176251731968,"timestamp_seconds":4539712176251732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821718784001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821718784001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:49:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:49:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821718784001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":136761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:49:28] local.INFO: GPS data processed {"connection_id":136761,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:49:28] local.INFO: Acknowledgment sent {"connection_id":136761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:49:31] local.INFO: TCP Data received {"connection_id":136645,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:49:31] local.INFO: Processing buffer {"connection_id":136645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:49:31] local.INFO: IMEI packet received {"connection_id":136645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":136645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:49:36] local.INFO: TCP Data received {"connection_id":136645,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:49:36] local.INFO: Processing buffer {"connection_id":136645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:49:36] local.INFO: IMEI packet received {"connection_id":136645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":136645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:49:37] local.INFO: TCP Data received {"connection_id":136645,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:49:37] local.INFO: Processing buffer {"connection_id":136645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:49:37] local.INFO: Packet analysis {"connection_id":136645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:49:37] local.INFO: Extracted packet for processing {"connection_id":136645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821659136001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:49: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-07-19 16:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784459907000,"timestamp_ms":1784459907000,"timestamp_seconds":1784459907,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a194fb8"} 
[2026-07-19 16:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:49: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-07-19 16: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-07-19 16:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821659136001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821659136001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:49:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821659136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":136645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:49:37] local.INFO: GPS data processed {"connection_id":136645,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:49:37] local.INFO: Acknowledgment sent {"connection_id":136645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:49:56] local.INFO: TCP Data received {"connection_id":136762,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:49:56] local.INFO: Processing buffer {"connection_id":136762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:49:56] local.INFO: IMEI packet received {"connection_id":136762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":136762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:50:01] local.INFO: TCP Data received {"connection_id":136762,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:50:01] local.INFO: Processing buffer {"connection_id":136762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:50:01] local.INFO: IMEI packet received {"connection_id":136762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":136762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:50:01] local.INFO: TCP Data received {"connection_id":136762,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a18ea28012d196740071fee88003f004c2b..."} 
[2026-07-19 16:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a18ea28012d196740071fee88003f004c2b..."} 
[2026-07-19 16:50:01] local.INFO: Processing buffer {"connection_id":136762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a18ea28012d196740071fee88003f004c2b..."} 
[2026-07-19 16:50:01] local.INFO: Packet analysis {"connection_id":136762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a18"} 
[2026-07-19 16:50:01] local.INFO: Extracted packet for processing {"connection_id":136762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a18"} 
[2026-07-19 16:50:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821724160001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784459881000,"timestamp_ms":1784459881000,"timestamp_seconds":1784459881,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a18ea28"} 
[2026-07-19 16:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:50: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-07-19 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:01] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:01] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:01] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:01] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8797317775101860199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:01] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:01] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21441576253259776,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:01] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:01] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195247100690638,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:01] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:50:01] local.WARNING: Large IO value detected {"io_id":253,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:01] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:01] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,70,45,64,238,63,44,10,66,244,47,162,1,240,255,227,122,31,4,113,205,253,136,239,2,25,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:50:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712176251731968,"timestamp_seconds":4539712176251732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821724160001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821724160001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:50:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:50:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821724160001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":136762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:50:01] local.INFO: GPS data processed {"connection_id":136762,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:50:01] local.INFO: Acknowledgment sent {"connection_id":136762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:50:03] local.INFO: TCP Data received {"connection_id":136762,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a193c30012d196740071fee88003f004c2c..."} 
[2026-07-19 16:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a193c30012d196740071fee88003f004c2c..."} 
[2026-07-19 16:50:03] local.INFO: Processing buffer {"connection_id":136762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a193c30012d196740071fee88003f004c2c..."} 
[2026-07-19 16:50:03] local.INFO: Packet analysis {"connection_id":136762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:50:03] local.INFO: Extracted packet for processing {"connection_id":136762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:50:03] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821729536001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784459902000,"timestamp_ms":1784459902000,"timestamp_seconds":1784459902,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a193c30"} 
[2026-07-19 16:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:50: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-07-19 16:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":136762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":136762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":136762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821729536001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821729536001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:50:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:50:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821729536001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":136762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:50:03] local.INFO: GPS data processed {"connection_id":136762,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:50:03] local.INFO: Acknowledgment sent {"connection_id":136762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:50:09] local.INFO: TCP Data received {"connection_id":136645,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:50:09] local.INFO: Processing buffer {"connection_id":136645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:50:09] local.INFO: Packet analysis {"connection_id":136645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:50:09] local.INFO: Extracted packet for processing {"connection_id":136645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821659136001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50: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-07-19 16:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784459907000,"timestamp_ms":1784459907000,"timestamp_seconds":1784459907,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a194fb8"} 
[2026-07-19 16:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:50: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-07-19 16:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821659136001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821659136001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:50:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821659136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":136645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:50:09] local.INFO: GPS data processed {"connection_id":136645,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:50:09] local.INFO: Acknowledgment sent {"connection_id":136645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:50:31] local.INFO: TCP Data received {"connection_id":136646,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:50:31] local.INFO: Processing buffer {"connection_id":136646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:50:31] local.INFO: IMEI packet received {"connection_id":136646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":136646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:50:34] local.INFO: TCP Data received {"connection_id":136762,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a198e38012d196740071fee88003f004c2d..."} 
[2026-07-19 16:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a198e38012d196740071fee88003f004c2d..."} 
[2026-07-19 16:50:34] local.INFO: Processing buffer {"connection_id":136762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a198e38012d196740071fee88003f004c2d..."} 
[2026-07-19 16:50:34] local.INFO: Packet analysis {"connection_id":136762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:50:34] local.INFO: Extracted packet for processing {"connection_id":136762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:50:34] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821734912001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784459923000,"timestamp_ms":1784459923000,"timestamp_seconds":1784459923,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a198e38"} 
[2026-07-19 16:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":136762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":136762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":136762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821734912001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821734912001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:50:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:50:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821734912001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":136762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:50:34] local.INFO: GPS data processed {"connection_id":136762,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:50:34] local.INFO: Acknowledgment sent {"connection_id":136762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:50:36] local.INFO: TCP Data received {"connection_id":136646,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:50:36] local.INFO: Processing buffer {"connection_id":136646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:50:36] local.INFO: IMEI packet received {"connection_id":136646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":136646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:50:41] local.INFO: TCP Data received {"connection_id":136646,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:50:41] local.INFO: Processing buffer {"connection_id":136646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:50:41] local.INFO: Packet analysis {"connection_id":136646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:50:41] local.INFO: Extracted packet for processing {"connection_id":136646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:50:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821659136001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784459907000,"timestamp_ms":1784459907000,"timestamp_seconds":1784459907,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a194fb8"} 
[2026-07-19 16:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":136646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":136646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":136646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821659136001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821659136001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:50:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:50:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821659136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":136646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:50:41] local.INFO: GPS data processed {"connection_id":136646,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:50:41] local.INFO: Acknowledgment sent {"connection_id":136646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:50:51] local.INFO: TCP Data received {"connection_id":136764,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:50:51] local.INFO: Processing buffer {"connection_id":136764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:50:51] local.INFO: IMEI packet received {"connection_id":136764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":136764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:50:56] local.INFO: TCP Data received {"connection_id":136764,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:50:56] local.INFO: Processing buffer {"connection_id":136764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:50:56] local.INFO: IMEI packet received {"connection_id":136764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":136764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:50:57] local.INFO: TCP Data received {"connection_id":136764,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a19e040012d196740071fee88003f004c2b..."} 
[2026-07-19 16:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a19e040012d196740071fee88003f004c2b..."} 
[2026-07-19 16:50:57] local.INFO: Processing buffer {"connection_id":136764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a19e040012d196740071fee88003f004c2b..."} 
[2026-07-19 16:50:57] local.INFO: Packet analysis {"connection_id":136764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:50:57] local.INFO: Extracted packet for processing {"connection_id":136764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:50:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821740288001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:50: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-07-19 16:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784459944000,"timestamp_ms":1784459944000,"timestamp_seconds":1784459944,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a19e040"} 
[2026-07-19 16:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821740288001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821740288001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:50:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:50:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821740288001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":136764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:50:57] local.INFO: GPS data processed {"connection_id":136764,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:50:57] local.INFO: Acknowledgment sent {"connection_id":136764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:51:12] local.INFO: TCP Data received {"connection_id":136646,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:51:12] local.INFO: Processing buffer {"connection_id":136646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:51:12] local.INFO: Packet analysis {"connection_id":136646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:51:12] local.INFO: Extracted packet for processing {"connection_id":136646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:51:12] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821659136001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784459907000,"timestamp_ms":1784459907000,"timestamp_seconds":1784459907,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a194fb8"} 
[2026-07-19 16:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:51: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-07-19 16: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-07-19 16:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":136646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":136646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":136646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16: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-07-19 16:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821659136001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 16:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821659136001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:51:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:51:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821659136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":136646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:51:12] local.INFO: GPS data processed {"connection_id":136646,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:51:12] local.INFO: Acknowledgment sent {"connection_id":136646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:51:26] local.INFO: TCP Data received {"connection_id":139118,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139118,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:51:26] local.INFO: Processing buffer {"connection_id":139118,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:51:26] local.INFO: IMEI packet received {"connection_id":139118,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 16:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":139118,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:51:27] local.INFO: TCP Data received {"connection_id":136764,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1a3248012d196740071fee88003f004c2d..."} 
[2026-07-19 16:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1a3248012d196740071fee88003f004c2d..."} 
[2026-07-19 16:51:27] local.INFO: Processing buffer {"connection_id":136764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1a3248012d196740071fee88003f004c2d..."} 
[2026-07-19 16:51:27] local.INFO: Packet analysis {"connection_id":136764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1a"} 
[2026-07-19 16:51:27] local.INFO: Extracted packet for processing {"connection_id":136764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1a"} 
[2026-07-19 16:51:27] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821745664001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:51: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-07-19 16:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784459965000,"timestamp_ms":1784459965000,"timestamp_seconds":1784459965,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1a3248"} 
[2026-07-19 16:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:51:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:51:27] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:51:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:51:27] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:51:27] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8797678552354724199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:51:27] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:51:27] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21443775276515328,"note":"Value kept but may cause issues"} 
[2026-07-19 16:51:27] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-07-19 16:51:27] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 16:51:27] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:51:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:51:27] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:51:27] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,142,45,64,238,63,10,66,60,44,234,1,240,255,227,122,31,4,113,205,70,136,239,48,2,25,7,46],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:51:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712171956764672,"timestamp_seconds":4539712171956765.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821745664001,"66":11961,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821745664001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:51:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:51:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821745664001,"power":11961,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":136764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:51:28] local.INFO: GPS data processed {"connection_id":136764,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:51:28] local.INFO: Acknowledgment sent {"connection_id":136764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:51:31] local.INFO: TCP Data received {"connection_id":136765,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:51:31] local.INFO: Processing buffer {"connection_id":136765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:51:31] local.INFO: IMEI packet received {"connection_id":136765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":136765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:51:36] local.INFO: TCP Data received {"connection_id":136765,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:51:36] local.INFO: Processing buffer {"connection_id":136765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:51:36] local.INFO: IMEI packet received {"connection_id":136765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":136765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:51:37] local.INFO: TCP Data received {"connection_id":136765,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:51:37] local.INFO: Processing buffer {"connection_id":136765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:51:37] local.INFO: Packet analysis {"connection_id":136765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:51:37] local.INFO: Extracted packet for processing {"connection_id":136765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821659136001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:51: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-07-19 16:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784459907000,"timestamp_ms":1784459907000,"timestamp_seconds":1784459907,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a194fb8"} 
[2026-07-19 16:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:51: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-07-19 16:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821659136001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821659136001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:51:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821659136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":136765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:51:37] local.INFO: GPS data processed {"connection_id":136765,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:51:37] local.INFO: Acknowledgment sent {"connection_id":136765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:51:48] local.INFO: TCP Data received {"connection_id":137731,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:51:48] local.INFO: Processing buffer {"connection_id":137731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:51:48] local.INFO: IMEI packet received {"connection_id":137731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":137731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:51:51] local.INFO: TCP Data received {"connection_id":137731,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:51:51] local.INFO: Processing buffer {"connection_id":137731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:51:51] local.INFO: IMEI packet received {"connection_id":137731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":137731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:51:56] local.INFO: TCP Data received {"connection_id":137731,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:51:56] local.INFO: Processing buffer {"connection_id":137731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:51:56] local.INFO: IMEI packet received {"connection_id":137731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":137731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:51:57] local.INFO: TCP Data received {"connection_id":137731,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1a8450012d196740071fee88003f004c2e..."} 
[2026-07-19 16:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1a8450012d196740071fee88003f004c2e..."} 
[2026-07-19 16:51:57] local.INFO: Processing buffer {"connection_id":137731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1a8450012d196740071fee88003f004c2e..."} 
[2026-07-19 16:51:57] local.INFO: Packet analysis {"connection_id":137731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1a"} 
[2026-07-19 16:51:57] local.INFO: Extracted packet for processing {"connection_id":137731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1a"} 
[2026-07-19 16:51:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821751040001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:51: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-07-19 16:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784459986000,"timestamp_ms":1784459986000,"timestamp_seconds":1784459986,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1a8450"} 
[2026-07-19 16:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 16:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:51:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821751040001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821751040001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:51:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:51:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821751040001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":137731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:51:57] local.INFO: GPS data processed {"connection_id":137731,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:51:57] local.INFO: Acknowledgment sent {"connection_id":137731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:52:08] local.INFO: TCP Data received {"connection_id":136765,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:52:08] local.INFO: Processing buffer {"connection_id":136765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:52:08] local.INFO: Packet analysis {"connection_id":136765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:52:08] local.INFO: Extracted packet for processing {"connection_id":136765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821659136001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784459907000,"timestamp_ms":1784459907000,"timestamp_seconds":1784459907,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a194fb8"} 
[2026-07-19 16:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:52: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-07-19 16: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":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:52: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-07-19 16: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-07-19 16:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821659136001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821659136001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:52:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821659136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":136765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:52:08] local.INFO: GPS data processed {"connection_id":136765,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:52:08] local.INFO: Acknowledgment sent {"connection_id":136765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:52:28] local.INFO: TCP Data received {"connection_id":137731,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1ad658012d196740071fee88003f004c2c..."} 
[2026-07-19 16:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1ad658012d196740071fee88003f004c2c..."} 
[2026-07-19 16:52:28] local.INFO: Processing buffer {"connection_id":137731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1ad658012d196740071fee88003f004c2c..."} 
[2026-07-19 16:52:28] local.INFO: Packet analysis {"connection_id":137731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1a"} 
[2026-07-19 16:52:28] local.INFO: Extracted packet for processing {"connection_id":137731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1a"} 
[2026-07-19 16:52:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821756416001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:52: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-07-19 16:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784460007000,"timestamp_ms":1784460007000,"timestamp_seconds":1784460007,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1ad658"} 
[2026-07-19 16:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821756416001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821756416001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:52:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:52:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821756416001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":137731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:52:28] local.INFO: GPS data processed {"connection_id":137731,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:52:28] local.INFO: Acknowledgment sent {"connection_id":137731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:52:30] local.INFO: TCP Data received {"connection_id":136648,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:52:30] local.INFO: Processing buffer {"connection_id":136648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:52:30] local.INFO: IMEI packet received {"connection_id":136648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":136648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:52:36] local.INFO: TCP Data received {"connection_id":136648,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:52:36] local.INFO: Processing buffer {"connection_id":136648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:52:36] local.INFO: IMEI packet received {"connection_id":136648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":136648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:52:37] local.INFO: TCP Data received {"connection_id":136648,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:52:37] local.INFO: Processing buffer {"connection_id":136648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:52:37] local.INFO: Packet analysis {"connection_id":136648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:52:37] local.INFO: Extracted packet for processing {"connection_id":136648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821659136001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784459907000,"timestamp_ms":1784459907000,"timestamp_seconds":1784459907,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a194fb8"} 
[2026-07-19 16:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:52: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-07-19 16: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-07-19 16:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821659136001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821659136001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:52:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821659136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":136648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:52:37] local.INFO: GPS data processed {"connection_id":136648,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:52:37] local.INFO: Acknowledgment sent {"connection_id":136648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:52:51] local.INFO: TCP Data received {"connection_id":136766,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:52:51] local.INFO: Processing buffer {"connection_id":136766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:52:51] local.INFO: IMEI packet received {"connection_id":136766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":136766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:52:51] local.INFO: TCP Data received {"connection_id":136766,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:52:51] local.INFO: Processing buffer {"connection_id":136766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:52:51] local.INFO: IMEI packet received {"connection_id":136766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":136766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:52:56] local.INFO: TCP Data received {"connection_id":136766,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:52:56] local.INFO: Processing buffer {"connection_id":136766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:52:56] local.INFO: IMEI packet received {"connection_id":136766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":136766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:52:57] local.INFO: TCP Data received {"connection_id":136766,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1b2860012d196740071fee88003f004c2b..."} 
[2026-07-19 16:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1b2860012d196740071fee88003f004c2b..."} 
[2026-07-19 16:52:57] local.INFO: Processing buffer {"connection_id":136766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1b2860012d196740071fee88003f004c2b..."} 
[2026-07-19 16:52:57] local.INFO: Packet analysis {"connection_id":136766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1b"} 
[2026-07-19 16:52:57] local.INFO: Extracted packet for processing {"connection_id":136766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1b"} 
[2026-07-19 16:52:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821761792001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:52: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-07-19 16:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784460028000,"timestamp_ms":1784460028000,"timestamp_seconds":1784460028,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1b2860"} 
[2026-07-19 16:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:52:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:52:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:52:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:52:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:52:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8797949135294372199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:52:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:52:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21439377230004224,"note":"Value kept but may cause issues"} 
[2026-07-19 16:52:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-07-19 16:52:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 16:52:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:52:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:52:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 16:52:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:52:57] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,132,45,64,238,63,46,10,66,50,224,1,240,227,122,31,4,113,205,60,136,44,239,47,2,25,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:52:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712176251731968,"timestamp_seconds":4539712176251732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821761792001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821761792001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:52:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:52:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821761792001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":136766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:52:57] local.INFO: GPS data processed {"connection_id":136766,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:52:57] local.INFO: Acknowledgment sent {"connection_id":136766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:53:08] local.INFO: TCP Data received {"connection_id":136648,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:53:08] local.INFO: Processing buffer {"connection_id":136648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:53:08] local.INFO: Packet analysis {"connection_id":136648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:53:08] local.INFO: Extracted packet for processing {"connection_id":136648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:53:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821659136001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53: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-07-19 16:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784459907000,"timestamp_ms":1784459907000,"timestamp_seconds":1784459907,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a194fb8"} 
[2026-07-19 16:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:53: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-07-19 16:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:53: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-07-19 16:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821659136001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821659136001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:53:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:53:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821659136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":136648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:53:08] local.INFO: GPS data processed {"connection_id":136648,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:53:08] local.INFO: Acknowledgment sent {"connection_id":136648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:53:28] local.INFO: TCP Data received {"connection_id":136766,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1b7a68012d196740071fee88003f004c29..."} 
[2026-07-19 16:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1b7a68012d196740071fee88003f004c29..."} 
[2026-07-19 16:53:28] local.INFO: Processing buffer {"connection_id":136766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1b7a68012d196740071fee88003f004c29..."} 
[2026-07-19 16:53:28] local.INFO: Packet analysis {"connection_id":136766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1b"} 
[2026-07-19 16:53:28] local.INFO: Extracted packet for processing {"connection_id":136766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1b"} 
[2026-07-19 16:53:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821767168001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53: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-07-19 16:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784460049000,"timestamp_ms":1784460049000,"timestamp_seconds":1784460049,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1b7a68"} 
[2026-07-19 16:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821767168001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821767168001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:53:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:53:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821767168001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":136766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:53:28] local.INFO: GPS data processed {"connection_id":136766,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:53:28] local.INFO: Acknowledgment sent {"connection_id":136766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:53:31] local.INFO: TCP Data received {"connection_id":139119,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:53:31] local.INFO: Processing buffer {"connection_id":139119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:53:31] local.INFO: IMEI packet received {"connection_id":139119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":139119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:53:36] local.INFO: TCP Data received {"connection_id":139119,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:53:36] local.INFO: Processing buffer {"connection_id":139119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:53:36] local.INFO: IMEI packet received {"connection_id":139119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":139119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:53:37] local.INFO: TCP Data received {"connection_id":139119,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:53:37] local.INFO: Processing buffer {"connection_id":139119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a194fb8012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:53:37] local.INFO: Packet analysis {"connection_id":139119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:53:37] local.INFO: Extracted packet for processing {"connection_id":139119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a19"} 
[2026-07-19 16:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821659136001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53: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-07-19 16:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784459907000,"timestamp_ms":1784459907000,"timestamp_seconds":1784459907,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a194fb8"} 
[2026-07-19 16:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:53: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-07-19 16:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821659136001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821659136001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:53:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821659136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":139119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:53:37] local.INFO: GPS data processed {"connection_id":139119,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:53:37] local.INFO: Acknowledgment sent {"connection_id":139119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:53:51] local.INFO: TCP Data received {"connection_id":137732,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:53:51] local.INFO: Processing buffer {"connection_id":137732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:53:51] local.INFO: IMEI packet received {"connection_id":137732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":137732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:53:54] local.INFO: TCP Data received {"connection_id":137732,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:53:54] local.INFO: Processing buffer {"connection_id":137732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:53:54] local.INFO: IMEI packet received {"connection_id":137732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":137732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:53:56] local.INFO: TCP Data received {"connection_id":137732,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:53:56] local.INFO: Processing buffer {"connection_id":137732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:53:56] local.INFO: IMEI packet received {"connection_id":137732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":137732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:53:56] local.INFO: TCP Data received {"connection_id":137732,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1bcc70012d196740071fee88003f004c2a..."} 
[2026-07-19 16:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1bcc70012d196740071fee88003f004c2a..."} 
[2026-07-19 16:53:56] local.INFO: Processing buffer {"connection_id":137732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1bcc70012d196740071fee88003f004c2a..."} 
[2026-07-19 16:53:56] local.INFO: Packet analysis {"connection_id":137732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1b"} 
[2026-07-19 16:53:56] local.INFO: Extracted packet for processing {"connection_id":137732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1b"} 
[2026-07-19 16:53:56] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821772544001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53: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-07-19 16:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784460070000,"timestamp_ms":1784460070000,"timestamp_seconds":1784460070,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1bcc70"} 
[2026-07-19 16:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:53: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-07-19 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53:56] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53:56] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53:56] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8798129523920804199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53:56] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53:56] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21441576253259776,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53:56] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53:56] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53:56] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:53:56] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:53:56] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,40,45,64,238,63,43,10,66,214,44,132,1,240,255,227,122,31,4,113,205,224,136,239,48,2,25,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:53:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712163366830080,"timestamp_seconds":4539712163366830.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821772544001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821772544001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:53:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:53:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821772544001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":137732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:53:56] local.INFO: GPS data processed {"connection_id":137732,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:53:56] local.INFO: Acknowledgment sent {"connection_id":137732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:54:01] local.INFO: TCP Data received {"connection_id":137732,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1c1e78012d196740071fee88003f004c2a..."} 
[2026-07-19 16:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1c1e78012d196740071fee88003f004c2a..."} 
[2026-07-19 16:54:01] local.INFO: Processing buffer {"connection_id":137732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1c1e78012d196740071fee88003f004c2a..."} 
[2026-07-19 16:54:01] local.INFO: Packet analysis {"connection_id":137732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1c"} 
[2026-07-19 16:54:01] local.INFO: Extracted packet for processing {"connection_id":137732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1c"} 
[2026-07-19 16:54:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821777920001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784460091000,"timestamp_ms":1784460091000,"timestamp_seconds":1784460091,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1c1e78"} 
[2026-07-19 16:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:54: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-07-19 16: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 16:54:01] 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-07-19 16: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-07-19 16:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821777920001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821777920001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:54:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:54:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821777920001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":137732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:54:01] local.INFO: GPS data processed {"connection_id":137732,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:54:01] local.INFO: Acknowledgment sent {"connection_id":137732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:54:08] local.INFO: TCP Data received {"connection_id":139119,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:54:08] local.INFO: Processing buffer {"connection_id":139119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:54:08] local.INFO: Packet analysis {"connection_id":139119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:54:08] local.INFO: Extracted packet for processing {"connection_id":139119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821736192001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784460208000,"timestamp_ms":1784460208000,"timestamp_seconds":1784460208,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1de780"} 
[2026-07-19 16:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:54: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-07-19 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:54: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-07-19 16: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-07-19 16:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:54: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-07-19 16:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821736192001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821736192001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:54:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821736192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":139119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:54:08] local.INFO: GPS data processed {"connection_id":139119,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:54:08] local.INFO: Acknowledgment sent {"connection_id":139119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:54:32] local.INFO: TCP Data received {"connection_id":137732,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1c7080012d196740071fee88003f004c29..."} 
[2026-07-19 16:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1c7080012d196740071fee88003f004c29..."} 
[2026-07-19 16:54:32] local.INFO: Processing buffer {"connection_id":137732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1c7080012d196740071fee88003f004c29..."} 
[2026-07-19 16:54:32] local.INFO: Packet analysis {"connection_id":137732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1c"} 
[2026-07-19 16:54:32] local.INFO: Extracted packet for processing {"connection_id":137732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1c"} 
[2026-07-19 16:54:32] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821783296001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784460112000,"timestamp_ms":1784460112000,"timestamp_seconds":1784460112,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1c7080"} 
[2026-07-19 16:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:54: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-07-19 16:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:32] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:32] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8798309912547236199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:32] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:32] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21441576253259776,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:32] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:32] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3366723078924468430,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:32] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:54:32] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:32] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:32] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,144,159,204,45,64,238,63,42,10,66,122,41,40,1,240,255,227,31,4,113,205,132,136,46,239,47,2,25,7,43],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:54:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712167661797376,"timestamp_seconds":4539712167661797.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":137732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":137732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":137732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821783296001,"66":12232,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821783296001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:54:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:54:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821783296001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":137732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:54:32] local.INFO: GPS data processed {"connection_id":137732,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:54:32] local.INFO: Acknowledgment sent {"connection_id":137732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:54:36] local.INFO: TCP Data received {"connection_id":136649,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:54:36] local.INFO: Processing buffer {"connection_id":136649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:54:36] local.INFO: IMEI packet received {"connection_id":136649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":136649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:54:41] local.INFO: TCP Data received {"connection_id":136649,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:54:41] local.INFO: Processing buffer {"connection_id":136649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:54:41] local.INFO: IMEI packet received {"connection_id":136649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":136649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:54:42] local.INFO: TCP Data received {"connection_id":136649,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:54:42] local.INFO: Processing buffer {"connection_id":136649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:54:42] local.INFO: Packet analysis {"connection_id":136649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:54:42] local.INFO: Extracted packet for processing {"connection_id":136649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:54:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821736192001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784460208000,"timestamp_ms":1784460208000,"timestamp_seconds":1784460208,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1de780"} 
[2026-07-19 16:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821736192001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821736192001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:54:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:54:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821736192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":136649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:54:42] local.INFO: GPS data processed {"connection_id":136649,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:54:42] local.INFO: Acknowledgment sent {"connection_id":136649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:54:51] local.INFO: TCP Data received {"connection_id":137734,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:54:51] local.INFO: Processing buffer {"connection_id":137734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:54:51] local.INFO: IMEI packet received {"connection_id":137734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":137734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:54:56] local.INFO: TCP Data received {"connection_id":137734,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:54:56] local.INFO: Processing buffer {"connection_id":137734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:54:56] local.INFO: IMEI packet received {"connection_id":137734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":137734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:54:57] local.INFO: TCP Data received {"connection_id":137734,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1cc288012d196740071fee88003f004c2b..."} 
[2026-07-19 16:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1cc288012d196740071fee88003f004c2b..."} 
[2026-07-19 16:54:57] local.INFO: Processing buffer {"connection_id":137734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1cc288012d196740071fee88003f004c2b..."} 
[2026-07-19 16:54:57] local.INFO: Packet analysis {"connection_id":137734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1c"} 
[2026-07-19 16:54:57] local.INFO: Extracted packet for processing {"connection_id":137734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1c"} 
[2026-07-19 16:54:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821788672001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:54: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-07-19 16:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784460133000,"timestamp_ms":1784460133000,"timestamp_seconds":1784460133,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1cc288"} 
[2026-07-19 16:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-19 16:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821788672001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821788672001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:54:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:54:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821788672001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":137734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:54:57] local.INFO: GPS data processed {"connection_id":137734,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:54:57] local.INFO: Acknowledgment sent {"connection_id":137734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:55:13] local.INFO: TCP Data received {"connection_id":136649,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:55:13] local.INFO: Processing buffer {"connection_id":136649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:55:13] local.INFO: Packet analysis {"connection_id":136649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:55:13] local.INFO: Extracted packet for processing {"connection_id":136649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:55:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821736192001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16: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-07-19 16:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784460208000,"timestamp_ms":1784460208000,"timestamp_seconds":1784460208,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1de780"} 
[2026-07-19 16:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:55: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-07-19 16: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":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":136649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":136649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":136649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:55:13] 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-07-19 16:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821736192001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821736192001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:55:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:55:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821736192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":136649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:55:13] local.INFO: GPS data processed {"connection_id":136649,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:55:13] local.INFO: Acknowledgment sent {"connection_id":136649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:55:28] local.INFO: TCP Data received {"connection_id":137734,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1d1490012d196740071fee88003f004c2c..."} 
[2026-07-19 16:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1d1490012d196740071fee88003f004c2c..."} 
[2026-07-19 16:55:28] local.INFO: Processing buffer {"connection_id":137734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1d1490012d196740071fee88003f004c2c..."} 
[2026-07-19 16:55:28] local.INFO: Packet analysis {"connection_id":137734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:55:28] local.INFO: Extracted packet for processing {"connection_id":137734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:55:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821794048001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:55: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-07-19 16:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784460154000,"timestamp_ms":1784460154000,"timestamp_seconds":1784460154,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1d1490"} 
[2026-07-19 16:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:55: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-07-19 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821794048001,"66":11852,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821794048001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:55:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:55:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821794048001,"power":11852,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":137734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:55:28] local.INFO: GPS data processed {"connection_id":137734,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:55:28] local.INFO: Acknowledgment sent {"connection_id":137734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:55:31] local.INFO: TCP Data received {"connection_id":136769,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:55:31] local.INFO: Processing buffer {"connection_id":136769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:55:31] local.INFO: IMEI packet received {"connection_id":136769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":136769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:55:36] local.INFO: TCP Data received {"connection_id":136769,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:55:36] local.INFO: Processing buffer {"connection_id":136769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:55:36] local.INFO: IMEI packet received {"connection_id":136769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":136769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:55:37] local.INFO: TCP Data received {"connection_id":136769,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:55:37] local.INFO: Processing buffer {"connection_id":136769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:55:37] local.INFO: Packet analysis {"connection_id":136769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:55:37] local.INFO: Extracted packet for processing {"connection_id":136769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821736192001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:55: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-07-19 16:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784460208000,"timestamp_ms":1784460208000,"timestamp_seconds":1784460208,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1de780"} 
[2026-07-19 16:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:55: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-07-19 16:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821736192001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821736192001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821736192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":136769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:55:37] local.INFO: GPS data processed {"connection_id":136769,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:55:37] local.INFO: Acknowledgment sent {"connection_id":136769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:55:56] local.INFO: TCP Data received {"connection_id":137735,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:55:56] local.INFO: Processing buffer {"connection_id":137735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:55:56] local.INFO: IMEI packet received {"connection_id":137735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":137735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:56:00] local.INFO: TCP Data received {"connection_id":137735,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:56:00] local.INFO: Processing buffer {"connection_id":137735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:56:00] local.INFO: IMEI packet received {"connection_id":137735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":137735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:56:01] local.INFO: TCP Data received {"connection_id":137735,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1d6698012d196740071fee88003f004c2b..."} 
[2026-07-19 16:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1d6698012d196740071fee88003f004c2b..."} 
[2026-07-19 16:56:01] local.INFO: Processing buffer {"connection_id":137735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1d6698012d196740071fee88003f004c2b..."} 
[2026-07-19 16:56:01] local.INFO: Packet analysis {"connection_id":137735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:56:01] local.INFO: Extracted packet for processing {"connection_id":137735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:56:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821799424001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784460175000,"timestamp_ms":1784460175000,"timestamp_seconds":1784460175,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1d6698"} 
[2026-07-19 16:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:56: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-07-19 16: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-19 16:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821799424001,"66":12113,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821799424001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:56:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:56:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821799424001,"power":12113,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":137735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:56:01] local.INFO: GPS data processed {"connection_id":137735,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:56:01] local.INFO: Acknowledgment sent {"connection_id":137735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:56:01] local.INFO: TCP Data received {"connection_id":137735,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1db8a0012d196740071fee88003f004c2b..."} 
[2026-07-19 16:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1db8a0012d196740071fee88003f004c2b..."} 
[2026-07-19 16:56:01] local.INFO: Processing buffer {"connection_id":137735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1db8a0012d196740071fee88003f004c2b..."} 
[2026-07-19 16:56:01] local.INFO: Packet analysis {"connection_id":137735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:56:01] local.INFO: Extracted packet for processing {"connection_id":137735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:56:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821804800001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784460196000,"timestamp_ms":1784460196000,"timestamp_seconds":1784460196,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1db8a0"} 
[2026-07-19 16:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:56: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-07-19 16: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-19 16:56:01] 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-07-19 16: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-07-19 16:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821804800001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821804800001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:56:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:56:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821804800001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":137735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:56:01] local.INFO: GPS data processed {"connection_id":137735,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:56:01] local.INFO: Acknowledgment sent {"connection_id":137735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:56:09] local.INFO: TCP Data received {"connection_id":136769,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:56:09] local.INFO: Processing buffer {"connection_id":136769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:56:09] local.INFO: Packet analysis {"connection_id":136769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:56:09] local.INFO: Extracted packet for processing {"connection_id":136769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821736192001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:56: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-07-19 16:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784460208000,"timestamp_ms":1784460208000,"timestamp_seconds":1784460208,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1de780"} 
[2026-07-19 16:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821736192001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821736192001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821736192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":136769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:56:09] local.INFO: GPS data processed {"connection_id":136769,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:56:09] local.INFO: Acknowledgment sent {"connection_id":136769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:56:31] local.INFO: TCP Data received {"connection_id":136770,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:56:31] local.INFO: Processing buffer {"connection_id":136770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:56:31] local.INFO: IMEI packet received {"connection_id":136770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":136770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:56:32] local.INFO: TCP Data received {"connection_id":137735,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1e0aa8012d196740071fee88003f004c2b..."} 
[2026-07-19 16:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1e0aa8012d196740071fee88003f004c2b..."} 
[2026-07-19 16:56:32] local.INFO: Processing buffer {"connection_id":137735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1e0aa8012d196740071fee88003f004c2b..."} 
[2026-07-19 16:56:32] local.INFO: Packet analysis {"connection_id":137735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1e"} 
[2026-07-19 16:56:32] local.INFO: Extracted packet for processing {"connection_id":137735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1e"} 
[2026-07-19 16:56:32] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821810176001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784460217000,"timestamp_ms":1784460217000,"timestamp_seconds":1784460217,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1e0aa8"} 
[2026-07-19 16:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:56: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-07-19 16:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 16:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":137735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":137735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":137735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821810176001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821810176001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:56:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:56:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821810176001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":137735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:56:32] local.INFO: GPS data processed {"connection_id":137735,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:56:32] local.INFO: Acknowledgment sent {"connection_id":137735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:56:36] local.INFO: TCP Data received {"connection_id":136770,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:56:36] local.INFO: Processing buffer {"connection_id":136770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:56:36] local.INFO: IMEI packet received {"connection_id":136770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":136770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:56:37] local.INFO: TCP Data received {"connection_id":136770,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:56:37] local.INFO: Processing buffer {"connection_id":136770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:56:37] local.INFO: Packet analysis {"connection_id":136770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:56:37] local.INFO: Extracted packet for processing {"connection_id":136770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821736192001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:56: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-07-19 16:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784460208000,"timestamp_ms":1784460208000,"timestamp_seconds":1784460208,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1de780"} 
[2026-07-19 16:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:56: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-07-19 16:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821736192001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821736192001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:56:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821736192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":136770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:56:37] local.INFO: GPS data processed {"connection_id":136770,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:56:37] local.INFO: Acknowledgment sent {"connection_id":136770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:56:51] local.INFO: TCP Data received {"connection_id":139120,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:56:51] local.INFO: Processing buffer {"connection_id":139120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:56:51] local.INFO: IMEI packet received {"connection_id":139120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":139120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:56:51] local.INFO: TCP Data received {"connection_id":136650,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136650,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:56:51] local.INFO: Processing buffer {"connection_id":136650,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:56:51] local.INFO: IMEI packet received {"connection_id":136650,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 16:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":136650,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:56:56] local.INFO: TCP Data received {"connection_id":139120,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:56:56] local.INFO: Processing buffer {"connection_id":139120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:56:56] local.INFO: IMEI packet received {"connection_id":139120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":139120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:56:57] local.INFO: TCP Data received {"connection_id":139120,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1e5cb0012d196740071fee88003f004c2a..."} 
[2026-07-19 16:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1e5cb0012d196740071fee88003f004c2a..."} 
[2026-07-19 16:56:57] local.INFO: Processing buffer {"connection_id":139120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1e5cb0012d196740071fee88003f004c2a..."} 
[2026-07-19 16:56:57] local.INFO: Packet analysis {"connection_id":139120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1e"} 
[2026-07-19 16:56:57] local.INFO: Extracted packet for processing {"connection_id":139120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1e"} 
[2026-07-19 16:56:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821815552001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:56: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-07-19 16:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784460238000,"timestamp_ms":1784460238000,"timestamp_seconds":1784460238,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1e5cb0"} 
[2026-07-19 16:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 16:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821815552001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821815552001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:56:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:56:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821815552001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":139120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:56:57] local.INFO: GPS data processed {"connection_id":139120,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:56:57] local.INFO: Acknowledgment sent {"connection_id":139120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:57:08] local.INFO: TCP Data received {"connection_id":136770,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:57:08] local.INFO: Processing buffer {"connection_id":136770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:57:08] local.INFO: Packet analysis {"connection_id":136770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:57:08] local.INFO: Extracted packet for processing {"connection_id":136770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821736192001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:57: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-07-19 16:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784460208000,"timestamp_ms":1784460208000,"timestamp_seconds":1784460208,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1de780"} 
[2026-07-19 16:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:57: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-07-19 16:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821736192001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821736192001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:57:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821736192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":136770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:57:08] local.INFO: GPS data processed {"connection_id":136770,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:57:08] local.INFO: Acknowledgment sent {"connection_id":136770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:57:26] local.INFO: TCP Data received {"connection_id":139121,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:57:26] local.INFO: Processing buffer {"connection_id":139121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 16:57:26] local.INFO: IMEI packet received {"connection_id":139121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 16:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":139121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:57:28] local.INFO: TCP Data received {"connection_id":139120,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1eaeb8012d196740071fee88003f004c2a..."} 
[2026-07-19 16:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1eaeb8012d196740071fee88003f004c2a..."} 
[2026-07-19 16:57:28] local.INFO: Processing buffer {"connection_id":139120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1eaeb8012d196740071fee88003f004c2a..."} 
[2026-07-19 16:57:28] local.INFO: Packet analysis {"connection_id":139120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1e"} 
[2026-07-19 16:57:28] local.INFO: Extracted packet for processing {"connection_id":139120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1e"} 
[2026-07-19 16:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821820928001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:57: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-07-19 16:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784460259000,"timestamp_ms":1784460259000,"timestamp_seconds":1784460259,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1eaeb8"} 
[2026-07-19 16:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:57: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-07-19 16:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821820928001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821820928001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:57:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:57:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821820928001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":139120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:57:28] local.INFO: GPS data processed {"connection_id":139120,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:57:28] local.INFO: Acknowledgment sent {"connection_id":139120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:57:31] local.INFO: TCP Data received {"connection_id":139122,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:57:31] local.INFO: Processing buffer {"connection_id":139122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:57:31] local.INFO: IMEI packet received {"connection_id":139122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":139122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:57:36] local.INFO: TCP Data received {"connection_id":139122,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:57:36] local.INFO: Processing buffer {"connection_id":139122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:57:36] local.INFO: IMEI packet received {"connection_id":139122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":139122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:57:38] local.INFO: TCP Data received {"connection_id":139122,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:57:38] local.INFO: Processing buffer {"connection_id":139122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:57:38] local.INFO: Packet analysis {"connection_id":139122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:57:38] local.INFO: Extracted packet for processing {"connection_id":139122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821736192001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:57: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-07-19 16:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784460208000,"timestamp_ms":1784460208000,"timestamp_seconds":1784460208,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1de780"} 
[2026-07-19 16:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":139122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":139122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":139122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16: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-07-19 16:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821736192001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821736192001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:57:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821736192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":139122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:57:38] local.INFO: GPS data processed {"connection_id":139122,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:57:38] local.INFO: Acknowledgment sent {"connection_id":139122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:57:39] local.INFO: TCP Data received {"connection_id":136651,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:57:39] local.INFO: Processing buffer {"connection_id":136651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:57:39] local.INFO: IMEI packet received {"connection_id":136651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 16:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":136651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:57:43] local.INFO: TCP Data received {"connection_id":136651,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:57:43] local.INFO: Processing buffer {"connection_id":136651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 16:57:43] local.INFO: IMEI packet received {"connection_id":136651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 16:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":136651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:57:51] local.INFO: TCP Data received {"connection_id":136652,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:57:51] local.INFO: Processing buffer {"connection_id":136652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:57:51] local.INFO: IMEI packet received {"connection_id":136652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":136652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:57:56] local.INFO: TCP Data received {"connection_id":136651,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 16:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 16:57:56] local.INFO: Processing buffer {"connection_id":136651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 16:57:56] local.INFO: Packet analysis {"connection_id":136651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 16:57:56] local.INFO: Extracted packet for processing {"connection_id":136651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 16:57:56] local.INFO: GPS Element Parsed {"raw_longitude":762983168,"raw_latitude":98214256,"longitude_deg":76.2983168,"latitude_deg":9.8214256,"altitude":21,"angle":205,"satellites":10,"speed":2,"hex_longitude":"2d7a3300","hex_latitude":"05daa170","is_valid_coordinates":true} 
[2026-07-19 16:57:56] 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-07-19 16:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 16:57:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,188,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-19 16:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784460461000,"timestamp_ms":1784460461000,"timestamp_seconds":1784460461,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a21c3c8"} 
[2026-07-19 16:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:57:56] 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-07-19 16:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 16:57: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-07-19 16:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12287,"188":206,"85":15104,"24":2,"16":108182301971578880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16]} 
[2026-07-19 16:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-19 16:57:56] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 16:57:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:57:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12287,"unknown_188":206,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-07-19 16:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":136651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:57:56] local.INFO: GPS data processed {"connection_id":136651,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:57:56] local.INFO: Acknowledgment sent {"connection_id":136651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:57:56] local.INFO: TCP Data received {"connection_id":136652,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:57:56] local.INFO: Processing buffer {"connection_id":136652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:57:56] local.INFO: IMEI packet received {"connection_id":136652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":136652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:57:57] local.INFO: TCP Data received {"connection_id":136652,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1f00c0012d196740071fee88003f004c2b..."} 
[2026-07-19 16:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1f00c0012d196740071fee88003f004c2b..."} 
[2026-07-19 16:57:57] local.INFO: Processing buffer {"connection_id":136652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1f00c0012d196740071fee88003f004c2b..."} 
[2026-07-19 16:57:57] local.INFO: Packet analysis {"connection_id":136652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1f"} 
[2026-07-19 16:57:57] local.INFO: Extracted packet for processing {"connection_id":136652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1f"} 
[2026-07-19 16:57:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821826304001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:57: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-07-19 16:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784460280000,"timestamp_ms":1784460280000,"timestamp_seconds":1784460280,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1f00c0"} 
[2026-07-19 16:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821826304001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821826304001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:57:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:57:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821826304001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":136652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:57:57] local.INFO: GPS data processed {"connection_id":136652,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:57:57] local.INFO: Acknowledgment sent {"connection_id":136652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:58:11] local.INFO: TCP Data received {"connection_id":139122,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:58:11] local.INFO: Processing buffer {"connection_id":139122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:58:11] local.INFO: Packet analysis {"connection_id":139122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:58:11] local.INFO: Extracted packet for processing {"connection_id":139122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:58:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821736192001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:58: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-07-19 16:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784460208000,"timestamp_ms":1784460208000,"timestamp_seconds":1784460208,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1de780"} 
[2026-07-19 16:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":139122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":139122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":139122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:58:11] 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-07-19 16:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821736192001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821736192001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:58:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:58:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821736192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":139122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:58:11] local.INFO: GPS data processed {"connection_id":139122,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:58:11] local.INFO: Acknowledgment sent {"connection_id":139122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:58:26] local.INFO: TCP Data received {"connection_id":136651,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 16:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 16:58:26] local.INFO: Processing buffer {"connection_id":136651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 16:58:26] local.INFO: Packet analysis {"connection_id":136651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 16:58:26] local.INFO: Extracted packet for processing {"connection_id":136651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 16:58:26] local.INFO: GPS Element Parsed {"raw_longitude":762983168,"raw_latitude":98214256,"longitude_deg":76.2983168,"latitude_deg":9.8214256,"altitude":21,"angle":205,"satellites":10,"speed":2,"hex_longitude":"2d7a3300","hex_latitude":"05daa170","is_valid_coordinates":true} 
[2026-07-19 16:58: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-07-19 16:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 16:58:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,188,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-19 16:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784460461000,"timestamp_ms":1784460461000,"timestamp_seconds":1784460461,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a21c3c8"} 
[2026-07-19 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-07-19 16:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 16:58: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-07-19 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-07-19 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-07-19 16:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":136651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12287,"188":206,"85":15104,"24":2,"16":108182301971578880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16]} 
[2026-07-19 16:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-19 16:58:26] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 16:58:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:58:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12287,"unknown_188":206,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-07-19 16:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":136651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:58:26] local.INFO: GPS data processed {"connection_id":136651,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:58:26] local.INFO: Acknowledgment sent {"connection_id":136651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:58:27] local.INFO: TCP Data received {"connection_id":136652,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1f52c8012d196740071fee88003f004c28..."} 
[2026-07-19 16:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1f52c8012d196740071fee88003f004c28..."} 
[2026-07-19 16:58:27] local.INFO: Processing buffer {"connection_id":136652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1f52c8012d196740071fee88003f004c28..."} 
[2026-07-19 16:58:27] local.INFO: Packet analysis {"connection_id":136652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1f"} 
[2026-07-19 16:58:27] local.INFO: Extracted packet for processing {"connection_id":136652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1f"} 
[2026-07-19 16:58:27] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:58: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-07-19 16:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821831680001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:58: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-07-19 16:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784460301000,"timestamp_ms":1784460301000,"timestamp_seconds":1784460301,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1f52c8"} 
[2026-07-19 16:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:58:27] 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-07-19 16:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821831680001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821831680001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:58:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:58:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821831680001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":136652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:58:28] local.INFO: GPS data processed {"connection_id":136652,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:58:28] local.INFO: Acknowledgment sent {"connection_id":136652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:58:30] local.INFO: TCP Data received {"connection_id":139123,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:58:30] local.INFO: Processing buffer {"connection_id":139123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:58:30] local.INFO: IMEI packet received {"connection_id":139123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":139123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:58:36] local.INFO: TCP Data received {"connection_id":139123,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:58:36] local.INFO: Processing buffer {"connection_id":139123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:58:36] local.INFO: IMEI packet received {"connection_id":139123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":139123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:58:37] local.INFO: TCP Data received {"connection_id":139123,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:58:37] local.INFO: Processing buffer {"connection_id":139123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1de780012d34c50006aa4dd8000800952d..."} 
[2026-07-19 16:58:37] local.INFO: Packet analysis {"connection_id":139123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:58:37] local.INFO: Extracted packet for processing {"connection_id":139123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1d"} 
[2026-07-19 16:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821736192001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:58: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-07-19 16:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784460208000,"timestamp_ms":1784460208000,"timestamp_seconds":1784460208,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1de780"} 
[2026-07-19 16:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:58: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-07-19 16:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821736192001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821736192001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:58:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821736192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":139123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:58:37] local.INFO: GPS data processed {"connection_id":139123,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:58:37] local.INFO: Acknowledgment sent {"connection_id":139123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:58:51] local.INFO: TCP Data received {"connection_id":136654,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:58:51] local.INFO: Processing buffer {"connection_id":136654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:58:51] local.INFO: IMEI packet received {"connection_id":136654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":136654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:58:56] local.INFO: TCP Data received {"connection_id":136654,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:58:56] local.INFO: Processing buffer {"connection_id":136654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:58:56] local.INFO: IMEI packet received {"connection_id":136654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":136654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:58:57] local.INFO: TCP Data received {"connection_id":136654,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1fa4d0012d196740071fee88003f004c2a..."} 
[2026-07-19 16:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1fa4d0012d196740071fee88003f004c2a..."} 
[2026-07-19 16:58:57] local.INFO: Processing buffer {"connection_id":136654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1fa4d0012d196740071fee88003f004c2a..."} 
[2026-07-19 16:58:57] local.INFO: Packet analysis {"connection_id":136654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1f"} 
[2026-07-19 16:58:57] local.INFO: Extracted packet for processing {"connection_id":136654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1f"} 
[2026-07-19 16:58:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821837056001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:58: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-07-19 16:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784460322000,"timestamp_ms":1784460322000,"timestamp_seconds":1784460322,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1fa4d0"} 
[2026-07-19 16:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 16:58:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:58:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821837056001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821837056001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:58:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:58:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821837056001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":136654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:58:57] local.INFO: GPS data processed {"connection_id":136654,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:58:57] local.INFO: Acknowledgment sent {"connection_id":136654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:58:58] local.INFO: TCP Data received {"connection_id":136651,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 16:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 16:58:58] local.INFO: Processing buffer {"connection_id":136651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 16:58:58] local.INFO: Packet analysis {"connection_id":136651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 16:58:58] local.INFO: Extracted packet for processing {"connection_id":136651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 16:58:58] local.INFO: GPS Element Parsed {"raw_longitude":762983168,"raw_latitude":98214256,"longitude_deg":76.2983168,"latitude_deg":9.8214256,"altitude":21,"angle":205,"satellites":10,"speed":2,"hex_longitude":"2d7a3300","hex_latitude":"05daa170","is_valid_coordinates":true} 
[2026-07-19 16:58:58] 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-07-19 16:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 16:58:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,188,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-19 16:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784460461000,"timestamp_ms":1784460461000,"timestamp_seconds":1784460461,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a21c3c8"} 
[2026-07-19 16:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:58:58] 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-07-19 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 16:58:58] 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-07-19 16: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-07-19 16:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12287,"188":206,"85":15104,"24":2,"16":108182301971578880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16]} 
[2026-07-19 16:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-19 16:58:58] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 16:58:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:58:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12287,"unknown_188":206,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-07-19 16:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":136651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:58:58] local.INFO: GPS data processed {"connection_id":136651,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:58:58] local.INFO: Acknowledgment sent {"connection_id":136651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:59:08] local.INFO: TCP Data received {"connection_id":139123,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:59:08] local.INFO: Processing buffer {"connection_id":139123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:59:08] local.INFO: Packet analysis {"connection_id":139123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 16:59:08] local.INFO: Extracted packet for processing {"connection_id":139123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 16:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821813248001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59: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-07-19 16:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784460509000,"timestamp_ms":1784460509000,"timestamp_seconds":1784460509,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a227f48"} 
[2026-07-19 16:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:59: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-07-19 16:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:59: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-07-19 16:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821813248001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821813248001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:59:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:59:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821813248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":139123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:59:08] local.INFO: GPS data processed {"connection_id":139123,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:59:08] local.INFO: Acknowledgment sent {"connection_id":139123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:59:28] local.INFO: TCP Data received {"connection_id":136654,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a1ff6d8012d196740071fee88003f004c2c..."} 
[2026-07-19 16:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a1ff6d8012d196740071fee88003f004c2c..."} 
[2026-07-19 16:59:28] local.INFO: Processing buffer {"connection_id":136654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a1ff6d8012d196740071fee88003f004c2c..."} 
[2026-07-19 16:59:28] local.INFO: Packet analysis {"connection_id":136654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a1f"} 
[2026-07-19 16:59:28] local.INFO: Extracted packet for processing {"connection_id":136654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a1f"} 
[2026-07-19 16:59:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821842432001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59: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-07-19 16:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784460343000,"timestamp_ms":1784460343000,"timestamp_seconds":1784460343,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a1ff6d8"} 
[2026-07-19 16:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:59: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-07-19 16:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 16:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 16:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821842432001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821842432001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:59:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:59:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821842432001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":136654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:59:28] local.INFO: GPS data processed {"connection_id":136654,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:59:28] local.INFO: Acknowledgment sent {"connection_id":136654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:59:30] local.INFO: TCP Data received {"connection_id":136651,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 16:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 16:59:30] local.INFO: Processing buffer {"connection_id":136651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 16:59:30] local.INFO: Packet analysis {"connection_id":136651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 16:59:30] local.INFO: Extracted packet for processing {"connection_id":136651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 16:59:30] local.INFO: GPS Element Parsed {"raw_longitude":762983168,"raw_latitude":98214256,"longitude_deg":76.2983168,"latitude_deg":9.8214256,"altitude":21,"angle":205,"satellites":10,"speed":2,"hex_longitude":"2d7a3300","hex_latitude":"05daa170","is_valid_coordinates":true} 
[2026-07-19 16:59:30] 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-07-19 16:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,188,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-19 16:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784460461000,"timestamp_ms":1784460461000,"timestamp_seconds":1784460461,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a21c3c8"} 
[2026-07-19 16:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:59: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-07-19 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 16:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":136651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 16:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 16:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 16:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12287,"188":206,"85":15104,"24":2,"16":108182301971578880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16]} 
[2026-07-19 16:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 16:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 16:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-19 16:59:30] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 16:59:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 16:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:59:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12287,"unknown_188":206,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-07-19 16:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":136651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:59:30] local.INFO: GPS data processed {"connection_id":136651,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:59:30] local.INFO: Acknowledgment sent {"connection_id":136651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:59:35] local.INFO: TCP Data received {"connection_id":137737,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:59:35] local.INFO: Processing buffer {"connection_id":137737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:59:35] local.INFO: IMEI packet received {"connection_id":137737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 16:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":137737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:59:41] local.INFO: TCP Data received {"connection_id":137737,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:59:41] local.INFO: Processing buffer {"connection_id":137737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 16:59:41] local.INFO: IMEI packet received {"connection_id":137737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 16:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":137737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:59:45] local.INFO: TCP Data received {"connection_id":137737,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:59:45] local.INFO: Processing buffer {"connection_id":137737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 16:59:45] local.INFO: Packet analysis {"connection_id":137737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 16:59:45] local.INFO: Extracted packet for processing {"connection_id":137737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 16:59:45] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 16: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-07-19 16:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821813248001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 16:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784460509000,"timestamp_ms":1784460509000,"timestamp_seconds":1784460509,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a227f48"} 
[2026-07-19 16:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 16:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 16:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 16: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-07-19 16:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":137737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":137737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":137737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 16:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 16:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 16:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821813248001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 16:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 16:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 16:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821813248001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:59:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 16:59:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 16:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 16:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821813248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 16:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":137737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:59:45] local.INFO: GPS data processed {"connection_id":137737,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:59:45] local.INFO: Acknowledgment sent {"connection_id":137737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 16:59:51] local.INFO: TCP Data received {"connection_id":137738,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:59:51] local.INFO: Processing buffer {"connection_id":137738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:59:51] local.INFO: IMEI packet received {"connection_id":137738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 16:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":137738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 16:59:51] local.INFO: TCP Data received {"connection_id":137738,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:59:51] local.INFO: Processing buffer {"connection_id":137738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:59:51] local.INFO: IMEI packet received {"connection_id":137738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":137738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:59:56] local.INFO: TCP Data received {"connection_id":137738,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:59:56] local.INFO: Processing buffer {"connection_id":137738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 16:59:56] local.INFO: IMEI packet received {"connection_id":137738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 16:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":137738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 16:59:57] local.INFO: TCP Data received {"connection_id":137738,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2048e0012d196740071fee88003f004c2a..."} 
[2026-07-19 16:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2048e0012d196740071fee88003f004c2a..."} 
[2026-07-19 16:59:57] local.INFO: Processing buffer {"connection_id":137738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2048e0012d196740071fee88003f004c2a..."} 
[2026-07-19 16:59:57] local.INFO: Packet analysis {"connection_id":137738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a20"} 
[2026-07-19 16:59:57] local.INFO: Extracted packet for processing {"connection_id":137738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a20"} 
[2026-07-19 16:59:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 16:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 16:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821847808001,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59: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-07-19 16:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784460364000,"timestamp_ms":1784460364000,"timestamp_seconds":1784460364,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2048e0"} 
[2026-07-19 16:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 16:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 16:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 16:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8799392244305828199,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21439377230004224,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195247100690638,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 16:59:57] local.WARNING: Large IO value detected {"io_id":92,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 16:59:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,164,45,64,238,63,42,10,66,82,40,1,240,255,227,122,31,4,113,205,92,136,239,47,2,25,7,43],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 16:59:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712176251731968,"timestamp_seconds":4539712176251732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 16:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 16:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 16:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 16:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 16:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 16:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 16:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 16:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821847808001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 16:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 16:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 16:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821847808001,"description":"Unknown IO ID 0"} 
[2026-07-19 16:59:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 16:59:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 16:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 16:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 16:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821847808001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 16:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":137738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 16:59:57] local.INFO: GPS data processed {"connection_id":137738,"processed":1,"errors":0,"total":1} 
[2026-07-19 16:59:57] local.INFO: Acknowledgment sent {"connection_id":137738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:00:01] local.INFO: TCP Data received {"connection_id":136651,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 17:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 17:00:01] local.INFO: Processing buffer {"connection_id":136651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 17:00:01] local.INFO: Packet analysis {"connection_id":136651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 17:00:01] local.INFO: Extracted packet for processing {"connection_id":136651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 17:00:01] local.INFO: GPS Element Parsed {"raw_longitude":762983168,"raw_latitude":98214256,"longitude_deg":76.2983168,"latitude_deg":9.8214256,"altitude":21,"angle":205,"satellites":10,"speed":2,"hex_longitude":"2d7a3300","hex_latitude":"05daa170","is_valid_coordinates":true} 
[2026-07-19 17:00: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-07-19 17:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 17:00:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,188,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-19 17:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784460461000,"timestamp_ms":1784460461000,"timestamp_seconds":1784460461,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a21c3c8"} 
[2026-07-19 17:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:00: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-07-19 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 17:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12287,"188":206,"85":15104,"24":2,"16":108182301971578880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16]} 
[2026-07-19 17:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-19 17:00:01] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 17:00:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:00:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12287,"unknown_188":206,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-07-19 17:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":136651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:00:01] local.INFO: GPS data processed {"connection_id":136651,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:00:01] local.INFO: Acknowledgment sent {"connection_id":136651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:00:16] local.INFO: TCP Data received {"connection_id":137737,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:00:16] local.INFO: Processing buffer {"connection_id":137737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:00:16] local.INFO: Packet analysis {"connection_id":137737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:00:16] local.INFO: Extracted packet for processing {"connection_id":137737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:00:16] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821813248001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784460509000,"timestamp_ms":1784460509000,"timestamp_seconds":1784460509,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a227f48"} 
[2026-07-19 17:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 17:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":137737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":137737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":137737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:00: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-07-19 17:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821813248001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821813248001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:00:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:00:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821813248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":137737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:00:16] local.INFO: GPS data processed {"connection_id":137737,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:00:16] local.INFO: Acknowledgment sent {"connection_id":137737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:00:28] local.INFO: TCP Data received {"connection_id":137738,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a209ae8012d196740071fee88003f004c2c..."} 
[2026-07-19 17:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a209ae8012d196740071fee88003f004c2c..."} 
[2026-07-19 17:00:28] local.INFO: Processing buffer {"connection_id":137738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a209ae8012d196740071fee88003f004c2c..."} 
[2026-07-19 17:00:28] local.INFO: Packet analysis {"connection_id":137738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a20"} 
[2026-07-19 17:00:28] local.INFO: Extracted packet for processing {"connection_id":137738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a20"} 
[2026-07-19 17:00:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821853184001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:00: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-07-19 17:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784460385000,"timestamp_ms":1784460385000,"timestamp_seconds":1784460385,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a209ae8"} 
[2026-07-19 17:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:00: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-07-19 17:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821853184001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821853184001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:00:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:00:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821853184001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":137738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:00:28] local.INFO: GPS data processed {"connection_id":137738,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:00:28] local.INFO: Acknowledgment sent {"connection_id":137738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:00:31] local.INFO: TCP Data received {"connection_id":139125,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:00:31] local.INFO: Processing buffer {"connection_id":139125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:00:31] local.INFO: IMEI packet received {"connection_id":139125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":139125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:00:32] local.INFO: TCP Data received {"connection_id":136651,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 17:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 17:00:32] local.INFO: Processing buffer {"connection_id":136651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 17:00:32] local.INFO: Packet analysis {"connection_id":136651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 17:00:32] local.INFO: Extracted packet for processing {"connection_id":136651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 17:00:32] local.INFO: GPS Element Parsed {"raw_longitude":762983168,"raw_latitude":98214256,"longitude_deg":76.2983168,"latitude_deg":9.8214256,"altitude":21,"angle":205,"satellites":10,"speed":2,"hex_longitude":"2d7a3300","hex_latitude":"05daa170","is_valid_coordinates":true} 
[2026-07-19 17:00:32] 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-07-19 17:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 17:00:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,188,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-19 17:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784460461000,"timestamp_ms":1784460461000,"timestamp_seconds":1784460461,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a21c3c8"} 
[2026-07-19 17:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:00:32] 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-07-19 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 17:00:32] 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-07-19 17: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-07-19 17:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12287,"188":206,"85":15104,"24":2,"16":108182301971578880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16]} 
[2026-07-19 17:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-19 17:00:32] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 17:00:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:00:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12287,"unknown_188":206,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-07-19 17:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":136651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512994,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:00:32] local.INFO: GPS data processed {"connection_id":136651,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:00:32] local.INFO: Acknowledgment sent {"connection_id":136651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:00:36] local.INFO: TCP Data received {"connection_id":139125,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:00:36] local.INFO: Processing buffer {"connection_id":139125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:00:36] local.INFO: IMEI packet received {"connection_id":139125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":139125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:00:37] local.INFO: TCP Data received {"connection_id":139125,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:00:37] local.INFO: Processing buffer {"connection_id":139125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:00:37] local.INFO: Packet analysis {"connection_id":139125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:00:37] local.INFO: Extracted packet for processing {"connection_id":139125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821813248001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:00: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-07-19 17:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784460509000,"timestamp_ms":1784460509000,"timestamp_seconds":1784460509,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a227f48"} 
[2026-07-19 17:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 17:00: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-07-19 17:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821813248001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821813248001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:00:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821813248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":139125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:00:37] local.INFO: GPS data processed {"connection_id":139125,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:00:37] local.INFO: Acknowledgment sent {"connection_id":139125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:00:50] local.INFO: TCP Data received {"connection_id":137739,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:00:50] local.INFO: Processing buffer {"connection_id":137739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:00:50] local.INFO: IMEI packet received {"connection_id":137739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":137739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:00:54] local.INFO: TCP Data received {"connection_id":137739,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:00:54] local.INFO: Processing buffer {"connection_id":137739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:00:54] local.INFO: IMEI packet received {"connection_id":137739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":137739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:00:55] local.INFO: TCP Data received {"connection_id":137739,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:00:55] local.INFO: Processing buffer {"connection_id":137739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:00:55] local.INFO: IMEI packet received {"connection_id":137739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":137739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:00:56] local.INFO: TCP Data received {"connection_id":137739,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a20ecf0012d196740071fee88003f004c2b..."} 
[2026-07-19 17:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a20ecf0012d196740071fee88003f004c2b..."} 
[2026-07-19 17:00:56] local.INFO: Processing buffer {"connection_id":137739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a20ecf0012d196740071fee88003f004c2b..."} 
[2026-07-19 17:00:56] local.INFO: Packet analysis {"connection_id":137739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a20"} 
[2026-07-19 17:00:56] local.INFO: Extracted packet for processing {"connection_id":137739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a20"} 
[2026-07-19 17:00:56] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821858560001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:00: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-07-19 17:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784460406000,"timestamp_ms":1784460406000,"timestamp_seconds":1784460406,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a20ecf0"} 
[2026-07-19 17:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:00: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-07-19 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821858560001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821858560001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:00:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:00:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821858560001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":137739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:00:56] local.INFO: GPS data processed {"connection_id":137739,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:00:56] local.INFO: Acknowledgment sent {"connection_id":137739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:01:03] local.INFO: TCP Data received {"connection_id":136651,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 17:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 17:01:03] local.INFO: Processing buffer {"connection_id":136651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 17:01:03] local.INFO: Packet analysis {"connection_id":136651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 17:01:03] local.INFO: Extracted packet for processing {"connection_id":136651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 17:01:03] local.INFO: GPS Element Parsed {"raw_longitude":762983168,"raw_latitude":98214256,"longitude_deg":76.2983168,"latitude_deg":9.8214256,"altitude":21,"angle":205,"satellites":10,"speed":2,"hex_longitude":"2d7a3300","hex_latitude":"05daa170","is_valid_coordinates":true} 
[2026-07-19 17:01:03] 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-07-19 17:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,188,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-19 17:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784460461000,"timestamp_ms":1784460461000,"timestamp_seconds":1784460461,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a21c3c8"} 
[2026-07-19 17:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:01:03] 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-07-19 17:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 17:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":136651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12287,"188":206,"85":15104,"24":2,"16":108182301971578880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16]} 
[2026-07-19 17:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-19 17:01:03] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 17:01:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:01:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12287,"unknown_188":206,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-07-19 17:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":136651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:01:03] local.INFO: GPS data processed {"connection_id":136651,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:01:03] local.INFO: Acknowledgment sent {"connection_id":136651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:01:09] local.INFO: TCP Data received {"connection_id":139125,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:01:09] local.INFO: Processing buffer {"connection_id":139125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:01:09] local.INFO: Packet analysis {"connection_id":139125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:01:09] local.INFO: Extracted packet for processing {"connection_id":139125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821813248001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01: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-07-19 17:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784460509000,"timestamp_ms":1784460509000,"timestamp_seconds":1784460509,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a227f48"} 
[2026-07-19 17:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 17:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:01: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-07-19 17:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821813248001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821813248001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:01:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:01:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821813248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":139125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:01:09] local.INFO: GPS data processed {"connection_id":139125,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:01:09] local.INFO: Acknowledgment sent {"connection_id":139125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:01:27] local.INFO: TCP Data received {"connection_id":137739,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a213ef8012d196740071fee88003f004c2c..."} 
[2026-07-19 17:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a213ef8012d196740071fee88003f004c2c..."} 
[2026-07-19 17:01:27] local.INFO: Processing buffer {"connection_id":137739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a213ef8012d196740071fee88003f004c2c..."} 
[2026-07-19 17:01:27] local.INFO: Packet analysis {"connection_id":137739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 17:01:27] local.INFO: Extracted packet for processing {"connection_id":137739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 17:01:27] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821863936001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17: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-07-19 17:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784460427000,"timestamp_ms":1784460427000,"timestamp_seconds":1784460427,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a213ef8"} 
[2026-07-19 17:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:01:27] 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-07-19 17: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-07-19 17:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821863936001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821863936001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:01:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:01:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821863936001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":137739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:01:27] local.INFO: GPS data processed {"connection_id":137739,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:01:27] local.INFO: Acknowledgment sent {"connection_id":137739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:01:31] local.INFO: TCP Data received {"connection_id":136655,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:01:31] local.INFO: Processing buffer {"connection_id":136655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:01:31] local.INFO: IMEI packet received {"connection_id":136655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":136655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:01:35] local.INFO: TCP Data received {"connection_id":136651,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 17:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 17:01:35] local.INFO: Processing buffer {"connection_id":136651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 17:01:35] local.INFO: Packet analysis {"connection_id":136651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 17:01:35] local.INFO: Extracted packet for processing {"connection_id":136651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 17:01:35] local.INFO: GPS Element Parsed {"raw_longitude":762983168,"raw_latitude":98214256,"longitude_deg":76.2983168,"latitude_deg":9.8214256,"altitude":21,"angle":205,"satellites":10,"speed":2,"hex_longitude":"2d7a3300","hex_latitude":"05daa170","is_valid_coordinates":true} 
[2026-07-19 17:01:35] 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-07-19 17:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,188,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-19 17:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784460461000,"timestamp_ms":1784460461000,"timestamp_seconds":1784460461,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a21c3c8"} 
[2026-07-19 17:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:01:35] 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-07-19 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 17:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":136651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12287,"188":206,"85":15104,"24":2,"16":108182301971578880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16]} 
[2026-07-19 17:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-19 17:01:35] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 17:01:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:01:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12287,"unknown_188":206,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-07-19 17:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":136651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:01:35] local.INFO: GPS data processed {"connection_id":136651,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:01:35] local.INFO: Acknowledgment sent {"connection_id":136651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:01:36] local.INFO: TCP Data received {"connection_id":136655,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:01:36] local.INFO: Processing buffer {"connection_id":136655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:01:36] local.INFO: IMEI packet received {"connection_id":136655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":136655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:01:36] local.INFO: TCP Data received {"connection_id":136655,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:01:36] local.INFO: Processing buffer {"connection_id":136655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:01:36] local.INFO: Packet analysis {"connection_id":136655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:01:36] local.INFO: Extracted packet for processing {"connection_id":136655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821813248001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17: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-07-19 17:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784460509000,"timestamp_ms":1784460509000,"timestamp_seconds":1784460509,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a227f48"} 
[2026-07-19 17:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 17:01: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-07-19 17: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-07-19 17:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17: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-07-19 17:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821813248001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821813248001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:01:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821813248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":136655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:01:36] local.INFO: GPS data processed {"connection_id":136655,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:01:36] local.INFO: Acknowledgment sent {"connection_id":136655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:01:56] local.INFO: TCP Data received {"connection_id":137740,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:01:56] local.INFO: Processing buffer {"connection_id":137740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:01:56] local.INFO: IMEI packet received {"connection_id":137740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":137740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:01:57] local.INFO: TCP Data received {"connection_id":137740,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:01:57] local.INFO: Processing buffer {"connection_id":137740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:01:57] local.INFO: IMEI packet received {"connection_id":137740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":137740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:01:57] local.INFO: TCP Data received {"connection_id":137740,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a219100012d196740071fee88003f004c2c..."} 
[2026-07-19 17:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a219100012d196740071fee88003f004c2c..."} 
[2026-07-19 17:01:57] local.INFO: Processing buffer {"connection_id":137740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a219100012d196740071fee88003f004c2c..."} 
[2026-07-19 17:01:57] local.INFO: Packet analysis {"connection_id":137740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 17:01:57] local.INFO: Extracted packet for processing {"connection_id":137740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 17:01:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821869312001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01: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-07-19 17:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784460448000,"timestamp_ms":1784460448000,"timestamp_seconds":1784460448,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a219100"} 
[2026-07-19 17:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 17:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8799753021558692199,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21436078695120896,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195247100690638,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 17:01:57] local.WARNING: Large IO value detected {"io_id":164,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 17:01:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,144,159,236,45,64,238,63,43,10,66,154,44,72,1,240,255,227,122,31,4,113,205,164,136,42,239,47,2,25,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 17:01:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712176251731968,"timestamp_seconds":4539712176251732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 17:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821869312001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821869312001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:01:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:01:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821869312001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":137740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:01:58] local.INFO: GPS data processed {"connection_id":137740,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:01:58] local.INFO: Acknowledgment sent {"connection_id":137740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:02:01] local.INFO: TCP Data received {"connection_id":137740,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a21e308012d196740071fee88003f004c2c..."} 
[2026-07-19 17:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a21e308012d196740071fee88003f004c2c..."} 
[2026-07-19 17:02:01] local.INFO: Processing buffer {"connection_id":137740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a21e308012d196740071fee88003f004c2c..."} 
[2026-07-19 17:02:01] local.INFO: Packet analysis {"connection_id":137740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 17:02:01] local.INFO: Extracted packet for processing {"connection_id":137740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 17:02:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821874688001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784460469000,"timestamp_ms":1784460469000,"timestamp_seconds":1784460469,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a21e308"} 
[2026-07-19 17:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:02: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-07-19 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:02:01] 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-07-19 17: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-07-19 17:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821874688001,"66":12265,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821874688001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:02:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:02:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821874688001,"power":12265,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":137740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:02:01] local.INFO: GPS data processed {"connection_id":137740,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:02:01] local.INFO: Acknowledgment sent {"connection_id":137740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:02:07] local.INFO: TCP Data received {"connection_id":136651,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 17:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 17:02:07] local.INFO: Processing buffer {"connection_id":136651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a21c3c8012d7a330005daa170001500cd0a..."} 
[2026-07-19 17:02:07] local.INFO: Packet analysis {"connection_id":136651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 17:02:07] local.INFO: Extracted packet for processing {"connection_id":136651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a21"} 
[2026-07-19 17:02:07] local.INFO: GPS Element Parsed {"raw_longitude":762983168,"raw_latitude":98214256,"longitude_deg":76.2983168,"latitude_deg":9.8214256,"altitude":21,"angle":205,"satellites":10,"speed":2,"hex_longitude":"2d7a3300","hex_latitude":"05daa170","is_valid_coordinates":true} 
[2026-07-19 17:02:07] 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-07-19 17:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 17:02:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,188,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-19 17:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784460461000,"timestamp_ms":1784460461000,"timestamp_seconds":1784460461,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a21c3c8"} 
[2026-07-19 17:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:02:07] 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-07-19 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 17:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12287,"188":206,"85":15104,"24":2,"16":108182301971578880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16]} 
[2026-07-19 17:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-19 17:02:07] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 17:02:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:02:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12287,"unknown_188":206,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-07-19 17:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":136651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:02:07] local.INFO: GPS data processed {"connection_id":136651,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:02:07] local.INFO: Acknowledgment sent {"connection_id":136651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:02:08] local.INFO: TCP Data received {"connection_id":136655,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:02:08] local.INFO: Processing buffer {"connection_id":136655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:02:08] local.INFO: Packet analysis {"connection_id":136655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:02:08] local.INFO: Extracted packet for processing {"connection_id":136655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821813248001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:02: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-07-19 17:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784460509000,"timestamp_ms":1784460509000,"timestamp_seconds":1784460509,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a227f48"} 
[2026-07-19 17:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:02: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-07-19 17:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 17:02: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-07-19 17:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:02: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-07-19 17:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821813248001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821813248001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:02:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:02:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821813248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":136655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:02:08] local.INFO: GPS data processed {"connection_id":136655,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:02:08] local.INFO: Acknowledgment sent {"connection_id":136655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:02:30] local.INFO: TCP Data received {"connection_id":137741,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:02:30] local.INFO: Processing buffer {"connection_id":137741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:02:30] local.INFO: IMEI packet received {"connection_id":137741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":137741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:02:32] local.INFO: TCP Data received {"connection_id":137740,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a223510012d196740071fee88003f004c2d..."} 
[2026-07-19 17:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a223510012d196740071fee88003f004c2d..."} 
[2026-07-19 17:02:32] local.INFO: Processing buffer {"connection_id":137740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a223510012d196740071fee88003f004c2d..."} 
[2026-07-19 17:02:32] local.INFO: Packet analysis {"connection_id":137740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:02:32] local.INFO: Extracted packet for processing {"connection_id":137740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:02:32] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821880064001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784460490000,"timestamp_ms":1784460490000,"timestamp_seconds":1784460490,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a223510"} 
[2026-07-19 17:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:02: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-07-19 17: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 17:02:32] 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-07-19 17: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-07-19 17:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":137740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":137740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":137740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821880064001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821880064001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:02:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:02:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821880064001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":137740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:02:33] local.INFO: GPS data processed {"connection_id":137740,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:02:33] local.INFO: Acknowledgment sent {"connection_id":137740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:02:36] local.INFO: TCP Data received {"connection_id":137741,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:02:36] local.INFO: Processing buffer {"connection_id":137741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:02:36] local.INFO: IMEI packet received {"connection_id":137741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":137741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:02:37] local.INFO: TCP Data received {"connection_id":137741,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:02:37] local.INFO: Processing buffer {"connection_id":137741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:02:37] local.INFO: Packet analysis {"connection_id":137741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:02:37] local.INFO: Extracted packet for processing {"connection_id":137741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821813248001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:02: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-07-19 17:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784460509000,"timestamp_ms":1784460509000,"timestamp_seconds":1784460509,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a227f48"} 
[2026-07-19 17:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 17:02: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-07-19 17:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:02:37] 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-07-19 17:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821813248001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821813248001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:02:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821813248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":137741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:02:37] local.INFO: GPS data processed {"connection_id":137741,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:02:37] local.INFO: Acknowledgment sent {"connection_id":137741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:02:38] local.INFO: TCP Data received {"connection_id":136651,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:02:38] local.INFO: Processing buffer {"connection_id":136651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:02:38] local.INFO: Packet analysis {"connection_id":136651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a25"} 
[2026-07-19 17:02:38] local.INFO: Extracted packet for processing {"connection_id":136651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a25"} 
[2026-07-19 17:02:38] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214544,"longitude_deg":76.2983424,"latitude_deg":9.8214544,"altitude":14,"angle":205,"satellites":31,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa290","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821878016001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 17:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805381721582301184,"note":"Value kept but may cause issues"} 
[2026-07-19 17:02:38] 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-07-19 17:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784460738000,"timestamp_ms":1784460738000,"timestamp_seconds":1784460738,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a25fdd0"} 
[2026-07-19 17:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821878016001,"66":12298,"188":206,"85":15104,"24":0,"16":108182301971578880,"45":8805381721582301184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 17:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821878016001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:02:38] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 17:02:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805381721582301184,"description":"Unknown IO ID 45"} 
[2026-07-19 17:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821878016001,"power":12298,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805381721582301184}} 
[2026-07-19 17:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":136651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:02:38] local.INFO: GPS data processed {"connection_id":136651,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:02:38] local.INFO: Acknowledgment sent {"connection_id":136651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:02:51] local.INFO: TCP Data received {"connection_id":136656,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:02:51] local.INFO: Processing buffer {"connection_id":136656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:02:51] local.INFO: IMEI packet received {"connection_id":136656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":136656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:02:56] local.INFO: TCP Data received {"connection_id":136656,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:02:56] local.INFO: Processing buffer {"connection_id":136656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:02:56] local.INFO: IMEI packet received {"connection_id":136656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":136656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:02:57] local.INFO: TCP Data received {"connection_id":136656,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a228718012d196740071fee88003f004c2c..."} 
[2026-07-19 17:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a228718012d196740071fee88003f004c2c..."} 
[2026-07-19 17:02:57] local.INFO: Processing buffer {"connection_id":136656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a228718012d196740071fee88003f004c2c..."} 
[2026-07-19 17:02:57] local.INFO: Packet analysis {"connection_id":136656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:02:57] local.INFO: Extracted packet for processing {"connection_id":136656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:02:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:02: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-07-19 17:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821885440001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:02: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-07-19 17:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784460511000,"timestamp_ms":1784460511000,"timestamp_seconds":1784460511,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a228718"} 
[2026-07-19 17:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:02:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:02: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-07-19 17:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821885440001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821885440001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:02:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:02:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821885440001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":136656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:02:57] local.INFO: GPS data processed {"connection_id":136656,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:02:57] local.INFO: Acknowledgment sent {"connection_id":136656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:03:09] local.INFO: TCP Data received {"connection_id":137741,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:03:09] local.INFO: Processing buffer {"connection_id":137741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:03:09] local.INFO: Packet analysis {"connection_id":137741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:03:09] local.INFO: Extracted packet for processing {"connection_id":137741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821813248001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:03: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-07-19 17:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784460509000,"timestamp_ms":1784460509000,"timestamp_seconds":1784460509,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a227f48"} 
[2026-07-19 17:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 17:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:03: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-07-19 17:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821813248001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821813248001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:03:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:03:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821813248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":137741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:03:09] local.INFO: GPS data processed {"connection_id":137741,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:03:09] local.INFO: Acknowledgment sent {"connection_id":137741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:03:10] local.INFO: TCP Data received {"connection_id":136651,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:03:10] local.INFO: Processing buffer {"connection_id":136651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:03:10] local.INFO: Packet analysis {"connection_id":136651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a25"} 
[2026-07-19 17:03:10] local.INFO: Extracted packet for processing {"connection_id":136651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a25"} 
[2026-07-19 17:03:10] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214544,"longitude_deg":76.2983424,"latitude_deg":9.8214544,"altitude":14,"angle":205,"satellites":31,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa290","is_valid_coordinates":true} 
[2026-07-19 17:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821878016001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 17:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805381721582301184,"note":"Value kept but may cause issues"} 
[2026-07-19 17:03:10] 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-07-19 17:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784460738000,"timestamp_ms":1784460738000,"timestamp_seconds":1784460738,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a25fdd0"} 
[2026-07-19 17:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821878016001,"66":12298,"188":206,"85":15104,"24":0,"16":108182301971578880,"45":8805381721582301184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 17:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821878016001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:03:10] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 17:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805381721582301184,"description":"Unknown IO ID 45"} 
[2026-07-19 17:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821878016001,"power":12298,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805381721582301184}} 
[2026-07-19 17:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":136651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:03:10] local.INFO: GPS data processed {"connection_id":136651,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:03:10] local.INFO: Acknowledgment sent {"connection_id":136651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:03:28] local.INFO: TCP Data received {"connection_id":136656,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a22d920012d196740071fee88003f004c2d..."} 
[2026-07-19 17:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a22d920012d196740071fee88003f004c2d..."} 
[2026-07-19 17:03:28] local.INFO: Processing buffer {"connection_id":136656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a22d920012d196740071fee88003f004c2d..."} 
[2026-07-19 17:03:28] local.INFO: Packet analysis {"connection_id":136656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:03:28] local.INFO: Extracted packet for processing {"connection_id":136656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:03:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821890816001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:03: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-07-19 17:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784460532000,"timestamp_ms":1784460532000,"timestamp_seconds":1784460532,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a22d920"} 
[2026-07-19 17:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:03: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-07-19 17:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:03:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821890816001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821890816001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:03:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:03:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821890816001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":136656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:03:28] local.INFO: GPS data processed {"connection_id":136656,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:03:28] local.INFO: Acknowledgment sent {"connection_id":136656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:03:31] local.INFO: TCP Data received {"connection_id":136657,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136657,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:03:31] local.INFO: Processing buffer {"connection_id":136657,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:03:31] local.INFO: IMEI packet received {"connection_id":136657,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 17:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":136657,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:03:36] local.INFO: TCP Data received {"connection_id":137742,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:03:36] local.INFO: Processing buffer {"connection_id":137742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:03:36] local.INFO: IMEI packet received {"connection_id":137742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":137742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:03:41] local.INFO: TCP Data received {"connection_id":137742,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:03:41] local.INFO: Processing buffer {"connection_id":137742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:03:41] local.INFO: IMEI packet received {"connection_id":137742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":137742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:03:42] local.INFO: TCP Data received {"connection_id":136651,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:03:42] local.INFO: Processing buffer {"connection_id":136651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:03:42] local.INFO: Packet analysis {"connection_id":136651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a25"} 
[2026-07-19 17:03:42] local.INFO: Extracted packet for processing {"connection_id":136651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a25"} 
[2026-07-19 17:03:42] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214544,"longitude_deg":76.2983424,"latitude_deg":9.8214544,"altitude":14,"angle":205,"satellites":31,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa290","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821878016001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 17:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805381721582301184,"note":"Value kept but may cause issues"} 
[2026-07-19 17:03:42] 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-07-19 17:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784460738000,"timestamp_ms":1784460738000,"timestamp_seconds":1784460738,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a25fdd0"} 
[2026-07-19 17:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821878016001,"66":12298,"188":206,"85":15104,"24":0,"16":108182301971578880,"45":8805381721582301184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 17:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821878016001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:03:42] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 17:03:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805381721582301184,"description":"Unknown IO ID 45"} 
[2026-07-19 17:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821878016001,"power":12298,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805381721582301184}} 
[2026-07-19 17:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":136651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:03:42] local.INFO: GPS data processed {"connection_id":136651,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:03:42] local.INFO: Acknowledgment sent {"connection_id":136651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:03:42] local.INFO: TCP Data received {"connection_id":137742,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:03:42] local.INFO: Processing buffer {"connection_id":137742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:03:42] local.INFO: Packet analysis {"connection_id":137742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:03:42] local.INFO: Extracted packet for processing {"connection_id":137742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:03:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821813248001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784460509000,"timestamp_ms":1784460509000,"timestamp_seconds":1784460509,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a227f48"} 
[2026-07-19 17:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 17:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821813248001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821813248001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:03:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:03:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821813248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":137742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:03:42] local.INFO: GPS data processed {"connection_id":137742,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:03:42] local.INFO: Acknowledgment sent {"connection_id":137742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:03:47] local.INFO: TCP Data received {"connection_id":137742,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:03:47] local.INFO: Processing buffer {"connection_id":137742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a227f48012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:03:47] local.INFO: Packet analysis {"connection_id":137742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:03:47] local.INFO: Extracted packet for processing {"connection_id":137742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a22"} 
[2026-07-19 17:03:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821813248001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784460509000,"timestamp_ms":1784460509000,"timestamp_seconds":1784460509,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a227f48"} 
[2026-07-19 17:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 17:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":137742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":137742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":137742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821813248001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821813248001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:03:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:03:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821813248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":137742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:03:47] local.INFO: GPS data processed {"connection_id":137742,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:03:47] local.INFO: Acknowledgment sent {"connection_id":137742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:03:51] local.INFO: TCP Data received {"connection_id":139127,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:03:51] local.INFO: Processing buffer {"connection_id":139127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:03:51] local.INFO: IMEI packet received {"connection_id":139127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":139127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:03:56] local.INFO: TCP Data received {"connection_id":139127,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:03:56] local.INFO: Processing buffer {"connection_id":139127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:03:56] local.INFO: IMEI packet received {"connection_id":139127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":139127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:03:57] local.INFO: TCP Data received {"connection_id":139127,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a232b28012d196740071fee88003f004c2c..."} 
[2026-07-19 17:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a232b28012d196740071fee88003f004c2c..."} 
[2026-07-19 17:03:57] local.INFO: Processing buffer {"connection_id":139127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a232b28012d196740071fee88003f004c2c..."} 
[2026-07-19 17:03:57] local.INFO: Packet analysis {"connection_id":139127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a23"} 
[2026-07-19 17:03:57] local.INFO: Extracted packet for processing {"connection_id":139127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a23"} 
[2026-07-19 17:03:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821896192001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:03: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-07-19 17:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784460553000,"timestamp_ms":1784460553000,"timestamp_seconds":1784460553,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a232b28"} 
[2026-07-19 17:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 17:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821896192001,"66":12232,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821896192001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:03:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:03:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821896192001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":139127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:03:57] local.INFO: GPS data processed {"connection_id":139127,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:03:57] local.INFO: Acknowledgment sent {"connection_id":139127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:04:24] local.INFO: TCP Data received {"connection_id":136658,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:04:24] local.INFO: Processing buffer {"connection_id":136658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:04:24] local.INFO: IMEI packet received {"connection_id":136658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":136658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:04:28] local.INFO: TCP Data received {"connection_id":139127,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a26b180012d196740071fee88003f004c2b..."} 
[2026-07-19 17:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a26b180012d196740071fee88003f004c2b..."} 
[2026-07-19 17:04:28] local.INFO: Processing buffer {"connection_id":139127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a26b180012d196740071fee88003f004c2b..."} 
[2026-07-19 17:04:28] local.INFO: Packet analysis {"connection_id":139127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a26"} 
[2026-07-19 17:04:28] local.INFO: Extracted packet for processing {"connection_id":139127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a26"} 
[2026-07-19 17:04:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821955328001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:04: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-07-19 17:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784460784000,"timestamp_ms":1784460784000,"timestamp_seconds":1784460784,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a26b180"} 
[2026-07-19 17:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:04: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-07-19 17:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821955328001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821955328001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:04:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:04:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821955328001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":139127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:04:28] local.INFO: GPS data processed {"connection_id":139127,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:04:28] local.INFO: Acknowledgment sent {"connection_id":139127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:04:29] local.INFO: TCP Data received {"connection_id":136658,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:04:29] local.INFO: Processing buffer {"connection_id":136658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:04:29] local.INFO: IMEI packet received {"connection_id":136658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":136658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:04:30] local.INFO: TCP Data received {"connection_id":136658,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:04:30] local.INFO: Processing buffer {"connection_id":136658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:04:30] local.INFO: Packet analysis {"connection_id":136658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a25"} 
[2026-07-19 17:04:30] local.INFO: Extracted packet for processing {"connection_id":136658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a25"} 
[2026-07-19 17:04:30] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214544,"longitude_deg":76.2983424,"latitude_deg":9.8214544,"altitude":14,"angle":205,"satellites":31,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa290","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821878016001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 17:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805381721582301184,"note":"Value kept but may cause issues"} 
[2026-07-19 17:04:30] 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-07-19 17:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784460738000,"timestamp_ms":1784460738000,"timestamp_seconds":1784460738,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a25fdd0"} 
[2026-07-19 17:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:04: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":136658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":136658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":136658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821878016001,"66":12298,"188":206,"85":15104,"24":0,"16":108182301971578880,"45":8805381721582301184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 17:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821878016001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:04:30] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 17:04:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805381721582301184,"description":"Unknown IO ID 45"} 
[2026-07-19 17:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821878016001,"power":12298,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805381721582301184}} 
[2026-07-19 17:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":136658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513018,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:04:30] local.INFO: GPS data processed {"connection_id":136658,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:04:30] local.INFO: Acknowledgment sent {"connection_id":136658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:04:31] local.INFO: TCP Data received {"connection_id":136660,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:04:31] local.INFO: Processing buffer {"connection_id":136660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:04:31] local.INFO: IMEI packet received {"connection_id":136660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":136660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:04:36] local.INFO: TCP Data received {"connection_id":136660,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:04:36] local.INFO: Processing buffer {"connection_id":136660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:04:36] local.INFO: IMEI packet received {"connection_id":136660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":136660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:04:37] local.INFO: TCP Data received {"connection_id":136660,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:04:37] local.INFO: Processing buffer {"connection_id":136660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:04:37] local.INFO: Packet analysis {"connection_id":136660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:04:37] local.INFO: Extracted packet for processing {"connection_id":136660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821890304001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:04: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-07-19 17:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784460810000,"timestamp_ms":1784460810000,"timestamp_seconds":1784460810,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a271710"} 
[2026-07-19 17:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:04:37] 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-07-19 17:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821890304001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821890304001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:04:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821890304001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":136660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:04:37] local.INFO: GPS data processed {"connection_id":136660,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:04:37] local.INFO: Acknowledgment sent {"connection_id":136660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:04:51] local.INFO: TCP Data received {"connection_id":136772,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:04:51] local.INFO: Processing buffer {"connection_id":136772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:04:51] local.INFO: IMEI packet received {"connection_id":136772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":136772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:04:56] local.INFO: TCP Data received {"connection_id":136772,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:04:56] local.INFO: Processing buffer {"connection_id":136772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:04:56] local.INFO: IMEI packet received {"connection_id":136772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":136772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:04:57] local.INFO: TCP Data received {"connection_id":136772,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a270388012d196740071fee88003f004c2c..."} 
[2026-07-19 17:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a270388012d196740071fee88003f004c2c..."} 
[2026-07-19 17:04:57] local.INFO: Processing buffer {"connection_id":136772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a270388012d196740071fee88003f004c2c..."} 
[2026-07-19 17:04:57] local.INFO: Packet analysis {"connection_id":136772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:04:57] local.INFO: Extracted packet for processing {"connection_id":136772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:04:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821960704001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:04: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-07-19 17:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784460805000,"timestamp_ms":1784460805000,"timestamp_seconds":1784460805,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a270388"} 
[2026-07-19 17:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821960704001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821960704001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:04:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:04:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821960704001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":136772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:04:57] local.INFO: GPS data processed {"connection_id":136772,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:04:57] local.INFO: Acknowledgment sent {"connection_id":136772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:05:01] local.INFO: TCP Data received {"connection_id":136658,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:05:01] local.INFO: Processing buffer {"connection_id":136658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:05:01] local.INFO: Packet analysis {"connection_id":136658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a25"} 
[2026-07-19 17:05:01] local.INFO: Extracted packet for processing {"connection_id":136658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a25"} 
[2026-07-19 17:05:01] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214544,"longitude_deg":76.2983424,"latitude_deg":9.8214544,"altitude":14,"angle":205,"satellites":31,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa290","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821878016001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 17:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805381721582301184,"note":"Value kept but may cause issues"} 
[2026-07-19 17:05: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-07-19 17:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784460738000,"timestamp_ms":1784460738000,"timestamp_seconds":1784460738,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a25fdd0"} 
[2026-07-19 17:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:05: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:05:01] 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-07-19 17: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-07-19 17:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821878016001,"66":12298,"188":206,"85":15104,"24":0,"16":108182301971578880,"45":8805381721582301184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 17:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821878016001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:05:01] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 17:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805381721582301184,"description":"Unknown IO ID 45"} 
[2026-07-19 17:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821878016001,"power":12298,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805381721582301184}} 
[2026-07-19 17:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":136658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:05:01] local.INFO: GPS data processed {"connection_id":136658,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:05:01] local.INFO: Acknowledgment sent {"connection_id":136658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:05:08] local.INFO: TCP Data received {"connection_id":136660,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:05:08] local.INFO: Processing buffer {"connection_id":136660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:05:08] local.INFO: Packet analysis {"connection_id":136660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:05:08] local.INFO: Extracted packet for processing {"connection_id":136660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821890304001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17: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-07-19 17:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784460810000,"timestamp_ms":1784460810000,"timestamp_seconds":1784460810,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a271710"} 
[2026-07-19 17:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:05: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-07-19 17: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":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:05: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-07-19 17: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-07-19 17:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:05: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-07-19 17:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821890304001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821890304001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:05:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821890304001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":136660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:05:08] local.INFO: GPS data processed {"connection_id":136660,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:05:08] local.INFO: Acknowledgment sent {"connection_id":136660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:05:19] local.INFO: TCP Data received {"connection_id":136661,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:05:19] local.INFO: Processing buffer {"connection_id":136661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:05:19] local.INFO: IMEI packet received {"connection_id":136661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":136661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:05:24] local.INFO: TCP Data received {"connection_id":136661,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:05:24] local.INFO: Processing buffer {"connection_id":136661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:05:24] local.INFO: IMEI packet received {"connection_id":136661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":136661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:05:25] local.INFO: TCP Data received {"connection_id":136661,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:05:25] local.INFO: Processing buffer {"connection_id":136661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:05:25] local.INFO: Packet analysis {"connection_id":136661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a25"} 
[2026-07-19 17:05:25] local.INFO: Extracted packet for processing {"connection_id":136661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a25"} 
[2026-07-19 17:05:25] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214544,"longitude_deg":76.2983424,"latitude_deg":9.8214544,"altitude":14,"angle":205,"satellites":31,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa290","is_valid_coordinates":true} 
[2026-07-19 17:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821878016001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 17:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805381721582301184,"note":"Value kept but may cause issues"} 
[2026-07-19 17:05: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-07-19 17:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784460738000,"timestamp_ms":1784460738000,"timestamp_seconds":1784460738,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a25fdd0"} 
[2026-07-19 17:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:05: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:05:25] 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-07-19 17:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821878016001,"66":12298,"188":206,"85":15104,"24":0,"16":108182301971578880,"45":8805381721582301184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 17:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821878016001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:05:25] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 17:05:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805381721582301184,"description":"Unknown IO ID 45"} 
[2026-07-19 17:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821878016001,"power":12298,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805381721582301184}} 
[2026-07-19 17:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":136661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:05:25] local.INFO: GPS data processed {"connection_id":136661,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:05:25] local.INFO: Acknowledgment sent {"connection_id":136661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:05:27] local.INFO: TCP Data received {"connection_id":136772,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a275590012d196740071fee88003f004c2c..."} 
[2026-07-19 17:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a275590012d196740071fee88003f004c2c..."} 
[2026-07-19 17:05:27] local.INFO: Processing buffer {"connection_id":136772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a275590012d196740071fee88003f004c2c..."} 
[2026-07-19 17:05:27] local.INFO: Packet analysis {"connection_id":136772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:05:27] local.INFO: Extracted packet for processing {"connection_id":136772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:05:27] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821966080001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:05: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-07-19 17:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784460826000,"timestamp_ms":1784460826000,"timestamp_seconds":1784460826,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a275590"} 
[2026-07-19 17:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:05:27] 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-07-19 17: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-07-19 17:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821966080001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821966080001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:05:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:05:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821966080001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":136772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:05:28] local.INFO: GPS data processed {"connection_id":136772,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:05:28] local.INFO: Acknowledgment sent {"connection_id":136772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:05:31] local.INFO: TCP Data received {"connection_id":139128,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:05:31] local.INFO: Processing buffer {"connection_id":139128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:05:31] local.INFO: IMEI packet received {"connection_id":139128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":139128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:05:36] local.INFO: TCP Data received {"connection_id":139128,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:05:36] local.INFO: Processing buffer {"connection_id":139128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:05:36] local.INFO: IMEI packet received {"connection_id":139128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":139128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:05:37] local.INFO: TCP Data received {"connection_id":139128,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:05:37] local.INFO: Processing buffer {"connection_id":139128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:05:37] local.INFO: Packet analysis {"connection_id":139128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:05:37] local.INFO: Extracted packet for processing {"connection_id":139128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821890304001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:05: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-07-19 17:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784460810000,"timestamp_ms":1784460810000,"timestamp_seconds":1784460810,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a271710"} 
[2026-07-19 17:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:05:37] 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-07-19 17:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821890304001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821890304001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:05:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821890304001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":139128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:05:37] local.INFO: GPS data processed {"connection_id":139128,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:05:37] local.INFO: Acknowledgment sent {"connection_id":139128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:05:51] local.INFO: TCP Data received {"connection_id":136773,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:05:51] local.INFO: Processing buffer {"connection_id":136773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:05:51] local.INFO: IMEI packet received {"connection_id":136773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":136773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:05:56] local.INFO: TCP Data received {"connection_id":136661,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:05:56] local.INFO: Processing buffer {"connection_id":136661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:05:56] local.INFO: Packet analysis {"connection_id":136661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a25"} 
[2026-07-19 17:05:56] local.INFO: Extracted packet for processing {"connection_id":136661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a25"} 
[2026-07-19 17:05:56] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214544,"longitude_deg":76.2983424,"latitude_deg":9.8214544,"altitude":14,"angle":205,"satellites":31,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa290","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821878016001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 17:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805381721582301184,"note":"Value kept but may cause issues"} 
[2026-07-19 17:05: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-07-19 17:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784460738000,"timestamp_ms":1784460738000,"timestamp_seconds":1784460738,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a25fdd0"} 
[2026-07-19 17:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821878016001,"66":12298,"188":206,"85":15104,"24":0,"16":108182301971578880,"45":8805381721582301184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 17:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821878016001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:05:56] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 17:05:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805381721582301184,"description":"Unknown IO ID 45"} 
[2026-07-19 17:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821878016001,"power":12298,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805381721582301184}} 
[2026-07-19 17:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":136661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:05:56] local.INFO: GPS data processed {"connection_id":136661,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:05:56] local.INFO: Acknowledgment sent {"connection_id":136661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:05:56] local.INFO: TCP Data received {"connection_id":136773,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:05:56] local.INFO: Processing buffer {"connection_id":136773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:05:56] local.INFO: IMEI packet received {"connection_id":136773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":136773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:05:57] local.INFO: TCP Data received {"connection_id":136773,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a27a798012d196740071fee88003f004c2b..."} 
[2026-07-19 17:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a27a798012d196740071fee88003f004c2b..."} 
[2026-07-19 17:05:57] local.INFO: Processing buffer {"connection_id":136773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a27a798012d196740071fee88003f004c2b..."} 
[2026-07-19 17:05:57] local.INFO: Packet analysis {"connection_id":136773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:05:57] local.INFO: Extracted packet for processing {"connection_id":136773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:05:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821971456001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:05: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-07-19 17:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784460847000,"timestamp_ms":1784460847000,"timestamp_seconds":1784460847,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a27a798"} 
[2026-07-19 17:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821971456001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821971456001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:05:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:05:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821971456001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":136773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:05:57] local.INFO: GPS data processed {"connection_id":136773,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:05:57] local.INFO: Acknowledgment sent {"connection_id":136773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:06:08] local.INFO: TCP Data received {"connection_id":139128,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:06:08] local.INFO: Processing buffer {"connection_id":139128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:06:08] local.INFO: Packet analysis {"connection_id":139128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:06:08] local.INFO: Extracted packet for processing {"connection_id":139128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821890304001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06: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-07-19 17:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784460810000,"timestamp_ms":1784460810000,"timestamp_seconds":1784460810,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a271710"} 
[2026-07-19 17:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:06: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-07-19 17:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:06: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-07-19 17: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-07-19 17:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:06: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-07-19 17:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821890304001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821890304001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:06:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:06:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821890304001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":139128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:06:08] local.INFO: GPS data processed {"connection_id":139128,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:06:08] local.INFO: Acknowledgment sent {"connection_id":139128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:06:19] local.INFO: TCP Data received {"connection_id":136663,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:06:19] local.INFO: Processing buffer {"connection_id":136663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:06:19] local.INFO: IMEI packet received {"connection_id":136663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":136663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:06:24] local.INFO: TCP Data received {"connection_id":136663,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:06:24] local.INFO: Processing buffer {"connection_id":136663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:06:24] local.INFO: IMEI packet received {"connection_id":136663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":136663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:06:25] local.INFO: TCP Data received {"connection_id":136663,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:06:25] local.INFO: Processing buffer {"connection_id":136663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a25fdd0012d7a340005daa290000e00cd1f..."} 
[2026-07-19 17:06:25] local.INFO: Packet analysis {"connection_id":136663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a25"} 
[2026-07-19 17:06:25] local.INFO: Extracted packet for processing {"connection_id":136663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a25"} 
[2026-07-19 17:06:25] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214544,"longitude_deg":76.2983424,"latitude_deg":9.8214544,"altitude":14,"angle":205,"satellites":31,"speed":0,"hex_longitude":"2d7a3400","hex_latitude":"05daa290","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821878016001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805381721582301184,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06: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-07-19 17:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784460738000,"timestamp_ms":1784460738000,"timestamp_seconds":1784460738,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a25fdd0"} 
[2026-07-19 17:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:06: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:06:25] 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-07-19 17: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-07-19 17:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821878016001,"66":12298,"188":206,"85":15104,"24":0,"16":108182301971578880,"45":8805381721582301184},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 17:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821878016001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:06:25] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 17:06:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805381721582301184,"description":"Unknown IO ID 45"} 
[2026-07-19 17:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821878016001,"power":12298,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805381721582301184}} 
[2026-07-19 17:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":136663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:06:25] local.INFO: GPS data processed {"connection_id":136663,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:06:25] local.INFO: Acknowledgment sent {"connection_id":136663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:06:28] local.INFO: TCP Data received {"connection_id":136773,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a27f9a0012d196740071fee88003f004c2b..."} 
[2026-07-19 17:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a27f9a0012d196740071fee88003f004c2b..."} 
[2026-07-19 17:06:28] local.INFO: Processing buffer {"connection_id":136773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a27f9a0012d196740071fee88003f004c2b..."} 
[2026-07-19 17:06:28] local.INFO: Packet analysis {"connection_id":136773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:06:28] local.INFO: Extracted packet for processing {"connection_id":136773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821976832001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06: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-07-19 17:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784460868000,"timestamp_ms":1784460868000,"timestamp_seconds":1784460868,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a27f9a0"} 
[2026-07-19 17:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:06: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-07-19 17:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 17:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8801556907823012199,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21438277718376448,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002797613056206,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 17:06:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495800,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,85,45,64,238,63,44,10,66,3,177,1,240,255,227,122,31,4,113,205,13,136,43,239,47,2,25,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 17:06:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712171956764672,"timestamp_seconds":4539712171956765.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 17:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821976832001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821976832001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:06:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821976832001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":136773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:06:28] local.INFO: GPS data processed {"connection_id":136773,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:06:28] local.INFO: Acknowledgment sent {"connection_id":136773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:06:31] local.INFO: TCP Data received {"connection_id":137743,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:06:31] local.INFO: Processing buffer {"connection_id":137743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:06:31] local.INFO: IMEI packet received {"connection_id":137743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":137743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:06:36] local.INFO: TCP Data received {"connection_id":137743,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:06:36] local.INFO: Processing buffer {"connection_id":137743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:06:36] local.INFO: IMEI packet received {"connection_id":137743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":137743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:06:37] local.INFO: TCP Data received {"connection_id":137743,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:06:37] local.INFO: Processing buffer {"connection_id":137743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:06:37] local.INFO: Packet analysis {"connection_id":137743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:06:37] local.INFO: Extracted packet for processing {"connection_id":137743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821890304001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06: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-07-19 17:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784460810000,"timestamp_ms":1784460810000,"timestamp_seconds":1784460810,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a271710"} 
[2026-07-19 17:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821890304001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821890304001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:06:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821890304001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":137743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:06:37] local.INFO: GPS data processed {"connection_id":137743,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:06:37] local.INFO: Acknowledgment sent {"connection_id":137743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:06:51] local.INFO: TCP Data received {"connection_id":136664,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:06:51] local.INFO: Processing buffer {"connection_id":136664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:06:51] local.INFO: IMEI packet received {"connection_id":136664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":136664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:06:51] local.INFO: TCP Data received {"connection_id":136664,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:06:51] local.INFO: Processing buffer {"connection_id":136664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:06:51] local.INFO: IMEI packet received {"connection_id":136664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":136664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:06:56] local.INFO: TCP Data received {"connection_id":136664,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:06:56] local.INFO: Processing buffer {"connection_id":136664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:06:56] local.INFO: IMEI packet received {"connection_id":136664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":136664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:06:57] local.INFO: TCP Data received {"connection_id":136664,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a284ba8012d196740071fee88003f004c2d..."} 
[2026-07-19 17:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a284ba8012d196740071fee88003f004c2d..."} 
[2026-07-19 17:06:57] local.INFO: Processing buffer {"connection_id":136664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a284ba8012d196740071fee88003f004c2d..."} 
[2026-07-19 17:06:57] local.INFO: Packet analysis {"connection_id":136664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a28"} 
[2026-07-19 17:06:57] local.INFO: Extracted packet for processing {"connection_id":136664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a28"} 
[2026-07-19 17:06:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821982208001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:06: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-07-19 17:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784460889000,"timestamp_ms":1784460889000,"timestamp_seconds":1784460889,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a284ba8"} 
[2026-07-19 17:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821982208001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821982208001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:06:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:06:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821982208001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":136664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:06:57] local.INFO: GPS data processed {"connection_id":136664,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:06:57] local.INFO: Acknowledgment sent {"connection_id":136664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:07:08] local.INFO: TCP Data received {"connection_id":137743,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:07:08] local.INFO: Processing buffer {"connection_id":137743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:07:08] local.INFO: Packet analysis {"connection_id":137743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:07:08] local.INFO: Extracted packet for processing {"connection_id":137743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821890304001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17: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-07-19 17:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784460810000,"timestamp_ms":1784460810000,"timestamp_seconds":1784460810,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a271710"} 
[2026-07-19 17:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:07: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-07-19 17:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:07: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-07-19 17: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-07-19 17:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:07: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-07-19 17:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821890304001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821890304001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:07:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821890304001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":137743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:07:08] local.INFO: GPS data processed {"connection_id":137743,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:07:08] local.INFO: Acknowledgment sent {"connection_id":137743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:07:28] local.INFO: TCP Data received {"connection_id":136664,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a289db0012d196740071fee88003f004c2b..."} 
[2026-07-19 17:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a289db0012d196740071fee88003f004c2b..."} 
[2026-07-19 17:07:28] local.INFO: Processing buffer {"connection_id":136664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a289db0012d196740071fee88003f004c2b..."} 
[2026-07-19 17:07:28] local.INFO: Packet analysis {"connection_id":136664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a28"} 
[2026-07-19 17:07:28] local.INFO: Extracted packet for processing {"connection_id":136664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a28"} 
[2026-07-19 17:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821987584001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07: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-07-19 17:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784460910000,"timestamp_ms":1784460910000,"timestamp_seconds":1784460910,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a289db0"} 
[2026-07-19 17:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:07: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-07-19 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821987584001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821987584001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:07:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:07:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821987584001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":136664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:07:28] local.INFO: GPS data processed {"connection_id":136664,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:07:28] local.INFO: Acknowledgment sent {"connection_id":136664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:07:30] local.INFO: TCP Data received {"connection_id":139130,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:07:30] local.INFO: Processing buffer {"connection_id":139130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:07:30] local.INFO: IMEI packet received {"connection_id":139130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":139130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:07:36] local.INFO: TCP Data received {"connection_id":139130,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:07:36] local.INFO: Processing buffer {"connection_id":139130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:07:36] local.INFO: IMEI packet received {"connection_id":139130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":139130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:07:37] local.INFO: TCP Data received {"connection_id":139130,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:07:37] local.INFO: Processing buffer {"connection_id":139130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:07:37] local.INFO: Packet analysis {"connection_id":139130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:07:37] local.INFO: Extracted packet for processing {"connection_id":139130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821890304001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07: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-07-19 17:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784460810000,"timestamp_ms":1784460810000,"timestamp_seconds":1784460810,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a271710"} 
[2026-07-19 17:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:07:37] 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-07-19 17:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821890304001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821890304001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821890304001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":139130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:07:37] local.INFO: GPS data processed {"connection_id":139130,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:07:37] local.INFO: Acknowledgment sent {"connection_id":139130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:07:50] local.INFO: TCP Data received {"connection_id":136666,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:07:50] local.INFO: Processing buffer {"connection_id":136666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:07:50] local.INFO: IMEI packet received {"connection_id":136666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":136666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:07:54] local.INFO: TCP Data received {"connection_id":136666,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:07:54] local.INFO: Processing buffer {"connection_id":136666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:07:54] local.INFO: IMEI packet received {"connection_id":136666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":136666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:07:56] local.INFO: TCP Data received {"connection_id":136666,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:07:56] local.INFO: Processing buffer {"connection_id":136666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:07:56] local.INFO: IMEI packet received {"connection_id":136666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":136666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:07:56] local.INFO: TCP Data received {"connection_id":136666,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a28efb8012d196740071fee88003f004c2b..."} 
[2026-07-19 17:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a28efb8012d196740071fee88003f004c2b..."} 
[2026-07-19 17:07:56] local.INFO: Processing buffer {"connection_id":136666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a28efb8012d196740071fee88003f004c2b..."} 
[2026-07-19 17:07:56] local.INFO: Packet analysis {"connection_id":136666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a28"} 
[2026-07-19 17:07:56] local.INFO: Extracted packet for processing {"connection_id":136666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a28"} 
[2026-07-19 17:07:56] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821992960001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07: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-07-19 17:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784460931000,"timestamp_ms":1784460931000,"timestamp_seconds":1784460931,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a28efb8"} 
[2026-07-19 17:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:07: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-07-19 17:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 17:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07:56] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07:56] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07:56] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8801827490762660199,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07:56] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07:56] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21439377230004224,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07:56] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07:56] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07:56] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 17:07:56] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07:56] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07:56] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 17:07:56] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,144,159,75,45,64,238,63,10,66,249,43,167,1,240,227,122,31,4,113,205,3,136,44,239,47,2,25,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 17:07:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712171956764672,"timestamp_seconds":4539712171956765.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 17:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821992960001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821992960001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:07:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:07:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821992960001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":136666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:07:56] local.INFO: GPS data processed {"connection_id":136666,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:07:56] local.INFO: Acknowledgment sent {"connection_id":136666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:08:08] local.INFO: TCP Data received {"connection_id":139130,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:08:08] local.INFO: Processing buffer {"connection_id":139130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:08:08] local.INFO: Packet analysis {"connection_id":139130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:08:08] local.INFO: Extracted packet for processing {"connection_id":139130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821890304001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:08: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-07-19 17:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784460810000,"timestamp_ms":1784460810000,"timestamp_seconds":1784460810,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a271710"} 
[2026-07-19 17:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:08: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-07-19 17:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:08: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-07-19 17:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:08: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-07-19 17:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821890304001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821890304001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:08:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:08:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821890304001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":139130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:08:08] local.INFO: GPS data processed {"connection_id":139130,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:08:08] local.INFO: Acknowledgment sent {"connection_id":139130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:08:28] local.INFO: TCP Data received {"connection_id":136666,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2941c0012d196740071fee88003f004c2b..."} 
[2026-07-19 17:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2941c0012d196740071fee88003f004c2b..."} 
[2026-07-19 17:08:28] local.INFO: Processing buffer {"connection_id":136666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2941c0012d196740071fee88003f004c2b..."} 
[2026-07-19 17:08:28] local.INFO: Packet analysis {"connection_id":136666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a29"} 
[2026-07-19 17:08:28] local.INFO: Extracted packet for processing {"connection_id":136666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a29"} 
[2026-07-19 17:08:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821998336001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:08: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-07-19 17:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784460952000,"timestamp_ms":1784460952000,"timestamp_seconds":1784460952,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2941c0"} 
[2026-07-19 17:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:08:28] 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-07-19 17:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821998336001,"66":12232,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821998336001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:08:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:08:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821998336001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":136666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:08:28] local.INFO: GPS data processed {"connection_id":136666,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:08:28] local.INFO: Acknowledgment sent {"connection_id":136666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:08:36] local.INFO: TCP Data received {"connection_id":137744,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:08:36] local.INFO: Processing buffer {"connection_id":137744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:08:36] local.INFO: IMEI packet received {"connection_id":137744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":137744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:08:41] local.INFO: TCP Data received {"connection_id":137744,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:08:41] local.INFO: Processing buffer {"connection_id":137744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:08:41] local.INFO: IMEI packet received {"connection_id":137744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":137744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:08:42] local.INFO: TCP Data received {"connection_id":137744,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:08:42] local.INFO: Processing buffer {"connection_id":137744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:08:42] local.INFO: Packet analysis {"connection_id":137744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:08:42] local.INFO: Extracted packet for processing {"connection_id":137744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:08:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821890304001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784460810000,"timestamp_ms":1784460810000,"timestamp_seconds":1784460810,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a271710"} 
[2026-07-19 17:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:08:42] 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-07-19 17:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821890304001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821890304001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:08:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:08:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821890304001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":137744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:08:42] local.INFO: GPS data processed {"connection_id":137744,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:08:42] local.INFO: Acknowledgment sent {"connection_id":137744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:08:46] local.INFO: TCP Data received {"connection_id":137744,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:08:46] local.INFO: Processing buffer {"connection_id":137744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a271710012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:08:46] local.INFO: Packet analysis {"connection_id":137744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:08:46] local.INFO: Extracted packet for processing {"connection_id":137744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a27"} 
[2026-07-19 17:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821890304001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784460810000,"timestamp_ms":1784460810000,"timestamp_seconds":1784460810,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a271710"} 
[2026-07-19 17:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":137744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":137744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":137744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821890304001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821890304001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:08:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821890304001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":137744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:08:46] local.INFO: GPS data processed {"connection_id":137744,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:08:46] local.INFO: Acknowledgment sent {"connection_id":137744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:08:56] local.INFO: TCP Data received {"connection_id":139132,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:08:56] local.INFO: Processing buffer {"connection_id":139132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:08:56] local.INFO: IMEI packet received {"connection_id":139132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":139132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:08:57] local.INFO: TCP Data received {"connection_id":139132,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:08:57] local.INFO: Processing buffer {"connection_id":139132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:08:57] local.INFO: IMEI packet received {"connection_id":139132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":139132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:08:58] local.INFO: TCP Data received {"connection_id":139132,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2993c8012d196740071fee88003f004c2c..."} 
[2026-07-19 17:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2993c8012d196740071fee88003f004c2c..."} 
[2026-07-19 17:08:58] local.INFO: Processing buffer {"connection_id":139132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2993c8012d196740071fee88003f004c2c..."} 
[2026-07-19 17:08:58] local.INFO: Packet analysis {"connection_id":139132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a29"} 
[2026-07-19 17:08:58] local.INFO: Extracted packet for processing {"connection_id":139132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a29"} 
[2026-07-19 17:08:58] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822003712001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784460973000,"timestamp_ms":1784460973000,"timestamp_seconds":1784460973,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2993c8"} 
[2026-07-19 17:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:08: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-07-19 17:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-19 17:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":139132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":139132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":139132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822003712001,"66":12156,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822003712001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:08:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:08:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822003712001,"power":12156,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":139132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:08:58] local.INFO: GPS data processed {"connection_id":139132,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:08:58] local.INFO: Acknowledgment sent {"connection_id":139132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:09:01] local.INFO: TCP Data received {"connection_id":139132,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a29e5d0012d196740071fee88003f004c2c..."} 
[2026-07-19 17:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a29e5d0012d196740071fee88003f004c2c..."} 
[2026-07-19 17:09:01] local.INFO: Processing buffer {"connection_id":139132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a29e5d0012d196740071fee88003f004c2c..."} 
[2026-07-19 17:09:01] local.INFO: Packet analysis {"connection_id":139132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a29"} 
[2026-07-19 17:09:01] local.INFO: Extracted packet for processing {"connection_id":139132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a29"} 
[2026-07-19 17:09:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822009088001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784460994000,"timestamp_ms":1784460994000,"timestamp_seconds":1784460994,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a29e5d0"} 
[2026-07-19 17:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:09: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-07-19 17:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-19 17:09:01] 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-07-19 17: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-07-19 17:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":139132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":139132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":139132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822009088001,"66":11895,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822009088001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:09:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:09:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822009088001,"power":11895,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":139132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:09:01] local.INFO: GPS data processed {"connection_id":139132,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:09:01] local.INFO: Acknowledgment sent {"connection_id":139132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:09:07] local.INFO: TCP Data received {"connection_id":139131,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:09:07] local.INFO: Processing buffer {"connection_id":139131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:09:07] local.INFO: IMEI packet received {"connection_id":139131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 17:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":139131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:09:21] local.INFO: TCP Data received {"connection_id":136667,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:09:21] local.INFO: Processing buffer {"connection_id":136667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:09:21] local.INFO: IMEI packet received {"connection_id":136667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":136667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:09:26] local.INFO: TCP Data received {"connection_id":136667,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:09:26] local.INFO: Processing buffer {"connection_id":136667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:09:26] local.INFO: IMEI packet received {"connection_id":136667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":136667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:09:27] local.INFO: TCP Data received {"connection_id":137745,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137745,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:09:27] local.INFO: Processing buffer {"connection_id":137745,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:09:27] local.INFO: IMEI packet received {"connection_id":137745,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 17:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":137745,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:09:31] local.INFO: TCP Data received {"connection_id":136668,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:09:31] local.INFO: Processing buffer {"connection_id":136668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:09:31] local.INFO: IMEI packet received {"connection_id":136668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":136668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:09:31] local.INFO: TCP Data received {"connection_id":136667,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2c9168012d7a308005daa318002300e308..."} 
[2026-07-19 17:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2c9168012d7a308005daa318002300e308..."} 
[2026-07-19 17:09:31] local.INFO: Processing buffer {"connection_id":136667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2c9168012d7a308005daa318002300e308..."} 
[2026-07-19 17:09:31] local.INFO: Packet analysis {"connection_id":136667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2c"} 
[2026-07-19 17:09:31] local.INFO: Extracted packet for processing {"connection_id":136667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2c"} 
[2026-07-19 17:09:31] local.INFO: GPS Element Parsed {"raw_longitude":762982528,"raw_latitude":98214680,"longitude_deg":76.2982528,"latitude_deg":9.821468,"altitude":35,"angle":227,"satellites":8,"speed":0,"hex_longitude":"2d7a3080","hex_latitude":"05daa318","is_valid_coordinates":true} 
[2026-07-19 17:09:31] 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-07-19 17:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821338880001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 17:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459070693376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:09: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-07-19 17:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784461169000,"timestamp_ms":1784461169000,"timestamp_seconds":1784461169,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2c9168"} 
[2026-07-19 17:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-19 17:09:31] 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-07-19 17:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":136667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821338880001,"66":12232,"229":206,"85":15104,"24":0,"16":108182301971578880,"45":8805522459070693376},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 17:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821338880001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:09:31] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 17:09:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459070693376,"description":"Unknown IO ID 45"} 
[2026-07-19 17:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821338880001,"power":12232,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805522459070693376}} 
[2026-07-19 17:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":136667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:09:31] local.INFO: GPS data processed {"connection_id":136667,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:09:31] local.INFO: Acknowledgment sent {"connection_id":136667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:09:32] local.INFO: TCP Data received {"connection_id":139132,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2a37d8012d196740071fee88003f004c2c..."} 
[2026-07-19 17:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2a37d8012d196740071fee88003f004c2c..."} 
[2026-07-19 17:09:32] local.INFO: Processing buffer {"connection_id":139132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2a37d8012d196740071fee88003f004c2c..."} 
[2026-07-19 17:09:32] local.INFO: Packet analysis {"connection_id":139132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2a"} 
[2026-07-19 17:09:32] local.INFO: Extracted packet for processing {"connection_id":139132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2a"} 
[2026-07-19 17:09:32] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822014464001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784461015000,"timestamp_ms":1784461015000,"timestamp_seconds":1784461015,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2a37d8"} 
[2026-07-19 17:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:09: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-07-19 17:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-19 17:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":139132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":139132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":139132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822014464001,"66":11852,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822014464001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:09:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:09:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822014464001,"power":11852,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":139132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:09:32] local.INFO: GPS data processed {"connection_id":139132,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:09:32] local.INFO: Acknowledgment sent {"connection_id":139132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:09:36] local.INFO: TCP Data received {"connection_id":136668,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:09:36] local.INFO: Processing buffer {"connection_id":136668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:09:36] local.INFO: IMEI packet received {"connection_id":136668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":136668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:09:37] local.INFO: TCP Data received {"connection_id":136668,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:09:37] local.INFO: Processing buffer {"connection_id":136668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:09:37] local.INFO: Packet analysis {"connection_id":136668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2b"} 
[2026-07-19 17:09:37] local.INFO: Extracted packet for processing {"connection_id":136668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2b"} 
[2026-07-19 17:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821967360001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:09: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-07-19 17:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784461111000,"timestamp_ms":1784461111000,"timestamp_seconds":1784461111,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2baed8"} 
[2026-07-19 17:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821967360001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 17:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821967360001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:09:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821967360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":136668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:09:37] local.INFO: GPS data processed {"connection_id":136668,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:09:37] local.INFO: Acknowledgment sent {"connection_id":136668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:09:51] local.INFO: TCP Data received {"connection_id":139133,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:09:51] local.INFO: Processing buffer {"connection_id":139133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:09:51] local.INFO: IMEI packet received {"connection_id":139133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":139133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:09:56] local.INFO: TCP Data received {"connection_id":139133,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:09:56] local.INFO: Processing buffer {"connection_id":139133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:09:56] local.INFO: IMEI packet received {"connection_id":139133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":139133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:09:57] local.INFO: TCP Data received {"connection_id":139133,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2a89e0012d196740071fee88003f004c2c..."} 
[2026-07-19 17:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2a89e0012d196740071fee88003f004c2c..."} 
[2026-07-19 17:09:57] local.INFO: Processing buffer {"connection_id":139133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2a89e0012d196740071fee88003f004c2c..."} 
[2026-07-19 17:09:57] local.INFO: Packet analysis {"connection_id":139133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2a"} 
[2026-07-19 17:09:57] local.INFO: Extracted packet for processing {"connection_id":139133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2a"} 
[2026-07-19 17:09:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822019840001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:09: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-07-19 17:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784461036000,"timestamp_ms":1784461036000,"timestamp_seconds":1784461036,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2a89e0"} 
[2026-07-19 17:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-19 17:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822019840001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822019840001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:09:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:09:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822019840001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":139133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:09:57] local.INFO: GPS data processed {"connection_id":139133,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:09:57] local.INFO: Acknowledgment sent {"connection_id":139133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:10:03] local.INFO: TCP Data received {"connection_id":136667,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a00c290012d7a3a8005daa408001401520b..."} 
[2026-07-19 17:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a00c290012d7a3a8005daa408001401520b..."} 
[2026-07-19 17:10:03] local.INFO: Processing buffer {"connection_id":136667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a00c290012d7a3a8005daa408001401520b..."} 
[2026-07-19 17:10:03] local.INFO: Packet analysis {"connection_id":136667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a00"} 
[2026-07-19 17:10:03] local.INFO: Extracted packet for processing {"connection_id":136667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a00"} 
[2026-07-19 17:10:03] local.INFO: GPS Element Parsed {"raw_longitude":762985088,"raw_latitude":98214920,"longitude_deg":76.2985088,"latitude_deg":9.821492,"altitude":20,"angle":338,"satellites":11,"speed":6,"hex_longitude":"2d7a3a80","hex_latitude":"05daa408","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821322752001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182104403083264,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807703890139901952,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10: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-07-19 17:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784458298000,"timestamp_ms":1784458298000,"timestamp_seconds":1784458298,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a00c290"} 
[2026-07-19 17:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3072,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-19 17:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":67555095079944196,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2281754023,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2816803022,"corrected_to":0} 
[2026-07-19 17:10:03] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2550202368,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10:03] local.WARNING: Large IO value detected {"io_id":2,"raw_value":1126184123629773,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10:03] local.WARNING: Large IO value detected {"io_id":164,"raw_value":57702370239184896,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10:03] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,229,85,24,241,157,16,86,159,104,45,121,10,9,66,93,115,7,26,1,240,252,227,4,113,205,183,239,2,128,164],"length":626,"final_offset":756,"validated_count":31,"validation_warnings":[{"io_id":205,"original":2816803022,"validated":0}]} 
[2026-07-19 17:10:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225367269199970304,"timestamp_seconds":1225367269199970.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 17:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":136667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821322752001,"66":12819,"229":206,"85":15104,"24":6,"16":108182104403083264,"45":8807703890139901952},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 17:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821322752001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:10:03] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 17:10:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182104403083264,"km_value":108182104403083.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807703890139901952,"description":"Unknown IO ID 45"} 
[2026-07-19 17:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821322752001,"power":12819,"unknown_229":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8807703890139901952}} 
[2026-07-19 17:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":136667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:10:03] local.INFO: GPS data processed {"connection_id":136667,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:10:03] local.INFO: Acknowledgment sent {"connection_id":136667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:10:08] local.INFO: TCP Data received {"connection_id":136668,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:10:08] local.INFO: Processing buffer {"connection_id":136668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:10:08] local.INFO: Packet analysis {"connection_id":136668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2b"} 
[2026-07-19 17:10:08] local.INFO: Extracted packet for processing {"connection_id":136668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2b"} 
[2026-07-19 17:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821967360001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10: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-07-19 17:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784461111000,"timestamp_ms":1784461111000,"timestamp_seconds":1784461111,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2baed8"} 
[2026-07-19 17:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:10: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-07-19 17:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:10: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-07-19 17:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821967360001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 17:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821967360001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:10:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821967360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":136668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:10:08] local.INFO: GPS data processed {"connection_id":136668,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:10:08] local.INFO: Acknowledgment sent {"connection_id":136668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:10:31] local.INFO: TCP Data received {"connection_id":139133,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2adbe8012d196740071fee88003f004c2b..."} 
[2026-07-19 17:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2adbe8012d196740071fee88003f004c2b..."} 
[2026-07-19 17:10:31] local.INFO: Processing buffer {"connection_id":139133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2adbe8012d196740071fee88003f004c2b..."} 
[2026-07-19 17:10:31] local.INFO: Packet analysis {"connection_id":139133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2a"} 
[2026-07-19 17:10:31] local.INFO: Extracted packet for processing {"connection_id":139133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2a"} 
[2026-07-19 17:10:31] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822025216001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784461057000,"timestamp_ms":1784461057000,"timestamp_seconds":1784461057,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2adbe8"} 
[2026-07-19 17:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:10: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-07-19 17:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":139133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":139133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":139133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822025216001,"66":12232,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822025216001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:10:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:10:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822025216001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":139133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:10:31] local.INFO: GPS data processed {"connection_id":139133,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:10:31] local.INFO: Acknowledgment sent {"connection_id":139133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:10:31] local.INFO: TCP Data received {"connection_id":137746,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:10:31] local.INFO: Processing buffer {"connection_id":137746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:10:31] local.INFO: IMEI packet received {"connection_id":137746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":137746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:10:34] local.INFO: TCP Data received {"connection_id":136667,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-07-19 17:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-07-19 17:10:34] local.INFO: Processing buffer {"connection_id":136667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-07-19 17:10:34] local.INFO: Packet analysis {"connection_id":136667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-19 17:10:34] local.INFO: Extracted packet for processing {"connection_id":136667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-19 17:10: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-07-19 17:10:34] 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-07-19 17:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456815170560001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10:34] 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-07-19 17:10:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7000,"timestamp_seconds":7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 17:10:34] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-19 17:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":136667,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-19 17:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-19 17:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-19 17:10:34] local.WARNING: DEBUG: No valid data to process  
[2026-07-19 17:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":136667,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-19 17:10:34] local.ERROR: GPS data processing failed {"connection_id":136667,"error":"No valid data to process"} 
[2026-07-19 17:10:34] local.INFO: Acknowledgment sent {"connection_id":136667,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-19 17:10:36] local.INFO: TCP Data received {"connection_id":137746,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:10:36] local.INFO: Processing buffer {"connection_id":137746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:10:36] local.INFO: IMEI packet received {"connection_id":137746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":137746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:10:37] local.INFO: TCP Data received {"connection_id":137746,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:10:37] local.INFO: Processing buffer {"connection_id":137746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:10:37] local.INFO: Packet analysis {"connection_id":137746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2b"} 
[2026-07-19 17:10:37] local.INFO: Extracted packet for processing {"connection_id":137746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2b"} 
[2026-07-19 17:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821967360001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10: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-07-19 17:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784461111000,"timestamp_ms":1784461111000,"timestamp_seconds":1784461111,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2baed8"} 
[2026-07-19 17:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:10:37] 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-07-19 17:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821967360001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821967360001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:10:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821967360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":137746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:10:37] local.INFO: GPS data processed {"connection_id":137746,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:10:37] local.INFO: Acknowledgment sent {"connection_id":137746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:10:51] local.INFO: TCP Data received {"connection_id":139134,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:10:51] local.INFO: Processing buffer {"connection_id":139134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:10:51] local.INFO: IMEI packet received {"connection_id":139134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":139134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:10:56] local.INFO: TCP Data received {"connection_id":139134,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:10:56] local.INFO: Processing buffer {"connection_id":139134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:10:56] local.INFO: IMEI packet received {"connection_id":139134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":139134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:10:57] local.INFO: TCP Data received {"connection_id":139134,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2b2df0012d196740071fee88003f004c2b..."} 
[2026-07-19 17:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2b2df0012d196740071fee88003f004c2b..."} 
[2026-07-19 17:10:57] local.INFO: Processing buffer {"connection_id":139134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2b2df0012d196740071fee88003f004c2b..."} 
[2026-07-19 17:10:57] local.INFO: Packet analysis {"connection_id":139134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2b"} 
[2026-07-19 17:10:57] local.INFO: Extracted packet for processing {"connection_id":139134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2b"} 
[2026-07-19 17:10:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822030592001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:10: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-07-19 17:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784461078000,"timestamp_ms":1784461078000,"timestamp_seconds":1784461078,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2b2df0"} 
[2026-07-19 17:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-19 17:10:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822030592001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822030592001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:10:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:10:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822030592001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":139134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:10:57] local.INFO: GPS data processed {"connection_id":139134,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:10:57] local.INFO: Acknowledgment sent {"connection_id":139134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:11:05] local.INFO: TCP Data received {"connection_id":136667,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f786abd28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 17:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f786abd28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 17:11:05] local.INFO: Processing buffer {"connection_id":136667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f786abd28012d7a408005da76c0000600ac2a..."} 
[2026-07-19 17:11:05] local.INFO: Packet analysis {"connection_id":136667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f786a"} 
[2026-07-19 17:11:05] local.INFO: Extracted packet for processing {"connection_id":136667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f786a"} 
[2026-07-19 17:11:05] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203328,"longitude_deg":76.2986624,"latitude_deg":9.8203328,"altitude":6,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da76c0","is_valid_coordinates":true} 
[2026-07-19 17:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814436352001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108181494517727232,"note":"Value kept but may cause issues"} 
[2026-07-19 17:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765097472,"note":"Value kept but may cause issues"} 
[2026-07-19 17:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784431689000,"timestamp_ms":1784431689000,"timestamp_seconds":1784431689,"priority":1,"record_length":96,"hex_timestamp":"0000019f786abd28"} 
[2026-07-19 17:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:11: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-07-19 17:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-19 17:11:05] 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-07-19 17:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":136667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814436352001,"66":12613,"229":206,"85":15104,"24":0,"16":108181494517727232,"45":8809181633765097472},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 17:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814436352001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:11:05] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 17:11:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108181494517727232,"km_value":108181494517727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765097472,"description":"Unknown IO ID 45"} 
[2026-07-19 17:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814436352001,"power":12613,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765097472}} 
[2026-07-19 17:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":136667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513052,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:11:05] local.INFO: GPS data processed {"connection_id":136667,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:11:05] local.INFO: Acknowledgment sent {"connection_id":136667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:11:08] local.INFO: TCP Data received {"connection_id":137746,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:11:08] local.INFO: Processing buffer {"connection_id":137746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:11:08] local.INFO: Packet analysis {"connection_id":137746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2b"} 
[2026-07-19 17:11:08] local.INFO: Extracted packet for processing {"connection_id":137746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2b"} 
[2026-07-19 17:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821967360001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:11: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-07-19 17:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784461111000,"timestamp_ms":1784461111000,"timestamp_seconds":1784461111,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2baed8"} 
[2026-07-19 17:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:11: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-07-19 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:11: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-07-19 17: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-07-19 17:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821967360001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821967360001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:11:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:11:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821967360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":137746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:11:08] local.INFO: GPS data processed {"connection_id":137746,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:11:08] local.INFO: Acknowledgment sent {"connection_id":137746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:11:26] local.INFO: TCP Data received {"connection_id":136670,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:11:26] local.INFO: Processing buffer {"connection_id":136670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:11:26] local.INFO: IMEI packet received {"connection_id":136670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":136670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:11:31] local.INFO: TCP Data received {"connection_id":139135,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:11:31] local.INFO: Processing buffer {"connection_id":139135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:11:31] local.INFO: IMEI packet received {"connection_id":139135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":139135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:11:31] local.INFO: TCP Data received {"connection_id":136670,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:11:31] local.INFO: Processing buffer {"connection_id":136670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:11:31] local.INFO: IMEI packet received {"connection_id":136670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":136670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:11:32] local.INFO: TCP Data received {"connection_id":136670,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2c7610012d196740071fee88003f004c2a..."} 
[2026-07-19 17:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2c7610012d196740071fee88003f004c2a..."} 
[2026-07-19 17:11:32] local.INFO: Processing buffer {"connection_id":136670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2c7610012d196740071fee88003f004c2a..."} 
[2026-07-19 17:11:32] local.INFO: Packet analysis {"connection_id":136670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2c"} 
[2026-07-19 17:11:32] local.INFO: Extracted packet for processing {"connection_id":136670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2c"} 
[2026-07-19 17:11:32] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 17:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822052096001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784461162000,"timestamp_ms":1784461162000,"timestamp_seconds":1784461162,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2c7610"} 
[2026-07-19 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-07-19 17:11: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-07-19 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 17:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 17:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822052096001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822052096001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:11:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:11:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822052096001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":136670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:11:32] local.INFO: GPS data processed {"connection_id":136670,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:11:32] local.INFO: Acknowledgment sent {"connection_id":136670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:11:36] local.INFO: TCP Data received {"connection_id":139135,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:11:36] local.INFO: Processing buffer {"connection_id":139135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:11:36] local.INFO: IMEI packet received {"connection_id":139135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":139135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:11:36] local.INFO: TCP Data received {"connection_id":136667,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f785ff758012d7a3b0005daa348000600a224..."} 
[2026-07-19 17:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785ff758012d7a3b0005daa348000600a224..."} 
[2026-07-19 17:11:36] local.INFO: Processing buffer {"connection_id":136667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785ff758012d7a3b0005daa348000600a224..."} 
[2026-07-19 17:11:36] local.INFO: Packet analysis {"connection_id":136667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 17:11:36] local.INFO: Extracted packet for processing {"connection_id":136667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 17:11:36] local.INFO: GPS Element Parsed {"raw_longitude":762985216,"raw_latitude":98214728,"longitude_deg":76.2985216,"latitude_deg":9.8214728,"altitude":6,"angle":162,"satellites":36,"speed":10,"hex_longitude":"2d7a3b00","hex_latitude":"05daa348","is_valid_coordinates":true} 
[2026-07-19 17:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814330880001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108180923287076864,"note":"Value kept but may cause issues"} 
[2026-07-19 17:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807281677675354112,"note":"Value kept but may cause issues"} 
[2026-07-19 17:11: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-07-19 17:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784430983000,"timestamp_ms":1784430983000,"timestamp_seconds":1784430983,"priority":1,"record_length":96,"hex_timestamp":"0000019f785ff758"} 
[2026-07-19 17:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 17:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814330880001,"66":13319,"229":206,"85":15104,"24":10,"16":108180923287076864,"45":8807281677675354112},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 17:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814330880001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:11:36] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 17:11:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108180923287076864,"km_value":108180923287076.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807281677675354112,"description":"Unknown IO ID 45"} 
[2026-07-19 17:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814330880001,"power":13319,"unknown_229":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8807281677675354112}} 
[2026-07-19 17:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":136667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:11:36] local.INFO: GPS data processed {"connection_id":136667,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:11:36] local.INFO: Acknowledgment sent {"connection_id":136667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:11:37] local.INFO: TCP Data received {"connection_id":139135,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:11:37] local.INFO: Processing buffer {"connection_id":139135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:11:37] local.INFO: Packet analysis {"connection_id":139135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2b"} 
[2026-07-19 17:11:37] local.INFO: Extracted packet for processing {"connection_id":139135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2b"} 
[2026-07-19 17:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821967360001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:11: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-07-19 17:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784461111000,"timestamp_ms":1784461111000,"timestamp_seconds":1784461111,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2baed8"} 
[2026-07-19 17:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821967360001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821967360001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821967360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":139135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:11:37] local.INFO: GPS data processed {"connection_id":139135,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:11:37] local.INFO: Acknowledgment sent {"connection_id":139135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:12:01] local.INFO: TCP Data received {"connection_id":136671,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:12:01] local.INFO: Processing buffer {"connection_id":136671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:12:01] local.INFO: IMEI packet received {"connection_id":136671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":136671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:12:06] local.INFO: TCP Data received {"connection_id":136671,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:12:06] local.INFO: Processing buffer {"connection_id":136671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:12:06] local.INFO: IMEI packet received {"connection_id":136671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":136671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:12:07] local.INFO: TCP Data received {"connection_id":136671,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2cc818012d196740071fee88003f004c2a..."} 
[2026-07-19 17:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2cc818012d196740071fee88003f004c2a..."} 
[2026-07-19 17:12:07] local.INFO: Processing buffer {"connection_id":136671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2cc818012d196740071fee88003f004c2a..."} 
[2026-07-19 17:12:07] local.INFO: Packet analysis {"connection_id":136671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2c"} 
[2026-07-19 17:12:07] local.INFO: Extracted packet for processing {"connection_id":136671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2c"} 
[2026-07-19 17:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822057472001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784461183000,"timestamp_ms":1784461183000,"timestamp_seconds":1784461183,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2cc818"} 
[2026-07-19 17:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822057472001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822057472001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:12:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822057472001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":136671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:12:07] local.INFO: GPS data processed {"connection_id":136671,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:12:07] local.INFO: Acknowledgment sent {"connection_id":136671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:12:07] local.INFO: TCP Data received {"connection_id":136671,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2d1a20012d196740071fee88003f004c2b..."} 
[2026-07-19 17:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2d1a20012d196740071fee88003f004c2b..."} 
[2026-07-19 17:12:07] local.INFO: Processing buffer {"connection_id":136671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2d1a20012d196740071fee88003f004c2b..."} 
[2026-07-19 17:12:07] local.INFO: Packet analysis {"connection_id":136671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2d"} 
[2026-07-19 17:12:07] local.INFO: Extracted packet for processing {"connection_id":136671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2d"} 
[2026-07-19 17:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822062848001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784461204000,"timestamp_ms":1784461204000,"timestamp_seconds":1784461204,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2d1a20"} 
[2026-07-19 17:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:12: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-07-19 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822062848001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822062848001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:12:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822062848001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":136671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:12:07] local.INFO: GPS data processed {"connection_id":136671,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:12:07] local.INFO: Acknowledgment sent {"connection_id":136671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:12:07] local.INFO: TCP Data received {"connection_id":136667,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f785f7670012d7a32c005daa5800004008a28..."} 
[2026-07-19 17:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785f7670012d7a32c005daa5800004008a28..."} 
[2026-07-19 17:12:07] local.INFO: Processing buffer {"connection_id":136667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785f7670012d7a32c005daa5800004008a28..."} 
[2026-07-19 17:12:07] local.INFO: Packet analysis {"connection_id":136667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 17:12:07] local.INFO: Extracted packet for processing {"connection_id":136667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785f"} 
[2026-07-19 17:12:07] local.INFO: GPS Element Parsed {"raw_longitude":762983104,"raw_latitude":98215296,"longitude_deg":76.2983104,"latitude_deg":9.8215296,"altitude":4,"angle":138,"satellites":40,"speed":2,"hex_longitude":"2d7a32c0","hex_latitude":"05daa580","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814322688001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108180772963221504,"note":"Value kept but may cause issues"} 
[2026-07-19 17:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805311352838410240,"note":"Value kept but may cause issues"} 
[2026-07-19 17:12: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-07-19 17:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784430950000,"timestamp_ms":1784430950000,"timestamp_seconds":1784430950,"priority":1,"record_length":96,"hex_timestamp":"0000019f785f7670"} 
[2026-07-19 17:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-19 17:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814322688001,"66":12917,"229":206,"85":15104,"24":2,"16":108180772963221504,"45":8805311352838410240},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 17:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814322688001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:12:07] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 17:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108180772963221504,"km_value":108180772963221.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805311352838410240,"description":"Unknown IO ID 45"} 
[2026-07-19 17:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814322688001,"power":12917,"unknown_229":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8805311352838410240}} 
[2026-07-19 17:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":136667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:12:07] local.INFO: GPS data processed {"connection_id":136667,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:12:07] local.INFO: Acknowledgment sent {"connection_id":136667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:12:08] local.INFO: TCP Data received {"connection_id":139135,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:12:08] local.INFO: Processing buffer {"connection_id":139135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:12:08] local.INFO: Packet analysis {"connection_id":139135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2b"} 
[2026-07-19 17:12:08] local.INFO: Extracted packet for processing {"connection_id":139135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2b"} 
[2026-07-19 17:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821967360001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:12: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-07-19 17:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784461111000,"timestamp_ms":1784461111000,"timestamp_seconds":1784461111,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2baed8"} 
[2026-07-19 17:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:12: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-07-19 17: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":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:12: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-07-19 17: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-07-19 17:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:12: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-07-19 17:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821967360001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821967360001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:12:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821967360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":139135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:12:08] local.INFO: GPS data processed {"connection_id":139135,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:12:08] local.INFO: Acknowledgment sent {"connection_id":139135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:12:30] local.INFO: TCP Data received {"connection_id":136673,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:12:30] local.INFO: Processing buffer {"connection_id":136673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:12:30] local.INFO: IMEI packet received {"connection_id":136673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":136673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:12:36] local.INFO: TCP Data received {"connection_id":136673,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:12:36] local.INFO: Processing buffer {"connection_id":136673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:12:36] local.INFO: IMEI packet received {"connection_id":136673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":136673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:12:37] local.INFO: TCP Data received {"connection_id":136673,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:12:37] local.INFO: Processing buffer {"connection_id":136673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:12:37] local.INFO: Packet analysis {"connection_id":136673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2b"} 
[2026-07-19 17:12:37] local.INFO: Extracted packet for processing {"connection_id":136673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2b"} 
[2026-07-19 17:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821967360001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:12: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-07-19 17:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784461111000,"timestamp_ms":1784461111000,"timestamp_seconds":1784461111,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2baed8"} 
[2026-07-19 17:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821967360001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821967360001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:12:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821967360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":136673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:12:37] local.INFO: GPS data processed {"connection_id":136673,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:12:37] local.INFO: Acknowledgment sent {"connection_id":136673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:12:39] local.INFO: TCP Data received {"connection_id":136667,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f785de030012d7a3cc005da97600003015b26..."} 
[2026-07-19 17:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785de030012d7a3cc005da97600003015b26..."} 
[2026-07-19 17:12:39] local.INFO: Processing buffer {"connection_id":136667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785de030012d7a3cc005da97600003015b26..."} 
[2026-07-19 17:12:39] local.INFO: Packet analysis {"connection_id":136667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785d"} 
[2026-07-19 17:12:39] local.INFO: Extracted packet for processing {"connection_id":136667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785d"} 
[2026-07-19 17:12:39] local.INFO: GPS Element Parsed {"raw_longitude":762985664,"raw_latitude":98211680,"longitude_deg":76.2985664,"latitude_deg":9.821168,"altitude":3,"angle":347,"satellites":38,"speed":15,"hex_longitude":"2d7a3cc0","hex_latitude":"05da9760","is_valid_coordinates":true} 
[2026-07-19 17:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814296064001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108180463725576192,"note":"Value kept but may cause issues"} 
[2026-07-19 17:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808407577581117440,"note":"Value kept but may cause issues"} 
[2026-07-19 17:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784430846000,"timestamp_ms":1784430846000,"timestamp_seconds":1784430846,"priority":1,"record_length":96,"hex_timestamp":"0000019f785de030"} 
[2026-07-19 17:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-19 17:12:39] 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-07-19 17:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814296064001,"66":13319,"229":206,"85":15104,"24":15,"16":108180463725576192,"45":8808407577581117440},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 17:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814296064001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:12:39] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 17:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108180463725576192,"km_value":108180463725576.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808407577581117440,"description":"Unknown IO ID 45"} 
[2026-07-19 17:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814296064001,"power":13319,"unknown_229":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8808407577581117440}} 
[2026-07-19 17:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":136667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:12:39] local.INFO: GPS data processed {"connection_id":136667,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:12:39] local.INFO: Acknowledgment sent {"connection_id":136667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:12:48] local.INFO: TCP Data received {"connection_id":137747,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:12:48] local.INFO: Processing buffer {"connection_id":137747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:12:48] local.INFO: IMEI packet received {"connection_id":137747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":137747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:12:51] local.INFO: TCP Data received {"connection_id":137747,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:12:51] local.INFO: Processing buffer {"connection_id":137747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:12:51] local.INFO: IMEI packet received {"connection_id":137747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":137747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:12:56] local.INFO: TCP Data received {"connection_id":137747,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:12:56] local.INFO: Processing buffer {"connection_id":137747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:12:56] local.INFO: IMEI packet received {"connection_id":137747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":137747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:12:57] local.INFO: TCP Data received {"connection_id":137747,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2d6c28012d196740071fee88003f004c29..."} 
[2026-07-19 17:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2d6c28012d196740071fee88003f004c29..."} 
[2026-07-19 17:12:57] local.INFO: Processing buffer {"connection_id":137747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2d6c28012d196740071fee88003f004c29..."} 
[2026-07-19 17:12:57] local.INFO: Packet analysis {"connection_id":137747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2d"} 
[2026-07-19 17:12:57] local.INFO: Extracted packet for processing {"connection_id":137747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2d"} 
[2026-07-19 17:12:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822068224001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:12: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-07-19 17:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784461225000,"timestamp_ms":1784461225000,"timestamp_seconds":1784461225,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2d6c28"} 
[2026-07-19 17:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:12: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-07-19 17:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822068224001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822068224001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:12:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:12:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822068224001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":137747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:12:57] local.INFO: GPS data processed {"connection_id":137747,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:12:57] local.INFO: Acknowledgment sent {"connection_id":137747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:13:10] local.INFO: TCP Data received {"connection_id":136673,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:13:10] local.INFO: Processing buffer {"connection_id":136673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:13:10] local.INFO: Packet analysis {"connection_id":136673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2b"} 
[2026-07-19 17:13:10] local.INFO: Extracted packet for processing {"connection_id":136673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2b"} 
[2026-07-19 17:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821967360001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13: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-07-19 17:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784461111000,"timestamp_ms":1784461111000,"timestamp_seconds":1784461111,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2baed8"} 
[2026-07-19 17:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:13:10] 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-07-19 17:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821967360001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821967360001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:13:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821967360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":136673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:13:10] local.INFO: GPS data processed {"connection_id":136673,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:13:10] local.INFO: Acknowledgment sent {"connection_id":136673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:13:10] local.INFO: TCP Data received {"connection_id":136667,"ip":"42.106.6.34","data_length":639,"data_hex":"00000000000002738e080000019f785de030012d7a3cc005da97600003015b26..."} 
[2026-07-19 17:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136667,"packet_length":639,"packet_hex":"00000000000002738e080000019f785de030012d7a3cc005da97600003015b26..."} 
[2026-07-19 17:13:10] local.INFO: Processing buffer {"connection_id":136667,"buffer_length":639,"buffer_hex":"00000000000002738e080000019f785de030012d7a3cc005da97600003015b26..."} 
[2026-07-19 17:13:10] local.INFO: Packet analysis {"connection_id":136667,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019f785d"} 
[2026-07-19 17:13:10] local.INFO: Extracted packet for processing {"connection_id":136667,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019f785d"} 
[2026-07-19 17:13:10] local.INFO: GPS Element Parsed {"raw_longitude":762985664,"raw_latitude":98211680,"longitude_deg":76.2985664,"latitude_deg":9.821168,"altitude":3,"angle":347,"satellites":38,"speed":15,"hex_longitude":"2d7a3cc0","hex_latitude":"05da9760","is_valid_coordinates":true} 
[2026-07-19 17:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":639,"current_offset":40} 
[2026-07-19 17:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814296064001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108180463725576192,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808407577581117440,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:10] 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-07-19 17:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784430846000,"timestamp_ms":1784430846000,"timestamp_seconds":1784430846,"priority":1,"record_length":96,"hex_timestamp":"0000019f785de030"} 
[2026-07-19 17:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:13: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-07-19 17:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":639,"current_offset":136} 
[2026-07-19 17:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:13:10] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136667,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-07-19 17:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814296064001,"66":13319,"229":206,"85":15104,"24":15,"16":108180463725576192,"45":8808407577581117440},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 17:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814296064001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:13:10] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 17:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108180463725576192,"km_value":108180463725576.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808407577581117440,"description":"Unknown IO ID 45"} 
[2026-07-19 17:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814296064001,"power":13319,"unknown_229":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8808407577581117440}} 
[2026-07-19 17:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":136667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:13:10] local.INFO: GPS data processed {"connection_id":136667,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:13:10] local.INFO: Acknowledgment sent {"connection_id":136667,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:13:28] local.INFO: TCP Data received {"connection_id":137747,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2dbe30012d196740071fee88003f004c2a..."} 
[2026-07-19 17:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2dbe30012d196740071fee88003f004c2a..."} 
[2026-07-19 17:13:28] local.INFO: Processing buffer {"connection_id":137747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2dbe30012d196740071fee88003f004c2a..."} 
[2026-07-19 17:13:28] local.INFO: Packet analysis {"connection_id":137747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2d"} 
[2026-07-19 17:13:28] local.INFO: Extracted packet for processing {"connection_id":137747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2d"} 
[2026-07-19 17:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822073600001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13: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-07-19 17:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784461246000,"timestamp_ms":1784461246000,"timestamp_seconds":1784461246,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2dbe30"} 
[2026-07-19 17:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:13: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-07-19 17:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 17:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8803180405460900199,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:28] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21438277718376448,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":6145,"corrected_to":0} 
[2026-07-19 17:13:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 17:13:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,26,45,64,238,63,43,10,66,200,42,118,1,240,255,227,122,31,4,113,205,210,136,239,48,2,25,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":200,"original":6145,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 17:13:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712163366830080,"timestamp_seconds":4539712163366830.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 17:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822073600001,"66":12015,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822073600001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:13:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:13:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822073600001,"power":12015,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":137747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:13:28] local.INFO: GPS data processed {"connection_id":137747,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:13:28] local.INFO: Acknowledgment sent {"connection_id":137747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:13:30] local.INFO: TCP Data received {"connection_id":139137,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:13:30] local.INFO: Processing buffer {"connection_id":139137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:13:30] local.INFO: IMEI packet received {"connection_id":139137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":139137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:13:36] local.INFO: TCP Data received {"connection_id":139137,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:13:36] local.INFO: Processing buffer {"connection_id":139137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:13:36] local.INFO: IMEI packet received {"connection_id":139137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":139137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:13:37] local.INFO: TCP Data received {"connection_id":139137,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:13:37] local.INFO: Processing buffer {"connection_id":139137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:13:37] local.INFO: Packet analysis {"connection_id":139137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2b"} 
[2026-07-19 17:13:37] local.INFO: Extracted packet for processing {"connection_id":139137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2b"} 
[2026-07-19 17:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821967360001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13: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-07-19 17:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784461111000,"timestamp_ms":1784461111000,"timestamp_seconds":1784461111,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2baed8"} 
[2026-07-19 17:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821967360001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821967360001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:13:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821967360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":139137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:13:37] local.INFO: GPS data processed {"connection_id":139137,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:13:37] local.INFO: Acknowledgment sent {"connection_id":139137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:13:41] local.INFO: TCP Data received {"connection_id":136667,"ip":"42.106.6.34","data_length":483,"data_hex":"00000000000001d78e060000019f785de030012d7a3cc005da97600003015b26..."} 
[2026-07-19 17:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136667,"packet_length":483,"packet_hex":"00000000000001d78e060000019f785de030012d7a3cc005da97600003015b26..."} 
[2026-07-19 17:13:41] local.INFO: Processing buffer {"connection_id":136667,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019f785de030012d7a3cc005da97600003015b26..."} 
[2026-07-19 17:13:41] local.INFO: Packet analysis {"connection_id":136667,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019f785d"} 
[2026-07-19 17:13:41] local.INFO: Extracted packet for processing {"connection_id":136667,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019f785d"} 
[2026-07-19 17:13:41] local.INFO: GPS Element Parsed {"raw_longitude":762985664,"raw_latitude":98211680,"longitude_deg":76.2985664,"latitude_deg":9.821168,"altitude":3,"angle":347,"satellites":38,"speed":15,"hex_longitude":"2d7a3cc0","hex_latitude":"05da9760","is_valid_coordinates":true} 
[2026-07-19 17: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":483,"current_offset":40} 
[2026-07-19 17:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814296064001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108180463725576192,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808407577581117440,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:41] 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-07-19 17:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784430846000,"timestamp_ms":1784430846000,"timestamp_seconds":1784430846,"priority":1,"record_length":96,"hex_timestamp":"0000019f785de030"} 
[2026-07-19 17:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17: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":52,"n8_eight_byte":94,"data_length":483,"current_offset":136} 
[2026-07-19 17:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:13:41] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":136667,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-07-19 17:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814296064001,"66":13319,"229":206,"85":15104,"24":15,"16":108180463725576192,"45":8808407577581117440},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 17:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814296064001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:13:41] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 17:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108180463725576192,"km_value":108180463725576.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808407577581117440,"description":"Unknown IO ID 45"} 
[2026-07-19 17:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814296064001,"power":13319,"unknown_229":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8808407577581117440}} 
[2026-07-19 17:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":136667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:13:41] local.INFO: GPS data processed {"connection_id":136667,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:13:41] local.INFO: Acknowledgment sent {"connection_id":136667,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:13:51] local.INFO: TCP Data received {"connection_id":137748,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:13:51] local.INFO: Processing buffer {"connection_id":137748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:13:51] local.INFO: IMEI packet received {"connection_id":137748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":137748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:13:52] local.INFO: TCP Data received {"connection_id":137748,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:13:52] local.INFO: Processing buffer {"connection_id":137748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:13:52] local.INFO: IMEI packet received {"connection_id":137748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":137748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:13:56] local.INFO: TCP Data received {"connection_id":137748,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:13:56] local.INFO: Processing buffer {"connection_id":137748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:13:56] local.INFO: IMEI packet received {"connection_id":137748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":137748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:13:57] local.INFO: TCP Data received {"connection_id":137748,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2e1038012d196740071fee88003f004c28..."} 
[2026-07-19 17:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2e1038012d196740071fee88003f004c28..."} 
[2026-07-19 17:13:57] local.INFO: Processing buffer {"connection_id":137748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2e1038012d196740071fee88003f004c28..."} 
[2026-07-19 17:13:57] local.INFO: Packet analysis {"connection_id":137748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2e"} 
[2026-07-19 17:13:57] local.INFO: Extracted packet for processing {"connection_id":137748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2e"} 
[2026-07-19 17:13:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822078976001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:13: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-07-19 17:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784461267000,"timestamp_ms":1784461267000,"timestamp_seconds":1784461267,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2e1038"} 
[2026-07-19 17:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:13: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-07-19 17:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-19 17:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822078976001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822078976001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:13:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:13:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822078976001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":137748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:13:57] local.INFO: GPS data processed {"connection_id":137748,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:13:57] local.INFO: Acknowledgment sent {"connection_id":137748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:14:09] local.INFO: TCP Data received {"connection_id":139137,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:14:09] local.INFO: Processing buffer {"connection_id":139137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2baed8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:14:09] local.INFO: Packet analysis {"connection_id":139137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2b"} 
[2026-07-19 17:14:09] local.INFO: Extracted packet for processing {"connection_id":139137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2b"} 
[2026-07-19 17:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456821967360001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:14: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-07-19 17:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784461111000,"timestamp_ms":1784461111000,"timestamp_seconds":1784461111,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2baed8"} 
[2026-07-19 17:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:14:09] 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-07-19 17:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456821967360001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456821967360001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:14:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456821967360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":139137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:14:09] local.INFO: GPS data processed {"connection_id":139137,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:14:09] local.INFO: Acknowledgment sent {"connection_id":139137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:14:12] local.INFO: TCP Data received {"connection_id":136667,"ip":"42.106.6.34","data_length":405,"data_hex":"00000000000001898e050000019f7a30b018012d7a334005daa498000c00e31d..."} 
[2026-07-19 17:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136667,"packet_length":405,"packet_hex":"00000000000001898e050000019f7a30b018012d7a334005daa498000c00e31d..."} 
[2026-07-19 17:14:12] local.INFO: Processing buffer {"connection_id":136667,"buffer_length":405,"buffer_hex":"00000000000001898e050000019f7a30b018012d7a334005daa498000c00e31d..."} 
[2026-07-19 17:14:12] local.INFO: Packet analysis {"connection_id":136667,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019f7a30"} 
[2026-07-19 17:14:12] local.INFO: Extracted packet for processing {"connection_id":136667,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019f7a30"} 
[2026-07-19 17:14:12] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98215064,"longitude_deg":76.2983232,"latitude_deg":9.8215064,"altitude":12,"angle":227,"satellites":29,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05daa498","is_valid_coordinates":true} 
[2026-07-19 17:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":405,"current_offset":40} 
[2026-07-19 17:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814296576001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 17:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808126102604570624,"note":"Value kept but may cause issues"} 
[2026-07-19 17:14:12] 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-07-19 17:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784461439000,"timestamp_ms":1784461439000,"timestamp_seconds":1784461439,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a30b018"} 
[2026-07-19 17:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":405,"current_offset":136} 
[2026-07-19 17:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":521,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:14:12] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":136667,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-07-19 17:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814296576001,"66":12287,"229":206,"85":15104,"24":0,"16":108182301971578880,"45":8808126102604570624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 17:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814296576001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:14:12] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 17:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808126102604570624,"description":"Unknown IO ID 45"} 
[2026-07-19 17:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814296576001,"power":12287,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8808126102604570624}} 
[2026-07-19 17:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":136667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513071,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:14:12] local.INFO: GPS data processed {"connection_id":136667,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:14:12] local.INFO: Acknowledgment sent {"connection_id":136667,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:14:28] local.INFO: TCP Data received {"connection_id":137748,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2e6240012d196740071fee88003f004c29..."} 
[2026-07-19 17:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2e6240012d196740071fee88003f004c29..."} 
[2026-07-19 17:14:28] local.INFO: Processing buffer {"connection_id":137748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2e6240012d196740071fee88003f004c29..."} 
[2026-07-19 17:14:28] local.INFO: Packet analysis {"connection_id":137748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2e"} 
[2026-07-19 17:14:28] local.INFO: Extracted packet for processing {"connection_id":137748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2e"} 
[2026-07-19 17:14:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822084352001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:14: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-07-19 17:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784461288000,"timestamp_ms":1784461288000,"timestamp_seconds":1784461288,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2e6240"} 
[2026-07-19 17:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:14:28] 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-07-19 17:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822084352001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822084352001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:14:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:14:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822084352001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":137748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:14:28] local.INFO: GPS data processed {"connection_id":137748,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:14:28] local.INFO: Acknowledgment sent {"connection_id":137748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:14:36] local.INFO: TCP Data received {"connection_id":136674,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:14:36] local.INFO: Processing buffer {"connection_id":136674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:14:36] local.INFO: IMEI packet received {"connection_id":136674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":136674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:14:41] local.INFO: TCP Data received {"connection_id":136674,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:14:41] local.INFO: Processing buffer {"connection_id":136674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:14:41] local.INFO: IMEI packet received {"connection_id":136674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":136674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:14:42] local.INFO: TCP Data received {"connection_id":136674,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:14:42] local.INFO: Processing buffer {"connection_id":136674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:14:42] local.INFO: Packet analysis {"connection_id":136674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:14:42] local.INFO: Extracted packet for processing {"connection_id":136674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:14:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822044416001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784461412000,"timestamp_ms":1784461412000,"timestamp_seconds":1784461412,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3046a0"} 
[2026-07-19 17:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822044416001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822044416001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:14:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:14:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822044416001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":136674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:14:42] local.INFO: GPS data processed {"connection_id":136674,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:14:42] local.INFO: Acknowledgment sent {"connection_id":136674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:14:43] local.INFO: TCP Data received {"connection_id":136667,"ip":"42.106.6.34","data_length":249,"data_hex":"00000000000000ed8e030000019f7a30b018012d7a334005daa498000c00e31d..."} 
[2026-07-19 17:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136667,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f7a30b018012d7a334005daa498000c00e31d..."} 
[2026-07-19 17:14:43] local.INFO: Processing buffer {"connection_id":136667,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f7a30b018012d7a334005daa498000c00e31d..."} 
[2026-07-19 17:14:43] local.INFO: Packet analysis {"connection_id":136667,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f7a30"} 
[2026-07-19 17:14:43] local.INFO: Extracted packet for processing {"connection_id":136667,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f7a30"} 
[2026-07-19 17:14:43] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98215064,"longitude_deg":76.2983232,"latitude_deg":9.8215064,"altitude":12,"angle":227,"satellites":29,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05daa498","is_valid_coordinates":true} 
[2026-07-19 17:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-07-19 17:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814296576001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 17:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808126102604570624,"note":"Value kept but may cause issues"} 
[2026-07-19 17:14:43] 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-07-19 17:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784461439000,"timestamp_ms":1784461439000,"timestamp_seconds":1784461439,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a30b018"} 
[2026-07-19 17:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":249,"current_offset":136} 
[2026-07-19 17:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":521,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:14:43] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136667,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-19 17:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814296576001,"66":12287,"229":206,"85":15104,"24":0,"16":108182301971578880,"45":8808126102604570624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 17:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814296576001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:14:43] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 17:14:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808126102604570624,"description":"Unknown IO ID 45"} 
[2026-07-19 17:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814296576001,"power":12287,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8808126102604570624}} 
[2026-07-19 17:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":136667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:14:43] local.INFO: GPS data processed {"connection_id":136667,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:14:43] local.INFO: Acknowledgment sent {"connection_id":136667,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:14:51] local.INFO: TCP Data received {"connection_id":136775,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:14:51] local.INFO: Processing buffer {"connection_id":136775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:14:51] local.INFO: IMEI packet received {"connection_id":136775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":136775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:14:54] local.INFO: TCP Data received {"connection_id":136775,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:14:54] local.INFO: Processing buffer {"connection_id":136775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:14:54] local.INFO: IMEI packet received {"connection_id":136775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":136775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:14:55] local.INFO: TCP Data received {"connection_id":136775,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2eb448012d196740071fee88003f004c2a..."} 
[2026-07-19 17:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2eb448012d196740071fee88003f004c2a..."} 
[2026-07-19 17:14:55] local.INFO: Processing buffer {"connection_id":136775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2eb448012d196740071fee88003f004c2a..."} 
[2026-07-19 17:14:55] local.INFO: Packet analysis {"connection_id":136775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2e"} 
[2026-07-19 17:14:55] local.INFO: Extracted packet for processing {"connection_id":136775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2e"} 
[2026-07-19 17:14:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822089728001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:14: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-07-19 17:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784461309000,"timestamp_ms":1784461309000,"timestamp_seconds":1784461309,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2eb448"} 
[2026-07-19 17:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:14: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-07-19 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":136775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":136775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":136775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822089728001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822089728001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:14:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:14:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822089728001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":136775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:14:55] local.INFO: GPS data processed {"connection_id":136775,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:14:55] local.INFO: Acknowledgment sent {"connection_id":136775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:15:01] local.INFO: TCP Data received {"connection_id":137749,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:15:01] local.INFO: Processing buffer {"connection_id":137749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:15:01] local.INFO: IMEI packet received {"connection_id":137749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 17:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":137749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:15:14] local.INFO: TCP Data received {"connection_id":136674,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:15:14] local.INFO: Processing buffer {"connection_id":136674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:15:14] local.INFO: Packet analysis {"connection_id":136674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:15:14] local.INFO: Extracted packet for processing {"connection_id":136674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:15:14] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822044416001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15: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-07-19 17:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784461412000,"timestamp_ms":1784461412000,"timestamp_seconds":1784461412,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3046a0"} 
[2026-07-19 17:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:15: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-07-19 17:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":136674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":136674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":136674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822044416001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822044416001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:15:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:15:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822044416001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":136674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:15:14] local.INFO: GPS data processed {"connection_id":136674,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:15:14] local.INFO: Acknowledgment sent {"connection_id":136674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:15:21] local.INFO: TCP Data received {"connection_id":136667,"ip":"42.106.6.34","data_length":93,"data_hex":"00000000000000518e010000019f7a30b018012d7a334005daa498000c00e31d..."} 
[2026-07-19 17:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136667,"packet_length":93,"packet_hex":"00000000000000518e010000019f7a30b018012d7a334005daa498000c00e31d..."} 
[2026-07-19 17:15:21] local.INFO: Processing buffer {"connection_id":136667,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f7a30b018012d7a334005daa498000c00e31d..."} 
[2026-07-19 17:15:21] local.INFO: Packet analysis {"connection_id":136667,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f7a30"} 
[2026-07-19 17:15:21] local.INFO: Extracted packet for processing {"connection_id":136667,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f7a30"} 
[2026-07-19 17:15:21] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98215064,"longitude_deg":76.2983232,"latitude_deg":9.8215064,"altitude":12,"angle":227,"satellites":29,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05daa498","is_valid_coordinates":true} 
[2026-07-19 17: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":93,"current_offset":40} 
[2026-07-19 17:15:21] 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-07-19 17:15:21] 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-07-19 17:15:21] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:15:21] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-19 17:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":136667,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-19 17:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-19 17:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":136667,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-19 17:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-19 17:15:21] local.WARNING: DEBUG: No valid data to process  
[2026-07-19 17:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":136667,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-19 17:15:21] local.ERROR: GPS data processing failed {"connection_id":136667,"error":"No valid data to process"} 
[2026-07-19 17:15:21] local.INFO: Acknowledgment sent {"connection_id":136667,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-19 17:15:26] local.INFO: TCP Data received {"connection_id":136776,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:15:26] local.INFO: Processing buffer {"connection_id":136776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:15:26] local.INFO: IMEI packet received {"connection_id":136776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 17:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":136776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:15:26] local.INFO: TCP Data received {"connection_id":136775,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2f0650012d196740071fee88003f004c28..."} 
[2026-07-19 17:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2f0650012d196740071fee88003f004c28..."} 
[2026-07-19 17:15:26] local.INFO: Processing buffer {"connection_id":136775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2f0650012d196740071fee88003f004c28..."} 
[2026-07-19 17:15:26] local.INFO: Packet analysis {"connection_id":136775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2f"} 
[2026-07-19 17:15:26] local.INFO: Extracted packet for processing {"connection_id":136775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2f"} 
[2026-07-19 17:15:26] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822095104001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15: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-07-19 17:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784461330000,"timestamp_ms":1784461330000,"timestamp_seconds":1784461330,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2f0650"} 
[2026-07-19 17:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:15: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-07-19 17: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 17:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15:26] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15:26] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15:26] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15:26] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8803541182713764199,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15:26] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513391150430617676,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15:26] local.WARNING: Large IO value detected {"io_id":63,"raw_value":21438277718376448,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15:26] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15:26] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15:26] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 17:15:26] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15:26] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15:26] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,144,159,98,45,64,238,63,41,10,66,40,190,1,240,239,227,122,31,4,113,205,26,136,43,47,2,25,7,42],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 17:15:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712167661797376,"timestamp_seconds":4539712167661797.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 17:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":136775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":136775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":136775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822095104001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822095104001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:15:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:15:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822095104001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":136775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:15:26] local.INFO: GPS data processed {"connection_id":136775,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:15:26] local.INFO: Acknowledgment sent {"connection_id":136775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:15:31] local.INFO: TCP Data received {"connection_id":139138,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:15:31] local.INFO: Processing buffer {"connection_id":139138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:15:31] local.INFO: IMEI packet received {"connection_id":139138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":139138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:15:36] local.INFO: TCP Data received {"connection_id":139138,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:15:36] local.INFO: Processing buffer {"connection_id":139138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:15:36] local.INFO: IMEI packet received {"connection_id":139138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":139138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:15:37] local.INFO: TCP Data received {"connection_id":139138,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:15:37] local.INFO: Processing buffer {"connection_id":139138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:15:37] local.INFO: Packet analysis {"connection_id":139138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:15:37] local.INFO: Extracted packet for processing {"connection_id":139138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822044416001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15: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-07-19 17:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784461412000,"timestamp_ms":1784461412000,"timestamp_seconds":1784461412,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3046a0"} 
[2026-07-19 17:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822044416001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822044416001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822044416001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":139138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:15:37] local.INFO: GPS data processed {"connection_id":139138,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:15:37] local.INFO: Acknowledgment sent {"connection_id":139138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:15:51] local.INFO: TCP Data received {"connection_id":136675,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:15:51] local.INFO: Processing buffer {"connection_id":136675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:15:51] local.INFO: IMEI packet received {"connection_id":136675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":136675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:15:56] local.INFO: TCP Data received {"connection_id":136675,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:15:56] local.INFO: Processing buffer {"connection_id":136675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:15:56] local.INFO: IMEI packet received {"connection_id":136675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":136675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:15:56] local.INFO: TCP Data received {"connection_id":136675,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2f5858012d196740071fee88003f004c29..."} 
[2026-07-19 17:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2f5858012d196740071fee88003f004c29..."} 
[2026-07-19 17:15:56] local.INFO: Processing buffer {"connection_id":136675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2f5858012d196740071fee88003f004c29..."} 
[2026-07-19 17:15:56] local.INFO: Packet analysis {"connection_id":136675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2f"} 
[2026-07-19 17:15:56] local.INFO: Extracted packet for processing {"connection_id":136675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2f"} 
[2026-07-19 17:15:56] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822100480001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:15: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-07-19 17:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784461351000,"timestamp_ms":1784461351000,"timestamp_seconds":1784461351,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2f5858"} 
[2026-07-19 17:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:15: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-07-19 17: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 17:15:56] 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-07-19 17: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-07-19 17:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822100480001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822100480001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:15:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:15:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822100480001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":136675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:15:57] local.INFO: GPS data processed {"connection_id":136675,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:15:57] local.INFO: Acknowledgment sent {"connection_id":136675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:16:00] local.INFO: TCP Data received {"connection_id":139139,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:16:00] local.INFO: Processing buffer {"connection_id":139139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:16:00] local.INFO: IMEI packet received {"connection_id":139139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":139139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:16:06] local.INFO: TCP Data received {"connection_id":139139,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:16:06] local.INFO: Processing buffer {"connection_id":139139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:16:06] local.INFO: IMEI packet received {"connection_id":139139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":139139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:16:08] local.INFO: TCP Data received {"connection_id":139138,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:16:08] local.INFO: Processing buffer {"connection_id":139138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:16:08] local.INFO: Packet analysis {"connection_id":139138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:16:08] local.INFO: Extracted packet for processing {"connection_id":139138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822044416001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17: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-07-19 17:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784461412000,"timestamp_ms":1784461412000,"timestamp_seconds":1784461412,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3046a0"} 
[2026-07-19 17:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:16: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-07-19 17: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":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:16: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-07-19 17: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-07-19 17:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:16: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-07-19 17:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822044416001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822044416001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:16:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822044416001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":139138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:16:08] local.INFO: GPS data processed {"connection_id":139138,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:16:08] local.INFO: Acknowledgment sent {"connection_id":139138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:16:11] local.INFO: TCP Data received {"connection_id":139139,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f785cbf20012d7aac8005daa918000400fa27..."} 
[2026-07-19 17:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f785cbf20012d7aac8005daa918000400fa27..."} 
[2026-07-19 17:16:11] local.INFO: Processing buffer {"connection_id":139139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f785cbf20012d7aac8005daa918000400fa27..."} 
[2026-07-19 17:16:11] local.INFO: Packet analysis {"connection_id":139139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f785c"} 
[2026-07-19 17:16:11] local.INFO: Extracted packet for processing {"connection_id":139139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f785c"} 
[2026-07-19 17:16:11] local.INFO: GPS Element Parsed {"raw_longitude":763014272,"raw_latitude":98216216,"longitude_deg":76.3014272,"latitude_deg":9.8216216,"altitude":4,"angle":250,"satellites":39,"speed":6,"hex_longitude":"2d7aac80","hex_latitude":"05daa918","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814275072001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108179029206499328,"note":"Value kept but may cause issues"} 
[2026-07-19 17:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8841340149857675264,"note":"Value kept but may cause issues"} 
[2026-07-19 17:16:11] 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-07-19 17:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784430772000,"timestamp_ms":1784430772000,"timestamp_seconds":1784430772,"priority":1,"record_length":96,"hex_timestamp":"0000019f785cbf20"} 
[2026-07-19 17:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-19 17:16:11] 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-07-19 17: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-07-19 17:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":139139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":139139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":139139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814275072001,"66":13037,"188":206,"85":15104,"24":6,"16":108179029206499328,"45":8841340149857675264},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 17:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814275072001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:16:11] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 17:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108179029206499328,"km_value":108179029206499.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8841340149857675264,"description":"Unknown IO ID 45"} 
[2026-07-19 17:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814275072001,"power":13037,"unknown_188":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8841340149857675264}} 
[2026-07-19 17:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":139139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:16:11] local.INFO: GPS data processed {"connection_id":139139,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:16:11] local.INFO: Acknowledgment sent {"connection_id":139139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:16:28] local.INFO: TCP Data received {"connection_id":136675,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2faa60012d196740071fee88003f004c2a..."} 
[2026-07-19 17:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2faa60012d196740071fee88003f004c2a..."} 
[2026-07-19 17:16:28] local.INFO: Processing buffer {"connection_id":136675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2faa60012d196740071fee88003f004c2a..."} 
[2026-07-19 17:16:28] local.INFO: Packet analysis {"connection_id":136675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2f"} 
[2026-07-19 17:16:28] local.INFO: Extracted packet for processing {"connection_id":136675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2f"} 
[2026-07-19 17:16:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822105856001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:16: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-07-19 17:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784461372000,"timestamp_ms":1784461372000,"timestamp_seconds":1784461372,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2faa60"} 
[2026-07-19 17:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:16:28] 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-07-19 17:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:16:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822105856001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822105856001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:16:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:16:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822105856001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":136675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:16:28] local.INFO: GPS data processed {"connection_id":136675,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:16:28] local.INFO: Acknowledgment sent {"connection_id":136675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:16:31] local.INFO: TCP Data received {"connection_id":136676,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:16:31] local.INFO: Processing buffer {"connection_id":136676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:16:31] local.INFO: IMEI packet received {"connection_id":136676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":136676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:16:36] local.INFO: TCP Data received {"connection_id":136676,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:16:36] local.INFO: Processing buffer {"connection_id":136676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:16:36] local.INFO: IMEI packet received {"connection_id":136676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":136676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:16:37] local.INFO: TCP Data received {"connection_id":136676,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:16:37] local.INFO: Processing buffer {"connection_id":136676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:16:37] local.INFO: Packet analysis {"connection_id":136676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:16:37] local.INFO: Extracted packet for processing {"connection_id":136676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:16:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822044416001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:16: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-07-19 17:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784461412000,"timestamp_ms":1784461412000,"timestamp_seconds":1784461412,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3046a0"} 
[2026-07-19 17:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822044416001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822044416001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:16:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:16:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822044416001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":136676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:16:37] local.INFO: GPS data processed {"connection_id":136676,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:16:37] local.INFO: Acknowledgment sent {"connection_id":136676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:16:42] local.INFO: TCP Data received {"connection_id":139139,"ip":"42.106.6.34","data_length":639,"data_hex":"00000000000002738e080000019f785cbf20012d7aac8005daa918000400fa27..."} 
[2026-07-19 17:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139139,"packet_length":639,"packet_hex":"00000000000002738e080000019f785cbf20012d7aac8005daa918000400fa27..."} 
[2026-07-19 17:16:42] local.INFO: Processing buffer {"connection_id":139139,"buffer_length":639,"buffer_hex":"00000000000002738e080000019f785cbf20012d7aac8005daa918000400fa27..."} 
[2026-07-19 17:16:42] local.INFO: Packet analysis {"connection_id":139139,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019f785c"} 
[2026-07-19 17:16:42] local.INFO: Extracted packet for processing {"connection_id":139139,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019f785c"} 
[2026-07-19 17:16:42] local.INFO: GPS Element Parsed {"raw_longitude":763014272,"raw_latitude":98216216,"longitude_deg":76.3014272,"latitude_deg":9.8216216,"altitude":4,"angle":250,"satellites":39,"speed":6,"hex_longitude":"2d7aac80","hex_latitude":"05daa918","is_valid_coordinates":true} 
[2026-07-19 17:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":639,"current_offset":40} 
[2026-07-19 17:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814275072001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108179029206499328,"note":"Value kept but may cause issues"} 
[2026-07-19 17:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8841340149857675264,"note":"Value kept but may cause issues"} 
[2026-07-19 17:16:42] 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-07-19 17:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784430772000,"timestamp_ms":1784430772000,"timestamp_seconds":1784430772,"priority":1,"record_length":96,"hex_timestamp":"0000019f785cbf20"} 
[2026-07-19 17:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:16: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-07-19 17:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":639,"current_offset":136} 
[2026-07-19 17:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:16:42] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139139,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-07-19 17:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814275072001,"66":13037,"188":206,"85":15104,"24":6,"16":108179029206499328,"45":8841340149857675264},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 17:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814275072001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:16:42] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 17:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108179029206499328,"km_value":108179029206499.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8841340149857675264,"description":"Unknown IO ID 45"} 
[2026-07-19 17:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814275072001,"power":13037,"unknown_188":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8841340149857675264}} 
[2026-07-19 17:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":139139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:16:42] local.INFO: GPS data processed {"connection_id":139139,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:16:42] local.INFO: Acknowledgment sent {"connection_id":139139,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:16:50] local.INFO: TCP Data received {"connection_id":136677,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:16:50] local.INFO: Processing buffer {"connection_id":136677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:16:50] local.INFO: IMEI packet received {"connection_id":136677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":136677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:16:56] local.INFO: TCP Data received {"connection_id":136677,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:16:56] local.INFO: Processing buffer {"connection_id":136677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:16:56] local.INFO: IMEI packet received {"connection_id":136677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":136677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:16:57] local.INFO: TCP Data received {"connection_id":136677,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a2ffc68012d196740071fee88003f004c29..."} 
[2026-07-19 17:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a2ffc68012d196740071fee88003f004c29..."} 
[2026-07-19 17:16:57] local.INFO: Processing buffer {"connection_id":136677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a2ffc68012d196740071fee88003f004c29..."} 
[2026-07-19 17:16:57] local.INFO: Packet analysis {"connection_id":136677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a2f"} 
[2026-07-19 17:16:57] local.INFO: Extracted packet for processing {"connection_id":136677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a2f"} 
[2026-07-19 17:16:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822111232001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:16: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-07-19 17:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784461393000,"timestamp_ms":1784461393000,"timestamp_seconds":1784461393,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a2ffc68"} 
[2026-07-19 17:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:16: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-07-19 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822111232001,"66":12232,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822111232001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:16:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:16:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822111232001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":136677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:16:57] local.INFO: GPS data processed {"connection_id":136677,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:16:57] local.INFO: Acknowledgment sent {"connection_id":136677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:17:06] local.INFO: TCP Data received {"connection_id":137750,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:17:06] local.INFO: Processing buffer {"connection_id":137750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:17:06] local.INFO: IMEI packet received {"connection_id":137750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":137750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:17:08] local.INFO: TCP Data received {"connection_id":136676,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:17:08] local.INFO: Processing buffer {"connection_id":136676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:17:08] local.INFO: Packet analysis {"connection_id":136676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:17:08] local.INFO: Extracted packet for processing {"connection_id":136676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822044416001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:17: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-07-19 17:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784461412000,"timestamp_ms":1784461412000,"timestamp_seconds":1784461412,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3046a0"} 
[2026-07-19 17:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:17: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-07-19 17:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:17: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-07-19 17:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:17: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-07-19 17:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822044416001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822044416001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:17:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:17:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822044416001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":136676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:17:08] local.INFO: GPS data processed {"connection_id":136676,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:17:08] local.INFO: Acknowledgment sent {"connection_id":136676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:17:11] local.INFO: TCP Data received {"connection_id":137750,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:17:11] local.INFO: Processing buffer {"connection_id":137750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:17:11] local.INFO: IMEI packet received {"connection_id":137750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":137750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:17:16] local.INFO: TCP Data received {"connection_id":137750,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f78594098012d7abf8005daaed80001010323..."} 
[2026-07-19 17:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78594098012d7abf8005daaed80001010323..."} 
[2026-07-19 17:17:16] local.INFO: Processing buffer {"connection_id":137750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78594098012d7abf8005daaed80001010323..."} 
[2026-07-19 17:17:16] local.INFO: Packet analysis {"connection_id":137750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7859"} 
[2026-07-19 17:17:16] local.INFO: Extracted packet for processing {"connection_id":137750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7859"} 
[2026-07-19 17:17:16] local.INFO: GPS Element Parsed {"raw_longitude":763019136,"raw_latitude":98217688,"longitude_deg":76.3019136,"latitude_deg":9.8217688,"altitude":1,"angle":259,"satellites":35,"speed":0,"hex_longitude":"2d7abf80","hex_latitude":"05daaed8","is_valid_coordinates":true} 
[2026-07-19 17:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814214144001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108178788688330752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8844928955811026944,"note":"Value kept but may cause issues"} 
[2026-07-19 17:17:16] 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-07-19 17:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784430543000,"timestamp_ms":1784430543000,"timestamp_seconds":1784430543,"priority":1,"record_length":96,"hex_timestamp":"0000019f78594098"} 
[2026-07-19 17:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:17: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-07-19 17:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-19 17:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":137750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":137750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":137750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814214144001,"66":13200,"188":206,"85":15104,"24":0,"16":108178788688330752,"45":8844928955811026944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 17:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814214144001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:17:16] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 17:17:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108178788688330752,"km_value":108178788688330.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8844928955811026944,"description":"Unknown IO ID 45"} 
[2026-07-19 17:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814214144001,"power":13200,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8844928955811026944}} 
[2026-07-19 17:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":137750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:17:16] local.INFO: GPS data processed {"connection_id":137750,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:17:16] local.INFO: Acknowledgment sent {"connection_id":137750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:17:28] local.INFO: TCP Data received {"connection_id":136677,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a304e70012d196740071fee88003f004c28..."} 
[2026-07-19 17:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a304e70012d196740071fee88003f004c28..."} 
[2026-07-19 17:17:28] local.INFO: Processing buffer {"connection_id":136677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a304e70012d196740071fee88003f004c28..."} 
[2026-07-19 17:17:28] local.INFO: Packet analysis {"connection_id":136677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:17:28] local.INFO: Extracted packet for processing {"connection_id":136677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:17:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822116608001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:17: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-07-19 17:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784461414000,"timestamp_ms":1784461414000,"timestamp_seconds":1784461414,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a304e70"} 
[2026-07-19 17:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:17:28] 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-07-19 17: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-19 17:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822116608001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822116608001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:17:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:17:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822116608001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":136677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:17:28] local.INFO: GPS data processed {"connection_id":136677,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:17:28] local.INFO: Acknowledgment sent {"connection_id":136677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:17:30] local.INFO: TCP Data received {"connection_id":136678,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:17:30] local.INFO: Processing buffer {"connection_id":136678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:17:30] local.INFO: IMEI packet received {"connection_id":136678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":136678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:17:36] local.INFO: TCP Data received {"connection_id":136678,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:17:36] local.INFO: Processing buffer {"connection_id":136678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:17:36] local.INFO: IMEI packet received {"connection_id":136678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":136678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:17:37] local.INFO: TCP Data received {"connection_id":136678,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:17:37] local.INFO: Processing buffer {"connection_id":136678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:17:37] local.INFO: Packet analysis {"connection_id":136678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:17:37] local.INFO: Extracted packet for processing {"connection_id":136678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822044416001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:17: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-07-19 17:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784461412000,"timestamp_ms":1784461412000,"timestamp_seconds":1784461412,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3046a0"} 
[2026-07-19 17:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:17: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-07-19 17:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822044416001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822044416001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:17:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822044416001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":136678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:17:37] local.INFO: GPS data processed {"connection_id":136678,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:17:37] local.INFO: Acknowledgment sent {"connection_id":136678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:17:56] local.INFO: TCP Data received {"connection_id":136777,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:17:56] local.INFO: Processing buffer {"connection_id":136777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:17:56] local.INFO: IMEI packet received {"connection_id":136777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":136777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:18:01] local.INFO: TCP Data received {"connection_id":136679,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:18:01] local.INFO: Processing buffer {"connection_id":136679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:18:01] local.INFO: IMEI packet received {"connection_id":136679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":136679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:18:01] local.INFO: TCP Data received {"connection_id":136777,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:18:01] local.INFO: Processing buffer {"connection_id":136777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:18:01] local.INFO: IMEI packet received {"connection_id":136777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":136777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:18:02] local.INFO: TCP Data received {"connection_id":136777,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a30a078012d196740071fee88003f004c28..."} 
[2026-07-19 17:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a30a078012d196740071fee88003f004c28..."} 
[2026-07-19 17:18:02] local.INFO: Processing buffer {"connection_id":136777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a30a078012d196740071fee88003f004c28..."} 
[2026-07-19 17:18:02] local.INFO: Packet analysis {"connection_id":136777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:18:02] local.INFO: Extracted packet for processing {"connection_id":136777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:18:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 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-07-19 17:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822121984001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:18: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-07-19 17:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784461435000,"timestamp_ms":1784461435000,"timestamp_seconds":1784461435,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a30a078"} 
[2026-07-19 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-07-19 17:18: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-07-19 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 17:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822121984001,"66":12232,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822121984001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:18:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:18:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822121984001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":136777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:18:02] local.INFO: GPS data processed {"connection_id":136777,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:18:02] local.INFO: Acknowledgment sent {"connection_id":136777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:18:03] local.INFO: TCP Data received {"connection_id":136777,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a30f280012d196740071fee88003f004c29..."} 
[2026-07-19 17:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a30f280012d196740071fee88003f004c29..."} 
[2026-07-19 17:18:03] local.INFO: Processing buffer {"connection_id":136777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a30f280012d196740071fee88003f004c29..."} 
[2026-07-19 17:18:03] local.INFO: Packet analysis {"connection_id":136777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:18:03] local.INFO: Extracted packet for processing {"connection_id":136777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:18:03] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822127360001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784461456000,"timestamp_ms":1784461456000,"timestamp_seconds":1784461456,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a30f280"} 
[2026-07-19 17:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:18: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-07-19 17: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-19 17:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":136777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":136777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":136777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822127360001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822127360001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:18:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:18:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822127360001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":136777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:18:03] local.INFO: GPS data processed {"connection_id":136777,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:18:03] local.INFO: Acknowledgment sent {"connection_id":136777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:18:06] local.INFO: TCP Data received {"connection_id":136679,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:18:06] local.INFO: Processing buffer {"connection_id":136679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:18:06] local.INFO: IMEI packet received {"connection_id":136679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":136679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:18:07] local.INFO: TCP Data received {"connection_id":136679,"ip":"42.106.6.34","data_length":171,"data_hex":"000000000000009f8e020000019f78594098012d7abf8005daaed80001010323..."} 
[2026-07-19 17:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136679,"packet_length":171,"packet_hex":"000000000000009f8e020000019f78594098012d7abf8005daaed80001010323..."} 
[2026-07-19 17:18:07] local.INFO: Processing buffer {"connection_id":136679,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019f78594098012d7abf8005daaed80001010323..."} 
[2026-07-19 17:18:07] local.INFO: Packet analysis {"connection_id":136679,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019f7859"} 
[2026-07-19 17:18:07] local.INFO: Extracted packet for processing {"connection_id":136679,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019f7859"} 
[2026-07-19 17:18:07] local.INFO: GPS Element Parsed {"raw_longitude":763019136,"raw_latitude":98217688,"longitude_deg":76.3019136,"latitude_deg":9.8217688,"altitude":1,"angle":259,"satellites":35,"speed":0,"hex_longitude":"2d7abf80","hex_latitude":"05daaed8","is_valid_coordinates":true} 
[2026-07-19 17:18: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":171,"current_offset":40} 
[2026-07-19 17:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814214144001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108178788688330752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8844928955811026944,"note":"Value kept but may cause issues"} 
[2026-07-19 17:18:07] 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-07-19 17:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784430543000,"timestamp_ms":1784430543000,"timestamp_seconds":1784430543,"priority":1,"record_length":96,"hex_timestamp":"0000019f78594098"} 
[2026-07-19 17:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:18: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-07-19 17: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":51,"n8_eight_byte":187,"data_length":171,"current_offset":136} 
[2026-07-19 17:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:18:07] 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-07-19 17:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:18:07] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136679,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-07-19 17:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814214144001,"66":13200,"188":206,"85":15104,"24":0,"16":108178788688330752,"45":8844928955811026944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-19 17:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814214144001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:18:07] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 17:18:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108178788688330752,"km_value":108178788688330.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8844928955811026944,"description":"Unknown IO ID 45"} 
[2026-07-19 17:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814214144001,"power":13200,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8844928955811026944}} 
[2026-07-19 17:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":136679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:18:07] local.INFO: GPS data processed {"connection_id":136679,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:18:07] local.INFO: Acknowledgment sent {"connection_id":136679,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:18:08] local.INFO: TCP Data received {"connection_id":136678,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:18:08] local.INFO: Processing buffer {"connection_id":136678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:18:08] local.INFO: Packet analysis {"connection_id":136678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:18:08] local.INFO: Extracted packet for processing {"connection_id":136678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822044416001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:18: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-07-19 17:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784461412000,"timestamp_ms":1784461412000,"timestamp_seconds":1784461412,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3046a0"} 
[2026-07-19 17:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:18: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-07-19 17:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:18: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-07-19 17:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:18: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-07-19 17:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822044416001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822044416001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:18:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:18:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822044416001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":136678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:18:08] local.INFO: GPS data processed {"connection_id":136678,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:18:08] local.INFO: Acknowledgment sent {"connection_id":136678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:18:30] local.INFO: TCP Data received {"connection_id":139142,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:18:30] local.INFO: Processing buffer {"connection_id":139142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:18:30] local.INFO: IMEI packet received {"connection_id":139142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":139142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:18:34] local.INFO: TCP Data received {"connection_id":136777,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a314488012d196740071fee88003f004c29..."} 
[2026-07-19 17:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a314488012d196740071fee88003f004c29..."} 
[2026-07-19 17:18:34] local.INFO: Processing buffer {"connection_id":136777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a314488012d196740071fee88003f004c29..."} 
[2026-07-19 17:18:34] local.INFO: Packet analysis {"connection_id":136777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a31"} 
[2026-07-19 17:18:34] local.INFO: Extracted packet for processing {"connection_id":136777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a31"} 
[2026-07-19 17:18:34] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822132736001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784461477000,"timestamp_ms":1784461477000,"timestamp_seconds":1784461477,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a314488"} 
[2026-07-19 17:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:18:34] 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-07-19 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":136777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":136777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":136777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822132736001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822132736001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:18:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:18:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822132736001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":136777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:18:34] local.INFO: GPS data processed {"connection_id":136777,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:18:34] local.INFO: Acknowledgment sent {"connection_id":136777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:18:36] local.INFO: TCP Data received {"connection_id":139142,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:18:36] local.INFO: Processing buffer {"connection_id":139142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:18:36] local.INFO: IMEI packet received {"connection_id":139142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":139142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:18:37] local.INFO: TCP Data received {"connection_id":139142,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:18:37] local.INFO: Processing buffer {"connection_id":139142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:18:37] local.INFO: Packet analysis {"connection_id":139142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:18:37] local.INFO: Extracted packet for processing {"connection_id":139142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822044416001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:18: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-07-19 17:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784461412000,"timestamp_ms":1784461412000,"timestamp_seconds":1784461412,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3046a0"} 
[2026-07-19 17:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:18: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-07-19 17:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822044416001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822044416001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822044416001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":139142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:18:37] local.INFO: GPS data processed {"connection_id":139142,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:18:37] local.INFO: Acknowledgment sent {"connection_id":139142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:18:51] local.INFO: TCP Data received {"connection_id":136778,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:18:51] local.INFO: Processing buffer {"connection_id":136778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:18:51] local.INFO: IMEI packet received {"connection_id":136778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":136778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:18:56] local.INFO: TCP Data received {"connection_id":136778,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:18:56] local.INFO: Processing buffer {"connection_id":136778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:18:56] local.INFO: IMEI packet received {"connection_id":136778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":136778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:18:57] local.INFO: TCP Data received {"connection_id":136778,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a319690012d196740071fee88003f004c2a..."} 
[2026-07-19 17:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a319690012d196740071fee88003f004c2a..."} 
[2026-07-19 17:18:57] local.INFO: Processing buffer {"connection_id":136778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a319690012d196740071fee88003f004c2a..."} 
[2026-07-19 17:18:57] local.INFO: Packet analysis {"connection_id":136778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a31"} 
[2026-07-19 17:18:57] local.INFO: Extracted packet for processing {"connection_id":136778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a31"} 
[2026-07-19 17:18:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822138112001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:18: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-07-19 17:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784461498000,"timestamp_ms":1784461498000,"timestamp_seconds":1784461498,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a319690"} 
[2026-07-19 17:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:18: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-07-19 17:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:18:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822138112001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822138112001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:18:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:18:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822138112001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":136778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:18:57] local.INFO: GPS data processed {"connection_id":136778,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:18:57] local.INFO: Acknowledgment sent {"connection_id":136778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:19:01] local.INFO: TCP Data received {"connection_id":136778,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a31e898012d196740071fee88003f004c29..."} 
[2026-07-19 17:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a31e898012d196740071fee88003f004c29..."} 
[2026-07-19 17:19:01] local.INFO: Processing buffer {"connection_id":136778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a31e898012d196740071fee88003f004c29..."} 
[2026-07-19 17:19:01] local.INFO: Packet analysis {"connection_id":136778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a31"} 
[2026-07-19 17:19:01] local.INFO: Extracted packet for processing {"connection_id":136778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a31"} 
[2026-07-19 17:19:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822143488001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784461519000,"timestamp_ms":1784461519000,"timestamp_seconds":1784461519,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a31e898"} 
[2026-07-19 17:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:19: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-07-19 17:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:19:01] 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-07-19 17:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822143488001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822143488001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:19:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:19:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822143488001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":136778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:19:01] local.INFO: GPS data processed {"connection_id":136778,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:19:01] local.INFO: Acknowledgment sent {"connection_id":136778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:19:09] local.INFO: TCP Data received {"connection_id":139142,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:19:09] local.INFO: Processing buffer {"connection_id":139142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3046a0012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:19:09] local.INFO: Packet analysis {"connection_id":139142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:19:09] local.INFO: Extracted packet for processing {"connection_id":139142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822044416001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:19: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-07-19 17:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784461412000,"timestamp_ms":1784461412000,"timestamp_seconds":1784461412,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3046a0"} 
[2026-07-19 17:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:19: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-07-19 17:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822044416001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822044416001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:19:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822044416001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":139142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:19:09] local.INFO: GPS data processed {"connection_id":139142,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:19:09] local.INFO: Acknowledgment sent {"connection_id":139142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:19:32] local.INFO: TCP Data received {"connection_id":136778,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a323aa0012d196740071fee88003f004c2a..."} 
[2026-07-19 17:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a323aa0012d196740071fee88003f004c2a..."} 
[2026-07-19 17:19:32] local.INFO: Processing buffer {"connection_id":136778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a323aa0012d196740071fee88003f004c2a..."} 
[2026-07-19 17:19:32] local.INFO: Packet analysis {"connection_id":136778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a32"} 
[2026-07-19 17:19:32] local.INFO: Extracted packet for processing {"connection_id":136778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a32"} 
[2026-07-19 17:19:32] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822148864001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784461540000,"timestamp_ms":1784461540000,"timestamp_seconds":1784461540,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a323aa0"} 
[2026-07-19 17:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:19: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-07-19 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:19:32] 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-07-19 17: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-07-19 17:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822148864001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822148864001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:19:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:19:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822148864001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":136778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:19:32] local.INFO: GPS data processed {"connection_id":136778,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:19:32] local.INFO: Acknowledgment sent {"connection_id":136778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:19:36] local.INFO: TCP Data received {"connection_id":136680,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:19:36] local.INFO: Processing buffer {"connection_id":136680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:19:36] local.INFO: IMEI packet received {"connection_id":136680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":136680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:19:41] local.INFO: TCP Data received {"connection_id":136680,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:19:41] local.INFO: Processing buffer {"connection_id":136680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:19:41] local.INFO: IMEI packet received {"connection_id":136680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":136680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:19:42] local.INFO: TCP Data received {"connection_id":136680,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:19:42] local.INFO: Processing buffer {"connection_id":136680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:19:42] local.INFO: Packet analysis {"connection_id":136680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:19:42] local.INFO: Extracted packet for processing {"connection_id":136680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:19:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:19: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-07-19 17:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822121472001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784461713000,"timestamp_ms":1784461713000,"timestamp_seconds":1784461713,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a34de68"} 
[2026-07-19 17:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 17:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822121472001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 17:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822121472001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:19:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:19:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822121472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":136680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:19:42] local.INFO: GPS data processed {"connection_id":136680,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:19:42] local.INFO: Acknowledgment sent {"connection_id":136680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:19:46] local.INFO: TCP Data received {"connection_id":136680,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:19:46] local.INFO: Processing buffer {"connection_id":136680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:19:46] local.INFO: Packet analysis {"connection_id":136680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:19:46] local.INFO: Extracted packet for processing {"connection_id":136680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822121472001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784461713000,"timestamp_ms":1784461713000,"timestamp_seconds":1784461713,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a34de68"} 
[2026-07-19 17:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 17:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":136680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":136680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":136680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822121472001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 17:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822121472001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:19:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:19:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822121472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":136680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:19:46] local.INFO: GPS data processed {"connection_id":136680,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:19:46] local.INFO: Acknowledgment sent {"connection_id":136680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:19:48] local.INFO: TCP Data received {"connection_id":136779,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:19:48] local.INFO: Processing buffer {"connection_id":136779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:19:48] local.INFO: IMEI packet received {"connection_id":136779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":136779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:19:51] local.INFO: TCP Data received {"connection_id":136779,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:19:51] local.INFO: Processing buffer {"connection_id":136779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:19:51] local.INFO: IMEI packet received {"connection_id":136779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":136779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:19:56] local.INFO: TCP Data received {"connection_id":136779,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:19:56] local.INFO: Processing buffer {"connection_id":136779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:19:56] local.INFO: IMEI packet received {"connection_id":136779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":136779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:19:57] local.INFO: TCP Data received {"connection_id":136779,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a328ca8012d196740071fee88003f004c29..."} 
[2026-07-19 17:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a328ca8012d196740071fee88003f004c29..."} 
[2026-07-19 17:19:57] local.INFO: Processing buffer {"connection_id":136779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a328ca8012d196740071fee88003f004c29..."} 
[2026-07-19 17:19:57] local.INFO: Packet analysis {"connection_id":136779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a32"} 
[2026-07-19 17:19:57] local.INFO: Extracted packet for processing {"connection_id":136779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a32"} 
[2026-07-19 17:19:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822154240001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:19: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-07-19 17:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784461561000,"timestamp_ms":1784461561000,"timestamp_seconds":1784461561,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a328ca8"} 
[2026-07-19 17:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:19: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-07-19 17:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822154240001,"66":12254,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822154240001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:19:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:19:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822154240001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":136779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:19:57] local.INFO: GPS data processed {"connection_id":136779,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:19:57] local.INFO: Acknowledgment sent {"connection_id":136779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:20:28] local.INFO: TCP Data received {"connection_id":136779,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a32deb0012d196740071fee88003f004c29..."} 
[2026-07-19 17:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a32deb0012d196740071fee88003f004c29..."} 
[2026-07-19 17:20:28] local.INFO: Processing buffer {"connection_id":136779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a32deb0012d196740071fee88003f004c29..."} 
[2026-07-19 17:20:28] local.INFO: Packet analysis {"connection_id":136779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a32"} 
[2026-07-19 17:20:28] local.INFO: Extracted packet for processing {"connection_id":136779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a32"} 
[2026-07-19 17:20:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822159616001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:20: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-07-19 17:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784461582000,"timestamp_ms":1784461582000,"timestamp_seconds":1784461582,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a32deb0"} 
[2026-07-19 17:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17: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-07-19 17: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 17:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822159616001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822159616001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:20:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:20:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822159616001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":136779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:20:28] local.INFO: GPS data processed {"connection_id":136779,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:20:28] local.INFO: Acknowledgment sent {"connection_id":136779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:20:31] local.INFO: TCP Data received {"connection_id":137752,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:20:31] local.INFO: Processing buffer {"connection_id":137752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:20:31] local.INFO: IMEI packet received {"connection_id":137752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":137752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:20:36] local.INFO: TCP Data received {"connection_id":136781,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:20:36] local.INFO: Processing buffer {"connection_id":136781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:20:36] local.INFO: IMEI packet received {"connection_id":136781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":136781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:20:36] local.INFO: TCP Data received {"connection_id":137752,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:20:36] local.INFO: Processing buffer {"connection_id":137752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:20:36] local.INFO: IMEI packet received {"connection_id":137752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":137752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:20:36] local.INFO: TCP Data received {"connection_id":136781,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:20:36] local.INFO: Processing buffer {"connection_id":136781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:20:36] local.INFO: IMEI packet received {"connection_id":136781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":136781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:20:37] local.INFO: TCP Data received {"connection_id":137752,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:20:37] local.INFO: Processing buffer {"connection_id":137752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:20:37] local.INFO: Packet analysis {"connection_id":137752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:20:37] local.INFO: Extracted packet for processing {"connection_id":137752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822121472001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:20: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-07-19 17:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784461713000,"timestamp_ms":1784461713000,"timestamp_seconds":1784461713,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a34de68"} 
[2026-07-19 17:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 17:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822121472001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822121472001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:20:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822121472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":137752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:20:37] local.INFO: GPS data processed {"connection_id":137752,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:20:37] local.INFO: Acknowledgment sent {"connection_id":137752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:20:41] local.INFO: TCP Data received {"connection_id":136781,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:20:41] local.INFO: Processing buffer {"connection_id":136781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:20:41] local.INFO: IMEI packet received {"connection_id":136781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":136781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:20:46] local.INFO: TCP Data received {"connection_id":136781,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f78578b18012d7bfd4005daee700002010f20..."} 
[2026-07-19 17:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f78578b18012d7bfd4005daee700002010f20..."} 
[2026-07-19 17:20:46] local.INFO: Processing buffer {"connection_id":136781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f78578b18012d7bfd4005daee700002010f20..."} 
[2026-07-19 17:20:46] local.INFO: Packet analysis {"connection_id":136781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7857"} 
[2026-07-19 17:20:46] local.INFO: Extracted packet for processing {"connection_id":136781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7857"} 
[2026-07-19 17:20:46] local.INFO: GPS Element Parsed {"raw_longitude":763100480,"raw_latitude":98233968,"longitude_deg":76.310048,"latitude_deg":9.8233968,"altitude":2,"angle":271,"satellites":32,"speed":24,"hex_longitude":"2d7bfd40","hex_latitude":"05daee70","is_valid_coordinates":true} 
[2026-07-19 17:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456814185984001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108174790073778176,"note":"Value kept but may cause issues"} 
[2026-07-19 17:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944571097570846720,"note":"Value kept but may cause issues"} 
[2026-07-19 17:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784430431000,"timestamp_ms":1784430431000,"timestamp_seconds":1784430431,"priority":1,"record_length":96,"hex_timestamp":"0000019f78578b18"} 
[2026-07-19 17:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-19 17:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":136781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":136781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":136781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456814185984001,"66":13493,"187":206,"85":15104,"24":24,"16":108174790073778176,"45":8944571097570846720},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-19 17:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456814185984001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:20:46] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-19 17:20:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108174790073778176,"km_value":108174790073778.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944571097570846720,"description":"Unknown IO ID 45"} 
[2026-07-19 17:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456814185984001,"power":13493,"unknown_187":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8944571097570846720}} 
[2026-07-19 17:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":136781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:20:46] local.INFO: GPS data processed {"connection_id":136781,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:20:46] local.INFO: Acknowledgment sent {"connection_id":136781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:20:51] local.INFO: TCP Data received {"connection_id":139144,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:20:51] local.INFO: Processing buffer {"connection_id":139144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:20:51] local.INFO: IMEI packet received {"connection_id":139144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":139144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:20:51] local.INFO: TCP Data received {"connection_id":136780,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:20:51] local.INFO: Processing buffer {"connection_id":136780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:20:51] local.INFO: IMEI packet received {"connection_id":136780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 17:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":136780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:20:51] local.INFO: TCP Data received {"connection_id":139144,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:20:51] local.INFO: Processing buffer {"connection_id":139144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:20:51] local.INFO: IMEI packet received {"connection_id":139144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":139144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:20:56] local.INFO: TCP Data received {"connection_id":139144,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:20:56] local.INFO: Processing buffer {"connection_id":139144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:20:56] local.INFO: IMEI packet received {"connection_id":139144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":139144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:20:56] local.INFO: TCP Data received {"connection_id":139144,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3330b8012d196740071fee88003f004c28..."} 
[2026-07-19 17:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3330b8012d196740071fee88003f004c28..."} 
[2026-07-19 17:20:56] local.INFO: Processing buffer {"connection_id":139144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3330b8012d196740071fee88003f004c28..."} 
[2026-07-19 17:20:56] local.INFO: Packet analysis {"connection_id":139144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a33"} 
[2026-07-19 17:20:56] local.INFO: Extracted packet for processing {"connection_id":139144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a33"} 
[2026-07-19 17:20:56] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822164992001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:20: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-07-19 17:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784461603000,"timestamp_ms":1784461603000,"timestamp_seconds":1784461603,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3330b8"} 
[2026-07-19 17:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17: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-07-19 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822164992001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822164992001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:20:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:20:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822164992001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":139144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:20:57] local.INFO: GPS data processed {"connection_id":139144,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:20:57] local.INFO: Acknowledgment sent {"connection_id":139144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:21:09] local.INFO: TCP Data received {"connection_id":137752,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:21:09] local.INFO: Processing buffer {"connection_id":137752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:21:09] local.INFO: Packet analysis {"connection_id":137752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:21:09] local.INFO: Extracted packet for processing {"connection_id":137752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822121472001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:21: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-07-19 17:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784461713000,"timestamp_ms":1784461713000,"timestamp_seconds":1784461713,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a34de68"} 
[2026-07-19 17:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 17:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822121472001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822121472001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822121472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":137752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:21:10] local.INFO: GPS data processed {"connection_id":137752,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:21:10] local.INFO: Acknowledgment sent {"connection_id":137752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:21:17] local.INFO: TCP Data received {"connection_id":136781,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e0100000000000109a00100000000000000000000000000..."} 
[2026-07-19 17:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136781,"packet_length":93,"packet_hex":"00000000000000518e0100000000000109a00100000000000000000000000000..."} 
[2026-07-19 17:21:17] local.INFO: Processing buffer {"connection_id":136781,"buffer_length":93,"buffer_hex":"00000000000000518e0100000000000109a00100000000000000000000000000..."} 
[2026-07-19 17:21:17] local.INFO: Packet analysis {"connection_id":136781,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-07-19 17:21:17] local.INFO: Extracted packet for processing {"connection_id":136781,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-07-19 17:21: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-07-19 17:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-19 17:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:21:17] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:21:17] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-19 17:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":136781,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-19 17:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":136781,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-19 17:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":136781,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-19 17:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-19 17:21:17] local.WARNING: DEBUG: No valid data to process  
[2026-07-19 17:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":136781,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-19 17:21:17] local.ERROR: GPS data processing failed {"connection_id":136781,"error":"No valid data to process"} 
[2026-07-19 17:21:17] local.INFO: Acknowledgment sent {"connection_id":136781,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-19 17:21:26] local.INFO: TCP Data received {"connection_id":136681,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136681,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:21:26] local.INFO: Processing buffer {"connection_id":136681,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:21:26] local.INFO: IMEI packet received {"connection_id":136681,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 17:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":136681,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:21:28] local.INFO: TCP Data received {"connection_id":139144,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3382c0012d196740071fee88003f004c29..."} 
[2026-07-19 17:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3382c0012d196740071fee88003f004c29..."} 
[2026-07-19 17:21:28] local.INFO: Processing buffer {"connection_id":139144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3382c0012d196740071fee88003f004c29..."} 
[2026-07-19 17:21:28] local.INFO: Packet analysis {"connection_id":139144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a33"} 
[2026-07-19 17:21:28] local.INFO: Extracted packet for processing {"connection_id":139144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a33"} 
[2026-07-19 17:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822170368001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:21: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-07-19 17:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784461624000,"timestamp_ms":1784461624000,"timestamp_seconds":1784461624,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3382c0"} 
[2026-07-19 17:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:21:28] 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-07-19 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822170368001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822170368001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:21:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:21:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822170368001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":139144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:21:28] local.INFO: GPS data processed {"connection_id":139144,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:21:28] local.INFO: Acknowledgment sent {"connection_id":139144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:21:31] local.INFO: TCP Data received {"connection_id":136782,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:21:31] local.INFO: Processing buffer {"connection_id":136782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:21:31] local.INFO: IMEI packet received {"connection_id":136782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":136782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:21:36] local.INFO: TCP Data received {"connection_id":136782,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:21:36] local.INFO: Processing buffer {"connection_id":136782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:21:36] local.INFO: IMEI packet received {"connection_id":136782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":136782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:21:37] local.INFO: TCP Data received {"connection_id":136782,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:21:37] local.INFO: Processing buffer {"connection_id":136782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:21:37] local.INFO: Packet analysis {"connection_id":136782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:21:37] local.INFO: Extracted packet for processing {"connection_id":136782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822121472001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17: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-07-19 17:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784461713000,"timestamp_ms":1784461713000,"timestamp_seconds":1784461713,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a34de68"} 
[2026-07-19 17:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 17:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822121472001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822121472001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:21:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:21:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822121472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":136782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:21:37] local.INFO: GPS data processed {"connection_id":136782,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:21:37] local.INFO: Acknowledgment sent {"connection_id":136782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:21:48] local.INFO: TCP Data received {"connection_id":136781,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e010000000000015ba80100000000000000000000000000..."} 
[2026-07-19 17:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136781,"packet_length":93,"packet_hex":"00000000000000518e010000000000015ba80100000000000000000000000000..."} 
[2026-07-19 17:21:48] local.INFO: Processing buffer {"connection_id":136781,"buffer_length":93,"buffer_hex":"00000000000000518e010000000000015ba80100000000000000000000000000..."} 
[2026-07-19 17:21:48] local.INFO: Packet analysis {"connection_id":136781,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-07-19 17:21:48] local.INFO: Extracted packet for processing {"connection_id":136781,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-07-19 17: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-07-19 17: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":93,"current_offset":40} 
[2026-07-19 17:21:48] 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-07-19 17:21:48] 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-07-19 17:21:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:21:48] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-19 17:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":136781,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-19 17:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":136781,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-19 17:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":136781,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-19 17:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-19 17:21:48] local.WARNING: DEBUG: No valid data to process  
[2026-07-19 17:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":136781,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-19 17:21:48] local.ERROR: GPS data processing failed {"connection_id":136781,"error":"No valid data to process"} 
[2026-07-19 17:21:48] local.INFO: Acknowledgment sent {"connection_id":136781,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-19 17:21:51] local.INFO: TCP Data received {"connection_id":136682,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:21:51] local.INFO: Processing buffer {"connection_id":136682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:21:51] local.INFO: IMEI packet received {"connection_id":136682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":136682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:21:54] local.INFO: TCP Data received {"connection_id":136682,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:21:54] local.INFO: Processing buffer {"connection_id":136682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:21:54] local.INFO: IMEI packet received {"connection_id":136682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":136682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:21:56] local.INFO: TCP Data received {"connection_id":136682,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:21:56] local.INFO: Processing buffer {"connection_id":136682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:21:56] local.INFO: IMEI packet received {"connection_id":136682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":136682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:21:56] local.INFO: TCP Data received {"connection_id":136682,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a33d4c8012d196740071fee88003f004c29..."} 
[2026-07-19 17:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a33d4c8012d196740071fee88003f004c29..."} 
[2026-07-19 17:21:56] local.INFO: Processing buffer {"connection_id":136682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a33d4c8012d196740071fee88003f004c29..."} 
[2026-07-19 17:21:56] local.INFO: Packet analysis {"connection_id":136682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a33"} 
[2026-07-19 17:21:56] local.INFO: Extracted packet for processing {"connection_id":136682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a33"} 
[2026-07-19 17:21:56] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822175744001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:21: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-07-19 17:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784461645000,"timestamp_ms":1784461645000,"timestamp_seconds":1784461645,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a33d4c8"} 
[2026-07-19 17:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:21: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-07-19 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822175744001,"66":11852,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822175744001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:21:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:21:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822175744001,"power":11852,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":136682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:21:57] local.INFO: GPS data processed {"connection_id":136682,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:21:57] local.INFO: Acknowledgment sent {"connection_id":136682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:22:01] local.INFO: TCP Data received {"connection_id":136682,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3426d0012d196740071fee88003f004c28..."} 
[2026-07-19 17:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3426d0012d196740071fee88003f004c28..."} 
[2026-07-19 17:22:01] local.INFO: Processing buffer {"connection_id":136682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3426d0012d196740071fee88003f004c28..."} 
[2026-07-19 17:22:01] local.INFO: Packet analysis {"connection_id":136682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:22:01] local.INFO: Extracted packet for processing {"connection_id":136682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:22:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822181120001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784461666000,"timestamp_ms":1784461666000,"timestamp_seconds":1784461666,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3426d0"} 
[2026-07-19 17:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:22: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-07-19 17: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-19 17:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822181120001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822181120001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:22:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:22:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822181120001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":136682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:22:02] local.INFO: GPS data processed {"connection_id":136682,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:22:02] local.INFO: Acknowledgment sent {"connection_id":136682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:22:08] local.INFO: TCP Data received {"connection_id":136782,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:22:08] local.INFO: Processing buffer {"connection_id":136782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:22:08] local.INFO: Packet analysis {"connection_id":136782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:22:08] local.INFO: Extracted packet for processing {"connection_id":136782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822121472001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17: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-07-19 17:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784461713000,"timestamp_ms":1784461713000,"timestamp_seconds":1784461713,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a34de68"} 
[2026-07-19 17:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:22: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-07-19 17: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 17:22: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-07-19 17: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-07-19 17:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:22: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-07-19 17:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822121472001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822121472001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:22:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822121472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":136782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:22:08] local.INFO: GPS data processed {"connection_id":136782,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:22:08] local.INFO: Acknowledgment sent {"connection_id":136782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:22:19] local.INFO: TCP Data received {"connection_id":136781,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000000000001adb00100000000000000000000000000..."} 
[2026-07-19 17:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136781,"packet_length":93,"packet_hex":"00000000000000518e01000000000001adb00100000000000000000000000000..."} 
[2026-07-19 17:22:19] local.INFO: Processing buffer {"connection_id":136781,"buffer_length":93,"buffer_hex":"00000000000000518e01000000000001adb00100000000000000000000000000..."} 
[2026-07-19 17:22:19] local.INFO: Packet analysis {"connection_id":136781,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-07-19 17:22:19] local.INFO: Extracted packet for processing {"connection_id":136781,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-07-19 17:22: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-07-19 17:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-19 17:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:22:19] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:22:19] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-19 17:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":136781,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-19 17:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":136781,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-19 17:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":136781,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-19 17:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-19 17:22:19] local.WARNING: DEBUG: No valid data to process  
[2026-07-19 17:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":136781,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-19 17:22:19] local.ERROR: GPS data processing failed {"connection_id":136781,"error":"No valid data to process"} 
[2026-07-19 17:22:19] local.INFO: Acknowledgment sent {"connection_id":136781,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-19 17:22:31] local.INFO: TCP Data received {"connection_id":136784,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:22:31] local.INFO: Processing buffer {"connection_id":136784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:22:31] local.INFO: IMEI packet received {"connection_id":136784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":136784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:22:32] local.INFO: TCP Data received {"connection_id":136682,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3478d8012d196740071fee88003f004c2a..."} 
[2026-07-19 17:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3478d8012d196740071fee88003f004c2a..."} 
[2026-07-19 17:22:32] local.INFO: Processing buffer {"connection_id":136682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3478d8012d196740071fee88003f004c2a..."} 
[2026-07-19 17:22:32] local.INFO: Packet analysis {"connection_id":136682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:22:32] local.INFO: Extracted packet for processing {"connection_id":136682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:22:32] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822186496001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784461687000,"timestamp_ms":1784461687000,"timestamp_seconds":1784461687,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3478d8"} 
[2026-07-19 17:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:22: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-07-19 17:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:22:32] 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-07-19 17:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822186496001,"66":12287,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822186496001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:22:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:22:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822186496001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":136682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:22:32] local.INFO: GPS data processed {"connection_id":136682,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:22:32] local.INFO: Acknowledgment sent {"connection_id":136682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:22:36] local.INFO: TCP Data received {"connection_id":136784,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:22:36] local.INFO: Processing buffer {"connection_id":136784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:22:36] local.INFO: IMEI packet received {"connection_id":136784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":136784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:22:37] local.INFO: TCP Data received {"connection_id":136784,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:22:37] local.INFO: Processing buffer {"connection_id":136784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:22:37] local.INFO: Packet analysis {"connection_id":136784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:22:37] local.INFO: Extracted packet for processing {"connection_id":136784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822121472001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:22: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-07-19 17:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784461713000,"timestamp_ms":1784461713000,"timestamp_seconds":1784461713,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a34de68"} 
[2026-07-19 17:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 17:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822121472001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822121472001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:22:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822121472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":136784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:22:37] local.INFO: GPS data processed {"connection_id":136784,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:22:37] local.INFO: Acknowledgment sent {"connection_id":136784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:22:50] local.INFO: TCP Data received {"connection_id":136781,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e010000019f7a3803180100000000000000000000000000..."} 
[2026-07-19 17:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136781,"packet_length":93,"packet_hex":"00000000000000518e010000019f7a3803180100000000000000000000000000..."} 
[2026-07-19 17:22:50] local.INFO: Processing buffer {"connection_id":136781,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f7a3803180100000000000000000000000000..."} 
[2026-07-19 17:22:50] local.INFO: Packet analysis {"connection_id":136781,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f7a38"} 
[2026-07-19 17:22:50] local.INFO: Extracted packet for processing {"connection_id":136781,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f7a38"} 
[2026-07-19 17:22:50] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-19 17: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":93,"current_offset":40} 
[2026-07-19 17:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:22:50] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:22:50] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-19 17:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":136781,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-19 17:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":136781,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-19 17:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":136781,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-19 17:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-19 17:22:50] local.WARNING: DEBUG: No valid data to process  
[2026-07-19 17:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":136781,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-19 17:22:50] local.ERROR: GPS data processing failed {"connection_id":136781,"error":"No valid data to process"} 
[2026-07-19 17:22:50] local.INFO: Acknowledgment sent {"connection_id":136781,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-19 17:22:50] local.INFO: TCP Data received {"connection_id":136683,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:22:50] local.INFO: Processing buffer {"connection_id":136683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:22:50] local.INFO: IMEI packet received {"connection_id":136683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":136683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:22:56] local.INFO: TCP Data received {"connection_id":136683,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:22:56] local.INFO: Processing buffer {"connection_id":136683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:22:56] local.INFO: IMEI packet received {"connection_id":136683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":136683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:22:57] local.INFO: TCP Data received {"connection_id":136683,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a34cae0012d196740071fee88003f004c2a..."} 
[2026-07-19 17:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a34cae0012d196740071fee88003f004c2a..."} 
[2026-07-19 17:22:57] local.INFO: Processing buffer {"connection_id":136683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a34cae0012d196740071fee88003f004c2a..."} 
[2026-07-19 17:22:57] local.INFO: Packet analysis {"connection_id":136683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:22:57] local.INFO: Extracted packet for processing {"connection_id":136683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:22:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822191872001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:22: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-07-19 17:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784461708000,"timestamp_ms":1784461708000,"timestamp_seconds":1784461708,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a34cae0"} 
[2026-07-19 17:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:22: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-07-19 17:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 17:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822191872001,"66":12298,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822191872001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:22:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:22:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822191872001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":136683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:22:57] local.INFO: GPS data processed {"connection_id":136683,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:22:57] local.INFO: Acknowledgment sent {"connection_id":136683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:23:08] local.INFO: TCP Data received {"connection_id":136784,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:23:08] local.INFO: Processing buffer {"connection_id":136784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:23:08] local.INFO: Packet analysis {"connection_id":136784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:23:08] local.INFO: Extracted packet for processing {"connection_id":136784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822121472001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:23: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-07-19 17:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784461713000,"timestamp_ms":1784461713000,"timestamp_seconds":1784461713,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a34de68"} 
[2026-07-19 17:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:23: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-07-19 17:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 17:23: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-07-19 17:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:23: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-07-19 17:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822121472001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822121472001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:23:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822121472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":136784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:23:08] local.INFO: GPS data processed {"connection_id":136784,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:23:08] local.INFO: Acknowledgment sent {"connection_id":136784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:23:22] local.INFO: TCP Data received {"connection_id":136781,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e010000019f7a3855200100000000000000000000000000..."} 
[2026-07-19 17:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136781,"packet_length":93,"packet_hex":"00000000000000518e010000019f7a3855200100000000000000000000000000..."} 
[2026-07-19 17:23:22] local.INFO: Processing buffer {"connection_id":136781,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f7a3855200100000000000000000000000000..."} 
[2026-07-19 17:23:22] local.INFO: Packet analysis {"connection_id":136781,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f7a38"} 
[2026-07-19 17:23:22] local.INFO: Extracted packet for processing {"connection_id":136781,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f7a38"} 
[2026-07-19 17:23: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-07-19 17: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":93,"current_offset":40} 
[2026-07-19 17:23: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-07-19 17:23: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-07-19 17:23:22] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:23:22] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-19 17:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":136781,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-19 17:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":136781,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-19 17:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":136781,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-19 17:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-19 17:23:22] local.WARNING: DEBUG: No valid data to process  
[2026-07-19 17:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":136781,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-19 17:23:22] local.ERROR: GPS data processing failed {"connection_id":136781,"error":"No valid data to process"} 
[2026-07-19 17:23:22] local.INFO: Acknowledgment sent {"connection_id":136781,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-19 17:23:28] local.INFO: TCP Data received {"connection_id":136683,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a385138012d196740071fee88003f004c2b..."} 
[2026-07-19 17:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a385138012d196740071fee88003f004c2b..."} 
[2026-07-19 17:23:28] local.INFO: Processing buffer {"connection_id":136683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a385138012d196740071fee88003f004c2b..."} 
[2026-07-19 17:23:28] local.INFO: Packet analysis {"connection_id":136683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a38"} 
[2026-07-19 17:23:28] local.INFO: Extracted packet for processing {"connection_id":136683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a38"} 
[2026-07-19 17:23:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822251008001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:23: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-07-19 17:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784461939000,"timestamp_ms":1784461939000,"timestamp_seconds":1784461939,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a385138"} 
[2026-07-19 17:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:23: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-07-19 17: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-19 17:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822251008001,"66":14080,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822251008001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:23:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:23:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822251008001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":136683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:23:28] local.INFO: GPS data processed {"connection_id":136683,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:23:28] local.INFO: Acknowledgment sent {"connection_id":136683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:23:31] local.INFO: TCP Data received {"connection_id":136786,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:23:31] local.INFO: Processing buffer {"connection_id":136786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:23:31] local.INFO: IMEI packet received {"connection_id":136786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":136786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:23:35] local.INFO: TCP Data received {"connection_id":136786,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:23:35] local.INFO: Processing buffer {"connection_id":136786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:23:35] local.INFO: IMEI packet received {"connection_id":136786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":136786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:23:36] local.INFO: TCP Data received {"connection_id":136786,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:23:36] local.INFO: Processing buffer {"connection_id":136786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:23:36] local.INFO: Packet analysis {"connection_id":136786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:23:36] local.INFO: Extracted packet for processing {"connection_id":136786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822121472001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17: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-07-19 17:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784461713000,"timestamp_ms":1784461713000,"timestamp_seconds":1784461713,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a34de68"} 
[2026-07-19 17:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 17:23: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-07-19 17:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:23:36] 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-07-19 17:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822121472001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822121472001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:23:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822121472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":136786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:23:36] local.INFO: GPS data processed {"connection_id":136786,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:23:36] local.INFO: Acknowledgment sent {"connection_id":136786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:23:51] local.INFO: TCP Data received {"connection_id":136684,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:23:51] local.INFO: Processing buffer {"connection_id":136684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:23:51] local.INFO: IMEI packet received {"connection_id":136684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":136684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:23:51] local.INFO: TCP Data received {"connection_id":136684,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:23:51] local.INFO: Processing buffer {"connection_id":136684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:23:51] local.INFO: IMEI packet received {"connection_id":136684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":136684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:23:53] local.INFO: TCP Data received {"connection_id":136781,"ip":"42.106.6.21","data_length":171,"data_hex":"000000000000009f8e020000019f7a38a7280100000000000000000000000000..."} 
[2026-07-19 17:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136781,"packet_length":171,"packet_hex":"000000000000009f8e020000019f7a38a7280100000000000000000000000000..."} 
[2026-07-19 17:23:53] local.INFO: Processing buffer {"connection_id":136781,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019f7a38a7280100000000000000000000000000..."} 
[2026-07-19 17:23:53] local.INFO: Packet analysis {"connection_id":136781,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019f7a38"} 
[2026-07-19 17:23:53] local.INFO: Extracted packet for processing {"connection_id":136781,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019f7a38"} 
[2026-07-19 17:23: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-07-19 17: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":171,"current_offset":40} 
[2026-07-19 17:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 17:23:53] 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-07-19 17:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784461961000,"timestamp_ms":1784461961000,"timestamp_seconds":1784461961,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a38a728"} 
[2026-07-19 17:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:23:53] 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-07-19 17: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":50,"n8_eight_byte":237,"data_length":171,"current_offset":136} 
[2026-07-19 17:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:23:53] 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-07-19 17:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:23:53] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":136781,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-07-19 17:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":136781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":136781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:23:53] 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-07-19 17:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":136781,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-19 17:23:53] local.INFO: GPS data processed {"connection_id":136781,"processed":0,"errors":0,"total":1} 
[2026-07-19 17:23:53] local.INFO: Acknowledgment sent {"connection_id":136781,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:23:54] local.INFO: TCP Data received {"connection_id":136684,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:23:54] local.INFO: Processing buffer {"connection_id":136684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:23:54] local.INFO: IMEI packet received {"connection_id":136684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":136684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:23:56] local.INFO: TCP Data received {"connection_id":136684,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:23:56] local.INFO: Processing buffer {"connection_id":136684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:23:56] local.INFO: IMEI packet received {"connection_id":136684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":136684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:23:56] local.INFO: TCP Data received {"connection_id":136684,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a38a340012d196740071fee88003f004c2a..."} 
[2026-07-19 17:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a38a340012d196740071fee88003f004c2a..."} 
[2026-07-19 17:23:56] local.INFO: Processing buffer {"connection_id":136684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a38a340012d196740071fee88003f004c2a..."} 
[2026-07-19 17:23:56] local.INFO: Packet analysis {"connection_id":136684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a38"} 
[2026-07-19 17:23:56] local.INFO: Extracted packet for processing {"connection_id":136684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a38"} 
[2026-07-19 17:23:56] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533192,"longitude_deg":75.6639552,"latitude_deg":11.9533192,"altitude":63,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822256384001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7195908466802688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894070784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:23: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-07-19 17:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784461960000,"timestamp_ms":1784461960000,"timestamp_seconds":1784461960,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a38a340"} 
[2026-07-19 17:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:23: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-07-19 17: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-19 17:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:23:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 17:23:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 17:23:56] local.WARNING: Large IO value detected {"io_id":144,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-07-19 17:23:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13465703,"corrected_to":0} 
[2026-07-19 17:23:56] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001890367,"note":"Value kept but may cause issues"} 
[2026-07-19 17:23:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 17:23:56] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594552,"note":"Value kept but may cause issues"} 
[2026-07-19 17:23:56] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2426667008,"note":"Value kept but may cause issues"} 
[2026-07-19 17:23:56] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,144,159,255,45,64,238,63,43,10,66,173,41,91,1,240,200,227,122,31,4,113,205,183,136,42,239,47,2,25,7],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":200,"original":13465703,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 17:23:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539712171956764672,"timestamp_seconds":4539712171956765.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 17:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822256384001,"66":13537,"103":206,"83":41984,"24":0,"16":7195908466802688,"45":1830502172894070784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822256384001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:23:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:23:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7195908466802688,"km_value":7195908466802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894070784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822256384001,"power":13537,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894070784}} 
[2026-07-19 17:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":136684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:23:57] local.INFO: GPS data processed {"connection_id":136684,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:23:57] local.INFO: Acknowledgment sent {"connection_id":136684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:24:07] local.INFO: TCP Data received {"connection_id":136786,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:24:07] local.INFO: Processing buffer {"connection_id":136786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a34de68012d34c50006aa4dd80008009528..."} 
[2026-07-19 17:24:07] local.INFO: Packet analysis {"connection_id":136786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:24:07] local.INFO: Extracted packet for processing {"connection_id":136786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a34"} 
[2026-07-19 17:24:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822121472001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:24: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-07-19 17:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784461713000,"timestamp_ms":1784461713000,"timestamp_seconds":1784461713,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a34de68"} 
[2026-07-19 17:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 17:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:24:07] 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-07-19 17:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822121472001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822121472001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:24:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:24:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822121472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":136786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:24:07] local.INFO: GPS data processed {"connection_id":136786,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:24:07] local.INFO: Acknowledgment sent {"connection_id":136786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:24:23] local.INFO: TCP Data received {"connection_id":136781,"ip":"42.106.6.21","data_length":249,"data_hex":"00000000000000ed8e030000019f7a38c668012d7ab14005daabb8000900480a..."} 
[2026-07-19 17:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136781,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f7a38c668012d7ab14005daabb8000900480a..."} 
[2026-07-19 17:24:23] local.INFO: Processing buffer {"connection_id":136781,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f7a38c668012d7ab14005daabb8000900480a..."} 
[2026-07-19 17:24:23] local.INFO: Packet analysis {"connection_id":136781,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f7a38"} 
[2026-07-19 17:24:23] local.INFO: Extracted packet for processing {"connection_id":136781,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f7a38"} 
[2026-07-19 17:24:23] local.INFO: GPS Element Parsed {"raw_longitude":763015488,"raw_latitude":98216888,"longitude_deg":76.3015488,"latitude_deg":9.8216888,"altitude":9,"angle":72,"satellites":10,"speed":10,"hex_longitude":"2d7ab140","hex_latitude":"05daabb8","is_valid_coordinates":true} 
[2026-07-19 17:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-07-19 17:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182301971578880,"note":"Value kept but may cause issues"} 
[2026-07-19 17:24:23] 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-07-19 17:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784461969000,"timestamp_ms":1784461969000,"timestamp_seconds":1784461969,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a38c668"} 
[2026-07-19 17:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":249,"current_offset":136} 
[2026-07-19 17:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:24:23] 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-07-19 17:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:24:23] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":136781,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-19 17:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":136781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":136781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:24:23] 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-07-19 17:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13015,"229":206,"85":15104,"24":10,"16":108182301971578880},"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]} 
[2026-07-19 17:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-19 17:24:23] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 17:24:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182301971578880,"km_value":108182301971578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:24:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13015,"unknown_229":206,"unknown_85":15104,"ignition":10,"odometer":null}} 
[2026-07-19 17:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":136781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:24:23] local.INFO: GPS data processed {"connection_id":136781,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:24:23] local.INFO: Acknowledgment sent {"connection_id":136781,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:24:27] local.INFO: TCP Data received {"connection_id":136684,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3981e8012d19b240071fef080040004f29..."} 
[2026-07-19 17:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3981e8012d19b240071fef080040004f29..."} 
[2026-07-19 17:24:27] local.INFO: Processing buffer {"connection_id":136684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3981e8012d19b240071fef080040004f29..."} 
[2026-07-19 17:24:27] local.INFO: Packet analysis {"connection_id":136684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:24:27] local.INFO: Extracted packet for processing {"connection_id":136684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:24:27] local.INFO: GPS Element Parsed {"raw_longitude":756658752,"raw_latitude":119533320,"longitude_deg":75.6658752,"latitude_deg":11.953332,"altitude":64,"angle":79,"satellites":41,"speed":13,"hex_longitude":"2d19b240","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822275584001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7196853359607808,"note":"Value kept but may cause issues"} 
[2026-07-19 17:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790008012800,"note":"Value kept but may cause issues"} 
[2026-07-19 17:24: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-07-19 17:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784462017000,"timestamp_ms":1784462017000,"timestamp_seconds":1784462017,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3981e8"} 
[2026-07-19 17:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:24: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-07-19 17: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-19 17:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-07-19 17:24:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 17:24:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 17:24:27] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4043833410,"note":"Value kept but may cause issues"} 
[2026-07-19 17:24:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-19 17:24:27] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2437349376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:24:27] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,101,83,24,241,157,16,145,159,106,45,64,240,65,44,10,66,98,94,192,1,137,227,122,31,4,113,205,9,79,8,239,55,2,25,7,67,17],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-19 17:24:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4683849354561388544,"timestamp_seconds":4683849354561389.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 17:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822275584001,"66":14102,"101":206,"83":41984,"24":13,"16":7196853359607808,"45":1850275790008012800},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 17:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822275584001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:24:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 17:24:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7196853359607808,"km_value":7196853359607.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790008012800,"description":"Unknown IO ID 45"} 
[2026-07-19 17:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822275584001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1850275790008012800}} 
[2026-07-19 17:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":136684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:24:27] local.INFO: GPS data processed {"connection_id":136684,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:24:27] local.INFO: Acknowledgment sent {"connection_id":136684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:24:31] local.INFO: TCP Data received {"connection_id":139145,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:24:31] local.INFO: Processing buffer {"connection_id":139145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:24:31] local.INFO: IMEI packet received {"connection_id":139145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":139145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:24:36] local.INFO: TCP Data received {"connection_id":139145,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:24:36] local.INFO: Processing buffer {"connection_id":139145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:24:36] local.INFO: IMEI packet received {"connection_id":139145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":139145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:24:37] local.INFO: TCP Data received {"connection_id":139145,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:24:37] local.INFO: Processing buffer {"connection_id":139145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:24:37] local.INFO: Packet analysis {"connection_id":139145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:24:37] local.INFO: Extracted packet for processing {"connection_id":139145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822198528001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:24: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-07-19 17:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784462014000,"timestamp_ms":1784462014000,"timestamp_seconds":1784462014,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a397630"} 
[2026-07-19 17:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 17:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822198528001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822198528001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:24:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822198528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":139145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:24:37] local.INFO: GPS data processed {"connection_id":139145,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:24:37] local.INFO: Acknowledgment sent {"connection_id":139145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:24:54] local.INFO: TCP Data received {"connection_id":136781,"ip":"42.106.6.21","data_length":327,"data_hex":"000000000000013b8e040000019f7a38f548012d7ac48005dab1300009004c0a..."} 
[2026-07-19 17:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136781,"packet_length":327,"packet_hex":"000000000000013b8e040000019f7a38f548012d7ac48005dab1300009004c0a..."} 
[2026-07-19 17:24:54] local.INFO: Processing buffer {"connection_id":136781,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019f7a38f548012d7ac48005dab1300009004c0a..."} 
[2026-07-19 17:24:54] local.INFO: Packet analysis {"connection_id":136781,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019f7a38"} 
[2026-07-19 17:24:54] local.INFO: Extracted packet for processing {"connection_id":136781,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019f7a38"} 
[2026-07-19 17:24:54] local.INFO: GPS Element Parsed {"raw_longitude":763020416,"raw_latitude":98218288,"longitude_deg":76.3020416,"latitude_deg":9.8218288,"altitude":9,"angle":76,"satellites":10,"speed":22,"hex_longitude":"2d7ac480","hex_latitude":"05dab130","is_valid_coordinates":true} 
[2026-07-19 17: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":327,"current_offset":40} 
[2026-07-19 17:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822264064001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182542489747456,"note":"Value kept but may cause issues"} 
[2026-07-19 17:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840917937392695296,"note":"Value kept but may cause issues"} 
[2026-07-19 17:24:54] 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-07-19 17:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784461981000,"timestamp_ms":1784461981000,"timestamp_seconds":1784461981,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a38f548"} 
[2026-07-19 17:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:24:54] 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-07-19 17: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":50,"n8_eight_byte":215,"data_length":327,"current_offset":136} 
[2026-07-19 17:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:24:54] 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-07-19 17:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:24:54] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":136781,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-07-19 17:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":136781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":136781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:24:54] 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-07-19 17:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822264064001,"66":13048,"229":206,"85":15104,"24":22,"16":108182542489747456,"45":8840917937392695296},"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-07-19 17:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822264064001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:24:54] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 17:24:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182542489747456,"km_value":108182542489747.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840917937392695296,"description":"Unknown IO ID 45"} 
[2026-07-19 17:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822264064001,"power":13048,"unknown_229":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8840917937392695296}} 
[2026-07-19 17:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":136781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:24:54] local.INFO: GPS data processed {"connection_id":136781,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:24:54] local.INFO: Acknowledgment sent {"connection_id":136781,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:24:56] local.INFO: TCP Data received {"connection_id":137753,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:24:56] local.INFO: Processing buffer {"connection_id":137753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:24:56] local.INFO: IMEI packet received {"connection_id":137753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":137753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:24:58] local.INFO: TCP Data received {"connection_id":137753,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:24:58] local.INFO: Processing buffer {"connection_id":137753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:24:58] local.INFO: IMEI packet received {"connection_id":137753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":137753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:24:59] local.INFO: TCP Data received {"connection_id":137753,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a399958012d19bc00071ff008003d005a29..."} 
[2026-07-19 17:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a399958012d19bc00071ff008003d005a29..."} 
[2026-07-19 17:24:59] local.INFO: Processing buffer {"connection_id":137753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a399958012d19bc00071ff008003d005a29..."} 
[2026-07-19 17:24:59] local.INFO: Packet analysis {"connection_id":137753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:24:59] local.INFO: Extracted packet for processing {"connection_id":137753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:24:59] local.INFO: GPS Element Parsed {"raw_longitude":756661248,"raw_latitude":119533576,"longitude_deg":75.6661248,"latitude_deg":11.9533576,"altitude":61,"angle":90,"satellites":41,"speed":18,"hex_longitude":"2d19bc00","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822276352001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7196969323724800,"note":"Value kept but may cause issues"} 
[2026-07-19 17:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851612796147402752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784462023000,"timestamp_ms":1784462023000,"timestamp_seconds":1784462023,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a399958"} 
[2026-07-19 17:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:24: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-07-19 17: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-19 17:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":137753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":137753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":137753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822276352001,"66":14135,"101":206,"83":41984,"24":18,"16":7196969323724800,"45":1851612796147402752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 17:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822276352001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:24:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 17:24:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7196969323724800,"km_value":7196969323724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851612796147402752,"description":"Unknown IO ID 45"} 
[2026-07-19 17:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822276352001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1851612796147402752}} 
[2026-07-19 17:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":137753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:24:59] local.INFO: GPS data processed {"connection_id":137753,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:24:59] local.INFO: Acknowledgment sent {"connection_id":137753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:25:00] local.INFO: TCP Data received {"connection_id":137753,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a39b0c8012d19c700071ff1c00039004929..."} 
[2026-07-19 17:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a39b0c8012d19c700071ff1c00039004929..."} 
[2026-07-19 17:25:00] local.INFO: Processing buffer {"connection_id":137753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a39b0c8012d19c700071ff1c00039004929..."} 
[2026-07-19 17:25:00] local.INFO: Packet analysis {"connection_id":137753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:25:00] local.INFO: Extracted packet for processing {"connection_id":137753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:25:00] local.INFO: GPS Element Parsed {"raw_longitude":756664064,"raw_latitude":119534016,"longitude_deg":75.6664064,"latitude_deg":11.9534016,"altitude":57,"angle":73,"satellites":41,"speed":15,"hex_longitude":"2d19c700","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-19 17:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822277888001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7197106762678272,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854357177170397184,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784462029000,"timestamp_ms":1784462029000,"timestamp_seconds":1784462029,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a39b0c8"} 
[2026-07-19 17:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:25: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-07-19 17:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-19 17:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":137753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":137753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":137753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822277888001,"66":14102,"101":206,"83":41984,"24":15,"16":7197106762678272,"45":1854357177170397184},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 17:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822277888001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:25:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 17:25:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7197106762678272,"km_value":7197106762678.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854357177170397184,"description":"Unknown IO ID 45"} 
[2026-07-19 17:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822277888001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1854357177170397184}} 
[2026-07-19 17:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":137753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:25:00] local.INFO: GPS data processed {"connection_id":137753,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:25:00] local.INFO: Acknowledgment sent {"connection_id":137753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:25:08] local.INFO: TCP Data received {"connection_id":139145,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:25:08] local.INFO: Processing buffer {"connection_id":139145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:25:08] local.INFO: Packet analysis {"connection_id":139145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:25:08] local.INFO: Extracted packet for processing {"connection_id":139145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822198528001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17: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-07-19 17:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784462014000,"timestamp_ms":1784462014000,"timestamp_seconds":1784462014,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a397630"} 
[2026-07-19 17:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:25: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-07-19 17:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 17:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:25: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-07-19 17:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822198528001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822198528001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:25:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:25:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822198528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":139145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:25:08] local.INFO: GPS data processed {"connection_id":139145,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:25:08] local.INFO: Acknowledgment sent {"connection_id":139145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:25:21] local.INFO: TCP Data received {"connection_id":139146,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:25:21] local.INFO: Processing buffer {"connection_id":139146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:25:21] local.INFO: IMEI packet received {"connection_id":139146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":139146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:25:22] local.INFO: TCP Data received {"connection_id":139146,"ip":"42.106.6.21","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-19 17:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139146,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-19 17:25:22] local.INFO: Processing buffer {"connection_id":139146,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-19 17:25:22] local.INFO: IMEI packet received {"connection_id":139146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":139146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:25:22] local.INFO: TCP Data received {"connection_id":139146,"ip":"42.106.6.21","data_length":405,"data_hex":"00000000000001898e050000019f7a392040012d7ae74005dabb18000b004c0a..."} 
[2026-07-19 17:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139146,"packet_length":405,"packet_hex":"00000000000001898e050000019f7a392040012d7ae74005dabb18000b004c0a..."} 
[2026-07-19 17:25:22] local.INFO: Processing buffer {"connection_id":139146,"buffer_length":422,"buffer_hex":"000f38363235363730373234303639333200000000000001898e050000019f7a..."} 
[2026-07-19 17:25:22] local.INFO: IMEI packet received {"connection_id":139146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":139146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:25:23] local.INFO: TCP Data received {"connection_id":139146,"ip":"42.106.6.21","data_length":483,"data_hex":"00000000000001d78e060000019f7a394b38012d7b0a8005dac360000d004d0a..."} 
[2026-07-19 17:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139146,"packet_length":483,"packet_hex":"00000000000001d78e060000019f7a394b38012d7b0a8005dac360000d004d0a..."} 
[2026-07-19 17:25:23] local.INFO: Processing buffer {"connection_id":139146,"buffer_length":888,"buffer_hex":"00000000000001898e050000019f7a392040012d7ae74005dabb18000b004c0a..."} 
[2026-07-19 17:25:23] local.INFO: Packet analysis {"connection_id":139146,"data_field_length":393,"total_packet_length":405,"buffer_length":888,"packet_hex_start":"00000000000001898e050000019f7a39"} 
[2026-07-19 17:25:23] local.INFO: Extracted packet for processing {"connection_id":139146,"packet_length":405,"remaining_buffer_length":483,"packet_hex_start":"00000000000001898e050000019f7a39"} 
[2026-07-19 17:25:23] local.INFO: GPS Element Parsed {"raw_longitude":763029312,"raw_latitude":98220824,"longitude_deg":76.3029312,"latitude_deg":9.8220824,"altitude":11,"angle":76,"satellites":10,"speed":38,"hex_longitude":"2d7ae740","hex_latitude":"05dabb18","is_valid_coordinates":true} 
[2026-07-19 17: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":405,"current_offset":40} 
[2026-07-19 17:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822267136001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108182989166346240,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8846336330694733824,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784461992000,"timestamp_ms":1784461992000,"timestamp_seconds":1784461992,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a392040"} 
[2026-07-19 17:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17: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":50,"n8_eight_byte":248,"data_length":405,"current_offset":136} 
[2026-07-19 17:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:25:23] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":139146,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-07-19 17:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":139146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":139146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:25:23] 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-07-19 17:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822267136001,"66":12939,"229":206,"85":15104,"24":38,"16":108182989166346240,"45":8846336330694733824},"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-07-19 17:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822267136001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:25:23] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 17:25:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108182989166346240,"km_value":108182989166346.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8846336330694733824,"description":"Unknown IO ID 45"} 
[2026-07-19 17:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822267136001,"power":12939,"unknown_229":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8846336330694733824}} 
[2026-07-19 17:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":139146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:25:23] local.INFO: GPS data processed {"connection_id":139146,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:25:23] local.INFO: Acknowledgment sent {"connection_id":139146,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:25:23] local.INFO: Packet analysis {"connection_id":139146,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019f7a39"} 
[2026-07-19 17:25:23] local.INFO: Extracted packet for processing {"connection_id":139146,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019f7a39"} 
[2026-07-19 17:25:23] local.INFO: GPS Element Parsed {"raw_longitude":763038336,"raw_latitude":98222944,"longitude_deg":76.3038336,"latitude_deg":9.8222944,"altitude":13,"angle":77,"satellites":10,"speed":29,"hex_longitude":"2d7b0a80","hex_latitude":"05dac360","is_valid_coordinates":true} 
[2026-07-19 17: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":483,"current_offset":40} 
[2026-07-19 17:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822269952001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108183431547977728,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8856117586136078336,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:23] 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-07-19 17:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784462003000,"timestamp_ms":1784462003000,"timestamp_seconds":1784462003,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a394b38"} 
[2026-07-19 17:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17: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":50,"n8_eight_byte":139,"data_length":483,"current_offset":136} 
[2026-07-19 17:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:25:23] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":139146,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-07-19 17:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":139146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":139146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:25:23] 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-07-19 17:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822269952001,"66":13254,"188":206,"85":15104,"24":29,"16":108183431547977728,"45":8856117586136078336},"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-07-19 17:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822269952001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:25:23] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 17:25:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108183431547977728,"km_value":108183431547977.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8856117586136078336,"description":"Unknown IO ID 45"} 
[2026-07-19 17:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822269952001,"power":13254,"unknown_188":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8856117586136078336}} 
[2026-07-19 17:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":139146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:25:23] local.INFO: GPS data processed {"connection_id":139146,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:25:23] local.INFO: Acknowledgment sent {"connection_id":139146,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:25:26] local.INFO: TCP Data received {"connection_id":139146,"ip":"42.106.6.21","data_length":561,"data_hex":"00000000000002258e070000019f7a397a18012d7b2f4005dacb38001000510b..."} 
[2026-07-19 17:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139146,"packet_length":561,"packet_hex":"00000000000002258e070000019f7a397a18012d7b2f4005dacb38001000510b..."} 
[2026-07-19 17:25:26] local.INFO: Processing buffer {"connection_id":139146,"buffer_length":561,"buffer_hex":"00000000000002258e070000019f7a397a18012d7b2f4005dacb38001000510b..."} 
[2026-07-19 17:25:26] local.INFO: Packet analysis {"connection_id":139146,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019f7a39"} 
[2026-07-19 17:25:26] local.INFO: Extracted packet for processing {"connection_id":139146,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019f7a39"} 
[2026-07-19 17:25:26] local.INFO: GPS Element Parsed {"raw_longitude":763047744,"raw_latitude":98224952,"longitude_deg":76.3047744,"latitude_deg":9.8224952,"altitude":16,"angle":81,"satellites":11,"speed":27,"hex_longitude":"2d7b2f40","hex_latitude":"05dacb38","is_valid_coordinates":true} 
[2026-07-19 17: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":561,"current_offset":40} 
[2026-07-19 17:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822272768001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108183886814511104,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866039579065671680,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:26] 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-07-19 17:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784462015000,"timestamp_ms":1784462015000,"timestamp_seconds":1784462015,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a397a18"} 
[2026-07-19 17:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17: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":51,"n8_eight_byte":198,"data_length":561,"current_offset":136} 
[2026-07-19 17:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:25:26] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":139146,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-07-19 17:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":139146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":139146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:25:26] 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-07-19 17:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822272768001,"66":12287,"188":206,"85":15104,"24":27,"16":108183886814511104,"45":8866039579065671680},"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-07-19 17:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822272768001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:25:26] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-19 17:25:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108183886814511104,"km_value":108183886814511.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866039579065671680,"description":"Unknown IO ID 45"} 
[2026-07-19 17:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822272768001,"power":12287,"unknown_188":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8866039579065671680}} 
[2026-07-19 17:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":139146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:25:26] local.INFO: GPS data processed {"connection_id":139146,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:25:26] local.INFO: Acknowledgment sent {"connection_id":139146,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:25:31] local.INFO: TCP Data received {"connection_id":136788,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:25:31] local.INFO: Processing buffer {"connection_id":136788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:25:31] local.INFO: IMEI packet received {"connection_id":136788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":136788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:25:31] local.INFO: TCP Data received {"connection_id":137753,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3a58c0012d19d140072012b80028013e2c..."} 
[2026-07-19 17:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3a58c0012d19d140072012b80028013e2c..."} 
[2026-07-19 17:25:31] local.INFO: Processing buffer {"connection_id":137753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3a58c0012d19d140072012b80028013e2c..."} 
[2026-07-19 17:25:31] local.INFO: Packet analysis {"connection_id":137753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3a"} 
[2026-07-19 17:25:31] local.INFO: Extracted packet for processing {"connection_id":137753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3a"} 
[2026-07-19 17:25:31] local.INFO: GPS Element Parsed {"raw_longitude":756666688,"raw_latitude":119542456,"longitude_deg":75.6666688,"latitude_deg":11.9542456,"altitude":40,"angle":318,"satellites":44,"speed":13,"hex_longitude":"2d19d140","hex_latitude":"072012b8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822289920001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7197733827903488,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860971839125229568,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784462072000,"timestamp_ms":1784462072000,"timestamp_seconds":1784462072,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3a58c0"} 
[2026-07-19 17:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:25: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-07-19 17: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-19 17:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:31] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-19 17:25:31] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3221692416,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:31] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2449145856,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:31] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,146,159,49,45,192,11,44,10,66,101,64,41,1,240,230,227,122,32,4,113,205,7,214,42,239,55,2,25,54,19],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-19 17:25:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882640401054629888,"timestamp_seconds":2882640401054630.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 17:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":137753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":137753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":137753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822289920001,"66":14113,"103":206,"83":41984,"24":13,"16":7197733827903488,"45":1860971839125229568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822289920001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:25:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:25:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7197733827903488,"km_value":7197733827903.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860971839125229568,"description":"Unknown IO ID 45"} 
[2026-07-19 17:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822289920001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1860971839125229568}} 
[2026-07-19 17:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":137753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:25:31] local.INFO: GPS data processed {"connection_id":137753,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:25:31] local.INFO: Acknowledgment sent {"connection_id":137753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:25:36] local.INFO: TCP Data received {"connection_id":136788,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:25:36] local.INFO: Processing buffer {"connection_id":136788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:25:36] local.INFO: IMEI packet received {"connection_id":136788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":136788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:25:37] local.INFO: TCP Data received {"connection_id":136788,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:25:37] local.INFO: Processing buffer {"connection_id":136788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:25:37] local.INFO: Packet analysis {"connection_id":136788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:25:37] local.INFO: Extracted packet for processing {"connection_id":136788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 17:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822198528001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25: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-07-19 17:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784462014000,"timestamp_ms":1784462014000,"timestamp_seconds":1784462014,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a397630"} 
[2026-07-19 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-07-19 17:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":86,"data_length":795,"current_offset":136} 
[2026-07-19 17:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 17:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822198528001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822198528001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:25:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822198528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":136788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:25:37] local.INFO: GPS data processed {"connection_id":136788,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:25:37] local.INFO: Acknowledgment sent {"connection_id":136788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:25:51] local.INFO: TCP Data received {"connection_id":139147,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:25:51] local.INFO: Processing buffer {"connection_id":139147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:25:51] local.INFO: IMEI packet received {"connection_id":139147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":139147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:25:51] local.INFO: TCP Data received {"connection_id":139147,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:25:51] local.INFO: Processing buffer {"connection_id":139147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:25:51] local.INFO: IMEI packet received {"connection_id":139147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":139147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:25:56] local.INFO: TCP Data received {"connection_id":139147,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:25:56] local.INFO: Processing buffer {"connection_id":139147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:25:56] local.INFO: IMEI packet received {"connection_id":139147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":139147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:25:57] local.INFO: TCP Data received {"connection_id":139147,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3a6c48012d19cc8007201980002a014a2c..."} 
[2026-07-19 17:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3a6c48012d19cc8007201980002a014a2c..."} 
[2026-07-19 17:25:57] local.INFO: Processing buffer {"connection_id":139147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3a6c48012d19cc8007201980002a014a2c..."} 
[2026-07-19 17:25:57] local.INFO: Packet analysis {"connection_id":139147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3a"} 
[2026-07-19 17:25:57] local.INFO: Extracted packet for processing {"connection_id":139147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3a"} 
[2026-07-19 17:25:57] local.INFO: GPS Element Parsed {"raw_longitude":756665472,"raw_latitude":119544192,"longitude_deg":75.6665472,"latitude_deg":11.9544192,"altitude":42,"angle":330,"satellites":44,"speed":20,"hex_longitude":"2d19cc80","hex_latitude":"07201980","is_valid_coordinates":true} 
[2026-07-19 17:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822290432001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7197836907118592,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860338520427771904,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25: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-07-19 17:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784462077000,"timestamp_ms":1784462077000,"timestamp_seconds":1784462077,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3a6c48"} 
[2026-07-19 17:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-19 17:25:57] 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-07-19 17:25:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822290432001,"66":14189,"103":206,"83":41984,"24":20,"16":7197836907118592,"45":1860338520427771904},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822290432001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:25:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:25:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7197836907118592,"km_value":7197836907118.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860338520427771904,"description":"Unknown IO ID 45"} 
[2026-07-19 17:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822290432001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1860338520427771904}} 
[2026-07-19 17:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":139147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:25:57] local.INFO: GPS data processed {"connection_id":139147,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:25:57] local.INFO: Acknowledgment sent {"connection_id":139147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:25:57] local.INFO: TCP Data received {"connection_id":139146,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3b81a0012d7c280005daef48000c00780f..."} 
[2026-07-19 17:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3b81a0012d7c280005daef48000c00780f..."} 
[2026-07-19 17:25:57] local.INFO: Processing buffer {"connection_id":139146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3b81a0012d7c280005daef48000c00780f..."} 
[2026-07-19 17:25:57] local.INFO: Packet analysis {"connection_id":139146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3b"} 
[2026-07-19 17:25:57] local.INFO: Extracted packet for processing {"connection_id":139146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3b"} 
[2026-07-19 17:25:57] local.INFO: GPS Element Parsed {"raw_longitude":763111424,"raw_latitude":98234184,"longitude_deg":76.3111424,"latitude_deg":9.8234184,"altitude":12,"angle":120,"satellites":15,"speed":3,"hex_longitude":"2d7c2800","hex_latitude":"05daef48","is_valid_coordinates":true} 
[2026-07-19 17:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822309632001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108187030730571776,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946330316175278080,"note":"Value kept but may cause issues"} 
[2026-07-19 17:25:57] 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-07-19 17:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784462148000,"timestamp_ms":1784462148000,"timestamp_seconds":1784462148,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3b81a0"} 
[2026-07-19 17:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:25:57] 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-07-19 17:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-19 17:25:57] 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-07-19 17:25:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:25:57] 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-07-19 17:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822309632001,"66":13319,"187":206,"85":15104,"24":3,"16":108187030730571776,"45":8946330316175278080},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-19 17:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822309632001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:25:57] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-19 17:25:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108187030730571776,"km_value":108187030730571.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946330316175278080,"description":"Unknown IO ID 45"} 
[2026-07-19 17:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822309632001,"power":13319,"unknown_187":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8946330316175278080}} 
[2026-07-19 17:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":139146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:25:57] local.INFO: GPS data processed {"connection_id":139146,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:25:57] local.INFO: Acknowledgment sent {"connection_id":139146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:26:00] local.INFO: TCP Data received {"connection_id":139147,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3aa6e0012d19bdc007203a20002c01552b..."} 
[2026-07-19 17:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3aa6e0012d19bdc007203a20002c01552b..."} 
[2026-07-19 17:26:00] local.INFO: Processing buffer {"connection_id":139147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3aa6e0012d19bdc007203a20002c01552b..."} 
[2026-07-19 17:26:00] local.INFO: Packet analysis {"connection_id":139147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3a"} 
[2026-07-19 17:26:00] local.INFO: Extracted packet for processing {"connection_id":139147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3a"} 
[2026-07-19 17:26:00] local.INFO: GPS Element Parsed {"raw_longitude":756661696,"raw_latitude":119552544,"longitude_deg":75.6661696,"latitude_deg":11.9552544,"altitude":44,"angle":341,"satellites":43,"speed":24,"hex_longitude":"2d19bdc0","hex_latitude":"07203a20","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822291712001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7198283583717376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859001514288840704,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784462092000,"timestamp_ms":1784462092000,"timestamp_seconds":1784462092,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3aa6e0"} 
[2026-07-19 17:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:26: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-07-19 17: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 17:26:00] 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-07-19 17: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-07-19 17:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":139147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":139147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":139147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822291712001,"66":14135,"103":206,"83":41984,"24":24,"16":7198283583717376,"45":1859001514288840704},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822291712001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:26:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:26:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7198283583717376,"km_value":7198283583717.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859001514288840704,"description":"Unknown IO ID 45"} 
[2026-07-19 17:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822291712001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1859001514288840704}} 
[2026-07-19 17:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":139147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:26:00] local.INFO: GPS data processed {"connection_id":139147,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:26:00] local.INFO: Acknowledgment sent {"connection_id":139147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:26:09] local.INFO: TCP Data received {"connection_id":136788,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:26:09] local.INFO: Processing buffer {"connection_id":136788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:26:09] local.INFO: Packet analysis {"connection_id":136788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:26:09] local.INFO: Extracted packet for processing {"connection_id":136788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822198528001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17: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-07-19 17:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784462014000,"timestamp_ms":1784462014000,"timestamp_seconds":1784462014,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a397630"} 
[2026-07-19 17:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 17:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822198528001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822198528001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822198528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":136788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:26:09] local.INFO: GPS data processed {"connection_id":136788,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:26:09] local.INFO: Acknowledgment sent {"connection_id":136788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:26:15] local.INFO: TCP Data received {"connection_id":139148,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:26:15] local.INFO: Processing buffer {"connection_id":139148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:26:15] local.INFO: IMEI packet received {"connection_id":139148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":139148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:26:21] local.INFO: TCP Data received {"connection_id":139148,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:26:21] local.INFO: Processing buffer {"connection_id":139148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:26:21] local.INFO: IMEI packet received {"connection_id":139148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":139148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:26:21] local.INFO: TCP Data received {"connection_id":139148,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3b8d58012d7c294005daede8000c009d0f..."} 
[2026-07-19 17:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3b8d58012d7c294005daede8000c009d0f..."} 
[2026-07-19 17:26:21] local.INFO: Processing buffer {"connection_id":139148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3b8d58012d7c294005daede8000c009d0f..."} 
[2026-07-19 17:26:21] local.INFO: Packet analysis {"connection_id":139148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3b"} 
[2026-07-19 17:26:21] local.INFO: Extracted packet for processing {"connection_id":139148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3b"} 
[2026-07-19 17:26:21] local.INFO: GPS Element Parsed {"raw_longitude":763111744,"raw_latitude":98233832,"longitude_deg":76.3111744,"latitude_deg":9.8233832,"altitude":12,"angle":157,"satellites":15,"speed":6,"hex_longitude":"2d7c2940","hex_latitude":"05daede8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822309888001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108187056500375552,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946400684919441408,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784462151000,"timestamp_ms":1784462151000,"timestamp_seconds":1784462151,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3b8d58"} 
[2026-07-19 17:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:26:21] 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-07-19 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-19 17:26:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:21] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-1157425052691329536,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-07-19 17:26:21] local.WARNING: Large IO value detected {"io_id":82,"raw_value":3221302652,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:21] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817382,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:21] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3673149440,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:21] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57885692328301883,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:21] local.WARNING: Large IO value detected {"io_id":59,"raw_value":4555392317953032197,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:21] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,187,85,24,241,157,16,91,159,125,45,192,239,12,15,10,66,102,128,98,64,1,240,7,227,122,218,4,113,205,3,82,34,112,14,49,2,5,29,59],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-07-19 17:26:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864823134275174400,"timestamp_seconds":864823134275174.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 17:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":139148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":139148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":139148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:26:21] 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-07-19 17:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822309888001,"66":13243,"187":206,"85":15104,"24":6,"16":108187056500375552,"45":8946400684919441408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-19 17:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822309888001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:26:21] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-19 17:26:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108187056500375552,"km_value":108187056500375.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946400684919441408,"description":"Unknown IO ID 45"} 
[2026-07-19 17:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822309888001,"power":13243,"unknown_187":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8946400684919441408}} 
[2026-07-19 17:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":139148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:26:21] local.INFO: GPS data processed {"connection_id":139148,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:26:21] local.INFO: Acknowledgment sent {"connection_id":139148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:26:31] local.INFO: TCP Data received {"connection_id":139147,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3ab298012d19bc8007204058002b01612b..."} 
[2026-07-19 17:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3ab298012d19bc8007204058002b01612b..."} 
[2026-07-19 17:26:31] local.INFO: Processing buffer {"connection_id":139147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3ab298012d19bc8007204058002b01612b..."} 
[2026-07-19 17:26:31] local.INFO: Packet analysis {"connection_id":139147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3a"} 
[2026-07-19 17:26:31] local.INFO: Extracted packet for processing {"connection_id":139147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3a"} 
[2026-07-19 17:26:31] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119554136,"longitude_deg":75.6661376,"latitude_deg":11.9554136,"altitude":43,"angle":353,"satellites":43,"speed":15,"hex_longitude":"2d19bc80","hex_latitude":"07204058","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822295552001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7198360893128704,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854849758384496640,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784462095000,"timestamp_ms":1784462095000,"timestamp_seconds":1784462095,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3ab298"} 
[2026-07-19 17:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:26: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-07-19 17: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-19 17:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":139147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":139147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":139147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822295552001,"66":14113,"103":206,"83":41984,"24":15,"16":7198360893128704,"45":1854849758384496640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822295552001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:26:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:26:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7198360893128704,"km_value":7198360893128.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854849758384496640,"description":"Unknown IO ID 45"} 
[2026-07-19 17:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822295552001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1854849758384496640}} 
[2026-07-19 17:26:31] local.INFO: TCP Data received {"connection_id":136686,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:26:31] local.INFO: Processing buffer {"connection_id":136686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:26:31] local.INFO: IMEI packet received {"connection_id":136686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":136686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":139147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:26:31] local.INFO: GPS data processed {"connection_id":139147,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:26:31] local.INFO: Acknowledgment sent {"connection_id":139147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:26:36] local.INFO: TCP Data received {"connection_id":136686,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:26:36] local.INFO: Processing buffer {"connection_id":136686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:26:36] local.INFO: IMEI packet received {"connection_id":136686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":136686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:26:37] local.INFO: TCP Data received {"connection_id":136686,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:26:37] local.INFO: Processing buffer {"connection_id":136686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:26:37] local.INFO: Packet analysis {"connection_id":136686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:26:37] local.INFO: Extracted packet for processing {"connection_id":136686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822198528001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26: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-07-19 17:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784462014000,"timestamp_ms":1784462014000,"timestamp_seconds":1784462014,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a397630"} 
[2026-07-19 17:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 17:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822198528001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822198528001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:26:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822198528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":136686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:26:37] local.INFO: GPS data processed {"connection_id":136686,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:26:37] local.INFO: Acknowledgment sent {"connection_id":136686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:26:51] local.INFO: TCP Data received {"connection_id":139149,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:26:51] local.INFO: Processing buffer {"connection_id":139149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:26:51] local.INFO: IMEI packet received {"connection_id":139149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":139149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:26:52] local.INFO: TCP Data received {"connection_id":136789,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136789,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:26:52] local.INFO: Processing buffer {"connection_id":136789,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:26:52] local.INFO: IMEI packet received {"connection_id":136789,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 17:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":136789,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:26:52] local.INFO: TCP Data received {"connection_id":139148,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3b9528012d7c29c005daec20000c00a90f..."} 
[2026-07-19 17:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3b9528012d7c29c005daec20000c00a90f..."} 
[2026-07-19 17:26:52] local.INFO: Processing buffer {"connection_id":139148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3b9528012d7c29c005daec20000c00a90f..."} 
[2026-07-19 17:26:52] local.INFO: Packet analysis {"connection_id":139148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3b"} 
[2026-07-19 17:26:52] local.INFO: Extracted packet for processing {"connection_id":139148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3b"} 
[2026-07-19 17:26:52] local.INFO: GPS Element Parsed {"raw_longitude":763111872,"raw_latitude":98233376,"longitude_deg":76.3111872,"latitude_deg":9.8233376,"altitude":12,"angle":169,"satellites":15,"speed":10,"hex_longitude":"2d7c29c0","hex_latitude":"05daec20","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822310656001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108187077975212032,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946752528640239616,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784462153000,"timestamp_ms":1784462153000,"timestamp_seconds":1784462153,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3b9528"} 
[2026-07-19 17:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:26:52] 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-07-19 17: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-19 17:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":139148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":139148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":139148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:26:52] 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-07-19 17:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822310656001,"66":13341,"187":206,"85":15104,"24":10,"16":108187077975212032,"45":8946752528640239616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-19 17:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822310656001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:26:52] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-19 17:26:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108187077975212032,"km_value":108187077975212.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946752528640239616,"description":"Unknown IO ID 45"} 
[2026-07-19 17:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822310656001,"power":13341,"unknown_187":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8946752528640239616}} 
[2026-07-19 17:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":139148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:26:52] local.INFO: GPS data processed {"connection_id":139148,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:26:52] local.INFO: Acknowledgment sent {"connection_id":139148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:26:56] local.INFO: TCP Data received {"connection_id":139149,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:26:56] local.INFO: Processing buffer {"connection_id":139149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:26:56] local.INFO: IMEI packet received {"connection_id":139149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":139149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:26:57] local.INFO: TCP Data received {"connection_id":139149,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3ba8b0012d19b9400720a868003901482a..."} 
[2026-07-19 17:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3ba8b0012d19b9400720a868003901482a..."} 
[2026-07-19 17:26:57] local.INFO: Processing buffer {"connection_id":139149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3ba8b0012d19b9400720a868003901482a..."} 
[2026-07-19 17:26:57] local.INFO: Packet analysis {"connection_id":139149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3b"} 
[2026-07-19 17:26:57] local.INFO: Extracted packet for processing {"connection_id":139149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3b"} 
[2026-07-19 17:26:57] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119580776,"longitude_deg":75.6660544,"latitude_deg":11.9580776,"altitude":57,"angle":328,"satellites":42,"speed":9,"hex_longitude":"2d19b940","hex_latitude":"0720a868","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822312192001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7199752462532608,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489740650496,"note":"Value kept but may cause issues"} 
[2026-07-19 17:26: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-07-19 17:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784462158000,"timestamp_ms":1784462158000,"timestamp_seconds":1784462158,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3ba8b0"} 
[2026-07-19 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-07-19 17:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-19 17:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 17:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822312192001,"66":14113,"103":206,"83":41984,"24":9,"16":7199752462532608,"45":1853653489740650496},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822312192001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:26:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:26:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7199752462532608,"km_value":7199752462532.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489740650496,"description":"Unknown IO ID 45"} 
[2026-07-19 17:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822312192001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1853653489740650496}} 
[2026-07-19 17:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":139149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:26:57] local.INFO: GPS data processed {"connection_id":139149,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:26:57] local.INFO: Acknowledgment sent {"connection_id":139149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:27:08] local.INFO: TCP Data received {"connection_id":136686,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:27:08] local.INFO: Processing buffer {"connection_id":136686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:27:08] local.INFO: Packet analysis {"connection_id":136686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:27:08] local.INFO: Extracted packet for processing {"connection_id":136686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822198528001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17: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-07-19 17:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784462014000,"timestamp_ms":1784462014000,"timestamp_seconds":1784462014,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a397630"} 
[2026-07-19 17:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:27: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-07-19 17:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 17:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:27: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-07-19 17:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822198528001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822198528001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:27:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:27:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822198528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":136686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:27:08] local.INFO: GPS data processed {"connection_id":136686,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:27:08] local.INFO: Acknowledgment sent {"connection_id":136686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:27:16] local.INFO: TCP Data received {"connection_id":136687,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:27:16] local.INFO: Processing buffer {"connection_id":136687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:27:16] local.INFO: IMEI packet received {"connection_id":136687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":136687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:27:21] local.INFO: TCP Data received {"connection_id":136687,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:27:21] local.INFO: Processing buffer {"connection_id":136687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:27:21] local.INFO: IMEI packet received {"connection_id":136687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":136687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:27:24] local.INFO: TCP Data received {"connection_id":136687,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:27:24] local.INFO: Processing buffer {"connection_id":136687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:27:24] local.INFO: IMEI packet received {"connection_id":136687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":136687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:27:25] local.INFO: TCP Data received {"connection_id":136687,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3bd790012d7c34c005dac8b8000900a20f..."} 
[2026-07-19 17:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3bd790012d7c34c005dac8b8000900a20f..."} 
[2026-07-19 17:27:25] local.INFO: Processing buffer {"connection_id":136687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3bd790012d7c34c005dac8b8000900a20f..."} 
[2026-07-19 17:27:25] local.INFO: Packet analysis {"connection_id":136687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3b"} 
[2026-07-19 17:27:25] local.INFO: Extracted packet for processing {"connection_id":136687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3b"} 
[2026-07-19 17:27:25] local.INFO: GPS Element Parsed {"raw_longitude":763114688,"raw_latitude":98224312,"longitude_deg":76.3114688,"latitude_deg":9.8224312,"altitude":9,"angle":162,"satellites":15,"speed":32,"hex_longitude":"2d7c34c0","hex_latitude":"05dac8b8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822311168001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108187537536712704,"note":"Value kept but may cause issues"} 
[2026-07-19 17:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946893266128478208,"note":"Value kept but may cause issues"} 
[2026-07-19 17:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784462170000,"timestamp_ms":1784462170000,"timestamp_seconds":1784462170,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3bd790"} 
[2026-07-19 17:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:27:25] 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-07-19 17: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":29,"data_length":795,"current_offset":136} 
[2026-07-19 17:27: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-07-19 17: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-07-19 17:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:27:25] 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-07-19 17:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822311168001,"66":12982,"187":206,"85":15104,"24":32,"16":108187537536712704,"45":8946893266128478208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-19 17:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822311168001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:27:25] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-19 17:27:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108187537536712704,"km_value":108187537536712.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946893266128478208,"description":"Unknown IO ID 45"} 
[2026-07-19 17:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822311168001,"power":12982,"unknown_187":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8946893266128478208}} 
[2026-07-19 17:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":136687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:27:25] local.INFO: GPS data processed {"connection_id":136687,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:27:25] local.INFO: Acknowledgment sent {"connection_id":136687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:27:26] local.INFO: TCP Data received {"connection_id":136688,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:27:26] local.INFO: Processing buffer {"connection_id":136688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:27:26] local.INFO: IMEI packet received {"connection_id":136688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 17:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":136688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:27:27] local.INFO: TCP Data received {"connection_id":139149,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3bac98012d19b8400720a940003901382b..."} 
[2026-07-19 17:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3bac98012d19b8400720a940003901382b..."} 
[2026-07-19 17:27:27] local.INFO: Processing buffer {"connection_id":139149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3bac98012d19b8400720a940003901382b..."} 
[2026-07-19 17:27:27] local.INFO: Packet analysis {"connection_id":139149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3b"} 
[2026-07-19 17:27:27] local.INFO: Extracted packet for processing {"connection_id":139149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3b"} 
[2026-07-19 17:27:27] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119580992,"longitude_deg":75.6660288,"latitude_deg":11.9580992,"altitude":57,"angle":312,"satellites":43,"speed":13,"hex_longitude":"2d19b840","hex_latitude":"0720a940","is_valid_coordinates":true} 
[2026-07-19 17:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822312448001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7199769642401792,"note":"Value kept but may cause issues"} 
[2026-07-19 17:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996526080,"note":"Value kept but may cause issues"} 
[2026-07-19 17:27: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-07-19 17:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784462159000,"timestamp_ms":1784462159000,"timestamp_seconds":1784462159,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3bac98"} 
[2026-07-19 17:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:27: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-07-19 17:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-19 17:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822312448001,"66":14113,"103":206,"83":41984,"24":13,"16":7199769642401792,"45":1853583120996526080},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822312448001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:27:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:27:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7199769642401792,"km_value":7199769642401.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996526080,"description":"Unknown IO ID 45"} 
[2026-07-19 17:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822312448001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1853583120996526080}} 
[2026-07-19 17:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":139149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:27:28] local.INFO: GPS data processed {"connection_id":139149,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:27:28] local.INFO: Acknowledgment sent {"connection_id":139149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:27:30] local.INFO: TCP Data received {"connection_id":136790,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:27:30] local.INFO: Processing buffer {"connection_id":136790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:27:30] local.INFO: IMEI packet received {"connection_id":136790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":136790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:27:36] local.INFO: TCP Data received {"connection_id":136790,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:27:36] local.INFO: Processing buffer {"connection_id":136790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:27:36] local.INFO: IMEI packet received {"connection_id":136790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":136790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:27:37] local.INFO: TCP Data received {"connection_id":136790,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:27:37] local.INFO: Processing buffer {"connection_id":136790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:27:37] local.INFO: Packet analysis {"connection_id":136790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:27:37] local.INFO: Extracted packet for processing {"connection_id":136790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822198528001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:27: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-07-19 17:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784462014000,"timestamp_ms":1784462014000,"timestamp_seconds":1784462014,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a397630"} 
[2026-07-19 17:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 17:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822198528001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822198528001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:27:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822198528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":136790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:27:37] local.INFO: GPS data processed {"connection_id":136790,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:27:37] local.INFO: Acknowledgment sent {"connection_id":136790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:27:51] local.INFO: TCP Data received {"connection_id":136791,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:27:51] local.INFO: Processing buffer {"connection_id":136791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:27:51] local.INFO: IMEI packet received {"connection_id":136791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":136791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:27:56] local.INFO: TCP Data received {"connection_id":136791,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:27:56] local.INFO: Processing buffer {"connection_id":136791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:27:56] local.INFO: IMEI packet received {"connection_id":136791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":136791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:27:56] local.INFO: TCP Data received {"connection_id":136687,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3d2398012d7c8cc005d90ba0000000b00a..."} 
[2026-07-19 17:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3d2398012d7c8cc005d90ba0000000b00a..."} 
[2026-07-19 17:27:56] local.INFO: Processing buffer {"connection_id":136687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3d2398012d7c8cc005d90ba0000000b00a..."} 
[2026-07-19 17:27:56] local.INFO: Packet analysis {"connection_id":136687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3d"} 
[2026-07-19 17:27:56] local.INFO: Extracted packet for processing {"connection_id":136687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3d"} 
[2026-07-19 17:27:56] local.INFO: GPS Element Parsed {"raw_longitude":763137216,"raw_latitude":98110368,"longitude_deg":76.3137216,"latitude_deg":9.8110368,"altitude":0,"angle":176,"satellites":10,"speed":61,"hex_longitude":"2d7c8cc0","hex_latitude":"05d90ba0","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822335744001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108193202598576128,"note":"Value kept but may cause issues"} 
[2026-07-19 17:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973633388886886400,"note":"Value kept but may cause issues"} 
[2026-07-19 17:27:56] 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-07-19 17:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784462255000,"timestamp_ms":1784462255000,"timestamp_seconds":1784462255,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3d2398"} 
[2026-07-19 17:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-19 17:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:27:56] 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-07-19 17:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822335744001,"66":13189,"245":206,"85":15104,"24":61,"16":108193202598576128,"45":8973633388886886400},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-19 17:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822335744001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108193202598576128,"km_value":108193202598576.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973633388886886400,"description":"Unknown IO ID 45"} 
[2026-07-19 17:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822335744001,"power":13189,"geofence_id":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":8973633388886886400}} 
[2026-07-19 17:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":136687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:27:56] local.INFO: GPS data processed {"connection_id":136687,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:27:56] local.INFO: Acknowledgment sent {"connection_id":136687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:27:57] local.INFO: TCP Data received {"connection_id":136791,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3bb080012d19b7400720aa08003a01292b..."} 
[2026-07-19 17:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3bb080012d19b7400720aa08003a01292b..."} 
[2026-07-19 17:27:57] local.INFO: Processing buffer {"connection_id":136791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3bb080012d19b7400720aa08003a01292b..."} 
[2026-07-19 17:27:57] local.INFO: Packet analysis {"connection_id":136791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3b"} 
[2026-07-19 17:27:57] local.INFO: Extracted packet for processing {"connection_id":136791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3b"} 
[2026-07-19 17:27:57] local.INFO: GPS Element Parsed {"raw_longitude":756660032,"raw_latitude":119581192,"longitude_deg":75.6660032,"latitude_deg":11.9581192,"altitude":58,"angle":297,"satellites":43,"speed":15,"hex_longitude":"2d19b740","hex_latitude":"0720aa08","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822312704001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7199786822270976,"note":"Value kept but may cause issues"} 
[2026-07-19 17:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646019870720,"note":"Value kept but may cause issues"} 
[2026-07-19 17:27: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-07-19 17:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784462160000,"timestamp_ms":1784462160000,"timestamp_seconds":1784462160,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3bb080"} 
[2026-07-19 17:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-19 17:27:57] 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-07-19 17: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-07-19 17:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822312704001,"66":14080,"103":206,"83":41984,"24":15,"16":7199786822270976,"45":1853301646019870720},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822312704001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:27:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:27:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7199786822270976,"km_value":7199786822270.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646019870720,"description":"Unknown IO ID 45"} 
[2026-07-19 17:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822312704001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1853301646019870720}} 
[2026-07-19 17:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":136791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:27:57] local.INFO: GPS data processed {"connection_id":136791,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:27:57] local.INFO: Acknowledgment sent {"connection_id":136791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:28:08] local.INFO: TCP Data received {"connection_id":136790,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:28:08] local.INFO: Processing buffer {"connection_id":136790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:28:08] local.INFO: Packet analysis {"connection_id":136790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:28:08] local.INFO: Extracted packet for processing {"connection_id":136790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822198528001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17: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-07-19 17:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784462014000,"timestamp_ms":1784462014000,"timestamp_seconds":1784462014,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a397630"} 
[2026-07-19 17:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:28: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-07-19 17:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 17:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822198528001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822198528001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:28:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822198528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":136790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:28:08] local.INFO: GPS data processed {"connection_id":136790,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:28:08] local.INFO: Acknowledgment sent {"connection_id":136790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:28:28] local.INFO: TCP Data received {"connection_id":136791,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3d3ef0012d18d8000720fe60004301462a..."} 
[2026-07-19 17:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3d3ef0012d18d8000720fe60004301462a..."} 
[2026-07-19 17:28:28] local.INFO: Processing buffer {"connection_id":136791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3d3ef0012d18d8000720fe60004301462a..."} 
[2026-07-19 17:28:28] local.INFO: Packet analysis {"connection_id":136791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3d"} 
[2026-07-19 17:28:28] local.INFO: Extracted packet for processing {"connection_id":136791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3d"} 
[2026-07-19 17:28:28] local.INFO: GPS Element Parsed {"raw_longitude":756602880,"raw_latitude":119602784,"longitude_deg":75.660288,"latitude_deg":11.9602784,"altitude":67,"angle":326,"satellites":42,"speed":29,"hex_longitude":"2d18d800","hex_latitude":"0720fe60","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822338304001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7202926443364352,"note":"Value kept but may cause issues"} 
[2026-07-19 17:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791940101102123008,"note":"Value kept but may cause issues"} 
[2026-07-19 17:28: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-07-19 17:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784462262000,"timestamp_ms":1784462262000,"timestamp_seconds":1784462262,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3d3ef0"} 
[2026-07-19 17:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:28: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-07-19 17: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 17:28:28] 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-07-19 17: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-07-19 17:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822338304001,"66":13820,"103":206,"83":41984,"24":29,"16":7202926443364352,"45":1791940101102123008},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822338304001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:28:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:28:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7202926443364352,"km_value":7202926443364.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791940101102123008,"description":"Unknown IO ID 45"} 
[2026-07-19 17:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822338304001,"power":13820,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1791940101102123008}} 
[2026-07-19 17:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":136791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:28:28] local.INFO: GPS data processed {"connection_id":136791,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:28:28] local.INFO: Acknowledgment sent {"connection_id":136791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:28:30] local.INFO: TCP Data received {"connection_id":137754,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:28:30] local.INFO: Processing buffer {"connection_id":137754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:28:30] local.INFO: IMEI packet received {"connection_id":137754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":137754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:28:36] local.INFO: TCP Data received {"connection_id":137754,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:28:36] local.INFO: Processing buffer {"connection_id":137754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:28:36] local.INFO: IMEI packet received {"connection_id":137754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":137754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:28:37] local.INFO: TCP Data received {"connection_id":137754,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:28:37] local.INFO: Processing buffer {"connection_id":137754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:28:37] local.INFO: Packet analysis {"connection_id":137754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:28:37] local.INFO: Extracted packet for processing {"connection_id":137754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822198528001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:28: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-07-19 17:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784462014000,"timestamp_ms":1784462014000,"timestamp_seconds":1784462014,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a397630"} 
[2026-07-19 17:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 17:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822198528001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822198528001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:28:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822198528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":137754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:28:37] local.INFO: GPS data processed {"connection_id":137754,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:28:37] local.INFO: Acknowledgment sent {"connection_id":137754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:28:49] local.INFO: TCP Data received {"connection_id":139151,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:28:49] local.INFO: Processing buffer {"connection_id":139151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:28:49] local.INFO: IMEI packet received {"connection_id":139151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":139151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:28:49] local.INFO: TCP Data received {"connection_id":139150,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:28:49] local.INFO: Processing buffer {"connection_id":139150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:28:49] local.INFO: IMEI packet received {"connection_id":139150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":139150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:28:50] local.INFO: TCP Data received {"connection_id":139150,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:28:50] local.INFO: Processing buffer {"connection_id":139150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:28:50] local.INFO: IMEI packet received {"connection_id":139150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":139150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:28:50] local.INFO: TCP Data received {"connection_id":139151,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:28:50] local.INFO: Processing buffer {"connection_id":139151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:28:50] local.INFO: IMEI packet received {"connection_id":139151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":139151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:28:51] local.INFO: TCP Data received {"connection_id":139151,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:28:51] local.INFO: Processing buffer {"connection_id":139151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:28:51] local.INFO: IMEI packet received {"connection_id":139151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":139151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:28:56] local.INFO: TCP Data received {"connection_id":139150,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:28:56] local.INFO: Processing buffer {"connection_id":139150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:28:56] local.INFO: IMEI packet received {"connection_id":139150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":139150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:28:56] local.INFO: TCP Data received {"connection_id":139151,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:28:56] local.INFO: Processing buffer {"connection_id":139151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:28:56] local.INFO: IMEI packet received {"connection_id":139151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":139151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:28:56] local.INFO: TCP Data received {"connection_id":139150,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3d3b08012d7c904005d8e8b0000000af08..."} 
[2026-07-19 17:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3d3b08012d7c904005d8e8b0000000af08..."} 
[2026-07-19 17:28:56] local.INFO: Processing buffer {"connection_id":139150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3d3b08012d7c904005d8e8b0000000af08..."} 
[2026-07-19 17:28:56] local.INFO: Packet analysis {"connection_id":139150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3d"} 
[2026-07-19 17:28:56] local.INFO: Extracted packet for processing {"connection_id":139150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3d"} 
[2026-07-19 17:28:56] local.INFO: GPS Element Parsed {"raw_longitude":763138112,"raw_latitude":98101424,"longitude_deg":76.3138112,"latitude_deg":9.8101424,"altitude":0,"angle":175,"satellites":8,"speed":59,"hex_longitude":"2d7c9040","hex_latitude":"05d8e8b0","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822337280001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108193636390273024,"note":"Value kept but may cause issues"} 
[2026-07-19 17:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974759288791343104,"note":"Value kept but may cause issues"} 
[2026-07-19 17:28:56] 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-07-19 17:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784462261000,"timestamp_ms":1784462261000,"timestamp_seconds":1784462261,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3d3b08"} 
[2026-07-19 17:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-19 17:28:56] 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-07-19 17: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-07-19 17:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:28:56] 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-07-19 17:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822337280001,"66":13048,"245":206,"85":15104,"24":59,"16":108193636390273024,"45":8974759288791343104},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-19 17:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822337280001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:28:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108193636390273024,"km_value":108193636390273.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974759288791343104,"description":"Unknown IO ID 45"} 
[2026-07-19 17:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822337280001,"power":13048,"geofence_id":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":8974759288791343104}} 
[2026-07-19 17:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":139150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:28:56] local.INFO: GPS data processed {"connection_id":139150,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:28:56] local.INFO: Acknowledgment sent {"connection_id":139150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:28:56] local.INFO: TCP Data received {"connection_id":139151,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3d46c0012d18d580072103d00043015729..."} 
[2026-07-19 17:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3d46c0012d18d580072103d00043015729..."} 
[2026-07-19 17:28:56] local.INFO: Processing buffer {"connection_id":139151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3d46c0012d18d580072103d00043015729..."} 
[2026-07-19 17:28:56] local.INFO: Packet analysis {"connection_id":139151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3d"} 
[2026-07-19 17:28:56] local.INFO: Extracted packet for processing {"connection_id":139151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3d"} 
[2026-07-19 17:28:56] local.INFO: GPS Element Parsed {"raw_longitude":756602240,"raw_latitude":119604176,"longitude_deg":75.660224,"latitude_deg":11.9604176,"altitude":67,"angle":343,"satellites":41,"speed":30,"hex_longitude":"2d18d580","hex_latitude":"072103d0","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822339072001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7202999457808384,"note":"Value kept but may cause issues"} 
[2026-07-19 17:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790180882498084864,"note":"Value kept but may cause issues"} 
[2026-07-19 17:28: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-07-19 17:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784462264000,"timestamp_ms":1784462264000,"timestamp_seconds":1784462264,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3d46c0"} 
[2026-07-19 17:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:28: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-07-19 17: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-19 17:28: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-07-19 17: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-07-19 17:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822339072001,"66":14102,"103":206,"83":41984,"24":30,"16":7202999457808384,"45":1790180882498084864},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822339072001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:28:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:28:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7202999457808384,"km_value":7202999457808.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790180882498084864,"description":"Unknown IO ID 45"} 
[2026-07-19 17:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822339072001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1790180882498084864}} 
[2026-07-19 17:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":139151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:28:57] local.INFO: GPS data processed {"connection_id":139151,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:28:57] local.INFO: Acknowledgment sent {"connection_id":139151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:29:00] local.INFO: TCP Data received {"connection_id":139150,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3d5660012d7c938005d8c108000000af0c..."} 
[2026-07-19 17:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3d5660012d7c938005d8c108000000af0c..."} 
[2026-07-19 17:29:00] local.INFO: Processing buffer {"connection_id":139150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3d5660012d7c938005d8c108000000af0c..."} 
[2026-07-19 17:29:00] local.INFO: Packet analysis {"connection_id":139150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3d"} 
[2026-07-19 17:29:00] local.INFO: Extracted packet for processing {"connection_id":139150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3d"} 
[2026-07-19 17:29:00] local.INFO: GPS Element Parsed {"raw_longitude":763138944,"raw_latitude":98091272,"longitude_deg":76.3138944,"latitude_deg":9.8091272,"altitude":0,"angle":175,"satellites":12,"speed":56,"hex_longitude":"2d7c9380","hex_latitude":"05d8c108","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822338816001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108194130311512064,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975744451207540736,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:00] 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-07-19 17:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784462268000,"timestamp_ms":1784462268000,"timestamp_seconds":1784462268,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3d5660"} 
[2026-07-19 17:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-19 17:29:00] 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-07-19 17: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-07-19 17:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":139150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":139150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":139150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:29: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-07-19 17:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822338816001,"66":13059,"197":206,"85":15104,"24":56,"16":108194130311512064,"45":8975744451207540736},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 17:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822338816001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:29:00] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 17:29:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108194130311512064,"km_value":108194130311512.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975744451207540736,"description":"Unknown IO ID 45"} 
[2026-07-19 17:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822338816001,"power":13059,"unknown_197":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":8975744451207540736}} 
[2026-07-19 17:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":139150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:29:00] local.INFO: GPS data processed {"connection_id":139150,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:29:00] local.INFO: Acknowledgment sent {"connection_id":139150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:29:08] local.INFO: TCP Data received {"connection_id":137754,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:29:08] local.INFO: Processing buffer {"connection_id":137754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a397630012d34c50006aa4dd80008009527..."} 
[2026-07-19 17:29:08] local.INFO: Packet analysis {"connection_id":137754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:29:08] local.INFO: Extracted packet for processing {"connection_id":137754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a39"} 
[2026-07-19 17:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822198528001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29: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-07-19 17:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784462014000,"timestamp_ms":1784462014000,"timestamp_seconds":1784462014,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a397630"} 
[2026-07-19 17:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:29: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-07-19 17: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 17:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822198528001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822198528001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:29:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:29:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822198528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":137754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:29:08] local.INFO: GPS data processed {"connection_id":137754,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:29:08] local.INFO: Acknowledgment sent {"connection_id":137754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:29:21] local.INFO: TCP Data received {"connection_id":136690,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:29:21] local.INFO: Processing buffer {"connection_id":136690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:29:21] local.INFO: IMEI packet received {"connection_id":136690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":136690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:29:21] local.INFO: TCP Data received {"connection_id":136690,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:29:21] local.INFO: Processing buffer {"connection_id":136690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:29:21] local.INFO: IMEI packet received {"connection_id":136690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":136690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:29:26] local.INFO: TCP Data received {"connection_id":136690,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:29:26] local.INFO: Processing buffer {"connection_id":136690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:29:26] local.INFO: IMEI packet received {"connection_id":136690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":136690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:29:28] local.INFO: TCP Data received {"connection_id":136690,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3d71b8012d7c968005d89c30000000b00c..."} 
[2026-07-19 17:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3d71b8012d7c968005d89c30000000b00c..."} 
[2026-07-19 17:29:28] local.INFO: Processing buffer {"connection_id":136690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3d71b8012d7c968005d89c30000000b00c..."} 
[2026-07-19 17:29:28] local.INFO: Packet analysis {"connection_id":136690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3d"} 
[2026-07-19 17:29:28] local.INFO: Extracted packet for processing {"connection_id":136690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3d"} 
[2026-07-19 17:29:28] local.INFO: GPS Element Parsed {"raw_longitude":763139712,"raw_latitude":98081840,"longitude_deg":76.3139712,"latitude_deg":9.808184,"altitude":0,"angle":176,"satellites":12,"speed":51,"hex_longitude":"2d7c9680","hex_latitude":"05d89c30","is_valid_coordinates":true} 
[2026-07-19 17:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822340608001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108194589873012736,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976659244879251456,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:28] 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-07-19 17:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784462275000,"timestamp_ms":1784462275000,"timestamp_seconds":1784462275,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3d71b8"} 
[2026-07-19 17:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-19 17:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166653517222,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:28] local.WARNING: Large IO value detected {"io_id":96,"raw_value":3137339392,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2834628814,"corrected_to":0} 
[2026-07-19 17:29:28] local.WARNING: Large IO value detected {"io_id":130,"raw_value":2147867007,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3651561472,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:28] local.WARNING: Large IO value detected {"io_id":187,"raw_value":58077557095399481,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:28] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,197,85,24,241,157,16,97,159,59,45,64,232,8,10,66,245,35,192,11,12,1,240,227,96,122,217,4,113,205,60,213,130,120,7,239,51,2,128,5,57,187],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2834628814,"validated":0}]} 
[2026-07-19 17:29:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":192466078138368,"timestamp_seconds":192466078138.368,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 17:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:29:28] 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-07-19 17:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822340608001,"66":13243,"197":206,"85":15104,"24":51,"16":108194589873012736,"45":8976659244879251456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 17:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822340608001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:29:28] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 17:29:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108194589873012736,"km_value":108194589873012.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976659244879251456,"description":"Unknown IO ID 45"} 
[2026-07-19 17:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822340608001,"power":13243,"unknown_197":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8976659244879251456}} 
[2026-07-19 17:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":136690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:29:28] local.INFO: GPS data processed {"connection_id":136690,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:29:28] local.INFO: Acknowledgment sent {"connection_id":136690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:29:28] local.INFO: TCP Data received {"connection_id":139151,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3d5e30012d18d140072115080042016325..."} 
[2026-07-19 17:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3d5e30012d18d140072115080042016325..."} 
[2026-07-19 17:29:28] local.INFO: Processing buffer {"connection_id":139151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3d5e30012d18d140072115080042016325..."} 
[2026-07-19 17:29:28] local.INFO: Packet analysis {"connection_id":139151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3d"} 
[2026-07-19 17:29:28] local.INFO: Extracted packet for processing {"connection_id":139151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3d"} 
[2026-07-19 17:29:28] local.INFO: GPS Element Parsed {"raw_longitude":756601152,"raw_latitude":119608584,"longitude_deg":75.6601152,"latitude_deg":11.9608584,"altitude":66,"angle":355,"satellites":37,"speed":29,"hex_longitude":"2d18d140","hex_latitude":"07211508","is_valid_coordinates":true} 
[2026-07-19 17:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822339584001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7203218501140480,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789477195056664576,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29: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-07-19 17:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784462270000,"timestamp_ms":1784462270000,"timestamp_seconds":1784462270,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3d5e30"} 
[2026-07-19 17:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:29:28] 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-07-19 17:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-19 17:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822339584001,"66":14070,"103":206,"83":41984,"24":29,"16":7203218501140480,"45":1789477195056664576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822339584001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:29:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:29:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7203218501140480,"km_value":7203218501140.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789477195056664576,"description":"Unknown IO ID 45"} 
[2026-07-19 17:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822339584001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1789477195056664576}} 
[2026-07-19 17:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":139151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:29:28] local.INFO: GPS data processed {"connection_id":139151,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:29:28] local.INFO: Acknowledgment sent {"connection_id":139151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:29:28] local.INFO: TCP Data received {"connection_id":136690,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3d8d10012d7c994005d87800000000b10d..."} 
[2026-07-19 17:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3d8d10012d7c994005d87800000000b10d..."} 
[2026-07-19 17:29:28] local.INFO: Processing buffer {"connection_id":136690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3d8d10012d7c994005d87800000000b10d..."} 
[2026-07-19 17:29:28] local.INFO: Packet analysis {"connection_id":136690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3d"} 
[2026-07-19 17:29:28] local.INFO: Extracted packet for processing {"connection_id":136690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3d"} 
[2026-07-19 17:29:28] local.INFO: GPS Element Parsed {"raw_longitude":763140416,"raw_latitude":98072576,"longitude_deg":76.3140416,"latitude_deg":9.8072576,"altitude":0,"angle":177,"satellites":13,"speed":53,"hex_longitude":"2d7c9940","hex_latitude":"05d87800","is_valid_coordinates":true} 
[2026-07-19 17:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822342400001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108195040844578816,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977503669806968832,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:28] 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-07-19 17:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784462282000,"timestamp_ms":1784462282000,"timestamp_seconds":1784462282,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3d8d10"} 
[2026-07-19 17:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-19 17:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:29:28] 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-07-19 17:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822342400001,"66":13059,"197":206,"85":15104,"24":53,"16":108195040844578816,"45":8977503669806968832},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 17:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822342400001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:29:28] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 17:29:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108195040844578816,"km_value":108195040844578.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977503669806968832,"description":"Unknown IO ID 45"} 
[2026-07-19 17:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822342400001,"power":13059,"unknown_197":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8977503669806968832}} 
[2026-07-19 17:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":136690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:29:28] local.INFO: GPS data processed {"connection_id":136690,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:29:28] local.INFO: Acknowledgment sent {"connection_id":136690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:29:31] local.INFO: TCP Data received {"connection_id":136690,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3da868012d7c9ac005d85440000000b20c..."} 
[2026-07-19 17:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3da868012d7c9ac005d85440000000b20c..."} 
[2026-07-19 17:29:31] local.INFO: Processing buffer {"connection_id":136690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3da868012d7c9ac005d85440000000b20c..."} 
[2026-07-19 17:29:31] local.INFO: Packet analysis {"connection_id":136690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3d"} 
[2026-07-19 17:29:31] local.INFO: Extracted packet for processing {"connection_id":136690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3d"} 
[2026-07-19 17:29:31] local.INFO: GPS Element Parsed {"raw_longitude":763140800,"raw_latitude":98063424,"longitude_deg":76.31408,"latitude_deg":9.8063424,"altitude":0,"angle":178,"satellites":12,"speed":53,"hex_longitude":"2d7c9ac0","hex_latitude":"05d85440","is_valid_coordinates":true} 
[2026-07-19 17:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822344192001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108195487521177600,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978277725990551552,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:31] 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-07-19 17:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784462289000,"timestamp_ms":1784462289000,"timestamp_seconds":1784462289,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3da868"} 
[2026-07-19 17:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:29:31] 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-07-19 17:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-19 17:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161368694184,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:31] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2315255808,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2834628814,"corrected_to":0} 
[2026-07-19 17:29:31] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3221608752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:31] local.WARNING: Large IO value detected {"io_id":245,"raw_value":58077557095399484,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3646435328,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:31] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,197,85,24,241,157,16,98,159,113,45,128,156,12,10,66,86,193,97,59,64,1,240,248,227,122,217,4,205,61,136,8,11,239,51,245,2,5,60],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2834628814,"validated":0}]} 
[2026-07-19 17:29:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":194669396164608,"timestamp_seconds":194669396164.608,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 17:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":136690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":136690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":136690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:29: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-07-19 17:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822344192001,"66":13048,"197":206,"85":15104,"24":53,"16":108195487521177600,"45":8978277725990551552},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 17:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822344192001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:29:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 17:29:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108195487521177600,"km_value":108195487521177.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978277725990551552,"description":"Unknown IO ID 45"} 
[2026-07-19 17:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822344192001,"power":13048,"unknown_197":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8978277725990551552}} 
[2026-07-19 17:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":136690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:29:31] local.INFO: GPS data processed {"connection_id":136690,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:29:31] local.INFO: Acknowledgment sent {"connection_id":136690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:29:36] local.INFO: TCP Data received {"connection_id":137755,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:29:36] local.INFO: Processing buffer {"connection_id":137755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:29:36] local.INFO: IMEI packet received {"connection_id":137755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":137755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:29:41] local.INFO: TCP Data received {"connection_id":137755,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:29:41] local.INFO: Processing buffer {"connection_id":137755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:29:41] local.INFO: IMEI packet received {"connection_id":137755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":137755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:29:42] local.INFO: TCP Data received {"connection_id":137755,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:29:42] local.INFO: Processing buffer {"connection_id":137755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:29:42] local.INFO: Packet analysis {"connection_id":137755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:29:42] local.INFO: Extracted packet for processing {"connection_id":137755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:29:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822275584001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784462315000,"timestamp_ms":1784462315000,"timestamp_seconds":1784462315,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3e0df8"} 
[2026-07-19 17:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:29:42] 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-07-19 17:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822275584001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822275584001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:29:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:29:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822275584001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":137755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:29:42] local.INFO: GPS data processed {"connection_id":137755,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:29:42] local.INFO: Acknowledgment sent {"connection_id":137755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:29:46] local.INFO: TCP Data received {"connection_id":137755,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:29:46] local.INFO: Processing buffer {"connection_id":137755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:29:46] local.INFO: Packet analysis {"connection_id":137755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:29:46] local.INFO: Extracted packet for processing {"connection_id":137755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822275584001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784462315000,"timestamp_ms":1784462315000,"timestamp_seconds":1784462315,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3e0df8"} 
[2026-07-19 17:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":137755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":137755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":137755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822275584001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822275584001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:29:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:29:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822275584001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":137755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:29:46] local.INFO: GPS data processed {"connection_id":137755,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:29:46] local.INFO: Acknowledgment sent {"connection_id":137755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:29:52] local.INFO: TCP Data received {"connection_id":137756,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:29:52] local.INFO: Processing buffer {"connection_id":137756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:29:52] local.INFO: IMEI packet received {"connection_id":137756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":137756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:29:56] local.INFO: TCP Data received {"connection_id":137756,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:29:56] local.INFO: Processing buffer {"connection_id":137756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:29:56] local.INFO: IMEI packet received {"connection_id":137756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":137756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:29:57] local.INFO: TCP Data received {"connection_id":137756,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3d7d70012d18cf4007212c780043014f2b..."} 
[2026-07-19 17:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3d7d70012d18cf4007212c780043014f2b..."} 
[2026-07-19 17:29:57] local.INFO: Processing buffer {"connection_id":137756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3d7d70012d18cf4007212c780043014f2b..."} 
[2026-07-19 17:29:57] local.INFO: Packet analysis {"connection_id":137756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3d"} 
[2026-07-19 17:29:57] local.INFO: Extracted packet for processing {"connection_id":137756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3d"} 
[2026-07-19 17:29:57] local.INFO: GPS Element Parsed {"raw_longitude":756600640,"raw_latitude":119614584,"longitude_deg":75.660064,"latitude_deg":11.9614584,"altitude":67,"angle":335,"satellites":43,"speed":29,"hex_longitude":"2d18cf40","hex_latitude":"07212c78","is_valid_coordinates":true} 
[2026-07-19 17:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822341120001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7203514853883904,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788280926406772736,"note":"Value kept but may cause issues"} 
[2026-07-19 17:29: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-07-19 17:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784462278000,"timestamp_ms":1784462278000,"timestamp_seconds":1784462278,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3d7d70"} 
[2026-07-19 17:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:29: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-07-19 17:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-19 17:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822341120001,"66":14004,"103":206,"83":41984,"24":29,"16":7203514853883904,"45":1788280926406772736},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822341120001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:29:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:29:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7203514853883904,"km_value":7203514853883.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788280926406772736,"description":"Unknown IO ID 45"} 
[2026-07-19 17:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822341120001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1788280926406772736}} 
[2026-07-19 17:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":137756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:29:57] local.INFO: GPS data processed {"connection_id":137756,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:29:57] local.INFO: Acknowledgment sent {"connection_id":137756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:30:19] local.INFO: TCP Data received {"connection_id":136792,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:30:19] local.INFO: Processing buffer {"connection_id":136792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:30:19] local.INFO: IMEI packet received {"connection_id":136792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":136792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:30:20] local.INFO: TCP Data received {"connection_id":136792,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:30:20] local.INFO: Processing buffer {"connection_id":136792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:30:20] local.INFO: IMEI packet received {"connection_id":136792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":136792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:30:25] local.INFO: TCP Data received {"connection_id":136792,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:30:25] local.INFO: Processing buffer {"connection_id":136792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:30:25] local.INFO: IMEI packet received {"connection_id":136792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":136792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:30:26] local.INFO: TCP Data received {"connection_id":136792,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3f0be0012d7ce50005d6c350000000a60d..."} 
[2026-07-19 17:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3f0be0012d7ce50005d6c350000000a60d..."} 
[2026-07-19 17:30:26] local.INFO: Processing buffer {"connection_id":136792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3f0be0012d7ce50005d6c350000000a60d..."} 
[2026-07-19 17:30:26] local.INFO: Packet analysis {"connection_id":136792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3f"} 
[2026-07-19 17:30:26] local.INFO: Extracted packet for processing {"connection_id":136792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3f"} 
[2026-07-19 17:30:26] local.INFO: GPS Element Parsed {"raw_longitude":763159808,"raw_latitude":97960784,"longitude_deg":76.3159808,"latitude_deg":9.7960784,"altitude":0,"angle":166,"satellites":13,"speed":54,"hex_longitude":"2d7ce500","hex_latitude":"05d6c350","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822367488001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108200581352390656,"note":"Value kept but may cause issues"} 
[2026-07-19 17:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996784705682995200,"note":"Value kept but may cause issues"} 
[2026-07-19 17:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784462380000,"timestamp_ms":1784462380000,"timestamp_seconds":1784462380,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3f0be0"} 
[2026-07-19 17:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:30:26] 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-07-19 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-19 17:30:26] 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-07-19 17: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-07-19 17:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":136792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":136792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":136792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:30:26] 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-07-19 17:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822367488001,"66":13189,"31":206,"85":15104,"24":54,"16":108200581352390656,"45":8996784705682995200},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-07-19 17:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822367488001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:30:26] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-19 17:30:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108200581352390656,"km_value":108200581352390.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996784705682995200,"description":"Unknown IO ID 45"} 
[2026-07-19 17:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822367488001,"power":13189,"unknown_31":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8996784705682995200}} 
[2026-07-19 17:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":136792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:30:26] local.INFO: GPS data processed {"connection_id":136792,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:30:26] local.INFO: Acknowledgment sent {"connection_id":136792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:30:28] local.INFO: TCP Data received {"connection_id":137756,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3ee0e8012d1868c0072181d8005001142b..."} 
[2026-07-19 17:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3ee0e8012d1868c0072181d8005001142b..."} 
[2026-07-19 17:30:28] local.INFO: Processing buffer {"connection_id":137756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3ee0e8012d1868c0072181d8005001142b..."} 
[2026-07-19 17:30:28] local.INFO: Packet analysis {"connection_id":137756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:30:28] local.INFO: Extracted packet for processing {"connection_id":137756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756574400,"raw_latitude":119636440,"longitude_deg":75.65744,"latitude_deg":11.963644,"altitude":80,"angle":276,"satellites":43,"speed":24,"hex_longitude":"2d1868c0","hex_latitude":"072181d8","is_valid_coordinates":true} 
[2026-07-19 17:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822365440001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7205408934461440,"note":"Value kept but may cause issues"} 
[2026-07-19 17:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761118591161362432,"note":"Value kept but may cause issues"} 
[2026-07-19 17:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784462369000,"timestamp_ms":1784462369000,"timestamp_seconds":1784462369,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3ee0e8"} 
[2026-07-19 17:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:30:28] 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-07-19 17:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-19 17:30:28] 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-07-19 17:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822365440001,"66":13852,"105":206,"83":41984,"24":24,"16":7205408934461440,"45":1761118591161362432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822365440001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:30:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:30:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7205408934461440,"km_value":7205408934461.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761118591161362432,"description":"Unknown IO ID 45"} 
[2026-07-19 17:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822365440001,"power":13852,"unknown_105":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1761118591161362432}} 
[2026-07-19 17:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":137756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:30:28] local.INFO: GPS data processed {"connection_id":137756,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:30:28] local.INFO: Acknowledgment sent {"connection_id":137756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:30:31] local.INFO: TCP Data received {"connection_id":136793,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:30:31] local.INFO: Processing buffer {"connection_id":136793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:30:31] local.INFO: IMEI packet received {"connection_id":136793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":136793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:30:36] local.INFO: TCP Data received {"connection_id":136793,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:30:36] local.INFO: Processing buffer {"connection_id":136793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:30:36] local.INFO: IMEI packet received {"connection_id":136793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":136793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:30:37] local.INFO: TCP Data received {"connection_id":136793,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:30:37] local.INFO: Processing buffer {"connection_id":136793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:30:37] local.INFO: Packet analysis {"connection_id":136793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:30:37] local.INFO: Extracted packet for processing {"connection_id":136793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822275584001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:30: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-07-19 17:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784462315000,"timestamp_ms":1784462315000,"timestamp_seconds":1784462315,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3e0df8"} 
[2026-07-19 17:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822275584001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822275584001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:30:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822275584001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":136793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:30:37] local.INFO: GPS data processed {"connection_id":136793,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:30:37] local.INFO: Acknowledgment sent {"connection_id":136793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:30:51] local.INFO: TCP Data received {"connection_id":139152,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:30:51] local.INFO: Processing buffer {"connection_id":139152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:30:51] local.INFO: IMEI packet received {"connection_id":139152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":139152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:30:56] local.INFO: TCP Data received {"connection_id":139152,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:30:56] local.INFO: Processing buffer {"connection_id":139152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:30:56] local.INFO: IMEI packet received {"connection_id":139152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":139152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:30:57] local.INFO: TCP Data received {"connection_id":139152,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3eeca0012d1860c007218378005201202a..."} 
[2026-07-19 17:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3eeca0012d1860c007218378005201202a..."} 
[2026-07-19 17:30:57] local.INFO: Processing buffer {"connection_id":139152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3eeca0012d1860c007218378005201202a..."} 
[2026-07-19 17:30:57] local.INFO: Packet analysis {"connection_id":139152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:30:57] local.INFO: Extracted packet for processing {"connection_id":139152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:30:57] local.INFO: GPS Element Parsed {"raw_longitude":756572352,"raw_latitude":119636856,"longitude_deg":75.6572352,"latitude_deg":11.9636856,"altitude":82,"angle":288,"satellites":42,"speed":29,"hex_longitude":"2d1860c0","hex_latitude":"07218378","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822366464001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7205507718709248,"note":"Value kept but may cause issues"} 
[2026-07-19 17:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758866791347640320,"note":"Value kept but may cause issues"} 
[2026-07-19 17:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784462372000,"timestamp_ms":1784462372000,"timestamp_seconds":1784462372,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3eeca0"} 
[2026-07-19 17:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-07-19 17:30:57] 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-07-19 17: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-07-19 17:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822366464001,"66":14004,"105":206,"83":41984,"24":29,"16":7205507718709248,"45":1758866791347640320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822366464001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:30:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:30:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7205507718709248,"km_value":7205507718709.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758866791347640320,"description":"Unknown IO ID 45"} 
[2026-07-19 17:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822366464001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1758866791347640320}} 
[2026-07-19 17:30:57] local.INFO: TCP Data received {"connection_id":136792,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3f2738012d7cea8005d6a0a8000000ae0f..."} 
[2026-07-19 17:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3f2738012d7cea8005d6a0a8000000ae0f..."} 
[2026-07-19 17:30:57] local.INFO: Processing buffer {"connection_id":136792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3f2738012d7cea8005d6a0a8000000ae0f..."} 
[2026-07-19 17:30:57] local.INFO: Packet analysis {"connection_id":136792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3f"} 
[2026-07-19 17:30:57] local.INFO: Extracted packet for processing {"connection_id":136792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3f"} 
[2026-07-19 17:30:57] local.INFO: GPS Element Parsed {"raw_longitude":763161216,"raw_latitude":97951912,"longitude_deg":76.3161216,"latitude_deg":9.7951912,"altitude":0,"angle":174,"satellites":15,"speed":51,"hex_longitude":"2d7cea80","hex_latitude":"05d6a0a8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822369280001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108201019439054848,"note":"Value kept but may cause issues"} 
[2026-07-19 17:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999599455447764992,"note":"Value kept but may cause issues"} 
[2026-07-19 17:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784462387000,"timestamp_ms":1784462387000,"timestamp_seconds":1784462387,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3f2738"} 
[2026-07-19 17:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-19 17:30:57] 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-07-19 17: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-07-19 17:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:30:57] 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-07-19 17:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822369280001,"66":12765,"31":206,"85":15104,"24":51,"16":108201019439054848,"45":8999599455447764992},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-07-19 17:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822369280001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:30:57] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-19 17:30:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108201019439054848,"km_value":108201019439054.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999599455447764992,"description":"Unknown IO ID 45"} 
[2026-07-19 17:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822369280001,"power":12765,"unknown_31":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8999599455447764992}} 
[2026-07-19 17:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":136792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:30:57] local.INFO: GPS data processed {"connection_id":136792,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:30:57] local.INFO: Acknowledgment sent {"connection_id":136792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":139152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:30:57] local.INFO: GPS data processed {"connection_id":139152,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:30:57] local.INFO: Acknowledgment sent {"connection_id":139152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:31:08] local.INFO: TCP Data received {"connection_id":136793,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:31:08] local.INFO: Processing buffer {"connection_id":136793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:31:08] local.INFO: Packet analysis {"connection_id":136793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:31:08] local.INFO: Extracted packet for processing {"connection_id":136793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822275584001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17: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-07-19 17:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784462315000,"timestamp_ms":1784462315000,"timestamp_seconds":1784462315,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3e0df8"} 
[2026-07-19 17:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:31: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-07-19 17:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:31: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-07-19 17:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822275584001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822275584001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:31:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:31:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822275584001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":136793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:31:08] local.INFO: GPS data processed {"connection_id":136793,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:31:08] local.INFO: Acknowledgment sent {"connection_id":136793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:31:17] local.INFO: TCP Data received {"connection_id":136794,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:31:17] local.INFO: Processing buffer {"connection_id":136794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:31:17] local.INFO: IMEI packet received {"connection_id":136794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":136794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:31:21] local.INFO: TCP Data received {"connection_id":136794,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:31:21] local.INFO: Processing buffer {"connection_id":136794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:31:21] local.INFO: IMEI packet received {"connection_id":136794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":136794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:31:26] local.INFO: TCP Data received {"connection_id":136794,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:31:26] local.INFO: Processing buffer {"connection_id":136794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:31:26] local.INFO: IMEI packet received {"connection_id":136794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":136794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:31:26] local.INFO: TCP Data received {"connection_id":136794,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a402138012d7d27c005d563d8000000b20a..."} 
[2026-07-19 17:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a402138012d7d27c005d563d8000000b20a..."} 
[2026-07-19 17:31:26] local.INFO: Processing buffer {"connection_id":136794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a402138012d7d27c005d563d8000000b20a..."} 
[2026-07-19 17:31:26] local.INFO: Packet analysis {"connection_id":136794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a40"} 
[2026-07-19 17:31:26] local.INFO: Extracted packet for processing {"connection_id":136794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a40"} 
[2026-07-19 17:31:26] local.INFO: GPS Element Parsed {"raw_longitude":763176896,"raw_latitude":97870808,"longitude_deg":76.3176896,"latitude_deg":9.7870808,"altitude":0,"angle":178,"satellites":10,"speed":40,"hex_longitude":"2d7d27c0","hex_latitude":"05d563d8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822387456001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108205082478116864,"note":"Value kept but may cause issues"} 
[2026-07-19 17:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018387910120167424,"note":"Value kept but may cause issues"} 
[2026-07-19 17:31:26] 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-07-19 17:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784462451000,"timestamp_ms":1784462451000,"timestamp_seconds":1784462451,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a402138"} 
[2026-07-19 17:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 17:31:26] 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-07-19 17: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-07-19 17:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":136794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":136794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":136794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:31:26] 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-07-19 17:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822387456001,"66":12341,"29":206,"85":15104,"24":40,"16":108205082478116864,"45":9018387910120167424},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-19 17:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822387456001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:31:26] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-19 17:31:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108205082478116864,"km_value":108205082478116.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018387910120167424,"description":"Unknown IO ID 45"} 
[2026-07-19 17:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822387456001,"power":12341,"unknown_29":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9018387910120167424}} 
[2026-07-19 17:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":136794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:31:26] local.INFO: GPS data processed {"connection_id":136794,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:31:26] local.INFO: Acknowledgment sent {"connection_id":136794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:31:27] local.INFO: TCP Data received {"connection_id":136794,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a404078012d7d294005d53f50000000b30c..."} 
[2026-07-19 17:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a404078012d7d294005d53f50000000b30c..."} 
[2026-07-19 17:31:27] local.INFO: Processing buffer {"connection_id":136794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a404078012d7d294005d53f50000000b30c..."} 
[2026-07-19 17:31:27] local.INFO: Packet analysis {"connection_id":136794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a40"} 
[2026-07-19 17:31:27] local.INFO: Extracted packet for processing {"connection_id":136794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a40"} 
[2026-07-19 17:31:27] local.INFO: GPS Element Parsed {"raw_longitude":763177280,"raw_latitude":97861456,"longitude_deg":76.317728,"latitude_deg":9.7861456,"altitude":0,"angle":179,"satellites":12,"speed":44,"hex_longitude":"2d7d2940","hex_latitude":"05d53f50","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822387456001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108205533449682944,"note":"Value kept but may cause issues"} 
[2026-07-19 17:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018387910120167424,"note":"Value kept but may cause issues"} 
[2026-07-19 17:31:27] 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-07-19 17:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784462459000,"timestamp_ms":1784462459000,"timestamp_seconds":1784462459,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a404078"} 
[2026-07-19 17:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 17:31: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-07-19 17: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-07-19 17:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:31:27] 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-07-19 17:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822387456001,"66":13243,"29":206,"85":15104,"24":44,"16":108205533449682944,"45":9018387910120167424},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-19 17:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822387456001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:31:27] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-19 17:31:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108205533449682944,"km_value":108205533449682.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018387910120167424,"description":"Unknown IO ID 45"} 
[2026-07-19 17:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822387456001,"power":13243,"unknown_29":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9018387910120167424}} 
[2026-07-19 17:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":136794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:31:27] local.INFO: GPS data processed {"connection_id":136794,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:31:27] local.INFO: Acknowledgment sent {"connection_id":136794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:31:28] local.INFO: TCP Data received {"connection_id":139152,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3f1798012d183f40072192480055012324..."} 
[2026-07-19 17:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3f1798012d183f40072192480055012324..."} 
[2026-07-19 17:31:28] local.INFO: Processing buffer {"connection_id":139152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3f1798012d183f40072192480055012324..."} 
[2026-07-19 17:31:28] local.INFO: Packet analysis {"connection_id":139152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3f"} 
[2026-07-19 17:31:28] local.INFO: Extracted packet for processing {"connection_id":139152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3f"} 
[2026-07-19 17:31:28] local.INFO: GPS Element Parsed {"raw_longitude":756563776,"raw_latitude":119640648,"longitude_deg":75.6563776,"latitude_deg":11.9640648,"altitude":85,"angle":291,"satellites":36,"speed":33,"hex_longitude":"2d183f40","hex_latitude":"07219248","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822367232001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7205950100340736,"note":"Value kept but may cause issues"} 
[2026-07-19 17:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756614991534061568,"note":"Value kept but may cause issues"} 
[2026-07-19 17:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784462383000,"timestamp_ms":1784462383000,"timestamp_seconds":1784462383,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3f1798"} 
[2026-07-19 17:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:31:28] 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-07-19 17: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-19 17:31: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-07-19 17: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-07-19 17:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822367232001,"66":13928,"105":206,"83":41984,"24":33,"16":7205950100340736,"45":1756614991534061568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822367232001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:31:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:31:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7205950100340736,"km_value":7205950100340.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756614991534061568,"description":"Unknown IO ID 45"} 
[2026-07-19 17:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822367232001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1756614991534061568}} 
[2026-07-19 17:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":139152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:31:28] local.INFO: GPS data processed {"connection_id":139152,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:31:28] local.INFO: Acknowledgment sent {"connection_id":139152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:31:31] local.INFO: TCP Data received {"connection_id":137758,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:31:31] local.INFO: Processing buffer {"connection_id":137758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:31:31] local.INFO: IMEI packet received {"connection_id":137758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":137758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:31:36] local.INFO: TCP Data received {"connection_id":137758,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:31:36] local.INFO: Processing buffer {"connection_id":137758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:31:36] local.INFO: IMEI packet received {"connection_id":137758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":137758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:31:37] local.INFO: TCP Data received {"connection_id":137758,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:31:37] local.INFO: Processing buffer {"connection_id":137758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:31:37] local.INFO: Packet analysis {"connection_id":137758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:31:37] local.INFO: Extracted packet for processing {"connection_id":137758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822275584001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17: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-07-19 17:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784462315000,"timestamp_ms":1784462315000,"timestamp_seconds":1784462315,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3e0df8"} 
[2026-07-19 17:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822275584001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822275584001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:31:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822275584001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":137758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:31:37] local.INFO: GPS data processed {"connection_id":137758,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:31:37] local.INFO: Acknowledgment sent {"connection_id":137758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:31:42] local.INFO: TCP Data received {"connection_id":137758,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:31:42] local.INFO: Processing buffer {"connection_id":137758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:31:42] local.INFO: Packet analysis {"connection_id":137758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:31:42] local.INFO: Extracted packet for processing {"connection_id":137758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:31:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822275584001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784462315000,"timestamp_ms":1784462315000,"timestamp_seconds":1784462315,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3e0df8"} 
[2026-07-19 17:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:31:42] 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-07-19 17:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822275584001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822275584001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:31:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:31:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822275584001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":137758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:31:42] local.INFO: GPS data processed {"connection_id":137758,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:31:42] local.INFO: Acknowledgment sent {"connection_id":137758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:31:50] local.INFO: TCP Data received {"connection_id":136795,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:31:50] local.INFO: Processing buffer {"connection_id":136795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:31:50] local.INFO: IMEI packet received {"connection_id":136795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":136795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:31:55] local.INFO: TCP Data received {"connection_id":136795,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:31:55] local.INFO: Processing buffer {"connection_id":136795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:31:55] local.INFO: IMEI packet received {"connection_id":136795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":136795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:31:56] local.INFO: TCP Data received {"connection_id":136795,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4034c0012d1823400721b7f0005700c42a..."} 
[2026-07-19 17:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4034c0012d1823400721b7f0005700c42a..."} 
[2026-07-19 17:31:56] local.INFO: Processing buffer {"connection_id":136795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4034c0012d1823400721b7f0005700c42a..."} 
[2026-07-19 17:31:56] local.INFO: Packet analysis {"connection_id":136795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a40"} 
[2026-07-19 17:31:56] local.INFO: Extracted packet for processing {"connection_id":136795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a40"} 
[2026-07-19 17:31:56] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650288,"longitude_deg":75.6556608,"latitude_deg":11.9650288,"altitude":87,"angle":196,"satellites":42,"speed":6,"hex_longitude":"2d182340","hex_latitude":"0721b7f0","is_valid_coordinates":true} 
[2026-07-19 17:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822388480001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206723194454016,"note":"Value kept but may cause issues"} 
[2026-07-19 17:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702364672,"note":"Value kept but may cause issues"} 
[2026-07-19 17:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784462456000,"timestamp_ms":1784462456000,"timestamp_seconds":1784462456,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4034c0"} 
[2026-07-19 17:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:31: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-07-19 17:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-19 17:31: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-07-19 17:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822388480001,"66":12993,"105":206,"83":41984,"24":6,"16":7206723194454016,"45":1739515386702364672},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822388480001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:31:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:31:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206723194454016,"km_value":7206723194454.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702364672,"description":"Unknown IO ID 45"} 
[2026-07-19 17:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822388480001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739515386702364672}} 
[2026-07-19 17:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":136795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:31:56] local.INFO: GPS data processed {"connection_id":136795,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:31:56] local.INFO: Acknowledgment sent {"connection_id":136795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:31:58] local.INFO: TCP Data received {"connection_id":136794,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a405bd0012d7d29c005d51b40000000b10b..."} 
[2026-07-19 17:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a405bd0012d7d29c005d51b40000000b10b..."} 
[2026-07-19 17:31:58] local.INFO: Processing buffer {"connection_id":136794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a405bd0012d7d29c005d51b40000000b10b..."} 
[2026-07-19 17:31:58] local.INFO: Packet analysis {"connection_id":136794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a40"} 
[2026-07-19 17:31:58] local.INFO: Extracted packet for processing {"connection_id":136794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a40"} 
[2026-07-19 17:31:58] local.INFO: GPS Element Parsed {"raw_longitude":763177408,"raw_latitude":97852224,"longitude_deg":76.3177408,"latitude_deg":9.7852224,"altitude":0,"angle":177,"satellites":11,"speed":44,"hex_longitude":"2d7d29c0","hex_latitude":"05d51b40","is_valid_coordinates":true} 
[2026-07-19 17:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822389504001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108205984421249024,"note":"Value kept but may cause issues"} 
[2026-07-19 17:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018810122582839296,"note":"Value kept but may cause issues"} 
[2026-07-19 17:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784462466000,"timestamp_ms":1784462466000,"timestamp_seconds":1784462466,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a405bd0"} 
[2026-07-19 17:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-19 17:31:58] 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-07-19 17:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:31:58] 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-07-19 17:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822389504001,"66":12917,"29":206,"85":15104,"24":44,"16":108205984421249024,"45":9018810122582839296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-19 17:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822389504001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:31:58] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-19 17:31:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108205984421249024,"km_value":108205984421249.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018810122582839296,"description":"Unknown IO ID 45"} 
[2026-07-19 17:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822389504001,"power":12917,"unknown_29":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9018810122582839296}} 
[2026-07-19 17:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":136794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:31:58] local.INFO: GPS data processed {"connection_id":136794,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:31:58] local.INFO: Acknowledgment sent {"connection_id":136794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:32:13] local.INFO: TCP Data received {"connection_id":137758,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:32:13] local.INFO: Processing buffer {"connection_id":137758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:32:13] local.INFO: Packet analysis {"connection_id":137758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:32:13] local.INFO: Extracted packet for processing {"connection_id":137758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:32:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822275584001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32: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-07-19 17:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784462315000,"timestamp_ms":1784462315000,"timestamp_seconds":1784462315,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3e0df8"} 
[2026-07-19 17:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:32: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-07-19 17:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:32: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-07-19 17:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":137758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":137758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":137758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:32:13] 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-07-19 17:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822275584001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822275584001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:32:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:32:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822275584001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":137758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:32:13] local.INFO: GPS data processed {"connection_id":137758,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:32:13] local.INFO: Acknowledgment sent {"connection_id":137758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:32:16] local.INFO: TCP Data received {"connection_id":136796,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:32:16] local.INFO: Processing buffer {"connection_id":136796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:32:16] local.INFO: IMEI packet received {"connection_id":136796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":136796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:32:20] local.INFO: TCP Data received {"connection_id":136796,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:32:20] local.INFO: Processing buffer {"connection_id":136796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:32:20] local.INFO: IMEI packet received {"connection_id":136796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":136796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:32:21] local.INFO: TCP Data received {"connection_id":136796,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4082e0012d7d29c005d4f4d8000000b50c..."} 
[2026-07-19 17:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4082e0012d7d29c005d4f4d8000000b50c..."} 
[2026-07-19 17:32:21] local.INFO: Processing buffer {"connection_id":136796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4082e0012d7d29c005d4f4d8000000b50c..."} 
[2026-07-19 17:32:21] local.INFO: Packet analysis {"connection_id":136796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a40"} 
[2026-07-19 17:32:21] local.INFO: Extracted packet for processing {"connection_id":136796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a40"} 
[2026-07-19 17:32:21] local.INFO: GPS Element Parsed {"raw_longitude":763177408,"raw_latitude":97842392,"longitude_deg":76.3177408,"latitude_deg":9.7842392,"altitude":0,"angle":181,"satellites":12,"speed":44,"hex_longitude":"2d7d29c0","hex_latitude":"05d4f4d8","is_valid_coordinates":true} 
[2026-07-19 17:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822391296001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108206461162618880,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018950860068831232,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784462476000,"timestamp_ms":1784462476000,"timestamp_seconds":1784462476,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4082e0"} 
[2026-07-19 17:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:32:21] 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-07-19 17:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-19 17:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":136796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":136796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":136796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:32:21] 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-07-19 17:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822391296001,"66":13330,"254":206,"85":15104,"24":44,"16":108206461162618880,"45":9018950860068831232},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-19 17:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822391296001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:32:21] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-19 17:32:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108206461162618880,"km_value":108206461162618.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018950860068831232,"description":"Unknown IO ID 45"} 
[2026-07-19 17:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822391296001,"power":13330,"unknown_254":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9018950860068831232}} 
[2026-07-19 17:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":136796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:32:21] local.INFO: GPS data processed {"connection_id":136796,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:32:21] local.INFO: Acknowledgment sent {"connection_id":136796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:32:27] local.INFO: TCP Data received {"connection_id":136795,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4038a8012d1823400721b740005700b329..."} 
[2026-07-19 17:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4038a8012d1823400721b740005700b329..."} 
[2026-07-19 17:32:27] local.INFO: Processing buffer {"connection_id":136795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4038a8012d1823400721b740005700b329..."} 
[2026-07-19 17:32:27] local.INFO: Packet analysis {"connection_id":136795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a40"} 
[2026-07-19 17:32:27] local.INFO: Extracted packet for processing {"connection_id":136795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a40"} 
[2026-07-19 17:32:27] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650112,"longitude_deg":75.6556608,"latitude_deg":11.9650112,"altitude":87,"angle":179,"satellites":41,"speed":7,"hex_longitude":"2d182340","hex_latitude":"0721b740","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822388736001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206731784388608,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469794816,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784462457000,"timestamp_ms":1784462457000,"timestamp_seconds":1784462457,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4038a8"} 
[2026-07-19 17:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17: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-07-19 17: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-19 17:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822388736001,"66":12993,"105":206,"83":41984,"24":7,"16":7206731784388608,"45":1739304280469794816},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822388736001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:32:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:32:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206731784388608,"km_value":7206731784388.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469794816,"description":"Unknown IO ID 45"} 
[2026-07-19 17:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822388736001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739304280469794816}} 
[2026-07-19 17:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":136795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:32:27] local.INFO: GPS data processed {"connection_id":136795,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:32:27] local.INFO: Acknowledgment sent {"connection_id":136795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:32:31] local.INFO: TCP Data received {"connection_id":139153,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:32:31] local.INFO: Processing buffer {"connection_id":139153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:32:31] local.INFO: IMEI packet received {"connection_id":139153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":139153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:32:36] local.INFO: TCP Data received {"connection_id":139153,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:32:36] local.INFO: Processing buffer {"connection_id":139153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:32:36] local.INFO: IMEI packet received {"connection_id":139153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":139153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:32:37] local.INFO: TCP Data received {"connection_id":139153,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:32:37] local.INFO: Processing buffer {"connection_id":139153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:32:37] local.INFO: Packet analysis {"connection_id":139153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:32:37] local.INFO: Extracted packet for processing {"connection_id":139153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822275584001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32: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-07-19 17:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784462315000,"timestamp_ms":1784462315000,"timestamp_seconds":1784462315,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3e0df8"} 
[2026-07-19 17:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822275584001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822275584001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:32:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822275584001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":139153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:32:37] local.INFO: GPS data processed {"connection_id":139153,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:32:37] local.INFO: Acknowledgment sent {"connection_id":139153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:32:50] local.INFO: TCP Data received {"connection_id":139154,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:32:50] local.INFO: Processing buffer {"connection_id":139154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:32:50] local.INFO: IMEI packet received {"connection_id":139154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":139154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:32:52] local.INFO: TCP Data received {"connection_id":136796,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a40a220012d7d2c4005d4d0c8000000af0c..."} 
[2026-07-19 17:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a40a220012d7d2c4005d4d0c8000000af0c..."} 
[2026-07-19 17:32:52] local.INFO: Processing buffer {"connection_id":136796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a40a220012d7d2c4005d4d0c8000000af0c..."} 
[2026-07-19 17:32:52] local.INFO: Packet analysis {"connection_id":136796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a40"} 
[2026-07-19 17:32:52] local.INFO: Extracted packet for processing {"connection_id":136796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a40"} 
[2026-07-19 17:32:52] local.INFO: GPS Element Parsed {"raw_longitude":763178048,"raw_latitude":97833160,"longitude_deg":76.3178048,"latitude_deg":9.783316,"altitude":0,"angle":175,"satellites":12,"speed":53,"hex_longitude":"2d7d2c40","hex_latitude":"05d4d0c8","is_valid_coordinates":true} 
[2026-07-19 17:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822393856001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108206907839217664,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018950860066314240,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784462484000,"timestamp_ms":1784462484000,"timestamp_seconds":1784462484,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a40a220"} 
[2026-07-19 17:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:32:52] 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-07-19 17:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-19 17:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:52] local.WARNING: Large IO value detected {"io_id":63,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277781051695811328,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:52] local.WARNING: Large IO value detected {"io_id":107,"raw_value":4076863488,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:52] local.WARNING: Large IO value detected {"io_id":213,"raw_value":-3819052483999691520,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2803695822,"corrected_to":0} 
[2026-07-19 17:32:52] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3221607814,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3584643072,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:52] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57886113235096891,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:52] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2089897092557314048,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:52] local.WARNING: Large IO value detected {"io_id":56,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:52] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,254,85,24,241,157,16,109,159,91,45,192,27,11,10,66,29,108,64,63,12,33,1,240,53,227,107,122,213,4,113,205,40,36,152,239,52,2,128,5,57,133,167,56],"length":626,"final_offset":756,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2803695822,"validated":0}]} 
[2026-07-19 17:32:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":199063147118592,"timestamp_seconds":199063147118.592,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 17:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":136796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":136796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":136796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:32:52] 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-07-19 17:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822393856001,"66":13091,"254":206,"85":15104,"24":53,"16":108206907839217664,"45":9018950860066314240},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-19 17:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822393856001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:32:52] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-19 17:32:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108206907839217664,"km_value":108206907839217.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018950860066314240,"description":"Unknown IO ID 45"} 
[2026-07-19 17:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822393856001,"power":13091,"unknown_254":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9018950860066314240}} 
[2026-07-19 17:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":136796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:32:52] local.INFO: GPS data processed {"connection_id":136796,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:32:52] local.INFO: Acknowledgment sent {"connection_id":136796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:32:55] local.INFO: TCP Data received {"connection_id":139154,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:32:55] local.INFO: Processing buffer {"connection_id":139154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:32:55] local.INFO: IMEI packet received {"connection_id":139154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":139154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:32:56] local.INFO: TCP Data received {"connection_id":139154,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a403c90012d1823400721b688005700c82a..."} 
[2026-07-19 17:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a403c90012d1823400721b688005700c82a..."} 
[2026-07-19 17:32:56] local.INFO: Processing buffer {"connection_id":139154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a403c90012d1823400721b688005700c82a..."} 
[2026-07-19 17:32:56] local.INFO: Packet analysis {"connection_id":139154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a40"} 
[2026-07-19 17:32:56] local.INFO: Extracted packet for processing {"connection_id":139154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a40"} 
[2026-07-19 17:32:56] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649928,"longitude_deg":75.6556608,"latitude_deg":11.9649928,"altitude":87,"angle":200,"satellites":42,"speed":7,"hex_longitude":"2d182340","hex_latitude":"0721b688","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822388992001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206740374323200,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469749760,"note":"Value kept but may cause issues"} 
[2026-07-19 17:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784462458000,"timestamp_ms":1784462458000,"timestamp_seconds":1784462458,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a403c90"} 
[2026-07-19 17:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:32: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-07-19 17: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-19 17:32: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-07-19 17: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-07-19 17:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822388992001,"66":13276,"105":206,"83":41984,"24":7,"16":7206740374323200,"45":1739304280469749760},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822388992001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:32:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:32:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206740374323200,"km_value":7206740374323.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469749760,"description":"Unknown IO ID 45"} 
[2026-07-19 17:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822388992001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739304280469749760}} 
[2026-07-19 17:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":139154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:32:56] local.INFO: GPS data processed {"connection_id":139154,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:32:56] local.INFO: Acknowledgment sent {"connection_id":139154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:33:08] local.INFO: TCP Data received {"connection_id":139153,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:33:08] local.INFO: Processing buffer {"connection_id":139153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:33:08] local.INFO: Packet analysis {"connection_id":139153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:33:08] local.INFO: Extracted packet for processing {"connection_id":139153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822275584001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17: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-07-19 17:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784462315000,"timestamp_ms":1784462315000,"timestamp_seconds":1784462315,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3e0df8"} 
[2026-07-19 17:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:33: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-07-19 17:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822275584001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822275584001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:33:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822275584001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":139153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:33:08] local.INFO: GPS data processed {"connection_id":139153,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:33:08] local.INFO: Acknowledgment sent {"connection_id":139153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:33:20] local.INFO: TCP Data received {"connection_id":137759,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:33:20] local.INFO: Processing buffer {"connection_id":137759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:33:20] local.INFO: IMEI packet received {"connection_id":137759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":137759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:33:20] local.INFO: TCP Data received {"connection_id":137759,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:33:20] local.INFO: Processing buffer {"connection_id":137759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:33:20] local.INFO: IMEI packet received {"connection_id":137759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":137759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:33:26] local.INFO: TCP Data received {"connection_id":137759,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:33:26] local.INFO: Processing buffer {"connection_id":137759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:33:26] local.INFO: IMEI packet received {"connection_id":137759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":137759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:33:26] local.INFO: TCP Data received {"connection_id":137760,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:33:26] local.INFO: Processing buffer {"connection_id":137760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:33:26] local.INFO: IMEI packet received {"connection_id":137760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 17:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":137760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:33:26] local.INFO: TCP Data received {"connection_id":137759,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4201b0012d7d34c005d34600000000b10b..."} 
[2026-07-19 17:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4201b0012d7d34c005d34600000000b10b..."} 
[2026-07-19 17:33:26] local.INFO: Processing buffer {"connection_id":137759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4201b0012d7d34c005d34600000000b10b..."} 
[2026-07-19 17:33:26] local.INFO: Packet analysis {"connection_id":137759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:33:26] local.INFO: Extracted packet for processing {"connection_id":137759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:33:26] local.INFO: GPS Element Parsed {"raw_longitude":763180224,"raw_latitude":97732096,"longitude_deg":76.3180224,"latitude_deg":9.7732096,"altitude":0,"angle":177,"satellites":11,"speed":47,"hex_longitude":"2d7d34c0","hex_latitude":"05d34600","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822416896001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108211829871738880,"note":"Value kept but may cause issues"} 
[2026-07-19 17:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021413766086660096,"note":"Value kept but may cause issues"} 
[2026-07-19 17:33:26] 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-07-19 17:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784462574000,"timestamp_ms":1784462574000,"timestamp_seconds":1784462574,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4201b0"} 
[2026-07-19 17:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:33: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-07-19 17: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-19 17:33:26] 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-07-19 17: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-07-19 17:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":137759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":137759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":137759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:33:26] 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-07-19 17:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822416896001,"66":13124,"81":206,"85":15104,"24":47,"16":108211829871738880,"45":9021413766086660096},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-19 17:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822416896001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:33:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-19 17:33:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108211829871738880,"km_value":108211829871738.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021413766086660096,"description":"Unknown IO ID 45"} 
[2026-07-19 17:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822416896001,"power":13124,"unknown_81":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9021413766086660096}} 
[2026-07-19 17:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":137759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:33:27] local.INFO: GPS data processed {"connection_id":137759,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:33:27] local.INFO: Acknowledgment sent {"connection_id":137759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:33:27] local.INFO: TCP Data received {"connection_id":139154,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a408e98012d1821c00721b3a8005700d228..."} 
[2026-07-19 17:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a408e98012d1821c00721b3a8005700d228..."} 
[2026-07-19 17:33:27] local.INFO: Processing buffer {"connection_id":139154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a408e98012d1821c00721b3a8005700d228..."} 
[2026-07-19 17:33:27] local.INFO: Packet analysis {"connection_id":139154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a40"} 
[2026-07-19 17:33:27] local.INFO: Extracted packet for processing {"connection_id":139154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a40"} 
[2026-07-19 17:33:27] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649192,"longitude_deg":75.6556224,"latitude_deg":11.9649192,"altitude":87,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-07-19 17:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822389248001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206783323996160,"note":"Value kept but may cause issues"} 
[2026-07-19 17:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469702656,"note":"Value kept but may cause issues"} 
[2026-07-19 17:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784462479000,"timestamp_ms":1784462479000,"timestamp_seconds":1784462479,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a408e98"} 
[2026-07-19 17:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:33: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-07-19 17:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-19 17:33:27] 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-07-19 17:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822389248001,"66":13222,"105":206,"83":41984,"24":0,"16":7206783323996160,"45":1739304280469702656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822389248001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:33:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:33:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206783323996160,"km_value":7206783323996.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469702656,"description":"Unknown IO ID 45"} 
[2026-07-19 17:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822389248001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469702656}} 
[2026-07-19 17:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":139154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:33:27] local.INFO: GPS data processed {"connection_id":139154,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:33:27] local.INFO: Acknowledgment sent {"connection_id":139154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:33:30] local.INFO: TCP Data received {"connection_id":136798,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:33:30] local.INFO: Processing buffer {"connection_id":136798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:33:30] local.INFO: IMEI packet received {"connection_id":136798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":136798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:33:31] local.INFO: TCP Data received {"connection_id":137760,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:33:31] local.INFO: Processing buffer {"connection_id":137760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:33:31] local.INFO: IMEI packet received {"connection_id":137760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-19 17:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":137760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:33:32] local.INFO: TCP Data received {"connection_id":137760,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a303ed0012d34c38006aa3f80000801132a..."} 
[2026-07-19 17:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a303ed0012d34c38006aa3f80000801132a..."} 
[2026-07-19 17:33:32] local.INFO: Processing buffer {"connection_id":137760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a303ed0012d34c38006aa3f80000801132a..."} 
[2026-07-19 17:33:32] local.INFO: Packet analysis {"connection_id":137760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:33:32] local.INFO: Extracted packet for processing {"connection_id":137760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a30"} 
[2026-07-19 17:33:32] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111820672,"longitude_deg":75.843264,"latitude_deg":11.1820672,"altitude":8,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-07-19 17:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822043904001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":137892630867476480,"note":"Value kept but may cause issues"} 
[2026-07-19 17:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545277952,"note":"Value kept but may cause issues"} 
[2026-07-19 17:33: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-07-19 17:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784461410000,"timestamp_ms":1784461410000,"timestamp_seconds":1784461410,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a303ed0"} 
[2026-07-19 17:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-19 17:33: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-07-19 17:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":137760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":137760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-19 17:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":137760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-19 17:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-19 17:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-19 17:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822043904001,"66":25832,"97":206,"81":23296,"24":0,"16":137892630867476480,"45":3802023276545277952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 17:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-19 17:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-19 17:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822043904001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:33:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:33:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":137892630867476480,"km_value":137892630867476.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545277952,"description":"Unknown IO ID 45"} 
[2026-07-19 17:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822043904001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545277952}} 
[2026-07-19 17:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":137760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513184,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:33:32] local.INFO: GPS data processed {"connection_id":137760,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:33:32] local.INFO: Acknowledgment sent {"connection_id":137760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:33:36] local.INFO: TCP Data received {"connection_id":136798,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:33:36] local.INFO: Processing buffer {"connection_id":136798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:33:36] local.INFO: IMEI packet received {"connection_id":136798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":136798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:33:37] local.INFO: TCP Data received {"connection_id":136798,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:33:37] local.INFO: Processing buffer {"connection_id":136798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:33:37] local.INFO: Packet analysis {"connection_id":136798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:33:37] local.INFO: Extracted packet for processing {"connection_id":136798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822275584001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:33: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-07-19 17:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784462315000,"timestamp_ms":1784462315000,"timestamp_seconds":1784462315,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3e0df8"} 
[2026-07-19 17:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822275584001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822275584001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:33:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822275584001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":136798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:33:37] local.INFO: GPS data processed {"connection_id":136798,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:33:37] local.INFO: Acknowledgment sent {"connection_id":136798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:33:55] local.INFO: TCP Data received {"connection_id":139155,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:33:55] local.INFO: Processing buffer {"connection_id":139155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:33:55] local.INFO: IMEI packet received {"connection_id":139155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":139155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:33:58] local.INFO: TCP Data received {"connection_id":137759,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4220f0012d7d350005d32100000000b10c..."} 
[2026-07-19 17:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4220f0012d7d350005d32100000000b10c..."} 
[2026-07-19 17:33:58] local.INFO: Processing buffer {"connection_id":137759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4220f0012d7d350005d32100000000b10c..."} 
[2026-07-19 17:33:58] local.INFO: Packet analysis {"connection_id":137759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:33:58] local.INFO: Extracted packet for processing {"connection_id":137759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:33:58] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":97722624,"longitude_deg":76.3180288,"latitude_deg":9.7722624,"altitude":0,"angle":177,"satellites":12,"speed":47,"hex_longitude":"2d7d3500","hex_latitude":"05d32100","is_valid_coordinates":true} 
[2026-07-19 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-07-19 17:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822418944001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108212289433239552,"note":"Value kept but may cause issues"} 
[2026-07-19 17:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022047084781895680,"note":"Value kept but may cause issues"} 
[2026-07-19 17:33:58] 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-07-19 17:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784462582000,"timestamp_ms":1784462582000,"timestamp_seconds":1784462582,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4220f0"} 
[2026-07-19 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-07-19 17:33:58] 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-07-19 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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-19 17:33:58] 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-07-19 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-07-19 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-07-19 17:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":137759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":137759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":137759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:33:58] 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-07-19 17:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822418944001,"66":13363,"81":206,"85":15104,"24":47,"16":108212289433239552,"45":9022047084781895680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-19 17:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822418944001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:33:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-19 17:33:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108212289433239552,"km_value":108212289433239.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022047084781895680,"description":"Unknown IO ID 45"} 
[2026-07-19 17:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822418944001,"power":13363,"unknown_81":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9022047084781895680}} 
[2026-07-19 17:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":137759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:33:58] local.INFO: GPS data processed {"connection_id":137759,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:33:58] local.INFO: Acknowledgment sent {"connection_id":137759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:34:01] local.INFO: TCP Data received {"connection_id":139155,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:34:01] local.INFO: Processing buffer {"connection_id":139155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:34:01] local.INFO: IMEI packet received {"connection_id":139155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":139155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:34:01] local.INFO: TCP Data received {"connection_id":139155,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a40e0a0012d1821c00721b3a8005700d22a..."} 
[2026-07-19 17:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a40e0a0012d1821c00721b3a8005700d22a..."} 
[2026-07-19 17:34:01] local.INFO: Processing buffer {"connection_id":139155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a40e0a0012d1821c00721b3a8005700d22a..."} 
[2026-07-19 17:34:01] local.INFO: Packet analysis {"connection_id":139155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a40"} 
[2026-07-19 17:34:01] local.INFO: Extracted packet for processing {"connection_id":139155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a40"} 
[2026-07-19 17:34:01] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649192,"longitude_deg":75.6556224,"latitude_deg":11.9649192,"altitude":87,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822394624001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206783323996160,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004448256,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784462500000,"timestamp_ms":1784462500000,"timestamp_seconds":1784462500,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a40e0a0"} 
[2026-07-19 17:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:34: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-07-19 17: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-19 17:34:01] 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-07-19 17: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-07-19 17:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":139155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":139155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":139155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822394624001,"66":13102,"105":206,"83":41984,"24":0,"16":7206783323996160,"45":1738882068004448256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822394624001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:34:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:34:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206783323996160,"km_value":7206783323996.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004448256,"description":"Unknown IO ID 45"} 
[2026-07-19 17:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822394624001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004448256}} 
[2026-07-19 17:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":139155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:34:02] local.INFO: GPS data processed {"connection_id":139155,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:34:02] local.INFO: Acknowledgment sent {"connection_id":139155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:34:09] local.INFO: TCP Data received {"connection_id":136798,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:34:09] local.INFO: Processing buffer {"connection_id":136798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a3e0df8012d34c50006aa4dd80008009529..."} 
[2026-07-19 17:34:09] local.INFO: Packet analysis {"connection_id":136798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:34:09] local.INFO: Extracted packet for processing {"connection_id":136798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a3e"} 
[2026-07-19 17:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822275584001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34: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-07-19 17:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784462315000,"timestamp_ms":1784462315000,"timestamp_seconds":1784462315,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a3e0df8"} 
[2026-07-19 17:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17: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":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:34:09] 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-07-19 17:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822275584001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822275584001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822275584001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":136798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:34:09] local.INFO: GPS data processed {"connection_id":136798,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:34:09] local.INFO: Acknowledgment sent {"connection_id":136798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:34:16] local.INFO: TCP Data received {"connection_id":136693,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:34:16] local.INFO: Processing buffer {"connection_id":136693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:34:16] local.INFO: IMEI packet received {"connection_id":136693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":136693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:34:16] local.INFO: TCP Data received {"connection_id":139156,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139156,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:34:16] local.INFO: Processing buffer {"connection_id":139156,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:34:16] local.INFO: IMEI packet received {"connection_id":139156,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 17:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":139156,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:34:16] local.INFO: TCP Data received {"connection_id":136693,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:34:16] local.INFO: Processing buffer {"connection_id":136693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:34:16] local.INFO: IMEI packet received {"connection_id":136693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":136693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:34:18] local.INFO: TCP Data received {"connection_id":136693,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:34:18] local.INFO: Processing buffer {"connection_id":136693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:34:18] local.INFO: IMEI packet received {"connection_id":136693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":136693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:34:19] local.INFO: TCP Data received {"connection_id":136693,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a424030012d7d35c005d2fbe0000000b30b..."} 
[2026-07-19 17:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a424030012d7d35c005d2fbe0000000b30b..."} 
[2026-07-19 17:34:19] local.INFO: Processing buffer {"connection_id":136693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a424030012d7d35c005d2fbe0000000b30b..."} 
[2026-07-19 17:34:19] local.INFO: Packet analysis {"connection_id":136693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:34:19] local.INFO: Extracted packet for processing {"connection_id":136693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:34:19] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":97713120,"longitude_deg":76.318048,"latitude_deg":9.771312,"altitude":0,"angle":179,"satellites":11,"speed":47,"hex_longitude":"2d7d35c0","hex_latitude":"05d2fbe0","is_valid_coordinates":true} 
[2026-07-19 17:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822420992001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108212753289707520,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453523648512,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:19] 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-07-19 17:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784462590000,"timestamp_ms":1784462590000,"timestamp_seconds":1784462590,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a424030"} 
[2026-07-19 17:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:34:19] 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-07-19 17:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-19 17:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":136693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":136693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":136693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:34:19] 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-07-19 17:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822420992001,"66":13319,"81":206,"85":15104,"24":47,"16":108212753289707520,"45":9022117453523648512},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-19 17:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822420992001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:34:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-19 17:34:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108212753289707520,"km_value":108212753289707.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453523648512,"description":"Unknown IO ID 45"} 
[2026-07-19 17:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822420992001,"power":13319,"unknown_81":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9022117453523648512}} 
[2026-07-19 17:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":136693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:34:19] local.INFO: GPS data processed {"connection_id":136693,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:34:19] local.INFO: Acknowledgment sent {"connection_id":136693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:34:33] local.INFO: TCP Data received {"connection_id":139155,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4132a8012d1821c00721b3a8005700d229..."} 
[2026-07-19 17:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4132a8012d1821c00721b3a8005700d229..."} 
[2026-07-19 17:34:33] local.INFO: Processing buffer {"connection_id":139155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4132a8012d1821c00721b3a8005700d229..."} 
[2026-07-19 17:34:33] local.INFO: Packet analysis {"connection_id":139155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a41"} 
[2026-07-19 17:34:33] local.INFO: Extracted packet for processing {"connection_id":139155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a41"} 
[2026-07-19 17:34:33] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649192,"longitude_deg":75.6556224,"latitude_deg":11.9649192,"altitude":87,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 17:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822400000001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206783323996160,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004448256,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784462521000,"timestamp_ms":1784462521000,"timestamp_seconds":1784462521,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4132a8"} 
[2026-07-19 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-07-19 17:34: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-07-19 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 17:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 17:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":139155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":139155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":139155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822400000001,"66":13091,"105":206,"83":41984,"24":0,"16":7206783323996160,"45":1738882068004448256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822400000001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:34:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:34:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206783323996160,"km_value":7206783323996.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004448256,"description":"Unknown IO ID 45"} 
[2026-07-19 17:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822400000001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004448256}} 
[2026-07-19 17:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":139155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:34:33] local.INFO: GPS data processed {"connection_id":139155,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:34:33] local.INFO: Acknowledgment sent {"connection_id":139155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:34:36] local.INFO: TCP Data received {"connection_id":136694,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:34:36] local.INFO: Processing buffer {"connection_id":136694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:34:36] local.INFO: IMEI packet received {"connection_id":136694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":136694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:34:41] local.INFO: TCP Data received {"connection_id":136694,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:34:41] local.INFO: Processing buffer {"connection_id":136694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:34:41] local.INFO: IMEI packet received {"connection_id":136694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":136694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:34:42] local.INFO: TCP Data received {"connection_id":136694,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:34:42] local.INFO: Processing buffer {"connection_id":136694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:34:42] local.INFO: Packet analysis {"connection_id":136694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:34:42] local.INFO: Extracted packet for processing {"connection_id":136694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:34:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822352640001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784462616000,"timestamp_ms":1784462616000,"timestamp_seconds":1784462616,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a42a5c0"} 
[2026-07-19 17:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:34:42] 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-07-19 17:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822352640001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822352640001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:34:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:34:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822352640001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":136694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:34:42] local.INFO: GPS data processed {"connection_id":136694,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:34:42] local.INFO: Acknowledgment sent {"connection_id":136694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:34:47] local.INFO: TCP Data received {"connection_id":136694,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:34:47] local.INFO: Processing buffer {"connection_id":136694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:34:47] local.INFO: Packet analysis {"connection_id":136694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:34:47] local.INFO: Extracted packet for processing {"connection_id":136694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822352640001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784462616000,"timestamp_ms":1784462616000,"timestamp_seconds":1784462616,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a42a5c0"} 
[2026-07-19 17:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822352640001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822352640001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:34:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822352640001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":136694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:34:47] local.INFO: GPS data processed {"connection_id":136694,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:34:47] local.INFO: Acknowledgment sent {"connection_id":136694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:34:50] local.INFO: TCP Data received {"connection_id":136693,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a425f70012d7d374005d2d818000000b00a..."} 
[2026-07-19 17:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a425f70012d7d374005d2d818000000b00a..."} 
[2026-07-19 17:34:50] local.INFO: Processing buffer {"connection_id":136693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a425f70012d7d374005d2d818000000b00a..."} 
[2026-07-19 17:34:50] local.INFO: Packet analysis {"connection_id":136693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:34:50] local.INFO: Extracted packet for processing {"connection_id":136693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:34:50] local.INFO: GPS Element Parsed {"raw_longitude":763180864,"raw_latitude":97703960,"longitude_deg":76.3180864,"latitude_deg":9.770396,"altitude":0,"angle":176,"satellites":10,"speed":39,"hex_longitude":"2d7d3740","hex_latitude":"05d2d818","is_valid_coordinates":true} 
[2026-07-19 17:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822423040001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108213195671339008,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328559753748480,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784462598000,"timestamp_ms":1784462598000,"timestamp_seconds":1784462598,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a425f70"} 
[2026-07-19 17:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-19 17:34:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:50] local.WARNING: Large IO value detected {"io_id":211,"raw_value":-479633360303092480,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3192979662,"corrected_to":0} 
[2026-07-19 17:34:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3553986560,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:50] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57911625340835131,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:50] local.WARNING: Large IO value detected {"io_id":65,"raw_value":5339018653133766661,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:50] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,81,85,24,241,157,16,114,159,32,45,33,12,10,66,1,192,70,11,226,128,240,182,227,113,122,211,4,205,40,156,53,239,51,2,5,38,166,65],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3192979662,"validated":0}]} 
[2026-07-19 17:34:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":196859829092352,"timestamp_seconds":196859829092.352,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 17:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":136693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":136693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":136693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:34:50] 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-07-19 17:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822423040001,"66":13037,"115":206,"85":15104,"24":39,"16":108213195671339008,"45":9022328559753748480},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-19 17:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822423040001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:34:50] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-19 17:34:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108213195671339008,"km_value":108213195671339.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328559753748480,"description":"Unknown IO ID 45"} 
[2026-07-19 17:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822423040001,"power":13037,"unknown_115":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9022328559753748480}} 
[2026-07-19 17:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":136693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:34:50] local.INFO: GPS data processed {"connection_id":136693,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:34:50] local.INFO: Acknowledgment sent {"connection_id":136693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:34:51] local.INFO: TCP Data received {"connection_id":136695,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:34:51] local.INFO: Processing buffer {"connection_id":136695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:34:51] local.INFO: IMEI packet received {"connection_id":136695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":136695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:34:55] local.INFO: TCP Data received {"connection_id":136695,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:34:55] local.INFO: Processing buffer {"connection_id":136695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:34:55] local.INFO: IMEI packet received {"connection_id":136695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":136695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:34:56] local.INFO: TCP Data received {"connection_id":136695,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4184b0012d1821c00721b3a8005700d228..."} 
[2026-07-19 17:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4184b0012d1821c00721b3a8005700d228..."} 
[2026-07-19 17:34:56] local.INFO: Processing buffer {"connection_id":136695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4184b0012d1821c00721b3a8005700d228..."} 
[2026-07-19 17:34:56] local.INFO: Packet analysis {"connection_id":136695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a41"} 
[2026-07-19 17:34:56] local.INFO: Extracted packet for processing {"connection_id":136695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a41"} 
[2026-07-19 17:34:56] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649192,"longitude_deg":75.6556224,"latitude_deg":11.9649192,"altitude":87,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822405376001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206783323996160,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004448256,"note":"Value kept but may cause issues"} 
[2026-07-19 17:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784462542000,"timestamp_ms":1784462542000,"timestamp_seconds":1784462542,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4184b0"} 
[2026-07-19 17:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:34: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-07-19 17: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-19 17:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822405376001,"66":13004,"105":206,"83":41984,"24":0,"16":7206783323996160,"45":1738882068004448256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822405376001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:34:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:34:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206783323996160,"km_value":7206783323996.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004448256,"description":"Unknown IO ID 45"} 
[2026-07-19 17:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822405376001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004448256}} 
[2026-07-19 17:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":136695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:34:56] local.INFO: GPS data processed {"connection_id":136695,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:34:56] local.INFO: Acknowledgment sent {"connection_id":136695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:35:13] local.INFO: TCP Data received {"connection_id":136799,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:35:13] local.INFO: Processing buffer {"connection_id":136799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:35:13] local.INFO: IMEI packet received {"connection_id":136799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":136799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:35:16] local.INFO: TCP Data received {"connection_id":136799,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:35:16] local.INFO: Processing buffer {"connection_id":136799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:35:16] local.INFO: IMEI packet received {"connection_id":136799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":136799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:35:22] local.INFO: TCP Data received {"connection_id":136799,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:35:22] local.INFO: Processing buffer {"connection_id":136799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:35:22] local.INFO: IMEI packet received {"connection_id":136799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":136799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:35:24] local.INFO: TCP Data received {"connection_id":136799,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a42ad90012d7d390005d2ba98000000b00d..."} 
[2026-07-19 17:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a42ad90012d7d390005d2ba98000000b00d..."} 
[2026-07-19 17:35:24] local.INFO: Processing buffer {"connection_id":136799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a42ad90012d7d390005d2ba98000000b00d..."} 
[2026-07-19 17:35:24] local.INFO: Packet analysis {"connection_id":136799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:35:24] local.INFO: Extracted packet for processing {"connection_id":136799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:35:24] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":97696408,"longitude_deg":76.3181312,"latitude_deg":9.7696408,"altitude":0,"angle":176,"satellites":13,"speed":22,"hex_longitude":"2d7d3900","hex_latitude":"05d2ba98","is_valid_coordinates":true} 
[2026-07-19 17:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822425088001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108213569333493760,"note":"Value kept but may cause issues"} 
[2026-07-19 17:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022750772216469504,"note":"Value kept but may cause issues"} 
[2026-07-19 17:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784462618000,"timestamp_ms":1784462618000,"timestamp_seconds":1784462618,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a42ad90"} 
[2026-07-19 17:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:35:24] 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-07-19 17:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-19 17:35:24] 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-07-19 17:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":136799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":136799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":136799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:35:24] 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-07-19 17:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822425088001,"66":12982,"115":206,"85":15104,"24":22,"16":108213569333493760,"45":9022750772216469504},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-19 17:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822425088001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:35:24] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-19 17:35:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108213569333493760,"km_value":108213569333493.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022750772216469504,"description":"Unknown IO ID 45"} 
[2026-07-19 17:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822425088001,"power":12982,"unknown_115":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9022750772216469504}} 
[2026-07-19 17:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":136799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:35:24] local.INFO: GPS data processed {"connection_id":136799,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:35:24] local.INFO: Acknowledgment sent {"connection_id":136799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:35:27] local.INFO: TCP Data received {"connection_id":136695,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a41d6b8012d1821c00721b3a8005700d228..."} 
[2026-07-19 17:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a41d6b8012d1821c00721b3a8005700d228..."} 
[2026-07-19 17:35:27] local.INFO: Processing buffer {"connection_id":136695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a41d6b8012d1821c00721b3a8005700d228..."} 
[2026-07-19 17:35:27] local.INFO: Packet analysis {"connection_id":136695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a41"} 
[2026-07-19 17:35:27] local.INFO: Extracted packet for processing {"connection_id":136695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a41"} 
[2026-07-19 17:35:27] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649192,"longitude_deg":75.6556224,"latitude_deg":11.9649192,"altitude":87,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822410752001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206783323996160,"note":"Value kept but may cause issues"} 
[2026-07-19 17:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004448256,"note":"Value kept but may cause issues"} 
[2026-07-19 17:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784462563000,"timestamp_ms":1784462563000,"timestamp_seconds":1784462563,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a41d6b8"} 
[2026-07-19 17:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:35: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-07-19 17: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-19 17:35:27] 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-07-19 17: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-07-19 17:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822410752001,"66":13004,"105":206,"83":41984,"24":0,"16":7206783323996160,"45":1738882068004448256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822410752001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:35:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:35:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206783323996160,"km_value":7206783323996.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004448256,"description":"Unknown IO ID 45"} 
[2026-07-19 17:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822410752001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004448256}} 
[2026-07-19 17:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":136695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:35:27] local.INFO: GPS data processed {"connection_id":136695,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:35:27] local.INFO: Acknowledgment sent {"connection_id":136695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:35:31] local.INFO: TCP Data received {"connection_id":136801,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:35:31] local.INFO: Processing buffer {"connection_id":136801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:35:31] local.INFO: IMEI packet received {"connection_id":136801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":136801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:35:36] local.INFO: TCP Data received {"connection_id":136801,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:35:36] local.INFO: Processing buffer {"connection_id":136801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:35:36] local.INFO: IMEI packet received {"connection_id":136801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":136801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:35:37] local.INFO: TCP Data received {"connection_id":136801,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:35:37] local.INFO: Processing buffer {"connection_id":136801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:35:37] local.INFO: Packet analysis {"connection_id":136801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:35:37] local.INFO: Extracted packet for processing {"connection_id":136801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822352640001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:35: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-07-19 17:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784462616000,"timestamp_ms":1784462616000,"timestamp_seconds":1784462616,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a42a5c0"} 
[2026-07-19 17:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822352640001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822352640001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:35:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822352640001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":136801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:35:37] local.INFO: GPS data processed {"connection_id":136801,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:35:37] local.INFO: Acknowledgment sent {"connection_id":136801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:35:47] local.INFO: TCP Data received {"connection_id":137761,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:35:47] local.INFO: Processing buffer {"connection_id":137761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:35:47] local.INFO: IMEI packet received {"connection_id":137761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":137761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:35:51] local.INFO: TCP Data received {"connection_id":137761,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:35:51] local.INFO: Processing buffer {"connection_id":137761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:35:51] local.INFO: IMEI packet received {"connection_id":137761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":137761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:35:55] local.INFO: TCP Data received {"connection_id":136799,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a441cc0012d7d40c005d261d0000100bd0e..."} 
[2026-07-19 17:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a441cc0012d7d40c005d261d0000100bd0e..."} 
[2026-07-19 17:35:55] local.INFO: Processing buffer {"connection_id":136799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a441cc0012d7d40c005d261d0000100bd0e..."} 
[2026-07-19 17:35:55] local.INFO: Packet analysis {"connection_id":136799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a44"} 
[2026-07-19 17:35:55] local.INFO: Extracted packet for processing {"connection_id":136799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a44"} 
[2026-07-19 17:35:55] local.INFO: GPS Element Parsed {"raw_longitude":763183296,"raw_latitude":97673680,"longitude_deg":76.3183296,"latitude_deg":9.767368,"altitude":1,"angle":189,"satellites":14,"speed":25,"hex_longitude":"2d7d40c0","hex_latitude":"05d261d0","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822450176001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108214763334402048,"note":"Value kept but may cause issues"} 
[2026-07-19 17:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026339578164070400,"note":"Value kept but may cause issues"} 
[2026-07-19 17:35:55] 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-07-19 17:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784462712000,"timestamp_ms":1784462712000,"timestamp_seconds":1784462712,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a441cc0"} 
[2026-07-19 17:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:35:55] 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-07-19 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-19 17:35: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-07-19 17: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-07-19 17:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":136799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":136799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":136799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:35:55] 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-07-19 17:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822450176001,"66":12982,"117":206,"85":15104,"24":25,"16":108214763334402048,"45":9026339578164070400},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-19 17:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822450176001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:35:55] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-19 17:35:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108214763334402048,"km_value":108214763334402.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026339578164070400,"description":"Unknown IO ID 45"} 
[2026-07-19 17:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822450176001,"power":12982,"unknown_117":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9026339578164070400}} 
[2026-07-19 17:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":136799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:35:55] local.INFO: GPS data processed {"connection_id":136799,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:35:55] local.INFO: Acknowledgment sent {"connection_id":136799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:35:55] local.INFO: TCP Data received {"connection_id":137761,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:35:55] local.INFO: Processing buffer {"connection_id":137761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:35:55] local.INFO: IMEI packet received {"connection_id":137761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":137761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:35:56] local.INFO: TCP Data received {"connection_id":137761,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4228c0012d1821c00721b3a8005700d227..."} 
[2026-07-19 17:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4228c0012d1821c00721b3a8005700d227..."} 
[2026-07-19 17:35:56] local.INFO: Processing buffer {"connection_id":137761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4228c0012d1821c00721b3a8005700d227..."} 
[2026-07-19 17:35:56] local.INFO: Packet analysis {"connection_id":137761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:35:56] local.INFO: Extracted packet for processing {"connection_id":137761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:35:56] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649192,"longitude_deg":75.6556224,"latitude_deg":11.9649192,"altitude":87,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822416128001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206783323996160,"note":"Value kept but may cause issues"} 
[2026-07-19 17:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004448256,"note":"Value kept but may cause issues"} 
[2026-07-19 17:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784462584000,"timestamp_ms":1784462584000,"timestamp_seconds":1784462584,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4228c0"} 
[2026-07-19 17:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:35: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-07-19 17: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-19 17:35:56] 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-07-19 17: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-07-19 17:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822416128001,"66":12950,"105":206,"83":41984,"24":0,"16":7206783323996160,"45":1738882068004448256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822416128001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:35:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:35:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206783323996160,"km_value":7206783323996.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004448256,"description":"Unknown IO ID 45"} 
[2026-07-19 17:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822416128001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004448256}} 
[2026-07-19 17:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":137761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:35:56] local.INFO: GPS data processed {"connection_id":137761,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:35:56] local.INFO: Acknowledgment sent {"connection_id":137761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:36:09] local.INFO: TCP Data received {"connection_id":136801,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:36:09] local.INFO: Processing buffer {"connection_id":136801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:36:09] local.INFO: Packet analysis {"connection_id":136801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:36:09] local.INFO: Extracted packet for processing {"connection_id":136801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822352640001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:36: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-07-19 17:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784462616000,"timestamp_ms":1784462616000,"timestamp_seconds":1784462616,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a42a5c0"} 
[2026-07-19 17:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:36:09] 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-07-19 17:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822352640001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822352640001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:36:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822352640001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":136801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:36:09] local.INFO: GPS data processed {"connection_id":136801,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:36:09] local.INFO: Acknowledgment sent {"connection_id":136801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:36:15] local.INFO: TCP Data received {"connection_id":139157,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:36:15] local.INFO: Processing buffer {"connection_id":139157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:36:15] local.INFO: IMEI packet received {"connection_id":139157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":139157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:36:21] local.INFO: TCP Data received {"connection_id":139157,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:36:21] local.INFO: Processing buffer {"connection_id":139157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:36:21] local.INFO: IMEI packet received {"connection_id":139157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":139157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:36:21] local.INFO: TCP Data received {"connection_id":139157,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a446ae0012d7d3b4005d24450000600be0f..."} 
[2026-07-19 17:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a446ae0012d7d3b4005d24450000600be0f..."} 
[2026-07-19 17:36:21] local.INFO: Processing buffer {"connection_id":139157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a446ae0012d7d3b4005d24450000600be0f..."} 
[2026-07-19 17:36:21] local.INFO: Packet analysis {"connection_id":139157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a44"} 
[2026-07-19 17:36:21] local.INFO: Extracted packet for processing {"connection_id":139157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a44"} 
[2026-07-19 17:36:21] local.INFO: GPS Element Parsed {"raw_longitude":763181888,"raw_latitude":97666128,"longitude_deg":76.3181888,"latitude_deg":9.7666128,"altitude":6,"angle":190,"satellites":15,"speed":13,"hex_longitude":"2d7d3b40","hex_latitude":"05d24450","is_valid_coordinates":true} 
[2026-07-19 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-07-19 17:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822454272001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108215136996556800,"note":"Value kept but may cause issues"} 
[2026-07-19 17:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025424784487469056,"note":"Value kept but may cause issues"} 
[2026-07-19 17:36:21] 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-07-19 17:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784462732000,"timestamp_ms":1784462732000,"timestamp_seconds":1784462732,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a446ae0"} 
[2026-07-19 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-07-19 17:36: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-07-19 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-19 17:36: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-07-19 17:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 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-07-19 17:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":139157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":139157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":139157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:36:21] 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-07-19 17:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822454272001,"66":13048,"23":206,"85":15104,"24":13,"16":108215136996556800,"45":9025424784487469056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-19 17:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822454272001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:36:21] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-19 17:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108215136996556800,"km_value":108215136996556.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025424784487469056,"description":"Unknown IO ID 45"} 
[2026-07-19 17:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822454272001,"power":13048,"unknown_23":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9025424784487469056}} 
[2026-07-19 17:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":139157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:36:21] local.INFO: GPS data processed {"connection_id":139157,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:36:21] local.INFO: Acknowledgment sent {"connection_id":139157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:36:27] local.INFO: TCP Data received {"connection_id":137761,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a427ac8012d1821c00721b3a8005700d22a..."} 
[2026-07-19 17:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a427ac8012d1821c00721b3a8005700d22a..."} 
[2026-07-19 17:36:27] local.INFO: Processing buffer {"connection_id":137761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a427ac8012d1821c00721b3a8005700d22a..."} 
[2026-07-19 17:36:27] local.INFO: Packet analysis {"connection_id":137761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:36:27] local.INFO: Extracted packet for processing {"connection_id":137761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:36:27] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649192,"longitude_deg":75.6556224,"latitude_deg":11.9649192,"altitude":87,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822421504001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206783323996160,"note":"Value kept but may cause issues"} 
[2026-07-19 17:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004448256,"note":"Value kept but may cause issues"} 
[2026-07-19 17:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784462605000,"timestamp_ms":1784462605000,"timestamp_seconds":1784462605,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a427ac8"} 
[2026-07-19 17:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:36: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-07-19 17: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-19 17:36:27] 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-07-19 17: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-07-19 17:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822421504001,"66":12711,"105":206,"83":41984,"24":0,"16":7206783323996160,"45":1738882068004448256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822421504001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:36:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:36:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206783323996160,"km_value":7206783323996.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004448256,"description":"Unknown IO ID 45"} 
[2026-07-19 17:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822421504001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004448256}} 
[2026-07-19 17:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":137761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:36:27] local.INFO: GPS data processed {"connection_id":137761,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:36:27] local.INFO: Acknowledgment sent {"connection_id":137761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:36:31] local.INFO: TCP Data received {"connection_id":137763,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:36:31] local.INFO: Processing buffer {"connection_id":137763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:36:31] local.INFO: IMEI packet received {"connection_id":137763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":137763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:36:36] local.INFO: TCP Data received {"connection_id":137763,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:36:36] local.INFO: Processing buffer {"connection_id":137763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:36:36] local.INFO: IMEI packet received {"connection_id":137763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":137763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:36:37] local.INFO: TCP Data received {"connection_id":137763,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:36:37] local.INFO: Processing buffer {"connection_id":137763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:36:37] local.INFO: Packet analysis {"connection_id":137763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:36:37] local.INFO: Extracted packet for processing {"connection_id":137763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822352640001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:36: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-07-19 17:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784462616000,"timestamp_ms":1784462616000,"timestamp_seconds":1784462616,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a42a5c0"} 
[2026-07-19 17:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822352640001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822352640001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822352640001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":137763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:36:37] local.INFO: GPS data processed {"connection_id":137763,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:36:37] local.INFO: Acknowledgment sent {"connection_id":137763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:36:51] local.INFO: TCP Data received {"connection_id":139158,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:36:51] local.INFO: Processing buffer {"connection_id":139158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:36:51] local.INFO: IMEI packet received {"connection_id":139158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":139158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:36:51] local.INFO: TCP Data received {"connection_id":139158,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:36:51] local.INFO: Processing buffer {"connection_id":139158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:36:51] local.INFO: IMEI packet received {"connection_id":139158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":139158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:36:53] local.INFO: TCP Data received {"connection_id":139157,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a44b130012d7d348005d22000000700bc10..."} 
[2026-07-19 17:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a44b130012d7d348005d22000000700bc10..."} 
[2026-07-19 17:36:53] local.INFO: Processing buffer {"connection_id":139157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a44b130012d7d348005d22000000700bc10..."} 
[2026-07-19 17:36:53] local.INFO: Packet analysis {"connection_id":139157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a44"} 
[2026-07-19 17:36:53] local.INFO: Extracted packet for processing {"connection_id":139157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a44"} 
[2026-07-19 17:36:53] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":97656832,"longitude_deg":76.318016,"latitude_deg":9.7656832,"altitude":7,"angle":188,"satellites":16,"speed":31,"hex_longitude":"2d7d3480","hex_latitude":"05d22000","is_valid_coordinates":true} 
[2026-07-19 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-07-19 17:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822459392001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108215596558057472,"note":"Value kept but may cause issues"} 
[2026-07-19 17:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023876672113627136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:36:53] 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-07-19 17:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784462750000,"timestamp_ms":1784462750000,"timestamp_seconds":1784462750,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a44b130"} 
[2026-07-19 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-07-19 17:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-19 17:36:53] 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-07-19 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-07-19 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-07-19 17:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":139157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":139157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":139157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:36:53] 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-07-19 17:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822459392001,"66":12058,"23":206,"85":15104,"24":31,"16":108215596558057472,"45":9023876672113627136},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-19 17:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822459392001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:36:53] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-19 17:36:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108215596558057472,"km_value":108215596558057.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023876672113627136,"description":"Unknown IO ID 45"} 
[2026-07-19 17:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822459392001,"power":12058,"unknown_23":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9023876672113627136}} 
[2026-07-19 17:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":139157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:36:53] local.INFO: GPS data processed {"connection_id":139157,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:36:53] local.INFO: Acknowledgment sent {"connection_id":139157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:36:55] local.INFO: TCP Data received {"connection_id":139158,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:36:55] local.INFO: Processing buffer {"connection_id":139158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:36:55] local.INFO: IMEI packet received {"connection_id":139158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":139158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:36:56] local.INFO: TCP Data received {"connection_id":139158,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a42ccd0012d1821c00721b3a8005700d22a..."} 
[2026-07-19 17:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a42ccd0012d1821c00721b3a8005700d22a..."} 
[2026-07-19 17:36:56] local.INFO: Processing buffer {"connection_id":139158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a42ccd0012d1821c00721b3a8005700d22a..."} 
[2026-07-19 17:36:56] local.INFO: Packet analysis {"connection_id":139158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:36:56] local.INFO: Extracted packet for processing {"connection_id":139158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:36:56] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649192,"longitude_deg":75.6556224,"latitude_deg":11.9649192,"altitude":87,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822426880001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206783323996160,"note":"Value kept but may cause issues"} 
[2026-07-19 17:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004448256,"note":"Value kept but may cause issues"} 
[2026-07-19 17:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784462626000,"timestamp_ms":1784462626000,"timestamp_seconds":1784462626,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a42ccd0"} 
[2026-07-19 17:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:36: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-07-19 17: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-19 17:36:56] 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-07-19 17: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-07-19 17:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822426880001,"66":12841,"105":206,"83":41984,"24":0,"16":7206783323996160,"45":1738882068004448256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822426880001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:36:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:36:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206783323996160,"km_value":7206783323996.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004448256,"description":"Unknown IO ID 45"} 
[2026-07-19 17:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822426880001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004448256}} 
[2026-07-19 17:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":139158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:36:56] local.INFO: GPS data processed {"connection_id":139158,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:36:56] local.INFO: Acknowledgment sent {"connection_id":139158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:37:08] local.INFO: TCP Data received {"connection_id":137763,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:37:08] local.INFO: Processing buffer {"connection_id":137763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:37:08] local.INFO: Packet analysis {"connection_id":137763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:37:08] local.INFO: Extracted packet for processing {"connection_id":137763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822352640001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17: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-07-19 17:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784462616000,"timestamp_ms":1784462616000,"timestamp_seconds":1784462616,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a42a5c0"} 
[2026-07-19 17:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:37: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-07-19 17:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822352640001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822352640001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:37:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822352640001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":137763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:37:08] local.INFO: GPS data processed {"connection_id":137763,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:37:08] local.INFO: Acknowledgment sent {"connection_id":137763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:37:26] local.INFO: TCP Data received {"connection_id":136696,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:37:26] local.INFO: Processing buffer {"connection_id":136696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:37:26] local.INFO: IMEI packet received {"connection_id":136696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":136696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:37:26] local.INFO: TCP Data received {"connection_id":136696,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:37:26] local.INFO: Processing buffer {"connection_id":136696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:37:26] local.INFO: IMEI packet received {"connection_id":136696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":136696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:37:27] local.INFO: TCP Data received {"connection_id":139158,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a431ed8012d181fc00721b230005100d22a..."} 
[2026-07-19 17:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a431ed8012d181fc00721b230005100d22a..."} 
[2026-07-19 17:37:27] local.INFO: Processing buffer {"connection_id":139158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a431ed8012d181fc00721b230005100d22a..."} 
[2026-07-19 17:37:27] local.INFO: Packet analysis {"connection_id":139158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a43"} 
[2026-07-19 17:37:27] local.INFO: Extracted packet for processing {"connection_id":139158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a43"} 
[2026-07-19 17:37:27] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648816,"longitude_deg":75.6555712,"latitude_deg":11.9648816,"altitude":81,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822432256001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206817683734528,"note":"Value kept but may cause issues"} 
[2026-07-19 17:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004448256,"note":"Value kept but may cause issues"} 
[2026-07-19 17:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784462647000,"timestamp_ms":1784462647000,"timestamp_seconds":1784462647,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a431ed8"} 
[2026-07-19 17:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:37:27] 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-07-19 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-19 17:37: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-07-19 17: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-07-19 17:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822432256001,"66":12874,"105":206,"83":41984,"24":0,"16":7206817683734528,"45":1738882068004448256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822432256001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:37:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:37:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206817683734528,"km_value":7206817683734.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004448256,"description":"Unknown IO ID 45"} 
[2026-07-19 17:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822432256001,"power":12874,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004448256}} 
[2026-07-19 17:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":139158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:37:27] local.INFO: GPS data processed {"connection_id":139158,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:37:27] local.INFO: Acknowledgment sent {"connection_id":139158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:37:27] local.INFO: TCP Data received {"connection_id":136696,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a44e010012d7d300005d1faa8000900b410..."} 
[2026-07-19 17:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a44e010012d7d300005d1faa8000900b410..."} 
[2026-07-19 17:37:27] local.INFO: Processing buffer {"connection_id":136696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a44e010012d7d300005d1faa8000900b410..."} 
[2026-07-19 17:37:27] local.INFO: Packet analysis {"connection_id":136696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a44"} 
[2026-07-19 17:37:27] local.INFO: Extracted packet for processing {"connection_id":136696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a44"} 
[2026-07-19 17:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763179008,"raw_latitude":97647272,"longitude_deg":76.3179008,"latitude_deg":9.7647272,"altitude":9,"angle":180,"satellites":16,"speed":35,"hex_longitude":"2d7d3000","hex_latitude":"05d1faa8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822464000001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108216064709492736,"note":"Value kept but may cause issues"} 
[2026-07-19 17:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716018450432,"note":"Value kept but may cause issues"} 
[2026-07-19 17:37:27] 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-07-19 17:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784462762000,"timestamp_ms":1784462762000,"timestamp_seconds":1784462762,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a44e010"} 
[2026-07-19 17:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:37:27] 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-07-19 17: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-19 17:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:37:27] 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-07-19 17:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822464000001,"66":13135,"23":206,"85":15104,"24":35,"16":108216064709492736,"45":9021976716018450432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-19 17:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822464000001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:37:27] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-19 17:37:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108216064709492736,"km_value":108216064709492.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716018450432,"description":"Unknown IO ID 45"} 
[2026-07-19 17:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822464000001,"power":13135,"unknown_23":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9021976716018450432}} 
[2026-07-19 17:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":136696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:37:28] local.INFO: GPS data processed {"connection_id":136696,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:37:28] local.INFO: Acknowledgment sent {"connection_id":136696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:37:29] local.INFO: TCP Data received {"connection_id":136696,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a450720012d7d314005d1d660000d00b111..."} 
[2026-07-19 17:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a450720012d7d314005d1d660000d00b111..."} 
[2026-07-19 17:37:29] local.INFO: Processing buffer {"connection_id":136696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a450720012d7d314005d1d660000d00b111..."} 
[2026-07-19 17:37:29] local.INFO: Packet analysis {"connection_id":136696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a45"} 
[2026-07-19 17:37:29] local.INFO: Extracted packet for processing {"connection_id":136696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a45"} 
[2026-07-19 17:37:29] local.INFO: GPS Element Parsed {"raw_longitude":763179328,"raw_latitude":97637984,"longitude_deg":76.3179328,"latitude_deg":9.7637984,"altitude":13,"angle":177,"satellites":17,"speed":37,"hex_longitude":"2d7d3140","hex_latitude":"05d1d660","is_valid_coordinates":true} 
[2026-07-19 17:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822467072001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108216515681058816,"note":"Value kept but may cause issues"} 
[2026-07-19 17:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020710078620805120,"note":"Value kept but may cause issues"} 
[2026-07-19 17:37:29] 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-07-19 17:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784462772000,"timestamp_ms":1784462772000,"timestamp_seconds":1784462772,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a450720"} 
[2026-07-19 17:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:37:29] 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-07-19 17:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-19 17:37:29] 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-07-19 17:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":136696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":136696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":136696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:37:29] 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-07-19 17:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822467072001,"66":13135,"23":206,"85":15104,"24":37,"16":108216515681058816,"45":9020710078620805120},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-19 17:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822467072001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:37:29] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-19 17:37:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108216515681058816,"km_value":108216515681058.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020710078620805120,"description":"Unknown IO ID 45"} 
[2026-07-19 17:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822467072001,"power":13135,"unknown_23":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9020710078620805120}} 
[2026-07-19 17:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":136696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:37:29] local.INFO: GPS data processed {"connection_id":136696,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:37:29] local.INFO: Acknowledgment sent {"connection_id":136696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:37:31] local.INFO: TCP Data received {"connection_id":137764,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:37:31] local.INFO: Processing buffer {"connection_id":137764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:37:31] local.INFO: IMEI packet received {"connection_id":137764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":137764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:37:36] local.INFO: TCP Data received {"connection_id":137764,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:37:36] local.INFO: Processing buffer {"connection_id":137764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:37:36] local.INFO: IMEI packet received {"connection_id":137764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":137764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:37:36] local.INFO: TCP Data received {"connection_id":137764,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:37:36] local.INFO: Processing buffer {"connection_id":137764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:37:36] local.INFO: Packet analysis {"connection_id":137764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:37:36] local.INFO: Extracted packet for processing {"connection_id":137764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822352640001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:37: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-07-19 17:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784462616000,"timestamp_ms":1784462616000,"timestamp_seconds":1784462616,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a42a5c0"} 
[2026-07-19 17:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17: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":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:37:36] 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-07-19 17:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822352640001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822352640001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:37:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:37:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822352640001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":137764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:37:37] local.INFO: GPS data processed {"connection_id":137764,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:37:37] local.INFO: Acknowledgment sent {"connection_id":137764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:37:51] local.INFO: TCP Data received {"connection_id":136802,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:37:51] local.INFO: Processing buffer {"connection_id":136802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:37:51] local.INFO: IMEI packet received {"connection_id":136802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":136802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:37:54] local.INFO: TCP Data received {"connection_id":136802,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:37:54] local.INFO: Processing buffer {"connection_id":136802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:37:54] local.INFO: IMEI packet received {"connection_id":136802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":136802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:37:55] local.INFO: TCP Data received {"connection_id":136802,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:37:55] local.INFO: Processing buffer {"connection_id":136802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:37:55] local.INFO: IMEI packet received {"connection_id":136802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":136802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:37:56] local.INFO: TCP Data received {"connection_id":136802,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4370e0012d181fc00721b230005100d22a..."} 
[2026-07-19 17:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4370e0012d181fc00721b230005100d22a..."} 
[2026-07-19 17:37:56] local.INFO: Processing buffer {"connection_id":136802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4370e0012d181fc00721b230005100d22a..."} 
[2026-07-19 17:37:56] local.INFO: Packet analysis {"connection_id":136802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a43"} 
[2026-07-19 17:37:56] local.INFO: Extracted packet for processing {"connection_id":136802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a43"} 
[2026-07-19 17:37:56] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648816,"longitude_deg":75.6555712,"latitude_deg":11.9648816,"altitude":81,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822437632001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206817683734528,"note":"Value kept but may cause issues"} 
[2026-07-19 17:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050930688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784462668000,"timestamp_ms":1784462668000,"timestamp_seconds":1784462668,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4370e0"} 
[2026-07-19 17:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:37: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-07-19 17: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-19 17:37:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822437632001,"66":12852,"105":206,"83":41984,"24":0,"16":7206817683734528,"45":1738319118050930688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822437632001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:37:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:37:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206817683734528,"km_value":7206817683734.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050930688,"description":"Unknown IO ID 45"} 
[2026-07-19 17:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822437632001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050930688}} 
[2026-07-19 17:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":136802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:37:56] local.INFO: GPS data processed {"connection_id":136802,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:37:56] local.INFO: Acknowledgment sent {"connection_id":136802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:38:00] local.INFO: TCP Data received {"connection_id":136696,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a452e30012d7d344005d1b080000e00b011..."} 
[2026-07-19 17:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a452e30012d7d344005d1b080000e00b011..."} 
[2026-07-19 17:38:00] local.INFO: Processing buffer {"connection_id":136696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a452e30012d7d344005d1b080000e00b011..."} 
[2026-07-19 17:38:00] local.INFO: Packet analysis {"connection_id":136696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a45"} 
[2026-07-19 17:38:00] local.INFO: Extracted packet for processing {"connection_id":136696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a45"} 
[2026-07-19 17:38:00] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":97628288,"longitude_deg":76.3180096,"latitude_deg":9.7628288,"altitude":14,"angle":176,"satellites":17,"speed":34,"hex_longitude":"2d7d3440","hex_latitude":"05d1b080","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822469632001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108216988127461376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021061922339315712,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38:00] 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-07-19 17:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784462782000,"timestamp_ms":1784462782000,"timestamp_seconds":1784462782,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a452e30"} 
[2026-07-19 17:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:38: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-07-19 17: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-19 17:38:00] 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-07-19 17: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-07-19 17:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":136696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":136696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":136696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:38:00] 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-07-19 17:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822469632001,"66":12885,"197":206,"85":15104,"24":34,"16":108216988127461376,"45":9021061922339315712},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 17:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822469632001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:38:00] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 17:38:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108216988127461376,"km_value":108216988127461.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021061922339315712,"description":"Unknown IO ID 45"} 
[2026-07-19 17:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822469632001,"power":12885,"unknown_197":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9021061922339315712}} 
[2026-07-19 17:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":136696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:38:00] local.INFO: GPS data processed {"connection_id":136696,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:38:00] local.INFO: Acknowledgment sent {"connection_id":136696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:38:01] local.INFO: TCP Data received {"connection_id":136802,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a43c2e8012d181fc00721b230005100d229..."} 
[2026-07-19 17:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a43c2e8012d181fc00721b230005100d229..."} 
[2026-07-19 17:38:01] local.INFO: Processing buffer {"connection_id":136802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a43c2e8012d181fc00721b230005100d229..."} 
[2026-07-19 17:38:01] local.INFO: Packet analysis {"connection_id":136802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a43"} 
[2026-07-19 17:38:01] local.INFO: Extracted packet for processing {"connection_id":136802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a43"} 
[2026-07-19 17:38:01] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648816,"longitude_deg":75.6555712,"latitude_deg":11.9648816,"altitude":81,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822443008001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206817683734528,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050930688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784462689000,"timestamp_ms":1784462689000,"timestamp_seconds":1784462689,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a43c2e8"} 
[2026-07-19 17:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:38: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-07-19 17: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 17:38:01] 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-07-19 17: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-07-19 17:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822443008001,"66":12841,"105":206,"83":41984,"24":0,"16":7206817683734528,"45":1738319118050930688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822443008001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:38:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:38:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206817683734528,"km_value":7206817683734.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050930688,"description":"Unknown IO ID 45"} 
[2026-07-19 17:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822443008001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050930688}} 
[2026-07-19 17:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":136802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:38:01] local.INFO: GPS data processed {"connection_id":136802,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:38:01] local.INFO: Acknowledgment sent {"connection_id":136802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:38:08] local.INFO: TCP Data received {"connection_id":137764,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:38:08] local.INFO: Processing buffer {"connection_id":137764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:38:08] local.INFO: Packet analysis {"connection_id":137764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:38:08] local.INFO: Extracted packet for processing {"connection_id":137764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822352640001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38: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-07-19 17:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784462616000,"timestamp_ms":1784462616000,"timestamp_seconds":1784462616,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a42a5c0"} 
[2026-07-19 17:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:38: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-07-19 17:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:38: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-07-19 17:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822352640001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822352640001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:38:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:38:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822352640001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":137764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:38:08] local.INFO: GPS data processed {"connection_id":137764,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:38:08] local.INFO: Acknowledgment sent {"connection_id":137764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:38:15] local.INFO: TCP Data received {"connection_id":137765,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:38:15] local.INFO: Processing buffer {"connection_id":137765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:38:15] local.INFO: IMEI packet received {"connection_id":137765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":137765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:38:17] local.INFO: TCP Data received {"connection_id":137765,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:38:17] local.INFO: Processing buffer {"connection_id":137765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:38:17] local.INFO: IMEI packet received {"connection_id":137765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":137765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:38:21] local.INFO: TCP Data received {"connection_id":137765,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:38:21] local.INFO: Processing buffer {"connection_id":137765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:38:21] local.INFO: IMEI packet received {"connection_id":137765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":137765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:38:22] local.INFO: TCP Data received {"connection_id":137765,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4689d8012d7d4bc005d01f50001000b213..."} 
[2026-07-19 17:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4689d8012d7d4bc005d01f50001000b213..."} 
[2026-07-19 17:38:22] local.INFO: Processing buffer {"connection_id":137765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4689d8012d7d4bc005d01f50001000b213..."} 
[2026-07-19 17:38:22] local.INFO: Packet analysis {"connection_id":137765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a46"} 
[2026-07-19 17:38:22] local.INFO: Extracted packet for processing {"connection_id":137765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a46"} 
[2026-07-19 17:38:22] local.INFO: GPS Element Parsed {"raw_longitude":763186112,"raw_latitude":97525584,"longitude_deg":76.3186112,"latitude_deg":9.7525584,"altitude":16,"angle":178,"satellites":19,"speed":48,"hex_longitude":"2d7d4bc0","hex_latitude":"05d01f50","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822492928001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108221978879459328,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028239534219124736,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38:22] 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-07-19 17:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784462871000,"timestamp_ms":1784462871000,"timestamp_seconds":1784462871,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4689d8"} 
[2026-07-19 17:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:38: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-07-19 17: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-19 17:38:22] 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-07-19 17: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-07-19 17:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":137765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":137765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":137765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:38:22] 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-07-19 17:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822492928001,"66":12798,"197":206,"85":15104,"24":48,"16":108221978879459328,"45":9028239534219124736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 17:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822492928001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:38:22] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 17:38:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108221978879459328,"km_value":108221978879459.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028239534219124736,"description":"Unknown IO ID 45"} 
[2026-07-19 17:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822492928001,"power":12798,"unknown_197":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9028239534219124736}} 
[2026-07-19 17:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":137765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:38:22] local.INFO: GPS data processed {"connection_id":137765,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:38:22] local.INFO: Acknowledgment sent {"connection_id":137765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:38:30] local.INFO: TCP Data received {"connection_id":136697,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:38:30] local.INFO: Processing buffer {"connection_id":136697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:38:30] local.INFO: IMEI packet received {"connection_id":136697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":136697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:38:32] local.INFO: TCP Data received {"connection_id":136802,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4414f0012d181fc00721b230005100d229..."} 
[2026-07-19 17:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4414f0012d181fc00721b230005100d229..."} 
[2026-07-19 17:38:32] local.INFO: Processing buffer {"connection_id":136802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4414f0012d181fc00721b230005100d229..."} 
[2026-07-19 17:38:32] local.INFO: Packet analysis {"connection_id":136802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a44"} 
[2026-07-19 17:38:32] local.INFO: Extracted packet for processing {"connection_id":136802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a44"} 
[2026-07-19 17:38:32] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648816,"longitude_deg":75.6555712,"latitude_deg":11.9648816,"altitude":81,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822448384001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206817683734528,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050930688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784462710000,"timestamp_ms":1784462710000,"timestamp_seconds":1784462710,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4414f0"} 
[2026-07-19 17:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:38: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-07-19 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-19 17:38:32] 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-07-19 17: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-07-19 17:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822448384001,"66":12798,"105":206,"83":41984,"24":0,"16":7206817683734528,"45":1738319118050930688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822448384001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:38:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:38:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206817683734528,"km_value":7206817683734.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050930688,"description":"Unknown IO ID 45"} 
[2026-07-19 17:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822448384001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050930688}} 
[2026-07-19 17:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":136802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:38:32] local.INFO: GPS data processed {"connection_id":136802,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:38:32] local.INFO: Acknowledgment sent {"connection_id":136802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:38:36] local.INFO: TCP Data received {"connection_id":136697,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:38:36] local.INFO: Processing buffer {"connection_id":136697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:38:36] local.INFO: IMEI packet received {"connection_id":136697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":136697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:38:37] local.INFO: TCP Data received {"connection_id":136697,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:38:37] local.INFO: Processing buffer {"connection_id":136697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:38:37] local.INFO: Packet analysis {"connection_id":136697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:38:37] local.INFO: Extracted packet for processing {"connection_id":136697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822352640001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38: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-07-19 17:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784462616000,"timestamp_ms":1784462616000,"timestamp_seconds":1784462616,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a42a5c0"} 
[2026-07-19 17:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822352640001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822352640001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:38:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:38:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822352640001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":136697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:38:37] local.INFO: GPS data processed {"connection_id":136697,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:38:37] local.INFO: Acknowledgment sent {"connection_id":136697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:38:50] local.INFO: TCP Data received {"connection_id":136803,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:38:50] local.INFO: Processing buffer {"connection_id":136803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:38:50] local.INFO: IMEI packet received {"connection_id":136803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":136803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:38:53] local.INFO: TCP Data received {"connection_id":137765,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a46a530012d7d4d8005cff9d0001000b113..."} 
[2026-07-19 17:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a46a530012d7d4d8005cff9d0001000b113..."} 
[2026-07-19 17:38:53] local.INFO: Processing buffer {"connection_id":137765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a46a530012d7d4d8005cff9d0001000b113..."} 
[2026-07-19 17:38:53] local.INFO: Packet analysis {"connection_id":137765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a46"} 
[2026-07-19 17:38:53] local.INFO: Extracted packet for processing {"connection_id":137765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a46"} 
[2026-07-19 17:38:53] local.INFO: GPS Element Parsed {"raw_longitude":763186560,"raw_latitude":97515984,"longitude_deg":76.318656,"latitude_deg":9.7515984,"altitude":16,"angle":177,"satellites":19,"speed":59,"hex_longitude":"2d7d4d80","hex_latitude":"05cff9d0","is_valid_coordinates":true} 
[2026-07-19 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-07-19 17:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822494976001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108222447030894592,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028521009193373696,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38:53] 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-07-19 17:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784462878000,"timestamp_ms":1784462878000,"timestamp_seconds":1784462878,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a46a530"} 
[2026-07-19 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-07-19 17:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-19 17:38:53] 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-07-19 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-07-19 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-07-19 17:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":137765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":137765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":137765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:38:53] 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-07-19 17:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822494976001,"66":13015,"198":206,"85":15104,"24":59,"16":108222447030894592,"45":9028521009193373696},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-07-19 17:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822494976001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:38:53] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-19 17:38:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108222447030894592,"km_value":108222447030894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028521009193373696,"description":"Unknown IO ID 45"} 
[2026-07-19 17:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822494976001,"power":13015,"unknown_198":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9028521009193373696}} 
[2026-07-19 17:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":137765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:38:53] local.INFO: GPS data processed {"connection_id":137765,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:38:53] local.INFO: Acknowledgment sent {"connection_id":137765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:38:55] local.INFO: TCP Data received {"connection_id":136803,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:38:55] local.INFO: Processing buffer {"connection_id":136803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:38:55] local.INFO: IMEI packet received {"connection_id":136803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":136803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:38:56] local.INFO: TCP Data received {"connection_id":136803,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4466f8012d181fc00721b230005100d227..."} 
[2026-07-19 17:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4466f8012d181fc00721b230005100d227..."} 
[2026-07-19 17:38:56] local.INFO: Processing buffer {"connection_id":136803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4466f8012d181fc00721b230005100d227..."} 
[2026-07-19 17:38:56] local.INFO: Packet analysis {"connection_id":136803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a44"} 
[2026-07-19 17:38:56] local.INFO: Extracted packet for processing {"connection_id":136803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a44"} 
[2026-07-19 17:38:56] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648816,"longitude_deg":75.6555712,"latitude_deg":11.9648816,"altitude":81,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822453760001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206817683734528,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050930688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784462731000,"timestamp_ms":1784462731000,"timestamp_seconds":1784462731,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4466f8"} 
[2026-07-19 17:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:38: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-07-19 17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-19 17:38:56] 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-07-19 17:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822453760001,"66":12809,"105":206,"83":41984,"24":0,"16":7206817683734528,"45":1738319118050930688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822453760001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:38:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:38:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206817683734528,"km_value":7206817683734.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050930688,"description":"Unknown IO ID 45"} 
[2026-07-19 17:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822453760001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050930688}} 
[2026-07-19 17:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":136803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:38:56] local.INFO: GPS data processed {"connection_id":136803,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:38:56] local.INFO: Acknowledgment sent {"connection_id":136803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:39:08] local.INFO: TCP Data received {"connection_id":136697,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:39:08] local.INFO: Processing buffer {"connection_id":136697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a42a5c0012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:39:08] local.INFO: Packet analysis {"connection_id":136697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:39:08] local.INFO: Extracted packet for processing {"connection_id":136697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a42"} 
[2026-07-19 17:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822352640001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17: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-07-19 17:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784462616000,"timestamp_ms":1784462616000,"timestamp_seconds":1784462616,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a42a5c0"} 
[2026-07-19 17:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:39: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-07-19 17: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":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:39: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-07-19 17: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-07-19 17:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822352640001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822352640001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:39:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:39:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822352640001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":136697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:39:08] local.INFO: GPS data processed {"connection_id":136697,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:39:08] local.INFO: Acknowledgment sent {"connection_id":136697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:39:15] local.INFO: TCP Data received {"connection_id":136804,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:39:15] local.INFO: Processing buffer {"connection_id":136804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:39:15] local.INFO: IMEI packet received {"connection_id":136804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":136804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:39:21] local.INFO: TCP Data received {"connection_id":136804,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:39:21] local.INFO: Processing buffer {"connection_id":136804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:39:21] local.INFO: IMEI packet received {"connection_id":136804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":136804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:39:21] local.INFO: TCP Data received {"connection_id":136804,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a46bca0012d7d4e8005cfd638001100b213..."} 
[2026-07-19 17:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a46bca0012d7d4e8005cfd638001100b213..."} 
[2026-07-19 17:39:21] local.INFO: Processing buffer {"connection_id":136804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a46bca0012d7d4e8005cfd638001100b213..."} 
[2026-07-19 17:39:21] local.INFO: Packet analysis {"connection_id":136804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a46"} 
[2026-07-19 17:39:21] local.INFO: Extracted packet for processing {"connection_id":136804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a46"} 
[2026-07-19 17:39:21] local.INFO: GPS Element Parsed {"raw_longitude":763186816,"raw_latitude":97506872,"longitude_deg":76.3186816,"latitude_deg":9.7506872,"altitude":17,"angle":178,"satellites":19,"speed":59,"hex_longitude":"2d7d4e80","hex_latitude":"05cfd638","is_valid_coordinates":true} 
[2026-07-19 17:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822496768001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108222889412526080,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029013590400159744,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784462884000,"timestamp_ms":1784462884000,"timestamp_seconds":1784462884,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a46bca0"} 
[2026-07-19 17:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:39:21] 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-07-19 17:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-19 17:39: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-07-19 17:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":136804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":136804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":136804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:39:21] 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-07-19 17:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822496768001,"66":13135,"198":206,"85":15104,"24":59,"16":108222889412526080,"45":9029013590400159744},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-07-19 17:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822496768001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:39:21] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-19 17:39:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108222889412526080,"km_value":108222889412526.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029013590400159744,"description":"Unknown IO ID 45"} 
[2026-07-19 17:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822496768001,"power":13135,"unknown_198":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9029013590400159744}} 
[2026-07-19 17:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":136804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:39:21] local.INFO: GPS data processed {"connection_id":136804,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:39:21] local.INFO: Acknowledgment sent {"connection_id":136804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:39:27] local.INFO: TCP Data received {"connection_id":136803,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a44b900012d181fc00721b230005100d227..."} 
[2026-07-19 17:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a44b900012d181fc00721b230005100d227..."} 
[2026-07-19 17:39:27] local.INFO: Processing buffer {"connection_id":136803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a44b900012d181fc00721b230005100d227..."} 
[2026-07-19 17:39:27] local.INFO: Packet analysis {"connection_id":136803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a44"} 
[2026-07-19 17:39:27] local.INFO: Extracted packet for processing {"connection_id":136803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a44"} 
[2026-07-19 17:39:27] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648816,"longitude_deg":75.6555712,"latitude_deg":11.9648816,"altitude":81,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-07-19 17:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822459136001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206817683734528,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050930688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784462752000,"timestamp_ms":1784462752000,"timestamp_seconds":1784462752,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a44b900"} 
[2026-07-19 17:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:39: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-07-19 17:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-19 17:39:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:27] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2415919104,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:27] local.WARNING: Large IO value detected {"io_id":122,"raw_value":4767271316855726528,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:27] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692851,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-19 17:39:27] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3489738008,"corrected_to":0} 
[2026-07-19 17:39:27] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2592604160,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:27] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428469343495967271,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:27] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-6412900012463698349,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:27] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:27] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,154,159,20,45,192,178,81,41,10,66,194,112,1,240,52,227,122,33,4,113,205,204,168,42,239,50,2,25,7,87,49,164,136],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":204,"original":3489738008,"validated":0}]} 
[2026-07-19 17:39:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836896182017720320,"timestamp_seconds":5836896182017720.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 17:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822459136001,"66":12798,"105":206,"83":41984,"24":0,"16":7206817683734528,"45":1738319118050930688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822459136001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:39:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:39:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206817683734528,"km_value":7206817683734.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050930688,"description":"Unknown IO ID 45"} 
[2026-07-19 17:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822459136001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050930688}} 
[2026-07-19 17:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":136803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:39:27] local.INFO: GPS data processed {"connection_id":136803,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:39:27] local.INFO: Acknowledgment sent {"connection_id":136803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:39:36] local.INFO: TCP Data received {"connection_id":139161,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:39:36] local.INFO: Processing buffer {"connection_id":139161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:39:36] local.INFO: IMEI packet received {"connection_id":139161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":139161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:39:36] local.INFO: TCP Data received {"connection_id":137766,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137766,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:39:36] local.INFO: Processing buffer {"connection_id":137766,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:39:36] local.INFO: IMEI packet received {"connection_id":137766,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 17:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":137766,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:39:41] local.INFO: TCP Data received {"connection_id":139161,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:39:41] local.INFO: Processing buffer {"connection_id":139161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:39:41] local.INFO: IMEI packet received {"connection_id":139161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":139161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:39:42] local.INFO: TCP Data received {"connection_id":139161,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:39:42] local.INFO: Processing buffer {"connection_id":139161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:39:42] local.INFO: Packet analysis {"connection_id":139161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:39:42] local.INFO: Extracted packet for processing {"connection_id":139161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:39:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822429696001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784462917000,"timestamp_ms":1784462917000,"timestamp_seconds":1784462917,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a473d88"} 
[2026-07-19 17:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:39:42] 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-07-19 17:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822429696001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822429696001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:39:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:39:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822429696001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":139161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:39:42] local.INFO: GPS data processed {"connection_id":139161,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:39:42] local.INFO: Acknowledgment sent {"connection_id":139161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:39:46] local.INFO: TCP Data received {"connection_id":139161,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:39:46] local.INFO: Processing buffer {"connection_id":139161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:39:46] local.INFO: Packet analysis {"connection_id":139161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:39:46] local.INFO: Extracted packet for processing {"connection_id":139161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:39:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822429696001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784462917000,"timestamp_ms":1784462917000,"timestamp_seconds":1784462917,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a473d88"} 
[2026-07-19 17:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":139161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":139161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":139161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822429696001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822429696001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:39:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:39:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822429696001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":139161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:39:46] local.INFO: GPS data processed {"connection_id":139161,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:39:46] local.INFO: Acknowledgment sent {"connection_id":139161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:39:52] local.INFO: TCP Data received {"connection_id":136804,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4804c0012d7d490005ce75b8000f00b718..."} 
[2026-07-19 17:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4804c0012d7d490005ce75b8000f00b718..."} 
[2026-07-19 17:39:52] local.INFO: Processing buffer {"connection_id":136804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4804c0012d7d490005ce75b8000f00b718..."} 
[2026-07-19 17:39:52] local.INFO: Packet analysis {"connection_id":136804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a48"} 
[2026-07-19 17:39:52] local.INFO: Extracted packet for processing {"connection_id":136804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a48"} 
[2026-07-19 17:39:52] local.INFO: GPS Element Parsed {"raw_longitude":763185408,"raw_latitude":97416632,"longitude_deg":76.3185408,"latitude_deg":9.7416632,"altitude":15,"angle":183,"satellites":24,"speed":46,"hex_longitude":"2d7d4900","hex_latitude":"05ce75b8","is_valid_coordinates":true} 
[2026-07-19 17:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822517760001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108227270279168000,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028239534191095808,"note":"Value kept but may cause issues"} 
[2026-07-19 17:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784462968000,"timestamp_ms":1784462968000,"timestamp_seconds":1784462968,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4804c0"} 
[2026-07-19 17:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-19 17:39:52] 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-07-19 17:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":136804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":136804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":136804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:39:52] 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-07-19 17:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822517760001,"66":12982,"235":206,"85":15104,"24":46,"16":108227270279168000,"45":9028239534191095808},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-19 17:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822517760001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:39:52] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-19 17:39:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108227270279168000,"km_value":108227270279168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028239534191095808,"description":"Unknown IO ID 45"} 
[2026-07-19 17:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822517760001,"power":12982,"unknown_235":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9028239534191095808}} 
[2026-07-19 17:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":136804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:39:52] local.INFO: GPS data processed {"connection_id":136804,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:39:52] local.INFO: Acknowledgment sent {"connection_id":136804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:39:55] local.INFO: TCP Data received {"connection_id":139162,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:39:55] local.INFO: Processing buffer {"connection_id":139162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:39:55] local.INFO: IMEI packet received {"connection_id":139162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":139162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:40:00] local.INFO: TCP Data received {"connection_id":139162,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:40:00] local.INFO: Processing buffer {"connection_id":139162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:40:00] local.INFO: IMEI packet received {"connection_id":139162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":139162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:40:01] local.INFO: TCP Data received {"connection_id":139162,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a450b08012d181fc00721b230005100d227..."} 
[2026-07-19 17:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a450b08012d181fc00721b230005100d227..."} 
[2026-07-19 17:40:01] local.INFO: Processing buffer {"connection_id":139162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a450b08012d181fc00721b230005100d227..."} 
[2026-07-19 17:40:01] local.INFO: Packet analysis {"connection_id":139162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a45"} 
[2026-07-19 17:40:01] local.INFO: Extracted packet for processing {"connection_id":139162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a45"} 
[2026-07-19 17:40:01] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648816,"longitude_deg":75.6555712,"latitude_deg":11.9648816,"altitude":81,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822464512001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206817683734528,"note":"Value kept but may cause issues"} 
[2026-07-19 17:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050930688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784462773000,"timestamp_ms":1784462773000,"timestamp_seconds":1784462773,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a450b08"} 
[2026-07-19 17:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:40: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-07-19 17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-19 17:40: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-07-19 17: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-07-19 17:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":139162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":139162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":139162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822464512001,"66":12722,"105":206,"83":41984,"24":0,"16":7206817683734528,"45":1738319118050930688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822464512001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:40:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:40:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206817683734528,"km_value":7206817683734.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050930688,"description":"Unknown IO ID 45"} 
[2026-07-19 17:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822464512001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050930688}} 
[2026-07-19 17:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":139162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:40:01] local.INFO: GPS data processed {"connection_id":139162,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:40:01] local.INFO: Acknowledgment sent {"connection_id":139162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:40:01] local.INFO: TCP Data received {"connection_id":139162,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a455d10012d181fc00721b230005100d227..."} 
[2026-07-19 17:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a455d10012d181fc00721b230005100d227..."} 
[2026-07-19 17:40:01] local.INFO: Processing buffer {"connection_id":139162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a455d10012d181fc00721b230005100d227..."} 
[2026-07-19 17:40:01] local.INFO: Packet analysis {"connection_id":139162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a45"} 
[2026-07-19 17:40:01] local.INFO: Extracted packet for processing {"connection_id":139162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a45"} 
[2026-07-19 17:40:01] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648816,"longitude_deg":75.6555712,"latitude_deg":11.9648816,"altitude":81,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822469888001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206817683734528,"note":"Value kept but may cause issues"} 
[2026-07-19 17:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050930688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784462794000,"timestamp_ms":1784462794000,"timestamp_seconds":1784462794,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a455d10"} 
[2026-07-19 17:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:40: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-07-19 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-19 17:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":139162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":139162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":139162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822469888001,"66":12765,"105":206,"83":41984,"24":0,"16":7206817683734528,"45":1738319118050930688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822469888001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:40:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:40:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206817683734528,"km_value":7206817683734.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050930688,"description":"Unknown IO ID 45"} 
[2026-07-19 17:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822469888001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050930688}} 
[2026-07-19 17:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":139162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:40:01] local.INFO: GPS data processed {"connection_id":139162,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:40:01] local.INFO: Acknowledgment sent {"connection_id":139162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:40:15] local.INFO: TCP Data received {"connection_id":139163,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:40:15] local.INFO: Processing buffer {"connection_id":139163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:40:15] local.INFO: IMEI packet received {"connection_id":139163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":139163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:40:21] local.INFO: TCP Data received {"connection_id":139163,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:40:21] local.INFO: Processing buffer {"connection_id":139163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:40:21] local.INFO: IMEI packet received {"connection_id":139163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":139163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:40:21] local.INFO: TCP Data received {"connection_id":139163,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4827e8012d7d470005ce5128000e00b218..."} 
[2026-07-19 17:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4827e8012d7d470005ce5128000e00b218..."} 
[2026-07-19 17:40:21] local.INFO: Processing buffer {"connection_id":139163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4827e8012d7d470005ce5128000e00b218..."} 
[2026-07-19 17:40:21] local.INFO: Packet analysis {"connection_id":139163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a48"} 
[2026-07-19 17:40:21] local.INFO: Extracted packet for processing {"connection_id":139163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a48"} 
[2026-07-19 17:40:21] local.INFO: GPS Element Parsed {"raw_longitude":763184896,"raw_latitude":97407272,"longitude_deg":76.3184896,"latitude_deg":9.7407272,"altitude":14,"angle":178,"satellites":24,"speed":30,"hex_longitude":"2d7d4700","hex_latitude":"05ce5128","is_valid_coordinates":true} 
[2026-07-19 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-07-19 17:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822519808001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108227721250734080,"note":"Value kept but may cause issues"} 
[2026-07-19 17:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027746952979527680,"note":"Value kept but may cause issues"} 
[2026-07-19 17:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784462977000,"timestamp_ms":1784462977000,"timestamp_seconds":1784462977,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4827e8"} 
[2026-07-19 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-07-19 17:40: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-07-19 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-19 17:40: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-07-19 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-07-19 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-07-19 17:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":139163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":139163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":139163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:40:21] 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-07-19 17:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822519808001,"66":12678,"235":206,"85":15104,"24":30,"16":108227721250734080,"45":9027746952979527680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-19 17:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822519808001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:40:21] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-19 17:40:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108227721250734080,"km_value":108227721250734.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027746952979527680,"description":"Unknown IO ID 45"} 
[2026-07-19 17:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822519808001,"power":12678,"unknown_235":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9027746952979527680}} 
[2026-07-19 17:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":139163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:40:21] local.INFO: GPS data processed {"connection_id":139163,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:40:21] local.INFO: Acknowledgment sent {"connection_id":139163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:40:31] local.INFO: TCP Data received {"connection_id":139165,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:40:31] local.INFO: Processing buffer {"connection_id":139165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:40:31] local.INFO: IMEI packet received {"connection_id":139165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":139165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:40:32] local.INFO: TCP Data received {"connection_id":139162,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a45af18012d181fc00721b230005100d22b..."} 
[2026-07-19 17:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a45af18012d181fc00721b230005100d22b..."} 
[2026-07-19 17:40:32] local.INFO: Processing buffer {"connection_id":139162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a45af18012d181fc00721b230005100d22b..."} 
[2026-07-19 17:40:32] local.INFO: Packet analysis {"connection_id":139162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a45"} 
[2026-07-19 17:40:32] local.INFO: Extracted packet for processing {"connection_id":139162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a45"} 
[2026-07-19 17:40:32] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648816,"longitude_deg":75.6555712,"latitude_deg":11.9648816,"altitude":81,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822475264001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206817683734528,"note":"Value kept but may cause issues"} 
[2026-07-19 17:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050930688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784462815000,"timestamp_ms":1784462815000,"timestamp_seconds":1784462815,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a45af18"} 
[2026-07-19 17:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:40: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-07-19 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-19 17:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":139162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":139162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":139162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822475264001,"66":12743,"105":206,"83":41984,"24":0,"16":7206817683734528,"45":1738319118050930688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822475264001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:40:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:40:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206817683734528,"km_value":7206817683734.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050930688,"description":"Unknown IO ID 45"} 
[2026-07-19 17:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822475264001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050930688}} 
[2026-07-19 17:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":139162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:40:32] local.INFO: GPS data processed {"connection_id":139162,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:40:32] local.INFO: Acknowledgment sent {"connection_id":139162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:40:36] local.INFO: TCP Data received {"connection_id":139165,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:40:36] local.INFO: Processing buffer {"connection_id":139165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:40:36] local.INFO: IMEI packet received {"connection_id":139165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":139165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:40:37] local.INFO: TCP Data received {"connection_id":139165,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:40:37] local.INFO: Processing buffer {"connection_id":139165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:40:37] local.INFO: Packet analysis {"connection_id":139165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:40:37] local.INFO: Extracted packet for processing {"connection_id":139165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822429696001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:40: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-07-19 17:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784462917000,"timestamp_ms":1784462917000,"timestamp_seconds":1784462917,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a473d88"} 
[2026-07-19 17:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822429696001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822429696001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:40:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822429696001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":139165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:40:37] local.INFO: GPS data processed {"connection_id":139165,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:40:37] local.INFO: Acknowledgment sent {"connection_id":139165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:40:51] local.INFO: TCP Data received {"connection_id":136698,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:40:51] local.INFO: Processing buffer {"connection_id":136698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:40:51] local.INFO: IMEI packet received {"connection_id":136698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":136698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:40:53] local.INFO: TCP Data received {"connection_id":139163,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4856c8012d7d478005ce2d60000e00b818..."} 
[2026-07-19 17:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4856c8012d7d478005ce2d60000e00b818..."} 
[2026-07-19 17:40:53] local.INFO: Processing buffer {"connection_id":139163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4856c8012d7d478005ce2d60000e00b818..."} 
[2026-07-19 17:40:53] local.INFO: Packet analysis {"connection_id":139163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a48"} 
[2026-07-19 17:40:53] local.INFO: Extracted packet for processing {"connection_id":139163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a48"} 
[2026-07-19 17:40:53] local.INFO: GPS Element Parsed {"raw_longitude":763185024,"raw_latitude":97398112,"longitude_deg":76.3185024,"latitude_deg":9.7398112,"altitude":14,"angle":184,"satellites":24,"speed":30,"hex_longitude":"2d7d4780","hex_latitude":"05ce2d60","is_valid_coordinates":true} 
[2026-07-19 17:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822522112001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108228167927332864,"note":"Value kept but may cause issues"} 
[2026-07-19 17:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027184003023710208,"note":"Value kept but may cause issues"} 
[2026-07-19 17:40:53] 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-07-19 17:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784462989000,"timestamp_ms":1784462989000,"timestamp_seconds":1784462989,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4856c8"} 
[2026-07-19 17:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 17:40:53] 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-07-19 17:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":139163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":139163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":139163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:40:53] 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-07-19 17:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822522112001,"66":13222,"235":206,"85":15104,"24":30,"16":108228167927332864,"45":9027184003023710208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-19 17:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822522112001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:40:53] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-19 17:40:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108228167927332864,"km_value":108228167927332.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027184003023710208,"description":"Unknown IO ID 45"} 
[2026-07-19 17:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822522112001,"power":13222,"unknown_235":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9027184003023710208}} 
[2026-07-19 17:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":139163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:40:53] local.INFO: GPS data processed {"connection_id":139163,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:40:53] local.INFO: Acknowledgment sent {"connection_id":139163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:40:55] local.INFO: TCP Data received {"connection_id":136698,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:40:55] local.INFO: Processing buffer {"connection_id":136698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:40:55] local.INFO: IMEI packet received {"connection_id":136698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":136698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:40:56] local.INFO: TCP Data received {"connection_id":136698,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a460120012d181fc00721b230005100d22b..."} 
[2026-07-19 17:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a460120012d181fc00721b230005100d22b..."} 
[2026-07-19 17:40:56] local.INFO: Processing buffer {"connection_id":136698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a460120012d181fc00721b230005100d22b..."} 
[2026-07-19 17:40:56] local.INFO: Packet analysis {"connection_id":136698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a46"} 
[2026-07-19 17:40:56] local.INFO: Extracted packet for processing {"connection_id":136698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a46"} 
[2026-07-19 17:40:56] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648816,"longitude_deg":75.6555712,"latitude_deg":11.9648816,"altitude":81,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-07-19 17:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822480640001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206817683734528,"note":"Value kept but may cause issues"} 
[2026-07-19 17:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050930688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784462836000,"timestamp_ms":1784462836000,"timestamp_seconds":1784462836,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a460120"} 
[2026-07-19 17:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:40: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-07-19 17:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-19 17:40:56] 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-07-19 17:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822480640001,"66":12743,"105":206,"83":41984,"24":0,"16":7206817683734528,"45":1738319118050930688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822480640001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:40:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:40:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206817683734528,"km_value":7206817683734.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050930688,"description":"Unknown IO ID 45"} 
[2026-07-19 17:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822480640001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050930688}} 
[2026-07-19 17:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":136698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:40:56] local.INFO: GPS data processed {"connection_id":136698,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:40:56] local.INFO: Acknowledgment sent {"connection_id":136698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:41:08] local.INFO: TCP Data received {"connection_id":139165,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:41:08] local.INFO: Processing buffer {"connection_id":139165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:41:08] local.INFO: Packet analysis {"connection_id":139165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:41:08] local.INFO: Extracted packet for processing {"connection_id":139165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:41:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822429696001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:41: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-07-19 17:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784462917000,"timestamp_ms":1784462917000,"timestamp_seconds":1784462917,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a473d88"} 
[2026-07-19 17:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822429696001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822429696001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:41:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:41:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822429696001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":139165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:41:08] local.INFO: GPS data processed {"connection_id":139165,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:41:08] local.INFO: Acknowledgment sent {"connection_id":139165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:41:21] local.INFO: TCP Data received {"connection_id":136805,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:41:21] local.INFO: Processing buffer {"connection_id":136805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:41:21] local.INFO: IMEI packet received {"connection_id":136805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":136805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:41:21] local.INFO: TCP Data received {"connection_id":136805,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:41:21] local.INFO: Processing buffer {"connection_id":136805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:41:21] local.INFO: IMEI packet received {"connection_id":136805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":136805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:41:22] local.INFO: TCP Data received {"connection_id":136805,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a488d78012d7d454005ce0a20000f00b718..."} 
[2026-07-19 17:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a488d78012d7d454005ce0a20000f00b718..."} 
[2026-07-19 17:41:22] local.INFO: Processing buffer {"connection_id":136805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a488d78012d7d454005ce0a20000f00b718..."} 
[2026-07-19 17:41:22] local.INFO: Packet analysis {"connection_id":136805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a48"} 
[2026-07-19 17:41:22] local.INFO: Extracted packet for processing {"connection_id":136805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a48"} 
[2026-07-19 17:41:22] local.INFO: GPS Element Parsed {"raw_longitude":763184448,"raw_latitude":97389088,"longitude_deg":76.3184448,"latitude_deg":9.7389088,"altitude":15,"angle":183,"satellites":24,"speed":25,"hex_longitude":"2d7d4540","hex_latitude":"05ce0a20","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822525184001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108228606013997056,"note":"Value kept but may cause issues"} 
[2026-07-19 17:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027324740509720576,"note":"Value kept but may cause issues"} 
[2026-07-19 17:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784463003000,"timestamp_ms":1784463003000,"timestamp_seconds":1784463003,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a488d78"} 
[2026-07-19 17:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:41: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-07-19 17: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-19 17:41:22] 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-07-19 17: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-07-19 17:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":136805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":136805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":136805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:41:22] 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-07-19 17:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822525184001,"66":12950,"235":206,"85":15104,"24":25,"16":108228606013997056,"45":9027324740509720576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-19 17:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822525184001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:41:22] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-19 17:41:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108228606013997056,"km_value":108228606013997.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027324740509720576,"description":"Unknown IO ID 45"} 
[2026-07-19 17:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822525184001,"power":12950,"unknown_235":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9027324740509720576}} 
[2026-07-19 17:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":136805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:41:22] local.INFO: GPS data processed {"connection_id":136805,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:41:22] local.INFO: Acknowledgment sent {"connection_id":136805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:41:26] local.INFO: TCP Data received {"connection_id":136805,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a48b488012d7d430005cde4a8000c00b618..."} 
[2026-07-19 17:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a48b488012d7d430005cde4a8000c00b618..."} 
[2026-07-19 17:41:26] local.INFO: Processing buffer {"connection_id":136805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a48b488012d7d430005cde4a8000c00b618..."} 
[2026-07-19 17:41:26] local.INFO: Packet analysis {"connection_id":136805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a48"} 
[2026-07-19 17:41:26] local.INFO: Extracted packet for processing {"connection_id":136805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a48"} 
[2026-07-19 17:41:26] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":97379496,"longitude_deg":76.3183872,"latitude_deg":9.7379496,"altitude":12,"angle":182,"satellites":24,"speed":45,"hex_longitude":"2d7d4300","hex_latitude":"05cde4a8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822528768001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108229074165432320,"note":"Value kept but may cause issues"} 
[2026-07-19 17:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026691421809811456,"note":"Value kept but may cause issues"} 
[2026-07-19 17:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784463013000,"timestamp_ms":1784463013000,"timestamp_seconds":1784463013,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a48b488"} 
[2026-07-19 17:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:41: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-07-19 17: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-19 17:41:26] 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-07-19 17: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-07-19 17:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":136805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":136805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":136805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:41:26] 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-07-19 17:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822528768001,"66":13178,"235":206,"85":15104,"24":45,"16":108229074165432320,"45":9026691421809811456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-19 17:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822528768001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:41:26] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-19 17:41:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108229074165432320,"km_value":108229074165432.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026691421809811456,"description":"Unknown IO ID 45"} 
[2026-07-19 17:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822528768001,"power":13178,"unknown_235":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9026691421809811456}} 
[2026-07-19 17:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":136805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:41:26] local.INFO: GPS data processed {"connection_id":136805,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:41:26] local.INFO: Acknowledgment sent {"connection_id":136805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:41:27] local.INFO: TCP Data received {"connection_id":136698,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a465328012d181fc00721b230005100d22b..."} 
[2026-07-19 17:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a465328012d181fc00721b230005100d22b..."} 
[2026-07-19 17:41:27] local.INFO: Processing buffer {"connection_id":136698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a465328012d181fc00721b230005100d22b..."} 
[2026-07-19 17:41:27] local.INFO: Packet analysis {"connection_id":136698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a46"} 
[2026-07-19 17:41:27] local.INFO: Extracted packet for processing {"connection_id":136698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a46"} 
[2026-07-19 17:41:27] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648816,"longitude_deg":75.6555712,"latitude_deg":11.9648816,"altitude":81,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822486016001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206817683734528,"note":"Value kept but may cause issues"} 
[2026-07-19 17:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050930688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784462857000,"timestamp_ms":1784462857000,"timestamp_seconds":1784462857,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a465328"} 
[2026-07-19 17:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:41: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-07-19 17: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-19 17:41:27] 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-07-19 17: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-07-19 17:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822486016001,"66":12722,"105":206,"83":41984,"24":0,"16":7206817683734528,"45":1738319118050930688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822486016001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:41:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:41:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206817683734528,"km_value":7206817683734.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050930688,"description":"Unknown IO ID 45"} 
[2026-07-19 17:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822486016001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050930688}} 
[2026-07-19 17:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":136698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:41:27] local.INFO: GPS data processed {"connection_id":136698,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:41:27] local.INFO: Acknowledgment sent {"connection_id":136698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:41:31] local.INFO: TCP Data received {"connection_id":136700,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:41:31] local.INFO: Processing buffer {"connection_id":136700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:41:31] local.INFO: IMEI packet received {"connection_id":136700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":136700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:41:36] local.INFO: TCP Data received {"connection_id":136700,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:41:36] local.INFO: Processing buffer {"connection_id":136700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:41:36] local.INFO: IMEI packet received {"connection_id":136700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":136700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:41:37] local.INFO: TCP Data received {"connection_id":136700,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:41:37] local.INFO: Processing buffer {"connection_id":136700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:41:37] local.INFO: Packet analysis {"connection_id":136700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:41:37] local.INFO: Extracted packet for processing {"connection_id":136700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822429696001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:41: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-07-19 17:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784462917000,"timestamp_ms":1784462917000,"timestamp_seconds":1784462917,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a473d88"} 
[2026-07-19 17:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822429696001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822429696001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:41:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822429696001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":136700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:41:37] local.INFO: GPS data processed {"connection_id":136700,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:41:37] local.INFO: Acknowledgment sent {"connection_id":136700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:41:51] local.INFO: TCP Data received {"connection_id":137767,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:41:51] local.INFO: Processing buffer {"connection_id":137767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:41:51] local.INFO: IMEI packet received {"connection_id":137767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":137767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:41:55] local.INFO: TCP Data received {"connection_id":137767,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:41:55] local.INFO: Processing buffer {"connection_id":137767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:41:55] local.INFO: IMEI packet received {"connection_id":137767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":137767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:41:56] local.INFO: TCP Data received {"connection_id":137767,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a46a530012d181fc00721b230005100d228..."} 
[2026-07-19 17:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a46a530012d181fc00721b230005100d228..."} 
[2026-07-19 17:41:56] local.INFO: Processing buffer {"connection_id":137767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a46a530012d181fc00721b230005100d228..."} 
[2026-07-19 17:41:56] local.INFO: Packet analysis {"connection_id":137767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a46"} 
[2026-07-19 17:41:56] local.INFO: Extracted packet for processing {"connection_id":137767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a46"} 
[2026-07-19 17:41:56] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648816,"longitude_deg":75.6555712,"latitude_deg":11.9648816,"altitude":81,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-07-19 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-07-19 17:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822491392001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206817683734528,"note":"Value kept but may cause issues"} 
[2026-07-19 17:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050930688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784462878000,"timestamp_ms":1784462878000,"timestamp_seconds":1784462878,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a46a530"} 
[2026-07-19 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-07-19 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-07-19 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-19 17:41: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-07-19 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-07-19 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-07-19 17:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822491392001,"66":12678,"105":206,"83":41984,"24":0,"16":7206817683734528,"45":1738319118050930688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822491392001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:41:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:41:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206817683734528,"km_value":7206817683734.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050930688,"description":"Unknown IO ID 45"} 
[2026-07-19 17:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822491392001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050930688}} 
[2026-07-19 17:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":137767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:41:56] local.INFO: GPS data processed {"connection_id":137767,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:41:56] local.INFO: Acknowledgment sent {"connection_id":137767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:41:57] local.INFO: TCP Data received {"connection_id":136805,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a49d598012d7d550005cc52e0000c00ba1c..."} 
[2026-07-19 17:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a49d598012d7d550005cc52e0000c00ba1c..."} 
[2026-07-19 17:41:57] local.INFO: Processing buffer {"connection_id":136805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a49d598012d7d550005cc52e0000c00ba1c..."} 
[2026-07-19 17:41:57] local.INFO: Packet analysis {"connection_id":136805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a49"} 
[2026-07-19 17:41:57] local.INFO: Extracted packet for processing {"connection_id":136805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a49"} 
[2026-07-19 17:41:57] local.INFO: GPS Element Parsed {"raw_longitude":763188480,"raw_latitude":97276640,"longitude_deg":76.318848,"latitude_deg":9.727664,"altitude":12,"angle":186,"satellites":28,"speed":48,"hex_longitude":"2d7d5500","hex_latitude":"05cc52e0","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822548480001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108234073507364864,"note":"Value kept but may cause issues"} 
[2026-07-19 17:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031969077596698624,"note":"Value kept but may cause issues"} 
[2026-07-19 17:41:57] 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-07-19 17:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784463087000,"timestamp_ms":1784463087000,"timestamp_seconds":1784463087,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a49d598"} 
[2026-07-19 17:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-19 17:41:57] 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-07-19 17: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-07-19 17:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:41:57] 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-07-19 17:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822548480001,"66":12939,"129":206,"85":15104,"24":48,"16":108234073507364864,"45":9031969077596698624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-19 17:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822548480001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:41:57] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-19 17:41:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108234073507364864,"km_value":108234073507364.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031969077596698624,"description":"Unknown IO ID 45"} 
[2026-07-19 17:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822548480001,"power":12939,"unknown_129":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9031969077596698624}} 
[2026-07-19 17:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":136805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:41:57] local.INFO: GPS data processed {"connection_id":136805,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:41:57] local.INFO: Acknowledgment sent {"connection_id":136805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:42:08] local.INFO: TCP Data received {"connection_id":136700,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:42:08] local.INFO: Processing buffer {"connection_id":136700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:42:08] local.INFO: Packet analysis {"connection_id":136700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:42:08] local.INFO: Extracted packet for processing {"connection_id":136700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822429696001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:42: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-07-19 17:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784462917000,"timestamp_ms":1784462917000,"timestamp_seconds":1784462917,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a473d88"} 
[2026-07-19 17:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822429696001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822429696001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:42:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:42:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822429696001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":136700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:42:08] local.INFO: GPS data processed {"connection_id":136700,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:42:08] local.INFO: Acknowledgment sent {"connection_id":136700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:42:16] local.INFO: TCP Data received {"connection_id":136701,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:42:16] local.INFO: Processing buffer {"connection_id":136701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:42:16] local.INFO: IMEI packet received {"connection_id":136701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":136701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:42:21] local.INFO: TCP Data received {"connection_id":136701,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:42:21] local.INFO: Processing buffer {"connection_id":136701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:42:21] local.INFO: IMEI packet received {"connection_id":136701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":136701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:42:22] local.INFO: TCP Data received {"connection_id":136701,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a49f8c0012d7d51c005cc3020000c00b41b..."} 
[2026-07-19 17:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a49f8c0012d7d51c005cc3020000c00b41b..."} 
[2026-07-19 17:42:22] local.INFO: Processing buffer {"connection_id":136701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a49f8c0012d7d51c005cc3020000c00b41b..."} 
[2026-07-19 17:42:22] local.INFO: Packet analysis {"connection_id":136701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a49"} 
[2026-07-19 17:42:22] local.INFO: Extracted packet for processing {"connection_id":136701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a49"} 
[2026-07-19 17:42:22] local.INFO: GPS Element Parsed {"raw_longitude":763187648,"raw_latitude":97267744,"longitude_deg":76.3187648,"latitude_deg":9.7267744,"altitude":12,"angle":180,"satellites":27,"speed":30,"hex_longitude":"2d7d51c0","hex_latitude":"05cc3020","is_valid_coordinates":true} 
[2026-07-19 17:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822550272001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108234507299061760,"note":"Value kept but may cause issues"} 
[2026-07-19 17:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031124652664217600,"note":"Value kept but may cause issues"} 
[2026-07-19 17:42: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-07-19 17:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784463096000,"timestamp_ms":1784463096000,"timestamp_seconds":1784463096,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a49f8c0"} 
[2026-07-19 17:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:42: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-07-19 17:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-19 17:42: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-07-19 17:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":136701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":136701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":136701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:42:22] 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-07-19 17:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822550272001,"66":12906,"129":206,"85":15104,"24":30,"16":108234507299061760,"45":9031124652664217600},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-19 17:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822550272001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:42:22] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-19 17:42:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108234507299061760,"km_value":108234507299061.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031124652664217600,"description":"Unknown IO ID 45"} 
[2026-07-19 17:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822550272001,"power":12906,"unknown_129":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9031124652664217600}} 
[2026-07-19 17:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":136701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:42:22] local.INFO: GPS data processed {"connection_id":136701,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:42:22] local.INFO: Acknowledgment sent {"connection_id":136701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:42:27] local.INFO: TCP Data received {"connection_id":137767,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a46f738012d181fc00721b230005100d22c..."} 
[2026-07-19 17:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a46f738012d181fc00721b230005100d22c..."} 
[2026-07-19 17:42:27] local.INFO: Processing buffer {"connection_id":137767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a46f738012d181fc00721b230005100d22c..."} 
[2026-07-19 17:42:27] local.INFO: Packet analysis {"connection_id":137767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a46"} 
[2026-07-19 17:42:27] local.INFO: Extracted packet for processing {"connection_id":137767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a46"} 
[2026-07-19 17:42:27] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648816,"longitude_deg":75.6555712,"latitude_deg":11.9648816,"altitude":81,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-07-19 17:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822496768001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206817683734528,"note":"Value kept but may cause issues"} 
[2026-07-19 17:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050930688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784462899000,"timestamp_ms":1784462899000,"timestamp_seconds":1784462899,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a46f738"} 
[2026-07-19 17:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:42:27] 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-07-19 17:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 17:42:27] 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-07-19 17:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822496768001,"66":12678,"105":206,"83":41984,"24":0,"16":7206817683734528,"45":1738319118050930688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822496768001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:42:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:42:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206817683734528,"km_value":7206817683734.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050930688,"description":"Unknown IO ID 45"} 
[2026-07-19 17:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822496768001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050930688}} 
[2026-07-19 17:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":137767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:42:27] local.INFO: GPS data processed {"connection_id":137767,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:42:27] local.INFO: Acknowledgment sent {"connection_id":137767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:42:30] local.INFO: TCP Data received {"connection_id":136702,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:42:30] local.INFO: Processing buffer {"connection_id":136702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:42:30] local.INFO: IMEI packet received {"connection_id":136702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":136702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:42:36] local.INFO: TCP Data received {"connection_id":136702,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:42:36] local.INFO: Processing buffer {"connection_id":136702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:42:36] local.INFO: IMEI packet received {"connection_id":136702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":136702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:42:39] local.INFO: TCP Data received {"connection_id":136702,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:42:39] local.INFO: Processing buffer {"connection_id":136702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:42:39] local.INFO: Packet analysis {"connection_id":136702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:42:39] local.INFO: Extracted packet for processing {"connection_id":136702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:42:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822429696001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:42: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-07-19 17:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784462917000,"timestamp_ms":1784462917000,"timestamp_seconds":1784462917,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a473d88"} 
[2026-07-19 17:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:42:39] 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-07-19 17:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822429696001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822429696001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:42:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:42:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822429696001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":136702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:42:39] local.INFO: GPS data processed {"connection_id":136702,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:42:39] local.INFO: Acknowledgment sent {"connection_id":136702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:42:51] local.INFO: TCP Data received {"connection_id":136806,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:42:51] local.INFO: Processing buffer {"connection_id":136806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:42:51] local.INFO: IMEI packet received {"connection_id":136806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":136806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:42:54] local.INFO: TCP Data received {"connection_id":136701,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4a23b8012d7d4c4005cc0ac0000a00bd18..."} 
[2026-07-19 17:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4a23b8012d7d4c4005cc0ac0000a00bd18..."} 
[2026-07-19 17:42:54] local.INFO: Processing buffer {"connection_id":136701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4a23b8012d7d4c4005cc0ac0000a00bd18..."} 
[2026-07-19 17:42:54] local.INFO: Packet analysis {"connection_id":136701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4a"} 
[2026-07-19 17:42:54] local.INFO: Extracted packet for processing {"connection_id":136701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4a"} 
[2026-07-19 17:42:54] local.INFO: GPS Element Parsed {"raw_longitude":763186240,"raw_latitude":97258176,"longitude_deg":76.318624,"latitude_deg":9.7258176,"altitude":10,"angle":189,"satellites":24,"speed":40,"hex_longitude":"2d7d4c40","hex_latitude":"05cc0ac0","is_valid_coordinates":true} 
[2026-07-19 17:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822552576001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108234979745464320,"note":"Value kept but may cause issues"} 
[2026-07-19 17:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030209858987630592,"note":"Value kept but may cause issues"} 
[2026-07-19 17:42:54] 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-07-19 17:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784463107000,"timestamp_ms":1784463107000,"timestamp_seconds":1784463107,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4a23b8"} 
[2026-07-19 17:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-19 17:42:54] 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-07-19 17:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":136701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":136701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":136701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:42:54] 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-07-19 17:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822552576001,"66":12972,"129":206,"85":15104,"24":40,"16":108234979745464320,"45":9030209858987630592},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-19 17:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822552576001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:42:54] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-19 17:42:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108234979745464320,"km_value":108234979745464.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030209858987630592,"description":"Unknown IO ID 45"} 
[2026-07-19 17:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822552576001,"power":12972,"unknown_129":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9030209858987630592}} 
[2026-07-19 17:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":136701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:42:54] local.INFO: GPS data processed {"connection_id":136701,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:42:54] local.INFO: Acknowledgment sent {"connection_id":136701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:42:55] local.INFO: TCP Data received {"connection_id":136806,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:42:55] local.INFO: Processing buffer {"connection_id":136806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:42:55] local.INFO: IMEI packet received {"connection_id":136806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":136806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:42:56] local.INFO: TCP Data received {"connection_id":136806,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a474940012d181e000721af00005200d22c..."} 
[2026-07-19 17:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a474940012d181e000721af00005200d22c..."} 
[2026-07-19 17:42:56] local.INFO: Processing buffer {"connection_id":136806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a474940012d181e000721af00005200d22c..."} 
[2026-07-19 17:42:56] local.INFO: Packet analysis {"connection_id":136806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:42:56] local.INFO: Extracted packet for processing {"connection_id":136806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:42:56] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648000,"longitude_deg":75.6555264,"latitude_deg":11.9648,"altitude":82,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af00","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822502144001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206864928374784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050930688,"note":"Value kept but may cause issues"} 
[2026-07-19 17:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784462920000,"timestamp_ms":1784462920000,"timestamp_seconds":1784462920,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a474940"} 
[2026-07-19 17:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:42: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-07-19 17: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 17:42:56] 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-07-19 17: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-07-19 17:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822502144001,"66":12689,"105":206,"83":41984,"24":0,"16":7206864928374784,"45":1738319118050930688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822502144001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:42:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:42:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206864928374784,"km_value":7206864928374.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050930688,"description":"Unknown IO ID 45"} 
[2026-07-19 17:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822502144001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050930688}} 
[2026-07-19 17:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":136806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:42:56] local.INFO: GPS data processed {"connection_id":136806,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:42:56] local.INFO: Acknowledgment sent {"connection_id":136806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:43:12] local.INFO: TCP Data received {"connection_id":136702,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:43:12] local.INFO: Processing buffer {"connection_id":136702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:43:12] local.INFO: Packet analysis {"connection_id":136702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:43:12] local.INFO: Extracted packet for processing {"connection_id":136702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:43:12] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822429696001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43: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-07-19 17:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784462917000,"timestamp_ms":1784462917000,"timestamp_seconds":1784462917,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a473d88"} 
[2026-07-19 17:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":136702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":136702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":136702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:43:12] 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-07-19 17:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822429696001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822429696001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:43:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:43:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822429696001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":136702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:43:12] local.INFO: GPS data processed {"connection_id":136702,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:43:12] local.INFO: Acknowledgment sent {"connection_id":136702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:43:16] local.INFO: TCP Data received {"connection_id":136807,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:43:16] local.INFO: Processing buffer {"connection_id":136807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:43:16] local.INFO: IMEI packet received {"connection_id":136807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":136807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:43:17] local.INFO: TCP Data received {"connection_id":136807,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:43:17] local.INFO: Processing buffer {"connection_id":136807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:43:17] local.INFO: IMEI packet received {"connection_id":136807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":136807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:43:21] local.INFO: TCP Data received {"connection_id":136807,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:43:21] local.INFO: Processing buffer {"connection_id":136807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:43:21] local.INFO: IMEI packet received {"connection_id":136807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":136807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:43:21] local.INFO: TCP Data received {"connection_id":136807,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4a46e0012d7d468005cbe640000a00bd1c..."} 
[2026-07-19 17:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4a46e0012d7d468005cbe640000a00bd1c..."} 
[2026-07-19 17:43:21] local.INFO: Processing buffer {"connection_id":136807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4a46e0012d7d468005cbe640000a00bd1c..."} 
[2026-07-19 17:43:21] local.INFO: Packet analysis {"connection_id":136807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4a"} 
[2026-07-19 17:43:21] local.INFO: Extracted packet for processing {"connection_id":136807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4a"} 
[2026-07-19 17:43:21] local.INFO: GPS Element Parsed {"raw_longitude":763184768,"raw_latitude":97248832,"longitude_deg":76.3184768,"latitude_deg":9.7248832,"altitude":10,"angle":189,"satellites":28,"speed":39,"hex_longitude":"2d7d4680","hex_latitude":"05cbe640","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822555392001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108235435011997696,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028661746613272576,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:21] 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-07-19 17:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784463116000,"timestamp_ms":1784463116000,"timestamp_seconds":1784463116,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4a46e0"} 
[2026-07-19 17:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:43:21] 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-07-19 17: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-19 17:43:21] 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-07-19 17: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-07-19 17:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":136807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":136807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":136807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:43:21] 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-07-19 17:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822555392001,"66":12809,"129":206,"85":15104,"24":39,"16":108235435011997696,"45":9028661746613272576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-19 17:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822555392001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:43:21] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-19 17:43:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108235435011997696,"km_value":108235435011997.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028661746613272576,"description":"Unknown IO ID 45"} 
[2026-07-19 17:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822555392001,"power":12809,"unknown_129":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9028661746613272576}} 
[2026-07-19 17:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":136807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:43:21] local.INFO: GPS data processed {"connection_id":136807,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:43:21] local.INFO: Acknowledgment sent {"connection_id":136807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:43:27] local.INFO: TCP Data received {"connection_id":136806,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a479b48012d181e000721af00005200d22b..."} 
[2026-07-19 17:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a479b48012d181e000721af00005200d22b..."} 
[2026-07-19 17:43:27] local.INFO: Processing buffer {"connection_id":136806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a479b48012d181e000721af00005200d22b..."} 
[2026-07-19 17:43:27] local.INFO: Packet analysis {"connection_id":136806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:43:27] local.INFO: Extracted packet for processing {"connection_id":136806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:43:27] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648000,"longitude_deg":75.6555264,"latitude_deg":11.9648,"altitude":82,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af00","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822507520001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206864928374784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841478144,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784462941000,"timestamp_ms":1784462941000,"timestamp_seconds":1784462941,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a479b48"} 
[2026-07-19 17:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:43:27] 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-07-19 17:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-19 17:43:27] 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-07-19 17: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-07-19 17:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822507520001,"66":12645,"105":206,"83":41984,"24":0,"16":7206864928374784,"45":1737826536841478144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822507520001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:43:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:43:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206864928374784,"km_value":7206864928374.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841478144,"description":"Unknown IO ID 45"} 
[2026-07-19 17:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822507520001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841478144}} 
[2026-07-19 17:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":136806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:43:27] local.INFO: GPS data processed {"connection_id":136806,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:43:27] local.INFO: Acknowledgment sent {"connection_id":136806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:43:30] local.INFO: TCP Data received {"connection_id":137769,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:43:30] local.INFO: Processing buffer {"connection_id":137769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:43:30] local.INFO: IMEI packet received {"connection_id":137769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":137769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:43:36] local.INFO: TCP Data received {"connection_id":137769,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:43:36] local.INFO: Processing buffer {"connection_id":137769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:43:36] local.INFO: IMEI packet received {"connection_id":137769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":137769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:43:36] local.INFO: TCP Data received {"connection_id":137769,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:43:36] local.INFO: Processing buffer {"connection_id":137769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:43:36] local.INFO: Packet analysis {"connection_id":137769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:43:36] local.INFO: Extracted packet for processing {"connection_id":137769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822429696001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43: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-07-19 17:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784462917000,"timestamp_ms":1784462917000,"timestamp_seconds":1784462917,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a473d88"} 
[2026-07-19 17:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:43:36] 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-07-19 17:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822429696001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822429696001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:43:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:43:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822429696001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":137769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:43:36] local.INFO: GPS data processed {"connection_id":137769,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:43:36] local.INFO: Acknowledgment sent {"connection_id":137769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:43:51] local.INFO: TCP Data received {"connection_id":139166,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:43:51] local.INFO: Processing buffer {"connection_id":139166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:43:51] local.INFO: IMEI packet received {"connection_id":139166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":139166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:43:51] local.INFO: TCP Data received {"connection_id":139166,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:43:51] local.INFO: Processing buffer {"connection_id":139166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:43:51] local.INFO: IMEI packet received {"connection_id":139166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":139166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:43:52] local.INFO: TCP Data received {"connection_id":136807,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4a79a8012d7d40c005cbc338000a00ba1b..."} 
[2026-07-19 17:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4a79a8012d7d40c005cbc338000a00ba1b..."} 
[2026-07-19 17:43:52] local.INFO: Processing buffer {"connection_id":136807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4a79a8012d7d40c005cbc338000a00ba1b..."} 
[2026-07-19 17:43:52] local.INFO: Packet analysis {"connection_id":136807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4a"} 
[2026-07-19 17:43:52] local.INFO: Extracted packet for processing {"connection_id":136807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4a"} 
[2026-07-19 17:43:52] local.INFO: GPS Element Parsed {"raw_longitude":763183296,"raw_latitude":97239864,"longitude_deg":76.3183296,"latitude_deg":9.7239864,"altitude":10,"angle":186,"satellites":27,"speed":10,"hex_longitude":"2d7d40c0","hex_latitude":"05cbc338","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822557696001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108235877393629184,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027043265494794240,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:52] 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-07-19 17:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784463129000,"timestamp_ms":1784463129000,"timestamp_seconds":1784463129,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4a79a8"} 
[2026-07-19 17:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:43: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-07-19 17: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-19 17:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":4323455642443449344,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:52] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:52] local.WARNING: Large IO value detected {"io_id":122,"raw_value":5290638851683735360,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:52] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1991770123,"corrected_to":0} 
[2026-07-19 17:43:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2894135502,"corrected_to":0} 
[2026-07-19 17:43:52] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3892391293,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:52] local.WARNING: Large IO value detected {"io_id":51,"raw_value":216398922896166485,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:52] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2239627264,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3682545916197162980,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:52] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755644254322929,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:52] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,129,85,24,241,157,16,135,159,35,45,64,10,66,248,192,48,12,27,134,213,1,240,139,227,122,204,4,113,205,55,158,89,224,239,51,2,128,5,57,59],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":204,"original":1991770123,"validated":0},{"io_id":205,"original":2894135502,"validated":0}]} 
[2026-07-19 17:43:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720783868338569216,"timestamp_seconds":720783868338569.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 17:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":136807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":136807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":136807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:43:52] 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-07-19 17:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822557696001,"66":12906,"129":206,"85":15104,"24":10,"16":108235877393629184,"45":9027043265494794240},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-19 17:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822557696001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:43:52] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-19 17:43:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108235877393629184,"km_value":108235877393629.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027043265494794240,"description":"Unknown IO ID 45"} 
[2026-07-19 17:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822557696001,"power":12906,"unknown_129":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9027043265494794240}} 
[2026-07-19 17:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":136807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:43:53] local.INFO: GPS data processed {"connection_id":136807,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:43:53] local.INFO: Acknowledgment sent {"connection_id":136807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:43:55] local.INFO: TCP Data received {"connection_id":139166,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:43:55] local.INFO: Processing buffer {"connection_id":139166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:43:55] local.INFO: IMEI packet received {"connection_id":139166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":139166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:43:56] local.INFO: TCP Data received {"connection_id":139166,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a47ed50012d181e000721af00005200d22b..."} 
[2026-07-19 17:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a47ed50012d181e000721af00005200d22b..."} 
[2026-07-19 17:43:56] local.INFO: Processing buffer {"connection_id":139166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a47ed50012d181e000721af00005200d22b..."} 
[2026-07-19 17:43:56] local.INFO: Packet analysis {"connection_id":139166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:43:56] local.INFO: Extracted packet for processing {"connection_id":139166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:43:56] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648000,"longitude_deg":75.6555264,"latitude_deg":11.9648,"altitude":82,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af00","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822512896001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206864928374784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841478144,"note":"Value kept but may cause issues"} 
[2026-07-19 17:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784462962000,"timestamp_ms":1784462962000,"timestamp_seconds":1784462962,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a47ed50"} 
[2026-07-19 17:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:43: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-07-19 17: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-19 17:43:56] 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-07-19 17: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-07-19 17:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822512896001,"66":12678,"105":206,"83":41984,"24":0,"16":7206864928374784,"45":1737826536841478144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822512896001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:43:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:43:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206864928374784,"km_value":7206864928374.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841478144,"description":"Unknown IO ID 45"} 
[2026-07-19 17:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822512896001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841478144}} 
[2026-07-19 17:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":139166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:43:56] local.INFO: GPS data processed {"connection_id":139166,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:43:56] local.INFO: Acknowledgment sent {"connection_id":139166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:44:08] local.INFO: TCP Data received {"connection_id":137769,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:44:08] local.INFO: Processing buffer {"connection_id":137769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a473d88012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:44:08] local.INFO: Packet analysis {"connection_id":137769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:44:08] local.INFO: Extracted packet for processing {"connection_id":137769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a47"} 
[2026-07-19 17:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822429696001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17: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-07-19 17:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784462917000,"timestamp_ms":1784462917000,"timestamp_seconds":1784462917,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a473d88"} 
[2026-07-19 17:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:44: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-07-19 17:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822429696001,"66":25495,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822429696001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:44:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822429696001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":137769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:44:08] local.INFO: GPS data processed {"connection_id":137769,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:44:08] local.INFO: Acknowledgment sent {"connection_id":137769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:44:14] local.INFO: TCP Data received {"connection_id":137770,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:44:14] local.INFO: Processing buffer {"connection_id":137770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:44:14] local.INFO: IMEI packet received {"connection_id":137770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":137770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:44:15] local.INFO: TCP Data received {"connection_id":137770,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:44:15] local.INFO: Processing buffer {"connection_id":137770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:44:15] local.INFO: IMEI packet received {"connection_id":137770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":137770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:44:21] local.INFO: TCP Data received {"connection_id":137770,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:44:21] local.INFO: Processing buffer {"connection_id":137770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:44:21] local.INFO: IMEI packet received {"connection_id":137770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":137770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:44:21] local.INFO: TCP Data received {"connection_id":137770,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4c13d0012d7d1f0005ca6178000a00b91f..."} 
[2026-07-19 17:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4c13d0012d7d1f0005ca6178000a00b91f..."} 
[2026-07-19 17:44:21] local.INFO: Processing buffer {"connection_id":137770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4c13d0012d7d1f0005ca6178000a00b91f..."} 
[2026-07-19 17:44:21] local.INFO: Packet analysis {"connection_id":137770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4c"} 
[2026-07-19 17:44:21] local.INFO: Extracted packet for processing {"connection_id":137770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4c"} 
[2026-07-19 17:44:21] local.INFO: GPS Element Parsed {"raw_longitude":763174656,"raw_latitude":97149304,"longitude_deg":76.3174656,"latitude_deg":9.7149304,"altitude":10,"angle":185,"satellites":31,"speed":64,"hex_longitude":"2d7d1f00","hex_latitude":"05ca6178","is_valid_coordinates":true} 
[2026-07-19 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-07-19 17:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822586368001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108240296914976768,"note":"Value kept but may cause issues"} 
[2026-07-19 17:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017050903798548480,"note":"Value kept but may cause issues"} 
[2026-07-19 17:44:21] 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-07-19 17:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784463234000,"timestamp_ms":1784463234000,"timestamp_seconds":1784463234,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4c13d0"} 
[2026-07-19 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-07-19 17:44: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-07-19 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-19 17:44: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-07-19 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-07-19 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-07-19 17:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":137770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":137770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":137770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:44:21] 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-07-19 17:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822586368001,"66":13037,"131":206,"85":15104,"24":64,"16":108240296914976768,"45":9017050903798548480},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-19 17:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822586368001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:44:21] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-19 17:44:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108240296914976768,"km_value":108240296914976.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017050903798548480,"description":"Unknown IO ID 45"} 
[2026-07-19 17:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822586368001,"power":13037,"unknown_131":206,"unknown_85":15104,"ignition":64,"odometer":null,"unknown_45":9017050903798548480}} 
[2026-07-19 17:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":137770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:44:21] local.INFO: GPS data processed {"connection_id":137770,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:44:21] local.INFO: Acknowledgment sent {"connection_id":137770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:44:27] local.INFO: TCP Data received {"connection_id":139166,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a483f58012d181e000721af00005200d22c..."} 
[2026-07-19 17:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a483f58012d181e000721af00005200d22c..."} 
[2026-07-19 17:44:27] local.INFO: Processing buffer {"connection_id":139166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a483f58012d181e000721af00005200d22c..."} 
[2026-07-19 17:44:27] local.INFO: Packet analysis {"connection_id":139166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a48"} 
[2026-07-19 17:44:27] local.INFO: Extracted packet for processing {"connection_id":139166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a48"} 
[2026-07-19 17:44:27] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648000,"longitude_deg":75.6555264,"latitude_deg":11.9648,"altitude":82,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af00","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822518272001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206864928374784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841478144,"note":"Value kept but may cause issues"} 
[2026-07-19 17:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784462983000,"timestamp_ms":1784462983000,"timestamp_seconds":1784462983,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a483f58"} 
[2026-07-19 17:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:44: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-07-19 17: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 17:44:27] 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-07-19 17: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-07-19 17:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822518272001,"66":12689,"105":206,"83":41984,"24":0,"16":7206864928374784,"45":1737826536841478144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822518272001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:44:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:44:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206864928374784,"km_value":7206864928374.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841478144,"description":"Unknown IO ID 45"} 
[2026-07-19 17:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822518272001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841478144}} 
[2026-07-19 17:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":139166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:44:27] local.INFO: GPS data processed {"connection_id":139166,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:44:27] local.INFO: Acknowledgment sent {"connection_id":139166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:44:36] local.INFO: TCP Data received {"connection_id":136703,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:44:36] local.INFO: Processing buffer {"connection_id":136703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:44:36] local.INFO: IMEI packet received {"connection_id":136703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":136703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:44:41] local.INFO: TCP Data received {"connection_id":136703,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:44:41] local.INFO: Processing buffer {"connection_id":136703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:44:41] local.INFO: IMEI packet received {"connection_id":136703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":136703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:44:42] local.INFO: TCP Data received {"connection_id":136703,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:44:42] local.INFO: Processing buffer {"connection_id":136703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:44:42] local.INFO: Packet analysis {"connection_id":136703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4b"} 
[2026-07-19 17:44:42] local.INFO: Extracted packet for processing {"connection_id":136703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4b"} 
[2026-07-19 17:44:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822506752001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784463218000,"timestamp_ms":1784463218000,"timestamp_seconds":1784463218,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4bd550"} 
[2026-07-19 17:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 17:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:44:42] 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-07-19 17:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822506752001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822506752001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:44:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:44:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822506752001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":136703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:44:42] local.INFO: GPS data processed {"connection_id":136703,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:44:42] local.INFO: Acknowledgment sent {"connection_id":136703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:44:50] local.INFO: TCP Data received {"connection_id":136809,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:44:50] local.INFO: Processing buffer {"connection_id":136809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:44:50] local.INFO: IMEI packet received {"connection_id":136809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":136809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:44:53] local.INFO: TCP Data received {"connection_id":137770,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4c2b40012d7d1b8005ca3b40000a00b81f..."} 
[2026-07-19 17:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4c2b40012d7d1b8005ca3b40000a00b81f..."} 
[2026-07-19 17:44:53] local.INFO: Processing buffer {"connection_id":137770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4c2b40012d7d1b8005ca3b40000a00b81f..."} 
[2026-07-19 17:44:53] local.INFO: Packet analysis {"connection_id":137770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4c"} 
[2026-07-19 17:44:53] local.INFO: Extracted packet for processing {"connection_id":137770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4c"} 
[2026-07-19 17:44:53] local.INFO: GPS Element Parsed {"raw_longitude":763173760,"raw_latitude":97139520,"longitude_deg":76.317376,"latitude_deg":9.713952,"altitude":10,"angle":184,"satellites":31,"speed":65,"hex_longitude":"2d7d1b80","hex_latitude":"05ca3b40","is_valid_coordinates":true} 
[2026-07-19 17:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822587904001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108240773656346624,"note":"Value kept but may cause issues"} 
[2026-07-19 17:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015925003889244160,"note":"Value kept but may cause issues"} 
[2026-07-19 17:44:53] 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-07-19 17:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784463240000,"timestamp_ms":1784463240000,"timestamp_seconds":1784463240,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4c2b40"} 
[2026-07-19 17:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:44: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-07-19 17:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-19 17:44:53] 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-07-19 17:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":137770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":137770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":137770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:44:53] 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-07-19 17:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822587904001,"66":12798,"131":206,"85":15104,"24":65,"16":108240773656346624,"45":9015925003889244160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-19 17:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822587904001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:44:53] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-19 17:44:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108240773656346624,"km_value":108240773656346.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015925003889244160,"description":"Unknown IO ID 45"} 
[2026-07-19 17:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822587904001,"power":12798,"unknown_131":206,"unknown_85":15104,"ignition":65,"odometer":null,"unknown_45":9015925003889244160}} 
[2026-07-19 17:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":137770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513256,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:44:53] local.INFO: GPS data processed {"connection_id":137770,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:44:53] local.INFO: Acknowledgment sent {"connection_id":137770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:44:54] local.INFO: TCP Data received {"connection_id":136809,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:44:54] local.INFO: Processing buffer {"connection_id":136809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:44:54] local.INFO: IMEI packet received {"connection_id":136809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":136809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:44:55] local.INFO: TCP Data received {"connection_id":136809,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:44:55] local.INFO: Processing buffer {"connection_id":136809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:44:55] local.INFO: IMEI packet received {"connection_id":136809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":136809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:44:56] local.INFO: TCP Data received {"connection_id":136809,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4bc5b0012d181e000721af00005200d22c..."} 
[2026-07-19 17:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4bc5b0012d181e000721af00005200d22c..."} 
[2026-07-19 17:44:56] local.INFO: Processing buffer {"connection_id":136809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4bc5b0012d181e000721af00005200d22c..."} 
[2026-07-19 17:44:56] local.INFO: Packet analysis {"connection_id":136809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4b"} 
[2026-07-19 17:44:56] local.INFO: Extracted packet for processing {"connection_id":136809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4b"} 
[2026-07-19 17:44:56] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648000,"longitude_deg":75.6555264,"latitude_deg":11.9648,"altitude":82,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af00","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822577408001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206864928374784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841478144,"note":"Value kept but may cause issues"} 
[2026-07-19 17:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784463214000,"timestamp_ms":1784463214000,"timestamp_seconds":1784463214,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4bc5b0"} 
[2026-07-19 17:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:44: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-07-19 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 17:44:56] 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-07-19 17: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-07-19 17:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822577408001,"66":12515,"105":206,"83":41984,"24":0,"16":7206864928374784,"45":1737826536841478144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822577408001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:44:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:44:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206864928374784,"km_value":7206864928374.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841478144,"description":"Unknown IO ID 45"} 
[2026-07-19 17:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822577408001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841478144}} 
[2026-07-19 17:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":136809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:44:56] local.INFO: GPS data processed {"connection_id":136809,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:44:56] local.INFO: Acknowledgment sent {"connection_id":136809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:45:13] local.INFO: TCP Data received {"connection_id":136703,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:45:13] local.INFO: Processing buffer {"connection_id":136703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:45:13] local.INFO: Packet analysis {"connection_id":136703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4b"} 
[2026-07-19 17:45:13] local.INFO: Extracted packet for processing {"connection_id":136703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4b"} 
[2026-07-19 17:45:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822506752001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:45: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-07-19 17:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784463218000,"timestamp_ms":1784463218000,"timestamp_seconds":1784463218,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4bd550"} 
[2026-07-19 17:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 17:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":136703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":136703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":136703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:45: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-07-19 17:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822506752001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822506752001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:45:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:45:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822506752001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":136703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:45:13] local.INFO: GPS data processed {"connection_id":136703,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:45:13] local.INFO: Acknowledgment sent {"connection_id":136703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:45:15] local.INFO: TCP Data received {"connection_id":137771,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:45:15] local.INFO: Processing buffer {"connection_id":137771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:45:15] local.INFO: IMEI packet received {"connection_id":137771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":137771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:45:21] local.INFO: TCP Data received {"connection_id":137771,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:45:21] local.INFO: Processing buffer {"connection_id":137771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:45:21] local.INFO: IMEI packet received {"connection_id":137771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":137771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:45:21] local.INFO: TCP Data received {"connection_id":137771,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4c42b0012d7d188005ca18b8000a00b91f..."} 
[2026-07-19 17:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4c42b0012d7d188005ca18b8000a00b91f..."} 
[2026-07-19 17:45:21] local.INFO: Processing buffer {"connection_id":137771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4c42b0012d7d188005ca18b8000a00b91f..."} 
[2026-07-19 17:45:21] local.INFO: Packet analysis {"connection_id":137771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4c"} 
[2026-07-19 17:45:21] local.INFO: Extracted packet for processing {"connection_id":137771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4c"} 
[2026-07-19 17:45:21] local.INFO: GPS Element Parsed {"raw_longitude":763172992,"raw_latitude":97130680,"longitude_deg":76.3172992,"latitude_deg":9.713068,"altitude":10,"angle":185,"satellites":31,"speed":57,"hex_longitude":"2d7d1880","hex_latitude":"05ca18b8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 17:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822589440001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108241203153076224,"note":"Value kept but may cause issues"} 
[2026-07-19 17:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014939841468252160,"note":"Value kept but may cause issues"} 
[2026-07-19 17:45:21] 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-07-19 17:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784463246000,"timestamp_ms":1784463246000,"timestamp_seconds":1784463246,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4c42b0"} 
[2026-07-19 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-07-19 17:45: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-07-19 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-19 17:45: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-07-19 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-07-19 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-07-19 17:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":137771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":137771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":137771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:45:21] 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-07-19 17:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822589440001,"66":13091,"131":206,"85":15104,"24":57,"16":108241203153076224,"45":9014939841468252160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-19 17:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822589440001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:45:21] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-19 17:45:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108241203153076224,"km_value":108241203153076.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014939841468252160,"description":"Unknown IO ID 45"} 
[2026-07-19 17:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822589440001,"power":13091,"unknown_131":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9014939841468252160}} 
[2026-07-19 17:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":137771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:45:21] local.INFO: GPS data processed {"connection_id":137771,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:45:21] local.INFO: Acknowledgment sent {"connection_id":137771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:45:26] local.INFO: TCP Data received {"connection_id":137772,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:45:26] local.INFO: Processing buffer {"connection_id":137772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:45:26] local.INFO: IMEI packet received {"connection_id":137772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 17:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":137772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:45:27] local.INFO: TCP Data received {"connection_id":136809,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4c17b8012d181e000721ae18005400c82c..."} 
[2026-07-19 17:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4c17b8012d181e000721ae18005400c82c..."} 
[2026-07-19 17:45:27] local.INFO: Processing buffer {"connection_id":136809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4c17b8012d181e000721ae18005400c82c..."} 
[2026-07-19 17:45:27] local.INFO: Packet analysis {"connection_id":136809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4c"} 
[2026-07-19 17:45:27] local.INFO: Extracted packet for processing {"connection_id":136809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4c"} 
[2026-07-19 17:45:27] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":84,"angle":200,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-07-19 17:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822582784001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206873518309376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841478144,"note":"Value kept but may cause issues"} 
[2026-07-19 17:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784463235000,"timestamp_ms":1784463235000,"timestamp_seconds":1784463235,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4c17b8"} 
[2026-07-19 17:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:45: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-07-19 17:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-19 17:45:27] 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-07-19 17:45: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-07-19 17:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822582784001,"66":12526,"105":206,"83":41984,"24":0,"16":7206873518309376,"45":1737826536841478144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822582784001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:45:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:45:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206873518309376,"km_value":7206873518309.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841478144,"description":"Unknown IO ID 45"} 
[2026-07-19 17:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822582784001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841478144}} 
[2026-07-19 17:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":136809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:45:27] local.INFO: GPS data processed {"connection_id":136809,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:45:27] local.INFO: Acknowledgment sent {"connection_id":136809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:45:32] local.INFO: TCP Data received {"connection_id":137773,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:45:32] local.INFO: Processing buffer {"connection_id":137773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:45:32] local.INFO: IMEI packet received {"connection_id":137773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":137773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:45:36] local.INFO: TCP Data received {"connection_id":137773,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:45:36] local.INFO: Processing buffer {"connection_id":137773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:45:36] local.INFO: IMEI packet received {"connection_id":137773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":137773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:45:37] local.INFO: TCP Data received {"connection_id":137773,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:45:37] local.INFO: Processing buffer {"connection_id":137773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:45:37] local.INFO: Packet analysis {"connection_id":137773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4b"} 
[2026-07-19 17:45:37] local.INFO: Extracted packet for processing {"connection_id":137773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4b"} 
[2026-07-19 17:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822506752001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:45: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-07-19 17:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784463218000,"timestamp_ms":1784463218000,"timestamp_seconds":1784463218,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4bd550"} 
[2026-07-19 17:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 17:45: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-07-19 17: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-07-19 17:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822506752001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822506752001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:45:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822506752001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":137773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:45:37] local.INFO: GPS data processed {"connection_id":137773,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:45:37] local.INFO: Acknowledgment sent {"connection_id":137773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:45:50] local.INFO: TCP Data received {"connection_id":136810,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:45:50] local.INFO: Processing buffer {"connection_id":136810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:45:50] local.INFO: IMEI packet received {"connection_id":136810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":136810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:45:52] local.INFO: TCP Data received {"connection_id":137771,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4c5e08012d7d154005c9f0e8000a00b91f..."} 
[2026-07-19 17:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4c5e08012d7d154005c9f0e8000a00b91f..."} 
[2026-07-19 17:45:52] local.INFO: Processing buffer {"connection_id":137771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4c5e08012d7d154005c9f0e8000a00b91f..."} 
[2026-07-19 17:45:52] local.INFO: Packet analysis {"connection_id":137771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4c"} 
[2026-07-19 17:45:52] local.INFO: Extracted packet for processing {"connection_id":137771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4c"} 
[2026-07-19 17:45:52] local.INFO: GPS Element Parsed {"raw_longitude":763172160,"raw_latitude":97120488,"longitude_deg":76.317216,"latitude_deg":9.7120488,"altitude":10,"angle":185,"satellites":31,"speed":57,"hex_longitude":"2d7d1540","hex_latitude":"05c9f0e8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822590976001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108241701369282560,"note":"Value kept but may cause issues"} 
[2026-07-19 17:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014095416535857152,"note":"Value kept but may cause issues"} 
[2026-07-19 17:45:52] 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-07-19 17:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784463253000,"timestamp_ms":1784463253000,"timestamp_seconds":1784463253,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4c5e08"} 
[2026-07-19 17:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:45: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-07-19 17: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-19 17:45:52] 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-07-19 17: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-07-19 17:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":137771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":137771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":137771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:45:52] 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-07-19 17:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822590976001,"66":13059,"131":206,"85":15104,"24":57,"16":108241701369282560,"45":9014095416535857152},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-19 17:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822590976001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:45:52] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-19 17:45:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108241701369282560,"km_value":108241701369282.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014095416535857152,"description":"Unknown IO ID 45"} 
[2026-07-19 17:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822590976001,"power":13059,"unknown_131":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9014095416535857152}} 
[2026-07-19 17:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":137771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:45:52] local.INFO: GPS data processed {"connection_id":137771,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:45:52] local.INFO: Acknowledgment sent {"connection_id":137771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:45:55] local.INFO: TCP Data received {"connection_id":136810,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:45:55] local.INFO: Processing buffer {"connection_id":136810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:45:55] local.INFO: IMEI packet received {"connection_id":136810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":136810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:45:56] local.INFO: TCP Data received {"connection_id":136810,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4c69c0012d181e000721ae18005400c82c..."} 
[2026-07-19 17:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4c69c0012d181e000721ae18005400c82c..."} 
[2026-07-19 17:45:56] local.INFO: Processing buffer {"connection_id":136810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4c69c0012d181e000721ae18005400c82c..."} 
[2026-07-19 17:45:56] local.INFO: Packet analysis {"connection_id":136810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4c"} 
[2026-07-19 17:45:56] local.INFO: Extracted packet for processing {"connection_id":136810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4c"} 
[2026-07-19 17:45:56] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":84,"angle":200,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822588160001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206873518309376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784463256000,"timestamp_ms":1784463256000,"timestamp_seconds":1784463256,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4c69c0"} 
[2026-07-19 17:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:45: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-07-19 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 17:45:56] 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-07-19 17: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-07-19 17:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822588160001,"66":12504,"105":206,"83":41984,"24":0,"16":7206873518309376,"45":1737826536841418752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822588160001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:45:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:45:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206873518309376,"km_value":7206873518309.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-07-19 17:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822588160001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-07-19 17:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":136810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:45:56] local.INFO: GPS data processed {"connection_id":136810,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:45:56] local.INFO: Acknowledgment sent {"connection_id":136810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:46:08] local.INFO: TCP Data received {"connection_id":137773,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:46:08] local.INFO: Processing buffer {"connection_id":137773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:46:08] local.INFO: Packet analysis {"connection_id":137773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4b"} 
[2026-07-19 17:46:08] local.INFO: Extracted packet for processing {"connection_id":137773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4b"} 
[2026-07-19 17:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822506752001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17: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-07-19 17:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784463218000,"timestamp_ms":1784463218000,"timestamp_seconds":1784463218,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4bd550"} 
[2026-07-19 17:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17: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":151,"data_length":795,"current_offset":136} 
[2026-07-19 17:46: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-07-19 17: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-07-19 17:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:46: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-07-19 17:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822506752001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822506752001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:46:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:46:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822506752001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":137773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:46:08] local.INFO: GPS data processed {"connection_id":137773,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:46:08] local.INFO: Acknowledgment sent {"connection_id":137773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:46:20] local.INFO: TCP Data received {"connection_id":136704,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:46:20] local.INFO: Processing buffer {"connection_id":136704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:46:20] local.INFO: IMEI packet received {"connection_id":136704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":136704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:46:21] local.INFO: TCP Data received {"connection_id":136704,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:46:21] local.INFO: Processing buffer {"connection_id":136704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:46:21] local.INFO: IMEI packet received {"connection_id":136704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":136704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:46:26] local.INFO: TCP Data received {"connection_id":136704,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:46:26] local.INFO: Processing buffer {"connection_id":136704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:46:26] local.INFO: IMEI packet received {"connection_id":136704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":136704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:46:26] local.INFO: TCP Data received {"connection_id":136704,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4c7960012d7d120005c9ca08000900b91f..."} 
[2026-07-19 17:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4c7960012d7d120005c9ca08000900b91f..."} 
[2026-07-19 17:46:26] local.INFO: Processing buffer {"connection_id":136704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4c7960012d7d120005c9ca08000900b91f..."} 
[2026-07-19 17:46:26] local.INFO: Packet analysis {"connection_id":136704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4c"} 
[2026-07-19 17:46:26] local.INFO: Extracted packet for processing {"connection_id":136704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4c"} 
[2026-07-19 17:46:26] local.INFO: GPS Element Parsed {"raw_longitude":763171328,"raw_latitude":97110536,"longitude_deg":76.3171328,"latitude_deg":9.7110536,"altitude":9,"angle":185,"satellites":31,"speed":56,"hex_longitude":"2d7d1200","hex_latitude":"05c9ca08","is_valid_coordinates":true} 
[2026-07-19 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-07-19 17:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822592768001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108242186700587008,"note":"Value kept but may cause issues"} 
[2026-07-19 17:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013180622858938368,"note":"Value kept but may cause issues"} 
[2026-07-19 17:46: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-07-19 17:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784463260000,"timestamp_ms":1784463260000,"timestamp_seconds":1784463260,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4c7960"} 
[2026-07-19 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-07-19 17:46:26] 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-07-19 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-19 17:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303152980086188,"note":"Value kept but may cause issues"} 
[2026-07-19 17:46:26] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58077557095399481,"note":"Value kept but may cause issues"} 
[2026-07-19 17:46:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 17:46:26] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2334326784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:46:26] local.WARNING: Large IO value detected {"io_id":139,"raw_value":4194304000,"note":"Value kept but may cause issues"} 
[2026-07-19 17:46:26] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2265448458,"corrected_to":0} 
[2026-07-19 17:46:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2894266574,"corrected_to":0} 
[2026-07-19 17:46:26] local.WARNING: Large IO value detected {"io_id":228,"raw_value":4026609021,"note":"Value kept but may cause issues"} 
[2026-07-19 17:46:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3402543104,"note":"Value kept but may cause issues"} 
[2026-07-19 17:46:26] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,131,85,24,241,157,16,141,159,66,45,128,10,31,140,43,59,19,1,240,237,227,139,122,202,4,113,205,63,228,39,184,28,239,51,2,5,11,57],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":202,"original":2265448458,"validated":0},{"io_id":205,"original":2894266574,"validated":0}]} 
[2026-07-19 17:46:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720779483178139648,"timestamp_seconds":720779483178139.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 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-07-19 17:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":136704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":136704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":136704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:46:26] 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-07-19 17:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822592768001,"66":13091,"131":206,"85":15104,"24":56,"16":108242186700587008,"45":9013180622858938368},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-19 17:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822592768001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:46:26] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-19 17:46:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-19 17:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108242186700587008,"km_value":108242186700587.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013180622858938368,"description":"Unknown IO ID 45"} 
[2026-07-19 17:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822592768001,"power":13091,"unknown_131":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":9013180622858938368}} 
[2026-07-19 17:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":136704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:46:26] local.INFO: GPS data processed {"connection_id":136704,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:46:26] local.INFO: Acknowledgment sent {"connection_id":136704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:46:27] local.INFO: TCP Data received {"connection_id":136810,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4cbbc8012d181e000721ae18005400c82b..."} 
[2026-07-19 17:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4cbbc8012d181e000721ae18005400c82b..."} 
[2026-07-19 17:46:27] local.INFO: Processing buffer {"connection_id":136810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4cbbc8012d181e000721ae18005400c82b..."} 
[2026-07-19 17:46:27] local.INFO: Packet analysis {"connection_id":136810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4c"} 
[2026-07-19 17:46:27] local.INFO: Extracted packet for processing {"connection_id":136810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4c"} 
[2026-07-19 17:46:27] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":84,"angle":200,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822593536001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206873518309376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784463277000,"timestamp_ms":1784463277000,"timestamp_seconds":1784463277,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4cbbc8"} 
[2026-07-19 17:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:46: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-07-19 17: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":216,"data_length":795,"current_offset":136} 
[2026-07-19 17:46:27] 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-07-19 17: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-07-19 17:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822593536001,"66":12504,"105":206,"83":41984,"24":0,"16":7206873518309376,"45":1737826536841418752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822593536001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:46:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:46:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206873518309376,"km_value":7206873518309.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-07-19 17:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822593536001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-07-19 17:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":136810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:46:27] local.INFO: GPS data processed {"connection_id":136810,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:46:27] local.INFO: Acknowledgment sent {"connection_id":136810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:46:30] local.INFO: TCP Data received {"connection_id":136705,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:46:30] local.INFO: Processing buffer {"connection_id":136705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:46:30] local.INFO: IMEI packet received {"connection_id":136705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":136705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:46:36] local.INFO: TCP Data received {"connection_id":136705,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:46:36] local.INFO: Processing buffer {"connection_id":136705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:46:36] local.INFO: IMEI packet received {"connection_id":136705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":136705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:46:37] local.INFO: TCP Data received {"connection_id":136705,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:46:37] local.INFO: Processing buffer {"connection_id":136705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:46:37] local.INFO: Packet analysis {"connection_id":136705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4b"} 
[2026-07-19 17:46:37] local.INFO: Extracted packet for processing {"connection_id":136705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4b"} 
[2026-07-19 17:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822506752001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:46: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-07-19 17:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784463218000,"timestamp_ms":1784463218000,"timestamp_seconds":1784463218,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4bd550"} 
[2026-07-19 17:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 17:46: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-07-19 17:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822506752001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822506752001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:46:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822506752001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":136705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:46:37] local.INFO: GPS data processed {"connection_id":136705,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:46:37] local.INFO: Acknowledgment sent {"connection_id":136705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:46:55] local.INFO: TCP Data received {"connection_id":139168,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:46:55] local.INFO: Processing buffer {"connection_id":139168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:46:55] local.INFO: IMEI packet received {"connection_id":139168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":139168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:46:58] local.INFO: TCP Data received {"connection_id":136704,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4e4e20012d7d1a4005c8a7b0000900b01b..."} 
[2026-07-19 17:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4e4e20012d7d1a4005c8a7b0000900b01b..."} 
[2026-07-19 17:46:58] local.INFO: Processing buffer {"connection_id":136704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4e4e20012d7d1a4005c8a7b0000900b01b..."} 
[2026-07-19 17:46:58] local.INFO: Packet analysis {"connection_id":136704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4e"} 
[2026-07-19 17:46:58] local.INFO: Extracted packet for processing {"connection_id":136704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4e"} 
[2026-07-19 17:46:58] local.INFO: GPS Element Parsed {"raw_longitude":763173440,"raw_latitude":97036208,"longitude_deg":76.317344,"latitude_deg":9.7036208,"altitude":9,"angle":176,"satellites":27,"speed":22,"hex_longitude":"2d7d1a40","hex_latitude":"05c8a7b0","is_valid_coordinates":true} 
[2026-07-19 17:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822620160001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108245820242919424,"note":"Value kept but may cause issues"} 
[2026-07-19 17:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013673204048824320,"note":"Value kept but may cause issues"} 
[2026-07-19 17:46:58] 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-07-19 17:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784463380000,"timestamp_ms":1784463380000,"timestamp_seconds":1784463380,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4e4e20"} 
[2026-07-19 17:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:46: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-07-19 17:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-19 17:46:58] 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-07-19 17:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:46:58] 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-07-19 17:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822620160001,"66":12885,"205":206,"85":12288,"24":22,"16":108245820242919424,"45":9013673204048824320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-19 17:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822620160001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:46:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 17:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108245820242919424,"km_value":108245820242919.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013673204048824320,"description":"Unknown IO ID 45"} 
[2026-07-19 17:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822620160001,"power":12885,"cell_id":206,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":9013673204048824320}} 
[2026-07-19 17:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":136704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:46:58] local.INFO: GPS data processed {"connection_id":136704,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:46:58] local.INFO: Acknowledgment sent {"connection_id":136704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:47:00] local.INFO: TCP Data received {"connection_id":139168,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:47:00] local.INFO: Processing buffer {"connection_id":139168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:47:00] local.INFO: IMEI packet received {"connection_id":139168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":139168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:47:00] local.INFO: TCP Data received {"connection_id":139168,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4d0dd0012d181e000721ae18005400c82b..."} 
[2026-07-19 17:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4d0dd0012d181e000721ae18005400c82b..."} 
[2026-07-19 17:47:00] local.INFO: Processing buffer {"connection_id":139168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4d0dd0012d181e000721ae18005400c82b..."} 
[2026-07-19 17:47:00] local.INFO: Packet analysis {"connection_id":139168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4d"} 
[2026-07-19 17:47:00] local.INFO: Extracted packet for processing {"connection_id":139168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4d"} 
[2026-07-19 17:47:00] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":84,"angle":200,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-07-19 17:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822598912001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206873518309376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47: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-07-19 17:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784463298000,"timestamp_ms":1784463298000,"timestamp_seconds":1784463298,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4d0dd0"} 
[2026-07-19 17:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:47: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-07-19 17:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 17:47:00] 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-07-19 17:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":139168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":139168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":139168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822598912001,"66":12504,"105":206,"83":41984,"24":0,"16":7206873518309376,"45":1737826536841418752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822598912001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:47:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:47:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206873518309376,"km_value":7206873518309.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-07-19 17:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822598912001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-07-19 17:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":139168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:47:01] local.INFO: GPS data processed {"connection_id":139168,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:47:01] local.INFO: Acknowledgment sent {"connection_id":139168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:47:08] local.INFO: TCP Data received {"connection_id":136705,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:47:08] local.INFO: Processing buffer {"connection_id":136705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:47:08] local.INFO: Packet analysis {"connection_id":136705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4b"} 
[2026-07-19 17:47:08] local.INFO: Extracted packet for processing {"connection_id":136705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4b"} 
[2026-07-19 17:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822506752001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47: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-07-19 17:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784463218000,"timestamp_ms":1784463218000,"timestamp_seconds":1784463218,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4bd550"} 
[2026-07-19 17:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 17:47: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-07-19 17:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822506752001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822506752001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:47:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:47:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822506752001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":136705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:47:08] local.INFO: GPS data processed {"connection_id":136705,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:47:08] local.INFO: Acknowledgment sent {"connection_id":136705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:47:15] local.INFO: TCP Data received {"connection_id":137775,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:47:15] local.INFO: Processing buffer {"connection_id":137775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:47:15] local.INFO: IMEI packet received {"connection_id":137775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":137775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:47:21] local.INFO: TCP Data received {"connection_id":137775,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:47:21] local.INFO: Processing buffer {"connection_id":137775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:47:21] local.INFO: IMEI packet received {"connection_id":137775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":137775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:47:22] local.INFO: TCP Data received {"connection_id":137775,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4e9088012d7d1e8005c883c8000800ad1c..."} 
[2026-07-19 17:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4e9088012d7d1e8005c883c8000800ad1c..."} 
[2026-07-19 17:47:22] local.INFO: Processing buffer {"connection_id":137775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4e9088012d7d1e8005c883c8000800ad1c..."} 
[2026-07-19 17:47:22] local.INFO: Packet analysis {"connection_id":137775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4e"} 
[2026-07-19 17:47:22] local.INFO: Extracted packet for processing {"connection_id":137775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4e"} 
[2026-07-19 17:47:22] local.INFO: GPS Element Parsed {"raw_longitude":763174528,"raw_latitude":97027016,"longitude_deg":76.3174528,"latitude_deg":9.7027016,"altitude":8,"angle":173,"satellites":28,"speed":31,"hex_longitude":"2d7d1e80","hex_latitude":"05c883c8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822625280001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108246266919518208,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014587997720915968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47:22] 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-07-19 17:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784463397000,"timestamp_ms":1784463397000,"timestamp_seconds":1784463397,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4e9088"} 
[2026-07-19 17:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:47: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-07-19 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-19 17:47:22] 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-07-19 17: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-07-19 17:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":137775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":137775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":137775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:47:22] 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-07-19 17:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822625280001,"66":13189,"205":206,"85":12288,"24":31,"16":108246266919518208,"45":9014587997720915968},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-19 17:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822625280001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:47:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 17:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108246266919518208,"km_value":108246266919518.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014587997720915968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822625280001,"power":13189,"cell_id":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9014587997720915968}} 
[2026-07-19 17:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":137775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:47:22] local.INFO: GPS data processed {"connection_id":137775,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:47:22] local.INFO: Acknowledgment sent {"connection_id":137775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:47:32] local.INFO: TCP Data received {"connection_id":139168,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4d5fd8012d181e000721ae18005400c82d..."} 
[2026-07-19 17:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4d5fd8012d181e000721ae18005400c82d..."} 
[2026-07-19 17:47:32] local.INFO: Processing buffer {"connection_id":139168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4d5fd8012d181e000721ae18005400c82d..."} 
[2026-07-19 17:47:32] local.INFO: Packet analysis {"connection_id":139168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4d"} 
[2026-07-19 17:47:32] local.INFO: Extracted packet for processing {"connection_id":139168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4d"} 
[2026-07-19 17:47:32] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":84,"angle":200,"satellites":45,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822604288001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206873518309376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784463319000,"timestamp_ms":1784463319000,"timestamp_seconds":1784463319,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4d5fd8"} 
[2026-07-19 17:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:47: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-07-19 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 17:47:32] 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-07-19 17: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-07-19 17:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":139168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":139168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":139168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822604288001,"66":12428,"105":206,"83":41984,"24":0,"16":7206873518309376,"45":1737826536841418752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822604288001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:47:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:47:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206873518309376,"km_value":7206873518309.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-07-19 17:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822604288001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-07-19 17:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":139168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:47:32] local.INFO: GPS data processed {"connection_id":139168,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:47:32] local.INFO: Acknowledgment sent {"connection_id":139168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:47:36] local.INFO: TCP Data received {"connection_id":136707,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:47:36] local.INFO: Processing buffer {"connection_id":136707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:47:36] local.INFO: IMEI packet received {"connection_id":136707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":136707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:47:41] local.INFO: TCP Data received {"connection_id":136707,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:47:41] local.INFO: Processing buffer {"connection_id":136707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:47:41] local.INFO: IMEI packet received {"connection_id":136707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":136707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:47:42] local.INFO: TCP Data received {"connection_id":136707,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:47:42] local.INFO: Processing buffer {"connection_id":136707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:47:42] local.INFO: Packet analysis {"connection_id":136707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4b"} 
[2026-07-19 17:47:42] local.INFO: Extracted packet for processing {"connection_id":136707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4b"} 
[2026-07-19 17:47:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822506752001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784463218000,"timestamp_ms":1784463218000,"timestamp_seconds":1784463218,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4bd550"} 
[2026-07-19 17:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 17:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822506752001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822506752001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:47:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:47:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822506752001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":136707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:47:42] local.INFO: GPS data processed {"connection_id":136707,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:47:42] local.INFO: Acknowledgment sent {"connection_id":136707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:47:47] local.INFO: TCP Data received {"connection_id":136707,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:47:47] local.INFO: Processing buffer {"connection_id":136707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:47:47] local.INFO: Packet analysis {"connection_id":136707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4b"} 
[2026-07-19 17:47:47] local.INFO: Extracted packet for processing {"connection_id":136707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4b"} 
[2026-07-19 17:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822506752001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784463218000,"timestamp_ms":1784463218000,"timestamp_seconds":1784463218,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4bd550"} 
[2026-07-19 17:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 17:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822506752001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822506752001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:47:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:47:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822506752001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":136707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:47:47] local.INFO: GPS data processed {"connection_id":136707,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:47:47] local.INFO: Acknowledgment sent {"connection_id":136707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:47:51] local.INFO: TCP Data received {"connection_id":139169,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:47:51] local.INFO: Processing buffer {"connection_id":139169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:47:51] local.INFO: IMEI packet received {"connection_id":139169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":139169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:47:53] local.INFO: TCP Data received {"connection_id":137775,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4eb798012d7d230005c85f48000800ac1d..."} 
[2026-07-19 17:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4eb798012d7d230005c85f48000800ac1d..."} 
[2026-07-19 17:47:53] local.INFO: Processing buffer {"connection_id":137775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4eb798012d7d230005c85f48000800ac1d..."} 
[2026-07-19 17:47:53] local.INFO: Packet analysis {"connection_id":137775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4e"} 
[2026-07-19 17:47:53] local.INFO: Extracted packet for processing {"connection_id":137775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4e"} 
[2026-07-19 17:47:53] local.INFO: GPS Element Parsed {"raw_longitude":763175680,"raw_latitude":97017672,"longitude_deg":76.317568,"latitude_deg":9.7017672,"altitude":8,"angle":172,"satellites":29,"speed":36,"hex_longitude":"2d7d2300","hex_latitude":"05c85f48","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822629632001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108246726481018880,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015784266369583104,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784463407000,"timestamp_ms":1784463407000,"timestamp_seconds":1784463407,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4eb798"} 
[2026-07-19 17:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:47:53] 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-07-19 17: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-19 17:47:53] 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-07-19 17: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-07-19 17:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":137775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":137775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":137775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:47:53] 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-07-19 17:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822629632001,"66":13048,"205":206,"85":12288,"24":36,"16":108246726481018880,"45":9015784266369583104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-19 17:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822629632001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:47:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 17:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108246726481018880,"km_value":108246726481018.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015784266369583104,"description":"Unknown IO ID 45"} 
[2026-07-19 17:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822629632001,"power":13048,"cell_id":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":9015784266369583104}} 
[2026-07-19 17:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":137775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513275,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:47:53] local.INFO: GPS data processed {"connection_id":137775,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:47:53] local.INFO: Acknowledgment sent {"connection_id":137775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:47:55] local.INFO: TCP Data received {"connection_id":139169,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:47:55] local.INFO: Processing buffer {"connection_id":139169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:47:55] local.INFO: IMEI packet received {"connection_id":139169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":139169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:47:56] local.INFO: TCP Data received {"connection_id":139169,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4db1e0012d181e000721ae18005400c82c..."} 
[2026-07-19 17:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4db1e0012d181e000721ae18005400c82c..."} 
[2026-07-19 17:47:56] local.INFO: Processing buffer {"connection_id":139169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4db1e0012d181e000721ae18005400c82c..."} 
[2026-07-19 17:47:56] local.INFO: Packet analysis {"connection_id":139169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4d"} 
[2026-07-19 17:47:56] local.INFO: Extracted packet for processing {"connection_id":139169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4d"} 
[2026-07-19 17:47:56] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":84,"angle":200,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-07-19 17:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822609664001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206873518309376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784463340000,"timestamp_ms":1784463340000,"timestamp_seconds":1784463340,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4db1e0"} 
[2026-07-19 17:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:47: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-07-19 17:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-19 17:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822609664001,"66":12461,"105":206,"83":41984,"24":0,"16":7206873518309376,"45":1737826536841418752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822609664001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:47:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:47:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206873518309376,"km_value":7206873518309.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-07-19 17:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822609664001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-07-19 17:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":139169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:47:56] local.INFO: GPS data processed {"connection_id":139169,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:47:56] local.INFO: Acknowledgment sent {"connection_id":139169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:48:15] local.INFO: TCP Data received {"connection_id":136708,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:48:15] local.INFO: Processing buffer {"connection_id":136708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:48:15] local.INFO: IMEI packet received {"connection_id":136708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":136708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:48:16] local.INFO: TCP Data received {"connection_id":136708,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:48:16] local.INFO: Processing buffer {"connection_id":136708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:48:16] local.INFO: IMEI packet received {"connection_id":136708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":136708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:48:21] local.INFO: TCP Data received {"connection_id":136708,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:48:21] local.INFO: Processing buffer {"connection_id":136708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:48:21] local.INFO: IMEI packet received {"connection_id":136708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":136708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:48:21] local.INFO: TCP Data received {"connection_id":136708,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4ee290012d7d27c005c83948000800ab1d..."} 
[2026-07-19 17:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4ee290012d7d27c005c83948000800ab1d..."} 
[2026-07-19 17:48:21] local.INFO: Processing buffer {"connection_id":136708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4ee290012d7d27c005c83948000800ab1d..."} 
[2026-07-19 17:48:21] local.INFO: Packet analysis {"connection_id":136708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4e"} 
[2026-07-19 17:48:21] local.INFO: Extracted packet for processing {"connection_id":136708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4e"} 
[2026-07-19 17:48:21] local.INFO: GPS Element Parsed {"raw_longitude":763176896,"raw_latitude":97007944,"longitude_deg":76.3176896,"latitude_deg":9.7007944,"altitude":8,"angle":171,"satellites":29,"speed":37,"hex_longitude":"2d7d27c0","hex_latitude":"05c83948","is_valid_coordinates":true} 
[2026-07-19 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-07-19 17:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822632192001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108247203222388736,"note":"Value kept but may cause issues"} 
[2026-07-19 17:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017050903762388992,"note":"Value kept but may cause issues"} 
[2026-07-19 17:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784463418000,"timestamp_ms":1784463418000,"timestamp_seconds":1784463418,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4ee290"} 
[2026-07-19 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-07-19 17:48: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-07-19 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-19 17:48:21] 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-07-19 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-07-19 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-07-19 17:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":136708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":136708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":136708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:48:21] 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-07-19 17:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822632192001,"66":12906,"205":206,"85":12288,"24":37,"16":108247203222388736,"45":9017050903762388992},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-19 17:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822632192001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:48:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 17:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108247203222388736,"km_value":108247203222388.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017050903762388992,"description":"Unknown IO ID 45"} 
[2026-07-19 17:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822632192001,"power":12906,"cell_id":206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9017050903762388992}} 
[2026-07-19 17:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":136708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:48:21] local.INFO: GPS data processed {"connection_id":136708,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:48:21] local.INFO: Acknowledgment sent {"connection_id":136708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:48:27] local.INFO: TCP Data received {"connection_id":139169,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4e03e8012d181e000721ae18005400c82d..."} 
[2026-07-19 17:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4e03e8012d181e000721ae18005400c82d..."} 
[2026-07-19 17:48:27] local.INFO: Processing buffer {"connection_id":139169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4e03e8012d181e000721ae18005400c82d..."} 
[2026-07-19 17:48:27] local.INFO: Packet analysis {"connection_id":139169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4e"} 
[2026-07-19 17:48:27] local.INFO: Extracted packet for processing {"connection_id":139169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4e"} 
[2026-07-19 17:48:27] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":84,"angle":200,"satellites":45,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-07-19 17:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822615040001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206873518309376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784463361000,"timestamp_ms":1784463361000,"timestamp_seconds":1784463361,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4e03e8"} 
[2026-07-19 17:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:48: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-07-19 17:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 17:48:27] 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-07-19 17:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822615040001,"66":12461,"105":206,"83":41984,"24":0,"16":7206873518309376,"45":1737826536841418752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822615040001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:48:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:48:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206873518309376,"km_value":7206873518309.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-07-19 17:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822615040001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-07-19 17:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":139169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:48:27] local.INFO: GPS data processed {"connection_id":139169,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:48:27] local.INFO: Acknowledgment sent {"connection_id":139169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:48:31] local.INFO: TCP Data received {"connection_id":136811,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:48:31] local.INFO: Processing buffer {"connection_id":136811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:48:31] local.INFO: IMEI packet received {"connection_id":136811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":136811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:48:36] local.INFO: TCP Data received {"connection_id":136811,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:48:36] local.INFO: Processing buffer {"connection_id":136811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:48:36] local.INFO: IMEI packet received {"connection_id":136811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":136811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:48:37] local.INFO: TCP Data received {"connection_id":136811,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:48:37] local.INFO: Processing buffer {"connection_id":136811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:48:37] local.INFO: Packet analysis {"connection_id":136811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4b"} 
[2026-07-19 17:48:37] local.INFO: Extracted packet for processing {"connection_id":136811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4b"} 
[2026-07-19 17:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822506752001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:48: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-07-19 17:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784463218000,"timestamp_ms":1784463218000,"timestamp_seconds":1784463218,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4bd550"} 
[2026-07-19 17:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 17:48: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-07-19 17:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:48: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-07-19 17:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822506752001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822506752001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:48:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822506752001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":136811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:48:37] local.INFO: GPS data processed {"connection_id":136811,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:48:37] local.INFO: Acknowledgment sent {"connection_id":136811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:48:51] local.INFO: TCP Data received {"connection_id":139170,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:48:51] local.INFO: Processing buffer {"connection_id":139170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:48:51] local.INFO: IMEI packet received {"connection_id":139170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":139170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:48:52] local.INFO: TCP Data received {"connection_id":136708,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4f09a0012d7d2cc005c816c0000900ab1d..."} 
[2026-07-19 17:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4f09a0012d7d2cc005c816c0000900ab1d..."} 
[2026-07-19 17:48:52] local.INFO: Processing buffer {"connection_id":136708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4f09a0012d7d2cc005c816c0000900ab1d..."} 
[2026-07-19 17:48:52] local.INFO: Packet analysis {"connection_id":136708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4f"} 
[2026-07-19 17:48:52] local.INFO: Extracted packet for processing {"connection_id":136708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4f"} 
[2026-07-19 17:48:52] local.INFO: GPS Element Parsed {"raw_longitude":763178176,"raw_latitude":96999104,"longitude_deg":76.3178176,"latitude_deg":9.6999104,"altitude":9,"angle":171,"satellites":29,"speed":34,"hex_longitude":"2d7d2cc0","hex_latitude":"05c816c0","is_valid_coordinates":true} 
[2026-07-19 17:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822635008001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108247632719118336,"note":"Value kept but may cause issues"} 
[2026-07-19 17:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018387909899274240,"note":"Value kept but may cause issues"} 
[2026-07-19 17:48:52] 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-07-19 17:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784463428000,"timestamp_ms":1784463428000,"timestamp_seconds":1784463428,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4f09a0"} 
[2026-07-19 17:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:48: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-07-19 17:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-19 17:48:52] 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-07-19 17:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":136708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":136708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":136708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:48:52] 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-07-19 17:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822635008001,"66":12961,"199":206,"85":12288,"24":34,"16":108247632719118336,"45":9018387909899274240},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-19 17:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822635008001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:48:52] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-19 17:48:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 17:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108247632719118336,"km_value":108247632719118.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018387909899274240,"description":"Unknown IO ID 45"} 
[2026-07-19 17:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822635008001,"power":12961,"trip_odometer":0.206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9018387909899274240}} 
[2026-07-19 17:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":136708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:48:52] local.INFO: GPS data processed {"connection_id":136708,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:48:52] local.INFO: Acknowledgment sent {"connection_id":136708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:48:55] local.INFO: TCP Data received {"connection_id":139170,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:48:55] local.INFO: Processing buffer {"connection_id":139170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:48:55] local.INFO: IMEI packet received {"connection_id":139170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":139170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:48:56] local.INFO: TCP Data received {"connection_id":139170,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4e55f0012d181e000721ae18005400c82b..."} 
[2026-07-19 17:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4e55f0012d181e000721ae18005400c82b..."} 
[2026-07-19 17:48:56] local.INFO: Processing buffer {"connection_id":139170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4e55f0012d181e000721ae18005400c82b..."} 
[2026-07-19 17:48:56] local.INFO: Packet analysis {"connection_id":139170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4e"} 
[2026-07-19 17:48:56] local.INFO: Extracted packet for processing {"connection_id":139170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4e"} 
[2026-07-19 17:48:56] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":84,"angle":200,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-07-19 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-07-19 17:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822620416001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206873518309376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784463382000,"timestamp_ms":1784463382000,"timestamp_seconds":1784463382,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4e55f0"} 
[2026-07-19 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-07-19 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-07-19 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 17:48: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-07-19 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-07-19 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-07-19 17:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822620416001,"66":12461,"105":206,"83":41984,"24":0,"16":7206873518309376,"45":1737826536841418752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822620416001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:48:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:48:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206873518309376,"km_value":7206873518309.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-07-19 17:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822620416001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-07-19 17:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":139170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:48:56] local.INFO: GPS data processed {"connection_id":139170,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:48:56] local.INFO: Acknowledgment sent {"connection_id":139170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:49:09] local.INFO: TCP Data received {"connection_id":136811,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:49:09] local.INFO: Processing buffer {"connection_id":136811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4bd550012d34c50006aa4dd8000800952c..."} 
[2026-07-19 17:49:09] local.INFO: Packet analysis {"connection_id":136811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4b"} 
[2026-07-19 17:49:09] local.INFO: Extracted packet for processing {"connection_id":136811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4b"} 
[2026-07-19 17:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822506752001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:49: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-07-19 17:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784463218000,"timestamp_ms":1784463218000,"timestamp_seconds":1784463218,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4bd550"} 
[2026-07-19 17:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-19 17:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:49: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-07-19 17:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822506752001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822506752001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:49:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822506752001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":136811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:49:09] local.INFO: GPS data processed {"connection_id":136811,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:49:09] local.INFO: Acknowledgment sent {"connection_id":136811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:49:16] local.INFO: TCP Data received {"connection_id":136709,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:49:16] local.INFO: Processing buffer {"connection_id":136709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:49:16] local.INFO: IMEI packet received {"connection_id":136709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":136709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:49:16] local.INFO: TCP Data received {"connection_id":136709,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:49:16] local.INFO: Processing buffer {"connection_id":136709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:49:16] local.INFO: IMEI packet received {"connection_id":136709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":136709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:49:21] local.INFO: TCP Data received {"connection_id":136709,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:49:21] local.INFO: Processing buffer {"connection_id":136709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:49:21] local.INFO: IMEI packet received {"connection_id":136709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":136709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:49:21] local.INFO: TCP Data received {"connection_id":136709,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a50de60012d7dbb4005c74f60000a00b41e..."} 
[2026-07-19 17:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a50de60012d7dbb4005c74f60000a00b41e..."} 
[2026-07-19 17:49:21] local.INFO: Processing buffer {"connection_id":136709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a50de60012d7dbb4005c74f60000a00b41e..."} 
[2026-07-19 17:49:21] local.INFO: Packet analysis {"connection_id":136709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:49:21] local.INFO: Extracted packet for processing {"connection_id":136709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:49:21] local.INFO: GPS Element Parsed {"raw_longitude":763214656,"raw_latitude":96948064,"longitude_deg":76.3214656,"latitude_deg":9.6948064,"altitude":10,"angle":180,"satellites":30,"speed":13,"hex_longitude":"2d7dbb40","hex_latitude":"05c74f60","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822668032001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:49:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-19 17:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108250772340211712,"note":"Value kept but may cause issues"} 
[2026-07-19 17:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9059905468948854784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:49:21] 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-07-19 17:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784463548000,"timestamp_ms":1784463548000,"timestamp_seconds":1784463548,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a50de60"} 
[2026-07-19 17:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:49: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-07-19 17: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-19 17:49:21] 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-07-19 17: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-07-19 17:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":136709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":136709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":136709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:49:21] 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-07-19 17:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822668032001,"66":12689,"200":0,"85":12288,"24":13,"16":108250772340211712,"45":9059905468948854784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-19 17:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822668032001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:49:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 17:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108250772340211712,"km_value":108250772340211.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9059905468948854784,"description":"Unknown IO ID 45"} 
[2026-07-19 17:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822668032001,"power":12689,"gsm_signal":0,"unknown_85":12288,"ignition":13,"odometer":null,"unknown_45":9059905468948854784}} 
[2026-07-19 17:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":136709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:49:21] local.INFO: GPS data processed {"connection_id":136709,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:49:21] local.INFO: Acknowledgment sent {"connection_id":136709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:49:27] local.INFO: TCP Data received {"connection_id":139170,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4ea7f8012d181e000721ae18005400c82a..."} 
[2026-07-19 17:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4ea7f8012d181e000721ae18005400c82a..."} 
[2026-07-19 17:49:27] local.INFO: Processing buffer {"connection_id":139170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4ea7f8012d181e000721ae18005400c82a..."} 
[2026-07-19 17:49:27] local.INFO: Packet analysis {"connection_id":139170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4e"} 
[2026-07-19 17:49:27] local.INFO: Extracted packet for processing {"connection_id":139170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4e"} 
[2026-07-19 17:49:27] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":84,"angle":200,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-07-19 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-07-19 17:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822625792001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206873518309376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784463403000,"timestamp_ms":1784463403000,"timestamp_seconds":1784463403,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4ea7f8"} 
[2026-07-19 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-07-19 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-07-19 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 17:49:27] 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-07-19 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-07-19 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-07-19 17:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822625792001,"66":12504,"105":206,"83":41984,"24":0,"16":7206873518309376,"45":1737826536841418752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822625792001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:49:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:49:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206873518309376,"km_value":7206873518309.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-07-19 17:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822625792001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-07-19 17:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":139170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:49:27] local.INFO: GPS data processed {"connection_id":139170,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:49:27] local.INFO: Acknowledgment sent {"connection_id":139170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:49:31] local.INFO: TCP Data received {"connection_id":139171,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:49:31] local.INFO: Processing buffer {"connection_id":139171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:49:31] local.INFO: IMEI packet received {"connection_id":139171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":139171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:49:36] local.INFO: TCP Data received {"connection_id":139171,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:49:36] local.INFO: Processing buffer {"connection_id":139171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:49:36] local.INFO: IMEI packet received {"connection_id":139171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":139171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:49:37] local.INFO: TCP Data received {"connection_id":139171,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:49:37] local.INFO: Processing buffer {"connection_id":139171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:49:37] local.INFO: Packet analysis {"connection_id":139171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:49:37] local.INFO: Extracted packet for processing {"connection_id":139171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822583808001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:49: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-07-19 17:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784463519000,"timestamp_ms":1784463519000,"timestamp_seconds":1784463519,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a506d18"} 
[2026-07-19 17:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 17:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822583808001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 17:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822583808001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:49:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822583808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":139171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:49:37] local.INFO: GPS data processed {"connection_id":139171,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:49:37] local.INFO: Acknowledgment sent {"connection_id":139171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:49:51] local.INFO: TCP Data received {"connection_id":139172,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:49:51] local.INFO: Processing buffer {"connection_id":139172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:49:51] local.INFO: IMEI packet received {"connection_id":139172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":139172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:49:53] local.INFO: TCP Data received {"connection_id":136709,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a50e248012d7dbb0005c74e28000a00c31e..."} 
[2026-07-19 17:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a50e248012d7dbb0005c74e28000a00c31e..."} 
[2026-07-19 17:49:53] local.INFO: Processing buffer {"connection_id":136709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a50e248012d7dbb0005c74e28000a00c31e..."} 
[2026-07-19 17:49:53] local.INFO: Packet analysis {"connection_id":136709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:49:53] local.INFO: Extracted packet for processing {"connection_id":136709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:49:53] local.INFO: GPS Element Parsed {"raw_longitude":763214592,"raw_latitude":96947752,"longitude_deg":76.3214592,"latitude_deg":9.6947752,"altitude":10,"angle":195,"satellites":30,"speed":12,"hex_longitude":"2d7dbb00","hex_latitude":"05c74e28","is_valid_coordinates":true} 
[2026-07-19 17:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822668288001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:49:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-19 17:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108250789520080896,"note":"Value kept but may cause issues"} 
[2026-07-19 17:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9059905468948766720,"note":"Value kept but may cause issues"} 
[2026-07-19 17:49:53] 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-07-19 17:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784463549000,"timestamp_ms":1784463549000,"timestamp_seconds":1784463549,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a50e248"} 
[2026-07-19 17:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:49:53] 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-07-19 17:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-19 17:49:53] 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-07-19 17:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":136709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":136709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":136709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:49:53] 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-07-19 17:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822668288001,"66":12689,"200":0,"85":12288,"24":12,"16":108250789520080896,"45":9059905468948766720},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-19 17:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822668288001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:49:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 17:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108250789520080896,"km_value":108250789520080.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9059905468948766720,"description":"Unknown IO ID 45"} 
[2026-07-19 17:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822668288001,"power":12689,"gsm_signal":0,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":9059905468948766720}} 
[2026-07-19 17:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":136709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:49:53] local.INFO: GPS data processed {"connection_id":136709,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:49:53] local.INFO: Acknowledgment sent {"connection_id":136709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:49:55] local.INFO: TCP Data received {"connection_id":139172,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:49:55] local.INFO: Processing buffer {"connection_id":139172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:49:55] local.INFO: IMEI packet received {"connection_id":139172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":139172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:49:56] local.INFO: TCP Data received {"connection_id":139172,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4efa00012d181e000721ae18005400c82c..."} 
[2026-07-19 17:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4efa00012d181e000721ae18005400c82c..."} 
[2026-07-19 17:49:56] local.INFO: Processing buffer {"connection_id":139172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4efa00012d181e000721ae18005400c82c..."} 
[2026-07-19 17:49:56] local.INFO: Packet analysis {"connection_id":139172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4e"} 
[2026-07-19 17:49:56] local.INFO: Extracted packet for processing {"connection_id":139172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4e"} 
[2026-07-19 17:49:56] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":84,"angle":200,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-07-19 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-07-19 17:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822631168001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206873518309376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784463424000,"timestamp_ms":1784463424000,"timestamp_seconds":1784463424,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4efa00"} 
[2026-07-19 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-07-19 17:49: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-07-19 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 17:49:56] 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-07-19 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-07-19 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-07-19 17:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822631168001,"66":12461,"105":206,"83":41984,"24":0,"16":7206873518309376,"45":1737826536841418752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822631168001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:49:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:49:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206873518309376,"km_value":7206873518309.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-07-19 17:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822631168001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-07-19 17:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":139172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:49:56] local.INFO: GPS data processed {"connection_id":139172,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:49:56] local.INFO: Acknowledgment sent {"connection_id":139172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:50:09] local.INFO: TCP Data received {"connection_id":139171,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:50:09] local.INFO: Processing buffer {"connection_id":139171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:50:09] local.INFO: Packet analysis {"connection_id":139171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:50:09] local.INFO: Extracted packet for processing {"connection_id":139171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822583808001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:50: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-07-19 17:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784463519000,"timestamp_ms":1784463519000,"timestamp_seconds":1784463519,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a506d18"} 
[2026-07-19 17:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 17:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822583808001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 17:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822583808001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:50:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822583808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":139171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:50:09] local.INFO: GPS data processed {"connection_id":139171,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:50:09] local.INFO: Acknowledgment sent {"connection_id":139171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:50:20] local.INFO: TCP Data received {"connection_id":136710,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136710,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:50:20] local.INFO: Processing buffer {"connection_id":136710,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:50:20] local.INFO: IMEI packet received {"connection_id":136710,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":136710,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:50:20] local.INFO: TCP Data received {"connection_id":136710,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136710,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:50:20] local.INFO: Processing buffer {"connection_id":136710,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:50:20] local.INFO: IMEI packet received {"connection_id":136710,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":136710,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:50:26] local.INFO: TCP Data received {"connection_id":136710,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136710,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:50:26] local.INFO: Processing buffer {"connection_id":136710,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:50:26] local.INFO: IMEI packet received {"connection_id":136710,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":136710,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:50:27] local.INFO: TCP Data received {"connection_id":136710,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a50e630012d7dba4005c74d18000a00ce1e..."} 
[2026-07-19 17:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a50e630012d7dba4005c74d18000a00ce1e..."} 
[2026-07-19 17:50:27] local.INFO: Processing buffer {"connection_id":136710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a50e630012d7dba4005c74d18000a00ce1e..."} 
[2026-07-19 17:50:27] local.INFO: Packet analysis {"connection_id":136710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:50:27] local.INFO: Extracted packet for processing {"connection_id":136710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:50:27] local.INFO: GPS Element Parsed {"raw_longitude":763214400,"raw_latitude":96947480,"longitude_deg":76.32144,"latitude_deg":9.694748,"altitude":10,"angle":206,"satellites":30,"speed":11,"hex_longitude":"2d7dba40","hex_latitude":"05c74d18","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822668544001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:50:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-19 17:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108250802404982784,"note":"Value kept but may cause issues"} 
[2026-07-19 17:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9059835100204509184,"note":"Value kept but may cause issues"} 
[2026-07-19 17:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-19 17:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784463550000,"timestamp_ms":1784463550000,"timestamp_seconds":1784463550,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a50e630"} 
[2026-07-19 17:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:50: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-07-19 17: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-19 17:50:27] 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-07-19 17: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-07-19 17:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:50:27] 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-07-19 17:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822668544001,"66":13015,"200":0,"85":12288,"24":11,"16":108250802404982784,"45":9059835100204509184},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-19 17:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822668544001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:50:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 17:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108250802404982784,"km_value":108250802404982.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9059835100204509184,"description":"Unknown IO ID 45"} 
[2026-07-19 17:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822668544001,"power":13015,"gsm_signal":0,"unknown_85":12288,"ignition":11,"odometer":null,"unknown_45":9059835100204509184}} 
[2026-07-19 17:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":136710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:50:27] local.INFO: GPS data processed {"connection_id":136710,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:50:27] local.INFO: Acknowledgment sent {"connection_id":136710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:50:27] local.INFO: TCP Data received {"connection_id":139172,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4f4c08012d181e000721ae18005400c82b..."} 
[2026-07-19 17:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4f4c08012d181e000721ae18005400c82b..."} 
[2026-07-19 17:50:27] local.INFO: Processing buffer {"connection_id":139172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4f4c08012d181e000721ae18005400c82b..."} 
[2026-07-19 17:50:27] local.INFO: Packet analysis {"connection_id":139172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4f"} 
[2026-07-19 17:50:27] local.INFO: Extracted packet for processing {"connection_id":139172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4f"} 
[2026-07-19 17:50:27] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":84,"angle":200,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822636544001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206873518309376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784463445000,"timestamp_ms":1784463445000,"timestamp_seconds":1784463445,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4f4c08"} 
[2026-07-19 17:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:50: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-07-19 17: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":173,"data_length":795,"current_offset":136} 
[2026-07-19 17:50:27] 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-07-19 17: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-07-19 17:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822636544001,"66":12504,"105":206,"83":41984,"24":0,"16":7206873518309376,"45":1737826536841418752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822636544001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:50:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:50:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206873518309376,"km_value":7206873518309.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-07-19 17:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822636544001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-07-19 17:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":139172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:50:27] local.INFO: GPS data processed {"connection_id":139172,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:50:27] local.INFO: Acknowledgment sent {"connection_id":139172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:50:30] local.INFO: TCP Data received {"connection_id":137778,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:50:30] local.INFO: Processing buffer {"connection_id":137778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:50:30] local.INFO: IMEI packet received {"connection_id":137778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":137778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:50:31] local.INFO: TCP Data received {"connection_id":136710,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a50ee00012d7db90005c74b70000a00dc1e..."} 
[2026-07-19 17:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a50ee00012d7db90005c74b70000a00dc1e..."} 
[2026-07-19 17:50:31] local.INFO: Processing buffer {"connection_id":136710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a50ee00012d7db90005c74b70000a00dc1e..."} 
[2026-07-19 17:50:31] local.INFO: Packet analysis {"connection_id":136710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:50:31] local.INFO: Extracted packet for processing {"connection_id":136710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:50:31] local.INFO: GPS Element Parsed {"raw_longitude":763214080,"raw_latitude":96947056,"longitude_deg":76.321408,"latitude_deg":9.6947056,"altitude":10,"angle":220,"satellites":30,"speed":10,"hex_longitude":"2d7db900","hex_latitude":"05c74b70","is_valid_coordinates":true} 
[2026-07-19 17:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822668800001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:50:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-19 17:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108250828174786560,"note":"Value kept but may cause issues"} 
[2026-07-19 17:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9059623993971906560,"note":"Value kept but may cause issues"} 
[2026-07-19 17:50: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-07-19 17:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784463552000,"timestamp_ms":1784463552000,"timestamp_seconds":1784463552,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a50ee00"} 
[2026-07-19 17:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:50: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-07-19 17:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-19 17:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":136710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":136710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":136710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:50:31] 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-07-19 17:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822668800001,"66":12667,"200":0,"85":12288,"24":10,"16":108250828174786560,"45":9059623993971906560},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-19 17:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822668800001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:50:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 17:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108250828174786560,"km_value":108250828174786.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9059623993971906560,"description":"Unknown IO ID 45"} 
[2026-07-19 17:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822668800001,"power":12667,"gsm_signal":0,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":9059623993971906560}} 
[2026-07-19 17:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":136710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:50:31] local.INFO: GPS data processed {"connection_id":136710,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:50:31] local.INFO: Acknowledgment sent {"connection_id":136710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:50:36] local.INFO: TCP Data received {"connection_id":137778,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:50:36] local.INFO: Processing buffer {"connection_id":137778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:50:36] local.INFO: IMEI packet received {"connection_id":137778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":137778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:50:37] local.INFO: TCP Data received {"connection_id":137778,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:50:37] local.INFO: Processing buffer {"connection_id":137778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:50:37] local.INFO: Packet analysis {"connection_id":137778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:50:37] local.INFO: Extracted packet for processing {"connection_id":137778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822583808001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:50: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-07-19 17:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784463519000,"timestamp_ms":1784463519000,"timestamp_seconds":1784463519,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a506d18"} 
[2026-07-19 17:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 17:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:50: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-07-19 17:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822583808001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822583808001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822583808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":137778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:50:37] local.INFO: GPS data processed {"connection_id":137778,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:50:37] local.INFO: Acknowledgment sent {"connection_id":137778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:50:50] local.INFO: TCP Data received {"connection_id":136712,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:50:50] local.INFO: Processing buffer {"connection_id":136712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:50:50] local.INFO: IMEI packet received {"connection_id":136712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":136712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:50:51] local.INFO: TCP Data received {"connection_id":136712,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:50:51] local.INFO: Processing buffer {"connection_id":136712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:50:51] local.INFO: IMEI packet received {"connection_id":136712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":136712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:50:55] local.INFO: TCP Data received {"connection_id":136712,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:50:55] local.INFO: Processing buffer {"connection_id":136712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:50:55] local.INFO: IMEI packet received {"connection_id":136712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":136712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:50:56] local.INFO: TCP Data received {"connection_id":136712,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4f9e10012d181e000721ae18005400c828..."} 
[2026-07-19 17:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4f9e10012d181e000721ae18005400c828..."} 
[2026-07-19 17:50:56] local.INFO: Processing buffer {"connection_id":136712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4f9e10012d181e000721ae18005400c828..."} 
[2026-07-19 17:50:56] local.INFO: Packet analysis {"connection_id":136712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4f"} 
[2026-07-19 17:50:56] local.INFO: Extracted packet for processing {"connection_id":136712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4f"} 
[2026-07-19 17:50:56] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":84,"angle":200,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822641920001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206873518309376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784463466000,"timestamp_ms":1784463466000,"timestamp_seconds":1784463466,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4f9e10"} 
[2026-07-19 17:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:50: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-07-19 17: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":216,"data_length":795,"current_offset":136} 
[2026-07-19 17:50:56] 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-07-19 17: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-07-19 17:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822641920001,"66":12504,"105":206,"83":41984,"24":0,"16":7206873518309376,"45":1737826536841418752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822641920001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:50:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:50:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206873518309376,"km_value":7206873518309.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-07-19 17:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822641920001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-07-19 17:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":136712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:50:56] local.INFO: GPS data processed {"connection_id":136712,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:50:56] local.INFO: Acknowledgment sent {"connection_id":136712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:51:09] local.INFO: TCP Data received {"connection_id":137778,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:51:09] local.INFO: Processing buffer {"connection_id":137778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:51:09] local.INFO: Packet analysis {"connection_id":137778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:51:09] local.INFO: Extracted packet for processing {"connection_id":137778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822583808001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:51: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-07-19 17:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784463519000,"timestamp_ms":1784463519000,"timestamp_seconds":1784463519,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a506d18"} 
[2026-07-19 17:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 17:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:51: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-07-19 17:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822583808001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822583808001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:51:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822583808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":137778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:51:09] local.INFO: GPS data processed {"connection_id":137778,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:51:09] local.INFO: Acknowledgment sent {"connection_id":137778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:51:11] local.INFO: TCP Data received {"connection_id":136812,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:51:11] local.INFO: Processing buffer {"connection_id":136812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:51:11] local.INFO: IMEI packet received {"connection_id":136812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":136812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:51:13] local.INFO: TCP Data received {"connection_id":136812,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:51:13] local.INFO: Processing buffer {"connection_id":136812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:51:13] local.INFO: IMEI packet received {"connection_id":136812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":136812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:51:14] local.INFO: TCP Data received {"connection_id":136812,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:51:14] local.INFO: Processing buffer {"connection_id":136812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:51:14] local.INFO: IMEI packet received {"connection_id":136812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":136812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:51:16] local.INFO: TCP Data received {"connection_id":136812,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:51:16] local.INFO: Processing buffer {"connection_id":136812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:51:16] local.INFO: IMEI packet received {"connection_id":136812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":136812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:51:27] local.INFO: TCP Data received {"connection_id":136712,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a4ff018012d181e000721ae18005400c82b..."} 
[2026-07-19 17:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a4ff018012d181e000721ae18005400c82b..."} 
[2026-07-19 17:51:27] local.INFO: Processing buffer {"connection_id":136712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a4ff018012d181e000721ae18005400c82b..."} 
[2026-07-19 17:51:27] local.INFO: Packet analysis {"connection_id":136712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a4f"} 
[2026-07-19 17:51:27] local.INFO: Extracted packet for processing {"connection_id":136712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a4f"} 
[2026-07-19 17:51:27] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":84,"angle":200,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-07-19 17:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822647296001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206873518309376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784463487000,"timestamp_ms":1784463487000,"timestamp_seconds":1784463487,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a4ff018"} 
[2026-07-19 17:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:51: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-07-19 17:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 17:51:27] 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-07-19 17:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822647296001,"66":12493,"105":206,"83":41984,"24":0,"16":7206873518309376,"45":1737826536841418752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822647296001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:51:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:51:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206873518309376,"km_value":7206873518309.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-07-19 17:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822647296001,"power":12493,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-07-19 17:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":136712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:51:27] local.INFO: GPS data processed {"connection_id":136712,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:51:27] local.INFO: Acknowledgment sent {"connection_id":136712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:51:31] local.INFO: TCP Data received {"connection_id":137779,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:51:31] local.INFO: Processing buffer {"connection_id":137779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:51:31] local.INFO: IMEI packet received {"connection_id":137779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":137779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:51:31] local.INFO: TCP Data received {"connection_id":136813,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136813,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:51:31] local.INFO: Processing buffer {"connection_id":136813,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:51:31] local.INFO: IMEI packet received {"connection_id":136813,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 17:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":136813,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:51:36] local.INFO: TCP Data received {"connection_id":137779,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:51:36] local.INFO: Processing buffer {"connection_id":137779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:51:36] local.INFO: IMEI packet received {"connection_id":137779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":137779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:51:38] local.INFO: TCP Data received {"connection_id":137779,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:51:38] local.INFO: Processing buffer {"connection_id":137779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:51:38] local.INFO: Packet analysis {"connection_id":137779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:51:38] local.INFO: Extracted packet for processing {"connection_id":137779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:51:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822583808001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:51: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-07-19 17:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784463519000,"timestamp_ms":1784463519000,"timestamp_seconds":1784463519,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a506d18"} 
[2026-07-19 17:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 17:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:51: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-07-19 17:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822583808001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822583808001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:51:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:51:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822583808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":137779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:51:38] local.INFO: GPS data processed {"connection_id":137779,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:51:38] local.INFO: Acknowledgment sent {"connection_id":137779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:51:50] local.INFO: TCP Data received {"connection_id":137780,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:51:50] local.INFO: Processing buffer {"connection_id":137780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:51:50] local.INFO: IMEI packet received {"connection_id":137780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":137780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:51:54] local.INFO: TCP Data received {"connection_id":137780,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:51:54] local.INFO: Processing buffer {"connection_id":137780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:51:54] local.INFO: IMEI packet received {"connection_id":137780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":137780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:51:55] local.INFO: TCP Data received {"connection_id":137780,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:51:55] local.INFO: Processing buffer {"connection_id":137780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:51:55] local.INFO: IMEI packet received {"connection_id":137780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":137780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:51:56] local.INFO: TCP Data received {"connection_id":137780,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a504220012d181e000721ae18005400c82c..."} 
[2026-07-19 17:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a504220012d181e000721ae18005400c82c..."} 
[2026-07-19 17:51:56] local.INFO: Processing buffer {"connection_id":137780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a504220012d181e000721ae18005400c82c..."} 
[2026-07-19 17:51:56] local.INFO: Packet analysis {"connection_id":137780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:51:56] local.INFO: Extracted packet for processing {"connection_id":137780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:51:56] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":84,"angle":200,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-07-19 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-07-19 17:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822652672001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206873518309376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784463508000,"timestamp_ms":1784463508000,"timestamp_seconds":1784463508,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a504220"} 
[2026-07-19 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-07-19 17:51: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-07-19 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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-19 17:51:56] 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-07-19 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-07-19 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-07-19 17:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822652672001,"66":12515,"105":206,"83":41984,"24":0,"16":7206873518309376,"45":1737826536841418752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822652672001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:51:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:51:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206873518309376,"km_value":7206873518309.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-07-19 17:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822652672001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-07-19 17:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":137780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:51:56] local.INFO: GPS data processed {"connection_id":137780,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:51:56] local.INFO: Acknowledgment sent {"connection_id":137780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:52:09] local.INFO: TCP Data received {"connection_id":137779,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:52:09] local.INFO: Processing buffer {"connection_id":137779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:52:09] local.INFO: Packet analysis {"connection_id":137779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:52:09] local.INFO: Extracted packet for processing {"connection_id":137779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822583808001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:52: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-07-19 17:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784463519000,"timestamp_ms":1784463519000,"timestamp_seconds":1784463519,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a506d18"} 
[2026-07-19 17:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 17:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:52: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-07-19 17:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822583808001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822583808001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:52:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822583808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":137779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:52:09] local.INFO: GPS data processed {"connection_id":137779,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:52:09] local.INFO: Acknowledgment sent {"connection_id":137779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:52:27] local.INFO: TCP Data received {"connection_id":137780,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a509428012d181e000721ae18005400c82b..."} 
[2026-07-19 17:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a509428012d181e000721ae18005400c82b..."} 
[2026-07-19 17:52:27] local.INFO: Processing buffer {"connection_id":137780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a509428012d181e000721ae18005400c82b..."} 
[2026-07-19 17:52:27] local.INFO: Packet analysis {"connection_id":137780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:52:27] local.INFO: Extracted packet for processing {"connection_id":137780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:52:27] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":84,"angle":200,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-07-19 17:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822658048001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206873518309376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784463529000,"timestamp_ms":1784463529000,"timestamp_seconds":1784463529,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a509428"} 
[2026-07-19 17:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:52: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-07-19 17:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-19 17:52:27] 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-07-19 17:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822658048001,"66":12526,"105":206,"83":41984,"24":0,"16":7206873518309376,"45":1737826536841418752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822658048001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:52:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:52:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206873518309376,"km_value":7206873518309.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-07-19 17:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822658048001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-07-19 17:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":137780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:52:27] local.INFO: GPS data processed {"connection_id":137780,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:52:27] local.INFO: Acknowledgment sent {"connection_id":137780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:52:31] local.INFO: TCP Data received {"connection_id":136714,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:52:31] local.INFO: Processing buffer {"connection_id":136714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:52:31] local.INFO: IMEI packet received {"connection_id":136714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":136714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:52:36] local.INFO: TCP Data received {"connection_id":136714,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:52:36] local.INFO: Processing buffer {"connection_id":136714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:52:36] local.INFO: IMEI packet received {"connection_id":136714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":136714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:52:37] local.INFO: TCP Data received {"connection_id":136714,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:52:37] local.INFO: Processing buffer {"connection_id":136714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:52:37] local.INFO: Packet analysis {"connection_id":136714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:52:37] local.INFO: Extracted packet for processing {"connection_id":136714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822583808001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17: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-07-19 17:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784463519000,"timestamp_ms":1784463519000,"timestamp_seconds":1784463519,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a506d18"} 
[2026-07-19 17:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 17:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:52: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-07-19 17:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822583808001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 17:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822583808001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:52:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822583808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":136714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:52:37] local.INFO: GPS data processed {"connection_id":136714,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:52:37] local.INFO: Acknowledgment sent {"connection_id":136714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:52:55] local.INFO: TCP Data received {"connection_id":137781,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:52:55] local.INFO: Processing buffer {"connection_id":137781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:52:55] local.INFO: IMEI packet received {"connection_id":137781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":137781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:52:56] local.INFO: TCP Data received {"connection_id":137781,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:52:56] local.INFO: Processing buffer {"connection_id":137781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:52:56] local.INFO: IMEI packet received {"connection_id":137781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":137781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:52:57] local.INFO: TCP Data received {"connection_id":137781,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a50e630012d181e000721ae18005400c82c..."} 
[2026-07-19 17:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a50e630012d181e000721ae18005400c82c..."} 
[2026-07-19 17:52:57] local.INFO: Processing buffer {"connection_id":137781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a50e630012d181e000721ae18005400c82c..."} 
[2026-07-19 17:52:57] local.INFO: Packet analysis {"connection_id":137781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:52:57] local.INFO: Extracted packet for processing {"connection_id":137781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:52:57] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":84,"angle":200,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-07-19 17:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822663424001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206873518309376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784463550000,"timestamp_ms":1784463550000,"timestamp_seconds":1784463550,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a50e630"} 
[2026-07-19 17:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:52: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-07-19 17:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 17:52:57] 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-07-19 17:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822663424001,"66":12515,"105":206,"83":41984,"24":0,"16":7206873518309376,"45":1737826536841418752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822663424001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:52:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:52:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206873518309376,"km_value":7206873518309.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-07-19 17:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822663424001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-07-19 17:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":137781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:52:57] local.INFO: GPS data processed {"connection_id":137781,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:52:57] local.INFO: Acknowledgment sent {"connection_id":137781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:53:09] local.INFO: TCP Data received {"connection_id":136714,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:53:09] local.INFO: Processing buffer {"connection_id":136714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:53:09] local.INFO: Packet analysis {"connection_id":136714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:53:09] local.INFO: Extracted packet for processing {"connection_id":136714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822583808001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:53: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-07-19 17:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784463519000,"timestamp_ms":1784463519000,"timestamp_seconds":1784463519,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a506d18"} 
[2026-07-19 17:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 17:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:53: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-07-19 17:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822583808001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 17:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822583808001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:53:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:53:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822583808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":136714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:53:09] local.INFO: GPS data processed {"connection_id":136714,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:53:09] local.INFO: Acknowledgment sent {"connection_id":136714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:53:28] local.INFO: TCP Data received {"connection_id":137781,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a513838012d181e000721ae18005400c82c..."} 
[2026-07-19 17:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a513838012d181e000721ae18005400c82c..."} 
[2026-07-19 17:53:28] local.INFO: Processing buffer {"connection_id":137781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a513838012d181e000721ae18005400c82c..."} 
[2026-07-19 17:53:28] local.INFO: Packet analysis {"connection_id":137781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a51"} 
[2026-07-19 17:53:28] local.INFO: Extracted packet for processing {"connection_id":137781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a51"} 
[2026-07-19 17:53:28] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":84,"angle":200,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822668800001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206873518309376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784463571000,"timestamp_ms":1784463571000,"timestamp_seconds":1784463571,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a513838"} 
[2026-07-19 17:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:53: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-07-19 17: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-19 17:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822668800001,"66":12526,"105":206,"83":41984,"24":0,"16":7206873518309376,"45":1737826536841418752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822668800001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:53:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:53:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206873518309376,"km_value":7206873518309.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-07-19 17:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822668800001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-07-19 17:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":137781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:53:28] local.INFO: GPS data processed {"connection_id":137781,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:53:28] local.INFO: Acknowledgment sent {"connection_id":137781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:53:36] local.INFO: TCP Data received {"connection_id":139174,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:53:36] local.INFO: Processing buffer {"connection_id":139174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:53:36] local.INFO: IMEI packet received {"connection_id":139174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":139174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:53:41] local.INFO: TCP Data received {"connection_id":139174,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:53:41] local.INFO: Processing buffer {"connection_id":139174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:53:41] local.INFO: IMEI packet received {"connection_id":139174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":139174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:53:42] local.INFO: TCP Data received {"connection_id":139174,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:53:42] local.INFO: Processing buffer {"connection_id":139174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:53:42] local.INFO: Packet analysis {"connection_id":139174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:53:42] local.INFO: Extracted packet for processing {"connection_id":139174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:53:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822583808001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784463519000,"timestamp_ms":1784463519000,"timestamp_seconds":1784463519,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a506d18"} 
[2026-07-19 17:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 17:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:53: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-07-19 17:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822583808001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822583808001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:53:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:53:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822583808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":139174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:53:42] local.INFO: GPS data processed {"connection_id":139174,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:53:42] local.INFO: Acknowledgment sent {"connection_id":139174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:53:46] local.INFO: TCP Data received {"connection_id":139174,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:53:46] local.INFO: Processing buffer {"connection_id":139174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a506d18012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:53:46] local.INFO: Packet analysis {"connection_id":139174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:53:46] local.INFO: Extracted packet for processing {"connection_id":139174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a50"} 
[2026-07-19 17:53:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822583808001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784463519000,"timestamp_ms":1784463519000,"timestamp_seconds":1784463519,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a506d18"} 
[2026-07-19 17:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 17:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":139174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":139174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":139174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822583808001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822583808001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:53:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:53:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822583808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":139174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:53:46] local.INFO: GPS data processed {"connection_id":139174,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:53:46] local.INFO: Acknowledgment sent {"connection_id":139174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:53:51] local.INFO: TCP Data received {"connection_id":136715,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:53:51] local.INFO: Processing buffer {"connection_id":136715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:53:51] local.INFO: IMEI packet received {"connection_id":136715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":136715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:53:55] local.INFO: TCP Data received {"connection_id":136715,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:53:55] local.INFO: Processing buffer {"connection_id":136715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:53:55] local.INFO: IMEI packet received {"connection_id":136715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":136715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:53:56] local.INFO: TCP Data received {"connection_id":136715,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a518a40012d181e000721ae18005400c82c..."} 
[2026-07-19 17:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a518a40012d181e000721ae18005400c82c..."} 
[2026-07-19 17:53:56] local.INFO: Processing buffer {"connection_id":136715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a518a40012d181e000721ae18005400c82c..."} 
[2026-07-19 17:53:56] local.INFO: Packet analysis {"connection_id":136715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a51"} 
[2026-07-19 17:53:56] local.INFO: Extracted packet for processing {"connection_id":136715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a51"} 
[2026-07-19 17:53:56] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":84,"angle":200,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-07-19 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-07-19 17:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822674176001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206873518309376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784463592000,"timestamp_ms":1784463592000,"timestamp_seconds":1784463592,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a518a40"} 
[2026-07-19 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-07-19 17:53: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-07-19 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 17:53:56] 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-07-19 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-07-19 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-07-19 17:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822674176001,"66":12504,"105":206,"83":41984,"24":0,"16":7206873518309376,"45":1737826536841418752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822674176001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:53:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:53:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206873518309376,"km_value":7206873518309.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-07-19 17:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822674176001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-07-19 17:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":136715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:53:56] local.INFO: GPS data processed {"connection_id":136715,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:53:56] local.INFO: Acknowledgment sent {"connection_id":136715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:54:27] local.INFO: TCP Data received {"connection_id":136715,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a51dc48012d181e000721ae18005400c82c..."} 
[2026-07-19 17:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a51dc48012d181e000721ae18005400c82c..."} 
[2026-07-19 17:54:27] local.INFO: Processing buffer {"connection_id":136715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a51dc48012d181e000721ae18005400c82c..."} 
[2026-07-19 17:54:27] local.INFO: Packet analysis {"connection_id":136715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a51"} 
[2026-07-19 17:54:27] local.INFO: Extracted packet for processing {"connection_id":136715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a51"} 
[2026-07-19 17:54:27] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":84,"angle":200,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822679552001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206873518309376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784463613000,"timestamp_ms":1784463613000,"timestamp_seconds":1784463613,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a51dc48"} 
[2026-07-19 17:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:54: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-07-19 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 17:54:27] 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-07-19 17: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-07-19 17:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822679552001,"66":12537,"105":206,"83":41984,"24":0,"16":7206873518309376,"45":1737826536841418752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822679552001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:54:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:54:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206873518309376,"km_value":7206873518309.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-07-19 17:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822679552001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-07-19 17:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":136715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:54:27] local.INFO: GPS data processed {"connection_id":136715,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:54:27] local.INFO: Acknowledgment sent {"connection_id":136715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:54:31] local.INFO: TCP Data received {"connection_id":136815,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:54:31] local.INFO: Processing buffer {"connection_id":136815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:54:31] local.INFO: IMEI packet received {"connection_id":136815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":136815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:54:36] local.INFO: TCP Data received {"connection_id":136815,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:54:36] local.INFO: Processing buffer {"connection_id":136815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:54:36] local.INFO: IMEI packet received {"connection_id":136815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":136815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:54:37] local.INFO: TCP Data received {"connection_id":136815,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:54:37] local.INFO: Processing buffer {"connection_id":136815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:54:37] local.INFO: Packet analysis {"connection_id":136815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a55"} 
[2026-07-19 17:54:37] local.INFO: Extracted packet for processing {"connection_id":136815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a55"} 
[2026-07-19 17:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822660864001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:54: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-07-19 17:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784463820000,"timestamp_ms":1784463820000,"timestamp_seconds":1784463820,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5504e0"} 
[2026-07-19 17:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:54: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-07-19 17:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822660864001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822660864001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:54:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822660864001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":136815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:54:37] local.INFO: GPS data processed {"connection_id":136815,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:54:37] local.INFO: Acknowledgment sent {"connection_id":136815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:54:51] local.INFO: TCP Data received {"connection_id":137783,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:54:51] local.INFO: Processing buffer {"connection_id":137783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:54:51] local.INFO: IMEI packet received {"connection_id":137783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":137783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:54:55] local.INFO: TCP Data received {"connection_id":137783,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:54:55] local.INFO: Processing buffer {"connection_id":137783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:54:55] local.INFO: IMEI packet received {"connection_id":137783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":137783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:54:56] local.INFO: TCP Data received {"connection_id":137783,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a522e50012d181e000721ae18005400c82c..."} 
[2026-07-19 17:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a522e50012d181e000721ae18005400c82c..."} 
[2026-07-19 17:54:56] local.INFO: Processing buffer {"connection_id":137783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a522e50012d181e000721ae18005400c82c..."} 
[2026-07-19 17:54:56] local.INFO: Packet analysis {"connection_id":137783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a52"} 
[2026-07-19 17:54:56] local.INFO: Extracted packet for processing {"connection_id":137783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a52"} 
[2026-07-19 17:54:56] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":84,"angle":200,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822684928001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206873518309376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784463634000,"timestamp_ms":1784463634000,"timestamp_seconds":1784463634,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a522e50"} 
[2026-07-19 17:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:54: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-07-19 17: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-19 17:54:56] 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-07-19 17: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-07-19 17:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822684928001,"66":12515,"105":206,"83":41984,"24":0,"16":7206873518309376,"45":1737826536841418752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822684928001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:54:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:54:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206873518309376,"km_value":7206873518309.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-07-19 17:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822684928001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-07-19 17:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":137783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:54:56] local.INFO: GPS data processed {"connection_id":137783,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:54:56] local.INFO: Acknowledgment sent {"connection_id":137783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:55:08] local.INFO: TCP Data received {"connection_id":136815,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:55:08] local.INFO: Processing buffer {"connection_id":136815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:55:08] local.INFO: Packet analysis {"connection_id":136815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a55"} 
[2026-07-19 17:55:08] local.INFO: Extracted packet for processing {"connection_id":136815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a55"} 
[2026-07-19 17:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822660864001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17: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-07-19 17:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784463820000,"timestamp_ms":1784463820000,"timestamp_seconds":1784463820,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5504e0"} 
[2026-07-19 17:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17: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":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:55: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-07-19 17: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-07-19 17:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:55: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-07-19 17:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822660864001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822660864001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:55:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:55:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822660864001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":136815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:55:08] local.INFO: GPS data processed {"connection_id":136815,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:55:08] local.INFO: Acknowledgment sent {"connection_id":136815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:55:27] local.INFO: TCP Data received {"connection_id":137783,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a528058012d181e000721ae18005400c82a..."} 
[2026-07-19 17:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a528058012d181e000721ae18005400c82a..."} 
[2026-07-19 17:55:27] local.INFO: Processing buffer {"connection_id":137783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a528058012d181e000721ae18005400c82a..."} 
[2026-07-19 17:55:27] local.INFO: Packet analysis {"connection_id":137783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a52"} 
[2026-07-19 17:55:27] local.INFO: Extracted packet for processing {"connection_id":137783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a52"} 
[2026-07-19 17:55:27] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":84,"angle":200,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822690304001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206873518309376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784463655000,"timestamp_ms":1784463655000,"timestamp_seconds":1784463655,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a528058"} 
[2026-07-19 17:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:55: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-07-19 17: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-19 17:55:27] 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-07-19 17: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-07-19 17:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822690304001,"66":12537,"105":206,"83":41984,"24":0,"16":7206873518309376,"45":1737826536841418752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822690304001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:55:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:55:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206873518309376,"km_value":7206873518309.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-07-19 17:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822690304001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-07-19 17:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":137783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:55:27] local.INFO: GPS data processed {"connection_id":137783,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:55:27] local.INFO: Acknowledgment sent {"connection_id":137783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:55:30] local.INFO: TCP Data received {"connection_id":137784,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:55:30] local.INFO: Processing buffer {"connection_id":137784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:55:30] local.INFO: IMEI packet received {"connection_id":137784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":137784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:55:36] local.INFO: TCP Data received {"connection_id":137784,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:55:36] local.INFO: Processing buffer {"connection_id":137784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:55:36] local.INFO: IMEI packet received {"connection_id":137784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":137784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:55:37] local.INFO: TCP Data received {"connection_id":137784,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:55:37] local.INFO: Processing buffer {"connection_id":137784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:55:37] local.INFO: Packet analysis {"connection_id":137784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a55"} 
[2026-07-19 17:55:37] local.INFO: Extracted packet for processing {"connection_id":137784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a55"} 
[2026-07-19 17:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822660864001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:55: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-07-19 17:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784463820000,"timestamp_ms":1784463820000,"timestamp_seconds":1784463820,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5504e0"} 
[2026-07-19 17:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822660864001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822660864001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822660864001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":137784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:55:37] local.INFO: GPS data processed {"connection_id":137784,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:55:37] local.INFO: Acknowledgment sent {"connection_id":137784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:55:51] local.INFO: TCP Data received {"connection_id":137785,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:55:51] local.INFO: Processing buffer {"connection_id":137785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:55:51] local.INFO: IMEI packet received {"connection_id":137785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":137785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:55:55] local.INFO: TCP Data received {"connection_id":137785,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:55:55] local.INFO: Processing buffer {"connection_id":137785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:55:55] local.INFO: IMEI packet received {"connection_id":137785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":137785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:55:56] local.INFO: TCP Data received {"connection_id":137785,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5606b0012d181e000721ae18005400c82b..."} 
[2026-07-19 17:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5606b0012d181e000721ae18005400c82b..."} 
[2026-07-19 17:55:56] local.INFO: Processing buffer {"connection_id":137785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5606b0012d181e000721ae18005400c82b..."} 
[2026-07-19 17:55:56] local.INFO: Packet analysis {"connection_id":137785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a56"} 
[2026-07-19 17:55:56] local.INFO: Extracted packet for processing {"connection_id":137785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a56"} 
[2026-07-19 17:55:56] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":84,"angle":200,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-07-19 17:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822749440001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206873518309376,"note":"Value kept but may cause issues"} 
[2026-07-19 17:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784463886000,"timestamp_ms":1784463886000,"timestamp_seconds":1784463886,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5606b0"} 
[2026-07-19 17:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:55: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-07-19 17:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-19 17:55: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-07-19 17:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822749440001,"66":14135,"105":206,"83":41984,"24":0,"16":7206873518309376,"45":1737826536841418752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822749440001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:55:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:55:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206873518309376,"km_value":7206873518309.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-07-19 17:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822749440001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-07-19 17:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":137785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:55:56] local.INFO: GPS data processed {"connection_id":137785,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:55:56] local.INFO: Acknowledgment sent {"connection_id":137785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:56:07] local.INFO: TCP Data received {"connection_id":136716,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:56:07] local.INFO: Processing buffer {"connection_id":136716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:56:07] local.INFO: IMEI packet received {"connection_id":136716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 17:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":136716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:56:09] local.INFO: TCP Data received {"connection_id":137784,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:56:09] local.INFO: Processing buffer {"connection_id":137784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:56:09] local.INFO: Packet analysis {"connection_id":137784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a55"} 
[2026-07-19 17:56:09] local.INFO: Extracted packet for processing {"connection_id":137784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a55"} 
[2026-07-19 17:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822660864001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:56: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-07-19 17:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784463820000,"timestamp_ms":1784463820000,"timestamp_seconds":1784463820,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5504e0"} 
[2026-07-19 17:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822660864001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822660864001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822660864001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":137784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:56:09] local.INFO: GPS data processed {"connection_id":137784,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:56:09] local.INFO: Acknowledgment sent {"connection_id":137784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:56:12] local.INFO: TCP Data received {"connection_id":136716,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:56:12] local.INFO: Processing buffer {"connection_id":136716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 17:56:12] local.INFO: IMEI packet received {"connection_id":136716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 17:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":136716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:56:13] local.INFO: TCP Data received {"connection_id":136716,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5727c0012d7d29c005c6bdc8000d00a11e..."} 
[2026-07-19 17:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5727c0012d7d29c005c6bdc8000d00a11e..."} 
[2026-07-19 17:56:13] local.INFO: Processing buffer {"connection_id":136716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5727c0012d7d29c005c6bdc8000d00a11e..."} 
[2026-07-19 17:56:13] local.INFO: Packet analysis {"connection_id":136716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a57"} 
[2026-07-19 17:56:13] local.INFO: Extracted packet for processing {"connection_id":136716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a57"} 
[2026-07-19 17:56:13] local.INFO: GPS Element Parsed {"raw_longitude":763177408,"raw_latitude":96910792,"longitude_deg":76.3177408,"latitude_deg":9.6910792,"altitude":13,"angle":161,"satellites":30,"speed":25,"hex_longitude":"2d7d29c0","hex_latitude":"05c6bdc8","is_valid_coordinates":true} 
[2026-07-19 17:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822771968001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108255458149531648,"note":"Value kept but may cause issues"} 
[2026-07-19 17:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018317541131255808,"note":"Value kept but may cause issues"} 
[2026-07-19 17:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784463960000,"timestamp_ms":1784463960000,"timestamp_seconds":1784463960,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5727c0"} 
[2026-07-19 17:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-19 17:56:13] 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-07-19 17:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":136716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":136716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":136716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822771968001,"66":13037,"246":206,"85":12288,"24":25,"16":108255458149531648,"45":9018317541131255808},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,85,24,16,45]} 
[2026-07-19 17:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822771968001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:56:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 17:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108255458149531648,"km_value":108255458149531.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018317541131255808,"description":"Unknown IO ID 45"} 
[2026-07-19 17:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822771968001,"power":13037,"main_input_voltage":206,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":9018317541131255808}} 
[2026-07-19 17:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":136716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:56:13] local.INFO: GPS data processed {"connection_id":136716,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:56:13] local.INFO: Acknowledgment sent {"connection_id":136716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:56:27] local.INFO: TCP Data received {"connection_id":137785,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5629d8012d181cc00721ac80004d00ab2c..."} 
[2026-07-19 17:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5629d8012d181cc00721ac80004d00ab2c..."} 
[2026-07-19 17:56:27] local.INFO: Processing buffer {"connection_id":137785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5629d8012d181cc00721ac80004d00ab2c..."} 
[2026-07-19 17:56:27] local.INFO: Packet analysis {"connection_id":137785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a56"} 
[2026-07-19 17:56:27] local.INFO: Extracted packet for processing {"connection_id":137785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a56"} 
[2026-07-19 17:56:27] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647360,"longitude_deg":75.6554944,"latitude_deg":11.964736,"altitude":77,"angle":171,"satellites":44,"speed":6,"hex_longitude":"2d181cc0","hex_latitude":"0721ac80","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822754816001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206899288113152,"note":"Value kept but may cause issues"} 
[2026-07-19 17:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-07-19 17:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784463895000,"timestamp_ms":1784463895000,"timestamp_seconds":1784463895,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5629d8"} 
[2026-07-19 17:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:56: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-07-19 17: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-19 17:56:27] 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-07-19 17: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-07-19 17:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822754816001,"66":14135,"105":206,"83":41984,"24":6,"16":7206899288113152,"45":1737826536841418752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822754816001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:56:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:56:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206899288113152,"km_value":7206899288113.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-07-19 17:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822754816001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-07-19 17:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":137785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:56:27] local.INFO: GPS data processed {"connection_id":137785,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:56:27] local.INFO: Acknowledgment sent {"connection_id":137785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:56:30] local.INFO: TCP Data received {"connection_id":139176,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:56:30] local.INFO: Processing buffer {"connection_id":139176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:56:30] local.INFO: IMEI packet received {"connection_id":139176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":139176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:56:36] local.INFO: TCP Data received {"connection_id":139176,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:56:36] local.INFO: Processing buffer {"connection_id":139176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:56:36] local.INFO: IMEI packet received {"connection_id":139176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":139176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:56:36] local.INFO: TCP Data received {"connection_id":139176,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:56:36] local.INFO: Processing buffer {"connection_id":139176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:56:36] local.INFO: Packet analysis {"connection_id":139176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a55"} 
[2026-07-19 17:56:36] local.INFO: Extracted packet for processing {"connection_id":139176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a55"} 
[2026-07-19 17:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822660864001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17: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-07-19 17:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784463820000,"timestamp_ms":1784463820000,"timestamp_seconds":1784463820,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5504e0"} 
[2026-07-19 17:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822660864001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822660864001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:56:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:56:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822660864001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":139176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:56:36] local.INFO: GPS data processed {"connection_id":139176,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:56:36] local.INFO: Acknowledgment sent {"connection_id":139176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:56:44] local.INFO: TCP Data received {"connection_id":136716,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a576e10012d7d37c005c69d60000c009f20..."} 
[2026-07-19 17:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a576e10012d7d37c005c69d60000c009f20..."} 
[2026-07-19 17:56:44] local.INFO: Processing buffer {"connection_id":136716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a576e10012d7d37c005c69d60000c009f20..."} 
[2026-07-19 17:56:44] local.INFO: Packet analysis {"connection_id":136716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a57"} 
[2026-07-19 17:56:44] local.INFO: Extracted packet for processing {"connection_id":136716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a57"} 
[2026-07-19 17:56:44] local.INFO: GPS Element Parsed {"raw_longitude":763180992,"raw_latitude":96902496,"longitude_deg":76.3180992,"latitude_deg":9.6902496,"altitude":12,"angle":159,"satellites":32,"speed":21,"hex_longitude":"2d7d37c0","hex_latitude":"05c69d60","is_valid_coordinates":true} 
[2026-07-19 17:56: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-07-19 17:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822773760001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108255896236195840,"note":"Value kept but may cause issues"} 
[2026-07-19 17:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018950859827824640,"note":"Value kept but may cause issues"} 
[2026-07-19 17:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784463978000,"timestamp_ms":1784463978000,"timestamp_seconds":1784463978,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a576e10"} 
[2026-07-19 17:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:56:44] 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-07-19 17:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-19 17:56:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:56: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-07-19 17:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":136716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":136716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":136716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822773760001,"66":12917,"246":206,"85":12288,"24":21,"16":108255896236195840,"45":9018950859827824640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,85,24,16,45]} 
[2026-07-19 17:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822773760001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:56:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 17:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108255896236195840,"km_value":108255896236195.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018950859827824640,"description":"Unknown IO ID 45"} 
[2026-07-19 17:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822773760001,"power":12917,"main_input_voltage":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":9018950859827824640}} 
[2026-07-19 17:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":136716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:56:44] local.INFO: GPS data processed {"connection_id":136716,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:56:44] local.INFO: Acknowledgment sent {"connection_id":136716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:56:50] local.INFO: TCP Data received {"connection_id":136817,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:56:50] local.INFO: Processing buffer {"connection_id":136817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:56:50] local.INFO: IMEI packet received {"connection_id":136817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":136817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:56:56] local.INFO: TCP Data received {"connection_id":136817,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:56:56] local.INFO: Processing buffer {"connection_id":136817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:56:56] local.INFO: IMEI packet received {"connection_id":136817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":136817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:56:56] local.INFO: TCP Data received {"connection_id":136817,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5631a8012d181d400721ab18004d00932c..."} 
[2026-07-19 17:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5631a8012d181d400721ab18004d00932c..."} 
[2026-07-19 17:56:56] local.INFO: Processing buffer {"connection_id":136817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5631a8012d181d400721ab18004d00932c..."} 
[2026-07-19 17:56:56] local.INFO: Packet analysis {"connection_id":136817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a56"} 
[2026-07-19 17:56:56] local.INFO: Extracted packet for processing {"connection_id":136817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a56"} 
[2026-07-19 17:56:56] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647000,"longitude_deg":75.6555072,"latitude_deg":11.9647,"altitude":77,"angle":147,"satellites":44,"speed":8,"hex_longitude":"2d181d40","hex_latitude":"0721ab18","is_valid_coordinates":true} 
[2026-07-19 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-07-19 17:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822757120001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7206920762949632,"note":"Value kept but may cause issues"} 
[2026-07-19 17:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120425984,"note":"Value kept but may cause issues"} 
[2026-07-19 17:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784463897000,"timestamp_ms":1784463897000,"timestamp_seconds":1784463897,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5631a8"} 
[2026-07-19 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-07-19 17:56: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-07-19 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-19 17:56:56] 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-07-19 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-07-19 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-07-19 17:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822757120001,"66":14102,"105":206,"83":41984,"24":8,"16":7206920762949632,"45":1737474693120425984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 17:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822757120001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:56:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 17:56:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7206920762949632,"km_value":7206920762949.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120425984,"description":"Unknown IO ID 45"} 
[2026-07-19 17:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822757120001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737474693120425984}} 
[2026-07-19 17:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":136817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:56:57] local.INFO: GPS data processed {"connection_id":136817,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:56:57] local.INFO: Acknowledgment sent {"connection_id":136817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:57:01] local.INFO: TCP Data received {"connection_id":139175,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139175,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:57:01] local.INFO: Processing buffer {"connection_id":139175,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:57:01] local.INFO: IMEI packet received {"connection_id":139175,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 17:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":139175,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:57:08] local.INFO: TCP Data received {"connection_id":139176,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:57:08] local.INFO: Processing buffer {"connection_id":139176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:57:08] local.INFO: Packet analysis {"connection_id":139176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a55"} 
[2026-07-19 17:57:08] local.INFO: Extracted packet for processing {"connection_id":139176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a55"} 
[2026-07-19 17:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822660864001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:57: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-07-19 17:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784463820000,"timestamp_ms":1784463820000,"timestamp_seconds":1784463820,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5504e0"} 
[2026-07-19 17:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:57: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-07-19 17: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-07-19 17:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:57: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-07-19 17:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822660864001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822660864001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:57:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822660864001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":139176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:57:08] local.INFO: GPS data processed {"connection_id":139176,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:57:08] local.INFO: Acknowledgment sent {"connection_id":139176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:57:15] local.INFO: TCP Data received {"connection_id":136716,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a578d50012d7d3c0005c68c48000b00ad21..."} 
[2026-07-19 17:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a578d50012d7d3c0005c68c48000b00ad21..."} 
[2026-07-19 17:57:15] local.INFO: Processing buffer {"connection_id":136716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a578d50012d7d3c0005c68c48000b00ad21..."} 
[2026-07-19 17:57:15] local.INFO: Packet analysis {"connection_id":136716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a57"} 
[2026-07-19 17:57:15] local.INFO: Extracted packet for processing {"connection_id":136716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a57"} 
[2026-07-19 17:57:15] local.INFO: GPS Element Parsed {"raw_longitude":763182080,"raw_latitude":96898120,"longitude_deg":76.318208,"latitude_deg":9.689812,"altitude":11,"angle":173,"satellites":33,"speed":22,"hex_longitude":"2d7d3c00","hex_latitude":"05c68c48","is_valid_coordinates":true} 
[2026-07-19 17:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822778368001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108256115279527936,"note":"Value kept but may cause issues"} 
[2026-07-19 17:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022891509499650048,"note":"Value kept but may cause issues"} 
[2026-07-19 17:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784463986000,"timestamp_ms":1784463986000,"timestamp_seconds":1784463986,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a578d50"} 
[2026-07-19 17:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:57: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-07-19 17:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-19 17:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":136716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":136716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":136716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822778368001,"66":12885,"246":206,"85":12288,"24":22,"16":108256115279527936,"45":9022891509499650048},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,85,24,16,45]} 
[2026-07-19 17:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822778368001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:57:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 17:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108256115279527936,"km_value":108256115279527.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022891509499650048,"description":"Unknown IO ID 45"} 
[2026-07-19 17:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822778368001,"power":12885,"main_input_voltage":206,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":9022891509499650048}} 
[2026-07-19 17:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":136716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:57:15] local.INFO: GPS data processed {"connection_id":136716,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:57:15] local.INFO: Acknowledgment sent {"connection_id":136716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:57:26] local.INFO: TCP Data received {"connection_id":136818,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:57:26] local.INFO: Processing buffer {"connection_id":136818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 17:57:26] local.INFO: IMEI packet received {"connection_id":136818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 17:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":136818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:57:27] local.INFO: TCP Data received {"connection_id":136817,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a57cbd0012d18d24007210fc8004000a728..."} 
[2026-07-19 17:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a57cbd0012d18d24007210fc8004000a728..."} 
[2026-07-19 17:57:27] local.INFO: Processing buffer {"connection_id":136817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a57cbd0012d18d24007210fc8004000a728..."} 
[2026-07-19 17:57:27] local.INFO: Packet analysis {"connection_id":136817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a57"} 
[2026-07-19 17:57:27] local.INFO: Extracted packet for processing {"connection_id":136817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a57"} 
[2026-07-19 17:57:27] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119607240,"longitude_deg":75.6601408,"latitude_deg":11.960724,"altitude":64,"angle":167,"satellites":40,"speed":33,"hex_longitude":"2d18d240","hex_latitude":"07210fc8","is_valid_coordinates":true} 
[2026-07-19 17:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822782976001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7210215002865664,"note":"Value kept but may cause issues"} 
[2026-07-19 17:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770128572416,"note":"Value kept but may cause issues"} 
[2026-07-19 17:57: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-07-19 17:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784464002000,"timestamp_ms":1784464002000,"timestamp_seconds":1784464002,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a57cbd0"} 
[2026-07-19 17:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:57: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-07-19 17:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-19 17:57: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-07-19 17:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822782976001,"66":14211,"103":206,"83":41984,"24":33,"16":7210215002865664,"45":1788632770128572416},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822782976001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:57:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:57:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7210215002865664,"km_value":7210215002865.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770128572416,"description":"Unknown IO ID 45"} 
[2026-07-19 17:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822782976001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1788632770128572416}} 
[2026-07-19 17:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":136817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:57:27] local.INFO: GPS data processed {"connection_id":136817,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:57:27] local.INFO: Acknowledgment sent {"connection_id":136817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:57:36] local.INFO: TCP Data received {"connection_id":136717,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:57:36] local.INFO: Processing buffer {"connection_id":136717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:57:36] local.INFO: IMEI packet received {"connection_id":136717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":136717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:57:41] local.INFO: TCP Data received {"connection_id":136717,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:57:41] local.INFO: Processing buffer {"connection_id":136717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:57:41] local.INFO: IMEI packet received {"connection_id":136717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":136717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:57:41] local.INFO: TCP Data received {"connection_id":136717,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:57:41] local.INFO: Processing buffer {"connection_id":136717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:57:41] local.INFO: Packet analysis {"connection_id":136717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a55"} 
[2026-07-19 17:57:41] local.INFO: Extracted packet for processing {"connection_id":136717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a55"} 
[2026-07-19 17:57:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822660864001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784463820000,"timestamp_ms":1784463820000,"timestamp_seconds":1784463820,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5504e0"} 
[2026-07-19 17:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":136717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":136717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":136717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822660864001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822660864001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:57:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:57:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822660864001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":136717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:57:41] local.INFO: GPS data processed {"connection_id":136717,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:57:41] local.INFO: Acknowledgment sent {"connection_id":136717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:57:46] local.INFO: TCP Data received {"connection_id":136717,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:57:46] local.INFO: Processing buffer {"connection_id":136717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:57:46] local.INFO: Packet analysis {"connection_id":136717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a55"} 
[2026-07-19 17:57:46] local.INFO: Extracted packet for processing {"connection_id":136717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a55"} 
[2026-07-19 17:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822660864001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784463820000,"timestamp_ms":1784463820000,"timestamp_seconds":1784463820,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5504e0"} 
[2026-07-19 17:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":136717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":136717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":136717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822660864001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822660864001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:57:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822660864001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":136717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:57:46] local.INFO: GPS data processed {"connection_id":136717,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:57:46] local.INFO: Acknowledgment sent {"connection_id":136717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:57:46] local.INFO: TCP Data received {"connection_id":136716,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a57a4c0012d7d3c0005c67f20000b00b821..."} 
[2026-07-19 17:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a57a4c0012d7d3c0005c67f20000b00b821..."} 
[2026-07-19 17:57:46] local.INFO: Processing buffer {"connection_id":136716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a57a4c0012d7d3c0005c67f20000b00b821..."} 
[2026-07-19 17:57:46] local.INFO: Packet analysis {"connection_id":136716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a57"} 
[2026-07-19 17:57:46] local.INFO: Extracted packet for processing {"connection_id":136716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a57"} 
[2026-07-19 17:57:46] local.INFO: GPS Element Parsed {"raw_longitude":763182080,"raw_latitude":96894752,"longitude_deg":76.318208,"latitude_deg":9.6894752,"altitude":11,"angle":184,"satellites":33,"speed":21,"hex_longitude":"2d7d3c00","hex_latitude":"05c67f20","is_valid_coordinates":true} 
[2026-07-19 17:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822780416001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108256278488285184,"note":"Value kept but may cause issues"} 
[2026-07-19 17:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024087778149550080,"note":"Value kept but may cause issues"} 
[2026-07-19 17:57:46] 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-07-19 17:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784463992000,"timestamp_ms":1784463992000,"timestamp_seconds":1784463992,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a57a4c0"} 
[2026-07-19 17:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-19 17:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":136716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":136716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":136716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822780416001,"66":13048,"229":206,"85":12288,"24":21,"16":108256278488285184,"45":9024087778149550080},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 17:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822780416001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:57:46] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 17:57:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 17:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108256278488285184,"km_value":108256278488285.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024087778149550080,"description":"Unknown IO ID 45"} 
[2026-07-19 17:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822780416001,"power":13048,"unknown_229":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":9024087778149550080}} 
[2026-07-19 17:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":136716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:57:46] local.INFO: GPS data processed {"connection_id":136716,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:57:46] local.INFO: Acknowledgment sent {"connection_id":136716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:57:50] local.INFO: TCP Data received {"connection_id":139177,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:57:50] local.INFO: Processing buffer {"connection_id":139177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:57:50] local.INFO: IMEI packet received {"connection_id":139177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":139177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:57:55] local.INFO: TCP Data received {"connection_id":139177,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:57:55] local.INFO: Processing buffer {"connection_id":139177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:57:55] local.INFO: IMEI packet received {"connection_id":139177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":139177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:57:55] local.INFO: TCP Data received {"connection_id":139177,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:57:55] local.INFO: Processing buffer {"connection_id":139177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:57:55] local.INFO: IMEI packet received {"connection_id":139177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":139177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:57:56] local.INFO: TCP Data received {"connection_id":139177,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a57df58012d18d780072100700040009629..."} 
[2026-07-19 17:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a57df58012d18d780072100700040009629..."} 
[2026-07-19 17:57:56] local.INFO: Processing buffer {"connection_id":139177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a57df58012d18d780072100700040009629..."} 
[2026-07-19 17:57:56] local.INFO: Packet analysis {"connection_id":139177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a57"} 
[2026-07-19 17:57:56] local.INFO: Extracted packet for processing {"connection_id":139177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a57"} 
[2026-07-19 17:57:56] local.INFO: GPS Element Parsed {"raw_longitude":756602752,"raw_latitude":119603312,"longitude_deg":75.6602752,"latitude_deg":11.9603312,"altitude":64,"angle":150,"satellites":41,"speed":32,"hex_longitude":"2d18d780","hex_latitude":"07210070","is_valid_coordinates":true} 
[2026-07-19 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-07-19 17:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822784512001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7210416866328576,"note":"Value kept but may cause issues"} 
[2026-07-19 17:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401383139328,"note":"Value kept but may cause issues"} 
[2026-07-19 17:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784464007000,"timestamp_ms":1784464007000,"timestamp_seconds":1784464007,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a57df58"} 
[2026-07-19 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-07-19 17:57: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-07-19 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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 17:57:56] 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-07-19 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-07-19 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-07-19 17:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822784512001,"66":14211,"103":206,"83":41984,"24":32,"16":7210416866328576,"45":1788562401383139328},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822784512001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:57:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:57:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7210416866328576,"km_value":7210416866328.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401383139328,"description":"Unknown IO ID 45"} 
[2026-07-19 17:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822784512001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1788562401383139328}} 
[2026-07-19 17:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":139177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:57:56] local.INFO: GPS data processed {"connection_id":139177,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:57:56] local.INFO: Acknowledgment sent {"connection_id":139177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:58:01] local.INFO: TCP Data received {"connection_id":139177,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a57e728012d18db800720fb900040008528..."} 
[2026-07-19 17:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a57e728012d18db800720fb900040008528..."} 
[2026-07-19 17:58:01] local.INFO: Processing buffer {"connection_id":139177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a57e728012d18db800720fb900040008528..."} 
[2026-07-19 17:58:01] local.INFO: Packet analysis {"connection_id":139177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a57"} 
[2026-07-19 17:58:01] local.INFO: Extracted packet for processing {"connection_id":139177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a57"} 
[2026-07-19 17:58:01] local.INFO: GPS Element Parsed {"raw_longitude":756603776,"raw_latitude":119602064,"longitude_deg":75.6603776,"latitude_deg":11.9602064,"altitude":64,"angle":133,"satellites":40,"speed":31,"hex_longitude":"2d18db80","hex_latitude":"0720fb90","is_valid_coordinates":true} 
[2026-07-19 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-07-19 17:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822785792001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7210489880772608,"note":"Value kept but may cause issues"} 
[2026-07-19 17:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790040145009864704,"note":"Value kept but may cause issues"} 
[2026-07-19 17:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784464009000,"timestamp_ms":1784464009000,"timestamp_seconds":1784464009,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a57e728"} 
[2026-07-19 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-07-19 17:58: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-07-19 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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-19 17:58:01] 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-07-19 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-07-19 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-07-19 17:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":139177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":139177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":139177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822785792001,"66":14113,"103":206,"83":41984,"24":31,"16":7210489880772608,"45":1790040145009864704},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822785792001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:58:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:58:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7210489880772608,"km_value":7210489880772.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790040145009864704,"description":"Unknown IO ID 45"} 
[2026-07-19 17:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822785792001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1790040145009864704}} 
[2026-07-19 17:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":139177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:58:01] local.INFO: GPS data processed {"connection_id":139177,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:58:01] local.INFO: Acknowledgment sent {"connection_id":139177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:58:17] local.INFO: TCP Data received {"connection_id":136716,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a57e728012d7d38c005c65b88000d00b723..."} 
[2026-07-19 17:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a57e728012d7d38c005c65b88000d00b723..."} 
[2026-07-19 17:58:17] local.INFO: Processing buffer {"connection_id":136716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a57e728012d7d38c005c65b88000d00b723..."} 
[2026-07-19 17:58:17] local.INFO: Packet analysis {"connection_id":136716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a57"} 
[2026-07-19 17:58:17] local.INFO: Extracted packet for processing {"connection_id":136716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a57"} 
[2026-07-19 17:58:17] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":96885640,"longitude_deg":76.3181248,"latitude_deg":9.688564,"altitude":13,"angle":183,"satellites":35,"speed":18,"hex_longitude":"2d7d38c0","hex_latitude":"05c65b88","is_valid_coordinates":true} 
[2026-07-19 17:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822781952001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108256720869916672,"note":"Value kept but may cause issues"} 
[2026-07-19 17:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024087778148687872,"note":"Value kept but may cause issues"} 
[2026-07-19 17:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784464009000,"timestamp_ms":1784464009000,"timestamp_seconds":1784464009,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a57e728"} 
[2026-07-19 17:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:58:17] 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-07-19 17:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-19 17:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":136716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":136716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":136716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822781952001,"66":12917,"229":206,"85":12288,"24":18,"16":108256720869916672,"45":9024087778148687872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 17:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822781952001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:58:17] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 17:58:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 17:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108256720869916672,"km_value":108256720869916.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024087778148687872,"description":"Unknown IO ID 45"} 
[2026-07-19 17:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822781952001,"power":12917,"unknown_229":206,"unknown_85":12288,"ignition":18,"odometer":null,"unknown_45":9024087778148687872}} 
[2026-07-19 17:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":136716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:58:17] local.INFO: GPS data processed {"connection_id":136716,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:58:17] local.INFO: Acknowledgment sent {"connection_id":136716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:58:31] local.INFO: TCP Data received {"connection_id":137786,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:58:31] local.INFO: Processing buffer {"connection_id":137786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:58:31] local.INFO: IMEI packet received {"connection_id":137786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":137786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:58:32] local.INFO: TCP Data received {"connection_id":139177,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a57fab0012d18e6000720f0900040009429..."} 
[2026-07-19 17:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a57fab0012d18e6000720f0900040009429..."} 
[2026-07-19 17:58:32] local.INFO: Processing buffer {"connection_id":139177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a57fab0012d18e6000720f0900040009429..."} 
[2026-07-19 17:58:32] local.INFO: Packet analysis {"connection_id":139177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a57"} 
[2026-07-19 17:58:32] local.INFO: Extracted packet for processing {"connection_id":139177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a57"} 
[2026-07-19 17:58:32] local.INFO: GPS Element Parsed {"raw_longitude":756606464,"raw_latitude":119599248,"longitude_deg":75.6606464,"latitude_deg":11.9599248,"altitude":64,"angle":148,"satellites":41,"speed":30,"hex_longitude":"2d18e600","hex_latitude":"0720f090","is_valid_coordinates":true} 
[2026-07-19 17:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822786304001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7210678859333632,"note":"Value kept but may cause issues"} 
[2026-07-19 17:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791166044916387840,"note":"Value kept but may cause issues"} 
[2026-07-19 17:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784464014000,"timestamp_ms":1784464014000,"timestamp_seconds":1784464014,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a57fab0"} 
[2026-07-19 17:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:58: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-07-19 17:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-19 17:58:32] 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-07-19 17:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":139177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":139177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":139177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 17:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 17:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 17:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822786304001,"66":14189,"103":206,"83":41984,"24":30,"16":7210678859333632,"45":1791166044916387840},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 17:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 17:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 17:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822786304001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:58:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 17:58:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 17:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7210678859333632,"km_value":7210678859333.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791166044916387840,"description":"Unknown IO ID 45"} 
[2026-07-19 17:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822786304001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1791166044916387840}} 
[2026-07-19 17:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":139177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:58:32] local.INFO: GPS data processed {"connection_id":139177,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:58:32] local.INFO: Acknowledgment sent {"connection_id":139177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:58:36] local.INFO: TCP Data received {"connection_id":137786,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:58:36] local.INFO: Processing buffer {"connection_id":137786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:58:36] local.INFO: IMEI packet received {"connection_id":137786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":137786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:58:37] local.INFO: TCP Data received {"connection_id":137786,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:58:37] local.INFO: Processing buffer {"connection_id":137786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:58:37] local.INFO: Packet analysis {"connection_id":137786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a55"} 
[2026-07-19 17:58:37] local.INFO: Extracted packet for processing {"connection_id":137786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a55"} 
[2026-07-19 17:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822660864001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:58: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-07-19 17:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784463820000,"timestamp_ms":1784463820000,"timestamp_seconds":1784463820,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5504e0"} 
[2026-07-19 17:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:58: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-07-19 17:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822660864001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822660864001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:58:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822660864001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":137786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:58:37] local.INFO: GPS data processed {"connection_id":137786,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:58:37] local.INFO: Acknowledgment sent {"connection_id":137786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:58:48] local.INFO: TCP Data received {"connection_id":136716,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a583548012d7d35c005c63ed8000d00ba23..."} 
[2026-07-19 17:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a583548012d7d35c005c63ed8000d00ba23..."} 
[2026-07-19 17:58:48] local.INFO: Processing buffer {"connection_id":136716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a583548012d7d35c005c63ed8000d00ba23..."} 
[2026-07-19 17:58:48] local.INFO: Packet analysis {"connection_id":136716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a58"} 
[2026-07-19 17:58:48] local.INFO: Extracted packet for processing {"connection_id":136716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a58"} 
[2026-07-19 17:58:48] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":96878296,"longitude_deg":76.318048,"latitude_deg":9.6878296,"altitude":13,"angle":186,"satellites":35,"speed":7,"hex_longitude":"2d7d35c0","hex_latitude":"05c63ed8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822786304001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108257081647169536,"note":"Value kept but may cause issues"} 
[2026-07-19 17:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172984472045568,"note":"Value kept but may cause issues"} 
[2026-07-19 17:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 17:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784464029000,"timestamp_ms":1784464029000,"timestamp_seconds":1784464029,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a583548"} 
[2026-07-19 17:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 17:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-19 17:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 17: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-07-19 17:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":136716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":136716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":136716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822786304001,"66":12906,"229":206,"85":12288,"24":7,"16":108257081647169536,"45":9023172984472045568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 17:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822786304001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:58:48] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 17:58:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 17:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108257081647169536,"km_value":108257081647169.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172984472045568,"description":"Unknown IO ID 45"} 
[2026-07-19 17:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822786304001,"power":12906,"unknown_229":206,"unknown_85":12288,"ignition":7,"odometer":null,"unknown_45":9023172984472045568}} 
[2026-07-19 17:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":136716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:58:48] local.INFO: GPS data processed {"connection_id":136716,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:58:48] local.INFO: Acknowledgment sent {"connection_id":136716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:58:51] local.INFO: TCP Data received {"connection_id":137787,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:58:51] local.INFO: Processing buffer {"connection_id":137787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:58:51] local.INFO: IMEI packet received {"connection_id":137787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 17:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":137787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:58:53] local.INFO: TCP Data received {"connection_id":137787,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:58:53] local.INFO: Processing buffer {"connection_id":137787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:58:53] local.INFO: IMEI packet received {"connection_id":137787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":137787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:58:53] local.INFO: TCP Data received {"connection_id":137787,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:58:53] local.INFO: Processing buffer {"connection_id":137787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:58:53] local.INFO: IMEI packet received {"connection_id":137787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":137787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:58:54] local.INFO: TCP Data received {"connection_id":137787,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:58:54] local.INFO: Processing buffer {"connection_id":137787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 17:58:54] local.INFO: IMEI packet received {"connection_id":137787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 17:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":137787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:59:08] local.INFO: TCP Data received {"connection_id":137786,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:59:08] local.INFO: Processing buffer {"connection_id":137786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5504e0012d34c50006aa4dd8000800952a..."} 
[2026-07-19 17:59:08] local.INFO: Packet analysis {"connection_id":137786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a55"} 
[2026-07-19 17:59:08] local.INFO: Extracted packet for processing {"connection_id":137786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a55"} 
[2026-07-19 17:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822660864001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:59: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-07-19 17:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784463820000,"timestamp_ms":1784463820000,"timestamp_seconds":1784463820,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5504e0"} 
[2026-07-19 17:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 17:59: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-07-19 17:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:59: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-07-19 17:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822660864001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822660864001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:59:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:59:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822660864001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":137786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:59:08] local.INFO: GPS data processed {"connection_id":137786,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:59:08] local.INFO: Acknowledgment sent {"connection_id":137786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:59:22] local.INFO: TCP Data received {"connection_id":136716,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a588750012d7d348005c63588000d00b923..."} 
[2026-07-19 17:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a588750012d7d348005c63588000d00b923..."} 
[2026-07-19 17:59:22] local.INFO: Processing buffer {"connection_id":136716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a588750012d7d348005c63588000d00b923..."} 
[2026-07-19 17:59:22] local.INFO: Packet analysis {"connection_id":136716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a58"} 
[2026-07-19 17:59:22] local.INFO: Extracted packet for processing {"connection_id":136716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a58"} 
[2026-07-19 17:59:22] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":96875912,"longitude_deg":76.318016,"latitude_deg":9.6875912,"altitude":13,"angle":185,"satellites":35,"speed":5,"hex_longitude":"2d7d3480","hex_latitude":"05c63588","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822791424001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108257201906253824,"note":"Value kept but may cause issues"} 
[2026-07-19 17:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328559540033536,"note":"Value kept but may cause issues"} 
[2026-07-19 17:59:22] 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-07-19 17:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784464050000,"timestamp_ms":1784464050000,"timestamp_seconds":1784464050,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a588750"} 
[2026-07-19 17:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:59: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-07-19 17: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-19 17:59:22] 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-07-19 17: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-07-19 17:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":136716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":136716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":136716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822791424001,"66":13091,"229":206,"85":12288,"24":5,"16":108257201906253824,"45":9022328559540033536},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-19 17:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822791424001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:59:22] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-19 17:59:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 17:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108257201906253824,"km_value":108257201906253.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328559540033536,"description":"Unknown IO ID 45"} 
[2026-07-19 17:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822791424001,"power":13091,"unknown_229":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":9022328559540033536}} 
[2026-07-19 17:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":136716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:59:22] local.INFO: GPS data processed {"connection_id":136716,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:59:22] local.INFO: Acknowledgment sent {"connection_id":136716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:59:30] local.INFO: TCP Data received {"connection_id":137789,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:59:30] local.INFO: Processing buffer {"connection_id":137789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:59:30] local.INFO: IMEI packet received {"connection_id":137789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 17:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":137789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 17:59:35] local.INFO: TCP Data received {"connection_id":137789,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:59:35] local.INFO: Processing buffer {"connection_id":137789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 17:59:35] local.INFO: IMEI packet received {"connection_id":137789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 17:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":137789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 17:59:36] local.INFO: TCP Data received {"connection_id":137789,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:59:36] local.INFO: Processing buffer {"connection_id":137789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 17:59:36] local.INFO: Packet analysis {"connection_id":137789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a59"} 
[2026-07-19 17:59:36] local.INFO: Extracted packet for processing {"connection_id":137789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a59"} 
[2026-07-19 17:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 17:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 17:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822737920001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 17:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 17:59: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-07-19 17:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784464121000,"timestamp_ms":1784464121000,"timestamp_seconds":1784464121,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a599ca8"} 
[2026-07-19 17:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 17:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 17:59: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-07-19 17:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 17:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 17:59: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-07-19 17:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 17:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 17:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822737920001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 17:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 17:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 17:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822737920001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:59:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 17:59:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 17:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 17:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822737920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 17:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":137789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:59:36] local.INFO: GPS data processed {"connection_id":137789,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:59:36] local.INFO: Acknowledgment sent {"connection_id":137789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 17:59:53] local.INFO: TCP Data received {"connection_id":136716,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5a5ff8012d7d484005c4f3d8000800ad23..."} 
[2026-07-19 17:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5a5ff8012d7d484005c4f3d8000800ad23..."} 
[2026-07-19 17:59:53] local.INFO: Processing buffer {"connection_id":136716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5a5ff8012d7d484005c4f3d8000800ad23..."} 
[2026-07-19 17:59:53] local.INFO: Packet analysis {"connection_id":136716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5a"} 
[2026-07-19 17:59:53] local.INFO: Extracted packet for processing {"connection_id":136716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5a"} 
[2026-07-19 17:59:53] local.INFO: GPS Element Parsed {"raw_longitude":763185216,"raw_latitude":96793560,"longitude_deg":76.3185216,"latitude_deg":9.679356,"altitude":8,"angle":173,"satellites":35,"speed":32,"hex_longitude":"2d7d4840","hex_latitude":"05c4f3d8","is_valid_coordinates":true} 
[2026-07-19 17: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-07-19 17:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822824448001,"note":"Value kept but may cause issues"} 
[2026-07-19 17:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108261221995642880,"note":"Value kept but may cause issues"} 
[2026-07-19 17:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027113634124847104,"note":"Value kept but may cause issues"} 
[2026-07-19 17:59:53] 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-07-19 17:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784464171000,"timestamp_ms":1784464171000,"timestamp_seconds":1784464171,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5a5ff8"} 
[2026-07-19 17:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 17:59: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-07-19 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-19 17:59:53] 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-07-19 17: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-07-19 17:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 17:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 17:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":136716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 17:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":136716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":136716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 17:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 17:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 17:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 17:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822824448001,"66":12689,"227":206,"85":12288,"24":32,"16":108261221995642880,"45":9027113634124847104},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-07-19 17:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 17:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 17:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822824448001,"description":"Unknown IO ID 0"} 
[2026-07-19 17:59:53] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-19 17:59:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 17:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108261221995642880,"km_value":108261221995642.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 17:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027113634124847104,"description":"Unknown IO ID 45"} 
[2026-07-19 17:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822824448001,"power":12689,"unknown_227":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9027113634124847104}} 
[2026-07-19 17:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":136716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 17:59:53] local.INFO: GPS data processed {"connection_id":136716,"processed":1,"errors":0,"total":1} 
[2026-07-19 17:59:53] local.INFO: Acknowledgment sent {"connection_id":136716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:00:08] local.INFO: TCP Data received {"connection_id":137789,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:00:08] local.INFO: Processing buffer {"connection_id":137789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:00:08] local.INFO: Packet analysis {"connection_id":137789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a59"} 
[2026-07-19 18:00:08] local.INFO: Extracted packet for processing {"connection_id":137789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a59"} 
[2026-07-19 18:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822737920001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:00: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-07-19 18:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784464121000,"timestamp_ms":1784464121000,"timestamp_seconds":1784464121,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a599ca8"} 
[2026-07-19 18:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:00: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-07-19 18:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 18:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18: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-07-19 18:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822737920001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822737920001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:00:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:00:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822737920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":137789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:00:08] local.INFO: GPS data processed {"connection_id":137789,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:00:08] local.INFO: Acknowledgment sent {"connection_id":137789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:00:24] local.INFO: TCP Data received {"connection_id":136716,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5a8320012d7d4b4005c4d160000a00b123..."} 
[2026-07-19 18:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5a8320012d7d4b4005c4d160000a00b123..."} 
[2026-07-19 18:00:24] local.INFO: Processing buffer {"connection_id":136716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5a8320012d7d4b4005c4d160000a00b123..."} 
[2026-07-19 18:00:24] local.INFO: Packet analysis {"connection_id":136716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5a"} 
[2026-07-19 18:00:24] local.INFO: Extracted packet for processing {"connection_id":136716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5a"} 
[2026-07-19 18:00:24] local.INFO: GPS Element Parsed {"raw_longitude":763185984,"raw_latitude":96784736,"longitude_deg":76.3185984,"latitude_deg":9.6784736,"altitude":10,"angle":177,"satellites":35,"speed":34,"hex_longitude":"2d7d4b40","hex_latitude":"05c4d160","is_valid_coordinates":true} 
[2026-07-19 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-07-19 18:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822827776001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108261651492372480,"note":"Value kept but may cause issues"} 
[2026-07-19 18:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027535846587488256,"note":"Value kept but may cause issues"} 
[2026-07-19 18:00:24] 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-07-19 18:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784464180000,"timestamp_ms":1784464180000,"timestamp_seconds":1784464180,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5a8320"} 
[2026-07-19 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-07-19 18:00: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-07-19 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-19 18:00:24] 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-07-19 18:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 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-07-19 18:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":136716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":136716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":136716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822827776001,"66":12765,"227":206,"85":12288,"24":34,"16":108261651492372480,"45":9027535846587488256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-07-19 18:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822827776001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:00:24] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-19 18:00:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 18:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108261651492372480,"km_value":108261651492372.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027535846587488256,"description":"Unknown IO ID 45"} 
[2026-07-19 18:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822827776001,"power":12765,"unknown_227":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9027535846587488256}} 
[2026-07-19 18:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":136716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:00:24] local.INFO: GPS data processed {"connection_id":136716,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:00:24] local.INFO: Acknowledgment sent {"connection_id":136716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:00:30] local.INFO: TCP Data received {"connection_id":136719,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:00:30] local.INFO: Processing buffer {"connection_id":136719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:00:30] local.INFO: IMEI packet received {"connection_id":136719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":136719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:00:36] local.INFO: TCP Data received {"connection_id":136719,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:00:36] local.INFO: Processing buffer {"connection_id":136719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:00:36] local.INFO: IMEI packet received {"connection_id":136719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":136719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:00:37] local.INFO: TCP Data received {"connection_id":136719,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:00:37] local.INFO: Processing buffer {"connection_id":136719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:00:37] local.INFO: Packet analysis {"connection_id":136719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a59"} 
[2026-07-19 18:00:37] local.INFO: Extracted packet for processing {"connection_id":136719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a59"} 
[2026-07-19 18:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822737920001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:00: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-07-19 18:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784464121000,"timestamp_ms":1784464121000,"timestamp_seconds":1784464121,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a599ca8"} 
[2026-07-19 18:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 18:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:00:37] 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-07-19 18:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822737920001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822737920001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:00:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822737920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":136719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:00:37] local.INFO: GPS data processed {"connection_id":136719,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:00:37] local.INFO: Acknowledgment sent {"connection_id":136719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:00:47] local.INFO: TCP Data received {"connection_id":136820,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:00:47] local.INFO: Processing buffer {"connection_id":136820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:00:47] local.INFO: IMEI packet received {"connection_id":136820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":136820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:00:54] local.INFO: TCP Data received {"connection_id":136820,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:00:54] local.INFO: Processing buffer {"connection_id":136820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:00:54] local.INFO: IMEI packet received {"connection_id":136820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":136820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:01:04] local.INFO: TCP Data received {"connection_id":136820,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5aae18012d7d4b8005c4ab38000c00b422..."} 
[2026-07-19 18:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5aae18012d7d4b8005c4ab38000c00b422..."} 
[2026-07-19 18:01:04] local.INFO: Processing buffer {"connection_id":136820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5aae18012d7d4b8005c4ab38000c00b422..."} 
[2026-07-19 18:01:04] local.INFO: Packet analysis {"connection_id":136820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5a"} 
[2026-07-19 18:01:04] local.INFO: Extracted packet for processing {"connection_id":136820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5a"} 
[2026-07-19 18:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763186048,"raw_latitude":96774968,"longitude_deg":76.3186048,"latitude_deg":9.6774968,"altitude":12,"angle":180,"satellites":34,"speed":42,"hex_longitude":"2d7d4b80","hex_latitude":"05c4ab38","is_valid_coordinates":true} 
[2026-07-19 18:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822830080001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108262123938775040,"note":"Value kept but may cause issues"} 
[2026-07-19 18:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028380271515361280,"note":"Value kept but may cause issues"} 
[2026-07-19 18:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784464191000,"timestamp_ms":1784464191000,"timestamp_seconds":1784464191,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5aae18"} 
[2026-07-19 18:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-19 18:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":136820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":136820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":136820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822830080001,"66":12982,"227":206,"85":12288,"24":42,"16":108262123938775040,"45":9028380271515361280},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-07-19 18:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822830080001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:01:04] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-19 18:01:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 18:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108262123938775040,"km_value":108262123938775.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028380271515361280,"description":"Unknown IO ID 45"} 
[2026-07-19 18:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822830080001,"power":12982,"unknown_227":206,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9028380271515361280}} 
[2026-07-19 18:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":136820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:01:04] local.INFO: GPS data processed {"connection_id":136820,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:01:04] local.INFO: Acknowledgment sent {"connection_id":136820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:01:08] local.INFO: TCP Data received {"connection_id":136719,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:01:08] local.INFO: Processing buffer {"connection_id":136719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:01:08] local.INFO: Packet analysis {"connection_id":136719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a59"} 
[2026-07-19 18:01:08] local.INFO: Extracted packet for processing {"connection_id":136719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a59"} 
[2026-07-19 18:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822737920001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784464121000,"timestamp_ms":1784464121000,"timestamp_seconds":1784464121,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a599ca8"} 
[2026-07-19 18:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:01: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-07-19 18:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 18:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:01: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-07-19 18:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822737920001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822737920001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:01:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:01:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822737920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":136719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:01:08] local.INFO: GPS data processed {"connection_id":136719,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:01:08] local.INFO: Acknowledgment sent {"connection_id":136719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:01:35] local.INFO: TCP Data received {"connection_id":136820,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5acd58012d7d484005c48620000f00bb22..."} 
[2026-07-19 18:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5acd58012d7d484005c48620000f00bb22..."} 
[2026-07-19 18:01:35] local.INFO: Processing buffer {"connection_id":136820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5acd58012d7d484005c48620000f00bb22..."} 
[2026-07-19 18:01:35] local.INFO: Packet analysis {"connection_id":136820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5a"} 
[2026-07-19 18:01:35] local.INFO: Extracted packet for processing {"connection_id":136820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5a"} 
[2026-07-19 18:01:35] local.INFO: GPS Element Parsed {"raw_longitude":763185216,"raw_latitude":96765472,"longitude_deg":76.3185216,"latitude_deg":9.6765472,"altitude":15,"angle":187,"satellites":34,"speed":51,"hex_longitude":"2d7d4840","hex_latitude":"05c48620","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822832896001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108262587795243008,"note":"Value kept but may cause issues"} 
[2026-07-19 18:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028450640257038336,"note":"Value kept but may cause issues"} 
[2026-07-19 18:01:35] 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-07-19 18:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784464199000,"timestamp_ms":1784464199000,"timestamp_seconds":1784464199,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5acd58"} 
[2026-07-19 18:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18: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-07-19 18: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-19 18:01:35] 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-07-19 18: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-07-19 18:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":136820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":136820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":136820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822832896001,"66":13048,"227":206,"85":12288,"24":51,"16":108262587795243008,"45":9028450640257038336},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-07-19 18:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822832896001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:01:35] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-19 18:01:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 18:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108262587795243008,"km_value":108262587795243.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028450640257038336,"description":"Unknown IO ID 45"} 
[2026-07-19 18:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822832896001,"power":13048,"unknown_227":206,"unknown_85":12288,"ignition":51,"odometer":null,"unknown_45":9028450640257038336}} 
[2026-07-19 18:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":136820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:01:35] local.INFO: GPS data processed {"connection_id":136820,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:01:35] local.INFO: Acknowledgment sent {"connection_id":136820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:01:36] local.INFO: TCP Data received {"connection_id":139178,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:01:36] local.INFO: Processing buffer {"connection_id":139178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:01:36] local.INFO: IMEI packet received {"connection_id":139178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":139178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:01:41] local.INFO: TCP Data received {"connection_id":139178,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:01:41] local.INFO: Processing buffer {"connection_id":139178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:01:41] local.INFO: IMEI packet received {"connection_id":139178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":139178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:01:42] local.INFO: TCP Data received {"connection_id":139178,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:01:42] local.INFO: Processing buffer {"connection_id":139178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:01:42] local.INFO: Packet analysis {"connection_id":139178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a59"} 
[2026-07-19 18:01:42] local.INFO: Extracted packet for processing {"connection_id":139178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a59"} 
[2026-07-19 18:01:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822737920001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784464121000,"timestamp_ms":1784464121000,"timestamp_seconds":1784464121,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a599ca8"} 
[2026-07-19 18:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 18:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822737920001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822737920001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:01:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:01:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822737920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":139178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:01:42] local.INFO: GPS data processed {"connection_id":139178,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:01:42] local.INFO: Acknowledgment sent {"connection_id":139178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:01:47] local.INFO: TCP Data received {"connection_id":139178,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:01:47] local.INFO: Processing buffer {"connection_id":139178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:01:47] local.INFO: Packet analysis {"connection_id":139178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a59"} 
[2026-07-19 18:01:47] local.INFO: Extracted packet for processing {"connection_id":139178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a59"} 
[2026-07-19 18:01:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822737920001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784464121000,"timestamp_ms":1784464121000,"timestamp_seconds":1784464121,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a599ca8"} 
[2026-07-19 18:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 18:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":139178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":139178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":139178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822737920001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822737920001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:01:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:01:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822737920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":139178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:01:47] local.INFO: GPS data processed {"connection_id":139178,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:01:47] local.INFO: Acknowledgment sent {"connection_id":139178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:02:06] local.INFO: TCP Data received {"connection_id":136820,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5c34b8012d7d47c005c35380000700b61c..."} 
[2026-07-19 18:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5c34b8012d7d47c005c35380000700b61c..."} 
[2026-07-19 18:02:06] local.INFO: Processing buffer {"connection_id":136820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5c34b8012d7d47c005c35380000700b61c..."} 
[2026-07-19 18:02:06] local.INFO: Packet analysis {"connection_id":136820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5c"} 
[2026-07-19 18:02:06] local.INFO: Extracted packet for processing {"connection_id":136820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5c"} 
[2026-07-19 18:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763185088,"raw_latitude":96686976,"longitude_deg":76.3185088,"latitude_deg":9.6686976,"altitude":7,"angle":182,"satellites":28,"speed":23,"hex_longitude":"2d7d47c0","hex_latitude":"05c35380","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822855936001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108266414611103744,"note":"Value kept but may cause issues"} 
[2026-07-19 18:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028169165260197888,"note":"Value kept but may cause issues"} 
[2026-07-19 18:02:06] 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-07-19 18:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784464291000,"timestamp_ms":1784464291000,"timestamp_seconds":1784464291,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5c34b8"} 
[2026-07-19 18:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18: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-07-19 18: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-19 18:02:06] 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-07-19 18: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-07-19 18:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822855936001,"66":12515,"135":206,"85":12288,"24":23,"16":108266414611103744,"45":9028169165260197888},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-19 18:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822855936001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:02:06] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-19 18:02:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 18:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108266414611103744,"km_value":108266414611103.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028169165260197888,"description":"Unknown IO ID 45"} 
[2026-07-19 18:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822855936001,"power":12515,"unknown_135":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":9028169165260197888}} 
[2026-07-19 18:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":136820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:02:06] local.INFO: GPS data processed {"connection_id":136820,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:02:06] local.INFO: Acknowledgment sent {"connection_id":136820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:02:31] local.INFO: TCP Data received {"connection_id":136721,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:02:31] local.INFO: Processing buffer {"connection_id":136721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:02:31] local.INFO: IMEI packet received {"connection_id":136721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":136721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:02:36] local.INFO: TCP Data received {"connection_id":136721,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:02:36] local.INFO: Processing buffer {"connection_id":136721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:02:36] local.INFO: IMEI packet received {"connection_id":136721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":136721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:02:37] local.INFO: TCP Data received {"connection_id":136721,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:02:37] local.INFO: Processing buffer {"connection_id":136721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:02:37] local.INFO: Packet analysis {"connection_id":136721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a59"} 
[2026-07-19 18:02:37] local.INFO: Extracted packet for processing {"connection_id":136721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a59"} 
[2026-07-19 18:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822737920001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:02: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-07-19 18:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784464121000,"timestamp_ms":1784464121000,"timestamp_seconds":1784464121,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a599ca8"} 
[2026-07-19 18:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 18:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822737920001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822737920001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:02:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822737920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":136721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:02:37] local.INFO: GPS data processed {"connection_id":136721,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:02:37] local.INFO: Acknowledgment sent {"connection_id":136721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:02:46] local.INFO: TCP Data received {"connection_id":136821,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:02:46] local.INFO: Processing buffer {"connection_id":136821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:02:46] local.INFO: IMEI packet received {"connection_id":136821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 18:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":136821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:02:47] local.INFO: TCP Data received {"connection_id":136822,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:02:47] local.INFO: Processing buffer {"connection_id":136822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:02:47] local.INFO: IMEI packet received {"connection_id":136822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":136822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:02:51] local.INFO: TCP Data received {"connection_id":136822,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:02:51] local.INFO: Processing buffer {"connection_id":136822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:02:51] local.INFO: IMEI packet received {"connection_id":136822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":136822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:02:52] local.INFO: TCP Data received {"connection_id":136822,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:02:52] local.INFO: Processing buffer {"connection_id":136822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:02:52] local.INFO: IMEI packet received {"connection_id":136822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":136822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:02:53] local.INFO: TCP Data received {"connection_id":136822,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5c86c0012d7d474005c33ef8000700b123..."} 
[2026-07-19 18:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5c86c0012d7d474005c33ef8000700b123..."} 
[2026-07-19 18:02:53] local.INFO: Processing buffer {"connection_id":136822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5c86c0012d7d474005c33ef8000700b123..."} 
[2026-07-19 18:02:53] local.INFO: Packet analysis {"connection_id":136822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5c"} 
[2026-07-19 18:02:53] local.INFO: Extracted packet for processing {"connection_id":136822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5c"} 
[2026-07-19 18:02:53] local.INFO: GPS Element Parsed {"raw_longitude":763184960,"raw_latitude":96681720,"longitude_deg":76.318496,"latitude_deg":9.668172,"altitude":7,"angle":177,"satellites":35,"speed":28,"hex_longitude":"2d7d4740","hex_latitude":"05c33ef8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 18:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822858496001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108266676604108800,"note":"Value kept but may cause issues"} 
[2026-07-19 18:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027395109071847424,"note":"Value kept but may cause issues"} 
[2026-07-19 18:02:53] 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-07-19 18:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784464312000,"timestamp_ms":1784464312000,"timestamp_seconds":1784464312,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5c86c0"} 
[2026-07-19 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-07-19 18:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-19 18:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 18:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":136822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":136822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":136822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822858496001,"66":12917,"135":206,"85":12288,"24":28,"16":108266676604108800,"45":9027395109071847424},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-19 18:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822858496001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:02:53] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-19 18:02:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 18:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108266676604108800,"km_value":108266676604108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027395109071847424,"description":"Unknown IO ID 45"} 
[2026-07-19 18:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822858496001,"power":12917,"unknown_135":206,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":9027395109071847424}} 
[2026-07-19 18:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":136822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:02:53] local.INFO: GPS data processed {"connection_id":136822,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:02:53] local.INFO: Acknowledgment sent {"connection_id":136822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:02:57] local.INFO: TCP Data received {"connection_id":136822,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5cadd0012d7d484005c319d0000a00b120..."} 
[2026-07-19 18:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5cadd0012d7d484005c319d0000a00b120..."} 
[2026-07-19 18:02:57] local.INFO: Processing buffer {"connection_id":136822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5cadd0012d7d484005c319d0000a00b120..."} 
[2026-07-19 18:02:57] local.INFO: Packet analysis {"connection_id":136822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5c"} 
[2026-07-19 18:02:57] local.INFO: Extracted packet for processing {"connection_id":136822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5c"} 
[2026-07-19 18:02:57] local.INFO: GPS Element Parsed {"raw_longitude":763185216,"raw_latitude":96672208,"longitude_deg":76.3185216,"latitude_deg":9.6672208,"altitude":10,"angle":177,"satellites":32,"speed":42,"hex_longitude":"2d7d4840","hex_latitude":"05c319d0","is_valid_coordinates":true} 
[2026-07-19 18:02: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-07-19 18:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822863872001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108267136165609472,"note":"Value kept but may cause issues"} 
[2026-07-19 18:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027254371582146560,"note":"Value kept but may cause issues"} 
[2026-07-19 18:02:57] 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-07-19 18:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784464322000,"timestamp_ms":1784464322000,"timestamp_seconds":1784464322,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5cadd0"} 
[2026-07-19 18:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:02: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-07-19 18:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-19 18:02:57] 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-07-19 18:02: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-07-19 18:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822863872001,"66":13091,"135":206,"85":12288,"24":42,"16":108267136165609472,"45":9027254371582146560},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-19 18:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822863872001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:02:57] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-19 18:02:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 18:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108267136165609472,"km_value":108267136165609.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027254371582146560,"description":"Unknown IO ID 45"} 
[2026-07-19 18:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822863872001,"power":13091,"unknown_135":206,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9027254371582146560}} 
[2026-07-19 18:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":136822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:02:57] local.INFO: GPS data processed {"connection_id":136822,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:02:57] local.INFO: Acknowledgment sent {"connection_id":136822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:03:08] local.INFO: TCP Data received {"connection_id":136721,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:03:08] local.INFO: Processing buffer {"connection_id":136721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:03:08] local.INFO: Packet analysis {"connection_id":136721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a59"} 
[2026-07-19 18:03:08] local.INFO: Extracted packet for processing {"connection_id":136721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a59"} 
[2026-07-19 18:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822737920001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:03: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-07-19 18:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784464121000,"timestamp_ms":1784464121000,"timestamp_seconds":1784464121,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a599ca8"} 
[2026-07-19 18:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:03: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-07-19 18:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 18:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822737920001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822737920001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:03:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:03:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822737920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":136721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:03:08] local.INFO: GPS data processed {"connection_id":136721,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:03:08] local.INFO: Acknowledgment sent {"connection_id":136721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:03:26] local.INFO: TCP Data received {"connection_id":137793,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:03:26] local.INFO: Processing buffer {"connection_id":137793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:03:26] local.INFO: IMEI packet received {"connection_id":137793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 18:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":137793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:03:31] local.INFO: TCP Data received {"connection_id":137794,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:03:31] local.INFO: Processing buffer {"connection_id":137794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:03:31] local.INFO: IMEI packet received {"connection_id":137794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":137794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:03:36] local.INFO: TCP Data received {"connection_id":137794,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:03:36] local.INFO: Processing buffer {"connection_id":137794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:03:36] local.INFO: IMEI packet received {"connection_id":137794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":137794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:03:37] local.INFO: TCP Data received {"connection_id":137794,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:03:37] local.INFO: Processing buffer {"connection_id":137794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:03:37] local.INFO: Packet analysis {"connection_id":137794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a59"} 
[2026-07-19 18:03:37] local.INFO: Extracted packet for processing {"connection_id":137794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a59"} 
[2026-07-19 18:03:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822737920001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:03: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-07-19 18:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784464121000,"timestamp_ms":1784464121000,"timestamp_seconds":1784464121,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a599ca8"} 
[2026-07-19 18:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 18:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822737920001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822737920001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:03:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:03:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822737920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":137794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:03:37] local.INFO: GPS data processed {"connection_id":137794,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:03:37] local.INFO: Acknowledgment sent {"connection_id":137794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:03:47] local.INFO: TCP Data received {"connection_id":136823,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:03:47] local.INFO: Processing buffer {"connection_id":136823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:03:47] local.INFO: IMEI packet received {"connection_id":136823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":136823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:03:50] local.INFO: TCP Data received {"connection_id":136823,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:03:50] local.INFO: Processing buffer {"connection_id":136823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:03:50] local.INFO: IMEI packet received {"connection_id":136823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":136823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:03:52] local.INFO: TCP Data received {"connection_id":136823,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:03:52] local.INFO: Processing buffer {"connection_id":136823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:03:52] local.INFO: IMEI packet received {"connection_id":136823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":136823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:03:53] local.INFO: TCP Data received {"connection_id":136823,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5ccd10012d7d4b8005c2f6d0000900a521..."} 
[2026-07-19 18:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5ccd10012d7d4b8005c2f6d0000900a521..."} 
[2026-07-19 18:03:53] local.INFO: Processing buffer {"connection_id":136823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5ccd10012d7d4b8005c2f6d0000900a521..."} 
[2026-07-19 18:03:53] local.INFO: Packet analysis {"connection_id":136823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5c"} 
[2026-07-19 18:03:53] local.INFO: Extracted packet for processing {"connection_id":136823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5c"} 
[2026-07-19 18:03:53] local.INFO: GPS Element Parsed {"raw_longitude":763186048,"raw_latitude":96663248,"longitude_deg":76.3186048,"latitude_deg":9.6663248,"altitude":9,"angle":165,"satellites":33,"speed":39,"hex_longitude":"2d7d4b80","hex_latitude":"05c2f6d0","is_valid_coordinates":true} 
[2026-07-19 18:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822866432001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108267574252273664,"note":"Value kept but may cause issues"} 
[2026-07-19 18:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027535846556422144,"note":"Value kept but may cause issues"} 
[2026-07-19 18:03:53] 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-07-19 18:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784464330000,"timestamp_ms":1784464330000,"timestamp_seconds":1784464330,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5ccd10"} 
[2026-07-19 18:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-19 18:03:53] 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-07-19 18:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":136823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":136823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":136823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822866432001,"66":13091,"135":206,"85":12288,"24":39,"16":108267574252273664,"45":9027535846556422144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-19 18:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822866432001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:03:53] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-19 18:03:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 18:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108267574252273664,"km_value":108267574252273.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027535846556422144,"description":"Unknown IO ID 45"} 
[2026-07-19 18:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822866432001,"power":13091,"unknown_135":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":9027535846556422144}} 
[2026-07-19 18:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":136823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:03:53] local.INFO: GPS data processed {"connection_id":136823,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:03:53] local.INFO: Acknowledgment sent {"connection_id":136823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:03:56] local.INFO: TCP Data received {"connection_id":136723,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:03:56] local.INFO: Processing buffer {"connection_id":136723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:03:56] local.INFO: IMEI packet received {"connection_id":136723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":136723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:03:57] local.INFO: TCP Data received {"connection_id":136723,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5c9e30012d1823800721b788004e01362b..."} 
[2026-07-19 18:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5c9e30012d1823800721b788004e01362b..."} 
[2026-07-19 18:03:57] local.INFO: Processing buffer {"connection_id":136723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5c9e30012d1823800721b788004e01362b..."} 
[2026-07-19 18:03:57] local.INFO: Packet analysis {"connection_id":136723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5c"} 
[2026-07-19 18:03:57] local.INFO: Extracted packet for processing {"connection_id":136723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5c"} 
[2026-07-19 18:03:57] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650184,"longitude_deg":75.6556672,"latitude_deg":11.9650184,"altitude":78,"angle":310,"satellites":43,"speed":7,"hex_longitude":"2d182380","hex_latitude":"0721b788","is_valid_coordinates":true} 
[2026-07-19 18:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822865152001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219311743598592,"note":"Value kept but may cause issues"} 
[2026-07-19 18:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446439936,"note":"Value kept but may cause issues"} 
[2026-07-19 18:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784464318000,"timestamp_ms":1784464318000,"timestamp_seconds":1784464318,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5c9e30"} 
[2026-07-19 18:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:03: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-07-19 18:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-19 18:03:57] 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-07-19 18:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822865152001,"66":13135,"105":206,"83":41984,"24":7,"16":7219311743598592,"45":1739585755446439936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822865152001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:03:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:03:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219311743598592,"km_value":7219311743598.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446439936,"description":"Unknown IO ID 45"} 
[2026-07-19 18:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822865152001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739585755446439936}} 
[2026-07-19 18:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":136723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:03:57] local.INFO: GPS data processed {"connection_id":136723,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:03:57] local.INFO: Acknowledgment sent {"connection_id":136723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:04:08] local.INFO: TCP Data received {"connection_id":137794,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:04:08] local.INFO: Processing buffer {"connection_id":137794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a599ca8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:04:08] local.INFO: Packet analysis {"connection_id":137794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a59"} 
[2026-07-19 18:04:08] local.INFO: Extracted packet for processing {"connection_id":137794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a59"} 
[2026-07-19 18:04:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822737920001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:04: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-07-19 18:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784464121000,"timestamp_ms":1784464121000,"timestamp_seconds":1784464121,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a599ca8"} 
[2026-07-19 18:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:04: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-07-19 18:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 18:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822737920001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822737920001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:04:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:04:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822737920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":137794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:04:08] local.INFO: GPS data processed {"connection_id":137794,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:04:08] local.INFO: Acknowledgment sent {"connection_id":137794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:04:24] local.INFO: TCP Data received {"connection_id":136823,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5ccd10012d7d4b8005c2f6d0000900a521..."} 
[2026-07-19 18:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5ccd10012d7d4b8005c2f6d0000900a521..."} 
[2026-07-19 18:04:24] local.INFO: Processing buffer {"connection_id":136823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5ccd10012d7d4b8005c2f6d0000900a521..."} 
[2026-07-19 18:04:24] local.INFO: Packet analysis {"connection_id":136823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5c"} 
[2026-07-19 18:04:24] local.INFO: Extracted packet for processing {"connection_id":136823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5c"} 
[2026-07-19 18:04:24] local.INFO: GPS Element Parsed {"raw_longitude":763186048,"raw_latitude":96663248,"longitude_deg":76.3186048,"latitude_deg":9.6663248,"altitude":9,"angle":165,"satellites":33,"speed":39,"hex_longitude":"2d7d4b80","hex_latitude":"05c2f6d0","is_valid_coordinates":true} 
[2026-07-19 18:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822868480001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108267574252273664,"note":"Value kept but may cause issues"} 
[2026-07-19 18:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028450640228438016,"note":"Value kept but may cause issues"} 
[2026-07-19 18:04:24] 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-07-19 18:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784464330000,"timestamp_ms":1784464330000,"timestamp_seconds":1784464330,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5ccd10"} 
[2026-07-19 18:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:04: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-07-19 18:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-19 18:04:24] 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-07-19 18:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":136823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":136823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":136823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822868480001,"66":13091,"135":206,"85":12288,"24":39,"16":108267574252273664,"45":9028450640228438016},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-19 18:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822868480001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:04:24] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-19 18:04:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 18:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108267574252273664,"km_value":108267574252273.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028450640228438016,"description":"Unknown IO ID 45"} 
[2026-07-19 18:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822868480001,"power":13091,"unknown_135":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":9028450640228438016}} 
[2026-07-19 18:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":136823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:04:24] local.INFO: GPS data processed {"connection_id":136823,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:04:24] local.INFO: Acknowledgment sent {"connection_id":136823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:04:28] local.INFO: TCP Data received {"connection_id":136723,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5ca218012d1823000721b7c0004e011e2b..."} 
[2026-07-19 18:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5ca218012d1823000721b7c0004e011e2b..."} 
[2026-07-19 18:04:28] local.INFO: Processing buffer {"connection_id":136723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5ca218012d1823000721b7c0004e011e2b..."} 
[2026-07-19 18:04:28] local.INFO: Packet analysis {"connection_id":136723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5c"} 
[2026-07-19 18:04:28] local.INFO: Extracted packet for processing {"connection_id":136723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5c"} 
[2026-07-19 18:04:28] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650240,"longitude_deg":75.6556544,"latitude_deg":11.965024,"altitude":78,"angle":286,"satellites":43,"speed":5,"hex_longitude":"2d182300","hex_latitude":"0721b7c0","is_valid_coordinates":true} 
[2026-07-19 18:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822865408001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219320333533184,"note":"Value kept but may cause issues"} 
[2026-07-19 18:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213945856,"note":"Value kept but may cause issues"} 
[2026-07-19 18:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784464319000,"timestamp_ms":1784464319000,"timestamp_seconds":1784464319,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5ca218"} 
[2026-07-19 18:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:04: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-07-19 18:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-19 18:04: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-07-19 18:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822865408001,"66":13135,"105":206,"83":41984,"24":5,"16":7219320333533184,"45":1739374649213945856},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822865408001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:04:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:04:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219320333533184,"km_value":7219320333533.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213945856,"description":"Unknown IO ID 45"} 
[2026-07-19 18:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822865408001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739374649213945856}} 
[2026-07-19 18:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":136723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:04:28] local.INFO: GPS data processed {"connection_id":136723,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:04:28] local.INFO: Acknowledgment sent {"connection_id":136723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:04:31] local.INFO: TCP Data received {"connection_id":139179,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:04:31] local.INFO: Processing buffer {"connection_id":139179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:04:31] local.INFO: IMEI packet received {"connection_id":139179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":139179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:04:36] local.INFO: TCP Data received {"connection_id":139179,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:04:36] local.INFO: Processing buffer {"connection_id":139179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:04:36] local.INFO: IMEI packet received {"connection_id":139179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":139179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:04:37] local.INFO: TCP Data received {"connection_id":139179,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:04:37] local.INFO: Processing buffer {"connection_id":139179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:04:37] local.INFO: Packet analysis {"connection_id":139179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:04:37] local.INFO: Extracted packet for processing {"connection_id":139179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822814976001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:04: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-07-19 18:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784464422000,"timestamp_ms":1784464422000,"timestamp_seconds":1784464422,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5e3470"} 
[2026-07-19 18:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822814976001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822814976001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:04:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822814976001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":139179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:04:37] local.INFO: GPS data processed {"connection_id":139179,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:04:37] local.INFO: Acknowledgment sent {"connection_id":139179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:04:47] local.INFO: TCP Data received {"connection_id":137795,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:04:47] local.INFO: Processing buffer {"connection_id":137795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:04:47] local.INFO: IMEI packet received {"connection_id":137795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":137795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:04:52] local.INFO: TCP Data received {"connection_id":137795,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:04:52] local.INFO: Processing buffer {"connection_id":137795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:04:52] local.INFO: IMEI packet received {"connection_id":137795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":137795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:04:53] local.INFO: TCP Data received {"connection_id":137795,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5ec110012d7d3a4005c1a310000800bb1f..."} 
[2026-07-19 18:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5ec110012d7d3a4005c1a310000800bb1f..."} 
[2026-07-19 18:04:53] local.INFO: Processing buffer {"connection_id":137795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5ec110012d7d3a4005c1a310000800bb1f..."} 
[2026-07-19 18:04:53] local.INFO: Packet analysis {"connection_id":137795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:04:53] local.INFO: Extracted packet for processing {"connection_id":137795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:04:53] local.INFO: GPS Element Parsed {"raw_longitude":763181632,"raw_latitude":96576272,"longitude_deg":76.3181632,"latitude_deg":9.6576272,"altitude":8,"angle":187,"satellites":31,"speed":22,"hex_longitude":"2d7d3a40","hex_latitude":"05c1a310","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822896640001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108271834859831296,"note":"Value kept but may cause issues"} 
[2026-07-19 18:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023735934348658688,"note":"Value kept but may cause issues"} 
[2026-07-19 18:04:53] 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-07-19 18:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784464458000,"timestamp_ms":1784464458000,"timestamp_seconds":1784464458,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5ec110"} 
[2026-07-19 18:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-19 18:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167928585640,"note":"Value kept but may cause issues"} 
[2026-07-19 18:04:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 18:04:53] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2792816640,"note":"Value kept but may cause issues"} 
[2026-07-19 18:04:53] local.WARNING: Large IO value detected {"io_id":135,"raw_value":58077509850759214,"note":"Value kept but may cause issues"} 
[2026-07-19 18:04:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2827419854,"corrected_to":0} 
[2026-07-19 18:04:53] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2147560829,"note":"Value kept but may cause issues"} 
[2026-07-19 18:04:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3263698944,"note":"Value kept but may cause issues"} 
[2026-07-19 18:04:53] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,9,85,24,241,157,16,168,159,79,45,128,236,8,34,10,66,167,1,192,7,135,210,240,133,227,122,194,4,113,205,43,97,71,104,239,52,2,5,46],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2827419854,"validated":0}]} 
[2026-07-19 18:04:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648716400170762240,"timestamp_seconds":648716400170762.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 18:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":137795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":137795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":137795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822896640001,"66":13015,"9":206,"85":12288,"24":22,"16":108271834859831296,"45":9023735934348658688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-07-19 18:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822896640001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:04:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-19 18:04:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 18:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108271834859831296,"km_value":108271834859831.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023735934348658688,"description":"Unknown IO ID 45"} 
[2026-07-19 18:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822896640001,"power":13015,"unknown_9":206,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":9023735934348658688}} 
[2026-07-19 18:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":137795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:04:53] local.INFO: GPS data processed {"connection_id":137795,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:04:53] local.INFO: Acknowledgment sent {"connection_id":137795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:04:56] local.INFO: TCP Data received {"connection_id":137796,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:04:56] local.INFO: Processing buffer {"connection_id":137796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:04:56] local.INFO: IMEI packet received {"connection_id":137796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":137796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:05:01] local.INFO: TCP Data received {"connection_id":137796,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:05:01] local.INFO: Processing buffer {"connection_id":137796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:05:01] local.INFO: IMEI packet received {"connection_id":137796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":137796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:05:01] local.INFO: TCP Data received {"connection_id":137796,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5cf420012d1824c00721b858004e011e2a..."} 
[2026-07-19 18:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5cf420012d1824c00721b858004e011e2a..."} 
[2026-07-19 18:05:01] local.INFO: Processing buffer {"connection_id":137796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5cf420012d1824c00721b858004e011e2a..."} 
[2026-07-19 18:05:01] local.INFO: Packet analysis {"connection_id":137796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5c"} 
[2026-07-19 18:05:01] local.INFO: Extracted packet for processing {"connection_id":137796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5c"} 
[2026-07-19 18:05:01] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650392,"longitude_deg":75.6556992,"latitude_deg":11.9650392,"altitude":78,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b858","is_valid_coordinates":true} 
[2026-07-19 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-07-19 18:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822865664001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219384758042624,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725604864,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784464340000,"timestamp_ms":1784464340000,"timestamp_seconds":1784464340,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5cf420"} 
[2026-07-19 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-07-19 18:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-19 18:05:01] 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-07-19 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-07-19 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-07-19 18:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822865664001,"66":13080,"105":206,"83":41984,"24":0,"16":7219384758042624,"45":1739233911725604864},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822865664001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:05:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:05:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219384758042624,"km_value":7219384758042.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725604864,"description":"Unknown IO ID 45"} 
[2026-07-19 18:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822865664001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725604864}} 
[2026-07-19 18:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":137796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:05:02] local.INFO: GPS data processed {"connection_id":137796,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:05:02] local.INFO: Acknowledgment sent {"connection_id":137796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:05:04] local.INFO: TCP Data received {"connection_id":137796,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5d4628012d1824c00721b858004e011e2a..."} 
[2026-07-19 18:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5d4628012d1824c00721b858004e011e2a..."} 
[2026-07-19 18:05:04] local.INFO: Processing buffer {"connection_id":137796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5d4628012d1824c00721b858004e011e2a..."} 
[2026-07-19 18:05:04] local.INFO: Packet analysis {"connection_id":137796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5d"} 
[2026-07-19 18:05:04] local.INFO: Extracted packet for processing {"connection_id":137796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5d"} 
[2026-07-19 18:05:04] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650392,"longitude_deg":75.6556992,"latitude_deg":11.9650392,"altitude":78,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b858","is_valid_coordinates":true} 
[2026-07-19 18:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822871040001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219384758042624,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934887424,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784464361000,"timestamp_ms":1784464361000,"timestamp_seconds":1784464361,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5d4628"} 
[2026-07-19 18:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:05: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-07-19 18:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-19 18:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":137796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":137796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":137796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822871040001,"66":12972,"105":206,"83":41984,"24":0,"16":7219384758042624,"45":1739726492934887424},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822871040001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:05:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:05:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219384758042624,"km_value":7219384758042.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934887424,"description":"Unknown IO ID 45"} 
[2026-07-19 18:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822871040001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934887424}} 
[2026-07-19 18:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":137796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:05:04] local.INFO: GPS data processed {"connection_id":137796,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:05:04] local.INFO: Acknowledgment sent {"connection_id":137796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:05:08] local.INFO: TCP Data received {"connection_id":139179,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:05:08] local.INFO: Processing buffer {"connection_id":139179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:05:08] local.INFO: Packet analysis {"connection_id":139179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:05:08] local.INFO: Extracted packet for processing {"connection_id":139179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822814976001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784464422000,"timestamp_ms":1784464422000,"timestamp_seconds":1784464422,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5e3470"} 
[2026-07-19 18:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:05: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-07-19 18: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":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:05: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-07-19 18: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-07-19 18:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822814976001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822814976001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:05:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822814976001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":139179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:05:08] local.INFO: GPS data processed {"connection_id":139179,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:05:08] local.INFO: Acknowledgment sent {"connection_id":139179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:05:24] local.INFO: TCP Data received {"connection_id":137795,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5ef3d8012d7d360005c17cd0000c00ba1f..."} 
[2026-07-19 18:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5ef3d8012d7d360005c17cd0000c00ba1f..."} 
[2026-07-19 18:05:24] local.INFO: Processing buffer {"connection_id":137795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5ef3d8012d7d360005c17cd0000c00ba1f..."} 
[2026-07-19 18:05:24] local.INFO: Packet analysis {"connection_id":137795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:05:24] local.INFO: Extracted packet for processing {"connection_id":137795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:05:24] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":96566480,"longitude_deg":76.3180544,"latitude_deg":9.656648,"altitude":12,"angle":186,"satellites":31,"speed":39,"hex_longitude":"2d7d3600","hex_latitude":"05c17cd0","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822901248001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108272315896168448,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023595196857913344,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05: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-07-19 18:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784464471000,"timestamp_ms":1784464471000,"timestamp_seconds":1784464471,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5ef3d8"} 
[2026-07-19 18:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:05: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-07-19 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-19 18:05:24] 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-07-19 18: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-07-19 18:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":137795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":137795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":137795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822901248001,"66":12765,"9":206,"85":12288,"24":39,"16":108272315896168448,"45":9023595196857913344},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-07-19 18:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822901248001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:05:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-19 18:05:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 18:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108272315896168448,"km_value":108272315896168.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023595196857913344,"description":"Unknown IO ID 45"} 
[2026-07-19 18:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822901248001,"power":12765,"unknown_9":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":9023595196857913344}} 
[2026-07-19 18:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":137795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:05:24] local.INFO: GPS data processed {"connection_id":137795,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:05:24] local.INFO: Acknowledgment sent {"connection_id":137795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:05:35] local.INFO: TCP Data received {"connection_id":137796,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5d9830012d1824c00721b858004e011e2c..."} 
[2026-07-19 18:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5d9830012d1824c00721b858004e011e2c..."} 
[2026-07-19 18:05:35] local.INFO: Processing buffer {"connection_id":137796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5d9830012d1824c00721b858004e011e2c..."} 
[2026-07-19 18:05:35] local.INFO: Packet analysis {"connection_id":137796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5d"} 
[2026-07-19 18:05:35] local.INFO: Extracted packet for processing {"connection_id":137796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5d"} 
[2026-07-19 18:05:35] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650392,"longitude_deg":75.6556992,"latitude_deg":11.9650392,"altitude":78,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b858","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822876416001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219384758042624,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934887424,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784464382000,"timestamp_ms":1784464382000,"timestamp_seconds":1784464382,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5d9830"} 
[2026-07-19 18:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-19 18:05:35] 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-07-19 18: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-07-19 18:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":137796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":137796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":137796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822876416001,"66":12874,"105":206,"83":41984,"24":0,"16":7219384758042624,"45":1739726492934887424},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822876416001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:05:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:05:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219384758042624,"km_value":7219384758042.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934887424,"description":"Unknown IO ID 45"} 
[2026-07-19 18:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822876416001,"power":12874,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934887424}} 
[2026-07-19 18:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":137796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:05:35] local.INFO: GPS data processed {"connection_id":137796,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:05:35] local.INFO: Acknowledgment sent {"connection_id":137796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:05:36] local.INFO: TCP Data received {"connection_id":139180,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:05:36] local.INFO: Processing buffer {"connection_id":139180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:05:36] local.INFO: IMEI packet received {"connection_id":139180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":139180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:05:41] local.INFO: TCP Data received {"connection_id":139180,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:05:41] local.INFO: Processing buffer {"connection_id":139180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:05:41] local.INFO: IMEI packet received {"connection_id":139180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":139180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:05:42] local.INFO: TCP Data received {"connection_id":139180,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:05:42] local.INFO: Processing buffer {"connection_id":139180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:05:42] local.INFO: Packet analysis {"connection_id":139180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:05:42] local.INFO: Extracted packet for processing {"connection_id":139180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:05:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822814976001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784464422000,"timestamp_ms":1784464422000,"timestamp_seconds":1784464422,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5e3470"} 
[2026-07-19 18:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822814976001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822814976001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:05:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:05:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822814976001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":139180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:05:42] local.INFO: GPS data processed {"connection_id":139180,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:05:42] local.INFO: Acknowledgment sent {"connection_id":139180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:05:47] local.INFO: TCP Data received {"connection_id":139180,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:05:47] local.INFO: Processing buffer {"connection_id":139180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:05:47] local.INFO: Packet analysis {"connection_id":139180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:05:47] local.INFO: Extracted packet for processing {"connection_id":139180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:05:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822814976001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784464422000,"timestamp_ms":1784464422000,"timestamp_seconds":1784464422,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5e3470"} 
[2026-07-19 18:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":139180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":139180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":139180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822814976001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822814976001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:05:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:05:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822814976001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":139180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:05:47] local.INFO: GPS data processed {"connection_id":139180,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:05:47] local.INFO: Acknowledgment sent {"connection_id":139180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:05:49] local.INFO: TCP Data received {"connection_id":136725,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:05:49] local.INFO: Processing buffer {"connection_id":136725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:05:49] local.INFO: IMEI packet received {"connection_id":136725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":136725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:05:51] local.INFO: TCP Data received {"connection_id":137798,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:05:51] local.INFO: Processing buffer {"connection_id":137798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:05:51] local.INFO: IMEI packet received {"connection_id":137798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":137798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:05:52] local.INFO: TCP Data received {"connection_id":136725,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:05:52] local.INFO: Processing buffer {"connection_id":136725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:05:52] local.INFO: IMEI packet received {"connection_id":136725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":136725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:05:56] local.INFO: TCP Data received {"connection_id":137798,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:05:56] local.INFO: Processing buffer {"connection_id":137798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:05:56] local.INFO: IMEI packet received {"connection_id":137798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":137798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:05:57] local.INFO: TCP Data received {"connection_id":137798,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5dea38012d1824c00721b858004e011e29..."} 
[2026-07-19 18:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5dea38012d1824c00721b858004e011e29..."} 
[2026-07-19 18:05:57] local.INFO: Processing buffer {"connection_id":137798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5dea38012d1824c00721b858004e011e29..."} 
[2026-07-19 18:05:57] local.INFO: Packet analysis {"connection_id":137798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5d"} 
[2026-07-19 18:05:57] local.INFO: Extracted packet for processing {"connection_id":137798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5d"} 
[2026-07-19 18:05:57] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650392,"longitude_deg":75.6556992,"latitude_deg":11.9650392,"altitude":78,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b858","is_valid_coordinates":true} 
[2026-07-19 18:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822881792001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219384758042624,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934887424,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784464403000,"timestamp_ms":1784464403000,"timestamp_seconds":1784464403,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5dea38"} 
[2026-07-19 18:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-19 18:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822881792001,"66":12863,"105":206,"83":41984,"24":0,"16":7219384758042624,"45":1739726492934887424},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822881792001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:05:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:05:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219384758042624,"km_value":7219384758042.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934887424,"description":"Unknown IO ID 45"} 
[2026-07-19 18:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822881792001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934887424}} 
[2026-07-19 18:05:57] local.INFO: TCP Data received {"connection_id":136725,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:05:57] local.INFO: Processing buffer {"connection_id":136725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:05:57] local.INFO: IMEI packet received {"connection_id":136725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":136725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":137798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:05:57] local.INFO: GPS data processed {"connection_id":137798,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:05:57] local.INFO: Acknowledgment sent {"connection_id":137798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:05:57] local.INFO: TCP Data received {"connection_id":136725,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5f1ae8012d7d31c005c156f0000c00ba20..."} 
[2026-07-19 18:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5f1ae8012d7d31c005c156f0000c00ba20..."} 
[2026-07-19 18:05:58] local.INFO: Processing buffer {"connection_id":136725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5f1ae8012d7d31c005c156f0000c00ba20..."} 
[2026-07-19 18:05:58] local.INFO: Packet analysis {"connection_id":136725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5f"} 
[2026-07-19 18:05:58] local.INFO: Extracted packet for processing {"connection_id":136725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5f"} 
[2026-07-19 18:05:58] local.INFO: GPS Element Parsed {"raw_longitude":763179456,"raw_latitude":96556784,"longitude_deg":76.3179456,"latitude_deg":9.6556784,"altitude":12,"angle":186,"satellites":32,"speed":36,"hex_longitude":"2d7d31c0","hex_latitude":"05c156f0","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822904576001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108272788342571008,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928204386304,"note":"Value kept but may cause issues"} 
[2026-07-19 18:05:58] 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-07-19 18:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784464481000,"timestamp_ms":1784464481000,"timestamp_seconds":1784464481,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5f1ae8"} 
[2026-07-19 18:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:05: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-07-19 18: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-19 18:05:58] 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-07-19 18: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-07-19 18:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822904576001,"66":13352,"9":206,"85":12288,"24":36,"16":108272788342571008,"45":9022398928204386304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-07-19 18:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822904576001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:05:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-19 18:05:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 18:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108272788342571008,"km_value":108272788342571.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928204386304,"description":"Unknown IO ID 45"} 
[2026-07-19 18:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822904576001,"power":13352,"unknown_9":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":9022398928204386304}} 
[2026-07-19 18:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":136725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:05:58] local.INFO: GPS data processed {"connection_id":136725,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:05:58] local.INFO: Acknowledgment sent {"connection_id":136725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:06:28] local.INFO: TCP Data received {"connection_id":137798,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5e3c40012d1823400721b6e8004c011e29..."} 
[2026-07-19 18:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5e3c40012d1823400721b6e8004c011e29..."} 
[2026-07-19 18:06:28] local.INFO: Processing buffer {"connection_id":137798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5e3c40012d1823400721b6e8004c011e29..."} 
[2026-07-19 18:06:28] local.INFO: Packet analysis {"connection_id":137798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:06:28] local.INFO: Extracted packet for processing {"connection_id":137798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650024,"longitude_deg":75.6556608,"latitude_deg":11.9650024,"altitude":76,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b6e8","is_valid_coordinates":true} 
[2026-07-19 18:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822887168001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219414822813696,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934887424,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784464424000,"timestamp_ms":1784464424000,"timestamp_seconds":1784464424,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5e3c40"} 
[2026-07-19 18:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:06: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-07-19 18:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-19 18:06:28] 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-07-19 18:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822887168001,"66":12819,"105":206,"83":41984,"24":0,"16":7219414822813696,"45":1739726492934887424},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822887168001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:06:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219414822813696,"km_value":7219414822813.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934887424,"description":"Unknown IO ID 45"} 
[2026-07-19 18:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822887168001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934887424}} 
[2026-07-19 18:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":137798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:06:28] local.INFO: GPS data processed {"connection_id":137798,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:06:28] local.INFO: Acknowledgment sent {"connection_id":137798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:06:29] local.INFO: TCP Data received {"connection_id":136725,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5f2a88012d7d318005c148c0000c00ad20..."} 
[2026-07-19 18:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5f2a88012d7d318005c148c0000c00ad20..."} 
[2026-07-19 18:06:29] local.INFO: Processing buffer {"connection_id":136725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5f2a88012d7d318005c148c0000c00ad20..."} 
[2026-07-19 18:06:29] local.INFO: Packet analysis {"connection_id":136725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5f"} 
[2026-07-19 18:06:29] local.INFO: Extracted packet for processing {"connection_id":136725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5f"} 
[2026-07-19 18:06:29] local.INFO: GPS Element Parsed {"raw_longitude":763179392,"raw_latitude":96553152,"longitude_deg":76.3179392,"latitude_deg":9.6553152,"altitude":12,"angle":173,"satellites":32,"speed":35,"hex_longitude":"2d7d3180","hex_latitude":"05c148c0","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822907136001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108272964436230144,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202659550883840,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:29] 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-07-19 18:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784464485000,"timestamp_ms":1784464485000,"timestamp_seconds":1784464485,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5f2a88"} 
[2026-07-19 18:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:06: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-07-19 18: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-19 18:06: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-07-19 18: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-07-19 18:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":136725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":136725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":136725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822907136001,"66":13341,"9":206,"85":12288,"24":35,"16":108272964436230144,"45":9021202659550883840},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-07-19 18:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822907136001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:06:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-19 18:06:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 18:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108272964436230144,"km_value":108272964436230.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202659550883840,"description":"Unknown IO ID 45"} 
[2026-07-19 18:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822907136001,"power":13341,"unknown_9":206,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":9021202659550883840}} 
[2026-07-19 18:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":136725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:06:29] local.INFO: GPS data processed {"connection_id":136725,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:06:29] local.INFO: Acknowledgment sent {"connection_id":136725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:06:31] local.INFO: TCP Data received {"connection_id":139182,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:06:31] local.INFO: Processing buffer {"connection_id":139182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:06:31] local.INFO: IMEI packet received {"connection_id":139182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":139182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:06:36] local.INFO: TCP Data received {"connection_id":139182,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:06:36] local.INFO: Processing buffer {"connection_id":139182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:06:36] local.INFO: IMEI packet received {"connection_id":139182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":139182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:06:37] local.INFO: TCP Data received {"connection_id":139182,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:06:37] local.INFO: Processing buffer {"connection_id":139182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:06:37] local.INFO: Packet analysis {"connection_id":139182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:06:37] local.INFO: Extracted packet for processing {"connection_id":139182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822814976001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06: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-07-19 18:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784464422000,"timestamp_ms":1784464422000,"timestamp_seconds":1784464422,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5e3470"} 
[2026-07-19 18:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:06: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-07-19 18:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822814976001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822814976001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:06:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822814976001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":139182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:06:37] local.INFO: GPS data processed {"connection_id":139182,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:06:37] local.INFO: Acknowledgment sent {"connection_id":139182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:06:47] local.INFO: TCP Data received {"connection_id":136824,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:06:47] local.INFO: Processing buffer {"connection_id":136824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:06:47] local.INFO: IMEI packet received {"connection_id":136824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":136824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:06:48] local.INFO: TCP Data received {"connection_id":137799,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:06:48] local.INFO: Processing buffer {"connection_id":137799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:06:48] local.INFO: IMEI packet received {"connection_id":137799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":137799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:06:49] local.INFO: TCP Data received {"connection_id":136824,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:06:49] local.INFO: Processing buffer {"connection_id":136824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:06:49] local.INFO: IMEI packet received {"connection_id":136824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":136824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:06:51] local.INFO: TCP Data received {"connection_id":137799,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:06:51] local.INFO: Processing buffer {"connection_id":137799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:06:51] local.INFO: IMEI packet received {"connection_id":137799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":137799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:06:52] local.INFO: TCP Data received {"connection_id":136824,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:06:52] local.INFO: Processing buffer {"connection_id":136824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:06:52] local.INFO: IMEI packet received {"connection_id":136824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":136824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:06:53] local.INFO: TCP Data received {"connection_id":136824,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5f45e0012d7d318005c13228000d00ba20..."} 
[2026-07-19 18:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5f45e0012d7d318005c13228000d00ba20..."} 
[2026-07-19 18:06:53] local.INFO: Processing buffer {"connection_id":136824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5f45e0012d7d318005c13228000d00ba20..."} 
[2026-07-19 18:06:53] local.INFO: Packet analysis {"connection_id":136824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5f"} 
[2026-07-19 18:06:53] local.INFO: Extracted packet for processing {"connection_id":136824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5f"} 
[2026-07-19 18:06:53] local.INFO: GPS Element Parsed {"raw_longitude":763179392,"raw_latitude":96547368,"longitude_deg":76.3179392,"latitude_deg":9.6547368,"altitude":13,"angle":186,"satellites":32,"speed":31,"hex_longitude":"2d7d3180","hex_latitude":"05c13228","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822908160001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108273243609104384,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021132290805776384,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:53] 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-07-19 18:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784464492000,"timestamp_ms":1784464492000,"timestamp_seconds":1784464492,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5f45e0"} 
[2026-07-19 18:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-19 18:06:53] 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-07-19 18: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-07-19 18:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":136824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":136824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":136824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822908160001,"66":13189,"9":206,"85":12288,"24":31,"16":108273243609104384,"45":9021132290805776384},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-07-19 18:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822908160001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:06:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-19 18:06:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 18:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108273243609104384,"km_value":108273243609104.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021132290805776384,"description":"Unknown IO ID 45"} 
[2026-07-19 18:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822908160001,"power":13189,"unknown_9":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9021132290805776384}} 
[2026-07-19 18:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":136824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:06:53] local.INFO: GPS data processed {"connection_id":136824,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:06:53] local.INFO: Acknowledgment sent {"connection_id":136824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:06:55] local.INFO: TCP Data received {"connection_id":136824,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5f8c30012d7d2dc005c10ff8000b00b722..."} 
[2026-07-19 18:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5f8c30012d7d2dc005c10ff8000b00b722..."} 
[2026-07-19 18:06:55] local.INFO: Processing buffer {"connection_id":136824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5f8c30012d7d2dc005c10ff8000b00b722..."} 
[2026-07-19 18:06:55] local.INFO: Packet analysis {"connection_id":136824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5f"} 
[2026-07-19 18:06:55] local.INFO: Extracted packet for processing {"connection_id":136824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5f"} 
[2026-07-19 18:06:55] local.INFO: GPS Element Parsed {"raw_longitude":763178432,"raw_latitude":96538616,"longitude_deg":76.3178432,"latitude_deg":9.6538616,"altitude":11,"angle":183,"satellites":34,"speed":13,"hex_longitude":"2d7d2dc0","hex_latitude":"05c10ff8","is_valid_coordinates":true} 
[2026-07-19 18:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822909952001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108273677400801280,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021132290804295680,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:55] 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-07-19 18:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784464510000,"timestamp_ms":1784464510000,"timestamp_seconds":1784464510,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5f8c30"} 
[2026-07-19 18:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:06: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-07-19 18:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-19 18:06:55] 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-07-19 18:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":136824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":136824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":136824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822909952001,"66":13102,"9":206,"85":12288,"24":13,"16":108273677400801280,"45":9021132290804295680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-07-19 18:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822909952001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:06:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-19 18:06:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 18:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108273677400801280,"km_value":108273677400801.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021132290804295680,"description":"Unknown IO ID 45"} 
[2026-07-19 18:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822909952001,"power":13102,"unknown_9":206,"unknown_85":12288,"ignition":13,"odometer":null,"unknown_45":9021132290804295680}} 
[2026-07-19 18:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":136824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:06:55] local.INFO: GPS data processed {"connection_id":136824,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:06:55] local.INFO: Acknowledgment sent {"connection_id":136824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:06:56] local.INFO: TCP Data received {"connection_id":137799,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:06:56] local.INFO: Processing buffer {"connection_id":137799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:06:56] local.INFO: IMEI packet received {"connection_id":137799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":137799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:06:56] local.INFO: TCP Data received {"connection_id":137799,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5e8e48012d1823400721b6e8004c011e2b..."} 
[2026-07-19 18:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5e8e48012d1823400721b6e8004c011e2b..."} 
[2026-07-19 18:06:56] local.INFO: Processing buffer {"connection_id":137799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5e8e48012d1823400721b6e8004c011e2b..."} 
[2026-07-19 18:06:56] local.INFO: Packet analysis {"connection_id":137799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:06:56] local.INFO: Extracted packet for processing {"connection_id":137799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:06:56] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650024,"longitude_deg":75.6556608,"latitude_deg":11.9650024,"altitude":76,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b6e8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822892544001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219414822813696,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469727232,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784464445000,"timestamp_ms":1784464445000,"timestamp_seconds":1784464445,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5e8e48"} 
[2026-07-19 18:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:06: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-07-19 18: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-19 18:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:56] local.WARNING: Large IO value detected {"io_id":165,"raw_value":4261412864,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:56] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503709785194496,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:56] local.WARNING: Large IO value detected {"io_id":122,"raw_value":6672724967791535168,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:56] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3092774990,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:56] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6197216974351958272,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-07-19 18:06:56] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182208234782976,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:56] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775785908194899,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:56] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2783903744,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:56] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429392933112338475,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:56] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:56] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195125504,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:56] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84750511962005942,"note":"Value kept but may cause issues"} 
[2026-07-19 18:06:56] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,166,159,234,45,192,184,78,41,10,66,165,152,44,70,1,240,172,227,122,33,4,113,205,162,35,43,239,51,2,25,7,164,237,69,96],"length":625,"final_offset":755,"validated_count":42,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-07-19 18:06:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476691783301726208,"timestamp_seconds":5476691783301726.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 18:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822892544001,"66":12798,"105":206,"83":41984,"24":0,"16":7219414822813696,"45":1739304280469727232},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822892544001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:06:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:06:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219414822813696,"km_value":7219414822813.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469727232,"description":"Unknown IO ID 45"} 
[2026-07-19 18:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822892544001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469727232}} 
[2026-07-19 18:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":137799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:06:57] local.INFO: GPS data processed {"connection_id":137799,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:06:57] local.INFO: Acknowledgment sent {"connection_id":137799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:07:09] local.INFO: TCP Data received {"connection_id":139182,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:07:09] local.INFO: Processing buffer {"connection_id":139182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:07:09] local.INFO: Packet analysis {"connection_id":139182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:07:09] local.INFO: Extracted packet for processing {"connection_id":139182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822814976001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:07: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-07-19 18:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784464422000,"timestamp_ms":1784464422000,"timestamp_seconds":1784464422,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5e3470"} 
[2026-07-19 18:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18: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-07-19 18:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822814976001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822814976001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:07:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:07:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822814976001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":139182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:07:09] local.INFO: GPS data processed {"connection_id":139182,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:07:09] local.INFO: Acknowledgment sent {"connection_id":139182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:07:26] local.INFO: TCP Data received {"connection_id":136824,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a615d08012d7d1d0005bfd0e0000800d820..."} 
[2026-07-19 18:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a615d08012d7d1d0005bfd0e0000800d820..."} 
[2026-07-19 18:07:26] local.INFO: Processing buffer {"connection_id":136824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a615d08012d7d1d0005bfd0e0000800d820..."} 
[2026-07-19 18:07:26] local.INFO: Packet analysis {"connection_id":136824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a61"} 
[2026-07-19 18:07:26] local.INFO: Extracted packet for processing {"connection_id":136824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a61"} 
[2026-07-19 18:07:26] local.INFO: GPS Element Parsed {"raw_longitude":763174144,"raw_latitude":96456928,"longitude_deg":76.3174144,"latitude_deg":9.6456928,"altitude":8,"angle":216,"satellites":32,"speed":42,"hex_longitude":"2d7d1d00","hex_latitude":"05bfd0e0","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822942720001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108277770504634368,"note":"Value kept but may cause issues"} 
[2026-07-19 18:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021061922038968320,"note":"Value kept but may cause issues"} 
[2026-07-19 18:07:26] 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-07-19 18:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784464629000,"timestamp_ms":1784464629000,"timestamp_seconds":1784464629,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a615d08"} 
[2026-07-19 18:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:07: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-07-19 18: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-19 18:07:26] 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-07-19 18: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-07-19 18:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":136824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":136824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":136824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822942720001,"66":12982,"10":206,"85":12288,"24":42,"16":108277770504634368,"45":9021061922038968320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-07-19 18:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822942720001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:07:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-19 18:07:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 18:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108277770504634368,"km_value":108277770504634.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021061922038968320,"description":"Unknown IO ID 45"} 
[2026-07-19 18:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822942720001,"power":12982,"unknown_10":206,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9021061922038968320}} 
[2026-07-19 18:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":136824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:07:26] local.INFO: GPS data processed {"connection_id":136824,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:07:26] local.INFO: Acknowledgment sent {"connection_id":136824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:07:28] local.INFO: TCP Data received {"connection_id":137799,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5ee050012d1823400721b6e8004c011e2c..."} 
[2026-07-19 18:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5ee050012d1823400721b6e8004c011e2c..."} 
[2026-07-19 18:07:28] local.INFO: Processing buffer {"connection_id":137799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5ee050012d1823400721b6e8004c011e2c..."} 
[2026-07-19 18:07:28] local.INFO: Packet analysis {"connection_id":137799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:07:28] local.INFO: Extracted packet for processing {"connection_id":137799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650024,"longitude_deg":75.6556608,"latitude_deg":11.9650024,"altitude":76,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b6e8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822897920001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219414822813696,"note":"Value kept but may cause issues"} 
[2026-07-19 18:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469727232,"note":"Value kept but may cause issues"} 
[2026-07-19 18:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784464466000,"timestamp_ms":1784464466000,"timestamp_seconds":1784464466,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5ee050"} 
[2026-07-19 18:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:07: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-07-19 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-19 18:07:28] 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-07-19 18: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-07-19 18:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822897920001,"66":14004,"105":206,"83":41984,"24":0,"16":7219414822813696,"45":1739304280469727232},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822897920001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:07:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:07:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219414822813696,"km_value":7219414822813.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469727232,"description":"Unknown IO ID 45"} 
[2026-07-19 18:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822897920001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469727232}} 
[2026-07-19 18:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":137799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:07:28] local.INFO: GPS data processed {"connection_id":137799,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:07:28] local.INFO: Acknowledgment sent {"connection_id":137799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:07:31] local.INFO: TCP Data received {"connection_id":139183,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:07:31] local.INFO: Processing buffer {"connection_id":139183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:07:31] local.INFO: IMEI packet received {"connection_id":139183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":139183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:07:36] local.INFO: TCP Data received {"connection_id":139183,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:07:36] local.INFO: Processing buffer {"connection_id":139183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:07:36] local.INFO: IMEI packet received {"connection_id":139183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":139183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:07:37] local.INFO: TCP Data received {"connection_id":139183,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:07:37] local.INFO: Processing buffer {"connection_id":139183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:07:37] local.INFO: Packet analysis {"connection_id":139183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:07:37] local.INFO: Extracted packet for processing {"connection_id":139183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822814976001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:07: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-07-19 18:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784464422000,"timestamp_ms":1784464422000,"timestamp_seconds":1784464422,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5e3470"} 
[2026-07-19 18:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822814976001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822814976001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822814976001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":139183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:07:37] local.INFO: GPS data processed {"connection_id":139183,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:07:37] local.INFO: Acknowledgment sent {"connection_id":139183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:07:48] local.INFO: TCP Data received {"connection_id":136726,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:07:48] local.INFO: Processing buffer {"connection_id":136726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:07:48] local.INFO: IMEI packet received {"connection_id":136726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":136726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:07:51] local.INFO: TCP Data received {"connection_id":136727,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:07:51] local.INFO: Processing buffer {"connection_id":136727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:07:51] local.INFO: IMEI packet received {"connection_id":136727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":136727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:07:51] local.INFO: TCP Data received {"connection_id":136727,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:07:51] local.INFO: Processing buffer {"connection_id":136727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:07:51] local.INFO: IMEI packet received {"connection_id":136727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":136727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:07:52] local.INFO: TCP Data received {"connection_id":136726,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:07:52] local.INFO: Processing buffer {"connection_id":136726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:07:52] local.INFO: IMEI packet received {"connection_id":136726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":136726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:07:53] local.INFO: TCP Data received {"connection_id":136726,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a617478012d7d10c005bfbd20000700cc20..."} 
[2026-07-19 18:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a617478012d7d10c005bfbd20000700cc20..."} 
[2026-07-19 18:07:53] local.INFO: Processing buffer {"connection_id":136726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a617478012d7d10c005bfbd20000700cc20..."} 
[2026-07-19 18:07:53] local.INFO: Packet analysis {"connection_id":136726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a61"} 
[2026-07-19 18:07:53] local.INFO: Extracted packet for processing {"connection_id":136726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a61"} 
[2026-07-19 18:07:53] local.INFO: GPS Element Parsed {"raw_longitude":763171008,"raw_latitude":96451872,"longitude_deg":76.3171008,"latitude_deg":9.6451872,"altitude":7,"angle":204,"satellites":32,"speed":37,"hex_longitude":"2d7d10c0","hex_latitude":"05bfbd20","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822945024001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108278058267443200,"note":"Value kept but may cause issues"} 
[2026-07-19 18:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015362053758574592,"note":"Value kept but may cause issues"} 
[2026-07-19 18:07:53] 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-07-19 18:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784464635000,"timestamp_ms":1784464635000,"timestamp_seconds":1784464635,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a617478"} 
[2026-07-19 18:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:07: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-07-19 18: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-19 18:07:53] 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-07-19 18: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-07-19 18:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":136726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":136726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":136726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822945024001,"66":13178,"10":206,"85":12288,"24":37,"16":108278058267443200,"45":9015362053758574592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-07-19 18:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822945024001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:07:53] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-19 18:07:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 18:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108278058267443200,"km_value":108278058267443.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015362053758574592,"description":"Unknown IO ID 45"} 
[2026-07-19 18:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822945024001,"power":13178,"unknown_10":206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9015362053758574592}} 
[2026-07-19 18:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":136726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:07:53] local.INFO: GPS data processed {"connection_id":136726,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:07:53] local.INFO: Acknowledgment sent {"connection_id":136726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:07:56] local.INFO: TCP Data received {"connection_id":136727,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:07:56] local.INFO: Processing buffer {"connection_id":136727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:07:56] local.INFO: IMEI packet received {"connection_id":136727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":136727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:07:56] local.INFO: TCP Data received {"connection_id":136727,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5f3258012d1823400721b6e8004c011e2b..."} 
[2026-07-19 18:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5f3258012d1823400721b6e8004c011e2b..."} 
[2026-07-19 18:07:56] local.INFO: Processing buffer {"connection_id":136727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5f3258012d1823400721b6e8004c011e2b..."} 
[2026-07-19 18:07:56] local.INFO: Packet analysis {"connection_id":136727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5f"} 
[2026-07-19 18:07:56] local.INFO: Extracted packet for processing {"connection_id":136727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5f"} 
[2026-07-19 18:07:56] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650024,"longitude_deg":75.6556608,"latitude_deg":11.9650024,"altitude":76,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b6e8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822903296001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219414822813696,"note":"Value kept but may cause issues"} 
[2026-07-19 18:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469727232,"note":"Value kept but may cause issues"} 
[2026-07-19 18:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784464487000,"timestamp_ms":1784464487000,"timestamp_seconds":1784464487,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5f3258"} 
[2026-07-19 18:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:07: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-07-19 18: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-19 18:07: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-07-19 18: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-07-19 18:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822903296001,"66":12798,"105":206,"83":41984,"24":0,"16":7219414822813696,"45":1739304280469727232},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822903296001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:07:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:07:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219414822813696,"km_value":7219414822813.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469727232,"description":"Unknown IO ID 45"} 
[2026-07-19 18:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822903296001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469727232}} 
[2026-07-19 18:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":136727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:07:57] local.INFO: GPS data processed {"connection_id":136727,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:07:57] local.INFO: Acknowledgment sent {"connection_id":136727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:08:08] local.INFO: TCP Data received {"connection_id":139183,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:08:08] local.INFO: Processing buffer {"connection_id":139183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:08:08] local.INFO: Packet analysis {"connection_id":139183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:08:08] local.INFO: Extracted packet for processing {"connection_id":139183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822814976001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:08: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-07-19 18:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784464422000,"timestamp_ms":1784464422000,"timestamp_seconds":1784464422,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5e3470"} 
[2026-07-19 18:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:08: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-07-19 18:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:08: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-07-19 18:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:08: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-07-19 18:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822814976001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822814976001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:08:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:08:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822814976001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":139183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:08:09] local.INFO: GPS data processed {"connection_id":139183,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:08:09] local.INFO: Acknowledgment sent {"connection_id":139183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:08:24] local.INFO: TCP Data received {"connection_id":136726,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a618418012d7d0c4005bfaf18000700bf21..."} 
[2026-07-19 18:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a618418012d7d0c4005bfaf18000700bf21..."} 
[2026-07-19 18:08:24] local.INFO: Processing buffer {"connection_id":136726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a618418012d7d0c4005bfaf18000700bf21..."} 
[2026-07-19 18:08:24] local.INFO: Packet analysis {"connection_id":136726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a61"} 
[2026-07-19 18:08:24] local.INFO: Extracted packet for processing {"connection_id":136726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a61"} 
[2026-07-19 18:08:24] local.INFO: GPS Element Parsed {"raw_longitude":763169856,"raw_latitude":96448280,"longitude_deg":76.3169856,"latitude_deg":9.644828,"altitude":7,"angle":191,"satellites":33,"speed":36,"hex_longitude":"2d7d0c40","hex_latitude":"05bfaf18","is_valid_coordinates":true} 
[2026-07-19 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-07-19 18:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822946560001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108278242951036928,"note":"Value kept but may cause issues"} 
[2026-07-19 18:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011913985292574720,"note":"Value kept but may cause issues"} 
[2026-07-19 18:08:24] 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-07-19 18:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784464639000,"timestamp_ms":1784464639000,"timestamp_seconds":1784464639,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a618418"} 
[2026-07-19 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-07-19 18:08: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-07-19 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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-19 18:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 18:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":136726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":136726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":136726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822946560001,"66":12798,"10":206,"85":12288,"24":36,"16":108278242951036928,"45":9011913985292574720},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-07-19 18:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822946560001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:08:24] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-19 18:08:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 18:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108278242951036928,"km_value":108278242951036.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011913985292574720,"description":"Unknown IO ID 45"} 
[2026-07-19 18:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822946560001,"power":12798,"unknown_10":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":9011913985292574720}} 
[2026-07-19 18:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":136726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:08:24] local.INFO: GPS data processed {"connection_id":136726,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:08:24] local.INFO: Acknowledgment sent {"connection_id":136726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:08:27] local.INFO: TCP Data received {"connection_id":136727,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5f8460012d1821000721b450004f011e2b..."} 
[2026-07-19 18:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5f8460012d1821000721b450004f011e2b..."} 
[2026-07-19 18:08:27] local.INFO: Processing buffer {"connection_id":136727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5f8460012d1821000721b450004f011e2b..."} 
[2026-07-19 18:08:27] local.INFO: Packet analysis {"connection_id":136727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5f"} 
[2026-07-19 18:08:27] local.INFO: Extracted packet for processing {"connection_id":136727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5f"} 
[2026-07-19 18:08:27] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649360,"longitude_deg":75.6556032,"latitude_deg":11.964936,"altitude":79,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822908672001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219462067453952,"note":"Value kept but may cause issues"} 
[2026-07-19 18:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469727232,"note":"Value kept but may cause issues"} 
[2026-07-19 18:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784464508000,"timestamp_ms":1784464508000,"timestamp_seconds":1784464508,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5f8460"} 
[2026-07-19 18:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:08: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-07-19 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-19 18:08:27] 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-07-19 18: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-07-19 18:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822908672001,"66":12776,"105":206,"83":41984,"24":0,"16":7219462067453952,"45":1739304280469727232},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822908672001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:08:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:08:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219462067453952,"km_value":7219462067453.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469727232,"description":"Unknown IO ID 45"} 
[2026-07-19 18:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822908672001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469727232}} 
[2026-07-19 18:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":136727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:08:28] local.INFO: GPS data processed {"connection_id":136727,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:08:28] local.INFO: Acknowledgment sent {"connection_id":136727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:08:30] local.INFO: TCP Data received {"connection_id":137800,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:08:30] local.INFO: Processing buffer {"connection_id":137800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:08:30] local.INFO: IMEI packet received {"connection_id":137800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":137800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:08:36] local.INFO: TCP Data received {"connection_id":137800,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:08:36] local.INFO: Processing buffer {"connection_id":137800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:08:36] local.INFO: IMEI packet received {"connection_id":137800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":137800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:08:37] local.INFO: TCP Data received {"connection_id":137800,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:08:37] local.INFO: Processing buffer {"connection_id":137800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:08:37] local.INFO: Packet analysis {"connection_id":137800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:08:37] local.INFO: Extracted packet for processing {"connection_id":137800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:08:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822814976001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:08: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-07-19 18:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784464422000,"timestamp_ms":1784464422000,"timestamp_seconds":1784464422,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5e3470"} 
[2026-07-19 18:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822814976001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822814976001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:08:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:08:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822814976001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":137800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:08:37] local.INFO: GPS data processed {"connection_id":137800,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:08:37] local.INFO: Acknowledgment sent {"connection_id":137800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:08:47] local.INFO: TCP Data received {"connection_id":136729,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:08:47] local.INFO: Processing buffer {"connection_id":136729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:08:47] local.INFO: IMEI packet received {"connection_id":136729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":136729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:08:51] local.INFO: TCP Data received {"connection_id":136826,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:08:51] local.INFO: Processing buffer {"connection_id":136826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:08:51] local.INFO: IMEI packet received {"connection_id":136826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":136826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:08:54] local.INFO: TCP Data received {"connection_id":136729,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:08:54] local.INFO: Processing buffer {"connection_id":136729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:08:54] local.INFO: IMEI packet received {"connection_id":136729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":136729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:08:55] local.INFO: TCP Data received {"connection_id":136826,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:08:55] local.INFO: Processing buffer {"connection_id":136826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:08:55] local.INFO: IMEI packet received {"connection_id":136826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":136826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:08:55] local.INFO: TCP Data received {"connection_id":136729,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a61b2f8012d7d068005bf8a40000600bb20..."} 
[2026-07-19 18:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a61b2f8012d7d068005bf8a40000600bb20..."} 
[2026-07-19 18:08:55] local.INFO: Processing buffer {"connection_id":136729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a61b2f8012d7d068005bf8a40000600bb20..."} 
[2026-07-19 18:08:55] local.INFO: Packet analysis {"connection_id":136729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a61"} 
[2026-07-19 18:08:55] local.INFO: Extracted packet for processing {"connection_id":136729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a61"} 
[2026-07-19 18:08:55] local.INFO: GPS Element Parsed {"raw_longitude":763168384,"raw_latitude":96438848,"longitude_deg":76.3168384,"latitude_deg":9.6438848,"altitude":6,"angle":187,"satellites":32,"speed":26,"hex_longitude":"2d7d0680","hex_latitude":"05bf8a40","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822947584001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108278706807504896,"note":"Value kept but may cause issues"} 
[2026-07-19 18:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010647347896457216,"note":"Value kept but may cause issues"} 
[2026-07-19 18:08:55] 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-07-19 18:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784464651000,"timestamp_ms":1784464651000,"timestamp_seconds":1784464651,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a61b2f8"} 
[2026-07-19 18:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:08: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-07-19 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-19 18:08:55] 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-07-19 18: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-07-19 18:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":136729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":136729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":136729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822947584001,"66":12526,"10":206,"85":12288,"24":26,"16":108278706807504896,"45":9010647347896457216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-07-19 18:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822947584001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:08:55] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-19 18:08:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 18:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108278706807504896,"km_value":108278706807504.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010647347896457216,"description":"Unknown IO ID 45"} 
[2026-07-19 18:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822947584001,"power":12526,"unknown_10":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9010647347896457216}} 
[2026-07-19 18:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":136729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:08:55] local.INFO: GPS data processed {"connection_id":136729,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:08:55] local.INFO: Acknowledgment sent {"connection_id":136729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:08:55] local.INFO: TCP Data received {"connection_id":136826,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5fd668012d1821000721b450004f011e2b..."} 
[2026-07-19 18:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5fd668012d1821000721b450004f011e2b..."} 
[2026-07-19 18:08:55] local.INFO: Processing buffer {"connection_id":136826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5fd668012d1821000721b450004f011e2b..."} 
[2026-07-19 18:08:55] local.INFO: Packet analysis {"connection_id":136826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5f"} 
[2026-07-19 18:08:55] local.INFO: Extracted packet for processing {"connection_id":136826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5f"} 
[2026-07-19 18:08:55] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649360,"longitude_deg":75.6556032,"latitude_deg":11.964936,"altitude":79,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822914048001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219462067453952,"note":"Value kept but may cause issues"} 
[2026-07-19 18:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771958272,"note":"Value kept but may cause issues"} 
[2026-07-19 18:08: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-07-19 18:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784464529000,"timestamp_ms":1784464529000,"timestamp_seconds":1784464529,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5fd668"} 
[2026-07-19 18:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:08: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-07-19 18: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-19 18:08: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-07-19 18: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-07-19 18:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":136826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":136826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":136826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822914048001,"66":12798,"105":206,"83":41984,"24":0,"16":7219462067453952,"45":1738670961771958272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822914048001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:08:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:08:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219462067453952,"km_value":7219462067453.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771958272,"description":"Unknown IO ID 45"} 
[2026-07-19 18:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822914048001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771958272}} 
[2026-07-19 18:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":136826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:08:56] local.INFO: GPS data processed {"connection_id":136826,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:08:56] local.INFO: Acknowledgment sent {"connection_id":136826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:08:56] local.INFO: TCP Data received {"connection_id":136728,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:08:56] local.INFO: Processing buffer {"connection_id":136728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:08:56] local.INFO: IMEI packet received {"connection_id":136728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 18:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":136728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:09:10] local.INFO: TCP Data received {"connection_id":137800,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:09:10] local.INFO: Processing buffer {"connection_id":137800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a5e3470012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:09:10] local.INFO: Packet analysis {"connection_id":137800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:09:10] local.INFO: Extracted packet for processing {"connection_id":137800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a5e"} 
[2026-07-19 18:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822814976001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:09: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-07-19 18:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784464422000,"timestamp_ms":1784464422000,"timestamp_seconds":1784464422,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a5e3470"} 
[2026-07-19 18:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:09: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-07-19 18:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822814976001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822814976001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:09:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:09:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822814976001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":137800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:09:10] local.INFO: GPS data processed {"connection_id":137800,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:09:10] local.INFO: Acknowledgment sent {"connection_id":137800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:09:26] local.INFO: TCP Data received {"connection_id":139184,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:09:26] local.INFO: Processing buffer {"connection_id":139184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:09:26] local.INFO: IMEI packet received {"connection_id":139184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 18:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":139184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:09:26] local.INFO: TCP Data received {"connection_id":136729,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a632610012d7cc08005be7378000700c522..."} 
[2026-07-19 18:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a632610012d7cc08005be7378000700c522..."} 
[2026-07-19 18:09:26] local.INFO: Processing buffer {"connection_id":136729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a632610012d7cc08005be7378000700c522..."} 
[2026-07-19 18:09:26] local.INFO: Packet analysis {"connection_id":136729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a63"} 
[2026-07-19 18:09:26] local.INFO: Extracted packet for processing {"connection_id":136729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a63"} 
[2026-07-19 18:09:26] local.INFO: GPS Element Parsed {"raw_longitude":763150464,"raw_latitude":96367480,"longitude_deg":76.3150464,"latitude_deg":9.636748,"altitude":7,"angle":197,"satellites":34,"speed":48,"hex_longitude":"2d7cc080","hex_latitude":"05be7378","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822972928001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108282344644804608,"note":"Value kept but may cause issues"} 
[2026-07-19 18:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992984793089490944,"note":"Value kept but may cause issues"} 
[2026-07-19 18:09:26] 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-07-19 18:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784464746000,"timestamp_ms":1784464746000,"timestamp_seconds":1784464746,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a632610"} 
[2026-07-19 18:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:09: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-07-19 18: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-19 18:09:26] 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-07-19 18: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-07-19 18:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":136729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":136729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":136729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822972928001,"66":13080,"24":48,"85":12288,"16":108282344644804608,"45":8992984793089490944},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-19 18:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822972928001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:09:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 18:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108282344644804608,"km_value":108282344644804.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992984793089490944,"description":"Unknown IO ID 45"} 
[2026-07-19 18:09:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456822972928001,"power":13080,"ignition":48,"unknown_85":12288,"odometer":null,"unknown_45":8992984793089490944}} 
[2026-07-19 18:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":136729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:09:26] local.INFO: GPS data processed {"connection_id":136729,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:09:26] local.INFO: Acknowledgment sent {"connection_id":136729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:09:27] local.INFO: TCP Data received {"connection_id":136826,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a602870012d1821000721b450004f011e2b..."} 
[2026-07-19 18:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a602870012d1821000721b450004f011e2b..."} 
[2026-07-19 18:09:27] local.INFO: Processing buffer {"connection_id":136826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a602870012d1821000721b450004f011e2b..."} 
[2026-07-19 18:09:27] local.INFO: Packet analysis {"connection_id":136826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a60"} 
[2026-07-19 18:09:27] local.INFO: Extracted packet for processing {"connection_id":136826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a60"} 
[2026-07-19 18:09:27] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649360,"longitude_deg":75.6556032,"latitude_deg":11.964936,"altitude":79,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822919424001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219462067453952,"note":"Value kept but may cause issues"} 
[2026-07-19 18:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771958272,"note":"Value kept but may cause issues"} 
[2026-07-19 18:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784464550000,"timestamp_ms":1784464550000,"timestamp_seconds":1784464550,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a602870"} 
[2026-07-19 18:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:09: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-07-19 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-19 18:09:27] 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-07-19 18: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-07-19 18:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822919424001,"66":12776,"105":206,"83":41984,"24":0,"16":7219462067453952,"45":1738670961771958272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822919424001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:09:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:09:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219462067453952,"km_value":7219462067453.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771958272,"description":"Unknown IO ID 45"} 
[2026-07-19 18:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822919424001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771958272}} 
[2026-07-19 18:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":136826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:09:27] local.INFO: GPS data processed {"connection_id":136826,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:09:27] local.INFO: Acknowledgment sent {"connection_id":136826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:09:30] local.INFO: TCP Data received {"connection_id":137801,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:09:30] local.INFO: Processing buffer {"connection_id":137801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:09:30] local.INFO: IMEI packet received {"connection_id":137801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":137801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:09:36] local.INFO: TCP Data received {"connection_id":137801,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:09:36] local.INFO: Processing buffer {"connection_id":137801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:09:36] local.INFO: IMEI packet received {"connection_id":137801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":137801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:09:39] local.INFO: TCP Data received {"connection_id":137801,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:09:39] local.INFO: Processing buffer {"connection_id":137801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:09:39] local.INFO: Packet analysis {"connection_id":137801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:09:39] local.INFO: Extracted packet for processing {"connection_id":137801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:09:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822892032001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:09: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-07-19 18:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784464723000,"timestamp_ms":1784464723000,"timestamp_seconds":1784464723,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a62cc38"} 
[2026-07-19 18:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 18:09:39] 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-07-19 18:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":137801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":137801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":137801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:09:39] 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-07-19 18:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822892032001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822892032001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:09:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:09:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822892032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":137801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:09:39] local.INFO: GPS data processed {"connection_id":137801,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:09:39] local.INFO: Acknowledgment sent {"connection_id":137801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:09:47] local.INFO: TCP Data received {"connection_id":139185,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:09:47] local.INFO: Processing buffer {"connection_id":139185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:09:47] local.INFO: IMEI packet received {"connection_id":139185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":139185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:09:50] local.INFO: TCP Data received {"connection_id":136827,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:09:50] local.INFO: Processing buffer {"connection_id":136827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:09:50] local.INFO: IMEI packet received {"connection_id":136827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":136827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:09:52] local.INFO: TCP Data received {"connection_id":139185,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:09:52] local.INFO: Processing buffer {"connection_id":139185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:09:52] local.INFO: IMEI packet received {"connection_id":139185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":139185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:09:53] local.INFO: TCP Data received {"connection_id":139185,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a634168012d7cb74005be5040000600c322..."} 
[2026-07-19 18:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a634168012d7cb74005be5040000600c322..."} 
[2026-07-19 18:09:53] local.INFO: Processing buffer {"connection_id":139185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a634168012d7cb74005be5040000600c322..."} 
[2026-07-19 18:09:53] local.INFO: Packet analysis {"connection_id":139185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a63"} 
[2026-07-19 18:09:53] local.INFO: Extracted packet for processing {"connection_id":139185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a63"} 
[2026-07-19 18:09:53] local.INFO: GPS Element Parsed {"raw_longitude":763148096,"raw_latitude":96358464,"longitude_deg":76.3148096,"latitude_deg":9.6358464,"altitude":6,"angle":195,"satellites":34,"speed":53,"hex_longitude":"2d7cb740","hex_latitude":"05be5040","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822974976001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108282795616370688,"note":"Value kept but may cause issues"} 
[2026-07-19 18:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8989325618389940224,"note":"Value kept but may cause issues"} 
[2026-07-19 18:09:53] 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-07-19 18:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784464753000,"timestamp_ms":1784464753000,"timestamp_seconds":1784464753,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a634168"} 
[2026-07-19 18:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:09: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-07-19 18: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-19 18:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":139185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":139185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":139185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822974976001,"66":13102,"24":53,"85":12288,"16":108282795616370688,"45":8989325618389940224},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-19 18:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822974976001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:09:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 18:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108282795616370688,"km_value":108282795616370.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8989325618389940224,"description":"Unknown IO ID 45"} 
[2026-07-19 18:09:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456822974976001,"power":13102,"ignition":53,"unknown_85":12288,"odometer":null,"unknown_45":8989325618389940224}} 
[2026-07-19 18:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":139185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:09:53] local.INFO: GPS data processed {"connection_id":139185,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:09:53] local.INFO: Acknowledgment sent {"connection_id":139185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:09:56] local.INFO: TCP Data received {"connection_id":136827,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:09:56] local.INFO: Processing buffer {"connection_id":136827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:09:56] local.INFO: IMEI packet received {"connection_id":136827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":136827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:09:56] local.INFO: TCP Data received {"connection_id":136827,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a607a78012d1821000721b450004f011e2c..."} 
[2026-07-19 18:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a607a78012d1821000721b450004f011e2c..."} 
[2026-07-19 18:09:56] local.INFO: Processing buffer {"connection_id":136827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a607a78012d1821000721b450004f011e2c..."} 
[2026-07-19 18:09:56] local.INFO: Packet analysis {"connection_id":136827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a60"} 
[2026-07-19 18:09:56] local.INFO: Extracted packet for processing {"connection_id":136827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a60"} 
[2026-07-19 18:09:56] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649360,"longitude_deg":75.6556032,"latitude_deg":11.964936,"altitude":79,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822924800001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219462067453952,"note":"Value kept but may cause issues"} 
[2026-07-19 18:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771958272,"note":"Value kept but may cause issues"} 
[2026-07-19 18:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784464571000,"timestamp_ms":1784464571000,"timestamp_seconds":1784464571,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a607a78"} 
[2026-07-19 18:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:09: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-07-19 18: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-19 18:09:56] 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-07-19 18: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-07-19 18:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822924800001,"66":12711,"105":206,"83":41984,"24":0,"16":7219462067453952,"45":1738670961771958272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822924800001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:09:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:09:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219462067453952,"km_value":7219462067453.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771958272,"description":"Unknown IO ID 45"} 
[2026-07-19 18:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822924800001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771958272}} 
[2026-07-19 18:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":136827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:09:56] local.INFO: GPS data processed {"connection_id":136827,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:09:56] local.INFO: Acknowledgment sent {"connection_id":136827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:10:10] local.INFO: TCP Data received {"connection_id":137801,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:10:10] local.INFO: Processing buffer {"connection_id":137801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:10:10] local.INFO: Packet analysis {"connection_id":137801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:10:10] local.INFO: Extracted packet for processing {"connection_id":137801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822892032001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:10: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-07-19 18:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784464723000,"timestamp_ms":1784464723000,"timestamp_seconds":1784464723,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a62cc38"} 
[2026-07-19 18:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 18:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:10:10] 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-07-19 18:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822892032001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822892032001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:10:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822892032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":137801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:10:10] local.INFO: GPS data processed {"connection_id":137801,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:10:10] local.INFO: Acknowledgment sent {"connection_id":137801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:10:24] local.INFO: TCP Data received {"connection_id":139185,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6360a8012d7caec005be2be0000500bf21..."} 
[2026-07-19 18:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6360a8012d7caec005be2be0000500bf21..."} 
[2026-07-19 18:10:24] local.INFO: Processing buffer {"connection_id":139185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6360a8012d7caec005be2be0000500bf21..."} 
[2026-07-19 18:10:24] local.INFO: Packet analysis {"connection_id":139185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a63"} 
[2026-07-19 18:10:24] local.INFO: Extracted packet for processing {"connection_id":139185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a63"} 
[2026-07-19 18:10:24] local.INFO: GPS Element Parsed {"raw_longitude":763145920,"raw_latitude":96349152,"longitude_deg":76.314592,"latitude_deg":9.6349152,"altitude":5,"angle":191,"satellites":33,"speed":36,"hex_longitude":"2d7caec0","hex_latitude":"05be2be0","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822976768001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108283259472838656,"note":"Value kept but may cause issues"} 
[2026-07-19 18:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8986721974853058560,"note":"Value kept but may cause issues"} 
[2026-07-19 18:10:24] 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-07-19 18:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784464761000,"timestamp_ms":1784464761000,"timestamp_seconds":1784464761,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6360a8"} 
[2026-07-19 18:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:10: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-07-19 18: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-19 18:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":139185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":139185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":139185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822976768001,"66":13037,"24":36,"85":12288,"16":108283259472838656,"45":8986721974853058560},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-19 18:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822976768001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:10:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-19 18:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108283259472838656,"km_value":108283259472838.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8986721974853058560,"description":"Unknown IO ID 45"} 
[2026-07-19 18:10:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456822976768001,"power":13037,"ignition":36,"unknown_85":12288,"odometer":null,"unknown_45":8986721974853058560}} 
[2026-07-19 18:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":139185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:10:25] local.INFO: GPS data processed {"connection_id":139185,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:10:25] local.INFO: Acknowledgment sent {"connection_id":139185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:10:28] local.INFO: TCP Data received {"connection_id":136827,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a60cc80012d1821000721b450004f011e2b..."} 
[2026-07-19 18:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a60cc80012d1821000721b450004f011e2b..."} 
[2026-07-19 18:10:28] local.INFO: Processing buffer {"connection_id":136827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a60cc80012d1821000721b450004f011e2b..."} 
[2026-07-19 18:10:28] local.INFO: Packet analysis {"connection_id":136827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a60"} 
[2026-07-19 18:10:28] local.INFO: Extracted packet for processing {"connection_id":136827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a60"} 
[2026-07-19 18:10:28] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649360,"longitude_deg":75.6556032,"latitude_deg":11.964936,"altitude":79,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-07-19 18:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822930176001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219462067453952,"note":"Value kept but may cause issues"} 
[2026-07-19 18:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771958272,"note":"Value kept but may cause issues"} 
[2026-07-19 18:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784464592000,"timestamp_ms":1784464592000,"timestamp_seconds":1784464592,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a60cc80"} 
[2026-07-19 18:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-19 18:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822930176001,"66":12743,"105":206,"83":41984,"24":0,"16":7219462067453952,"45":1738670961771958272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822930176001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:10:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:10:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219462067453952,"km_value":7219462067453.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771958272,"description":"Unknown IO ID 45"} 
[2026-07-19 18:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822930176001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771958272}} 
[2026-07-19 18:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":136827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:10:28] local.INFO: GPS data processed {"connection_id":136827,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:10:28] local.INFO: Acknowledgment sent {"connection_id":136827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:10:31] local.INFO: TCP Data received {"connection_id":136730,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:10:31] local.INFO: Processing buffer {"connection_id":136730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:10:31] local.INFO: IMEI packet received {"connection_id":136730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":136730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:10:36] local.INFO: TCP Data received {"connection_id":136730,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:10:36] local.INFO: Processing buffer {"connection_id":136730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:10:36] local.INFO: IMEI packet received {"connection_id":136730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":136730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:10:37] local.INFO: TCP Data received {"connection_id":136730,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:10:37] local.INFO: Processing buffer {"connection_id":136730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:10:37] local.INFO: Packet analysis {"connection_id":136730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:10:37] local.INFO: Extracted packet for processing {"connection_id":136730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822892032001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:10: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-07-19 18:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784464723000,"timestamp_ms":1784464723000,"timestamp_seconds":1784464723,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a62cc38"} 
[2026-07-19 18:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 18:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822892032001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822892032001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:10:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822892032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":136730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:10:37] local.INFO: GPS data processed {"connection_id":136730,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:10:37] local.INFO: Acknowledgment sent {"connection_id":136730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:10:50] local.INFO: TCP Data received {"connection_id":137802,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:10:50] local.INFO: Processing buffer {"connection_id":137802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:10:50] local.INFO: IMEI packet received {"connection_id":137802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":137802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:10:52] local.INFO: TCP Data received {"connection_id":136828,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:10:52] local.INFO: Processing buffer {"connection_id":136828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:10:52] local.INFO: IMEI packet received {"connection_id":136828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":136828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:10:56] local.INFO: TCP Data received {"connection_id":137802,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:10:56] local.INFO: Processing buffer {"connection_id":137802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:10:56] local.INFO: IMEI packet received {"connection_id":137802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":137802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:10:56] local.INFO: TCP Data received {"connection_id":137802,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a611e88012d1821000721b450004f011e2b..."} 
[2026-07-19 18:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a611e88012d1821000721b450004f011e2b..."} 
[2026-07-19 18:10:56] local.INFO: Processing buffer {"connection_id":137802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a611e88012d1821000721b450004f011e2b..."} 
[2026-07-19 18:10:56] local.INFO: Packet analysis {"connection_id":137802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a61"} 
[2026-07-19 18:10:56] local.INFO: Extracted packet for processing {"connection_id":137802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a61"} 
[2026-07-19 18:10:56] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649360,"longitude_deg":75.6556032,"latitude_deg":11.964936,"altitude":79,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822935552001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219462067453952,"note":"Value kept but may cause issues"} 
[2026-07-19 18:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771958272,"note":"Value kept but may cause issues"} 
[2026-07-19 18:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784464613000,"timestamp_ms":1784464613000,"timestamp_seconds":1784464613,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a611e88"} 
[2026-07-19 18:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:10: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-07-19 18: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-19 18:10:56] 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-07-19 18: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-07-19 18:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822935552001,"66":12711,"105":206,"83":41984,"24":0,"16":7219462067453952,"45":1738670961771958272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822935552001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:10:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:10:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219462067453952,"km_value":7219462067453.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771958272,"description":"Unknown IO ID 45"} 
[2026-07-19 18:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822935552001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771958272}} 
[2026-07-19 18:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":137802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:10:57] local.INFO: GPS data processed {"connection_id":137802,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:10:57] local.INFO: Acknowledgment sent {"connection_id":137802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:10:57] local.INFO: TCP Data received {"connection_id":136828,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:10:57] local.INFO: Processing buffer {"connection_id":136828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:10:57] local.INFO: IMEI packet received {"connection_id":136828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":136828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:10:58] local.INFO: TCP Data received {"connection_id":136828,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a649158012d7c7f4005bd4720000900db22..."} 
[2026-07-19 18:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a649158012d7c7f4005bd4720000900db22..."} 
[2026-07-19 18:10:58] local.INFO: Processing buffer {"connection_id":136828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a649158012d7c7f4005bd4720000900db22..."} 
[2026-07-19 18:10:58] local.INFO: Packet analysis {"connection_id":136828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a64"} 
[2026-07-19 18:10:58] local.INFO: Extracted packet for processing {"connection_id":136828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a64"} 
[2026-07-19 18:10:58] local.INFO: GPS Element Parsed {"raw_longitude":763133760,"raw_latitude":96290592,"longitude_deg":76.313376,"latitude_deg":9.6290592,"altitude":9,"angle":219,"satellites":34,"speed":7,"hex_longitude":"2d7c7f40","hex_latitude":"05bd4720","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822998528001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108286283129815040,"note":"Value kept but may cause issues"} 
[2026-07-19 18:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971029744884099072,"note":"Value kept but may cause issues"} 
[2026-07-19 18:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784464839000,"timestamp_ms":1784464839000,"timestamp_seconds":1784464839,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a649158"} 
[2026-07-19 18:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-19 18:10:58] 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-07-19 18: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-07-19 18:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822998528001,"66":12722,"195":206,"85":12544,"24":7,"16":108286283129815040,"45":8971029744884099072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-19 18:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822998528001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:10:58] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-19 18:10:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108286283129815040,"km_value":108286283129815.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971029744884099072,"description":"Unknown IO ID 45"} 
[2026-07-19 18:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822998528001,"power":12722,"unknown_195":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":8971029744884099072}} 
[2026-07-19 18:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":136828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:10:58] local.INFO: GPS data processed {"connection_id":136828,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:10:58] local.INFO: Acknowledgment sent {"connection_id":136828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:11:00] local.INFO: TCP Data received {"connection_id":136828,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a649540012d7c7e8005bd46a8000900e922..."} 
[2026-07-19 18:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a649540012d7c7e8005bd46a8000900e922..."} 
[2026-07-19 18:11:00] local.INFO: Processing buffer {"connection_id":136828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a649540012d7c7e8005bd46a8000900e922..."} 
[2026-07-19 18:11:00] local.INFO: Packet analysis {"connection_id":136828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a64"} 
[2026-07-19 18:11:00] local.INFO: Extracted packet for processing {"connection_id":136828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a64"} 
[2026-07-19 18:11:00] local.INFO: GPS Element Parsed {"raw_longitude":763133568,"raw_latitude":96290472,"longitude_deg":76.3133568,"latitude_deg":9.6290472,"altitude":9,"angle":233,"satellites":34,"speed":8,"hex_longitude":"2d7c7e80","hex_latitude":"05bd46a8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822998784001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108286296014716928,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970959376139886592,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784464840000,"timestamp_ms":1784464840000,"timestamp_seconds":1784464840,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a649540"} 
[2026-07-19 18:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:11: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-07-19 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-19 18:11: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-07-19 18: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-07-19 18:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":136828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":136828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":136828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822998784001,"66":12298,"195":206,"85":12544,"24":8,"16":108286296014716928,"45":8970959376139886592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-19 18:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822998784001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:11:00] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-19 18:11:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108286296014716928,"km_value":108286296014716.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970959376139886592,"description":"Unknown IO ID 45"} 
[2026-07-19 18:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822998784001,"power":12298,"unknown_195":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":8970959376139886592}} 
[2026-07-19 18:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":136828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:11:00] local.INFO: GPS data processed {"connection_id":136828,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:11:00] local.INFO: Acknowledgment sent {"connection_id":136828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:11:08] local.INFO: TCP Data received {"connection_id":136730,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:11:08] local.INFO: Processing buffer {"connection_id":136730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:11:08] local.INFO: Packet analysis {"connection_id":136730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:11:08] local.INFO: Extracted packet for processing {"connection_id":136730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822892032001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11: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-07-19 18:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784464723000,"timestamp_ms":1784464723000,"timestamp_seconds":1784464723,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a62cc38"} 
[2026-07-19 18:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 18:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:11: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-07-19 18:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822892032001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822892032001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:11:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:11:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822892032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":136730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:11:08] local.INFO: GPS data processed {"connection_id":136730,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:11:08] local.INFO: Acknowledgment sent {"connection_id":136730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:11:28] local.INFO: TCP Data received {"connection_id":137802,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a617090012d1821000721b450004f011e2a..."} 
[2026-07-19 18:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a617090012d1821000721b450004f011e2a..."} 
[2026-07-19 18:11:28] local.INFO: Processing buffer {"connection_id":137802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a617090012d1821000721b450004f011e2a..."} 
[2026-07-19 18:11:28] local.INFO: Packet analysis {"connection_id":137802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a61"} 
[2026-07-19 18:11:28] local.INFO: Extracted packet for processing {"connection_id":137802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a61"} 
[2026-07-19 18:11:28] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649360,"longitude_deg":75.6556032,"latitude_deg":11.964936,"altitude":79,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-07-19 18:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822940928001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219462067453952,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771958272,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784464634000,"timestamp_ms":1784464634000,"timestamp_seconds":1784464634,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a617090"} 
[2026-07-19 18:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-19 18:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822940928001,"66":12461,"105":206,"83":41984,"24":0,"16":7219462067453952,"45":1738670961771958272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822940928001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:11:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:11:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219462067453952,"km_value":7219462067453.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771958272,"description":"Unknown IO ID 45"} 
[2026-07-19 18:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822940928001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771958272}} 
[2026-07-19 18:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":137802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:11:28] local.INFO: GPS data processed {"connection_id":137802,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:11:28] local.INFO: Acknowledgment sent {"connection_id":137802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:11:31] local.INFO: TCP Data received {"connection_id":137804,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:11:31] local.INFO: Processing buffer {"connection_id":137804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:11:31] local.INFO: IMEI packet received {"connection_id":137804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":137804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:11:31] local.INFO: TCP Data received {"connection_id":136828,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a649928012d7c7dc005bd4658000900f622..."} 
[2026-07-19 18:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a649928012d7c7dc005bd4658000900f622..."} 
[2026-07-19 18:11:31] local.INFO: Processing buffer {"connection_id":136828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a649928012d7c7dc005bd4658000900f622..."} 
[2026-07-19 18:11:31] local.INFO: Packet analysis {"connection_id":136828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a64"} 
[2026-07-19 18:11:31] local.INFO: Extracted packet for processing {"connection_id":136828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a64"} 
[2026-07-19 18:11:31] local.INFO: GPS Element Parsed {"raw_longitude":763133376,"raw_latitude":96290392,"longitude_deg":76.3133376,"latitude_deg":9.6290392,"altitude":9,"angle":246,"satellites":34,"speed":7,"hex_longitude":"2d7c7dc0","hex_latitude":"05bd4658","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822999040001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108286304604651520,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970748269907322880,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784464841000,"timestamp_ms":1784464841000,"timestamp_seconds":1784464841,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a649928"} 
[2026-07-19 18:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:11: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-07-19 18: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":10,"data_length":795,"current_offset":136} 
[2026-07-19 18:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:31] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3458790902938468864,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:31] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185984,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:31] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3036676096,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:31] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8819157683802045573,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:31] local.WARNING: Large IO value detected {"io_id":64,"raw_value":413728324108812465,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:31] local.WARNING: Large IO value detected {"io_id":34,"raw_value":11821949022502916,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:31] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:31] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3654109029771772110,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:31] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3035430912,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797797582,"corrected_to":0} 
[2026-07-19 18:11:31] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2952867196,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:31] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070434,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3182809088,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:31] local.WARNING: Large IO value detected {"io_id":8,"raw_value":49858455111991296,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:31] local.WARNING: Large IO value detected {"io_id":180,"raw_value":-8646911284551352319,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:31] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,195,85,24,241,157,16,181,159,145,45,64,71,9,34,10,66,141,128,121,1,240,86,227,122,189,4,113,205,44,47,136,112,33,239,51,2,5,8,180],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2797797582,"validated":0}]} 
[2026-07-19 18:11:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648774678580035584,"timestamp_seconds":648774678580035.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 18:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":136828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":136828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":136828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822999040001,"66":12298,"195":206,"85":12544,"24":7,"16":108286304604651520,"45":8970748269907322880},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-19 18:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822999040001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:11:31] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-19 18:11:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108286304604651520,"km_value":108286304604651.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970748269907322880,"description":"Unknown IO ID 45"} 
[2026-07-19 18:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822999040001,"power":12298,"unknown_195":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":8970748269907322880}} 
[2026-07-19 18:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":136828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:11:31] local.INFO: GPS data processed {"connection_id":136828,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:11:31] local.INFO: Acknowledgment sent {"connection_id":136828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:11:36] local.INFO: TCP Data received {"connection_id":137804,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:11:36] local.INFO: Processing buffer {"connection_id":137804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:11:36] local.INFO: IMEI packet received {"connection_id":137804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":137804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:11:37] local.INFO: TCP Data received {"connection_id":137804,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:11:37] local.INFO: Processing buffer {"connection_id":137804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:11:37] local.INFO: Packet analysis {"connection_id":137804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:11:37] local.INFO: Extracted packet for processing {"connection_id":137804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822892032001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11: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-07-19 18:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784464723000,"timestamp_ms":1784464723000,"timestamp_seconds":1784464723,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a62cc38"} 
[2026-07-19 18:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 18:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:11: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-07-19 18:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822892032001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822892032001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822892032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":137804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:11:37] local.INFO: GPS data processed {"connection_id":137804,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:11:37] local.INFO: Acknowledgment sent {"connection_id":137804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:11:47] local.INFO: TCP Data received {"connection_id":137805,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:11:47] local.INFO: Processing buffer {"connection_id":137805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:11:47] local.INFO: IMEI packet received {"connection_id":137805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":137805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:11:51] local.INFO: TCP Data received {"connection_id":137805,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:11:51] local.INFO: Processing buffer {"connection_id":137805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:11:51] local.INFO: IMEI packet received {"connection_id":137805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":137805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:11:52] local.INFO: TCP Data received {"connection_id":137805,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a64a0f8012d7c7c4005bd4610000a010b22..."} 
[2026-07-19 18:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a64a0f8012d7c7c4005bd4610000a010b22..."} 
[2026-07-19 18:11:52] local.INFO: Processing buffer {"connection_id":137805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a64a0f8012d7c7c4005bd4610000a010b22..."} 
[2026-07-19 18:11:52] local.INFO: Packet analysis {"connection_id":137805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a64"} 
[2026-07-19 18:11:52] local.INFO: Extracted packet for processing {"connection_id":137805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a64"} 
[2026-07-19 18:11:52] local.INFO: GPS Element Parsed {"raw_longitude":763132992,"raw_latitude":96290320,"longitude_deg":76.3132992,"latitude_deg":9.629032,"altitude":10,"angle":267,"satellites":34,"speed":8,"hex_longitude":"2d7c7c40","hex_latitude":"05bd4610","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822999296001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108286321784520704,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970537163674769408,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784464843000,"timestamp_ms":1784464843000,"timestamp_seconds":1784464843,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a64a0f8"} 
[2026-07-19 18:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 18:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:52] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3458790902703587840,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:52] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185984,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:52] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:52] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8819192043540413574,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:52] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3041656832,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:52] local.WARNING: Large IO value detected {"io_id":34,"raw_value":14073748836188164,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:52] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:52] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3721663024182329550,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797797582,"corrected_to":0} 
[2026-07-19 18:11:52] local.WARNING: Large IO value detected {"io_id":82,"raw_value":3623955836,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:52] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3221601649,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:52] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252838,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3180752896,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:52] local.WARNING: Large IO value detected {"io_id":11,"raw_value":49575880388771840,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:52] local.WARNING: Large IO value detected {"io_id":180,"raw_value":-1369094286720630783,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:52] local.WARNING: Large IO value detected {"io_id":192,"raw_value":413686645746303153,"note":"Value kept but may cause issues"} 
[2026-07-19 18:11:52] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,195,85,24,241,157,16,181,159,149,45,128,70,9,34,10,66,145,64,71,141,1,240,178,227,122,189,4,113,205,23,82,134,33,239,50,2,5,11,180,192],"length":534,"final_offset":664,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2797797582,"validated":0}]} 
[2026-07-19 18:11:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648788972231131136,"timestamp_seconds":648788972231131.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 18:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":137805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":137805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":137805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822999296001,"66":12972,"195":206,"85":12544,"24":8,"16":108286321784520704,"45":8970537163674769408},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-19 18:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822999296001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:11:52] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-19 18:11:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108286321784520704,"km_value":108286321784520.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970537163674769408,"description":"Unknown IO ID 45"} 
[2026-07-19 18:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822999296001,"power":12972,"unknown_195":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":8970537163674769408}} 
[2026-07-19 18:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":137805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:11:52] local.INFO: GPS data processed {"connection_id":137805,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:11:52] local.INFO: Acknowledgment sent {"connection_id":137805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:11:56] local.INFO: TCP Data received {"connection_id":136829,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:11:56] local.INFO: Processing buffer {"connection_id":136829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:11:56] local.INFO: IMEI packet received {"connection_id":136829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":136829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:12:01] local.INFO: TCP Data received {"connection_id":136829,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:12:01] local.INFO: Processing buffer {"connection_id":136829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:12:01] local.INFO: IMEI packet received {"connection_id":136829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":136829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:12:01] local.INFO: TCP Data received {"connection_id":136829,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a61c298012d1821000721b450004f011e29..."} 
[2026-07-19 18:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a61c298012d1821000721b450004f011e29..."} 
[2026-07-19 18:12:01] local.INFO: Processing buffer {"connection_id":136829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a61c298012d1821000721b450004f011e29..."} 
[2026-07-19 18:12:01] local.INFO: Packet analysis {"connection_id":136829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a61"} 
[2026-07-19 18:12:01] local.INFO: Extracted packet for processing {"connection_id":136829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a61"} 
[2026-07-19 18:12:01] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649360,"longitude_deg":75.6556032,"latitude_deg":11.964936,"altitude":79,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822946304001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219462067453952,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771958272,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784464655000,"timestamp_ms":1784464655000,"timestamp_seconds":1784464655,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a61c298"} 
[2026-07-19 18:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:12: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-07-19 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 18:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822946304001,"66":12689,"105":206,"83":41984,"24":0,"16":7219462067453952,"45":1738670961771958272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822946304001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:12:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:12:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219462067453952,"km_value":7219462067453.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771958272,"description":"Unknown IO ID 45"} 
[2026-07-19 18:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822946304001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771958272}} 
[2026-07-19 18:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":136829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:12:02] local.INFO: GPS data processed {"connection_id":136829,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:12:02] local.INFO: Acknowledgment sent {"connection_id":136829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:12:04] local.INFO: TCP Data received {"connection_id":136829,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6214a0012d1821000721b450004f011e2a..."} 
[2026-07-19 18:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6214a0012d1821000721b450004f011e2a..."} 
[2026-07-19 18:12:04] local.INFO: Processing buffer {"connection_id":136829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6214a0012d1821000721b450004f011e2a..."} 
[2026-07-19 18:12:04] local.INFO: Packet analysis {"connection_id":136829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:12:04] local.INFO: Extracted packet for processing {"connection_id":136829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:12:04] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649360,"longitude_deg":75.6556032,"latitude_deg":11.964936,"altitude":79,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-07-19 18:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822951680001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219462067453952,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771958272,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784464676000,"timestamp_ms":1784464676000,"timestamp_seconds":1784464676,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6214a0"} 
[2026-07-19 18:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-19 18:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":136829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":136829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":136829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822951680001,"66":12689,"105":206,"83":41984,"24":0,"16":7219462067453952,"45":1738670961771958272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822951680001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:12:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:12:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219462067453952,"km_value":7219462067453.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771958272,"description":"Unknown IO ID 45"} 
[2026-07-19 18:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822951680001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771958272}} 
[2026-07-19 18:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":136829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:12:04] local.INFO: GPS data processed {"connection_id":136829,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:12:04] local.INFO: Acknowledgment sent {"connection_id":136829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:12:09] local.INFO: TCP Data received {"connection_id":137804,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:12:09] local.INFO: Processing buffer {"connection_id":137804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:12:09] local.INFO: Packet analysis {"connection_id":137804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:12:09] local.INFO: Extracted packet for processing {"connection_id":137804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822892032001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12: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-07-19 18:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784464723000,"timestamp_ms":1784464723000,"timestamp_seconds":1784464723,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a62cc38"} 
[2026-07-19 18:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 18:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:12: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-07-19 18:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822892032001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822892032001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:12:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:12:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822892032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":137804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:12:09] local.INFO: GPS data processed {"connection_id":137804,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:12:09] local.INFO: Acknowledgment sent {"connection_id":137804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:12:23] local.INFO: TCP Data received {"connection_id":137805,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a64d3c0012d7c72c005bd45a8000c010022..."} 
[2026-07-19 18:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a64d3c0012d7c72c005bd45a8000c010022..."} 
[2026-07-19 18:12:23] local.INFO: Processing buffer {"connection_id":137805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a64d3c0012d7c72c005bd45a8000c010022..."} 
[2026-07-19 18:12:23] local.INFO: Packet analysis {"connection_id":137805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a64"} 
[2026-07-19 18:12:23] local.INFO: Extracted packet for processing {"connection_id":137805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a64"} 
[2026-07-19 18:12:23] local.INFO: GPS Element Parsed {"raw_longitude":763130560,"raw_latitude":96290216,"longitude_deg":76.313056,"latitude_deg":9.6290216,"altitude":12,"angle":256,"satellites":34,"speed":15,"hex_longitude":"2d7c72c0","hex_latitude":"05bd45a8","is_valid_coordinates":true} 
[2026-07-19 18:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822999808001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108286437748637696,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970114951209684992,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784464856000,"timestamp_ms":1784464856000,"timestamp_seconds":1784464856,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a64d3c0"} 
[2026-07-19 18:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:12:23] 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-07-19 18:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-19 18:12:23] 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-07-19 18:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":137805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":137805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":137805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822999808001,"66":13341,"195":206,"85":12544,"24":15,"16":108286437748637696,"45":8970114951209684992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-19 18:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822999808001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:12:23] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-19 18:12:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108286437748637696,"km_value":108286437748637.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970114951209684992,"description":"Unknown IO ID 45"} 
[2026-07-19 18:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822999808001,"power":13341,"unknown_195":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":8970114951209684992}} 
[2026-07-19 18:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":137805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:12:23] local.INFO: GPS data processed {"connection_id":137805,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:12:23] local.INFO: Acknowledgment sent {"connection_id":137805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:12:30] local.INFO: TCP Data received {"connection_id":139187,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:12:30] local.INFO: Processing buffer {"connection_id":139187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:12:30] local.INFO: IMEI packet received {"connection_id":139187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":139187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:12:35] local.INFO: TCP Data received {"connection_id":136829,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6266a8012d1821000721b450004f011e29..."} 
[2026-07-19 18:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6266a8012d1821000721b450004f011e29..."} 
[2026-07-19 18:12:35] local.INFO: Processing buffer {"connection_id":136829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6266a8012d1821000721b450004f011e29..."} 
[2026-07-19 18:12:35] local.INFO: Packet analysis {"connection_id":136829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:12:35] local.INFO: Extracted packet for processing {"connection_id":136829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:12:35] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649360,"longitude_deg":75.6556032,"latitude_deg":11.964936,"altitude":79,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822957056001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219462067453952,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771958272,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784464697000,"timestamp_ms":1784464697000,"timestamp_seconds":1784464697,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6266a8"} 
[2026-07-19 18:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-19 18:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":136829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":136829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":136829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822957056001,"66":12689,"105":206,"83":41984,"24":0,"16":7219462067453952,"45":1738670961771958272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822957056001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:12:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:12:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219462067453952,"km_value":7219462067453.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771958272,"description":"Unknown IO ID 45"} 
[2026-07-19 18:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822957056001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771958272}} 
[2026-07-19 18:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":136829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:12:35] local.INFO: GPS data processed {"connection_id":136829,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:12:35] local.INFO: Acknowledgment sent {"connection_id":136829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:12:36] local.INFO: TCP Data received {"connection_id":139187,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:12:36] local.INFO: Processing buffer {"connection_id":139187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:12:36] local.INFO: IMEI packet received {"connection_id":139187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":139187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:12:37] local.INFO: TCP Data received {"connection_id":139187,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:12:37] local.INFO: Processing buffer {"connection_id":139187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:12:37] local.INFO: Packet analysis {"connection_id":139187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:12:37] local.INFO: Extracted packet for processing {"connection_id":139187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822892032001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12: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-07-19 18:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784464723000,"timestamp_ms":1784464723000,"timestamp_seconds":1784464723,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a62cc38"} 
[2026-07-19 18:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 18:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822892032001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822892032001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:12:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822892032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":139187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:12:37] local.INFO: GPS data processed {"connection_id":139187,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:12:37] local.INFO: Acknowledgment sent {"connection_id":139187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:12:43] local.INFO: TCP Data received {"connection_id":139188,"ip":"194.165.16.165","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-19 18:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139188,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-19 18:12:43] local.INFO: Processing buffer {"connection_id":139188,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-19 18:12:43] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":139188,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-07-19 18:12:47] local.INFO: TCP Data received {"connection_id":136731,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:12:47] local.INFO: Processing buffer {"connection_id":136731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:12:47] local.INFO: IMEI packet received {"connection_id":136731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":136731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:12:48] local.INFO: TCP Data received {"connection_id":136731,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:12:48] local.INFO: Processing buffer {"connection_id":136731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:12:48] local.INFO: IMEI packet received {"connection_id":136731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":136731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:12:50] local.INFO: TCP Data received {"connection_id":136731,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:12:50] local.INFO: Processing buffer {"connection_id":136731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:12:50] local.INFO: IMEI packet received {"connection_id":136731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":136731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:12:51] local.INFO: TCP Data received {"connection_id":137807,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:12:51] local.INFO: Processing buffer {"connection_id":137807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:12:51] local.INFO: IMEI packet received {"connection_id":137807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":137807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:12:51] local.INFO: TCP Data received {"connection_id":136731,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a64eb30012d7c648005bd4138000b00f421..."} 
[2026-07-19 18:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a64eb30012d7c648005bd4138000b00f421..."} 
[2026-07-19 18:12:51] local.INFO: Processing buffer {"connection_id":136731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a64eb30012d7c648005bd4138000b00f421..."} 
[2026-07-19 18:12:51] local.INFO: Packet analysis {"connection_id":136731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a64"} 
[2026-07-19 18:12:51] local.INFO: Extracted packet for processing {"connection_id":136731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a64"} 
[2026-07-19 18:12:51] local.INFO: GPS Element Parsed {"raw_longitude":763126912,"raw_latitude":96289080,"longitude_deg":76.3126912,"latitude_deg":9.628908,"altitude":11,"angle":244,"satellites":33,"speed":27,"hex_longitude":"2d7c6480","hex_latitude":"05bd4138","is_valid_coordinates":true} 
[2026-07-19 18:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823003136001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108286626727198720,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967440938930907136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12: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-07-19 18:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784464862000,"timestamp_ms":1784464862000,"timestamp_seconds":1784464862,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a64eb30"} 
[2026-07-19 18:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-19 18:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":136731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":136731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":136731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823003136001,"66":13189,"196":206,"85":12544,"24":27,"16":108286626727198720,"45":8967440938930907136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-19 18:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823003136001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:12:51] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-19 18:12:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108286626727198720,"km_value":108286626727198.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967440938930907136,"description":"Unknown IO ID 45"} 
[2026-07-19 18:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823003136001,"power":13189,"unknown_196":206,"unknown_85":12544,"ignition":27,"odometer":null,"unknown_45":8967440938930907136}} 
[2026-07-19 18:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":136731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:12:51] local.INFO: GPS data processed {"connection_id":136731,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:12:51] local.INFO: Acknowledgment sent {"connection_id":136731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:12:56] local.INFO: TCP Data received {"connection_id":137807,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:12:56] local.INFO: Processing buffer {"connection_id":137807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:12:56] local.INFO: IMEI packet received {"connection_id":137807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":137807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:12:56] local.INFO: TCP Data received {"connection_id":137807,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a62b8b0012d1821000721b450004f011e2a..."} 
[2026-07-19 18:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a62b8b0012d1821000721b450004f011e2a..."} 
[2026-07-19 18:12:56] local.INFO: Processing buffer {"connection_id":137807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a62b8b0012d1821000721b450004f011e2a..."} 
[2026-07-19 18:12:56] local.INFO: Packet analysis {"connection_id":137807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:12:56] local.INFO: Extracted packet for processing {"connection_id":137807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:12:56] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649360,"longitude_deg":75.6556032,"latitude_deg":11.964936,"altitude":79,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-07-19 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-07-19 18:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822962432001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219462067453952,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771958272,"note":"Value kept but may cause issues"} 
[2026-07-19 18:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784464718000,"timestamp_ms":1784464718000,"timestamp_seconds":1784464718,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a62b8b0"} 
[2026-07-19 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-07-19 18:12: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-07-19 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-19 18:12:56] 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-07-19 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-07-19 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-07-19 18:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822962432001,"66":12678,"105":206,"83":41984,"24":0,"16":7219462067453952,"45":1738670961771958272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822962432001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:12:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:12:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219462067453952,"km_value":7219462067453.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771958272,"description":"Unknown IO ID 45"} 
[2026-07-19 18:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822962432001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771958272}} 
[2026-07-19 18:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":137807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:12:56] local.INFO: GPS data processed {"connection_id":137807,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:12:56] local.INFO: Acknowledgment sent {"connection_id":137807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:13:08] local.INFO: TCP Data received {"connection_id":139187,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:13:08] local.INFO: Processing buffer {"connection_id":139187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:13:08] local.INFO: Packet analysis {"connection_id":139187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:13:08] local.INFO: Extracted packet for processing {"connection_id":139187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822892032001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784464723000,"timestamp_ms":1784464723000,"timestamp_seconds":1784464723,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a62cc38"} 
[2026-07-19 18:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":86,"data_length":795,"current_offset":136} 
[2026-07-19 18:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:13: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-07-19 18:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822892032001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822892032001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:13:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:13:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822892032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":139187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:13:08] local.INFO: GPS data processed {"connection_id":139187,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:13:08] local.INFO: Acknowledgment sent {"connection_id":139187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:13:23] local.INFO: TCP Data received {"connection_id":136731,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a66b438012d7b618005bd1870000b01101f..."} 
[2026-07-19 18:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a66b438012d7b618005bd1870000b01101f..."} 
[2026-07-19 18:13:23] local.INFO: Processing buffer {"connection_id":136731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a66b438012d7b618005bd1870000b01101f..."} 
[2026-07-19 18:13:23] local.INFO: Packet analysis {"connection_id":136731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a66"} 
[2026-07-19 18:13:23] local.INFO: Extracted packet for processing {"connection_id":136731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a66"} 
[2026-07-19 18:13:23] local.INFO: GPS Element Parsed {"raw_longitude":763060608,"raw_latitude":96278640,"longitude_deg":76.3060608,"latitude_deg":9.627864,"altitude":11,"angle":272,"satellites":31,"speed":37,"hex_longitude":"2d7b6180","hex_latitude":"05bd1870","is_valid_coordinates":true} 
[2026-07-19 18:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823034624001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108289830772801536,"note":"Value kept but may cause issues"} 
[2026-07-19 18:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890527901541756928,"note":"Value kept but may cause issues"} 
[2026-07-19 18:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784464979000,"timestamp_ms":1784464979000,"timestamp_seconds":1784464979,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a66b438"} 
[2026-07-19 18:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:13:23] 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-07-19 18:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-19 18:13:23] 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-07-19 18:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":136731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":136731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":136731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823034624001,"66":12906,"197":206,"85":12544,"24":37,"16":108289830772801536,"45":8890527901541756928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823034624001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:13:23] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:13:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108289830772801536,"km_value":108289830772801.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890527901541756928,"description":"Unknown IO ID 45"} 
[2026-07-19 18:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823034624001,"power":12906,"unknown_197":206,"unknown_85":12544,"ignition":37,"odometer":null,"unknown_45":8890527901541756928}} 
[2026-07-19 18:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":136731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:13:23] local.INFO: GPS data processed {"connection_id":136731,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:13:23] local.INFO: Acknowledgment sent {"connection_id":136731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:13:27] local.INFO: TCP Data received {"connection_id":137807,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a630ab8012d1821000721b450004f011e28..."} 
[2026-07-19 18:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a630ab8012d1821000721b450004f011e28..."} 
[2026-07-19 18:13:27] local.INFO: Processing buffer {"connection_id":137807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a630ab8012d1821000721b450004f011e28..."} 
[2026-07-19 18:13:27] local.INFO: Packet analysis {"connection_id":137807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a63"} 
[2026-07-19 18:13:27] local.INFO: Extracted packet for processing {"connection_id":137807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a63"} 
[2026-07-19 18:13:27] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649360,"longitude_deg":75.6556032,"latitude_deg":11.964936,"altitude":79,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-07-19 18:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822967808001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219462067453952,"note":"Value kept but may cause issues"} 
[2026-07-19 18:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771958272,"note":"Value kept but may cause issues"} 
[2026-07-19 18:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784464739000,"timestamp_ms":1784464739000,"timestamp_seconds":1784464739,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a630ab8"} 
[2026-07-19 18:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:13: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-07-19 18:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 18:13:27] 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-07-19 18:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822967808001,"66":12678,"105":206,"83":41984,"24":0,"16":7219462067453952,"45":1738670961771958272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822967808001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:13:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:13:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219462067453952,"km_value":7219462067453.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771958272,"description":"Unknown IO ID 45"} 
[2026-07-19 18:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822967808001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771958272}} 
[2026-07-19 18:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":137807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:13:28] local.INFO: GPS data processed {"connection_id":137807,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:13:28] local.INFO: Acknowledgment sent {"connection_id":137807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:13:30] local.INFO: TCP Data received {"connection_id":137808,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:13:30] local.INFO: Processing buffer {"connection_id":137808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:13:30] local.INFO: IMEI packet received {"connection_id":137808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":137808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:13:36] local.INFO: TCP Data received {"connection_id":137808,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:13:36] local.INFO: Processing buffer {"connection_id":137808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:13:36] local.INFO: IMEI packet received {"connection_id":137808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":137808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:13:37] local.INFO: TCP Data received {"connection_id":137808,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:13:37] local.INFO: Processing buffer {"connection_id":137808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:13:37] local.INFO: Packet analysis {"connection_id":137808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:13:37] local.INFO: Extracted packet for processing {"connection_id":137808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822892032001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:13: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-07-19 18:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784464723000,"timestamp_ms":1784464723000,"timestamp_seconds":1784464723,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a62cc38"} 
[2026-07-19 18:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 18:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822892032001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822892032001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:13:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822892032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":137808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:13:37] local.INFO: GPS data processed {"connection_id":137808,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:13:37] local.INFO: Acknowledgment sent {"connection_id":137808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:13:47] local.INFO: TCP Data received {"connection_id":137809,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:13:47] local.INFO: Processing buffer {"connection_id":137809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:13:47] local.INFO: IMEI packet received {"connection_id":137809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":137809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:13:48] local.INFO: TCP Data received {"connection_id":137809,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:13:48] local.INFO: Processing buffer {"connection_id":137809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:13:48] local.INFO: IMEI packet received {"connection_id":137809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":137809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:13:51] local.INFO: TCP Data received {"connection_id":139189,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:13:51] local.INFO: Processing buffer {"connection_id":139189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:13:51] local.INFO: IMEI packet received {"connection_id":139189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":139189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:13:52] local.INFO: TCP Data received {"connection_id":137809,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:13:52] local.INFO: Processing buffer {"connection_id":137809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:13:52] local.INFO: IMEI packet received {"connection_id":137809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":137809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:13:53] local.INFO: TCP Data received {"connection_id":137809,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a66d760012d7b3ec005bd1b300009010a20..."} 
[2026-07-19 18:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a66d760012d7b3ec005bd1b300009010a20..."} 
[2026-07-19 18:13:53] local.INFO: Processing buffer {"connection_id":137809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a66d760012d7b3ec005bd1b300009010a20..."} 
[2026-07-19 18:13:53] local.INFO: Packet analysis {"connection_id":137809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a66"} 
[2026-07-19 18:13:53] local.INFO: Extracted packet for processing {"connection_id":137809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a66"} 
[2026-07-19 18:13:53] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":96279344,"longitude_deg":76.3051712,"latitude_deg":9.6279344,"altitude":9,"angle":266,"satellites":32,"speed":41,"hex_longitude":"2d7b3ec0","hex_latitude":"05bd1b30","is_valid_coordinates":true} 
[2026-07-19 18:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823034624001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108290303219204096,"note":"Value kept but may cause issues"} 
[2026-07-19 18:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890527901541756928,"note":"Value kept but may cause issues"} 
[2026-07-19 18:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784464988000,"timestamp_ms":1784464988000,"timestamp_seconds":1784464988,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a66d760"} 
[2026-07-19 18:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-19 18:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":137809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":137809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":137809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823034624001,"66":13059,"197":206,"85":12544,"24":41,"16":108290303219204096,"45":8890527901541756928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823034624001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:13:53] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:13:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108290303219204096,"km_value":108290303219204.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890527901541756928,"description":"Unknown IO ID 45"} 
[2026-07-19 18:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823034624001,"power":13059,"unknown_197":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":8890527901541756928}} 
[2026-07-19 18:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":137809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:13:53] local.INFO: GPS data processed {"connection_id":137809,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:13:53] local.INFO: Acknowledgment sent {"connection_id":137809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:13:56] local.INFO: TCP Data received {"connection_id":139189,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:13:56] local.INFO: Processing buffer {"connection_id":139189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:13:56] local.INFO: IMEI packet received {"connection_id":139189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":139189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:13:56] local.INFO: TCP Data received {"connection_id":139189,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a635cc0012d1821000721b450004f011e2b..."} 
[2026-07-19 18:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a635cc0012d1821000721b450004f011e2b..."} 
[2026-07-19 18:13:56] local.INFO: Processing buffer {"connection_id":139189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a635cc0012d1821000721b450004f011e2b..."} 
[2026-07-19 18:13:56] local.INFO: Packet analysis {"connection_id":139189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a63"} 
[2026-07-19 18:13:56] local.INFO: Extracted packet for processing {"connection_id":139189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a63"} 
[2026-07-19 18:13:56] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649360,"longitude_deg":75.6556032,"latitude_deg":11.964936,"altitude":79,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822973184001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219462067453952,"note":"Value kept but may cause issues"} 
[2026-07-19 18:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771958272,"note":"Value kept but may cause issues"} 
[2026-07-19 18:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784464760000,"timestamp_ms":1784464760000,"timestamp_seconds":1784464760,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a635cc0"} 
[2026-07-19 18:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:13: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-07-19 18: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 18:13:56] 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-07-19 18: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-07-19 18:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822973184001,"66":12298,"105":206,"83":41984,"24":0,"16":7219462067453952,"45":1738670961771958272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822973184001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:13:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:13:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219462067453952,"km_value":7219462067453.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771958272,"description":"Unknown IO ID 45"} 
[2026-07-19 18:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822973184001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771958272}} 
[2026-07-19 18:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":139189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:13:56] local.INFO: GPS data processed {"connection_id":139189,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:13:56] local.INFO: Acknowledgment sent {"connection_id":139189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:14:08] local.INFO: TCP Data received {"connection_id":137808,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:14:08] local.INFO: Processing buffer {"connection_id":137808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a62cc38012d34c50006aa4dd8000800952c..."} 
[2026-07-19 18:14:08] local.INFO: Packet analysis {"connection_id":137808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:14:08] local.INFO: Extracted packet for processing {"connection_id":137808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a62"} 
[2026-07-19 18:14:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822892032001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14: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-07-19 18:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784464723000,"timestamp_ms":1784464723000,"timestamp_seconds":1784464723,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a62cc38"} 
[2026-07-19 18:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 18:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822892032001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822892032001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:14:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:14:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822892032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":137808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:14:08] local.INFO: GPS data processed {"connection_id":137808,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:14:08] local.INFO: Acknowledgment sent {"connection_id":137808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:14:24] local.INFO: TCP Data received {"connection_id":137809,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a66fe70012d7b150005bd18e00007010e20..."} 
[2026-07-19 18:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a66fe70012d7b150005bd18e00007010e20..."} 
[2026-07-19 18:14:24] local.INFO: Processing buffer {"connection_id":137809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a66fe70012d7b150005bd18e00007010e20..."} 
[2026-07-19 18:14:24] local.INFO: Packet analysis {"connection_id":137809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a66"} 
[2026-07-19 18:14:24] local.INFO: Extracted packet for processing {"connection_id":137809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a66"} 
[2026-07-19 18:14:24] local.INFO: GPS Element Parsed {"raw_longitude":763041024,"raw_latitude":96278752,"longitude_deg":76.3041024,"latitude_deg":9.6278752,"altitude":7,"angle":270,"satellites":32,"speed":44,"hex_longitude":"2d7b1500","hex_latitude":"05bd18e0","is_valid_coordinates":true} 
[2026-07-19 18:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823036928001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108290767075672064,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646101241856,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14: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-07-19 18:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784464998000,"timestamp_ms":1784464998000,"timestamp_seconds":1784464998,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a66fe70"} 
[2026-07-19 18:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-19 18:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161368694182,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:24] local.WARNING: Large IO value detected {"io_id":197,"raw_value":58077514145726491,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:24] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3089760256,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:24] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2717908992,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797928654,"corrected_to":0} 
[2026-07-19 18:14:24] local.WARNING: Large IO value detected {"io_id":82,"raw_value":2415996283,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:24] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3808480678,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3173312512,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:24] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,197,85,24,241,157,16,185,159,180,45,128,11,31,10,66,137,192,1,240,237,227,184,122,189,4,113,205,29,82,173,208,32,239,48,2,5,12,27],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2797928654,"validated":0}]} 
[2026-07-19 18:14:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648810953875980288,"timestamp_seconds":648810953875980.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 18:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":137809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":137809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":137809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823036928001,"66":12852,"197":206,"85":12544,"24":44,"16":108290767075672064,"45":8880746646101241856},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823036928001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:14:24] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:14:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108290767075672064,"km_value":108290767075672.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646101241856,"description":"Unknown IO ID 45"} 
[2026-07-19 18:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823036928001,"power":12852,"unknown_197":206,"unknown_85":12544,"ignition":44,"odometer":null,"unknown_45":8880746646101241856}} 
[2026-07-19 18:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":137809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:14:24] local.INFO: GPS data processed {"connection_id":137809,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:14:24] local.INFO: Acknowledgment sent {"connection_id":137809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:14:28] local.INFO: TCP Data received {"connection_id":139189,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a63aec8012d1821000721b450004f011e2b..."} 
[2026-07-19 18:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a63aec8012d1821000721b450004f011e2b..."} 
[2026-07-19 18:14:28] local.INFO: Processing buffer {"connection_id":139189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a63aec8012d1821000721b450004f011e2b..."} 
[2026-07-19 18:14:28] local.INFO: Packet analysis {"connection_id":139189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a63"} 
[2026-07-19 18:14:28] local.INFO: Extracted packet for processing {"connection_id":139189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a63"} 
[2026-07-19 18:14:28] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649360,"longitude_deg":75.6556032,"latitude_deg":11.964936,"altitude":79,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-07-19 18:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822978560001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219462067453952,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771958272,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784464781000,"timestamp_ms":1784464781000,"timestamp_seconds":1784464781,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a63aec8"} 
[2026-07-19 18:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 18:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513890088192508190,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185625,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:28] local.WARNING: Large IO value detected {"io_id":166,"raw_value":1152921504606846977,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":8818363114852259873,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832599,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:28] local.WARNING: Large IO value detected {"io_id":79,"raw_value":80548022827614208,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3507460567045046478,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-19 18:14:28] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:28] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748906,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2786066432,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,166,159,10,45,180,79,40,66,184,42,102,1,240,145,227,122,33,4,113,205,194,80,41,239,49,2,25,7,43],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-19 18:14:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692864574005444608,"timestamp_seconds":5692864574005445.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 18:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822978560001,"66":12667,"105":206,"83":41984,"24":0,"16":7219462067453952,"45":1738670961771958272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822978560001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:14:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:14:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219462067453952,"km_value":7219462067453.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771958272,"description":"Unknown IO ID 45"} 
[2026-07-19 18:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822978560001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771958272}} 
[2026-07-19 18:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":139189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:14:28] local.INFO: GPS data processed {"connection_id":139189,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:14:28] local.INFO: Acknowledgment sent {"connection_id":139189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:14:30] local.INFO: TCP Data received {"connection_id":136732,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:14:30] local.INFO: Processing buffer {"connection_id":136732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:14:30] local.INFO: IMEI packet received {"connection_id":136732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":136732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:14:36] local.INFO: TCP Data received {"connection_id":136732,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:14:36] local.INFO: Processing buffer {"connection_id":136732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:14:36] local.INFO: IMEI packet received {"connection_id":136732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":136732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:14:37] local.INFO: TCP Data received {"connection_id":136732,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:14:37] local.INFO: Processing buffer {"connection_id":136732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:14:37] local.INFO: Packet analysis {"connection_id":136732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:14:37] local.INFO: Extracted packet for processing {"connection_id":136732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822969088001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14: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-07-19 18:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784465024000,"timestamp_ms":1784465024000,"timestamp_seconds":1784465024,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a676400"} 
[2026-07-19 18:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822969088001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822969088001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822969088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":136732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:14:37] local.INFO: GPS data processed {"connection_id":136732,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:14:37] local.INFO: Acknowledgment sent {"connection_id":136732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:14:47] local.INFO: TCP Data received {"connection_id":139190,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:14:47] local.INFO: Processing buffer {"connection_id":139190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:14:47] local.INFO: IMEI packet received {"connection_id":139190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":139190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:14:50] local.INFO: TCP Data received {"connection_id":137810,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:14:50] local.INFO: Processing buffer {"connection_id":137810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:14:50] local.INFO: IMEI packet received {"connection_id":137810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":137810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:14:51] local.INFO: TCP Data received {"connection_id":137810,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:14:51] local.INFO: Processing buffer {"connection_id":137810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:14:51] local.INFO: IMEI packet received {"connection_id":137810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":137810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:14:51] local.INFO: TCP Data received {"connection_id":136831,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:14:51] local.INFO: Processing buffer {"connection_id":136831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:14:51] local.INFO: IMEI packet received {"connection_id":136831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 18:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":136831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:14:52] local.INFO: TCP Data received {"connection_id":139190,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:14:52] local.INFO: Processing buffer {"connection_id":139190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:14:52] local.INFO: IMEI packet received {"connection_id":139190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":139190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:14:53] local.INFO: TCP Data received {"connection_id":139190,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a672580012d7af58005bd17780007010621..."} 
[2026-07-19 18:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a672580012d7af58005bd17780007010621..."} 
[2026-07-19 18:14:53] local.INFO: Processing buffer {"connection_id":139190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a672580012d7af58005bd17780007010621..."} 
[2026-07-19 18:14:53] local.INFO: Packet analysis {"connection_id":139190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:14:53] local.INFO: Extracted packet for processing {"connection_id":139190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:14:53] local.INFO: GPS Element Parsed {"raw_longitude":763032960,"raw_latitude":96278392,"longitude_deg":76.303296,"latitude_deg":9.6278392,"altitude":7,"angle":262,"satellites":33,"speed":35,"hex_longitude":"2d7af580","hex_latitude":"05bd1778","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823039488001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108291205162336256,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868995065823420416,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:53] 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-07-19 18:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784465008000,"timestamp_ms":1784465008000,"timestamp_seconds":1784465008,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a672580"} 
[2026-07-19 18:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18: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":52,"data_length":795,"current_offset":136} 
[2026-07-19 18:14:53] 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-07-19 18: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-07-19 18:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":139190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":139190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":139190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823039488001,"66":13135,"8":206,"85":12544,"24":35,"16":108291205162336256,"45":8868995065823420416},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,85,24,16,45]} 
[2026-07-19 18:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823039488001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:14:53] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-19 18:14:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108291205162336256,"km_value":108291205162336.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868995065823420416,"description":"Unknown IO ID 45"} 
[2026-07-19 18:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823039488001,"power":13135,"unknown_8":206,"unknown_85":12544,"ignition":35,"odometer":null,"unknown_45":8868995065823420416}} 
[2026-07-19 18:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":139190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:14:53] local.INFO: GPS data processed {"connection_id":139190,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:14:53] local.INFO: Acknowledgment sent {"connection_id":139190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:14:56] local.INFO: TCP Data received {"connection_id":137810,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:14:56] local.INFO: Processing buffer {"connection_id":137810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:14:56] local.INFO: IMEI packet received {"connection_id":137810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":137810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:14:56] local.INFO: TCP Data received {"connection_id":137810,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a673138012d181e800721b198004e00d52a..."} 
[2026-07-19 18:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a673138012d181e800721b198004e00d52a..."} 
[2026-07-19 18:14:56] local.INFO: Processing buffer {"connection_id":137810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a673138012d181e800721b198004e00d52a..."} 
[2026-07-19 18:14:56] local.INFO: Packet analysis {"connection_id":137810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:14:56] local.INFO: Extracted packet for processing {"connection_id":137810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:14:56] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648664,"longitude_deg":75.6555392,"latitude_deg":11.9648664,"altitude":78,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-07-19 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-07-19 18:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823037440001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219509312094208,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274330003456,"note":"Value kept but may cause issues"} 
[2026-07-19 18:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784465011000,"timestamp_ms":1784465011000,"timestamp_seconds":1784465011,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a673138"} 
[2026-07-19 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-07-19 18:14: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-07-19 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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-19 18:14: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-07-19 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-07-19 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-07-19 18:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823037440001,"66":12591,"105":206,"83":41984,"24":0,"16":7219509312094208,"45":1737967274330003456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823037440001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:14:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:14:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219509312094208,"km_value":7219509312094.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274330003456,"description":"Unknown IO ID 45"} 
[2026-07-19 18:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823037440001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274330003456}} 
[2026-07-19 18:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":137810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:14:57] local.INFO: GPS data processed {"connection_id":137810,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:14:57] local.INFO: Acknowledgment sent {"connection_id":137810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:15:08] local.INFO: TCP Data received {"connection_id":136732,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:15:08] local.INFO: Processing buffer {"connection_id":136732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:15:08] local.INFO: Packet analysis {"connection_id":136732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:15:08] local.INFO: Extracted packet for processing {"connection_id":136732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:15:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822969088001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784465024000,"timestamp_ms":1784465024000,"timestamp_seconds":1784465024,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a676400"} 
[2026-07-19 18:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:15: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-07-19 18:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822969088001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822969088001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:15:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:15:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822969088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":136732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:15:08] local.INFO: GPS data processed {"connection_id":136732,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:15:08] local.INFO: Acknowledgment sent {"connection_id":136732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:15:24] local.INFO: TCP Data received {"connection_id":136832,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:15:24] local.INFO: Processing buffer {"connection_id":136832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:15:24] local.INFO: IMEI packet received {"connection_id":136832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 18:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":136832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:15:24] local.INFO: TCP Data received {"connection_id":139190,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a674c90012d7acc0005bd15300008010c20..."} 
[2026-07-19 18:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a674c90012d7acc0005bd15300008010c20..."} 
[2026-07-19 18:15:24] local.INFO: Processing buffer {"connection_id":139190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a674c90012d7acc0005bd15300008010c20..."} 
[2026-07-19 18:15:24] local.INFO: Packet analysis {"connection_id":139190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:15:24] local.INFO: Extracted packet for processing {"connection_id":139190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:15:24] local.INFO: GPS Element Parsed {"raw_longitude":763022336,"raw_latitude":96277808,"longitude_deg":76.3022336,"latitude_deg":9.6277808,"altitude":8,"angle":268,"satellites":32,"speed":46,"hex_longitude":"2d7acc00","hex_latitude":"05bd1530","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823042048001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108291664723836928,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860128604056942592,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15: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-07-19 18:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784465018000,"timestamp_ms":1784465018000,"timestamp_seconds":1784465018,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a674c90"} 
[2026-07-19 18:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-19 18:15:24] 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-07-19 18: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-07-19 18:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":139190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":139190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":139190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823042048001,"66":13091,"8":206,"85":12544,"24":46,"16":108291664723836928,"45":8860128604056942592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,85,24,16,45]} 
[2026-07-19 18:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823042048001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:15:24] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-19 18:15:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108291664723836928,"km_value":108291664723836.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860128604056942592,"description":"Unknown IO ID 45"} 
[2026-07-19 18:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823042048001,"power":13091,"unknown_8":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":8860128604056942592}} 
[2026-07-19 18:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":139190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:15:24] local.INFO: GPS data processed {"connection_id":139190,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:15:24] local.INFO: Acknowledgment sent {"connection_id":139190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:15:28] local.INFO: TCP Data received {"connection_id":137810,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a678340012d181e800721b198004e00d52c..."} 
[2026-07-19 18:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a678340012d181e800721b198004e00d52c..."} 
[2026-07-19 18:15:28] local.INFO: Processing buffer {"connection_id":137810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a678340012d181e800721b198004e00d52c..."} 
[2026-07-19 18:15:28] local.INFO: Packet analysis {"connection_id":137810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:15:28] local.INFO: Extracted packet for processing {"connection_id":137810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:15:28] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648664,"longitude_deg":75.6555392,"latitude_deg":11.9648664,"altitude":78,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-07-19 18:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823042816001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219509312094208,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274330003456,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784465032000,"timestamp_ms":1784465032000,"timestamp_seconds":1784465032,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a678340"} 
[2026-07-19 18:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-19 18:15: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-07-19 18:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823042816001,"66":12548,"105":206,"83":41984,"24":0,"16":7219509312094208,"45":1737967274330003456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823042816001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:15:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:15:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219509312094208,"km_value":7219509312094.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274330003456,"description":"Unknown IO ID 45"} 
[2026-07-19 18:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823042816001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274330003456}} 
[2026-07-19 18:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":137810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:15:28] local.INFO: GPS data processed {"connection_id":137810,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:15:28] local.INFO: Acknowledgment sent {"connection_id":137810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:15:31] local.INFO: TCP Data received {"connection_id":136733,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:15:31] local.INFO: Processing buffer {"connection_id":136733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:15:31] local.INFO: IMEI packet received {"connection_id":136733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":136733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:15:36] local.INFO: TCP Data received {"connection_id":136733,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:15:36] local.INFO: Processing buffer {"connection_id":136733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:15:36] local.INFO: IMEI packet received {"connection_id":136733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":136733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:15:37] local.INFO: TCP Data received {"connection_id":136733,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:15:37] local.INFO: Processing buffer {"connection_id":136733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:15:37] local.INFO: Packet analysis {"connection_id":136733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:15:37] local.INFO: Extracted packet for processing {"connection_id":136733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822969088001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15: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-07-19 18:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784465024000,"timestamp_ms":1784465024000,"timestamp_seconds":1784465024,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a676400"} 
[2026-07-19 18:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:15: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-07-19 18:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822969088001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822969088001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822969088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":136733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:15:37] local.INFO: GPS data processed {"connection_id":136733,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:15:37] local.INFO: Acknowledgment sent {"connection_id":136733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:15:47] local.INFO: TCP Data received {"connection_id":136833,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:15:47] local.INFO: Processing buffer {"connection_id":136833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:15:47] local.INFO: IMEI packet received {"connection_id":136833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":136833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:15:50] local.INFO: TCP Data received {"connection_id":136834,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:15:50] local.INFO: Processing buffer {"connection_id":136834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:15:50] local.INFO: IMEI packet received {"connection_id":136834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":136834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:15:51] local.INFO: TCP Data received {"connection_id":136833,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:15:51] local.INFO: Processing buffer {"connection_id":136833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:15:51] local.INFO: IMEI packet received {"connection_id":136833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":136833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:15:52] local.INFO: TCP Data received {"connection_id":136833,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6767e8012d7aac0005bd14580008010d1f..."} 
[2026-07-19 18:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6767e8012d7aac0005bd14580008010d1f..."} 
[2026-07-19 18:15:52] local.INFO: Processing buffer {"connection_id":136833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6767e8012d7aac0005bd14580008010d1f..."} 
[2026-07-19 18:15:52] local.INFO: Packet analysis {"connection_id":136833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:15:52] local.INFO: Extracted packet for processing {"connection_id":136833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:15:52] local.INFO: GPS Element Parsed {"raw_longitude":763014144,"raw_latitude":96277592,"longitude_deg":76.3014144,"latitude_deg":9.6277592,"altitude":8,"angle":269,"satellites":31,"speed":45,"hex_longitude":"2d7aac00","hex_latitude":"05bd1458","is_valid_coordinates":true} 
[2026-07-19 18:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823044608001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108292111400435712,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848447392523300864,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15:52] 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-07-19 18:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784465025000,"timestamp_ms":1784465025000,"timestamp_seconds":1784465025,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6767e8"} 
[2026-07-19 18:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-19 18:15:52] 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-07-19 18:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":136833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":136833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":136833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823044608001,"66":13178,"8":206,"85":12544,"24":45,"16":108292111400435712,"45":8848447392523300864},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,85,24,16,45]} 
[2026-07-19 18:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823044608001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:15:52] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-19 18:15:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108292111400435712,"km_value":108292111400435.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848447392523300864,"description":"Unknown IO ID 45"} 
[2026-07-19 18:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823044608001,"power":13178,"unknown_8":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":8848447392523300864}} 
[2026-07-19 18:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":136833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:15:52] local.INFO: GPS data processed {"connection_id":136833,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:15:52] local.INFO: Acknowledgment sent {"connection_id":136833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:15:54] local.INFO: TCP Data received {"connection_id":136834,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:15:54] local.INFO: Processing buffer {"connection_id":136834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:15:54] local.INFO: IMEI packet received {"connection_id":136834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":136834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:15:55] local.INFO: TCP Data received {"connection_id":136834,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:15:55] local.INFO: Processing buffer {"connection_id":136834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:15:55] local.INFO: IMEI packet received {"connection_id":136834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":136834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:15:56] local.INFO: TCP Data received {"connection_id":136834,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a67d548012d181e800721b198004e00d52b..."} 
[2026-07-19 18:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a67d548012d181e800721b198004e00d52b..."} 
[2026-07-19 18:15:56] local.INFO: Processing buffer {"connection_id":136834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a67d548012d181e800721b198004e00d52b..."} 
[2026-07-19 18:15:56] local.INFO: Packet analysis {"connection_id":136834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:15:56] local.INFO: Extracted packet for processing {"connection_id":136834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:15:56] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648664,"longitude_deg":75.6555392,"latitude_deg":11.9648664,"altitude":78,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823048192001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219509312094208,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274330003456,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784465053000,"timestamp_ms":1784465053000,"timestamp_seconds":1784465053,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a67d548"} 
[2026-07-19 18:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:15: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-07-19 18: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 18:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15:56] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2979528782,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-19 18:15:56] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15:56] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2786787328,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15:56] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-19 18:15:56] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,166,159,49,45,128,177,78,42,10,66,223,40,141,1,240,238,227,122,33,4,113,205,233,30,152,43,239,2,25,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-19 18:15:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620726719913656320,"timestamp_seconds":5620726719913656.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 18:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823048192001,"66":12537,"105":206,"83":41984,"24":0,"16":7219509312094208,"45":1737967274330003456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823048192001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:15:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:15:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219509312094208,"km_value":7219509312094.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274330003456,"description":"Unknown IO ID 45"} 
[2026-07-19 18:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823048192001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274330003456}} 
[2026-07-19 18:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":136834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:15:56] local.INFO: GPS data processed {"connection_id":136834,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:15:56] local.INFO: Acknowledgment sent {"connection_id":136834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:16:08] local.INFO: TCP Data received {"connection_id":136733,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:16:08] local.INFO: Processing buffer {"connection_id":136733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:16:08] local.INFO: Packet analysis {"connection_id":136733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:16:08] local.INFO: Extracted packet for processing {"connection_id":136733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822969088001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784465024000,"timestamp_ms":1784465024000,"timestamp_seconds":1784465024,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a676400"} 
[2026-07-19 18:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:16: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-07-19 18: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-07-19 18:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18: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-07-19 18:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822969088001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822969088001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:16:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822969088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":136733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:16:08] local.INFO: GPS data processed {"connection_id":136733,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:16:08] local.INFO: Acknowledgment sent {"connection_id":136733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:16:23] local.INFO: TCP Data received {"connection_id":136833,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a699a68012d7a6c8005bd10e0000c002e20..."} 
[2026-07-19 18:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a699a68012d7a6c8005bd10e0000c002e20..."} 
[2026-07-19 18:16:23] local.INFO: Processing buffer {"connection_id":136833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a699a68012d7a6c8005bd10e0000c002e20..."} 
[2026-07-19 18:16:23] local.INFO: Packet analysis {"connection_id":136833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a69"} 
[2026-07-19 18:16:23] local.INFO: Extracted packet for processing {"connection_id":136833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a69"} 
[2026-07-19 18:16:23] local.INFO: GPS Element Parsed {"raw_longitude":762997888,"raw_latitude":96276704,"longitude_deg":76.2997888,"latitude_deg":9.6276704,"altitude":12,"angle":46,"satellites":32,"speed":12,"hex_longitude":"2d7a6c80","hex_latitude":"05bd10e0","is_valid_coordinates":true} 
[2026-07-19 18:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823082752001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108293550214479872,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821214688526145536,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:23] 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-07-19 18:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784465169000,"timestamp_ms":1784465169000,"timestamp_seconds":1784465169,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a699a68"} 
[2026-07-19 18:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:16: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-07-19 18:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-19 18:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:16:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":136833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":136833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":136833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823082752001,"66":13048,"7":206,"85":12544,"24":12,"16":108293550214479872,"45":8821214688526145536},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-19 18:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823082752001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:16:23] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-19 18:16:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108293550214479872,"km_value":108293550214479.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821214688526145536,"description":"Unknown IO ID 45"} 
[2026-07-19 18:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823082752001,"power":13048,"unknown_7":206,"unknown_85":12544,"ignition":12,"odometer":null,"unknown_45":8821214688526145536}} 
[2026-07-19 18:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":136833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:16:23] local.INFO: GPS data processed {"connection_id":136833,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:16:23] local.INFO: Acknowledgment sent {"connection_id":136833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:16:27] local.INFO: TCP Data received {"connection_id":136834,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a682750012d181e800721b198004e00d52e..."} 
[2026-07-19 18:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a682750012d181e800721b198004e00d52e..."} 
[2026-07-19 18:16:27] local.INFO: Processing buffer {"connection_id":136834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a682750012d181e800721b198004e00d52e..."} 
[2026-07-19 18:16:27] local.INFO: Packet analysis {"connection_id":136834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a68"} 
[2026-07-19 18:16:27] local.INFO: Extracted packet for processing {"connection_id":136834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a68"} 
[2026-07-19 18:16:27] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648664,"longitude_deg":75.6555392,"latitude_deg":11.9648664,"altitude":78,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-07-19 18:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823053568001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219509312094208,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274330003456,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784465074000,"timestamp_ms":1784465074000,"timestamp_seconds":1784465074,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a682750"} 
[2026-07-19 18:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-19 18:16:27] 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-07-19 18:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823053568001,"66":12558,"105":206,"83":41984,"24":0,"16":7219509312094208,"45":1737967274330003456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823053568001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:16:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:16:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219509312094208,"km_value":7219509312094.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274330003456,"description":"Unknown IO ID 45"} 
[2026-07-19 18:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823053568001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274330003456}} 
[2026-07-19 18:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":136834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:16:27] local.INFO: GPS data processed {"connection_id":136834,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:16:27] local.INFO: Acknowledgment sent {"connection_id":136834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:16:31] local.INFO: TCP Data received {"connection_id":136736,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:16:31] local.INFO: Processing buffer {"connection_id":136736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:16:31] local.INFO: IMEI packet received {"connection_id":136736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":136736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:16:36] local.INFO: TCP Data received {"connection_id":136736,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:16:36] local.INFO: Processing buffer {"connection_id":136736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:16:36] local.INFO: IMEI packet received {"connection_id":136736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":136736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:16:38] local.INFO: TCP Data received {"connection_id":136736,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:16:38] local.INFO: Processing buffer {"connection_id":136736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:16:38] local.INFO: Packet analysis {"connection_id":136736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:16:38] local.INFO: Extracted packet for processing {"connection_id":136736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:16:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822969088001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16: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-07-19 18:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784465024000,"timestamp_ms":1784465024000,"timestamp_seconds":1784465024,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a676400"} 
[2026-07-19 18:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822969088001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822969088001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:16:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:16:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822969088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":136736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:16:38] local.INFO: GPS data processed {"connection_id":136736,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:16:38] local.INFO: Acknowledgment sent {"connection_id":136736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:16:47] local.INFO: TCP Data received {"connection_id":137811,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:16:47] local.INFO: Processing buffer {"connection_id":137811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:16:47] local.INFO: IMEI packet received {"connection_id":137811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":137811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:16:50] local.INFO: TCP Data received {"connection_id":136835,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:16:50] local.INFO: Processing buffer {"connection_id":136835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:16:50] local.INFO: IMEI packet received {"connection_id":136835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":136835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:16:52] local.INFO: TCP Data received {"connection_id":137811,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:16:52] local.INFO: Processing buffer {"connection_id":137811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:16:52] local.INFO: IMEI packet received {"connection_id":137811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":137811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:16:53] local.INFO: TCP Data received {"connection_id":137811,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a699e50012d7a6e0005bd1188000c003f20..."} 
[2026-07-19 18:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a699e50012d7a6e0005bd1188000c003f20..."} 
[2026-07-19 18:16:53] local.INFO: Processing buffer {"connection_id":137811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a699e50012d7a6e0005bd1188000c003f20..."} 
[2026-07-19 18:16:53] local.INFO: Packet analysis {"connection_id":137811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a69"} 
[2026-07-19 18:16:53] local.INFO: Extracted packet for processing {"connection_id":137811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a69"} 
[2026-07-19 18:16:53] local.INFO: GPS Element Parsed {"raw_longitude":762998272,"raw_latitude":96276872,"longitude_deg":76.2998272,"latitude_deg":9.6276872,"altitude":12,"angle":63,"satellites":32,"speed":16,"hex_longitude":"2d7a6e00","hex_latitude":"05bd1188","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823083264001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108293571689316352,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821566532247150592,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:53] 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-07-19 18:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784465170000,"timestamp_ms":1784465170000,"timestamp_seconds":1784465170,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a699e50"} 
[2026-07-19 18:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-19 18:16:53] 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-07-19 18: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-07-19 18:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":137811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":137811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":137811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823083264001,"66":13048,"7":206,"85":12544,"24":16,"16":108293571689316352,"45":8821566532247150592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-19 18:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823083264001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:16:53] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-19 18:16:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108293571689316352,"km_value":108293571689316.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821566532247150592,"description":"Unknown IO ID 45"} 
[2026-07-19 18:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823083264001,"power":13048,"unknown_7":206,"unknown_85":12544,"ignition":16,"odometer":null,"unknown_45":8821566532247150592}} 
[2026-07-19 18:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":137811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:16:53] local.INFO: GPS data processed {"connection_id":137811,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:16:53] local.INFO: Acknowledgment sent {"connection_id":137811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:16:56] local.INFO: TCP Data received {"connection_id":136835,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:16:56] local.INFO: Processing buffer {"connection_id":136835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:16:56] local.INFO: IMEI packet received {"connection_id":136835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":136835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:16:56] local.INFO: TCP Data received {"connection_id":136835,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a687958012d181e800721b198004e00d52c..."} 
[2026-07-19 18:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a687958012d181e800721b198004e00d52c..."} 
[2026-07-19 18:16:56] local.INFO: Processing buffer {"connection_id":136835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a687958012d181e800721b198004e00d52c..."} 
[2026-07-19 18:16:56] local.INFO: Packet analysis {"connection_id":136835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a68"} 
[2026-07-19 18:16:56] local.INFO: Extracted packet for processing {"connection_id":136835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a68"} 
[2026-07-19 18:16:56] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648664,"longitude_deg":75.6555392,"latitude_deg":11.9648664,"altitude":78,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-07-19 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-07-19 18:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823058944001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219509312094208,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274330003456,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784465095000,"timestamp_ms":1784465095000,"timestamp_seconds":1784465095,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a687958"} 
[2026-07-19 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-07-19 18:16: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-07-19 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-19 18:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249380666372108696,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:56] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2979528782,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-19 18:16:56] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:56] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993029994,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:56] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2786787328,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:56] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:56] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:56] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-07-19 18:16:56] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,166,159,213,45,128,177,78,43,10,66,131,44,49,1,240,47,227,122,33,4,113,205,141,30,152,42,239,48,2,25,7,106,86,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-19 18:16:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620726728503590912,"timestamp_seconds":5620726728503591.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 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-07-19 18:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823058944001,"66":12548,"105":206,"83":41984,"24":0,"16":7219509312094208,"45":1737967274330003456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823058944001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:16:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:16:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219509312094208,"km_value":7219509312094.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274330003456,"description":"Unknown IO ID 45"} 
[2026-07-19 18:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823058944001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274330003456}} 
[2026-07-19 18:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":136835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:16:57] local.INFO: GPS data processed {"connection_id":136835,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:16:57] local.INFO: Acknowledgment sent {"connection_id":136835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:17:10] local.INFO: TCP Data received {"connection_id":136736,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:17:10] local.INFO: Processing buffer {"connection_id":136736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:17:10] local.INFO: Packet analysis {"connection_id":136736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:17:10] local.INFO: Extracted packet for processing {"connection_id":136736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:17: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-07-19 18:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822969088001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17: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-07-19 18:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784465024000,"timestamp_ms":1784465024000,"timestamp_seconds":1784465024,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a676400"} 
[2026-07-19 18:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:17: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-07-19 18:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:17: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-07-19 18:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822969088001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822969088001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:17:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:17:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822969088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":136736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:17:10] local.INFO: GPS data processed {"connection_id":136736,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:17:10] local.INFO: Acknowledgment sent {"connection_id":136736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:17:25] local.INFO: TCP Data received {"connection_id":137811,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a69a238012d7a708005bd11e0000c004d20..."} 
[2026-07-19 18:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a69a238012d7a708005bd11e0000c004d20..."} 
[2026-07-19 18:17:25] local.INFO: Processing buffer {"connection_id":137811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a69a238012d7a708005bd11e0000c004d20..."} 
[2026-07-19 18:17:25] local.INFO: Packet analysis {"connection_id":137811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a69"} 
[2026-07-19 18:17:25] local.INFO: Extracted packet for processing {"connection_id":137811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a69"} 
[2026-07-19 18:17:25] local.INFO: GPS Element Parsed {"raw_longitude":762998912,"raw_latitude":96276960,"longitude_deg":76.2998912,"latitude_deg":9.627696,"altitude":12,"angle":77,"satellites":32,"speed":21,"hex_longitude":"2d7a7080","hex_latitude":"05bd11e0","is_valid_coordinates":true} 
[2026-07-19 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-07-19 18:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823083520001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108293597459120128,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821988744712259584,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17: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-07-19 18:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784465171000,"timestamp_ms":1784465171000,"timestamp_seconds":1784465171,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a69a238"} 
[2026-07-19 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-07-19 18:17: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-07-19 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-19 18:17:25] 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-07-19 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-07-19 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-07-19 18:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":137811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":137811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":137811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823083520001,"66":13091,"7":206,"85":12544,"24":21,"16":108293597459120128,"45":8821988744712259584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-19 18:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823083520001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:17:25] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-19 18:17:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108293597459120128,"km_value":108293597459120.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821988744712259584,"description":"Unknown IO ID 45"} 
[2026-07-19 18:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823083520001,"power":13091,"unknown_7":206,"unknown_85":12544,"ignition":21,"odometer":null,"unknown_45":8821988744712259584}} 
[2026-07-19 18:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":137811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:17:25] local.INFO: GPS data processed {"connection_id":137811,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:17:25] local.INFO: Acknowledgment sent {"connection_id":137811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:17:28] local.INFO: TCP Data received {"connection_id":136835,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a68cb60012d181e800721b198004e00d52c..."} 
[2026-07-19 18:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a68cb60012d181e800721b198004e00d52c..."} 
[2026-07-19 18:17:28] local.INFO: Processing buffer {"connection_id":136835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a68cb60012d181e800721b198004e00d52c..."} 
[2026-07-19 18:17:28] local.INFO: Packet analysis {"connection_id":136835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a68"} 
[2026-07-19 18:17:28] local.INFO: Extracted packet for processing {"connection_id":136835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a68"} 
[2026-07-19 18:17:28] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648664,"longitude_deg":75.6555392,"latitude_deg":11.9648664,"altitude":78,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823064320001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219509312094208,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274330003456,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784465116000,"timestamp_ms":1784465116000,"timestamp_seconds":1784465116,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a68cb60"} 
[2026-07-19 18:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 18:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184195588301,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:28] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2979528782,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-19 18:17:28] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2786787328,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:28] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:28] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,166,159,39,45,128,177,78,46,10,66,213,43,131,1,240,4,227,122,33,113,205,223,30,152,40,239,49,2,25,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-19 18:17:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620726719913656320,"timestamp_seconds":5620726719913656.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 18:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823064320001,"66":12537,"105":206,"83":41984,"24":0,"16":7219509312094208,"45":1737967274330003456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823064320001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:17:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:17:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219509312094208,"km_value":7219509312094.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274330003456,"description":"Unknown IO ID 45"} 
[2026-07-19 18:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823064320001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274330003456}} 
[2026-07-19 18:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":136835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:17:28] local.INFO: GPS data processed {"connection_id":136835,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:17:28] local.INFO: Acknowledgment sent {"connection_id":136835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:17:30] local.INFO: TCP Data received {"connection_id":139192,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:17:30] local.INFO: Processing buffer {"connection_id":139192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:17:30] local.INFO: IMEI packet received {"connection_id":139192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":139192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:17:36] local.INFO: TCP Data received {"connection_id":139192,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:17:36] local.INFO: Processing buffer {"connection_id":139192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:17:36] local.INFO: IMEI packet received {"connection_id":139192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":139192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:17:37] local.INFO: TCP Data received {"connection_id":139192,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:17:37] local.INFO: Processing buffer {"connection_id":139192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:17:37] local.INFO: Packet analysis {"connection_id":139192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:17:37] local.INFO: Extracted packet for processing {"connection_id":139192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822969088001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17: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-07-19 18:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784465024000,"timestamp_ms":1784465024000,"timestamp_seconds":1784465024,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a676400"} 
[2026-07-19 18:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:17: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-07-19 18:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822969088001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822969088001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:17:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822969088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":139192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:17:37] local.INFO: GPS data processed {"connection_id":139192,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:17:37] local.INFO: Acknowledgment sent {"connection_id":139192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:17:51] local.INFO: TCP Data received {"connection_id":137812,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:17:51] local.INFO: Processing buffer {"connection_id":137812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:17:51] local.INFO: IMEI packet received {"connection_id":137812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":137812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:17:52] local.INFO: TCP Data received {"connection_id":137812,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:17:52] local.INFO: Processing buffer {"connection_id":137812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:17:52] local.INFO: IMEI packet received {"connection_id":137812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":137812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:17:56] local.INFO: TCP Data received {"connection_id":137813,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:17:56] local.INFO: Processing buffer {"connection_id":137813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:17:56] local.INFO: IMEI packet received {"connection_id":137813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":137813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:17:57] local.INFO: TCP Data received {"connection_id":137812,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:17:57] local.INFO: Processing buffer {"connection_id":137812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:17:57] local.INFO: IMEI packet received {"connection_id":137812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":137812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:17:57] local.INFO: TCP Data received {"connection_id":137812,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a69d118012d7a96c005bd1440000b005720..."} 
[2026-07-19 18:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a69d118012d7a96c005bd1440000b005720..."} 
[2026-07-19 18:17:57] local.INFO: Processing buffer {"connection_id":137812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a69d118012d7a96c005bd1440000b005720..."} 
[2026-07-19 18:17:57] local.INFO: Packet analysis {"connection_id":137812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a69"} 
[2026-07-19 18:17:57] local.INFO: Extracted packet for processing {"connection_id":137812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a69"} 
[2026-07-19 18:17:57] local.INFO: GPS Element Parsed {"raw_longitude":763008704,"raw_latitude":96277568,"longitude_deg":76.3008704,"latitude_deg":9.6277568,"altitude":11,"angle":87,"satellites":32,"speed":40,"hex_longitude":"2d7a96c0","hex_latitude":"05bd1440","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823083776001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108294074200489984,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822692432154058752,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:57] 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-07-19 18:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784465183000,"timestamp_ms":1784465183000,"timestamp_seconds":1784465183,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a69d118"} 
[2026-07-19 18:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-19 18:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823083776001,"66":13059,"7":206,"85":12544,"24":40,"16":108294074200489984,"45":8822692432154058752},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-19 18:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823083776001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:17:57] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-19 18:17:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108294074200489984,"km_value":108294074200489.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822692432154058752,"description":"Unknown IO ID 45"} 
[2026-07-19 18:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823083776001,"power":13059,"unknown_7":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":8822692432154058752}} 
[2026-07-19 18:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":137812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:17:57] local.INFO: GPS data processed {"connection_id":137812,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:17:57] local.INFO: Acknowledgment sent {"connection_id":137812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:17:58] local.INFO: TCP Data received {"connection_id":137812,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a69f440012d7ac08005bd15d00009005721..."} 
[2026-07-19 18:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a69f440012d7ac08005bd15d00009005721..."} 
[2026-07-19 18:17:58] local.INFO: Processing buffer {"connection_id":137812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a69f440012d7ac08005bd15d00009005721..."} 
[2026-07-19 18:17:58] local.INFO: Packet analysis {"connection_id":137812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a69"} 
[2026-07-19 18:17:58] local.INFO: Extracted packet for processing {"connection_id":137812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a69"} 
[2026-07-19 18:17:58] local.INFO: GPS Element Parsed {"raw_longitude":763019392,"raw_latitude":96277968,"longitude_deg":76.3019392,"latitude_deg":9.6277968,"altitude":9,"angle":87,"satellites":33,"speed":47,"hex_longitude":"2d7ac080","hex_latitude":"05bd15d0","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823086848001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108294525172056064,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8833458850013396992,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:58] 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-07-19 18:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784465192000,"timestamp_ms":1784465192000,"timestamp_seconds":1784465192,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a69f440"} 
[2026-07-19 18:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:17: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-07-19 18: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-19 18:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162828311907,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:58] local.WARNING: Large IO value detected {"io_id":7,"raw_value":58077514145726476,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3160080384,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1661403342,"corrected_to":0} 
[2026-07-19 18:17:58] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3355520378,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3170729984,"note":"Value kept but may cause issues"} 
[2026-07-19 18:17:58] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,7,85,24,241,157,16,188,159,162,45,128,17,12,32,10,66,158,154,1,240,248,227,122,189,4,113,205,9,138,107,104,239,50,2,5,13],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1661403342,"validated":0}]} 
[2026-07-19 18:17:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792729329370398720,"timestamp_seconds":792729329370398.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 18:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":137812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":137812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":137812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823086848001,"66":13319,"7":206,"85":12544,"24":47,"16":108294525172056064,"45":8833458850013396992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-19 18:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823086848001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:17:58] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-19 18:17:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108294525172056064,"km_value":108294525172056.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8833458850013396992,"description":"Unknown IO ID 45"} 
[2026-07-19 18:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823086848001,"power":13319,"unknown_7":206,"unknown_85":12544,"ignition":47,"odometer":null,"unknown_45":8833458850013396992}} 
[2026-07-19 18:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":137812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:17:58] local.INFO: GPS data processed {"connection_id":137812,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:17:58] local.INFO: Acknowledgment sent {"connection_id":137812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:18:00] local.INFO: TCP Data received {"connection_id":137813,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:18:00] local.INFO: Processing buffer {"connection_id":137813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:18:00] local.INFO: IMEI packet received {"connection_id":137813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":137813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:18:00] local.INFO: TCP Data received {"connection_id":137813,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a691d68012d181e800721b198004e00d52a..."} 
[2026-07-19 18:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a691d68012d181e800721b198004e00d52a..."} 
[2026-07-19 18:18:00] local.INFO: Processing buffer {"connection_id":137813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a691d68012d181e800721b198004e00d52a..."} 
[2026-07-19 18:18:00] local.INFO: Packet analysis {"connection_id":137813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a69"} 
[2026-07-19 18:18:00] local.INFO: Extracted packet for processing {"connection_id":137813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a69"} 
[2026-07-19 18:18:00] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648664,"longitude_deg":75.6555392,"latitude_deg":11.9648664,"altitude":78,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-07-19 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-07-19 18:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823069696001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219509312094208,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274330003456,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18: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-07-19 18:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784465137000,"timestamp_ms":1784465137000,"timestamp_seconds":1784465137,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a691d68"} 
[2026-07-19 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-07-19 18:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-19 18:18: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-07-19 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-07-19 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-07-19 18:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":137813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":137813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":137813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823069696001,"66":12558,"105":206,"83":41984,"24":0,"16":7219509312094208,"45":1737967274330003456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823069696001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:18:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:18:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219509312094208,"km_value":7219509312094.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274330003456,"description":"Unknown IO ID 45"} 
[2026-07-19 18:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823069696001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274330003456}} 
[2026-07-19 18:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":137813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:18:00] local.INFO: GPS data processed {"connection_id":137813,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:18:00] local.INFO: Acknowledgment sent {"connection_id":137813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:18:01] local.INFO: TCP Data received {"connection_id":137813,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a696f70012d181e800721b198004e00d52b..."} 
[2026-07-19 18:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a696f70012d181e800721b198004e00d52b..."} 
[2026-07-19 18:18:01] local.INFO: Processing buffer {"connection_id":137813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a696f70012d181e800721b198004e00d52b..."} 
[2026-07-19 18:18:01] local.INFO: Packet analysis {"connection_id":137813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a69"} 
[2026-07-19 18:18:01] local.INFO: Extracted packet for processing {"connection_id":137813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a69"} 
[2026-07-19 18:18:01] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648664,"longitude_deg":75.6555392,"latitude_deg":11.9648664,"altitude":78,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823075072001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219509312094208,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274330003456,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784465158000,"timestamp_ms":1784465158000,"timestamp_seconds":1784465158,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a696f70"} 
[2026-07-19 18:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:18: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-07-19 18: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-19 18:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:01] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:01] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":24577,"corrected_to":0} 
[2026-07-19 18:18:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249380666372108696,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:01] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2979528782,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-19 18:18:01] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:01] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2786787328,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:01] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:01] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:01] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:01] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,166,159,203,45,128,177,78,44,10,66,121,39,1,240,14,227,122,33,4,113,205,131,30,152,239,49,2,25,7,106,87,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":203,"original":24577,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-19 18:18:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620726711323721728,"timestamp_seconds":5620726711323722.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 18:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823075072001,"66":12558,"105":206,"83":41984,"24":0,"16":7219509312094208,"45":1737967274330003456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823075072001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:18:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:18:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219509312094208,"km_value":7219509312094.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274330003456,"description":"Unknown IO ID 45"} 
[2026-07-19 18:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823075072001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274330003456}} 
[2026-07-19 18:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":137813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:18:01] local.INFO: GPS data processed {"connection_id":137813,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:18:01] local.INFO: Acknowledgment sent {"connection_id":137813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:18:08] local.INFO: TCP Data received {"connection_id":139192,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:18:08] local.INFO: Processing buffer {"connection_id":139192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:18:08] local.INFO: Packet analysis {"connection_id":139192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:18:08] local.INFO: Extracted packet for processing {"connection_id":139192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822969088001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18: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-07-19 18:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784465024000,"timestamp_ms":1784465024000,"timestamp_seconds":1784465024,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a676400"} 
[2026-07-19 18:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:18: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-07-19 18:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822969088001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822969088001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:18:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:18:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822969088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":139192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:18:08] local.INFO: GPS data processed {"connection_id":139192,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:18:08] local.INFO: Acknowledgment sent {"connection_id":139192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:18:29] local.INFO: TCP Data received {"connection_id":137812,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6b7310012d7c11c005bd30e80005016621..."} 
[2026-07-19 18:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6b7310012d7c11c005bd30e80005016621..."} 
[2026-07-19 18:18:29] local.INFO: Processing buffer {"connection_id":137812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6b7310012d7c11c005bd30e80005016621..."} 
[2026-07-19 18:18:29] local.INFO: Packet analysis {"connection_id":137812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:18:29] local.INFO: Extracted packet for processing {"connection_id":137812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:18:29] local.INFO: GPS Element Parsed {"raw_longitude":763105728,"raw_latitude":96284904,"longitude_deg":76.3105728,"latitude_deg":9.6284904,"altitude":5,"angle":358,"satellites":33,"speed":7,"hex_longitude":"2d7c11c0","hex_latitude":"05bd30e8","is_valid_coordinates":true} 
[2026-07-19 18:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823112704001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108298871678959616,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940348972420843520,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18: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-07-19 18:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784465290000,"timestamp_ms":1784465290000,"timestamp_seconds":1784465290,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6b7310"} 
[2026-07-19 18:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:18: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-07-19 18:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-19 18:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163012861283,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:29] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2466250752,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1661468878,"corrected_to":0} 
[2026-07-19 18:18:29] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2147859750,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:29] local.WARNING: Large IO value detected {"io_id":8,"raw_value":58077514145726509,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:29] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3216572416,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3172712448,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:29] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,197,85,24,241,157,16,193,159,60,45,64,41,7,34,10,66,33,39,192,1,240,182,227,122,189,4,113,205,47,191,146,96,239,51,8,2,128,5],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1661468878,"validated":0}]} 
[2026-07-19 18:18:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432727240791687168,"timestamp_seconds":432727240791687.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 18:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":137812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":137812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":137812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823112704001,"66":12982,"197":206,"85":12544,"24":7,"16":108298871678959616,"45":8940348972420843520},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823112704001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:18:29] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:18:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108298871678959616,"km_value":108298871678959.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940348972420843520,"description":"Unknown IO ID 45"} 
[2026-07-19 18:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823112704001,"power":12982,"unknown_197":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":8940348972420843520}} 
[2026-07-19 18:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":137812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:18:29] local.INFO: GPS data processed {"connection_id":137812,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:18:29] local.INFO: Acknowledgment sent {"connection_id":137812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:18:30] local.INFO: TCP Data received {"connection_id":136837,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:18:30] local.INFO: Processing buffer {"connection_id":136837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:18:30] local.INFO: IMEI packet received {"connection_id":136837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":136837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:18:32] local.INFO: TCP Data received {"connection_id":137813,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a69c178012d181e800721b198004e00d52d..."} 
[2026-07-19 18:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a69c178012d181e800721b198004e00d52d..."} 
[2026-07-19 18:18:32] local.INFO: Processing buffer {"connection_id":137813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a69c178012d181e800721b198004e00d52d..."} 
[2026-07-19 18:18:32] local.INFO: Packet analysis {"connection_id":137813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a69"} 
[2026-07-19 18:18:32] local.INFO: Extracted packet for processing {"connection_id":137813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a69"} 
[2026-07-19 18:18:32] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648664,"longitude_deg":75.6555392,"latitude_deg":11.9648664,"altitude":78,"angle":213,"satellites":45,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823080448001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219509312094208,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274330003456,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784465179000,"timestamp_ms":1784465179000,"timestamp_seconds":1784465179,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a69c178"} 
[2026-07-19 18:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:18: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-07-19 18: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-19 18:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:32] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":24577,"corrected_to":0} 
[2026-07-19 18:18:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249380666372108696,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:32] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2979528782,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-19 18:18:32] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:32] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579370,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:32] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2786787328,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:32] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:32] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:32] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:32] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,166,159,29,45,128,177,78,42,10,66,203,44,121,1,240,4,227,122,33,113,205,213,30,152,43,239,48,2,25,7,106,87,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":203,"original":24577,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-19 18:18:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620726715618689024,"timestamp_seconds":5620726715618689.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 18:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":137813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":137813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":137813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823080448001,"66":12548,"105":206,"83":41984,"24":0,"16":7219509312094208,"45":1737967274330003456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823080448001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:18:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:18:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219509312094208,"km_value":7219509312094.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274330003456,"description":"Unknown IO ID 45"} 
[2026-07-19 18:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823080448001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274330003456}} 
[2026-07-19 18:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":137813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:18:32] local.INFO: GPS data processed {"connection_id":137813,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:18:32] local.INFO: Acknowledgment sent {"connection_id":137813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:18:36] local.INFO: TCP Data received {"connection_id":136837,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:18:36] local.INFO: Processing buffer {"connection_id":136837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:18:36] local.INFO: IMEI packet received {"connection_id":136837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":136837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:18:37] local.INFO: TCP Data received {"connection_id":136837,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:18:37] local.INFO: Processing buffer {"connection_id":136837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:18:37] local.INFO: Packet analysis {"connection_id":136837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:18:37] local.INFO: Extracted packet for processing {"connection_id":136837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822969088001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18: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-07-19 18:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784465024000,"timestamp_ms":1784465024000,"timestamp_seconds":1784465024,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a676400"} 
[2026-07-19 18:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822969088001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822969088001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822969088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":136837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:18:37] local.INFO: GPS data processed {"connection_id":136837,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:18:37] local.INFO: Acknowledgment sent {"connection_id":136837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:18:44] local.INFO: TCP Data received {"connection_id":139193,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:18:44] local.INFO: Processing buffer {"connection_id":139193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:18:44] local.INFO: IMEI packet received {"connection_id":139193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":139193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:18:45] local.INFO: TCP Data received {"connection_id":139193,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:18:45] local.INFO: Processing buffer {"connection_id":139193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:18:45] local.INFO: IMEI packet received {"connection_id":139193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":139193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:18:47] local.INFO: TCP Data received {"connection_id":139193,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:18:47] local.INFO: Processing buffer {"connection_id":139193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:18:47] local.INFO: IMEI packet received {"connection_id":139193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":139193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:18:51] local.INFO: TCP Data received {"connection_id":136737,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:18:51] local.INFO: Processing buffer {"connection_id":136737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:18:51] local.INFO: IMEI packet received {"connection_id":136737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":136737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:18:52] local.INFO: TCP Data received {"connection_id":139193,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:18:52] local.INFO: Processing buffer {"connection_id":139193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:18:52] local.INFO: IMEI packet received {"connection_id":139193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":139193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:18:53] local.INFO: TCP Data received {"connection_id":139193,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6b7ec8012d7c110005bd32a00005015420..."} 
[2026-07-19 18:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6b7ec8012d7c110005bd32a00005015420..."} 
[2026-07-19 18:18:53] local.INFO: Processing buffer {"connection_id":139193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6b7ec8012d7c110005bd32a00005015420..."} 
[2026-07-19 18:18:53] local.INFO: Packet analysis {"connection_id":139193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:18:53] local.INFO: Extracted packet for processing {"connection_id":139193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:18:53] local.INFO: GPS Element Parsed {"raw_longitude":763105536,"raw_latitude":96285344,"longitude_deg":76.3105536,"latitude_deg":9.6285344,"altitude":5,"angle":340,"satellites":32,"speed":6,"hex_longitude":"2d7c1100","hex_latitude":"05bd32a0","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823114240001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108298893153796096,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940137866188613632,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784465293000,"timestamp_ms":1784465293000,"timestamp_seconds":1784465293,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6b7ec8"} 
[2026-07-19 18:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-19 18:18:53] 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-07-19 18: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-07-19 18:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":139193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":139193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":139193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823114240001,"66":12917,"197":206,"85":12544,"24":6,"16":108298893153796096,"45":8940137866188613632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823114240001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:18:53] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:18:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108298893153796096,"km_value":108298893153796.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940137866188613632,"description":"Unknown IO ID 45"} 
[2026-07-19 18:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823114240001,"power":12917,"unknown_197":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":8940137866188613632}} 
[2026-07-19 18:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":139193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:18:53] local.INFO: GPS data processed {"connection_id":139193,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:18:53] local.INFO: Acknowledgment sent {"connection_id":139193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:18:54] local.INFO: TCP Data received {"connection_id":136737,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:18:54] local.INFO: Processing buffer {"connection_id":136737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:18:54] local.INFO: IMEI packet received {"connection_id":136737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":136737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:18:54] local.INFO: TCP Data received {"connection_id":136737,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6a1380012d181e800721b198004e00d52c..."} 
[2026-07-19 18:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6a1380012d181e800721b198004e00d52c..."} 
[2026-07-19 18:18:54] local.INFO: Processing buffer {"connection_id":136737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6a1380012d181e800721b198004e00d52c..."} 
[2026-07-19 18:18:54] local.INFO: Packet analysis {"connection_id":136737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6a"} 
[2026-07-19 18:18:54] local.INFO: Extracted packet for processing {"connection_id":136737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6a"} 
[2026-07-19 18:18:54] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648664,"longitude_deg":75.6555392,"latitude_deg":11.9648664,"altitude":78,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-07-19 18:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823085824001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219509312094208,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274330003456,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18: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-07-19 18:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784465200000,"timestamp_ms":1784465200000,"timestamp_seconds":1784465200,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6a1380"} 
[2026-07-19 18:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:18: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-07-19 18:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 18:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:54] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:54] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":24577,"corrected_to":0} 
[2026-07-19 18:18:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184196309197,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:54] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2979528782,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-19 18:18:54] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:54] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2786787328,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:54] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-19 18:18:54] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,166,159,111,45,128,177,78,43,10,66,29,42,203,1,240,249,227,122,33,4,113,205,39,30,152,46,239,49,2,25,7,106],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":203,"original":24577,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-19 18:18:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620726724208623616,"timestamp_seconds":5620726724208624.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 18:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":136737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":136737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":136737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823085824001,"66":12548,"105":206,"83":41984,"24":0,"16":7219509312094208,"45":1737967274330003456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823085824001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:18:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:18:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219509312094208,"km_value":7219509312094.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274330003456,"description":"Unknown IO ID 45"} 
[2026-07-19 18:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823085824001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274330003456}} 
[2026-07-19 18:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":136737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:18:54] local.INFO: GPS data processed {"connection_id":136737,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:18:54] local.INFO: Acknowledgment sent {"connection_id":136737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:19:08] local.INFO: TCP Data received {"connection_id":136837,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:19:08] local.INFO: Processing buffer {"connection_id":136837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a676400012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:19:08] local.INFO: Packet analysis {"connection_id":136837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:19:08] local.INFO: Extracted packet for processing {"connection_id":136837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a67"} 
[2026-07-19 18:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456822969088001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784465024000,"timestamp_ms":1784465024000,"timestamp_seconds":1784465024,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a676400"} 
[2026-07-19 18:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:19: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-07-19 18: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-07-19 18:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456822969088001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456822969088001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:19:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:19:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456822969088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":136837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:19:08] local.INFO: GPS data processed {"connection_id":136837,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:19:08] local.INFO: Acknowledgment sent {"connection_id":136837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:19:23] local.INFO: TCP Data received {"connection_id":139193,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6ba5d8012d7c0ec005bd38d00005016120..."} 
[2026-07-19 18:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6ba5d8012d7c0ec005bd38d00005016120..."} 
[2026-07-19 18:19:23] local.INFO: Processing buffer {"connection_id":139193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6ba5d8012d7c0ec005bd38d00005016120..."} 
[2026-07-19 18:19:23] local.INFO: Packet analysis {"connection_id":139193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:19:23] local.INFO: Extracted packet for processing {"connection_id":139193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:19:23] local.INFO: GPS Element Parsed {"raw_longitude":763104960,"raw_latitude":96286928,"longitude_deg":76.310496,"latitude_deg":9.6286928,"altitude":5,"angle":353,"satellites":32,"speed":8,"hex_longitude":"2d7c0ec0","hex_latitude":"05bd38d0","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823115008001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108298979053142016,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939926759956193280,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784465303000,"timestamp_ms":1784465303000,"timestamp_seconds":1784465303,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6ba5d8"} 
[2026-07-19 18:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:19: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-07-19 18: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-19 18:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":139193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":139193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":139193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823115008001,"66":13319,"197":206,"85":12544,"24":8,"16":108298979053142016,"45":8939926759956193280},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823115008001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:19:23] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:19:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108298979053142016,"km_value":108298979053142.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939926759956193280,"description":"Unknown IO ID 45"} 
[2026-07-19 18:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823115008001,"power":13319,"unknown_197":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":8939926759956193280}} 
[2026-07-19 18:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":139193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:19:23] local.INFO: GPS data processed {"connection_id":139193,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:19:23] local.INFO: Acknowledgment sent {"connection_id":139193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:19:25] local.INFO: TCP Data received {"connection_id":136737,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6a6588012d181e800721b198004e00d528..."} 
[2026-07-19 18:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6a6588012d181e800721b198004e00d528..."} 
[2026-07-19 18:19:25] local.INFO: Processing buffer {"connection_id":136737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6a6588012d181e800721b198004e00d528..."} 
[2026-07-19 18:19:25] local.INFO: Packet analysis {"connection_id":136737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6a"} 
[2026-07-19 18:19:25] local.INFO: Extracted packet for processing {"connection_id":136737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6a"} 
[2026-07-19 18:19:25] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648664,"longitude_deg":75.6555392,"latitude_deg":11.9648664,"altitude":78,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-07-19 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-07-19 18:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823091200001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219509312094208,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274330003456,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19: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-07-19 18:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784465221000,"timestamp_ms":1784465221000,"timestamp_seconds":1784465221,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6a6588"} 
[2026-07-19 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-07-19 18: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-07-19 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 18:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:25] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:25] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2979528782,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-19 18:19:25] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:25] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2786787328,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:25] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:25] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,166,159,193,45,128,177,78,10,66,111,43,29,1,240,14,227,122,33,4,113,205,121,30,152,44,239,49,2,25,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-19 18:19:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620726719913656320,"timestamp_seconds":5620726719913656.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 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-07-19 18:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823091200001,"66":12548,"105":206,"83":41984,"24":0,"16":7219509312094208,"45":1737967274330003456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823091200001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:19:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:19:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219509312094208,"km_value":7219509312094.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274330003456,"description":"Unknown IO ID 45"} 
[2026-07-19 18:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823091200001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274330003456}} 
[2026-07-19 18:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":136737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:19:25] local.INFO: GPS data processed {"connection_id":136737,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:19:25] local.INFO: Acknowledgment sent {"connection_id":136737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:19:30] local.INFO: TCP Data received {"connection_id":137814,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:19:30] local.INFO: Processing buffer {"connection_id":137814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:19:30] local.INFO: IMEI packet received {"connection_id":137814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":137814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:19:36] local.INFO: TCP Data received {"connection_id":137814,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:19:36] local.INFO: Processing buffer {"connection_id":137814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:19:36] local.INFO: IMEI packet received {"connection_id":137814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":137814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:19:37] local.INFO: TCP Data received {"connection_id":137814,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:19:37] local.INFO: Processing buffer {"connection_id":137814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:19:37] local.INFO: Packet analysis {"connection_id":137814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:19:37] local.INFO: Extracted packet for processing {"connection_id":137814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823046144001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19: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-07-19 18:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784465325000,"timestamp_ms":1784465325000,"timestamp_seconds":1784465325,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6bfbc8"} 
[2026-07-19 18:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823046144001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823046144001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:19:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823046144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":137814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:19:37] local.INFO: GPS data processed {"connection_id":137814,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:19:37] local.INFO: Acknowledgment sent {"connection_id":137814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:19:47] local.INFO: TCP Data received {"connection_id":136838,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:19:47] local.INFO: Processing buffer {"connection_id":136838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:19:47] local.INFO: IMEI packet received {"connection_id":136838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":136838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:19:51] local.INFO: TCP Data received {"connection_id":136839,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:19:51] local.INFO: Processing buffer {"connection_id":136839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:19:51] local.INFO: IMEI packet received {"connection_id":136839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":136839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:19:52] local.INFO: TCP Data received {"connection_id":136838,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:19:52] local.INFO: Processing buffer {"connection_id":136838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:19:52] local.INFO: IMEI packet received {"connection_id":136838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":136838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:19:53] local.INFO: TCP Data received {"connection_id":136838,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6bc130012d7c0e4005bd3f480005015220..."} 
[2026-07-19 18:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6bc130012d7c0e4005bd3f480005015220..."} 
[2026-07-19 18:19:53] local.INFO: Processing buffer {"connection_id":136838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6bc130012d7c0e4005bd3f480005015220..."} 
[2026-07-19 18:19:53] local.INFO: Packet analysis {"connection_id":136838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:19:53] local.INFO: Extracted packet for processing {"connection_id":136838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:19:53] local.INFO: GPS Element Parsed {"raw_longitude":763104832,"raw_latitude":96288584,"longitude_deg":76.3104832,"latitude_deg":9.6288584,"altitude":5,"angle":338,"satellites":32,"speed":9,"hex_longitude":"2d7c0e40","hex_latitude":"05bd3f48","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823117568001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108299060657520640,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939293441258999808,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784465310000,"timestamp_ms":1784465310000,"timestamp_seconds":1784465310,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6bc130"} 
[2026-07-19 18:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18: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-07-19 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-19 18:19:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:53] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3238055334,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3173361664,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:53] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3237543936,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:53] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2798987198481309952,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797928654,"corrected_to":0} 
[2026-07-19 18:19:53] local.WARNING: Large IO value detected {"io_id":182,"raw_value":57811256250094897,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:53] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-2123445929444376571,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:53] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,197,85,24,241,157,16,193,159,126,45,50,5,32,10,66,115,192,48,33,91,128,1,240,3,227,122,189,4,113,205,7,2,168,34,239,46,182,106],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2797928654,"validated":0}]} 
[2026-07-19 18:19:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360676235233722368,"timestamp_seconds":360676235233722.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 18:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":136838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":136838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":136838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823117568001,"66":12287,"197":206,"85":12544,"24":9,"16":108299060657520640,"45":8939293441258999808},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823117568001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:19:53] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:19:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108299060657520640,"km_value":108299060657520.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939293441258999808,"description":"Unknown IO ID 45"} 
[2026-07-19 18:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823117568001,"power":12287,"unknown_197":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":8939293441258999808}} 
[2026-07-19 18:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":136838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:19:53] local.INFO: GPS data processed {"connection_id":136838,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:19:53] local.INFO: Acknowledgment sent {"connection_id":136838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:19:56] local.INFO: TCP Data received {"connection_id":136839,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:19:56] local.INFO: Processing buffer {"connection_id":136839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:19:56] local.INFO: IMEI packet received {"connection_id":136839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":136839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:19:56] local.INFO: TCP Data received {"connection_id":136839,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6ab790012d181e800721b198004e00d528..."} 
[2026-07-19 18:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6ab790012d181e800721b198004e00d528..."} 
[2026-07-19 18:19:56] local.INFO: Processing buffer {"connection_id":136839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6ab790012d181e800721b198004e00d528..."} 
[2026-07-19 18:19:56] local.INFO: Packet analysis {"connection_id":136839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6a"} 
[2026-07-19 18:19:56] local.INFO: Extracted packet for processing {"connection_id":136839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6a"} 
[2026-07-19 18:19:56] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648664,"longitude_deg":75.6555392,"latitude_deg":11.9648664,"altitude":78,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823096576001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219509312094208,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274330003456,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784465242000,"timestamp_ms":1784465242000,"timestamp_seconds":1784465242,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6ab790"} 
[2026-07-19 18:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:19: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-07-19 18: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 18:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:56] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2979528782,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-19 18:19:56] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1610689816,"corrected_to":0} 
[2026-07-19 18:19:56] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:56] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579370,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:56] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2786787328,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:56] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-19 18:19:56] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,166,159,19,45,128,177,78,44,10,66,193,111,1,240,14,227,122,33,4,113,205,203,30,152,239,48,2,25,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":203,"original":1610689816,"validated":0}]} 
[2026-07-19 18:19:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620726702733787136,"timestamp_seconds":5620726702733787.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 18:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823096576001,"66":12548,"105":206,"83":41984,"24":0,"16":7219509312094208,"45":1737967274330003456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823096576001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:19:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:19:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219509312094208,"km_value":7219509312094.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274330003456,"description":"Unknown IO ID 45"} 
[2026-07-19 18:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823096576001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274330003456}} 
[2026-07-19 18:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":136839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:19:56] local.INFO: GPS data processed {"connection_id":136839,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:19:56] local.INFO: Acknowledgment sent {"connection_id":136839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:20:08] local.INFO: TCP Data received {"connection_id":137814,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:20:08] local.INFO: Processing buffer {"connection_id":137814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:20:08] local.INFO: Packet analysis {"connection_id":137814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:20:08] local.INFO: Extracted packet for processing {"connection_id":137814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823046144001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784465325000,"timestamp_ms":1784465325000,"timestamp_seconds":1784465325,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6bfbc8"} 
[2026-07-19 18:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:20: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-07-19 18: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-07-19 18:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:20: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-07-19 18:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823046144001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823046144001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:20:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:20:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823046144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":137814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:20:08] local.INFO: GPS data processed {"connection_id":137814,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:20:08] local.INFO: Acknowledgment sent {"connection_id":137814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:20:24] local.INFO: TCP Data received {"connection_id":136838,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6be840012d7c0a8005bd47e80005015e20..."} 
[2026-07-19 18:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6be840012d7c0a8005bd47e80005015e20..."} 
[2026-07-19 18:20:24] local.INFO: Processing buffer {"connection_id":136838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6be840012d7c0a8005bd47e80005015e20..."} 
[2026-07-19 18:20:24] local.INFO: Packet analysis {"connection_id":136838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:20:24] local.INFO: Extracted packet for processing {"connection_id":136838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:20:24] local.INFO: GPS Element Parsed {"raw_longitude":763103872,"raw_latitude":96290792,"longitude_deg":76.3103872,"latitude_deg":9.6290792,"altitude":5,"angle":350,"satellites":32,"speed":7,"hex_longitude":"2d7c0a80","hex_latitude":"05bd47e8","is_valid_coordinates":true} 
[2026-07-19 18:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823119360001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108299180916604928,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939152703771068416,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20: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-07-19 18:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784465320000,"timestamp_ms":1784465320000,"timestamp_seconds":1784465320,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6be840"} 
[2026-07-19 18:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:20: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-07-19 18:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 18:20:24] 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-07-19 18:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":136838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":136838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":136838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823119360001,"66":13189,"197":206,"85":12544,"24":7,"16":108299180916604928,"45":8939152703771068416},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823119360001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:20:24] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:20:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108299180916604928,"km_value":108299180916604.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939152703771068416,"description":"Unknown IO ID 45"} 
[2026-07-19 18:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823119360001,"power":13189,"unknown_197":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":8939152703771068416}} 
[2026-07-19 18:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":136838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:20:24] local.INFO: GPS data processed {"connection_id":136838,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:20:24] local.INFO: Acknowledgment sent {"connection_id":136838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:20:27] local.INFO: TCP Data received {"connection_id":136839,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6b0998012d181e800721b198004e00d529..."} 
[2026-07-19 18:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6b0998012d181e800721b198004e00d529..."} 
[2026-07-19 18:20:27] local.INFO: Processing buffer {"connection_id":136839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6b0998012d181e800721b198004e00d529..."} 
[2026-07-19 18:20:27] local.INFO: Packet analysis {"connection_id":136839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:20:27] local.INFO: Extracted packet for processing {"connection_id":136839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:20:27] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648664,"longitude_deg":75.6555392,"latitude_deg":11.9648664,"altitude":78,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823101952001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219509312094208,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274330003456,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784465263000,"timestamp_ms":1784465263000,"timestamp_seconds":1784465263,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6b0998"} 
[2026-07-19 18:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 18:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184196309197,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20:27] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2979528782,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-19 18:20:27] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20:27] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2786787328,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20:27] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20:27] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,166,159,101,45,128,177,78,40,10,66,19,44,193,1,240,4,227,122,33,113,205,29,30,152,42,239,49,2,25,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-19 18:20:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620726702733787136,"timestamp_seconds":5620726702733787.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 18:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823101952001,"66":12537,"105":206,"83":41984,"24":0,"16":7219509312094208,"45":1737967274330003456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823101952001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:20:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:20:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219509312094208,"km_value":7219509312094.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274330003456,"description":"Unknown IO ID 45"} 
[2026-07-19 18:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823101952001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274330003456}} 
[2026-07-19 18:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":136839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:20:28] local.INFO: GPS data processed {"connection_id":136839,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:20:28] local.INFO: Acknowledgment sent {"connection_id":136839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:20:31] local.INFO: TCP Data received {"connection_id":137816,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:20:31] local.INFO: Processing buffer {"connection_id":137816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:20:31] local.INFO: IMEI packet received {"connection_id":137816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":137816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:20:36] local.INFO: TCP Data received {"connection_id":137816,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:20:36] local.INFO: Processing buffer {"connection_id":137816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:20:36] local.INFO: IMEI packet received {"connection_id":137816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":137816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:20:36] local.INFO: TCP Data received {"connection_id":137816,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:20:36] local.INFO: Processing buffer {"connection_id":137816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:20:36] local.INFO: Packet analysis {"connection_id":137816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:20:36] local.INFO: Extracted packet for processing {"connection_id":137816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823046144001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784465325000,"timestamp_ms":1784465325000,"timestamp_seconds":1784465325,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6bfbc8"} 
[2026-07-19 18:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823046144001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823046144001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:20:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:20:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823046144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":137816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:20:36] local.INFO: GPS data processed {"connection_id":137816,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:20:36] local.INFO: Acknowledgment sent {"connection_id":137816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:20:47] local.INFO: TCP Data received {"connection_id":137817,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137817,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:20:47] local.INFO: Processing buffer {"connection_id":137817,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:20:47] local.INFO: IMEI packet received {"connection_id":137817,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":137817,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:20:51] local.INFO: TCP Data received {"connection_id":136840,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:20:51] local.INFO: Processing buffer {"connection_id":136840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:20:51] local.INFO: IMEI packet received {"connection_id":136840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":136840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:20:51] local.INFO: TCP Data received {"connection_id":137815,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:20:51] local.INFO: Processing buffer {"connection_id":137815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:20:51] local.INFO: IMEI packet received {"connection_id":137815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 18:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":137815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:20:52] local.INFO: TCP Data received {"connection_id":137817,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137817,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:20:52] local.INFO: Processing buffer {"connection_id":137817,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:20:52] local.INFO: IMEI packet received {"connection_id":137817,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":137817,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:20:53] local.INFO: TCP Data received {"connection_id":137817,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6bf010012d7c0a8005bd49300005000620..."} 
[2026-07-19 18:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6bf010012d7c0a8005bd49300005000620..."} 
[2026-07-19 18:20:53] local.INFO: Processing buffer {"connection_id":137817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6bf010012d7c0a8005bd49300005000620..."} 
[2026-07-19 18:20:53] local.INFO: Packet analysis {"connection_id":137817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:20:53] local.INFO: Extracted packet for processing {"connection_id":137817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:20:53] local.INFO: GPS Element Parsed {"raw_longitude":763103872,"raw_latitude":96291120,"longitude_deg":76.3103872,"latitude_deg":9.629112,"altitude":5,"angle":6,"satellites":32,"speed":6,"hex_longitude":"2d7c0a80","hex_latitude":"05bd4930","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823121920001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108299193801506816,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938097172608968704,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784465322000,"timestamp_ms":1784465322000,"timestamp_seconds":1784465322,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6bf010"} 
[2026-07-19 18:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:20: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-07-19 18: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-19 18:20:53] 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-07-19 18: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-07-19 18:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":137817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":137817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":137817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823121920001,"66":13037,"197":206,"85":12544,"24":6,"16":108299193801506816,"45":8938097172608968704},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823121920001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:20:53] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:20:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108299193801506816,"km_value":108299193801506.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938097172608968704,"description":"Unknown IO ID 45"} 
[2026-07-19 18:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823121920001,"power":13037,"unknown_197":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":8938097172608968704}} 
[2026-07-19 18:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":137817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:20:53] local.INFO: GPS data processed {"connection_id":137817,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:20:53] local.INFO: Acknowledgment sent {"connection_id":137817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:20:56] local.INFO: TCP Data received {"connection_id":136840,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:20:56] local.INFO: Processing buffer {"connection_id":136840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:20:56] local.INFO: IMEI packet received {"connection_id":136840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":136840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:20:58] local.INFO: TCP Data received {"connection_id":136840,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6b3490012d181e000721b040004c00e32a..."} 
[2026-07-19 18:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6b3490012d181e000721b040004c00e32a..."} 
[2026-07-19 18:20:58] local.INFO: Processing buffer {"connection_id":136840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6b3490012d181e000721b040004c00e32a..."} 
[2026-07-19 18:20:58] local.INFO: Packet analysis {"connection_id":136840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:20:58] local.INFO: Extracted packet for processing {"connection_id":136840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:20:58] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648320,"longitude_deg":75.6555264,"latitude_deg":11.964832,"altitude":76,"angle":227,"satellites":42,"speed":1,"hex_longitude":"2d181e00","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-07-19 18:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823107328001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219526491963392,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274330003456,"note":"Value kept but may cause issues"} 
[2026-07-19 18:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784465274000,"timestamp_ms":1784465274000,"timestamp_seconds":1784465274,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6b3490"} 
[2026-07-19 18:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:20: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-07-19 18:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-19 18:20:58] 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-07-19 18:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823107328001,"66":12537,"105":206,"83":41984,"24":1,"16":7219526491963392,"45":1737967274330003456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823107328001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:20:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:20:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219526491963392,"km_value":7219526491963.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274330003456,"description":"Unknown IO ID 45"} 
[2026-07-19 18:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823107328001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1737967274330003456}} 
[2026-07-19 18:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":136840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:20:58] local.INFO: GPS data processed {"connection_id":136840,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:20:58] local.INFO: Acknowledgment sent {"connection_id":136840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:21:08] local.INFO: TCP Data received {"connection_id":137816,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:21:08] local.INFO: Processing buffer {"connection_id":137816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:21:08] local.INFO: Packet analysis {"connection_id":137816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:21:08] local.INFO: Extracted packet for processing {"connection_id":137816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823046144001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784465325000,"timestamp_ms":1784465325000,"timestamp_seconds":1784465325,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6bfbc8"} 
[2026-07-19 18:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:21: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-07-19 18: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-07-19 18:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823046144001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823046144001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:21:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:21:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823046144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":137816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:21:08] local.INFO: GPS data processed {"connection_id":137816,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:21:08] local.INFO: Acknowledgment sent {"connection_id":137816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:21:23] local.INFO: TCP Data received {"connection_id":137817,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6bf3f8012d7c0a8005bd49c80005001320..."} 
[2026-07-19 18:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6bf3f8012d7c0a8005bd49c80005001320..."} 
[2026-07-19 18:21:24] local.INFO: Processing buffer {"connection_id":137817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6bf3f8012d7c0a8005bd49c80005001320..."} 
[2026-07-19 18:21:24] local.INFO: Packet analysis {"connection_id":137817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:21:24] local.INFO: Extracted packet for processing {"connection_id":137817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:21:24] local.INFO: GPS Element Parsed {"raw_longitude":763103872,"raw_latitude":96291272,"longitude_deg":76.3103872,"latitude_deg":9.6291272,"altitude":5,"angle":19,"satellites":32,"speed":6,"hex_longitude":"2d7c0a80","hex_latitude":"05bd49c8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823122432001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108299202391441408,"note":"Value kept but may cause issues"} 
[2026-07-19 18:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938097172609052672,"note":"Value kept but may cause issues"} 
[2026-07-19 18:21: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-07-19 18:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784465323000,"timestamp_ms":1784465323000,"timestamp_seconds":1784465323,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6bf3f8"} 
[2026-07-19 18:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:21: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-07-19 18:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-19 18:21:24] 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-07-19 18: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-07-19 18:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":137817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":137817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":137817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823122432001,"66":11721,"197":206,"85":12544,"24":6,"16":108299202391441408,"45":8938097172609052672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823122432001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:21:24] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:21:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108299202391441408,"km_value":108299202391441.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938097172609052672,"description":"Unknown IO ID 45"} 
[2026-07-19 18:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823122432001,"power":11721,"unknown_197":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":8938097172609052672}} 
[2026-07-19 18:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":137817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:21:24] local.INFO: GPS data processed {"connection_id":137817,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:21:24] local.INFO: Acknowledgment sent {"connection_id":137817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:21:26] local.INFO: TCP Data received {"connection_id":137818,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:21:26] local.INFO: Processing buffer {"connection_id":137818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:21:26] local.INFO: IMEI packet received {"connection_id":137818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 18:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":137818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:21:31] local.INFO: TCP Data received {"connection_id":139195,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:21:31] local.INFO: Processing buffer {"connection_id":139195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:21:31] local.INFO: IMEI packet received {"connection_id":139195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":139195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:21:31] local.INFO: TCP Data received {"connection_id":136840,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6b3878012d181e000721b028004c00d52b..."} 
[2026-07-19 18:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6b3878012d181e000721b028004c00d52b..."} 
[2026-07-19 18:21:31] local.INFO: Processing buffer {"connection_id":136840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6b3878012d181e000721b028004c00d52b..."} 
[2026-07-19 18:21:31] local.INFO: Packet analysis {"connection_id":136840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:21:31] local.INFO: Extracted packet for processing {"connection_id":136840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:21:31] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648296,"longitude_deg":75.6555264,"latitude_deg":11.9648296,"altitude":76,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721b028","is_valid_coordinates":true} 
[2026-07-19 18:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823110144001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219526491963392,"note":"Value kept but may cause issues"} 
[2026-07-19 18:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841560064,"note":"Value kept but may cause issues"} 
[2026-07-19 18:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784465275000,"timestamp_ms":1784465275000,"timestamp_seconds":1784465275,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6b3878"} 
[2026-07-19 18:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:21: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-07-19 18:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-19 18:21:31] 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-07-19 18:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":136840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":136840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":136840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823110144001,"66":12537,"105":206,"83":41984,"24":0,"16":7219526491963392,"45":1737826536841560064},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823110144001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:21:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:21:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219526491963392,"km_value":7219526491963.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841560064,"description":"Unknown IO ID 45"} 
[2026-07-19 18:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823110144001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841560064}} 
[2026-07-19 18:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":136840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:21:31] local.INFO: GPS data processed {"connection_id":136840,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:21:31] local.INFO: Acknowledgment sent {"connection_id":136840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:21:36] local.INFO: TCP Data received {"connection_id":139195,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:21:36] local.INFO: Processing buffer {"connection_id":139195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:21:36] local.INFO: IMEI packet received {"connection_id":139195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":139195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:21:36] local.INFO: TCP Data received {"connection_id":139195,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:21:36] local.INFO: Processing buffer {"connection_id":139195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:21:36] local.INFO: Packet analysis {"connection_id":139195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:21:36] local.INFO: Extracted packet for processing {"connection_id":139195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823046144001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:21: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-07-19 18:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784465325000,"timestamp_ms":1784465325000,"timestamp_seconds":1784465325,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6bfbc8"} 
[2026-07-19 18:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:21: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-07-19 18:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823046144001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823046144001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:21:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:21:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823046144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":139195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:21:36] local.INFO: GPS data processed {"connection_id":139195,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:21:36] local.INFO: Acknowledgment sent {"connection_id":139195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:21:47] local.INFO: TCP Data received {"connection_id":136841,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:21:47] local.INFO: Processing buffer {"connection_id":136841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:21:47] local.INFO: IMEI packet received {"connection_id":136841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":136841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:21:51] local.INFO: TCP Data received {"connection_id":136738,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:21:51] local.INFO: Processing buffer {"connection_id":136738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:21:51] local.INFO: IMEI packet received {"connection_id":136738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":136738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:21:52] local.INFO: TCP Data received {"connection_id":136841,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:21:52] local.INFO: Processing buffer {"connection_id":136841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:21:52] local.INFO: IMEI packet received {"connection_id":136841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":136841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:21:53] local.INFO: TCP Data received {"connection_id":136841,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6c26c0012d7c0b0005bd4a88000500c620..."} 
[2026-07-19 18:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6c26c0012d7c0b0005bd4a88000500c620..."} 
[2026-07-19 18:21:53] local.INFO: Processing buffer {"connection_id":136841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6c26c0012d7c0b0005bd4a88000500c620..."} 
[2026-07-19 18:21:53] local.INFO: Packet analysis {"connection_id":136841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6c"} 
[2026-07-19 18:21:53] local.INFO: Extracted packet for processing {"connection_id":136841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6c"} 
[2026-07-19 18:21:53] local.INFO: GPS Element Parsed {"raw_longitude":763104000,"raw_latitude":96291464,"longitude_deg":76.3104,"latitude_deg":9.6291464,"altitude":5,"angle":198,"satellites":32,"speed":2,"hex_longitude":"2d7c0b00","hex_latitude":"05bd4a88","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823122688001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108299232456212480,"note":"Value kept but may cause issues"} 
[2026-07-19 18:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938097172609091584,"note":"Value kept but may cause issues"} 
[2026-07-19 18:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784465336000,"timestamp_ms":1784465336000,"timestamp_seconds":1784465336,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6c26c0"} 
[2026-07-19 18:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18: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-07-19 18: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-19 18:21:53] 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-07-19 18: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-07-19 18:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":136841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":136841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":136841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823122688001,"66":13243,"197":206,"85":12544,"24":2,"16":108299232456212480,"45":8938097172609091584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823122688001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:21:53] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:21:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108299232456212480,"km_value":108299232456212.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938097172609091584,"description":"Unknown IO ID 45"} 
[2026-07-19 18:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823122688001,"power":13243,"unknown_197":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":8938097172609091584}} 
[2026-07-19 18:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":136841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:21:53] local.INFO: GPS data processed {"connection_id":136841,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:21:53] local.INFO: Acknowledgment sent {"connection_id":136841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:21:55] local.INFO: TCP Data received {"connection_id":136738,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:21:55] local.INFO: Processing buffer {"connection_id":136738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:21:55] local.INFO: IMEI packet received {"connection_id":136738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":136738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:21:56] local.INFO: TCP Data received {"connection_id":136738,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6dc0e8012d182a4007219df80050008329..."} 
[2026-07-19 18:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6dc0e8012d182a4007219df80050008329..."} 
[2026-07-19 18:21:56] local.INFO: Processing buffer {"connection_id":136738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6dc0e8012d182a4007219df80050008329..."} 
[2026-07-19 18:21:56] local.INFO: Packet analysis {"connection_id":136738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6d"} 
[2026-07-19 18:21:56] local.INFO: Extracted packet for processing {"connection_id":136738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6d"} 
[2026-07-19 18:21:56] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643640,"longitude_deg":75.65584,"latitude_deg":11.964364,"altitude":80,"angle":131,"satellites":41,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219df8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 18:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823147520001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219822844706816,"note":"Value kept but may cause issues"} 
[2026-07-19 18:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305069568,"note":"Value kept but may cause issues"} 
[2026-07-19 18:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784465441000,"timestamp_ms":1784465441000,"timestamp_seconds":1784465441,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6dc0e8"} 
[2026-07-19 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-07-19 18:21: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-07-19 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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-19 18:21:56] 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-07-19 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-07-19 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-07-19 18:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823147520001,"66":14113,"105":206,"83":41984,"24":0,"16":7219822844706816,"45":1741274605305069568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823147520001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:21:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:21:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219822844706816,"km_value":7219822844706.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305069568,"description":"Unknown IO ID 45"} 
[2026-07-19 18:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823147520001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605305069568}} 
[2026-07-19 18:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":136738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:21:56] local.INFO: GPS data processed {"connection_id":136738,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:21:56] local.INFO: Acknowledgment sent {"connection_id":136738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:22:08] local.INFO: TCP Data received {"connection_id":139195,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:22:08] local.INFO: Processing buffer {"connection_id":139195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:22:08] local.INFO: Packet analysis {"connection_id":139195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:22:08] local.INFO: Extracted packet for processing {"connection_id":139195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823046144001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784465325000,"timestamp_ms":1784465325000,"timestamp_seconds":1784465325,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6bfbc8"} 
[2026-07-19 18:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:22: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-07-19 18:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:22: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-07-19 18:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823046144001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823046144001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:22:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823046144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":139195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:22:08] local.INFO: GPS data processed {"connection_id":139195,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:22:08] local.INFO: Acknowledgment sent {"connection_id":139195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:22:24] local.INFO: TCP Data received {"connection_id":136841,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6c3278012d7c0a8005bd4998000500d21f..."} 
[2026-07-19 18:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6c3278012d7c0a8005bd4998000500d21f..."} 
[2026-07-19 18:22:24] local.INFO: Processing buffer {"connection_id":136841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6c3278012d7c0a8005bd4998000500d21f..."} 
[2026-07-19 18:22:24] local.INFO: Packet analysis {"connection_id":136841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6c"} 
[2026-07-19 18:22:24] local.INFO: Extracted packet for processing {"connection_id":136841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6c"} 
[2026-07-19 18:22:24] local.INFO: GPS Element Parsed {"raw_longitude":763103872,"raw_latitude":96291224,"longitude_deg":76.3103872,"latitude_deg":9.6291224,"altitude":5,"angle":210,"satellites":31,"speed":3,"hex_longitude":"2d7c0a80","hex_latitude":"05bd4998","is_valid_coordinates":true} 
[2026-07-19 18:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823126016001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108299249636081664,"note":"Value kept but may cause issues"} 
[2026-07-19 18:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938237910097496064,"note":"Value kept but may cause issues"} 
[2026-07-19 18:22: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-07-19 18:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784465339000,"timestamp_ms":1784465339000,"timestamp_seconds":1784465339,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6c3278"} 
[2026-07-19 18:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:22: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-07-19 18:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-19 18:22:24] 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-07-19 18:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":136841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":136841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":136841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823126016001,"66":13254,"197":206,"85":12544,"24":3,"16":108299249636081664,"45":8938237910097496064},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823126016001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:22:24] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:22:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108299249636081664,"km_value":108299249636081.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938237910097496064,"description":"Unknown IO ID 45"} 
[2026-07-19 18:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823126016001,"power":13254,"unknown_197":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":8938237910097496064}} 
[2026-07-19 18:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":136841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:22:24] local.INFO: GPS data processed {"connection_id":136841,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:22:24] local.INFO: Acknowledgment sent {"connection_id":136841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:22:26] local.INFO: TCP Data received {"connection_id":136738,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6df798012d182f0007219a700051007729..."} 
[2026-07-19 18:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6df798012d182f0007219a700051007729..."} 
[2026-07-19 18:22:26] local.INFO: Processing buffer {"connection_id":136738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6df798012d182f0007219a700051007729..."} 
[2026-07-19 18:22:26] local.INFO: Packet analysis {"connection_id":136738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6d"} 
[2026-07-19 18:22:26] local.INFO: Extracted packet for processing {"connection_id":136738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6d"} 
[2026-07-19 18:22:26] local.INFO: GPS Element Parsed {"raw_longitude":756559616,"raw_latitude":119642736,"longitude_deg":75.6559616,"latitude_deg":11.9642736,"altitude":81,"angle":119,"satellites":41,"speed":13,"hex_longitude":"2d182f00","hex_latitude":"07219a70","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823152896001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7219895859150848,"note":"Value kept but may cause issues"} 
[2026-07-19 18:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305067520,"note":"Value kept but may cause issues"} 
[2026-07-19 18:22: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-07-19 18:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784465455000,"timestamp_ms":1784465455000,"timestamp_seconds":1784465455,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6df798"} 
[2026-07-19 18:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-19 18:22:26] 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-07-19 18: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-07-19 18:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":136738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":136738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":136738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823152896001,"66":14135,"105":206,"83":41984,"24":13,"16":7219895859150848,"45":1741274605305067520},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823152896001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:22:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:22:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7219895859150848,"km_value":7219895859150.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305067520,"description":"Unknown IO ID 45"} 
[2026-07-19 18:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823152896001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1741274605305067520}} 
[2026-07-19 18:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":136738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:22:26] local.INFO: GPS data processed {"connection_id":136738,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:22:26] local.INFO: Acknowledgment sent {"connection_id":136738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:22:31] local.INFO: TCP Data received {"connection_id":136740,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:22:31] local.INFO: Processing buffer {"connection_id":136740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:22:31] local.INFO: IMEI packet received {"connection_id":136740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":136740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:22:36] local.INFO: TCP Data received {"connection_id":136740,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:22:36] local.INFO: Processing buffer {"connection_id":136740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:22:36] local.INFO: IMEI packet received {"connection_id":136740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":136740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:22:36] local.INFO: TCP Data received {"connection_id":136740,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:22:36] local.INFO: Processing buffer {"connection_id":136740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:22:36] local.INFO: Packet analysis {"connection_id":136740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:22:36] local.INFO: Extracted packet for processing {"connection_id":136740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823046144001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:22: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-07-19 18:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784465325000,"timestamp_ms":1784465325000,"timestamp_seconds":1784465325,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6bfbc8"} 
[2026-07-19 18:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823046144001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823046144001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:22:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:22:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823046144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":136740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:22:37] local.INFO: GPS data processed {"connection_id":136740,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:22:37] local.INFO: Acknowledgment sent {"connection_id":136740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:22:47] local.INFO: TCP Data received {"connection_id":136842,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:22:47] local.INFO: Processing buffer {"connection_id":136842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:22:47] local.INFO: IMEI packet received {"connection_id":136842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":136842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:22:51] local.INFO: TCP Data received {"connection_id":137820,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:22:51] local.INFO: Processing buffer {"connection_id":137820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:22:51] local.INFO: IMEI packet received {"connection_id":137820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":137820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:22:51] local.INFO: TCP Data received {"connection_id":137820,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:22:51] local.INFO: Processing buffer {"connection_id":137820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:22:51] local.INFO: IMEI packet received {"connection_id":137820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":137820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:22:52] local.INFO: TCP Data received {"connection_id":136842,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:22:52] local.INFO: Processing buffer {"connection_id":136842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:22:52] local.INFO: IMEI packet received {"connection_id":136842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":136842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:22:53] local.INFO: TCP Data received {"connection_id":136842,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6c3660012d7c0a8005bd4960000500e91f..."} 
[2026-07-19 18:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6c3660012d7c0a8005bd4960000500e91f..."} 
[2026-07-19 18:22:53] local.INFO: Processing buffer {"connection_id":136842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6c3660012d7c0a8005bd4960000500e91f..."} 
[2026-07-19 18:22:53] local.INFO: Packet analysis {"connection_id":136842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6c"} 
[2026-07-19 18:22:53] local.INFO: Extracted packet for processing {"connection_id":136842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6c"} 
[2026-07-19 18:22:53] local.INFO: GPS Element Parsed {"raw_longitude":763103872,"raw_latitude":96291168,"longitude_deg":76.3103872,"latitude_deg":9.6291168,"altitude":5,"angle":233,"satellites":31,"speed":3,"hex_longitude":"2d7c0a80","hex_latitude":"05bd4960","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823126784001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108299249636081664,"note":"Value kept but may cause issues"} 
[2026-07-19 18:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938097172609079296,"note":"Value kept but may cause issues"} 
[2026-07-19 18:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784465340000,"timestamp_ms":1784465340000,"timestamp_seconds":1784465340,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6c3660"} 
[2026-07-19 18:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:22: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-07-19 18:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-19 18:22:53] 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-07-19 18: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-07-19 18:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":136842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":136842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":136842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823126784001,"66":13254,"197":206,"85":12544,"24":3,"16":108299249636081664,"45":8938097172609079296},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823126784001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:22:53] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:22:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108299249636081664,"km_value":108299249636081.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938097172609079296,"description":"Unknown IO ID 45"} 
[2026-07-19 18:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823126784001,"power":13254,"unknown_197":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":8938097172609079296}} 
[2026-07-19 18:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":136842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:22:53] local.INFO: GPS data processed {"connection_id":136842,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:22:53] local.INFO: Acknowledgment sent {"connection_id":136842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:22:56] local.INFO: TCP Data received {"connection_id":137820,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:22:56] local.INFO: Processing buffer {"connection_id":137820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:22:56] local.INFO: IMEI packet received {"connection_id":137820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":137820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:22:56] local.INFO: TCP Data received {"connection_id":137820,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6ed640012d18c5c007214090004500a828..."} 
[2026-07-19 18:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6ed640012d18c5c007214090004500a828..."} 
[2026-07-19 18:22:56] local.INFO: Processing buffer {"connection_id":137820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6ed640012d18c5c007214090004500a828..."} 
[2026-07-19 18:22:56] local.INFO: Packet analysis {"connection_id":137820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6e"} 
[2026-07-19 18:22:56] local.INFO: Extracted packet for processing {"connection_id":137820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6e"} 
[2026-07-19 18:22:56] local.INFO: GPS Element Parsed {"raw_longitude":756598208,"raw_latitude":119619728,"longitude_deg":75.6598208,"latitude_deg":11.9619728,"altitude":69,"angle":168,"satellites":40,"speed":35,"hex_longitude":"2d18c5c0","hex_latitude":"07214090","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823170560001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7222236616327168,"note":"Value kept but may cause issues"} 
[2026-07-19 18:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226689558528,"note":"Value kept but may cause issues"} 
[2026-07-19 18:22: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-07-19 18:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784465512000,"timestamp_ms":1784465512000,"timestamp_seconds":1784465512,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6ed640"} 
[2026-07-19 18:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-19 18:22: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-07-19 18: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-07-19 18:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823170560001,"66":14265,"103":206,"83":41984,"24":35,"16":7222236616327168,"45":1784903226689558528},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 18:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823170560001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:22:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 18:22:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7222236616327168,"km_value":7222236616327.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226689558528,"description":"Unknown IO ID 45"} 
[2026-07-19 18:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823170560001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1784903226689558528}} 
[2026-07-19 18:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":137820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:22:57] local.INFO: GPS data processed {"connection_id":137820,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:22:57] local.INFO: Acknowledgment sent {"connection_id":137820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:23:08] local.INFO: TCP Data received {"connection_id":136740,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:23:08] local.INFO: Processing buffer {"connection_id":136740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:23:08] local.INFO: Packet analysis {"connection_id":136740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:23:08] local.INFO: Extracted packet for processing {"connection_id":136740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823046144001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23: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-07-19 18:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784465325000,"timestamp_ms":1784465325000,"timestamp_seconds":1784465325,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6bfbc8"} 
[2026-07-19 18:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:23: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-07-19 18:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:23: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-07-19 18:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823046144001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823046144001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:23:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823046144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":136740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:23:08] local.INFO: GPS data processed {"connection_id":136740,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:23:08] local.INFO: Acknowledgment sent {"connection_id":136740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:23:23] local.INFO: TCP Data received {"connection_id":136842,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6c3a48012d7c0a0005bd4938000500fe1f..."} 
[2026-07-19 18:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6c3a48012d7c0a0005bd4938000500fe1f..."} 
[2026-07-19 18:23:24] local.INFO: Processing buffer {"connection_id":136842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6c3a48012d7c0a0005bd4938000500fe1f..."} 
[2026-07-19 18:23:24] local.INFO: Packet analysis {"connection_id":136842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6c"} 
[2026-07-19 18:23:24] local.INFO: Extracted packet for processing {"connection_id":136842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6c"} 
[2026-07-19 18:23:24] local.INFO: GPS Element Parsed {"raw_longitude":763103744,"raw_latitude":96291128,"longitude_deg":76.3103744,"latitude_deg":9.6291128,"altitude":5,"angle":254,"satellites":31,"speed":5,"hex_longitude":"2d7c0a00","hex_latitude":"05bd4938","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823127040001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108299258226016256,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938097172609064960,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23: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-07-19 18:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784465341000,"timestamp_ms":1784465341000,"timestamp_seconds":1784465341,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6c3a48"} 
[2026-07-19 18:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:23: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-07-19 18: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-19 18:23:24] 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-07-19 18: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-07-19 18:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":136842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":136842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":136842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823127040001,"66":13059,"197":206,"85":12544,"24":5,"16":108299258226016256,"45":8938097172609064960},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823127040001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:23:24] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:23:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108299258226016256,"km_value":108299258226016.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938097172609064960,"description":"Unknown IO ID 45"} 
[2026-07-19 18:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823127040001,"power":13059,"unknown_197":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":8938097172609064960}} 
[2026-07-19 18:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":136842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:23:24] local.INFO: GPS data processed {"connection_id":136842,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:23:24] local.INFO: Acknowledgment sent {"connection_id":136842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:23:27] local.INFO: TCP Data received {"connection_id":137820,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6ede10012d18c80007213a180044009827..."} 
[2026-07-19 18:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6ede10012d18c80007213a180044009827..."} 
[2026-07-19 18:23:27] local.INFO: Processing buffer {"connection_id":137820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6ede10012d18c80007213a180044009827..."} 
[2026-07-19 18:23:27] local.INFO: Packet analysis {"connection_id":137820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6e"} 
[2026-07-19 18:23:27] local.INFO: Extracted packet for processing {"connection_id":137820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6e"} 
[2026-07-19 18:23:27] local.INFO: GPS Element Parsed {"raw_longitude":756598784,"raw_latitude":119618072,"longitude_deg":75.6598784,"latitude_deg":11.9618072,"altitude":68,"angle":152,"satellites":39,"speed":34,"hex_longitude":"2d18c800","hex_latitude":"07213a18","is_valid_coordinates":true} 
[2026-07-19 18:23: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-07-19 18:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823171072001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7222322515673088,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785043964177453056,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23: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-07-19 18:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784465514000,"timestamp_ms":1784465514000,"timestamp_seconds":1784465514,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6ede10"} 
[2026-07-19 18:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18:23: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-07-19 18:23: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-07-19 18:23: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-07-19 18:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823171072001,"66":14233,"103":206,"83":41984,"24":34,"16":7222322515673088,"45":1785043964177453056},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 18:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823171072001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:23:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 18:23:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7222322515673088,"km_value":7222322515673.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785043964177453056,"description":"Unknown IO ID 45"} 
[2026-07-19 18:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823171072001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1785043964177453056}} 
[2026-07-19 18:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":137820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:23:27] local.INFO: GPS data processed {"connection_id":137820,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:23:27] local.INFO: Acknowledgment sent {"connection_id":137820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:23:30] local.INFO: TCP Data received {"connection_id":136843,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:23:30] local.INFO: Processing buffer {"connection_id":136843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:23:30] local.INFO: IMEI packet received {"connection_id":136843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":136843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:23:36] local.INFO: TCP Data received {"connection_id":136843,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:23:36] local.INFO: Processing buffer {"connection_id":136843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:23:36] local.INFO: IMEI packet received {"connection_id":136843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":136843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:23:36] local.INFO: TCP Data received {"connection_id":136843,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:23:36] local.INFO: Processing buffer {"connection_id":136843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:23:36] local.INFO: Packet analysis {"connection_id":136843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:23:36] local.INFO: Extracted packet for processing {"connection_id":136843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823046144001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784465325000,"timestamp_ms":1784465325000,"timestamp_seconds":1784465325,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6bfbc8"} 
[2026-07-19 18:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823046144001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823046144001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:23:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823046144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":136843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:23:36] local.INFO: GPS data processed {"connection_id":136843,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:23:36] local.INFO: Acknowledgment sent {"connection_id":136843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:23:47] local.INFO: TCP Data received {"connection_id":136844,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:23:47] local.INFO: Processing buffer {"connection_id":136844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:23:47] local.INFO: IMEI packet received {"connection_id":136844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":136844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:23:51] local.INFO: TCP Data received {"connection_id":136741,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:23:51] local.INFO: Processing buffer {"connection_id":136741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:23:51] local.INFO: IMEI packet received {"connection_id":136741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":136741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:23:52] local.INFO: TCP Data received {"connection_id":136844,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:23:52] local.INFO: Processing buffer {"connection_id":136844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:23:52] local.INFO: IMEI packet received {"connection_id":136844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":136844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:23:53] local.INFO: TCP Data received {"connection_id":136844,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6c49e8012d7c08c005bd49100005010120..."} 
[2026-07-19 18:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6c49e8012d7c08c005bd49100005010120..."} 
[2026-07-19 18:23:53] local.INFO: Processing buffer {"connection_id":136844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6c49e8012d7c08c005bd49100005010120..."} 
[2026-07-19 18:23:53] local.INFO: Packet analysis {"connection_id":136844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6c"} 
[2026-07-19 18:23:53] local.INFO: Extracted packet for processing {"connection_id":136844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6c"} 
[2026-07-19 18:23:53] local.INFO: GPS Element Parsed {"raw_longitude":763103424,"raw_latitude":96291088,"longitude_deg":76.3103424,"latitude_deg":9.6291088,"altitude":5,"angle":257,"satellites":32,"speed":2,"hex_longitude":"2d7c08c0","hex_latitude":"05bd4910","is_valid_coordinates":true} 
[2026-07-19 18:23: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-07-19 18:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823127296001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108299271110918144,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937956435120699392,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784465345000,"timestamp_ms":1784465345000,"timestamp_seconds":1784465345,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6c49e8"} 
[2026-07-19 18:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:23: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-07-19 18:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-19 18:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165193899430,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23:53] local.WARNING: Large IO value detected {"io_id":197,"raw_value":58077514145726471,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23:53] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2483027968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23:53] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3247112192,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23:53] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2147859785,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23:53] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252838,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797928654,"corrected_to":0} 
[2026-07-19 18:23:53] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,197,85,24,241,157,16,193,159,54,45,128,73,5,31,10,66,50,38,1,240,187,227,122,189,4,113,205,6,48,32,239,2,7],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2797928654,"validated":0}]} 
[2026-07-19 18:23:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360567379287408640,"timestamp_seconds":360567379287408.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 18:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":136844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":136844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":136844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823127296001,"66":12982,"197":206,"85":12544,"24":2,"16":108299271110918144,"45":8937956435120699392},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823127296001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:23:53] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:23:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108299271110918144,"km_value":108299271110918.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937956435120699392,"description":"Unknown IO ID 45"} 
[2026-07-19 18:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823127296001,"power":12982,"unknown_197":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":8937956435120699392}} 
[2026-07-19 18:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":136844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:23:53] local.INFO: GPS data processed {"connection_id":136844,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:23:53] local.INFO: Acknowledgment sent {"connection_id":136844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:23:53] local.INFO: TCP Data received {"connection_id":136741,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:23:53] local.INFO: Processing buffer {"connection_id":136741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:23:53] local.INFO: IMEI packet received {"connection_id":136741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":136741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:23:56] local.INFO: TCP Data received {"connection_id":136741,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:23:56] local.INFO: Processing buffer {"connection_id":136741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:23:56] local.INFO: IMEI packet received {"connection_id":136741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":136741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:23:57] local.INFO: TCP Data received {"connection_id":136741,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:23:57] local.INFO: Processing buffer {"connection_id":136741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:23:57] local.INFO: IMEI packet received {"connection_id":136741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":136741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:23:58] local.INFO: TCP Data received {"connection_id":136741,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6fa930012d1945800720af30002a006d23..."} 
[2026-07-19 18:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6fa930012d1945800720af30002a006d23..."} 
[2026-07-19 18:23:58] local.INFO: Processing buffer {"connection_id":136741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6fa930012d1945800720af30002a006d23..."} 
[2026-07-19 18:23:58] local.INFO: Packet analysis {"connection_id":136741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6f"} 
[2026-07-19 18:23:58] local.INFO: Extracted packet for processing {"connection_id":136741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6f"} 
[2026-07-19 18:23:58] local.INFO: GPS Element Parsed {"raw_longitude":756630912,"raw_latitude":119582512,"longitude_deg":75.6630912,"latitude_deg":11.9582512,"altitude":42,"angle":109,"satellites":35,"speed":45,"hex_longitude":"2d194580","hex_latitude":"0720af30","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823183872001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7224805006770176,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1816569161560104960,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784465566000,"timestamp_ms":1784465566000,"timestamp_seconds":1784465566,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6fa930"} 
[2026-07-19 18:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:23: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-07-19 18: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-19 18:23:58] 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-07-19 18: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-07-19 18:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823183872001,"66":14407,"103":206,"83":41984,"24":45,"16":7224805006770176,"45":1816569161560104960},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 18:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823183872001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:23:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 18:23:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7224805006770176,"km_value":7224805006770.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1816569161560104960,"description":"Unknown IO ID 45"} 
[2026-07-19 18:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823183872001,"power":14407,"unknown_103":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1816569161560104960}} 
[2026-07-19 18:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":136741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:23:58] local.INFO: GPS data processed {"connection_id":136741,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:23:58] local.INFO: Acknowledgment sent {"connection_id":136741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:23:59] local.INFO: TCP Data received {"connection_id":136741,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6fc0a0012d195a400720aaf80027006025..."} 
[2026-07-19 18:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6fc0a0012d195a400720aaf80027006025..."} 
[2026-07-19 18:23:59] local.INFO: Processing buffer {"connection_id":136741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6fc0a0012d195a400720aaf80027006025..."} 
[2026-07-19 18:23:59] local.INFO: Packet analysis {"connection_id":136741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6f"} 
[2026-07-19 18:23:59] local.INFO: Extracted packet for processing {"connection_id":136741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6f"} 
[2026-07-19 18:23:59] local.INFO: GPS Element Parsed {"raw_longitude":756636224,"raw_latitude":119581432,"longitude_deg":75.6636224,"latitude_deg":11.9581432,"altitude":39,"angle":96,"satellites":37,"speed":34,"hex_longitude":"2d195a40","hex_latitude":"0720aaf8","is_valid_coordinates":true} 
[2026-07-19 18:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823184896001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7225062704807936,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821002392442712064,"note":"Value kept but may cause issues"} 
[2026-07-19 18:23: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-07-19 18:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784465572000,"timestamp_ms":1784465572000,"timestamp_seconds":1784465572,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6fc0a0"} 
[2026-07-19 18:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:23: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-07-19 18:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-19 18:23:59] 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-07-19 18:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":136741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":136741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":136741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823184896001,"66":14233,"103":206,"83":41984,"24":34,"16":7225062704807936,"45":1821002392442712064},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 18:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823184896001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:23:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 18:23:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7225062704807936,"km_value":7225062704807.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821002392442712064,"description":"Unknown IO ID 45"} 
[2026-07-19 18:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823184896001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1821002392442712064}} 
[2026-07-19 18:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":136741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:23:59] local.INFO: GPS data processed {"connection_id":136741,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:23:59] local.INFO: Acknowledgment sent {"connection_id":136741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:24:08] local.INFO: TCP Data received {"connection_id":136843,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:24:08] local.INFO: Processing buffer {"connection_id":136843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6bfbc8012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:24:08] local.INFO: Packet analysis {"connection_id":136843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:24:08] local.INFO: Extracted packet for processing {"connection_id":136843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6b"} 
[2026-07-19 18:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823046144001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24: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-07-19 18:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784465325000,"timestamp_ms":1784465325000,"timestamp_seconds":1784465325,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6bfbc8"} 
[2026-07-19 18:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:24: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-07-19 18:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823046144001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823046144001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:24:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:24:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823046144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":136843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:24:08] local.INFO: GPS data processed {"connection_id":136843,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:24:08] local.INFO: Acknowledgment sent {"connection_id":136843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:24:24] local.INFO: TCP Data received {"connection_id":136844,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a6c49e8012d7c08c005bd49100005010120..."} 
[2026-07-19 18:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a6c49e8012d7c08c005bd49100005010120..."} 
[2026-07-19 18:24:24] local.INFO: Processing buffer {"connection_id":136844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a6c49e8012d7c08c005bd49100005010120..."} 
[2026-07-19 18:24:24] local.INFO: Packet analysis {"connection_id":136844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a6c"} 
[2026-07-19 18:24:24] local.INFO: Extracted packet for processing {"connection_id":136844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a6c"} 
[2026-07-19 18:24:24] local.INFO: GPS Element Parsed {"raw_longitude":763103424,"raw_latitude":96291088,"longitude_deg":76.3103424,"latitude_deg":9.6291088,"altitude":5,"angle":257,"satellites":32,"speed":2,"hex_longitude":"2d7c08c0","hex_latitude":"05bd4910","is_valid_coordinates":true} 
[2026-07-19 18:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823128320001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108299271110918144,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937604591399800832,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24: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-07-19 18:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784465345000,"timestamp_ms":1784465345000,"timestamp_seconds":1784465345,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a6c49e8"} 
[2026-07-19 18:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-19 18:24:24] 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-07-19 18:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":136844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":136844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":136844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823128320001,"66":12982,"197":206,"85":12544,"24":2,"16":108299271110918144,"45":8937604591399800832},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823128320001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:24:24] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:24:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108299271110918144,"km_value":108299271110918.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937604591399800832,"description":"Unknown IO ID 45"} 
[2026-07-19 18:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823128320001,"power":12982,"unknown_197":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":8937604591399800832}} 
[2026-07-19 18:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":136844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:24:24] local.INFO: GPS data processed {"connection_id":136844,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:24:24] local.INFO: Acknowledgment sent {"connection_id":136844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:24:30] local.INFO: TCP Data received {"connection_id":137822,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:24:30] local.INFO: Processing buffer {"connection_id":137822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:24:30] local.INFO: IMEI packet received {"connection_id":137822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":137822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:24:31] local.INFO: TCP Data received {"connection_id":136741,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7060c8012d19ae8007208c40002300ab24..."} 
[2026-07-19 18:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7060c8012d19ae8007208c40002300ab24..."} 
[2026-07-19 18:24:31] local.INFO: Processing buffer {"connection_id":136741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7060c8012d19ae8007208c40002300ab24..."} 
[2026-07-19 18:24:31] local.INFO: Packet analysis {"connection_id":136741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:24:31] local.INFO: Extracted packet for processing {"connection_id":136741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:24:31] local.INFO: GPS Element Parsed {"raw_longitude":756657792,"raw_latitude":119573568,"longitude_deg":75.6657792,"latitude_deg":11.9573568,"altitude":35,"angle":171,"satellites":36,"speed":31,"hex_longitude":"2d19ae80","hex_latitude":"07208c40","is_valid_coordinates":true} 
[2026-07-19 18:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823196416001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7226716267216896,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850627633739630592,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784465613000,"timestamp_ms":1784465613000,"timestamp_seconds":1784465613,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7060c8"} 
[2026-07-19 18:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:24: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-07-19 18:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-19 18:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":136741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":136741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":136741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823196416001,"66":14080,"103":206,"83":41984,"24":31,"16":7226716267216896,"45":1850627633739630592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 18:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823196416001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:24:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 18:24:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7226716267216896,"km_value":7226716267216.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850627633739630592,"description":"Unknown IO ID 45"} 
[2026-07-19 18:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823196416001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1850627633739630592}} 
[2026-07-19 18:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":136741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:24:31] local.INFO: GPS data processed {"connection_id":136741,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:24:31] local.INFO: Acknowledgment sent {"connection_id":136741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:24:36] local.INFO: TCP Data received {"connection_id":137822,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:24:36] local.INFO: Processing buffer {"connection_id":137822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:24:36] local.INFO: IMEI packet received {"connection_id":137822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":137822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:24:37] local.INFO: TCP Data received {"connection_id":137822,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:24:37] local.INFO: Processing buffer {"connection_id":137822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:24:37] local.INFO: Packet analysis {"connection_id":137822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:24:37] local.INFO: Extracted packet for processing {"connection_id":137822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823123200001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24: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-07-19 18:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784465626000,"timestamp_ms":1784465626000,"timestamp_seconds":1784465626,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a709390"} 
[2026-07-19 18:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823123200001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823123200001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:24:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823123200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":137822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:24:37] local.INFO: GPS data processed {"connection_id":137822,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:24:37] local.INFO: Acknowledgment sent {"connection_id":137822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:24:47] local.INFO: TCP Data received {"connection_id":139198,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:24:47] local.INFO: Processing buffer {"connection_id":139198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:24:47] local.INFO: IMEI packet received {"connection_id":139198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":139198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:24:51] local.INFO: TCP Data received {"connection_id":139199,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:24:51] local.INFO: Processing buffer {"connection_id":139199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:24:51] local.INFO: IMEI packet received {"connection_id":139199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":139199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:24:52] local.INFO: TCP Data received {"connection_id":139198,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:24:52] local.INFO: Processing buffer {"connection_id":139198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:24:52] local.INFO: IMEI packet received {"connection_id":139198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":139198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:24:53] local.INFO: TCP Data received {"connection_id":139198,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:24:53] local.INFO: Processing buffer {"connection_id":139198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:24:53] local.INFO: Packet analysis {"connection_id":139198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:24:53] local.INFO: Extracted packet for processing {"connection_id":139198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:24:53] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291104,"longitude_deg":76.310336,"latitude_deg":9.6291104,"altitude":5,"angle":260,"satellites":41,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4920","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823128320001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108299271110918144,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937604591399800832,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784465650000,"timestamp_ms":1784465650000,"timestamp_seconds":1784465650,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a70f150"} 
[2026-07-19 18:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:24: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-07-19 18: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-19 18:24:53] 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-07-19 18: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-07-19 18:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":139198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":139198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":139198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823128320001,"66":12939,"197":206,"85":12544,"24":0,"16":108299271110918144,"45":8937604591399800832},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823128320001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:24:53] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:24:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108299271110918144,"km_value":108299271110918.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937604591399800832,"description":"Unknown IO ID 45"} 
[2026-07-19 18:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823128320001,"power":12939,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937604591399800832}} 
[2026-07-19 18:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":139198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:24:53] local.INFO: GPS data processed {"connection_id":139198,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:24:53] local.INFO: Acknowledgment sent {"connection_id":139198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:24:56] local.INFO: TCP Data received {"connection_id":139199,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:24:56] local.INFO: Processing buffer {"connection_id":139199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:24:56] local.INFO: IMEI packet received {"connection_id":139199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":139199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:24:57] local.INFO: TCP Data received {"connection_id":139199,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a707c20012d19b500072071d00023009f25..."} 
[2026-07-19 18:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a707c20012d19b500072071d00023009f25..."} 
[2026-07-19 18:24:57] local.INFO: Processing buffer {"connection_id":139199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a707c20012d19b500072071d00023009f25..."} 
[2026-07-19 18:24:57] local.INFO: Packet analysis {"connection_id":139199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:24:57] local.INFO: Extracted packet for processing {"connection_id":139199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:24:57] local.INFO: GPS Element Parsed {"raw_longitude":756659456,"raw_latitude":119566800,"longitude_deg":75.6659456,"latitude_deg":11.95668,"altitude":35,"angle":159,"satellites":37,"speed":41,"hex_longitude":"2d19b500","hex_latitude":"072071d0","is_valid_coordinates":true} 
[2026-07-19 18:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823196928001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7227055569633280,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850557264995041280,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24: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-07-19 18:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784465620000,"timestamp_ms":1784465620000,"timestamp_seconds":1784465620,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a707c20"} 
[2026-07-19 18:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-19 18:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24:57] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2765094949,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 18:24:57] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24:57] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3221692582,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24:57] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2483080568,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2890727424,"note":"Value kept but may cause issues"} 
[2026-07-19 18:24:57] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,103,83,24,241,157,16,172,159,88,45,192,146,34,36,10,66,65,128,161,38,61,64,1,240,22,227,122,32,4,113,205,21,53,188,248,40,239,54,2,25,7,37],"length":479,"final_offset":609,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-19 18:24:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522203962436681728,"timestamp_seconds":2522203962436681.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 18:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823196928001,"66":14070,"103":206,"83":41984,"24":41,"16":7227055569633280,"45":1850557264995041280},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 18:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823196928001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:24:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 18:24:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7227055569633280,"km_value":7227055569633.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850557264995041280,"description":"Unknown IO ID 45"} 
[2026-07-19 18:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823196928001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1850557264995041280}} 
[2026-07-19 18:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":139199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:24:57] local.INFO: GPS data processed {"connection_id":139199,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:24:57] local.INFO: Acknowledgment sent {"connection_id":139199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:25:01] local.INFO: TCP Data received {"connection_id":139199,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a709390012d19bb80072059d8002300ad23..."} 
[2026-07-19 18:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a709390012d19bb80072059d8002300ad23..."} 
[2026-07-19 18:25:01] local.INFO: Processing buffer {"connection_id":139199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a709390012d19bb80072059d8002300ad23..."} 
[2026-07-19 18:25:01] local.INFO: Packet analysis {"connection_id":139199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:25:01] local.INFO: Extracted packet for processing {"connection_id":139199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:25:01] local.INFO: GPS Element Parsed {"raw_longitude":756661120,"raw_latitude":119560664,"longitude_deg":75.666112,"latitude_deg":11.9560664,"altitude":35,"angle":173,"satellites":35,"speed":43,"hex_longitude":"2d19bb80","hex_latitude":"072059d8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823198720001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7227364807278592,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852386852341927936,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784465626000,"timestamp_ms":1784465626000,"timestamp_seconds":1784465626,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a709390"} 
[2026-07-19 18:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:25: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-07-19 18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-19 18:25: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-07-19 18: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-07-19 18:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":139199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":139199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":139199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823198720001,"66":14341,"103":206,"83":41984,"24":43,"16":7227364807278592,"45":1852386852341927936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 18:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823198720001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:25:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 18:25:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7227364807278592,"km_value":7227364807278.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852386852341927936,"description":"Unknown IO ID 45"} 
[2026-07-19 18:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823198720001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1852386852341927936}} 
[2026-07-19 18:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":139199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:25:01] local.INFO: GPS data processed {"connection_id":139199,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:25:01] local.INFO: Acknowledgment sent {"connection_id":139199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:25:08] local.INFO: TCP Data received {"connection_id":137822,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:25:08] local.INFO: Processing buffer {"connection_id":137822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:25:08] local.INFO: Packet analysis {"connection_id":137822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:25:08] local.INFO: Extracted packet for processing {"connection_id":137822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823123200001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784465626000,"timestamp_ms":1784465626000,"timestamp_seconds":1784465626,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a709390"} 
[2026-07-19 18:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:25: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-07-19 18: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-07-19 18:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823123200001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823123200001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:25:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:25:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823123200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":137822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:25:08] local.INFO: GPS data processed {"connection_id":137822,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:25:08] local.INFO: Acknowledgment sent {"connection_id":137822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:25:24] local.INFO: TCP Data received {"connection_id":139198,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:25:24] local.INFO: Processing buffer {"connection_id":139198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:25:24] local.INFO: Packet analysis {"connection_id":139198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:25:24] local.INFO: Extracted packet for processing {"connection_id":139198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:25:24] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291104,"longitude_deg":76.310336,"latitude_deg":9.6291104,"altitude":5,"angle":260,"satellites":41,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4920","is_valid_coordinates":true} 
[2026-07-19 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-07-19 18:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823128320001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108299271110918144,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937604591399800832,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25: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-07-19 18:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784465650000,"timestamp_ms":1784465650000,"timestamp_seconds":1784465650,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a70f150"} 
[2026-07-19 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-07-19 18:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-19 18:25:24] 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-07-19 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-07-19 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-07-19 18:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":139198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":139198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":139198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823128320001,"66":12939,"197":206,"85":12544,"24":0,"16":108299271110918144,"45":8937604591399800832},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823128320001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:25:24] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:25:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108299271110918144,"km_value":108299271110918.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937604591399800832,"description":"Unknown IO ID 45"} 
[2026-07-19 18:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823128320001,"power":12939,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937604591399800832}} 
[2026-07-19 18:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":139198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:25:24] local.INFO: GPS data processed {"connection_id":139198,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:25:24] local.INFO: Acknowledgment sent {"connection_id":139198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:25:31] local.INFO: TCP Data received {"connection_id":136846,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:25:31] local.INFO: Processing buffer {"connection_id":136846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:25:31] local.INFO: IMEI packet received {"connection_id":136846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":136846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:25:32] local.INFO: TCP Data received {"connection_id":139199,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a70b6b8012d19bfc007203700002400a322..."} 
[2026-07-19 18:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a70b6b8012d19bfc007203700002400a322..."} 
[2026-07-19 18:25:32] local.INFO: Processing buffer {"connection_id":139199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a70b6b8012d19bfc007203700002400a322..."} 
[2026-07-19 18:25:32] local.INFO: Packet analysis {"connection_id":139199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:25:32] local.INFO: Extracted packet for processing {"connection_id":139199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:25:32] local.INFO: GPS Element Parsed {"raw_longitude":756662208,"raw_latitude":119551744,"longitude_deg":75.6662208,"latitude_deg":11.9551744,"altitude":36,"angle":163,"satellites":34,"speed":36,"hex_longitude":"2d19bfc0","hex_latitude":"07203700","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823200256001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7227798598975488,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854216439688976384,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784465635000,"timestamp_ms":1784465635000,"timestamp_seconds":1784465635,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a70b6b8"} 
[2026-07-19 18:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:25: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-07-19 18: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-19 18:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6970568757,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:32] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:32] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503709892673536,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:32] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2701131812,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-19 18:25:32] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:32] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2359492,"corrected_to":0} 
[2026-07-19 18:25:32] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2891513856,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:32] local.WARNING: Large IO value detected {"io_id":208,"raw_value":84752266456146086,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:32] local.WARNING: Large IO value detected {"io_id":248,"raw_value":10415240529319424,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:32] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,103,83,24,241,157,16,173,159,124,45,113,35,37,10,66,172,96,128,140,36,88,192,1,240,180,227,122,32,4,205,23,61,188,200,239,55,2,25,7,21,206,208,248],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":200,"original":2359492,"validated":0}]} 
[2026-07-19 18:25:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522206157165756416,"timestamp_seconds":2522206157165756.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 18:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":139199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":139199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":139199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823200256001,"66":14265,"103":206,"83":41984,"24":36,"16":7227798598975488,"45":1854216439688976384},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 18:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823200256001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:25:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 18:25:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7227798598975488,"km_value":7227798598975.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854216439688976384,"description":"Unknown IO ID 45"} 
[2026-07-19 18:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823200256001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1854216439688976384}} 
[2026-07-19 18:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":139199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:25:32] local.INFO: GPS data processed {"connection_id":139199,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:25:32] local.INFO: Acknowledgment sent {"connection_id":139199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:25:36] local.INFO: TCP Data received {"connection_id":136846,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:25:36] local.INFO: Processing buffer {"connection_id":136846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:25:36] local.INFO: IMEI packet received {"connection_id":136846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":136846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:25:36] local.INFO: TCP Data received {"connection_id":136846,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:25:36] local.INFO: Processing buffer {"connection_id":136846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:25:36] local.INFO: Packet analysis {"connection_id":136846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:25:36] local.INFO: Extracted packet for processing {"connection_id":136846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823123200001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784465626000,"timestamp_ms":1784465626000,"timestamp_seconds":1784465626,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a709390"} 
[2026-07-19 18:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:25:36] 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-07-19 18:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823123200001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823123200001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:25:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:25:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823123200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":136846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:25:36] local.INFO: GPS data processed {"connection_id":136846,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:25:36] local.INFO: Acknowledgment sent {"connection_id":136846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:25:47] local.INFO: TCP Data received {"connection_id":136743,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:25:47] local.INFO: Processing buffer {"connection_id":136743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:25:47] local.INFO: IMEI packet received {"connection_id":136743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":136743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:25:51] local.INFO: TCP Data received {"connection_id":136742,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:25:51] local.INFO: Processing buffer {"connection_id":136742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:25:51] local.INFO: IMEI packet received {"connection_id":136742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":136742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:25:52] local.INFO: TCP Data received {"connection_id":136743,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:25:52] local.INFO: Processing buffer {"connection_id":136743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:25:52] local.INFO: IMEI packet received {"connection_id":136743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":136743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:25:53] local.INFO: TCP Data received {"connection_id":136743,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:25:53] local.INFO: Processing buffer {"connection_id":136743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:25:53] local.INFO: Packet analysis {"connection_id":136743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:25:53] local.INFO: Extracted packet for processing {"connection_id":136743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:25:53] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291104,"longitude_deg":76.310336,"latitude_deg":9.6291104,"altitude":5,"angle":260,"satellites":41,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4920","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823128320001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108299271110918144,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937604591399800832,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784465650000,"timestamp_ms":1784465650000,"timestamp_seconds":1784465650,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a70f150"} 
[2026-07-19 18:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:25: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-07-19 18: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-19 18:25:53] 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-07-19 18: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-07-19 18:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":136743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":136743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":136743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823128320001,"66":12939,"197":206,"85":12544,"24":0,"16":108299271110918144,"45":8937604591399800832},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823128320001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:25:53] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:25:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108299271110918144,"km_value":108299271110918.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937604591399800832,"description":"Unknown IO ID 45"} 
[2026-07-19 18:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823128320001,"power":12939,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937604591399800832}} 
[2026-07-19 18:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":136743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:25:53] local.INFO: GPS data processed {"connection_id":136743,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:25:53] local.INFO: Acknowledgment sent {"connection_id":136743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:25:56] local.INFO: TCP Data received {"connection_id":136742,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:25:56] local.INFO: Processing buffer {"connection_id":136742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:25:56] local.INFO: IMEI packet received {"connection_id":136742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":136742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:25:57] local.INFO: TCP Data received {"connection_id":136742,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a719d30012d19f340071ffcc0002d005627..."} 
[2026-07-19 18:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a719d30012d19f340071ffcc0002d005627..."} 
[2026-07-19 18:25:57] local.INFO: Processing buffer {"connection_id":136742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a719d30012d19f340071ffcc0002d005627..."} 
[2026-07-19 18:25:57] local.INFO: Packet analysis {"connection_id":136742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a71"} 
[2026-07-19 18:25:57] local.INFO: Extracted packet for processing {"connection_id":136742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a71"} 
[2026-07-19 18:25:57] local.INFO: GPS Element Parsed {"raw_longitude":756675392,"raw_latitude":119536832,"longitude_deg":75.6675392,"latitude_deg":11.9536832,"altitude":45,"angle":86,"satellites":39,"speed":28,"hex_longitude":"2d19f340","hex_latitude":"071ffcc0","is_valid_coordinates":true} 
[2026-07-19 18:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823217408001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7228825096159232,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1869064244704339968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784465694000,"timestamp_ms":1784465694000,"timestamp_seconds":1784465694,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a719d30"} 
[2026-07-19 18:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-19 18:25:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:57] local.WARNING: Large IO value detected {"io_id":32,"raw_value":1463670063587993344,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:57] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6541479751973928967,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-19 18:25:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2924544000,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:57] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837560,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:57] local.WARNING: Large IO value detected {"io_id":109,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-07-19 18:25:57] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,174,159,149,45,192,252,44,39,10,66,145,64,253,141,128,1,240,185,227,122,32,4,113,205,25,226,239,55,2,7,43,109],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-19 18:25:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242698551840079872,"timestamp_seconds":3242698551840080.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 18:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823217408001,"66":14189,"101":206,"83":41984,"24":28,"16":7228825096159232,"45":1869064244704339968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 18:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823217408001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:25:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 18:25:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7228825096159232,"km_value":7228825096159.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1869064244704339968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823217408001,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1869064244704339968}} 
[2026-07-19 18:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":136742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:25:57] local.INFO: GPS data processed {"connection_id":136742,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:25:57] local.INFO: Acknowledgment sent {"connection_id":136742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:26:08] local.INFO: TCP Data received {"connection_id":136846,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:26:08] local.INFO: Processing buffer {"connection_id":136846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:26:08] local.INFO: Packet analysis {"connection_id":136846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:26:08] local.INFO: Extracted packet for processing {"connection_id":136846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823123200001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784465626000,"timestamp_ms":1784465626000,"timestamp_seconds":1784465626,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a709390"} 
[2026-07-19 18:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:26: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-07-19 18: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-07-19 18:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:26: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-07-19 18:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823123200001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823123200001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:26:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823123200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":136846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:26:08] local.INFO: GPS data processed {"connection_id":136846,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:26:08] local.INFO: Acknowledgment sent {"connection_id":136846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:26:24] local.INFO: TCP Data received {"connection_id":136743,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:26:24] local.INFO: Processing buffer {"connection_id":136743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:26:24] local.INFO: Packet analysis {"connection_id":136743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:26:24] local.INFO: Extracted packet for processing {"connection_id":136743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:26:24] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291104,"longitude_deg":76.310336,"latitude_deg":9.6291104,"altitude":5,"angle":260,"satellites":41,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4920","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823128320001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108299271110918144,"note":"Value kept but may cause issues"} 
[2026-07-19 18:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937604591399800832,"note":"Value kept but may cause issues"} 
[2026-07-19 18:26: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-07-19 18:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784465650000,"timestamp_ms":1784465650000,"timestamp_seconds":1784465650,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a70f150"} 
[2026-07-19 18:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-19 18:26:24] 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-07-19 18: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-07-19 18:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":136743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":136743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":136743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823128320001,"66":12939,"197":206,"85":12544,"24":0,"16":108299271110918144,"45":8937604591399800832},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823128320001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:26:24] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:26:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108299271110918144,"km_value":108299271110918.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937604591399800832,"description":"Unknown IO ID 45"} 
[2026-07-19 18:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823128320001,"power":12939,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937604591399800832}} 
[2026-07-19 18:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":136743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:26:24] local.INFO: GPS data processed {"connection_id":136743,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:26:24] local.INFO: Acknowledgment sent {"connection_id":136743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:26:28] local.INFO: TCP Data received {"connection_id":136742,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a71a8e8012d19fd00071ffcd8002d006528..."} 
[2026-07-19 18:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a71a8e8012d19fd00071ffcd8002d006528..."} 
[2026-07-19 18:26:28] local.INFO: Processing buffer {"connection_id":136742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a71a8e8012d19fd00071ffcd8002d006528..."} 
[2026-07-19 18:26:28] local.INFO: Packet analysis {"connection_id":136742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a71"} 
[2026-07-19 18:26:28] local.INFO: Extracted packet for processing {"connection_id":136742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a71"} 
[2026-07-19 18:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756677888,"raw_latitude":119536856,"longitude_deg":75.6677888,"latitude_deg":11.9536856,"altitude":45,"angle":101,"satellites":40,"speed":31,"hex_longitude":"2d19fd00","hex_latitude":"071ffcd8","is_valid_coordinates":true} 
[2026-07-19 18:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823217664001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7228941060276224,"note":"Value kept but may cause issues"} 
[2026-07-19 18:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1869908669634494464,"note":"Value kept but may cause issues"} 
[2026-07-19 18:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784465697000,"timestamp_ms":1784465697000,"timestamp_seconds":1784465697,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a71a8e8"} 
[2026-07-19 18:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-19 18:26:28] 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-07-19 18:26:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823217664001,"66":14243,"101":206,"83":41984,"24":31,"16":7228941060276224,"45":1869908669634494464},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 18:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823217664001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:26:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 18:26:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7228941060276224,"km_value":7228941060276.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1869908669634494464,"description":"Unknown IO ID 45"} 
[2026-07-19 18:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823217664001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1869908669634494464}} 
[2026-07-19 18:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":136742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:26:28] local.INFO: GPS data processed {"connection_id":136742,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:26:28] local.INFO: Acknowledgment sent {"connection_id":136742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:26:30] local.INFO: TCP Data received {"connection_id":136847,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:26:30] local.INFO: Processing buffer {"connection_id":136847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:26:30] local.INFO: IMEI packet received {"connection_id":136847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":136847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:26:36] local.INFO: TCP Data received {"connection_id":136847,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:26:36] local.INFO: Processing buffer {"connection_id":136847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:26:36] local.INFO: IMEI packet received {"connection_id":136847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":136847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:26:37] local.INFO: TCP Data received {"connection_id":136847,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:26:37] local.INFO: Processing buffer {"connection_id":136847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:26:37] local.INFO: Packet analysis {"connection_id":136847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:26:37] local.INFO: Extracted packet for processing {"connection_id":136847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823123200001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:26: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-07-19 18:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784465626000,"timestamp_ms":1784465626000,"timestamp_seconds":1784465626,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a709390"} 
[2026-07-19 18:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823123200001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823123200001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:26:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823123200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":136847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:26:37] local.INFO: GPS data processed {"connection_id":136847,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:26:37] local.INFO: Acknowledgment sent {"connection_id":136847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:26:48] local.INFO: TCP Data received {"connection_id":136744,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:26:48] local.INFO: Processing buffer {"connection_id":136744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:26:48] local.INFO: IMEI packet received {"connection_id":136744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":136744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:26:51] local.INFO: TCP Data received {"connection_id":136744,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:26:51] local.INFO: Processing buffer {"connection_id":136744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:26:51] local.INFO: IMEI packet received {"connection_id":136744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":136744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:26:52] local.INFO: TCP Data received {"connection_id":137824,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:26:52] local.INFO: Processing buffer {"connection_id":137824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:26:52] local.INFO: IMEI packet received {"connection_id":137824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":137824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:26:56] local.INFO: TCP Data received {"connection_id":136744,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:26:56] local.INFO: Processing buffer {"connection_id":136744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:26:56] local.INFO: IMEI packet received {"connection_id":136744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":136744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:26:56] local.INFO: TCP Data received {"connection_id":136744,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a72aea0012d1ac140071f94480030007420..."} 
[2026-07-19 18:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a72aea0012d1ac140071f94480030007420..."} 
[2026-07-19 18:26:56] local.INFO: Processing buffer {"connection_id":136744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a72aea0012d1ac140071f94480030007420..."} 
[2026-07-19 18:26:56] local.INFO: Packet analysis {"connection_id":136744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a72"} 
[2026-07-19 18:26:56] local.INFO: Extracted packet for processing {"connection_id":136744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a72"} 
[2026-07-19 18:26:56] local.INFO: GPS Element Parsed {"raw_longitude":756728128,"raw_latitude":119510088,"longitude_deg":75.6728128,"latitude_deg":11.9510088,"altitude":48,"angle":116,"satellites":32,"speed":29,"hex_longitude":"2d1ac140","hex_latitude":"071f9448","is_valid_coordinates":true} 
[2026-07-19 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-07-19 18:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823233536001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7231784328626176,"note":"Value kept but may cause issues"} 
[2026-07-19 18:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920714902924288000,"note":"Value kept but may cause issues"} 
[2026-07-19 18:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784465764000,"timestamp_ms":1784465764000,"timestamp_seconds":1784465764,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a72aea0"} 
[2026-07-19 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-07-19 18:26: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-07-19 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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-19 18:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 18:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823233536001,"66":14048,"101":206,"83":41984,"24":29,"16":7231784328626176,"45":1920714902924288000},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 18:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823233536001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:26:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 18:26:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7231784328626176,"km_value":7231784328626.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920714902924288000,"description":"Unknown IO ID 45"} 
[2026-07-19 18:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823233536001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1920714902924288000}} 
[2026-07-19 18:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":136744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:26:56] local.INFO: GPS data processed {"connection_id":136744,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:26:56] local.INFO: Acknowledgment sent {"connection_id":136744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:26:57] local.INFO: TCP Data received {"connection_id":137824,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:26:57] local.INFO: Processing buffer {"connection_id":137824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:26:57] local.INFO: IMEI packet received {"connection_id":137824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":137824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:26:58] local.INFO: TCP Data received {"connection_id":137824,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:26:58] local.INFO: Processing buffer {"connection_id":137824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:26:58] local.INFO: Packet analysis {"connection_id":137824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:26:58] local.INFO: Extracted packet for processing {"connection_id":137824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:26:58] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291104,"longitude_deg":76.310336,"latitude_deg":9.6291104,"altitude":5,"angle":260,"satellites":41,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4920","is_valid_coordinates":true} 
[2026-07-19 18:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823128320001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108299271110918144,"note":"Value kept but may cause issues"} 
[2026-07-19 18:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937604591399800832,"note":"Value kept but may cause issues"} 
[2026-07-19 18:26: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-07-19 18:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784465650000,"timestamp_ms":1784465650000,"timestamp_seconds":1784465650,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a70f150"} 
[2026-07-19 18:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:26: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-07-19 18: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-19 18:26:58] 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-07-19 18: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-07-19 18:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":137824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":137824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":137824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823128320001,"66":12939,"197":206,"85":12544,"24":0,"16":108299271110918144,"45":8937604591399800832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823128320001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:26:58] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:26:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108299271110918144,"km_value":108299271110918.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937604591399800832,"description":"Unknown IO ID 45"} 
[2026-07-19 18:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823128320001,"power":12939,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937604591399800832}} 
[2026-07-19 18:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":137824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:26:58] local.INFO: GPS data processed {"connection_id":137824,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:26:58] local.INFO: Acknowledgment sent {"connection_id":137824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:27:08] local.INFO: TCP Data received {"connection_id":136847,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:27:08] local.INFO: Processing buffer {"connection_id":136847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:27:08] local.INFO: Packet analysis {"connection_id":136847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:27:08] local.INFO: Extracted packet for processing {"connection_id":136847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823123200001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784465626000,"timestamp_ms":1784465626000,"timestamp_seconds":1784465626,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a709390"} 
[2026-07-19 18:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823123200001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823123200001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:27:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:27:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823123200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":136847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:27:08] local.INFO: GPS data processed {"connection_id":136847,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:27:08] local.INFO: Acknowledgment sent {"connection_id":136847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:27:26] local.INFO: TCP Data received {"connection_id":136745,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136745,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:27:26] local.INFO: Processing buffer {"connection_id":136745,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:27:26] local.INFO: IMEI packet received {"connection_id":136745,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 18:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":136745,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:27:28] local.INFO: TCP Data received {"connection_id":136744,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a72b670012d1ac580071f91200031008b22..."} 
[2026-07-19 18:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a72b670012d1ac580071f91200031008b22..."} 
[2026-07-19 18:27:28] local.INFO: Processing buffer {"connection_id":136744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a72b670012d1ac580071f91200031008b22..."} 
[2026-07-19 18:27:28] local.INFO: Packet analysis {"connection_id":136744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a72"} 
[2026-07-19 18:27:28] local.INFO: Extracted packet for processing {"connection_id":136744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a72"} 
[2026-07-19 18:27:28] local.INFO: GPS Element Parsed {"raw_longitude":756729216,"raw_latitude":119509280,"longitude_deg":75.6729216,"latitude_deg":11.950928,"altitude":49,"angle":139,"satellites":34,"speed":25,"hex_longitude":"2d1ac580","hex_latitude":"071f9120","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823235584001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7231848753135616,"note":"Value kept but may cause issues"} 
[2026-07-19 18:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927892514830043136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784465766000,"timestamp_ms":1784465766000,"timestamp_seconds":1784465766,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a72b670"} 
[2026-07-19 18:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18: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":224,"data_length":795,"current_offset":136} 
[2026-07-19 18:27: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-07-19 18: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-07-19 18:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823235584001,"66":12950,"101":206,"83":41984,"24":25,"16":7231848753135616,"45":1927892514830043136},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 18:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823235584001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:27:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 18:27:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7231848753135616,"km_value":7231848753135.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927892514830043136,"description":"Unknown IO ID 45"} 
[2026-07-19 18:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823235584001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1927892514830043136}} 
[2026-07-19 18:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":136744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:27:28] local.INFO: GPS data processed {"connection_id":136744,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:27:28] local.INFO: Acknowledgment sent {"connection_id":136744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:27:29] local.INFO: TCP Data received {"connection_id":137824,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:27:29] local.INFO: Processing buffer {"connection_id":137824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:27:29] local.INFO: Packet analysis {"connection_id":137824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:27:29] local.INFO: Extracted packet for processing {"connection_id":137824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:27:29] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291104,"longitude_deg":76.310336,"latitude_deg":9.6291104,"altitude":5,"angle":260,"satellites":41,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4920","is_valid_coordinates":true} 
[2026-07-19 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-07-19 18:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823128320001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108299271110918144,"note":"Value kept but may cause issues"} 
[2026-07-19 18:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937604591399800832,"note":"Value kept but may cause issues"} 
[2026-07-19 18:27: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-07-19 18:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784465650000,"timestamp_ms":1784465650000,"timestamp_seconds":1784465650,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a70f150"} 
[2026-07-19 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-07-19 18:27: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-07-19 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-19 18:27: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-07-19 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-07-19 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-07-19 18:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":137824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":137824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":137824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823128320001,"66":12939,"197":206,"85":12544,"24":0,"16":108299271110918144,"45":8937604591399800832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823128320001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:27:29] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:27:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108299271110918144,"km_value":108299271110918.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937604591399800832,"description":"Unknown IO ID 45"} 
[2026-07-19 18:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823128320001,"power":12939,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937604591399800832}} 
[2026-07-19 18:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":137824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:27:29] local.INFO: GPS data processed {"connection_id":137824,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:27:29] local.INFO: Acknowledgment sent {"connection_id":137824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:27:30] local.INFO: TCP Data received {"connection_id":136848,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:27:30] local.INFO: Processing buffer {"connection_id":136848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:27:30] local.INFO: IMEI packet received {"connection_id":136848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":136848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:27:36] local.INFO: TCP Data received {"connection_id":136848,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:27:36] local.INFO: Processing buffer {"connection_id":136848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:27:36] local.INFO: IMEI packet received {"connection_id":136848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":136848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:27:37] local.INFO: TCP Data received {"connection_id":136848,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:27:37] local.INFO: Processing buffer {"connection_id":136848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:27:37] local.INFO: Packet analysis {"connection_id":136848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:27:37] local.INFO: Extracted packet for processing {"connection_id":136848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823123200001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:27: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-07-19 18:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784465626000,"timestamp_ms":1784465626000,"timestamp_seconds":1784465626,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a709390"} 
[2026-07-19 18:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:27: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-07-19 18:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823123200001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823123200001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:27:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823123200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":136848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:27:37] local.INFO: GPS data processed {"connection_id":136848,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:27:37] local.INFO: Acknowledgment sent {"connection_id":136848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:27:47] local.INFO: TCP Data received {"connection_id":136746,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:27:47] local.INFO: Processing buffer {"connection_id":136746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:27:47] local.INFO: IMEI packet received {"connection_id":136746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":136746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:27:51] local.INFO: TCP Data received {"connection_id":136849,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:27:51] local.INFO: Processing buffer {"connection_id":136849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:27:51] local.INFO: IMEI packet received {"connection_id":136849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":136849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:27:51] local.INFO: TCP Data received {"connection_id":136849,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:27:51] local.INFO: Processing buffer {"connection_id":136849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:27:51] local.INFO: IMEI packet received {"connection_id":136849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":136849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:27:52] local.INFO: TCP Data received {"connection_id":136746,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:27:52] local.INFO: Processing buffer {"connection_id":136746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:27:52] local.INFO: IMEI packet received {"connection_id":136746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":136746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:27:53] local.INFO: TCP Data received {"connection_id":136746,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:27:53] local.INFO: Processing buffer {"connection_id":136746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:27:53] local.INFO: Packet analysis {"connection_id":136746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:27:53] local.INFO: Extracted packet for processing {"connection_id":136746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:27:53] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291104,"longitude_deg":76.310336,"latitude_deg":9.6291104,"altitude":5,"angle":260,"satellites":41,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4920","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823128320001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108299271110918144,"note":"Value kept but may cause issues"} 
[2026-07-19 18:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937604591399800832,"note":"Value kept but may cause issues"} 
[2026-07-19 18:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784465650000,"timestamp_ms":1784465650000,"timestamp_seconds":1784465650,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a70f150"} 
[2026-07-19 18:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:27: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-07-19 18: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-19 18:27:53] 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-07-19 18: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-07-19 18:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":136746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":136746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":136746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823128320001,"66":12939,"197":206,"85":12544,"24":0,"16":108299271110918144,"45":8937604591399800832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823128320001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:27:53] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:27:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108299271110918144,"km_value":108299271110918.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937604591399800832,"description":"Unknown IO ID 45"} 
[2026-07-19 18:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823128320001,"power":12939,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937604591399800832}} 
[2026-07-19 18:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":136746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:27:53] local.INFO: GPS data processed {"connection_id":136746,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:27:53] local.INFO: Acknowledgment sent {"connection_id":136746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:27:56] local.INFO: TCP Data received {"connection_id":136849,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:27:56] local.INFO: Processing buffer {"connection_id":136849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:27:56] local.INFO: IMEI packet received {"connection_id":136849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":136849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:27:56] local.INFO: TCP Data received {"connection_id":136849,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a72ba58012d1ac6c0071f8f080031009821..."} 
[2026-07-19 18:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a72ba58012d1ac6c0071f8f080031009821..."} 
[2026-07-19 18:27:56] local.INFO: Processing buffer {"connection_id":136849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a72ba58012d1ac6c0071f8f080031009821..."} 
[2026-07-19 18:27:56] local.INFO: Packet analysis {"connection_id":136849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a72"} 
[2026-07-19 18:27:56] local.INFO: Extracted packet for processing {"connection_id":136849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a72"} 
[2026-07-19 18:27:56] local.INFO: GPS Element Parsed {"raw_longitude":756729536,"raw_latitude":119508744,"longitude_deg":75.6729536,"latitude_deg":11.9508744,"altitude":49,"angle":152,"satellites":33,"speed":25,"hex_longitude":"2d1ac6c0","hex_latitude":"071f8f08","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823236096001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7231878817906688,"note":"Value kept but may cause issues"} 
[2026-07-19 18:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929088783480856576,"note":"Value kept but may cause issues"} 
[2026-07-19 18:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784465767000,"timestamp_ms":1784465767000,"timestamp_seconds":1784465767,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a72ba58"} 
[2026-07-19 18:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:27: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-07-19 18: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-19 18:27:56] 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-07-19 18: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-07-19 18:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823236096001,"66":12950,"101":206,"83":41984,"24":25,"16":7231878817906688,"45":1929088783480856576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 18:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823236096001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:27:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 18:27:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7231878817906688,"km_value":7231878817906.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929088783480856576,"description":"Unknown IO ID 45"} 
[2026-07-19 18:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823236096001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1929088783480856576}} 
[2026-07-19 18:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":136849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:27:57] local.INFO: GPS data processed {"connection_id":136849,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:27:57] local.INFO: Acknowledgment sent {"connection_id":136849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:28:08] local.INFO: TCP Data received {"connection_id":136848,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:28:08] local.INFO: Processing buffer {"connection_id":136848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:28:08] local.INFO: Packet analysis {"connection_id":136848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:28:08] local.INFO: Extracted packet for processing {"connection_id":136848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823123200001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784465626000,"timestamp_ms":1784465626000,"timestamp_seconds":1784465626,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a709390"} 
[2026-07-19 18:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:28: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-07-19 18: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-07-19 18:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18: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-07-19 18:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823123200001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823123200001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:28:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823123200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":136848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:28:08] local.INFO: GPS data processed {"connection_id":136848,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:28:08] local.INFO: Acknowledgment sent {"connection_id":136848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:28:27] local.INFO: TCP Data received {"connection_id":136746,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:28:27] local.INFO: Processing buffer {"connection_id":136746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:28:27] local.INFO: Packet analysis {"connection_id":136746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:28:27] local.INFO: Extracted packet for processing {"connection_id":136746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:28:27] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291104,"longitude_deg":76.310336,"latitude_deg":9.6291104,"altitude":5,"angle":260,"satellites":41,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4920","is_valid_coordinates":true} 
[2026-07-19 18:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823128320001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108299271110918144,"note":"Value kept but may cause issues"} 
[2026-07-19 18:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937604591399800832,"note":"Value kept but may cause issues"} 
[2026-07-19 18:28:27] 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-07-19 18:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784465650000,"timestamp_ms":1784465650000,"timestamp_seconds":1784465650,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a70f150"} 
[2026-07-19 18:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-19 18:28:27] 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-07-19 18:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823128320001,"66":12939,"197":206,"85":12544,"24":0,"16":108299271110918144,"45":8937604591399800832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823128320001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:28:27] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:28:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108299271110918144,"km_value":108299271110918.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937604591399800832,"description":"Unknown IO ID 45"} 
[2026-07-19 18:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823128320001,"power":12939,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937604591399800832}} 
[2026-07-19 18:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":136746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:28:27] local.INFO: GPS data processed {"connection_id":136746,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:28:27] local.INFO: Acknowledgment sent {"connection_id":136746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:28:27] local.INFO: TCP Data received {"connection_id":136849,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7440f8012d1af400071f4348004a007324..."} 
[2026-07-19 18:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7440f8012d1af400071f4348004a007324..."} 
[2026-07-19 18:28:27] local.INFO: Processing buffer {"connection_id":136849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7440f8012d1af400071f4348004a007324..."} 
[2026-07-19 18:28:27] local.INFO: Packet analysis {"connection_id":136849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a74"} 
[2026-07-19 18:28:27] local.INFO: Extracted packet for processing {"connection_id":136849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a74"} 
[2026-07-19 18:28:27] local.INFO: GPS Element Parsed {"raw_longitude":756741120,"raw_latitude":119489352,"longitude_deg":75.674112,"latitude_deg":11.9489352,"altitude":74,"angle":115,"satellites":36,"speed":25,"hex_longitude":"2d1af400","hex_latitude":"071f4348","is_valid_coordinates":true} 
[2026-07-19 18:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823261696001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7233536675282944,"note":"Value kept but may cause issues"} 
[2026-07-19 18:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1941473682451083264,"note":"Value kept but may cause issues"} 
[2026-07-19 18:28: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-07-19 18:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784465867000,"timestamp_ms":1784465867000,"timestamp_seconds":1784465867,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7440f8"} 
[2026-07-19 18:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:28: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-07-19 18:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-19 18:28:27] 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-07-19 18:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823261696001,"66":14233,"101":206,"83":41984,"24":25,"16":7233536675282944,"45":1941473682451083264},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 18:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823261696001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:28:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 18:28:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7233536675282944,"km_value":7233536675282.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1941473682451083264,"description":"Unknown IO ID 45"} 
[2026-07-19 18:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823261696001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1941473682451083264}} 
[2026-07-19 18:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":136849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:28:28] local.INFO: GPS data processed {"connection_id":136849,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:28:28] local.INFO: Acknowledgment sent {"connection_id":136849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:28:36] local.INFO: TCP Data received {"connection_id":136747,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:28:36] local.INFO: Processing buffer {"connection_id":136747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:28:36] local.INFO: IMEI packet received {"connection_id":136747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":136747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:28:37] local.INFO: TCP Data received {"connection_id":136747,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:28:37] local.INFO: Processing buffer {"connection_id":136747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:28:37] local.INFO: Packet analysis {"connection_id":136747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:28:37] local.INFO: Extracted packet for processing {"connection_id":136747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823123200001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:28: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-07-19 18:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784465626000,"timestamp_ms":1784465626000,"timestamp_seconds":1784465626,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a709390"} 
[2026-07-19 18:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823123200001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823123200001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:28:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823123200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":136747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:28:37] local.INFO: GPS data processed {"connection_id":136747,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:28:37] local.INFO: Acknowledgment sent {"connection_id":136747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:28:47] local.INFO: TCP Data received {"connection_id":139200,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:28:47] local.INFO: Processing buffer {"connection_id":139200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:28:47] local.INFO: IMEI packet received {"connection_id":139200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":139200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:28:53] local.INFO: TCP Data received {"connection_id":139200,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:28:53] local.INFO: Processing buffer {"connection_id":139200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:28:53] local.INFO: IMEI packet received {"connection_id":139200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":139200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:28:54] local.INFO: TCP Data received {"connection_id":139200,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:28:54] local.INFO: Processing buffer {"connection_id":139200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a70f150012d7c088005bd49200005010429..."} 
[2026-07-19 18:28:54] local.INFO: Packet analysis {"connection_id":139200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:28:54] local.INFO: Extracted packet for processing {"connection_id":139200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:28:54] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291104,"longitude_deg":76.310336,"latitude_deg":9.6291104,"altitude":5,"angle":260,"satellites":41,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4920","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823128320001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108299271110918144,"note":"Value kept but may cause issues"} 
[2026-07-19 18:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937604591399800832,"note":"Value kept but may cause issues"} 
[2026-07-19 18:28:54] 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-07-19 18:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784465650000,"timestamp_ms":1784465650000,"timestamp_seconds":1784465650,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a70f150"} 
[2026-07-19 18:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-19 18:28:54] 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-07-19 18: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-07-19 18:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":139200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":139200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":139200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823128320001,"66":12939,"197":206,"85":12544,"24":0,"16":108299271110918144,"45":8937604591399800832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823128320001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:28:54] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:28:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108299271110918144,"km_value":108299271110918.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937604591399800832,"description":"Unknown IO ID 45"} 
[2026-07-19 18:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823128320001,"power":12939,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937604591399800832}} 
[2026-07-19 18:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":139200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:28:54] local.INFO: GPS data processed {"connection_id":139200,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:28:54] local.INFO: Acknowledgment sent {"connection_id":139200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:29:08] local.INFO: TCP Data received {"connection_id":136747,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:29:08] local.INFO: Processing buffer {"connection_id":136747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a709390012d34c50006aa4dd8000800952a..."} 
[2026-07-19 18:29:08] local.INFO: Packet analysis {"connection_id":136747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:29:08] local.INFO: Extracted packet for processing {"connection_id":136747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a70"} 
[2026-07-19 18:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823123200001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:29: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-07-19 18:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784465626000,"timestamp_ms":1784465626000,"timestamp_seconds":1784465626,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a709390"} 
[2026-07-19 18:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:29: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-07-19 18: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-07-19 18:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:29: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-07-19 18:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823123200001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823123200001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:29:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:29:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823123200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":136747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:29:08] local.INFO: GPS data processed {"connection_id":136747,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:29:08] local.INFO: Acknowledgment sent {"connection_id":136747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:29:24] local.INFO: TCP Data received {"connection_id":136852,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:29:24] local.INFO: Processing buffer {"connection_id":136852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:29:24] local.INFO: IMEI packet received {"connection_id":136852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":136852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:29:25] local.INFO: TCP Data received {"connection_id":139200,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a756dc0012d7c088005bd49200005010427..."} 
[2026-07-19 18:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a756dc0012d7c088005bd49200005010427..."} 
[2026-07-19 18:29:25] local.INFO: Processing buffer {"connection_id":139200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a756dc0012d7c088005bd49200005010427..."} 
[2026-07-19 18:29:25] local.INFO: Packet analysis {"connection_id":139200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:29:25] local.INFO: Extracted packet for processing {"connection_id":139200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:29:25] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291104,"longitude_deg":76.310336,"latitude_deg":9.6291104,"altitude":5,"angle":260,"satellites":39,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4920","is_valid_coordinates":true} 
[2026-07-19 18:29:25] 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-07-19 18:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823206400001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108299271110918144,"note":"Value kept but may cause issues"} 
[2026-07-19 18:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534222655627264,"note":"Value kept but may cause issues"} 
[2026-07-19 18:29: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-07-19 18:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784465944000,"timestamp_ms":1784465944000,"timestamp_seconds":1784465944,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a756dc0"} 
[2026-07-19 18:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-19 18:29:25] 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-07-19 18: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-07-19 18:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":139200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":139200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":139200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823206400001,"66":12004,"197":206,"85":12544,"24":0,"16":108299271110918144,"45":8937534222655627264},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823206400001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:29:25] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:29:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108299271110918144,"km_value":108299271110918.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534222655627264,"description":"Unknown IO ID 45"} 
[2026-07-19 18:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823206400001,"power":12004,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937534222655627264}} 
[2026-07-19 18:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":139200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:29:25] local.INFO: GPS data processed {"connection_id":139200,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:29:25] local.INFO: Acknowledgment sent {"connection_id":139200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:29:25] local.INFO: TCP Data received {"connection_id":136852,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:29:25] local.INFO: Processing buffer {"connection_id":136852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:29:25] local.INFO: IMEI packet received {"connection_id":136852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":136852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:29:26] local.INFO: TCP Data received {"connection_id":136852,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:29:26] local.INFO: Processing buffer {"connection_id":136852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:29:26] local.INFO: IMEI packet received {"connection_id":136852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":136852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:29:27] local.INFO: TCP Data received {"connection_id":136852,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7444e0012d1af600071f41e8004a008124..."} 
[2026-07-19 18:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7444e0012d1af600071f41e8004a008124..."} 
[2026-07-19 18:29:27] local.INFO: Processing buffer {"connection_id":136852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7444e0012d1af600071f41e8004a008124..."} 
[2026-07-19 18:29:27] local.INFO: Packet analysis {"connection_id":136852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a74"} 
[2026-07-19 18:29:27] local.INFO: Extracted packet for processing {"connection_id":136852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a74"} 
[2026-07-19 18:29:27] local.INFO: GPS Element Parsed {"raw_longitude":756741632,"raw_latitude":119489000,"longitude_deg":75.6741632,"latitude_deg":11.9489,"altitude":74,"angle":129,"satellites":36,"speed":24,"hex_longitude":"2d1af600","hex_latitude":"071f41e8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823261952001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7233566740054016,"note":"Value kept but may cause issues"} 
[2026-07-19 18:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1942177369892800512,"note":"Value kept but may cause issues"} 
[2026-07-19 18:29: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-07-19 18:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784465868000,"timestamp_ms":1784465868000,"timestamp_seconds":1784465868,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7444e0"} 
[2026-07-19 18:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:29: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-07-19 18: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-19 18:29:27] 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-07-19 18: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-07-19 18:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823261952001,"66":14243,"101":206,"83":41984,"24":24,"16":7233566740054016,"45":1942177369892800512},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 18:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823261952001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:29:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 18:29:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7233566740054016,"km_value":7233566740054.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1942177369892800512,"description":"Unknown IO ID 45"} 
[2026-07-19 18:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823261952001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1942177369892800512}} 
[2026-07-19 18:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":136852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:29:27] local.INFO: GPS data processed {"connection_id":136852,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:29:27] local.INFO: Acknowledgment sent {"connection_id":136852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:29:36] local.INFO: TCP Data received {"connection_id":139201,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:29:36] local.INFO: Processing buffer {"connection_id":139201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:29:36] local.INFO: IMEI packet received {"connection_id":139201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":139201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:29:41] local.INFO: TCP Data received {"connection_id":139201,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:29:41] local.INFO: Processing buffer {"connection_id":139201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:29:41] local.INFO: IMEI packet received {"connection_id":139201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":139201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:29:42] local.INFO: TCP Data received {"connection_id":139201,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:29:42] local.INFO: Processing buffer {"connection_id":139201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:29:42] local.INFO: Packet analysis {"connection_id":139201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:29:42] local.INFO: Extracted packet for processing {"connection_id":139201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:29:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823200256001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784465927000,"timestamp_ms":1784465927000,"timestamp_seconds":1784465927,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a752b58"} 
[2026-07-19 18:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823200256001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823200256001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:29:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:29:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823200256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":139201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:29:42] local.INFO: GPS data processed {"connection_id":139201,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:29:42] local.INFO: Acknowledgment sent {"connection_id":139201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:29:46] local.INFO: TCP Data received {"connection_id":139201,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:29:46] local.INFO: Processing buffer {"connection_id":139201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:29:46] local.INFO: Packet analysis {"connection_id":139201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:29:46] local.INFO: Extracted packet for processing {"connection_id":139201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823200256001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784465927000,"timestamp_ms":1784465927000,"timestamp_seconds":1784465927,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a752b58"} 
[2026-07-19 18:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":139201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":139201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":139201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823200256001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823200256001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:29:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:29:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823200256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":139201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:29:46] local.INFO: GPS data processed {"connection_id":139201,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:29:46] local.INFO: Acknowledgment sent {"connection_id":139201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:29:52] local.INFO: TCP Data received {"connection_id":136853,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:29:52] local.INFO: Processing buffer {"connection_id":136853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:29:52] local.INFO: IMEI packet received {"connection_id":136853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":136853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:29:53] local.INFO: TCP Data received {"connection_id":136854,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:29:53] local.INFO: Processing buffer {"connection_id":136854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:29:53] local.INFO: IMEI packet received {"connection_id":136854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":136854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:29:54] local.INFO: TCP Data received {"connection_id":136854,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:29:54] local.INFO: Processing buffer {"connection_id":136854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:29:54] local.INFO: IMEI packet received {"connection_id":136854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":136854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:29:55] local.INFO: TCP Data received {"connection_id":136854,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:29:55] local.INFO: Processing buffer {"connection_id":136854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:29:55] local.INFO: IMEI packet received {"connection_id":136854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":136854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:29:56] local.INFO: TCP Data received {"connection_id":136854,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:29:56] local.INFO: Processing buffer {"connection_id":136854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:29:56] local.INFO: IMEI packet received {"connection_id":136854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":136854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:29:57] local.INFO: TCP Data received {"connection_id":136853,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:29:57] local.INFO: Processing buffer {"connection_id":136853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:29:57] local.INFO: IMEI packet received {"connection_id":136853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":136853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:29:58] local.INFO: TCP Data received {"connection_id":136853,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a756dc0012d7c088005bd49200005010427..."} 
[2026-07-19 18:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a756dc0012d7c088005bd49200005010427..."} 
[2026-07-19 18:29:58] local.INFO: Processing buffer {"connection_id":136853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a756dc0012d7c088005bd49200005010427..."} 
[2026-07-19 18:29:58] local.INFO: Packet analysis {"connection_id":136853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:29:58] local.INFO: Extracted packet for processing {"connection_id":136853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:29:58] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291104,"longitude_deg":76.310336,"latitude_deg":9.6291104,"altitude":5,"angle":260,"satellites":39,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4920","is_valid_coordinates":true} 
[2026-07-19 18:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823281664001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108299271110918144,"note":"Value kept but may cause issues"} 
[2026-07-19 18:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534222655627264,"note":"Value kept but may cause issues"} 
[2026-07-19 18:29: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-07-19 18:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784465944000,"timestamp_ms":1784465944000,"timestamp_seconds":1784465944,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a756dc0"} 
[2026-07-19 18:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:29:58] 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-07-19 18: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-19 18:29:58] 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-07-19 18: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-07-19 18:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823281664001,"66":12004,"197":206,"85":12544,"24":0,"16":108299271110918144,"45":8937534222655627264},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823281664001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:29:58] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:29:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108299271110918144,"km_value":108299271110918.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534222655627264,"description":"Unknown IO ID 45"} 
[2026-07-19 18:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823281664001,"power":12004,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937534222655627264}} 
[2026-07-19 18:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":136853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:29:58] local.INFO: GPS data processed {"connection_id":136853,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:29:58] local.INFO: Acknowledgment sent {"connection_id":136853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:30:02] local.INFO: TCP Data received {"connection_id":136853,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a758918012d7c088005bd49200005010429..."} 
[2026-07-19 18:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a758918012d7c088005bd49200005010429..."} 
[2026-07-19 18:30:02] local.INFO: Processing buffer {"connection_id":136853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a758918012d7c088005bd49200005010429..."} 
[2026-07-19 18:30:02] local.INFO: Packet analysis {"connection_id":136853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:30:02] local.INFO: Extracted packet for processing {"connection_id":136853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291104,"longitude_deg":76.310336,"latitude_deg":9.6291104,"altitude":5,"angle":260,"satellites":41,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4920","is_valid_coordinates":true} 
[2026-07-19 18:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823281664001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108299271110918144,"note":"Value kept but may cause issues"} 
[2026-07-19 18:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534222655627264,"note":"Value kept but may cause issues"} 
[2026-07-19 18:30:02] 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-07-19 18:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784465951000,"timestamp_ms":1784465951000,"timestamp_seconds":1784465951,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a758918"} 
[2026-07-19 18:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:30: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-07-19 18:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-19 18:30:02] 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-07-19 18:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823281664001,"66":3166,"197":206,"85":12544,"24":0,"16":108299271110918144,"45":8937534222655627264},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823281664001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:30:02] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:30:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108299271110918144,"km_value":108299271110918.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534222655627264,"description":"Unknown IO ID 45"} 
[2026-07-19 18:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823281664001,"power":3166,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937534222655627264}} 
[2026-07-19 18:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":136853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:30:02] local.INFO: GPS data processed {"connection_id":136853,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:30:02] local.INFO: Acknowledgment sent {"connection_id":136853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:30:31] local.INFO: TCP Data received {"connection_id":139202,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:30:31] local.INFO: Processing buffer {"connection_id":139202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:30:31] local.INFO: IMEI packet received {"connection_id":139202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":139202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:30:36] local.INFO: TCP Data received {"connection_id":139202,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:30:36] local.INFO: Processing buffer {"connection_id":139202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:30:36] local.INFO: IMEI packet received {"connection_id":139202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":139202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:30:37] local.INFO: TCP Data received {"connection_id":139202,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:30:37] local.INFO: Processing buffer {"connection_id":139202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:30:37] local.INFO: Packet analysis {"connection_id":139202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:30:37] local.INFO: Extracted packet for processing {"connection_id":139202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823200256001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:30: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-07-19 18:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784465927000,"timestamp_ms":1784465927000,"timestamp_seconds":1784465927,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a752b58"} 
[2026-07-19 18:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823200256001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823200256001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:30:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823200256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":139202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:30:37] local.INFO: GPS data processed {"connection_id":139202,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:30:37] local.INFO: Acknowledgment sent {"connection_id":139202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:30:47] local.INFO: TCP Data received {"connection_id":136749,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:30:47] local.INFO: Processing buffer {"connection_id":136749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:30:47] local.INFO: IMEI packet received {"connection_id":136749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-19 18:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":136749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:30:52] local.INFO: TCP Data received {"connection_id":136749,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:30:52] local.INFO: Processing buffer {"connection_id":136749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-19 18:30:52] local.INFO: IMEI packet received {"connection_id":136749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-19 18:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":136749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:30:53] local.INFO: TCP Data received {"connection_id":136749,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a758918012d7c088005bd49200005010429..."} 
[2026-07-19 18:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a758918012d7c088005bd49200005010429..."} 
[2026-07-19 18:30:53] local.INFO: Processing buffer {"connection_id":136749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a758918012d7c088005bd49200005010429..."} 
[2026-07-19 18:30:53] local.INFO: Packet analysis {"connection_id":136749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:30:53] local.INFO: Extracted packet for processing {"connection_id":136749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:30:53] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291104,"longitude_deg":76.310336,"latitude_deg":9.6291104,"altitude":5,"angle":260,"satellites":41,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4920","is_valid_coordinates":true} 
[2026-07-19 18:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823281664001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":108299271110918144,"note":"Value kept but may cause issues"} 
[2026-07-19 18:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534222655627264,"note":"Value kept but may cause issues"} 
[2026-07-19 18:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784465951000,"timestamp_ms":1784465951000,"timestamp_seconds":1784465951,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a758918"} 
[2026-07-19 18:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:30:53] 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-07-19 18:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-19 18:30:53] 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-07-19 18:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":136749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":136749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":136749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-19 18:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-19 18:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-19 18:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823281664001,"66":3166,"197":206,"85":12544,"24":0,"16":108299271110918144,"45":8937534222655627264},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-19 18:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-19 18:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-19 18:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823281664001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:30:53] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-19 18:30:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-19 18:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":108299271110918144,"km_value":108299271110918.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534222655627264,"description":"Unknown IO ID 45"} 
[2026-07-19 18:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823281664001,"power":3166,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937534222655627264}} 
[2026-07-19 18:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":136749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:30:53] local.INFO: GPS data processed {"connection_id":136749,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:30:53] local.INFO: Acknowledgment sent {"connection_id":136749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:31:08] local.INFO: TCP Data received {"connection_id":139202,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:31:08] local.INFO: Processing buffer {"connection_id":139202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:31:08] local.INFO: Packet analysis {"connection_id":139202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:31:08] local.INFO: Extracted packet for processing {"connection_id":139202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823200256001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784465927000,"timestamp_ms":1784465927000,"timestamp_seconds":1784465927,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a752b58"} 
[2026-07-19 18:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:31: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-07-19 18: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-07-19 18:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823200256001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823200256001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:31:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:31:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823200256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":139202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:31:08] local.INFO: GPS data processed {"connection_id":139202,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:31:08] local.INFO: Acknowledgment sent {"connection_id":139202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:31:30] local.INFO: TCP Data received {"connection_id":139203,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:31:31] local.INFO: Processing buffer {"connection_id":139203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:31:31] local.INFO: IMEI packet received {"connection_id":139203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":139203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:31:36] local.INFO: TCP Data received {"connection_id":139203,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:31:36] local.INFO: Processing buffer {"connection_id":139203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:31:36] local.INFO: IMEI packet received {"connection_id":139203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":139203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:31:37] local.INFO: TCP Data received {"connection_id":139203,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:31:37] local.INFO: Processing buffer {"connection_id":139203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:31:37] local.INFO: Packet analysis {"connection_id":139203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:31:37] local.INFO: Extracted packet for processing {"connection_id":139203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823200256001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784465927000,"timestamp_ms":1784465927000,"timestamp_seconds":1784465927,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a752b58"} 
[2026-07-19 18:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18: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-07-19 18:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823200256001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823200256001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:31:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823200256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":139203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:31:37] local.INFO: GPS data processed {"connection_id":139203,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:31:37] local.INFO: Acknowledgment sent {"connection_id":139203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:32:09] local.INFO: TCP Data received {"connection_id":139203,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:32:09] local.INFO: Processing buffer {"connection_id":139203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:32:09] local.INFO: Packet analysis {"connection_id":139203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:32:09] local.INFO: Extracted packet for processing {"connection_id":139203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823200256001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:32: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-07-19 18:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784465927000,"timestamp_ms":1784465927000,"timestamp_seconds":1784465927,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a752b58"} 
[2026-07-19 18:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:32: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-07-19 18:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823200256001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823200256001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:32:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823200256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":139203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:32:09] local.INFO: GPS data processed {"connection_id":139203,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:32:09] local.INFO: Acknowledgment sent {"connection_id":139203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:32:30] local.INFO: TCP Data received {"connection_id":136856,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:32:30] local.INFO: Processing buffer {"connection_id":136856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:32:30] local.INFO: IMEI packet received {"connection_id":136856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":136856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:32:35] local.INFO: TCP Data received {"connection_id":136856,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:32:35] local.INFO: Processing buffer {"connection_id":136856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:32:35] local.INFO: IMEI packet received {"connection_id":136856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":136856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:32:36] local.INFO: TCP Data received {"connection_id":136856,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:32:36] local.INFO: Processing buffer {"connection_id":136856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:32:36] local.INFO: Packet analysis {"connection_id":136856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:32:36] local.INFO: Extracted packet for processing {"connection_id":136856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823200256001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:32: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-07-19 18:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784465927000,"timestamp_ms":1784465927000,"timestamp_seconds":1784465927,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a752b58"} 
[2026-07-19 18:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:32: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-07-19 18:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823200256001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823200256001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:32:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:32:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823200256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":136856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:32:36] local.INFO: GPS data processed {"connection_id":136856,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:32:36] local.INFO: Acknowledgment sent {"connection_id":136856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:33:08] local.INFO: TCP Data received {"connection_id":136856,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:33:08] local.INFO: Processing buffer {"connection_id":136856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:33:08] local.INFO: Packet analysis {"connection_id":136856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:33:08] local.INFO: Extracted packet for processing {"connection_id":136856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823200256001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784465927000,"timestamp_ms":1784465927000,"timestamp_seconds":1784465927,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a752b58"} 
[2026-07-19 18:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18: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-07-19 18:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823200256001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823200256001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:33:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823200256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":136856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:33:08] local.INFO: GPS data processed {"connection_id":136856,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:33:08] local.INFO: Acknowledgment sent {"connection_id":136856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:33:27] local.INFO: TCP Data received {"connection_id":136857,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:33:27] local.INFO: Processing buffer {"connection_id":136857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:33:27] local.INFO: IMEI packet received {"connection_id":136857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 18:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":136857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:33:30] local.INFO: TCP Data received {"connection_id":136858,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:33:30] local.INFO: Processing buffer {"connection_id":136858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:33:30] local.INFO: IMEI packet received {"connection_id":136858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":136858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:33:36] local.INFO: TCP Data received {"connection_id":136858,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:33:36] local.INFO: Processing buffer {"connection_id":136858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:33:36] local.INFO: IMEI packet received {"connection_id":136858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":136858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:33:37] local.INFO: TCP Data received {"connection_id":136858,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:33:37] local.INFO: Processing buffer {"connection_id":136858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:33:37] local.INFO: Packet analysis {"connection_id":136858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:33:37] local.INFO: Extracted packet for processing {"connection_id":136858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823200256001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:33: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-07-19 18:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784465927000,"timestamp_ms":1784465927000,"timestamp_seconds":1784465927,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a752b58"} 
[2026-07-19 18:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:33: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-07-19 18:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823200256001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823200256001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:33:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823200256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":136858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:33:37] local.INFO: GPS data processed {"connection_id":136858,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:33:37] local.INFO: Acknowledgment sent {"connection_id":136858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:34:08] local.INFO: TCP Data received {"connection_id":136858,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:34:08] local.INFO: Processing buffer {"connection_id":136858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a752b58012d34c50006aa4dd8000800952b..."} 
[2026-07-19 18:34:08] local.INFO: Packet analysis {"connection_id":136858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:34:08] local.INFO: Extracted packet for processing {"connection_id":136858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a75"} 
[2026-07-19 18:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823200256001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:34: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-07-19 18:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784465927000,"timestamp_ms":1784465927000,"timestamp_seconds":1784465927,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a752b58"} 
[2026-07-19 18:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:34: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-07-19 18: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-07-19 18:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:34: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-07-19 18:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823200256001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823200256001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:34:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:34:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823200256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":136858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:34:08] local.INFO: GPS data processed {"connection_id":136858,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:34:08] local.INFO: Acknowledgment sent {"connection_id":136858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:34:30] local.INFO: TCP Data received {"connection_id":139205,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:34:30] local.INFO: Processing buffer {"connection_id":139205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:34:30] local.INFO: IMEI packet received {"connection_id":139205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":139205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:34:35] local.INFO: TCP Data received {"connection_id":139205,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:34:35] local.INFO: Processing buffer {"connection_id":139205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:34:35] local.INFO: IMEI packet received {"connection_id":139205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":139205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:34:36] local.INFO: TCP Data received {"connection_id":139205,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:34:36] local.INFO: Processing buffer {"connection_id":139205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:34:36] local.INFO: Packet analysis {"connection_id":139205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a79"} 
[2026-07-19 18:34:36] local.INFO: Extracted packet for processing {"connection_id":139205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a79"} 
[2026-07-19 18:34:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823277312001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784466228000,"timestamp_ms":1784466228000,"timestamp_seconds":1784466228,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a79c320"} 
[2026-07-19 18:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:34: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-07-19 18:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823277312001,"66":25419,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823277312001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:34:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:34:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823277312001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":139205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:34:36] local.INFO: GPS data processed {"connection_id":139205,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:34:36] local.INFO: Acknowledgment sent {"connection_id":139205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:34:57] local.INFO: TCP Data received {"connection_id":136752,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:34:57] local.INFO: Processing buffer {"connection_id":136752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:34:57] local.INFO: IMEI packet received {"connection_id":136752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":136752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:34:58] local.INFO: TCP Data received {"connection_id":136752,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a79c708012d1beac0071dd7d80047000d25..."} 
[2026-07-19 18:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a79c708012d1beac0071dd7d80047000d25..."} 
[2026-07-19 18:34:58] local.INFO: Processing buffer {"connection_id":136752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a79c708012d1beac0071dd7d80047000d25..."} 
[2026-07-19 18:34:58] local.INFO: Packet analysis {"connection_id":136752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a79"} 
[2026-07-19 18:34:58] local.INFO: Extracted packet for processing {"connection_id":136752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a79"} 
[2026-07-19 18:34:58] local.INFO: GPS Element Parsed {"raw_longitude":756804288,"raw_latitude":119396312,"longitude_deg":75.6804288,"latitude_deg":11.9396312,"altitude":71,"angle":13,"satellites":37,"speed":3,"hex_longitude":"2d1beac0","hex_latitude":"071dd7d8","is_valid_coordinates":true} 
[2026-07-19 18:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823353600001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7240150924918784,"note":"Value kept but may cause issues"} 
[2026-07-19 18:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2011631320372295680,"note":"Value kept but may cause issues"} 
[2026-07-19 18:34:58] 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-07-19 18:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784466229000,"timestamp_ms":1784466229000,"timestamp_seconds":1784466229,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a79c708"} 
[2026-07-19 18:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:34: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-07-19 18:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-19 18:34: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-07-19 18:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823353600001,"66":14157,"71":206,"83":41984,"24":3,"16":7240150924918784,"45":2011631320372295680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-07-19 18:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823353600001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:34:58] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-19 18:34:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7240150924918784,"km_value":7240150924918.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2011631320372295680,"description":"Unknown IO ID 45"} 
[2026-07-19 18:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823353600001,"power":14157,"unknown_71":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":2011631320372295680}} 
[2026-07-19 18:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":136752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:34:58] local.INFO: GPS data processed {"connection_id":136752,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:34:58] local.INFO: Acknowledgment sent {"connection_id":136752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:35:07] local.INFO: TCP Data received {"connection_id":139205,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:35:07] local.INFO: Processing buffer {"connection_id":139205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:35:07] local.INFO: Packet analysis {"connection_id":139205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a79"} 
[2026-07-19 18:35:07] local.INFO: Extracted packet for processing {"connection_id":139205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a79"} 
[2026-07-19 18:35:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823277312001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:35: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-07-19 18:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784466228000,"timestamp_ms":1784466228000,"timestamp_seconds":1784466228,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a79c320"} 
[2026-07-19 18:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":139205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":139205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":139205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:35: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-07-19 18:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823277312001,"66":25419,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823277312001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:35:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:35:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823277312001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":139205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:35:07] local.INFO: GPS data processed {"connection_id":139205,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:35:07] local.INFO: Acknowledgment sent {"connection_id":139205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:35:30] local.INFO: TCP Data received {"connection_id":136860,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:35:30] local.INFO: Processing buffer {"connection_id":136860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:35:30] local.INFO: IMEI packet received {"connection_id":136860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":136860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:35:34] local.INFO: TCP Data received {"connection_id":136752,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7a7ab8012d1bdec0071df6f8004a000727..."} 
[2026-07-19 18:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7a7ab8012d1bdec0071df6f8004a000727..."} 
[2026-07-19 18:35:34] local.INFO: Processing buffer {"connection_id":136752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7a7ab8012d1bdec0071df6f8004a000727..."} 
[2026-07-19 18:35:34] local.INFO: Packet analysis {"connection_id":136752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a7a"} 
[2026-07-19 18:35:34] local.INFO: Extracted packet for processing {"connection_id":136752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a7a"} 
[2026-07-19 18:35:34] local.INFO: GPS Element Parsed {"raw_longitude":756801216,"raw_latitude":119404280,"longitude_deg":75.6801216,"latitude_deg":11.940428,"altitude":74,"angle":7,"satellites":39,"speed":13,"hex_longitude":"2d1bdec0","hex_latitude":"071df6f8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823364864001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7240683500863488,"note":"Value kept but may cause issues"} 
[2026-07-19 18:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2007690670699939840,"note":"Value kept but may cause issues"} 
[2026-07-19 18:35:34] 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-07-19 18:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784466275000,"timestamp_ms":1784466275000,"timestamp_seconds":1784466275,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7a7ab8"} 
[2026-07-19 18:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-19 18:35: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-07-19 18: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-07-19 18:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":136752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":136752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":136752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823364864001,"66":13830,"109":206,"83":41984,"24":13,"16":7240683500863488,"45":2007690670699939840},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-07-19 18:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823364864001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:35:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-19 18:35:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7240683500863488,"km_value":7240683500863.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2007690670699939840,"description":"Unknown IO ID 45"} 
[2026-07-19 18:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823364864001,"power":13830,"unknown_109":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":2007690670699939840}} 
[2026-07-19 18:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":136752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:35:34] local.INFO: GPS data processed {"connection_id":136752,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:35:34] local.INFO: Acknowledgment sent {"connection_id":136752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:35:35] local.INFO: TCP Data received {"connection_id":136860,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:35:35] local.INFO: Processing buffer {"connection_id":136860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:35:35] local.INFO: IMEI packet received {"connection_id":136860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":136860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:35:36] local.INFO: TCP Data received {"connection_id":136860,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:35:36] local.INFO: Processing buffer {"connection_id":136860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:35:36] local.INFO: Packet analysis {"connection_id":136860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a79"} 
[2026-07-19 18:35:36] local.INFO: Extracted packet for processing {"connection_id":136860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a79"} 
[2026-07-19 18:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823277312001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:35: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-07-19 18:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784466228000,"timestamp_ms":1784466228000,"timestamp_seconds":1784466228,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a79c320"} 
[2026-07-19 18:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:35: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-07-19 18:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823277312001,"66":25419,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823277312001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:35:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823277312001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":136860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:35:36] local.INFO: GPS data processed {"connection_id":136860,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:35:36] local.INFO: Acknowledgment sent {"connection_id":136860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:36:09] local.INFO: TCP Data received {"connection_id":136860,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:36:09] local.INFO: Processing buffer {"connection_id":136860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:36:09] local.INFO: Packet analysis {"connection_id":136860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a79"} 
[2026-07-19 18:36:09] local.INFO: Extracted packet for processing {"connection_id":136860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a79"} 
[2026-07-19 18:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823277312001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:36: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-07-19 18:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784466228000,"timestamp_ms":1784466228000,"timestamp_seconds":1784466228,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a79c320"} 
[2026-07-19 18:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:36: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-07-19 18:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823277312001,"66":25419,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823277312001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:36:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823277312001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":136860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:36:09] local.INFO: GPS data processed {"connection_id":136860,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:36:09] local.INFO: Acknowledgment sent {"connection_id":136860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:36:28] local.INFO: TCP Data received {"connection_id":137829,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:36:28] local.INFO: Processing buffer {"connection_id":137829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:36:28] local.INFO: IMEI packet received {"connection_id":137829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":137829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:36:30] local.INFO: TCP Data received {"connection_id":137829,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:36:30] local.INFO: Processing buffer {"connection_id":137829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:36:30] local.INFO: IMEI packet received {"connection_id":137829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":137829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:36:30] local.INFO: TCP Data received {"connection_id":136754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:36:30] local.INFO: Processing buffer {"connection_id":136754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:36:30] local.INFO: IMEI packet received {"connection_id":136754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":136754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:36:31] local.INFO: TCP Data received {"connection_id":137829,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:36:31] local.INFO: Processing buffer {"connection_id":137829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:36:31] local.INFO: IMEI packet received {"connection_id":137829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":137829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:36:31] local.INFO: TCP Data received {"connection_id":137829,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:36:32] local.INFO: Processing buffer {"connection_id":137829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:36:32] local.INFO: IMEI packet received {"connection_id":137829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":137829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:36:33] local.INFO: TCP Data received {"connection_id":137829,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7aa5b0012d1bdec0071e06d8004a016525..."} 
[2026-07-19 18:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7aa5b0012d1bdec0071e06d8004a016525..."} 
[2026-07-19 18:36:33] local.INFO: Processing buffer {"connection_id":137829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7aa5b0012d1bdec0071e06d8004a016525..."} 
[2026-07-19 18:36:33] local.INFO: Packet analysis {"connection_id":137829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a7a"} 
[2026-07-19 18:36:33] local.INFO: Extracted packet for processing {"connection_id":137829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a7a"} 
[2026-07-19 18:36:33] local.INFO: GPS Element Parsed {"raw_longitude":756801216,"raw_latitude":119408344,"longitude_deg":75.6801216,"latitude_deg":11.9408344,"altitude":74,"angle":357,"satellites":37,"speed":15,"hex_longitude":"2d1bdec0","hex_latitude":"071e06d8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 18:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823366400001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7240881069359104,"note":"Value kept but may cause issues"} 
[2026-07-19 18:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2008253620653848576,"note":"Value kept but may cause issues"} 
[2026-07-19 18:36:33] 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-07-19 18:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784466286000,"timestamp_ms":1784466286000,"timestamp_seconds":1784466286,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7aa5b0"} 
[2026-07-19 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-07-19 18:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-07-19 18:36:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 18:36:33] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2814758372835328,"note":"Value kept but may cause issues"} 
[2026-07-19 18:36:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652634482301952,"note":"Value kept but may cause issues"} 
[2026-07-19 18:36:33] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3870294090,"note":"Value kept but may cause issues"} 
[2026-07-19 18:36:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1766260942,"corrected_to":0} 
[2026-07-19 18:36:33] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3106340864,"note":"Value kept but may cause issues"} 
[2026-07-19 18:36:33] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-4034894193460508899,"note":"Value kept but may cause issues"} 
[2026-07-19 18:36:33] local.WARNING: Large IO value detected {"io_id":226,"raw_value":8070531901194502152,"note":"Value kept but may cause issues"} 
[2026-07-19 18:36:33] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,109,83,24,241,157,16,185,159,99,45,192,239,75,38,10,66,68,64,232,74,39,1,240,153,227,122,29,4,113,205,8,56,216,224,40,71,2,25,7,36,226],"length":528,"final_offset":658,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1766260942,"validated":0}]} 
[2026-07-19 18:36:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332269822892638208,"timestamp_seconds":5332269822892638.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 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-07-19 18:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":137829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":137829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":137829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823366400001,"66":14298,"109":206,"83":41984,"24":15,"16":7240881069359104,"45":2008253620653848576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-07-19 18:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823366400001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:36:33] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-19 18:36:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7240881069359104,"km_value":7240881069359.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":2008253620653848576,"description":"Unknown IO ID 45"} 
[2026-07-19 18:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823366400001,"power":14298,"unknown_109":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":2008253620653848576}} 
[2026-07-19 18:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":137829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:36:33] local.INFO: GPS data processed {"connection_id":137829,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:36:33] local.INFO: Acknowledgment sent {"connection_id":137829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:36:35] local.INFO: TCP Data received {"connection_id":136754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:36:35] local.INFO: Processing buffer {"connection_id":136754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:36:35] local.INFO: IMEI packet received {"connection_id":136754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":136754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:36:37] local.INFO: TCP Data received {"connection_id":136754,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:36:37] local.INFO: Processing buffer {"connection_id":136754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:36:37] local.INFO: Packet analysis {"connection_id":136754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a79"} 
[2026-07-19 18:36:37] local.INFO: Extracted packet for processing {"connection_id":136754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a79"} 
[2026-07-19 18:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823277312001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:36: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-07-19 18:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784466228000,"timestamp_ms":1784466228000,"timestamp_seconds":1784466228,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a79c320"} 
[2026-07-19 18:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18: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-07-19 18:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823277312001,"66":25419,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823277312001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823277312001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":136754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:36:37] local.INFO: GPS data processed {"connection_id":136754,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:36:37] local.INFO: Acknowledgment sent {"connection_id":136754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:36:55] local.INFO: TCP Data received {"connection_id":137830,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:36:55] local.INFO: Processing buffer {"connection_id":137830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:36:55] local.INFO: IMEI packet received {"connection_id":137830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":137830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:37:00] local.INFO: TCP Data received {"connection_id":137830,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:37:00] local.INFO: Processing buffer {"connection_id":137830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:37:00] local.INFO: IMEI packet received {"connection_id":137830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":137830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:37:01] local.INFO: TCP Data received {"connection_id":137830,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7ab550012d1bde80071e0c48004a015925..."} 
[2026-07-19 18:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7ab550012d1bde80071e0c48004a015925..."} 
[2026-07-19 18:37:01] local.INFO: Processing buffer {"connection_id":137830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7ab550012d1bde80071e0c48004a015925..."} 
[2026-07-19 18:37:01] local.INFO: Packet analysis {"connection_id":137830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a7a"} 
[2026-07-19 18:37:01] local.INFO: Extracted packet for processing {"connection_id":137830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a7a"} 
[2026-07-19 18:37:01] local.INFO: GPS Element Parsed {"raw_longitude":756801152,"raw_latitude":119409736,"longitude_deg":75.6801152,"latitude_deg":11.9409736,"altitude":74,"angle":345,"satellites":37,"speed":10,"hex_longitude":"2d1bde80","hex_latitude":"071e0c48","is_valid_coordinates":true} 
[2026-07-19 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-07-19 18:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823369216001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7240949788835840,"note":"Value kept but may cause issues"} 
[2026-07-19 18:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2008253620654888960,"note":"Value kept but may cause issues"} 
[2026-07-19 18:37:01] 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-07-19 18:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784466290000,"timestamp_ms":1784466290000,"timestamp_seconds":1784466290,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7ab550"} 
[2026-07-19 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-07-19 18:37: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-07-19 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-19 18:37:01] 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-07-19 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-07-19 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-07-19 18:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823369216001,"66":14243,"109":206,"83":41984,"24":10,"16":7240949788835840,"45":2008253620654888960},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-07-19 18:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823369216001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:37:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-19 18:37:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7240949788835840,"km_value":7240949788835.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2008253620654888960,"description":"Unknown IO ID 45"} 
[2026-07-19 18:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823369216001,"power":14243,"unknown_109":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":2008253620654888960}} 
[2026-07-19 18:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":137830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:37:01] local.INFO: GPS data processed {"connection_id":137830,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:37:01] local.INFO: Acknowledgment sent {"connection_id":137830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:37:08] local.INFO: TCP Data received {"connection_id":136754,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:37:08] local.INFO: Processing buffer {"connection_id":136754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:37:08] local.INFO: Packet analysis {"connection_id":136754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a79"} 
[2026-07-19 18:37:08] local.INFO: Extracted packet for processing {"connection_id":136754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a79"} 
[2026-07-19 18:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823277312001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784466228000,"timestamp_ms":1784466228000,"timestamp_seconds":1784466228,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a79c320"} 
[2026-07-19 18:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823277312001,"66":25419,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823277312001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:37:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823277312001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":136754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:37:08] local.INFO: GPS data processed {"connection_id":136754,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:37:08] local.INFO: Acknowledgment sent {"connection_id":136754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:37:30] local.INFO: TCP Data received {"connection_id":136756,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:37:30] local.INFO: Processing buffer {"connection_id":136756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:37:30] local.INFO: IMEI packet received {"connection_id":136756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":136756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:37:32] local.INFO: TCP Data received {"connection_id":137830,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7c47a8012d1ba5c0071e70300066013c27..."} 
[2026-07-19 18:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7c47a8012d1ba5c0071e70300066013c27..."} 
[2026-07-19 18:37:32] local.INFO: Processing buffer {"connection_id":137830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7c47a8012d1ba5c0071e70300066013c27..."} 
[2026-07-19 18:37:32] local.INFO: Packet analysis {"connection_id":137830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a7c"} 
[2026-07-19 18:37:32] local.INFO: Extracted packet for processing {"connection_id":137830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a7c"} 
[2026-07-19 18:37:32] local.INFO: GPS Element Parsed {"raw_longitude":756786624,"raw_latitude":119435312,"longitude_deg":75.6786624,"latitude_deg":11.9435312,"altitude":102,"angle":316,"satellites":39,"speed":20,"hex_longitude":"2d1ba5c0","hex_latitude":"071e7030","is_valid_coordinates":true} 
[2026-07-19 18:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823396096001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7242779444903936,"note":"Value kept but may cause issues"} 
[2026-07-19 18:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1993265078151778304,"note":"Value kept but may cause issues"} 
[2026-07-19 18:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784466393000,"timestamp_ms":1784466393000,"timestamp_seconds":1784466393,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7c47a8"} 
[2026-07-19 18:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18: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-07-19 18:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-19 18:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":137830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":137830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":137830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823396096001,"66":12939,"106":206,"83":41984,"24":20,"16":7242779444903936,"45":1993265078151778304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 18:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823396096001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:37:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 18:37:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7242779444903936,"km_value":7242779444903.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1993265078151778304,"description":"Unknown IO ID 45"} 
[2026-07-19 18:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823396096001,"power":12939,"unknown_106":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1993265078151778304}} 
[2026-07-19 18:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":137830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:37:32] local.INFO: GPS data processed {"connection_id":137830,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:37:32] local.INFO: Acknowledgment sent {"connection_id":137830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:37:36] local.INFO: TCP Data received {"connection_id":136756,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:37:36] local.INFO: Processing buffer {"connection_id":136756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:37:36] local.INFO: IMEI packet received {"connection_id":136756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":136756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:37:38] local.INFO: TCP Data received {"connection_id":136756,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:37:38] local.INFO: Processing buffer {"connection_id":136756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:37:38] local.INFO: Packet analysis {"connection_id":136756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a79"} 
[2026-07-19 18:37:38] local.INFO: Extracted packet for processing {"connection_id":136756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a79"} 
[2026-07-19 18:37:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823277312001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:37: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-07-19 18:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784466228000,"timestamp_ms":1784466228000,"timestamp_seconds":1784466228,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a79c320"} 
[2026-07-19 18:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:37: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-07-19 18:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823277312001,"66":25419,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823277312001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:37:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:37:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823277312001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":136756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:37:38] local.INFO: GPS data processed {"connection_id":136756,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:37:38] local.INFO: Acknowledgment sent {"connection_id":136756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:37:51] local.INFO: TCP Data received {"connection_id":139206,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:37:51] local.INFO: Processing buffer {"connection_id":139206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:37:51] local.INFO: IMEI packet received {"connection_id":139206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":139206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:37:51] local.INFO: TCP Data received {"connection_id":139206,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:37:51] local.INFO: Processing buffer {"connection_id":139206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:37:51] local.INFO: IMEI packet received {"connection_id":139206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":139206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:37:53] local.INFO: TCP Data received {"connection_id":139206,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:37:53] local.INFO: Processing buffer {"connection_id":139206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:37:53] local.INFO: IMEI packet received {"connection_id":139206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":139206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:38:03] local.INFO: TCP Data received {"connection_id":139206,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:38:03] local.INFO: Processing buffer {"connection_id":139206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:38:03] local.INFO: IMEI packet received {"connection_id":139206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":139206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:38:05] local.INFO: TCP Data received {"connection_id":139206,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7c5748012d1ba040071e77f80066014d27..."} 
[2026-07-19 18:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7c5748012d1ba040071e77f80066014d27..."} 
[2026-07-19 18:38:05] local.INFO: Processing buffer {"connection_id":139206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7c5748012d1ba040071e77f80066014d27..."} 
[2026-07-19 18:38:05] local.INFO: Packet analysis {"connection_id":139206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a7c"} 
[2026-07-19 18:38:05] local.INFO: Extracted packet for processing {"connection_id":139206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a7c"} 
[2026-07-19 18:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756785216,"raw_latitude":119437304,"longitude_deg":75.6785216,"latitude_deg":11.9437304,"altitude":102,"angle":333,"satellites":39,"speed":25,"hex_longitude":"2d1ba040","hex_latitude":"071e77f8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823396608001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7242899703988224,"note":"Value kept but may cause issues"} 
[2026-07-19 18:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1992209546989285376,"note":"Value kept but may cause issues"} 
[2026-07-19 18:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784466397000,"timestamp_ms":1784466397000,"timestamp_seconds":1784466397,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7c5748"} 
[2026-07-19 18:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:38: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-07-19 18:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-19 18:38:05] 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-07-19 18: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-07-19 18:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":139206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":139206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":139206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823396608001,"66":14004,"106":206,"83":41984,"24":25,"16":7242899703988224,"45":1992209546989285376},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 18:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823396608001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:38:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 18:38:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7242899703988224,"km_value":7242899703988.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1992209546989285376,"description":"Unknown IO ID 45"} 
[2026-07-19 18:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823396608001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1992209546989285376}} 
[2026-07-19 18:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":139206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:38:05] local.INFO: GPS data processed {"connection_id":139206,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:38:05] local.INFO: Acknowledgment sent {"connection_id":139206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:38:10] local.INFO: TCP Data received {"connection_id":136756,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:38:10] local.INFO: Processing buffer {"connection_id":136756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:38:10] local.INFO: Packet analysis {"connection_id":136756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a79"} 
[2026-07-19 18:38:10] local.INFO: Extracted packet for processing {"connection_id":136756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a79"} 
[2026-07-19 18:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823277312001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:38: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-07-19 18:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784466228000,"timestamp_ms":1784466228000,"timestamp_seconds":1784466228,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a79c320"} 
[2026-07-19 18:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823277312001,"66":25419,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823277312001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:38:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:38:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823277312001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":136756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:38:10] local.INFO: GPS data processed {"connection_id":136756,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:38:10] local.INFO: Acknowledgment sent {"connection_id":136756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:38:30] local.INFO: TCP Data received {"connection_id":139208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:38:30] local.INFO: Processing buffer {"connection_id":139208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:38:30] local.INFO: IMEI packet received {"connection_id":139208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":139208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:38:36] local.INFO: TCP Data received {"connection_id":139208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:38:36] local.INFO: Processing buffer {"connection_id":139208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:38:36] local.INFO: IMEI packet received {"connection_id":139208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":139208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:38:37] local.INFO: TCP Data received {"connection_id":139208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:38:37] local.INFO: Processing buffer {"connection_id":139208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:38:37] local.INFO: Packet analysis {"connection_id":139208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a79"} 
[2026-07-19 18:38:37] local.INFO: Extracted packet for processing {"connection_id":139208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a79"} 
[2026-07-19 18:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823277312001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:38: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-07-19 18:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784466228000,"timestamp_ms":1784466228000,"timestamp_seconds":1784466228,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a79c320"} 
[2026-07-19 18:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:38: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-07-19 18:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823277312001,"66":25419,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823277312001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:38:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:38:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823277312001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":139208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:38:37] local.INFO: GPS data processed {"connection_id":139208,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:38:37] local.INFO: Acknowledgment sent {"connection_id":139208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:38:37] local.INFO: TCP Data received {"connection_id":139206,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7d68b8012d1b44c0071ed0d00051012b1f..."} 
[2026-07-19 18:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7d68b8012d1b44c0071ed0d00051012b1f..."} 
[2026-07-19 18:38:37] local.INFO: Processing buffer {"connection_id":139206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7d68b8012d1b44c0071ed0d00051012b1f..."} 
[2026-07-19 18:38:37] local.INFO: Packet analysis {"connection_id":139206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a7d"} 
[2026-07-19 18:38:37] local.INFO: Extracted packet for processing {"connection_id":139206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a7d"} 
[2026-07-19 18:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756761792,"raw_latitude":119460048,"longitude_deg":75.6761792,"latitude_deg":11.9460048,"altitude":81,"angle":299,"satellites":31,"speed":22,"hex_longitude":"2d1b44c0","hex_latitude":"071ed0d0","is_valid_coordinates":true} 
[2026-07-19 18:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823414528001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7244664935546880,"note":"Value kept but may cause issues"} 
[2026-07-19 18:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967017536579627008,"note":"Value kept but may cause issues"} 
[2026-07-19 18:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784466467000,"timestamp_ms":1784466467000,"timestamp_seconds":1784466467,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7d68b8"} 
[2026-07-19 18:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-19 18:38:37] 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-07-19 18:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823414528001,"66":14483,"101":206,"83":41984,"24":22,"16":7244664935546880,"45":1967017536579627008},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 18:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823414528001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:38:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 18:38:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7244664935546880,"km_value":7244664935546.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967017536579627008,"description":"Unknown IO ID 45"} 
[2026-07-19 18:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823414528001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1967017536579627008}} 
[2026-07-19 18:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":139206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:38:37] local.INFO: GPS data processed {"connection_id":139206,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:38:37] local.INFO: Acknowledgment sent {"connection_id":139206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:38:46] local.INFO: TCP Data received {"connection_id":139207,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139207,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:38:46] local.INFO: Processing buffer {"connection_id":139207,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:38:46] local.INFO: IMEI packet received {"connection_id":139207,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 18:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":139207,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:38:55] local.INFO: TCP Data received {"connection_id":136861,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:38:55] local.INFO: Processing buffer {"connection_id":136861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:38:55] local.INFO: IMEI packet received {"connection_id":136861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":136861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:38:55] local.INFO: TCP Data received {"connection_id":136861,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:38:55] local.INFO: Processing buffer {"connection_id":136861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:38:55] local.INFO: IMEI packet received {"connection_id":136861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":136861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:38:56] local.INFO: TCP Data received {"connection_id":136861,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:38:56] local.INFO: Processing buffer {"connection_id":136861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:38:56] local.INFO: IMEI packet received {"connection_id":136861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":136861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:38:57] local.INFO: TCP Data received {"connection_id":136861,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7d8028012d1b3980071ed948004c013e21..."} 
[2026-07-19 18:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7d8028012d1b3980071ed948004c013e21..."} 
[2026-07-19 18:38:57] local.INFO: Processing buffer {"connection_id":136861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7d8028012d1b3980071ed948004c013e21..."} 
[2026-07-19 18:38:57] local.INFO: Packet analysis {"connection_id":136861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a7d"} 
[2026-07-19 18:38:57] local.INFO: Extracted packet for processing {"connection_id":136861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a7d"} 
[2026-07-19 18:38:57] local.INFO: GPS Element Parsed {"raw_longitude":756758912,"raw_latitude":119462216,"longitude_deg":75.6758912,"latitude_deg":11.9462216,"altitude":76,"angle":318,"satellites":33,"speed":22,"hex_longitude":"2d1b3980","hex_latitude":"071ed948","is_valid_coordinates":true} 
[2026-07-19 18:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823415552001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7244841029206016,"note":"Value kept but may cause issues"} 
[2026-07-19 18:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964906474254684160,"note":"Value kept but may cause issues"} 
[2026-07-19 18:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784466473000,"timestamp_ms":1784466473000,"timestamp_seconds":1784466473,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7d8028"} 
[2026-07-19 18:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18: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-07-19 18:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-19 18:38:57] 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-07-19 18:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":136861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":136861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":136861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823415552001,"66":14341,"101":206,"83":41984,"24":22,"16":7244841029206016,"45":1964906474254684160},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 18:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823415552001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:38:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 18:38:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7244841029206016,"km_value":7244841029206.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964906474254684160,"description":"Unknown IO ID 45"} 
[2026-07-19 18:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823415552001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1964906474254684160}} 
[2026-07-19 18:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":136861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:38:57] local.INFO: GPS data processed {"connection_id":136861,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:38:57] local.INFO: Acknowledgment sent {"connection_id":136861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:39:08] local.INFO: TCP Data received {"connection_id":139208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:39:08] local.INFO: Processing buffer {"connection_id":139208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a79c320012d34c50006aa4dd80008009529..."} 
[2026-07-19 18:39:08] local.INFO: Packet analysis {"connection_id":139208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a79"} 
[2026-07-19 18:39:08] local.INFO: Extracted packet for processing {"connection_id":139208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a79"} 
[2026-07-19 18:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823277312001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784466228000,"timestamp_ms":1784466228000,"timestamp_seconds":1784466228,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a79c320"} 
[2026-07-19 18:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":118,"data_length":795,"current_offset":136} 
[2026-07-19 18:39: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-07-19 18: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-07-19 18:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:39: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-07-19 18:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823277312001,"66":25419,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823277312001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:39:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:39:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823277312001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":139208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:39:08] local.INFO: GPS data processed {"connection_id":139208,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:39:08] local.INFO: Acknowledgment sent {"connection_id":139208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:39:28] local.INFO: TCP Data received {"connection_id":136861,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7e37c0012d1aff00071f14a8004e016527..."} 
[2026-07-19 18:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7e37c0012d1aff00071f14a8004e016527..."} 
[2026-07-19 18:39:28] local.INFO: Processing buffer {"connection_id":136861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7e37c0012d1aff00071f14a8004e016527..."} 
[2026-07-19 18:39:28] local.INFO: Packet analysis {"connection_id":136861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:39:28] local.INFO: Extracted packet for processing {"connection_id":136861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:39:28] local.INFO: GPS Element Parsed {"raw_longitude":756743936,"raw_latitude":119477416,"longitude_deg":75.6743936,"latitude_deg":11.9477416,"altitude":78,"angle":357,"satellites":39,"speed":12,"hex_longitude":"2d1aff00","hex_latitude":"071f14a8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823425024001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7246129519394816,"note":"Value kept but may cause issues"} 
[2026-07-19 18:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946469863282290688,"note":"Value kept but may cause issues"} 
[2026-07-19 18:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784466520000,"timestamp_ms":1784466520000,"timestamp_seconds":1784466520,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7e37c0"} 
[2026-07-19 18:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:39: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-07-19 18: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-19 18:39:28] 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-07-19 18: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-07-19 18:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823425024001,"66":14428,"101":206,"83":41984,"24":12,"16":7246129519394816,"45":1946469863282290688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 18:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823425024001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:39:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 18:39:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7246129519394816,"km_value":7246129519394.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946469863282290688,"description":"Unknown IO ID 45"} 
[2026-07-19 18:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823425024001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1946469863282290688}} 
[2026-07-19 18:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":136861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:39:28] local.INFO: GPS data processed {"connection_id":136861,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:39:28] local.INFO: Acknowledgment sent {"connection_id":136861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:39:31] local.INFO: TCP Data received {"connection_id":136757,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:39:31] local.INFO: Processing buffer {"connection_id":136757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:39:31] local.INFO: IMEI packet received {"connection_id":136757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":136757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:39:31] local.INFO: TCP Data received {"connection_id":137831,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:39:31] local.INFO: Processing buffer {"connection_id":137831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:39:31] local.INFO: IMEI packet received {"connection_id":137831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 18:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":137831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:39:35] local.INFO: TCP Data received {"connection_id":136757,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:39:35] local.INFO: Processing buffer {"connection_id":136757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:39:35] local.INFO: IMEI packet received {"connection_id":136757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":136757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:39:36] local.INFO: TCP Data received {"connection_id":136757,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:39:36] local.INFO: Processing buffer {"connection_id":136757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:39:36] local.INFO: Packet analysis {"connection_id":136757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:39:36] local.INFO: Extracted packet for processing {"connection_id":136757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:39:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823354368001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:39: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-07-19 18:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784466528000,"timestamp_ms":1784466528000,"timestamp_seconds":1784466528,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7e5700"} 
[2026-07-19 18:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-19 18:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:39: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-07-19 18:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823354368001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823354368001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:39:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:39:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823354368001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":136757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:39:36] local.INFO: GPS data processed {"connection_id":136757,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:39:36] local.INFO: Acknowledgment sent {"connection_id":136757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:39:47] local.INFO: TCP Data received {"connection_id":137832,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:39:47] local.INFO: Processing buffer {"connection_id":137832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:39:47] local.INFO: IMEI packet received {"connection_id":137832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":137832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:39:48] local.INFO: TCP Data received {"connection_id":137832,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:39:48] local.INFO: Processing buffer {"connection_id":137832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:39:48] local.INFO: IMEI packet received {"connection_id":137832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":137832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:39:50] local.INFO: TCP Data received {"connection_id":137832,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:39:50] local.INFO: Processing buffer {"connection_id":137832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:39:50] local.INFO: IMEI packet received {"connection_id":137832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":137832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:39:56] local.INFO: TCP Data received {"connection_id":137832,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:39:56] local.INFO: Processing buffer {"connection_id":137832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:39:56] local.INFO: IMEI packet received {"connection_id":137832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":137832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:39:56] local.INFO: TCP Data received {"connection_id":137832,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7e4f30012d1aff80071f1778004b001422..."} 
[2026-07-19 18:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7e4f30012d1aff80071f1778004b001422..."} 
[2026-07-19 18:39:56] local.INFO: Processing buffer {"connection_id":137832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7e4f30012d1aff80071f1778004b001422..."} 
[2026-07-19 18:39:56] local.INFO: Packet analysis {"connection_id":137832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:39:56] local.INFO: Extracted packet for processing {"connection_id":137832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:39:56] local.INFO: GPS Element Parsed {"raw_longitude":756744064,"raw_latitude":119478136,"longitude_deg":75.6744064,"latitude_deg":11.9478136,"altitude":75,"angle":20,"satellites":34,"speed":7,"hex_longitude":"2d1aff80","hex_latitude":"071f1778","is_valid_coordinates":true} 
[2026-07-19 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-07-19 18:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823429120001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7246168174100480,"note":"Value kept but may cause issues"} 
[2026-07-19 18:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945273594633562112,"note":"Value kept but may cause issues"} 
[2026-07-19 18:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784466526000,"timestamp_ms":1784466526000,"timestamp_seconds":1784466526,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7e4f30"} 
[2026-07-19 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-07-19 18:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-19 18:39: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-07-19 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-07-19 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-07-19 18:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823429120001,"66":13352,"101":206,"83":41984,"24":7,"16":7246168174100480,"45":1945273594633562112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 18:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823429120001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:39:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 18:39:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7246168174100480,"km_value":7246168174100.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945273594633562112,"description":"Unknown IO ID 45"} 
[2026-07-19 18:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823429120001,"power":13352,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1945273594633562112}} 
[2026-07-19 18:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":137832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:39:56] local.INFO: GPS data processed {"connection_id":137832,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:39:56] local.INFO: Acknowledgment sent {"connection_id":137832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:40:08] local.INFO: TCP Data received {"connection_id":136757,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:40:08] local.INFO: Processing buffer {"connection_id":136757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:40:08] local.INFO: Packet analysis {"connection_id":136757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:40:08] local.INFO: Extracted packet for processing {"connection_id":136757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:40:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823354368001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:40: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-07-19 18:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784466528000,"timestamp_ms":1784466528000,"timestamp_seconds":1784466528,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7e5700"} 
[2026-07-19 18:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-19 18:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:40: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-07-19 18:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823354368001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823354368001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:40:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:40:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823354368001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":136757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:40:08] local.INFO: GPS data processed {"connection_id":136757,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:40:08] local.INFO: Acknowledgment sent {"connection_id":136757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:40:28] local.INFO: TCP Data received {"connection_id":137832,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7f06c8012d1aba00071f48200039016026..."} 
[2026-07-19 18:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7f06c8012d1aba00071f48200039016026..."} 
[2026-07-19 18:40:28] local.INFO: Processing buffer {"connection_id":137832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7f06c8012d1aba00071f48200039016026..."} 
[2026-07-19 18:40:28] local.INFO: Packet analysis {"connection_id":137832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a7f"} 
[2026-07-19 18:40:28] local.INFO: Extracted packet for processing {"connection_id":137832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a7f"} 
[2026-07-19 18:40:28] local.INFO: GPS Element Parsed {"raw_longitude":756726272,"raw_latitude":119490592,"longitude_deg":75.6726272,"latitude_deg":11.9490592,"altitude":57,"angle":352,"satellites":38,"speed":21,"hex_longitude":"2d1aba00","hex_latitude":"071f4820","is_valid_coordinates":true} 
[2026-07-19 18:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823442432001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7247491024027648,"note":"Value kept but may cause issues"} 
[2026-07-19 18:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925992558732113920,"note":"Value kept but may cause issues"} 
[2026-07-19 18:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784466573000,"timestamp_ms":1784466573000,"timestamp_seconds":1784466573,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7f06c8"} 
[2026-07-19 18:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:40: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-07-19 18:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-19 18:40:28] 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-07-19 18:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823442432001,"66":14298,"101":206,"83":41984,"24":21,"16":7247491024027648,"45":1925992558732113920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 18:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823442432001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:40:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 18:40:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7247491024027648,"km_value":7247491024027.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925992558732113920,"description":"Unknown IO ID 45"} 
[2026-07-19 18:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823442432001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1925992558732113920}} 
[2026-07-19 18:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":137832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:40:28] local.INFO: GPS data processed {"connection_id":137832,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:40:28] local.INFO: Acknowledgment sent {"connection_id":137832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:40:30] local.INFO: TCP Data received {"connection_id":136758,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:40:30] local.INFO: Processing buffer {"connection_id":136758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:40:30] local.INFO: IMEI packet received {"connection_id":136758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":136758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:40:36] local.INFO: TCP Data received {"connection_id":136758,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:40:36] local.INFO: Processing buffer {"connection_id":136758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:40:36] local.INFO: IMEI packet received {"connection_id":136758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":136758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:40:37] local.INFO: TCP Data received {"connection_id":136758,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:40:37] local.INFO: Processing buffer {"connection_id":136758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:40:37] local.INFO: Packet analysis {"connection_id":136758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:40:37] local.INFO: Extracted packet for processing {"connection_id":136758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823354368001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:40: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-07-19 18:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784466528000,"timestamp_ms":1784466528000,"timestamp_seconds":1784466528,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7e5700"} 
[2026-07-19 18:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-19 18:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823354368001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823354368001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:40:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823354368001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":136758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:40:37] local.INFO: GPS data processed {"connection_id":136758,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:40:37] local.INFO: Acknowledgment sent {"connection_id":136758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:40:51] local.INFO: TCP Data received {"connection_id":136862,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:40:51] local.INFO: Processing buffer {"connection_id":136862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:40:51] local.INFO: IMEI packet received {"connection_id":136862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":136862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:40:55] local.INFO: TCP Data received {"connection_id":136862,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:40:55] local.INFO: Processing buffer {"connection_id":136862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:40:55] local.INFO: IMEI packet received {"connection_id":136862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":136862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:40:56] local.INFO: TCP Data received {"connection_id":136862,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7f2220012d1aba80071f5e08003a000324..."} 
[2026-07-19 18:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7f2220012d1aba80071f5e08003a000324..."} 
[2026-07-19 18:40:56] local.INFO: Processing buffer {"connection_id":136862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7f2220012d1aba80071f5e08003a000324..."} 
[2026-07-19 18:40:56] local.INFO: Packet analysis {"connection_id":136862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a7f"} 
[2026-07-19 18:40:56] local.INFO: Extracted packet for processing {"connection_id":136862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a7f"} 
[2026-07-19 18:40:56] local.INFO: GPS Element Parsed {"raw_longitude":756726400,"raw_latitude":119496200,"longitude_deg":75.67264,"latitude_deg":11.94962,"altitude":58,"angle":3,"satellites":36,"speed":32,"hex_longitude":"2d1aba80","hex_latitude":"071f5e08","is_valid_coordinates":true} 
[2026-07-19 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-07-19 18:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823442688001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7247761606967296,"note":"Value kept but may cause issues"} 
[2026-07-19 18:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925851821243899904,"note":"Value kept but may cause issues"} 
[2026-07-19 18:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784466580000,"timestamp_ms":1784466580000,"timestamp_seconds":1784466580,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7f2220"} 
[2026-07-19 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-07-19 18:40: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-07-19 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-19 18:40: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-07-19 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-07-19 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-07-19 18:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823442688001,"66":14374,"101":206,"83":41984,"24":32,"16":7247761606967296,"45":1925851821243899904},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 18:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823442688001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:40:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 18:40:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7247761606967296,"km_value":7247761606967.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925851821243899904,"description":"Unknown IO ID 45"} 
[2026-07-19 18:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823442688001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1925851821243899904}} 
[2026-07-19 18:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":136862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:40:56] local.INFO: GPS data processed {"connection_id":136862,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:40:56] local.INFO: Acknowledgment sent {"connection_id":136862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:41:08] local.INFO: TCP Data received {"connection_id":136758,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:41:08] local.INFO: Processing buffer {"connection_id":136758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:41:08] local.INFO: Packet analysis {"connection_id":136758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:41:08] local.INFO: Extracted packet for processing {"connection_id":136758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:41:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823354368001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:41: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-07-19 18:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784466528000,"timestamp_ms":1784466528000,"timestamp_seconds":1784466528,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7e5700"} 
[2026-07-19 18:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-19 18:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:41: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-07-19 18:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823354368001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823354368001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:41:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:41:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823354368001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":136758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:41:08] local.INFO: GPS data processed {"connection_id":136758,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:41:08] local.INFO: Acknowledgment sent {"connection_id":136758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:41:27] local.INFO: TCP Data received {"connection_id":136862,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7ffce0012d1a5900071fdcd00034012526..."} 
[2026-07-19 18:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7ffce0012d1a5900071fdcd00034012526..."} 
[2026-07-19 18:41:27] local.INFO: Processing buffer {"connection_id":136862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7ffce0012d1a5900071fdcd00034012526..."} 
[2026-07-19 18:41:27] local.INFO: Packet analysis {"connection_id":136862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a7f"} 
[2026-07-19 18:41:27] local.INFO: Extracted packet for processing {"connection_id":136862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a7f"} 
[2026-07-19 18:41:27] local.INFO: GPS Element Parsed {"raw_longitude":756701440,"raw_latitude":119528656,"longitude_deg":75.670144,"latitude_deg":11.9528656,"altitude":52,"angle":293,"satellites":38,"speed":32,"hex_longitude":"2d1a5900","hex_latitude":"071fdcd0","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823458048001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7250110954078208,"note":"Value kept but may cause issues"} 
[2026-07-19 18:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901152392047190016,"note":"Value kept but may cause issues"} 
[2026-07-19 18:41: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-07-19 18:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784466636000,"timestamp_ms":1784466636000,"timestamp_seconds":1784466636,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7ffce0"} 
[2026-07-19 18:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:41: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-07-19 18: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-19 18:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823458048001,"66":14515,"101":206,"83":41984,"24":32,"16":7250110954078208,"45":1901152392047190016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 18:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823458048001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:41:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 18:41:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7250110954078208,"km_value":7250110954078.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901152392047190016,"description":"Unknown IO ID 45"} 
[2026-07-19 18:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823458048001,"power":14515,"unknown_101":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1901152392047190016}} 
[2026-07-19 18:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":136862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:41:27] local.INFO: GPS data processed {"connection_id":136862,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:41:27] local.INFO: Acknowledgment sent {"connection_id":136862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:41:36] local.INFO: TCP Data received {"connection_id":139209,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:41:36] local.INFO: Processing buffer {"connection_id":139209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:41:36] local.INFO: IMEI packet received {"connection_id":139209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":139209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:41:41] local.INFO: TCP Data received {"connection_id":139209,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:41:41] local.INFO: Processing buffer {"connection_id":139209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:41:41] local.INFO: IMEI packet received {"connection_id":139209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":139209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:41:41] local.INFO: TCP Data received {"connection_id":139209,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:41:41] local.INFO: Processing buffer {"connection_id":139209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:41:41] local.INFO: Packet analysis {"connection_id":139209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:41:41] local.INFO: Extracted packet for processing {"connection_id":139209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:41:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823354368001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784466528000,"timestamp_ms":1784466528000,"timestamp_seconds":1784466528,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7e5700"} 
[2026-07-19 18:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-19 18:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823354368001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823354368001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:41:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:41:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823354368001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":139209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:41:41] local.INFO: GPS data processed {"connection_id":139209,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:41:41] local.INFO: Acknowledgment sent {"connection_id":139209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:41:46] local.INFO: TCP Data received {"connection_id":139209,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:41:46] local.INFO: Processing buffer {"connection_id":139209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:41:46] local.INFO: Packet analysis {"connection_id":139209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:41:46] local.INFO: Extracted packet for processing {"connection_id":139209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823354368001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784466528000,"timestamp_ms":1784466528000,"timestamp_seconds":1784466528,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7e5700"} 
[2026-07-19 18:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-19 18:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":139209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":139209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":139209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823354368001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823354368001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:41:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823354368001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":139209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:41:46] local.INFO: GPS data processed {"connection_id":139209,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:41:46] local.INFO: Acknowledgment sent {"connection_id":139209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:41:48] local.INFO: TCP Data received {"connection_id":136759,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:41:48] local.INFO: Processing buffer {"connection_id":136759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:41:48] local.INFO: IMEI packet received {"connection_id":136759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":136759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:41:49] local.INFO: TCP Data received {"connection_id":136759,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:41:49] local.INFO: Processing buffer {"connection_id":136759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:41:49] local.INFO: IMEI packet received {"connection_id":136759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":136759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:41:50] local.INFO: TCP Data received {"connection_id":136759,"ip":"42.106.6.36","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 18:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136759,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 18:41:50] local.INFO: Processing buffer {"connection_id":136759,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 18:41:50] local.INFO: IMEI packet received {"connection_id":136759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":136759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:42:31] local.INFO: TCP Data received {"connection_id":136863,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:42:31] local.INFO: Processing buffer {"connection_id":136863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:42:31] local.INFO: IMEI packet received {"connection_id":136863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":136863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:42:36] local.INFO: TCP Data received {"connection_id":136863,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:42:36] local.INFO: Processing buffer {"connection_id":136863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:42:36] local.INFO: IMEI packet received {"connection_id":136863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":136863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:42:37] local.INFO: TCP Data received {"connection_id":136863,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:42:37] local.INFO: Processing buffer {"connection_id":136863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:42:37] local.INFO: Packet analysis {"connection_id":136863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:42:37] local.INFO: Extracted packet for processing {"connection_id":136863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823354368001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:42: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-07-19 18:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784466528000,"timestamp_ms":1784466528000,"timestamp_seconds":1784466528,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7e5700"} 
[2026-07-19 18:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-19 18:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:42:37] 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-07-19 18:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823354368001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823354368001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823354368001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":136863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:42:37] local.INFO: GPS data processed {"connection_id":136863,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:42:37] local.INFO: Acknowledgment sent {"connection_id":136863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:43:08] local.INFO: TCP Data received {"connection_id":136863,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:43:08] local.INFO: Processing buffer {"connection_id":136863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:43:08] local.INFO: Packet analysis {"connection_id":136863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:43:08] local.INFO: Extracted packet for processing {"connection_id":136863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:43:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823354368001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:43: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-07-19 18:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784466528000,"timestamp_ms":1784466528000,"timestamp_seconds":1784466528,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7e5700"} 
[2026-07-19 18:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-19 18:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:43:08] 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-07-19 18:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823354368001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823354368001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:43:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:43:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823354368001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":136863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:43:08] local.INFO: GPS data processed {"connection_id":136863,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:43:08] local.INFO: Acknowledgment sent {"connection_id":136863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:43:31] local.INFO: TCP Data received {"connection_id":139210,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:43:31] local.INFO: Processing buffer {"connection_id":139210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:43:31] local.INFO: IMEI packet received {"connection_id":139210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":139210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:43:36] local.INFO: TCP Data received {"connection_id":139210,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:43:36] local.INFO: Processing buffer {"connection_id":139210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:43:36] local.INFO: IMEI packet received {"connection_id":139210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":139210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:43:36] local.INFO: TCP Data received {"connection_id":139210,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:43:36] local.INFO: Processing buffer {"connection_id":139210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:43:36] local.INFO: Packet analysis {"connection_id":139210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:43:36] local.INFO: Extracted packet for processing {"connection_id":139210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823354368001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:43: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-07-19 18:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784466528000,"timestamp_ms":1784466528000,"timestamp_seconds":1784466528,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7e5700"} 
[2026-07-19 18:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-19 18:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:43: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-07-19 18:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823354368001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823354368001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:43:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:43:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823354368001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":139210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:43:36] local.INFO: GPS data processed {"connection_id":139210,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:43:36] local.INFO: Acknowledgment sent {"connection_id":139210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:44:08] local.INFO: TCP Data received {"connection_id":139210,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:44:08] local.INFO: Processing buffer {"connection_id":139210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a7e5700012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:44:08] local.INFO: Packet analysis {"connection_id":139210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:44:08] local.INFO: Extracted packet for processing {"connection_id":139210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a7e"} 
[2026-07-19 18:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823354368001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784466528000,"timestamp_ms":1784466528000,"timestamp_seconds":1784466528,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a7e5700"} 
[2026-07-19 18:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-19 18:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823354368001,"66":25473,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823354368001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:44:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823354368001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":139210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:44:08] local.INFO: GPS data processed {"connection_id":139210,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:44:08] local.INFO: Acknowledgment sent {"connection_id":139210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:44:31] local.INFO: TCP Data received {"connection_id":136760,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:44:31] local.INFO: Processing buffer {"connection_id":136760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:44:31] local.INFO: IMEI packet received {"connection_id":136760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":136760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:44:36] local.INFO: TCP Data received {"connection_id":136760,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:44:36] local.INFO: Processing buffer {"connection_id":136760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:44:36] local.INFO: IMEI packet received {"connection_id":136760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":136760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:44:37] local.INFO: TCP Data received {"connection_id":136760,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:44:37] local.INFO: Processing buffer {"connection_id":136760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:44:37] local.INFO: Packet analysis {"connection_id":136760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a82"} 
[2026-07-19 18:44:37] local.INFO: Extracted packet for processing {"connection_id":136760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a82"} 
[2026-07-19 18:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823431168001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:44: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-07-19 18:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784466829000,"timestamp_ms":1784466829000,"timestamp_seconds":1784466829,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a82eec8"} 
[2026-07-19 18:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823431168001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823431168001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:44:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823431168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":136760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:44:37] local.INFO: GPS data processed {"connection_id":136760,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:44:37] local.INFO: Acknowledgment sent {"connection_id":136760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:44:51] local.INFO: TCP Data received {"connection_id":136864,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:44:51] local.INFO: Processing buffer {"connection_id":136864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:44:51] local.INFO: IMEI packet received {"connection_id":136864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 18:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":136864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:45:08] local.INFO: TCP Data received {"connection_id":136760,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:45:08] local.INFO: Processing buffer {"connection_id":136760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:45:08] local.INFO: Packet analysis {"connection_id":136760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a82"} 
[2026-07-19 18:45:08] local.INFO: Extracted packet for processing {"connection_id":136760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a82"} 
[2026-07-19 18:45:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823431168001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:45: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-07-19 18:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784466829000,"timestamp_ms":1784466829000,"timestamp_seconds":1784466829,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a82eec8"} 
[2026-07-19 18:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823431168001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823431168001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:45:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:45:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823431168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":136760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:45:08] local.INFO: GPS data processed {"connection_id":136760,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:45:08] local.INFO: Acknowledgment sent {"connection_id":136760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:45:26] local.INFO: TCP Data received {"connection_id":139211,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:45:26] local.INFO: Processing buffer {"connection_id":139211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:45:26] local.INFO: IMEI packet received {"connection_id":139211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 18:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":139211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:45:30] local.INFO: TCP Data received {"connection_id":137839,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:45:30] local.INFO: Processing buffer {"connection_id":137839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:45:30] local.INFO: IMEI packet received {"connection_id":137839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":137839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:45:36] local.INFO: TCP Data received {"connection_id":137839,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:45:36] local.INFO: Processing buffer {"connection_id":137839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:45:36] local.INFO: IMEI packet received {"connection_id":137839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":137839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:45:36] local.INFO: TCP Data received {"connection_id":137839,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:45:36] local.INFO: Processing buffer {"connection_id":137839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:45:36] local.INFO: Packet analysis {"connection_id":137839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a82"} 
[2026-07-19 18:45:36] local.INFO: Extracted packet for processing {"connection_id":137839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a82"} 
[2026-07-19 18:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823431168001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:45: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-07-19 18:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784466829000,"timestamp_ms":1784466829000,"timestamp_seconds":1784466829,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a82eec8"} 
[2026-07-19 18:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:45: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-07-19 18:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823431168001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823431168001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:45:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823431168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":137839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:45:36] local.INFO: GPS data processed {"connection_id":137839,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:45:36] local.INFO: Acknowledgment sent {"connection_id":137839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:46:08] local.INFO: TCP Data received {"connection_id":137839,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:46:08] local.INFO: Processing buffer {"connection_id":137839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:46:08] local.INFO: Packet analysis {"connection_id":137839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a82"} 
[2026-07-19 18:46:08] local.INFO: Extracted packet for processing {"connection_id":137839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a82"} 
[2026-07-19 18:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823431168001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784466829000,"timestamp_ms":1784466829000,"timestamp_seconds":1784466829,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a82eec8"} 
[2026-07-19 18:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:46: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-07-19 18: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-07-19 18:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:46: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-07-19 18:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823431168001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823431168001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:46:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:46:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823431168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":137839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:46:08] local.INFO: GPS data processed {"connection_id":137839,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:46:08] local.INFO: Acknowledgment sent {"connection_id":137839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:46:36] local.INFO: TCP Data received {"connection_id":136761,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:46:36] local.INFO: Processing buffer {"connection_id":136761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:46:36] local.INFO: IMEI packet received {"connection_id":136761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":136761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:46:41] local.INFO: TCP Data received {"connection_id":136761,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:46:41] local.INFO: Processing buffer {"connection_id":136761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:46:41] local.INFO: IMEI packet received {"connection_id":136761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":136761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:46:41] local.INFO: TCP Data received {"connection_id":136761,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:46:41] local.INFO: Processing buffer {"connection_id":136761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:46:41] local.INFO: Packet analysis {"connection_id":136761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a82"} 
[2026-07-19 18:46:41] local.INFO: Extracted packet for processing {"connection_id":136761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a82"} 
[2026-07-19 18:46:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823431168001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784466829000,"timestamp_ms":1784466829000,"timestamp_seconds":1784466829,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a82eec8"} 
[2026-07-19 18:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":136761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":136761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":136761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823431168001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823431168001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:46:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:46:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823431168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":136761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:46:41] local.INFO: GPS data processed {"connection_id":136761,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:46:41] local.INFO: Acknowledgment sent {"connection_id":136761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:46:47] local.INFO: TCP Data received {"connection_id":136761,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:46:47] local.INFO: Processing buffer {"connection_id":136761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:46:47] local.INFO: Packet analysis {"connection_id":136761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a82"} 
[2026-07-19 18:46:47] local.INFO: Extracted packet for processing {"connection_id":136761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a82"} 
[2026-07-19 18:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823431168001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784466829000,"timestamp_ms":1784466829000,"timestamp_seconds":1784466829,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a82eec8"} 
[2026-07-19 18:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823431168001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823431168001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:46:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823431168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":136761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:46:47] local.INFO: GPS data processed {"connection_id":136761,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:46:47] local.INFO: Acknowledgment sent {"connection_id":136761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:46:51] local.INFO: TCP Data received {"connection_id":136762,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:46:51] local.INFO: Processing buffer {"connection_id":136762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:46:51] local.INFO: IMEI packet received {"connection_id":136762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":136762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:46:52] local.INFO: TCP Data received {"connection_id":136762,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a851978012d181f800721ad380050002626..."} 
[2026-07-19 18:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a851978012d181f800721ad380050002626..."} 
[2026-07-19 18:46:52] local.INFO: Processing buffer {"connection_id":136762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a851978012d181f800721ad380050002626..."} 
[2026-07-19 18:46:52] local.INFO: Packet analysis {"connection_id":136762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a85"} 
[2026-07-19 18:46:52] local.INFO: Extracted packet for processing {"connection_id":136762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a85"} 
[2026-07-19 18:46:52] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119647544,"longitude_deg":75.6555648,"latitude_deg":11.9647544,"altitude":80,"angle":38,"satellites":38,"speed":10,"hex_longitude":"2d181f80","hex_latitude":"0721ad38","is_valid_coordinates":true} 
[2026-07-19 18:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823543808001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7260676573626368,"note":"Value kept but may cause issues"} 
[2026-07-19 18:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096995328,"note":"Value kept but may cause issues"} 
[2026-07-19 18:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784466971000,"timestamp_ms":1784466971000,"timestamp_seconds":1784466971,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a851978"} 
[2026-07-19 18:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:46: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-07-19 18:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-19 18:46: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-07-19 18:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":136762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":136762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":136762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823543808001,"66":14428,"105":206,"83":41984,"24":10,"16":7260676573626368,"45":1737756168096995328},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823543808001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:46:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:46:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7260676573626368,"km_value":7260676573626.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096995328,"description":"Unknown IO ID 45"} 
[2026-07-19 18:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823543808001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737756168096995328}} 
[2026-07-19 18:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":136762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:46:52] local.INFO: GPS data processed {"connection_id":136762,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:46:52] local.INFO: Acknowledgment sent {"connection_id":136762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:47:23] local.INFO: TCP Data received {"connection_id":136762,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a852148012d1820c00721aec00050001426..."} 
[2026-07-19 18:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a852148012d1820c00721aec00050001426..."} 
[2026-07-19 18:47:23] local.INFO: Processing buffer {"connection_id":136762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a852148012d1820c00721aec00050001426..."} 
[2026-07-19 18:47:23] local.INFO: Packet analysis {"connection_id":136762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a85"} 
[2026-07-19 18:47:23] local.INFO: Extracted packet for processing {"connection_id":136762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a85"} 
[2026-07-19 18:47:23] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119647936,"longitude_deg":75.6555968,"latitude_deg":11.9647936,"altitude":80,"angle":20,"satellites":38,"speed":8,"hex_longitude":"2d1820c0","hex_latitude":"0721aec0","is_valid_coordinates":true} 
[2026-07-19 18:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823544576001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7260698048462848,"note":"Value kept but may cause issues"} 
[2026-07-19 18:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306427392,"note":"Value kept but may cause issues"} 
[2026-07-19 18:47: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-07-19 18:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784466973000,"timestamp_ms":1784466973000,"timestamp_seconds":1784466973,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a852148"} 
[2026-07-19 18:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-19 18:47: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-07-19 18:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":136762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":136762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":136762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823544576001,"66":14396,"105":206,"83":41984,"24":8,"16":7260698048462848,"45":1738248749306427392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823544576001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:47:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:47:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7260698048462848,"km_value":7260698048462.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306427392,"description":"Unknown IO ID 45"} 
[2026-07-19 18:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823544576001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738248749306427392}} 
[2026-07-19 18:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":136762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:47:23] local.INFO: GPS data processed {"connection_id":136762,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:47:23] local.INFO: Acknowledgment sent {"connection_id":136762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:47:31] local.INFO: TCP Data received {"connection_id":136763,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:47:31] local.INFO: Processing buffer {"connection_id":136763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:47:31] local.INFO: IMEI packet received {"connection_id":136763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":136763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:47:36] local.INFO: TCP Data received {"connection_id":136763,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:47:36] local.INFO: Processing buffer {"connection_id":136763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:47:36] local.INFO: IMEI packet received {"connection_id":136763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":136763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:47:37] local.INFO: TCP Data received {"connection_id":136763,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:47:37] local.INFO: Processing buffer {"connection_id":136763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:47:37] local.INFO: Packet analysis {"connection_id":136763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a82"} 
[2026-07-19 18:47:37] local.INFO: Extracted packet for processing {"connection_id":136763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a82"} 
[2026-07-19 18:47:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823431168001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784466829000,"timestamp_ms":1784466829000,"timestamp_seconds":1784466829,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a82eec8"} 
[2026-07-19 18:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823431168001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823431168001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:47:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:47:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823431168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":136763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:47:37] local.INFO: GPS data processed {"connection_id":136763,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:47:37] local.INFO: Acknowledgment sent {"connection_id":136763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:47:51] local.INFO: TCP Data received {"connection_id":136867,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:47:51] local.INFO: Processing buffer {"connection_id":136867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:47:51] local.INFO: IMEI packet received {"connection_id":136867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":136867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:47:55] local.INFO: TCP Data received {"connection_id":136867,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:47:55] local.INFO: Processing buffer {"connection_id":136867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:47:55] local.INFO: IMEI packet received {"connection_id":136867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":136867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:47:55] local.INFO: TCP Data received {"connection_id":136867,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a852530012d1820c00721af700051016225..."} 
[2026-07-19 18:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a852530012d1820c00721af700051016225..."} 
[2026-07-19 18:47:55] local.INFO: Processing buffer {"connection_id":136867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a852530012d1820c00721af700051016225..."} 
[2026-07-19 18:47:55] local.INFO: Packet analysis {"connection_id":136867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a85"} 
[2026-07-19 18:47:55] local.INFO: Extracted packet for processing {"connection_id":136867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a85"} 
[2026-07-19 18:47:55] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648112,"longitude_deg":75.6555968,"latitude_deg":11.9648112,"altitude":81,"angle":354,"satellites":37,"speed":6,"hex_longitude":"2d1820c0","hex_latitude":"0721af70","is_valid_coordinates":true} 
[2026-07-19 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-07-19 18:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823545088001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7260706638397440,"note":"Value kept but may cause issues"} 
[2026-07-19 18:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027416064,"note":"Value kept but may cause issues"} 
[2026-07-19 18:47: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-07-19 18:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784466974000,"timestamp_ms":1784466974000,"timestamp_seconds":1784466974,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a852530"} 
[2026-07-19 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-07-19 18:47: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-07-19 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-19 18:47: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-07-19 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-07-19 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-07-19 18:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":136867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":136867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":136867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823545088001,"66":14461,"105":206,"83":41984,"24":6,"16":7260706638397440,"45":1738600593027416064},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823545088001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:47:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:47:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7260706638397440,"km_value":7260706638397.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027416064,"description":"Unknown IO ID 45"} 
[2026-07-19 18:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823545088001,"power":14461,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1738600593027416064}} 
[2026-07-19 18:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":136867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:47:55] local.INFO: GPS data processed {"connection_id":136867,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:47:55] local.INFO: Acknowledgment sent {"connection_id":136867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:48:08] local.INFO: TCP Data received {"connection_id":136763,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:48:08] local.INFO: Processing buffer {"connection_id":136763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:48:08] local.INFO: Packet analysis {"connection_id":136763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a82"} 
[2026-07-19 18:48:08] local.INFO: Extracted packet for processing {"connection_id":136763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a82"} 
[2026-07-19 18:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823431168001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784466829000,"timestamp_ms":1784466829000,"timestamp_seconds":1784466829,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a82eec8"} 
[2026-07-19 18:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:48: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-07-19 18:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823431168001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823431168001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:48:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823431168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":136763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:48:08] local.INFO: GPS data processed {"connection_id":136763,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:48:08] local.INFO: Acknowledgment sent {"connection_id":136763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:48:27] local.INFO: TCP Data received {"connection_id":136867,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a857738012d1820400721b0580050016527..."} 
[2026-07-19 18:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a857738012d1820400721b0580050016527..."} 
[2026-07-19 18:48:27] local.INFO: Processing buffer {"connection_id":136867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a857738012d1820400721b0580050016527..."} 
[2026-07-19 18:48:27] local.INFO: Packet analysis {"connection_id":136867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a85"} 
[2026-07-19 18:48:27] local.INFO: Extracted packet for processing {"connection_id":136867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a85"} 
[2026-07-19 18:48:27] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648344,"longitude_deg":75.655584,"latitude_deg":11.9648344,"altitude":80,"angle":357,"satellites":39,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b058","is_valid_coordinates":true} 
[2026-07-19 18:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823545344001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7260719523299328,"note":"Value kept but may cause issues"} 
[2026-07-19 18:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027461120,"note":"Value kept but may cause issues"} 
[2026-07-19 18:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784466995000,"timestamp_ms":1784466995000,"timestamp_seconds":1784466995,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a857738"} 
[2026-07-19 18:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:48: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-07-19 18:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-19 18:48:27] 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-07-19 18:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823545344001,"66":14515,"105":206,"83":41984,"24":0,"16":7260719523299328,"45":1738600593027461120},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823545344001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:48:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:48:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7260719523299328,"km_value":7260719523299.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027461120,"description":"Unknown IO ID 45"} 
[2026-07-19 18:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823545344001,"power":14515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027461120}} 
[2026-07-19 18:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":136867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:48:27] local.INFO: GPS data processed {"connection_id":136867,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:48:27] local.INFO: Acknowledgment sent {"connection_id":136867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:48:30] local.INFO: TCP Data received {"connection_id":136764,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:48:30] local.INFO: Processing buffer {"connection_id":136764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:48:30] local.INFO: IMEI packet received {"connection_id":136764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":136764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:48:36] local.INFO: TCP Data received {"connection_id":136764,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:48:36] local.INFO: Processing buffer {"connection_id":136764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:48:36] local.INFO: IMEI packet received {"connection_id":136764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":136764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:48:36] local.INFO: TCP Data received {"connection_id":136764,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:48:36] local.INFO: Processing buffer {"connection_id":136764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:48:36] local.INFO: Packet analysis {"connection_id":136764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a82"} 
[2026-07-19 18:48:36] local.INFO: Extracted packet for processing {"connection_id":136764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a82"} 
[2026-07-19 18:48:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823431168001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:48: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-07-19 18:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784466829000,"timestamp_ms":1784466829000,"timestamp_seconds":1784466829,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a82eec8"} 
[2026-07-19 18:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:48: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-07-19 18:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823431168001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823431168001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:48:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:48:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823431168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":136764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:48:36] local.INFO: GPS data processed {"connection_id":136764,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:48:36] local.INFO: Acknowledgment sent {"connection_id":136764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:48:51] local.INFO: TCP Data received {"connection_id":136869,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:48:51] local.INFO: Processing buffer {"connection_id":136869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:48:51] local.INFO: IMEI packet received {"connection_id":136869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":136869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:48:56] local.INFO: TCP Data received {"connection_id":136869,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:48:56] local.INFO: Processing buffer {"connection_id":136869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:48:56] local.INFO: IMEI packet received {"connection_id":136869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":136869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:48:56] local.INFO: TCP Data received {"connection_id":136869,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a85c940012d1820400721b0580050016528..."} 
[2026-07-19 18:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a85c940012d1820400721b0580050016528..."} 
[2026-07-19 18:48:56] local.INFO: Processing buffer {"connection_id":136869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a85c940012d1820400721b0580050016528..."} 
[2026-07-19 18:48:56] local.INFO: Packet analysis {"connection_id":136869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a85"} 
[2026-07-19 18:48:56] local.INFO: Extracted packet for processing {"connection_id":136869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a85"} 
[2026-07-19 18:48:56] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648344,"longitude_deg":75.655584,"latitude_deg":11.9648344,"altitude":80,"angle":357,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b058","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823550720001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7260719523299328,"note":"Value kept but may cause issues"} 
[2026-07-19 18:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539165184,"note":"Value kept but may cause issues"} 
[2026-07-19 18:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784467016000,"timestamp_ms":1784467016000,"timestamp_seconds":1784467016,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a85c940"} 
[2026-07-19 18:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-19 18:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823550720001,"66":14396,"105":206,"83":41984,"24":0,"16":7260719523299328,"45":1738459855539165184},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823550720001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:48:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:48:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7260719523299328,"km_value":7260719523299.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539165184,"description":"Unknown IO ID 45"} 
[2026-07-19 18:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823550720001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539165184}} 
[2026-07-19 18:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":136869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:48:56] local.INFO: GPS data processed {"connection_id":136869,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:48:56] local.INFO: Acknowledgment sent {"connection_id":136869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:49:08] local.INFO: TCP Data received {"connection_id":136764,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:49:08] local.INFO: Processing buffer {"connection_id":136764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a82eec8012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:49:08] local.INFO: Packet analysis {"connection_id":136764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a82"} 
[2026-07-19 18:49:08] local.INFO: Extracted packet for processing {"connection_id":136764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a82"} 
[2026-07-19 18:49:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823431168001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784466829000,"timestamp_ms":1784466829000,"timestamp_seconds":1784466829,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a82eec8"} 
[2026-07-19 18:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 18:49: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-07-19 18: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-07-19 18:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823431168001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823431168001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:49:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:49:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823431168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":136764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:49:08] local.INFO: GPS data processed {"connection_id":136764,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:49:08] local.INFO: Acknowledgment sent {"connection_id":136764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:49:28] local.INFO: TCP Data received {"connection_id":136869,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a86bb70012d181f800721b088004d00dc28..."} 
[2026-07-19 18:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a86bb70012d181f800721b088004d00dc28..."} 
[2026-07-19 18:49:28] local.INFO: Processing buffer {"connection_id":136869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a86bb70012d181f800721b088004d00dc28..."} 
[2026-07-19 18:49:28] local.INFO: Packet analysis {"connection_id":136869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a86"} 
[2026-07-19 18:49:28] local.INFO: Extracted packet for processing {"connection_id":136869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a86"} 
[2026-07-19 18:49:28] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":77,"angle":220,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823571712001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7260766767939584,"note":"Value kept but may cause issues"} 
[2026-07-19 18:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306650624,"note":"Value kept but may cause issues"} 
[2026-07-19 18:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784467078000,"timestamp_ms":1784467078000,"timestamp_seconds":1784467078,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a86bb70"} 
[2026-07-19 18:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-19 18:49:28] 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-07-19 18: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-07-19 18:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823571712001,"66":13091,"105":206,"83":41984,"24":0,"16":7260766767939584,"45":1738248749306650624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823571712001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:49:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:49:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7260766767939584,"km_value":7260766767939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306650624,"description":"Unknown IO ID 45"} 
[2026-07-19 18:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823571712001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306650624}} 
[2026-07-19 18:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":136869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:49:28] local.INFO: GPS data processed {"connection_id":136869,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:49:28] local.INFO: Acknowledgment sent {"connection_id":136869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:49:30] local.INFO: TCP Data received {"connection_id":137841,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:49:30] local.INFO: Processing buffer {"connection_id":137841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:49:30] local.INFO: IMEI packet received {"connection_id":137841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":137841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:49:36] local.INFO: TCP Data received {"connection_id":137841,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:49:36] local.INFO: Processing buffer {"connection_id":137841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:49:36] local.INFO: IMEI packet received {"connection_id":137841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":137841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:49:37] local.INFO: TCP Data received {"connection_id":137841,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:49:37] local.INFO: Processing buffer {"connection_id":137841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:49:37] local.INFO: Packet analysis {"connection_id":137841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:49:37] local.INFO: Extracted packet for processing {"connection_id":137841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823508224001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:49: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-07-19 18:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784467130000,"timestamp_ms":1784467130000,"timestamp_seconds":1784467130,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a878690"} 
[2026-07-19 18:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 18:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823508224001,"66":25451,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823508224001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:49:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823508224001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":137841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:49:37] local.INFO: GPS data processed {"connection_id":137841,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:49:37] local.INFO: Acknowledgment sent {"connection_id":137841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:49:51] local.INFO: TCP Data received {"connection_id":137842,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:49:51] local.INFO: Processing buffer {"connection_id":137842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:49:51] local.INFO: IMEI packet received {"connection_id":137842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":137842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:49:56] local.INFO: TCP Data received {"connection_id":137842,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:49:56] local.INFO: Processing buffer {"connection_id":137842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:49:56] local.INFO: IMEI packet received {"connection_id":137842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":137842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:49:56] local.INFO: TCP Data received {"connection_id":137842,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a870d78012d181f800721b080004d00dc25..."} 
[2026-07-19 18:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a870d78012d181f800721b080004d00dc25..."} 
[2026-07-19 18:49:56] local.INFO: Processing buffer {"connection_id":137842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a870d78012d181f800721b080004d00dc25..."} 
[2026-07-19 18:49:56] local.INFO: Packet analysis {"connection_id":137842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:49:56] local.INFO: Extracted packet for processing {"connection_id":137842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:49:56] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648384,"longitude_deg":75.6555648,"latitude_deg":11.9648384,"altitude":77,"angle":220,"satellites":37,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823571968001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7260766767939584,"note":"Value kept but may cause issues"} 
[2026-07-19 18:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-07-19 18:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784467099000,"timestamp_ms":1784467099000,"timestamp_seconds":1784467099,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a870d78"} 
[2026-07-19 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-07-19 18:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-19 18:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 18:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823571968001,"66":13091,"105":206,"83":41984,"24":0,"16":7260766767939584,"45":1738248749306644480},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823571968001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:49:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:49:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7260766767939584,"km_value":7260766767939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-07-19 18:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823571968001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-07-19 18:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":137842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:49:56] local.INFO: GPS data processed {"connection_id":137842,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:49:56] local.INFO: Acknowledgment sent {"connection_id":137842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:50:08] local.INFO: TCP Data received {"connection_id":137841,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:50:08] local.INFO: Processing buffer {"connection_id":137841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:50:08] local.INFO: Packet analysis {"connection_id":137841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:50:08] local.INFO: Extracted packet for processing {"connection_id":137841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823508224001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784467130000,"timestamp_ms":1784467130000,"timestamp_seconds":1784467130,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a878690"} 
[2026-07-19 18:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":97,"data_length":795,"current_offset":136} 
[2026-07-19 18:50: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-07-19 18: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-07-19 18:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:50: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-07-19 18:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823508224001,"66":25451,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823508224001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:50:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:50:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823508224001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":137841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:50:08] local.INFO: GPS data processed {"connection_id":137841,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:50:08] local.INFO: Acknowledgment sent {"connection_id":137841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:50:27] local.INFO: TCP Data received {"connection_id":137842,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a875f80012d181f800721b080004d00dc25..."} 
[2026-07-19 18:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a875f80012d181f800721b080004d00dc25..."} 
[2026-07-19 18:50:27] local.INFO: Processing buffer {"connection_id":137842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a875f80012d181f800721b080004d00dc25..."} 
[2026-07-19 18:50:27] local.INFO: Packet analysis {"connection_id":137842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:50:27] local.INFO: Extracted packet for processing {"connection_id":137842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:50:27] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648384,"longitude_deg":75.6555648,"latitude_deg":11.9648384,"altitude":77,"angle":220,"satellites":37,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823577344001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7260766767939584,"note":"Value kept but may cause issues"} 
[2026-07-19 18:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306642432,"note":"Value kept but may cause issues"} 
[2026-07-19 18:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784467120000,"timestamp_ms":1784467120000,"timestamp_seconds":1784467120,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a875f80"} 
[2026-07-19 18:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:50: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-07-19 18: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-19 18:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823577344001,"66":12885,"105":206,"83":41984,"24":0,"16":7260766767939584,"45":1738248749306642432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823577344001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:50:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:50:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7260766767939584,"km_value":7260766767939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306642432,"description":"Unknown IO ID 45"} 
[2026-07-19 18:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823577344001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306642432}} 
[2026-07-19 18:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":137842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:50:27] local.INFO: GPS data processed {"connection_id":137842,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:50:27] local.INFO: Acknowledgment sent {"connection_id":137842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:50:36] local.INFO: TCP Data received {"connection_id":139214,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:50:36] local.INFO: Processing buffer {"connection_id":139214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:50:36] local.INFO: IMEI packet received {"connection_id":139214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":139214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:50:41] local.INFO: TCP Data received {"connection_id":139214,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:50:41] local.INFO: Processing buffer {"connection_id":139214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:50:41] local.INFO: IMEI packet received {"connection_id":139214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":139214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:50:41] local.INFO: TCP Data received {"connection_id":139214,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:50:41] local.INFO: Processing buffer {"connection_id":139214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:50:41] local.INFO: Packet analysis {"connection_id":139214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:50:41] local.INFO: Extracted packet for processing {"connection_id":139214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:50:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823508224001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784467130000,"timestamp_ms":1784467130000,"timestamp_seconds":1784467130,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a878690"} 
[2026-07-19 18:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 18:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:50: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-07-19 18:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823508224001,"66":25451,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823508224001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:50:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:50:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823508224001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":139214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:50:41] local.INFO: GPS data processed {"connection_id":139214,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:50:41] local.INFO: Acknowledgment sent {"connection_id":139214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:50:46] local.INFO: TCP Data received {"connection_id":139214,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:50:46] local.INFO: Processing buffer {"connection_id":139214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:50:46] local.INFO: Packet analysis {"connection_id":139214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:50:46] local.INFO: Extracted packet for processing {"connection_id":139214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823508224001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784467130000,"timestamp_ms":1784467130000,"timestamp_seconds":1784467130,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a878690"} 
[2026-07-19 18:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 18:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":139214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":139214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":139214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823508224001,"66":25451,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823508224001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:50:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823508224001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":139214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:50:46] local.INFO: GPS data processed {"connection_id":139214,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:50:46] local.INFO: Acknowledgment sent {"connection_id":139214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:50:49] local.INFO: TCP Data received {"connection_id":137843,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:50:49] local.INFO: Processing buffer {"connection_id":137843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:50:49] local.INFO: IMEI packet received {"connection_id":137843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":137843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:50:50] local.INFO: TCP Data received {"connection_id":137843,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:50:50] local.INFO: Processing buffer {"connection_id":137843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:50:50] local.INFO: IMEI packet received {"connection_id":137843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":137843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:50:51] local.INFO: TCP Data received {"connection_id":139213,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139213,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:50:51] local.INFO: Processing buffer {"connection_id":139213,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:50:51] local.INFO: IMEI packet received {"connection_id":139213,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 18:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":139213,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:50:57] local.INFO: TCP Data received {"connection_id":137843,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:50:57] local.INFO: Processing buffer {"connection_id":137843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:50:57] local.INFO: IMEI packet received {"connection_id":137843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":137843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:50:58] local.INFO: TCP Data received {"connection_id":137843,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a87a9b8012d181f800721b098004b00ca28..."} 
[2026-07-19 18:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a87a9b8012d181f800721b098004b00ca28..."} 
[2026-07-19 18:50:58] local.INFO: Processing buffer {"connection_id":137843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a87a9b8012d181f800721b098004b00ca28..."} 
[2026-07-19 18:50:58] local.INFO: Packet analysis {"connection_id":137843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:50:58] local.INFO: Extracted packet for processing {"connection_id":137843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:50:58] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648408,"longitude_deg":75.6555648,"latitude_deg":11.9648408,"altitude":75,"angle":202,"satellites":40,"speed":1,"hex_longitude":"2d181f80","hex_latitude":"0721b098","is_valid_coordinates":true} 
[2026-07-19 18:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823582720001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7260766767939584,"note":"Value kept but may cause issues"} 
[2026-07-19 18:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306642432,"note":"Value kept but may cause issues"} 
[2026-07-19 18:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784467139000,"timestamp_ms":1784467139000,"timestamp_seconds":1784467139,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a87a9b8"} 
[2026-07-19 18:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-19 18:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":137843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":137843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":137843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823582720001,"66":13961,"105":206,"83":41984,"24":1,"16":7260766767939584,"45":1738248749306642432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 18:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823582720001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:50:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 18:50:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7260766767939584,"km_value":7260766767939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306642432,"description":"Unknown IO ID 45"} 
[2026-07-19 18:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823582720001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738248749306642432}} 
[2026-07-19 18:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":137843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:50:59] local.INFO: GPS data processed {"connection_id":137843,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:50:59] local.INFO: Acknowledgment sent {"connection_id":137843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:51:26] local.INFO: TCP Data received {"connection_id":139215,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:51:26] local.INFO: Processing buffer {"connection_id":139215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:51:26] local.INFO: IMEI packet received {"connection_id":139215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 18:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":139215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:51:29] local.INFO: TCP Data received {"connection_id":137843,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a892c70012d188380072182080052006125..."} 
[2026-07-19 18:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a892c70012d188380072182080052006125..."} 
[2026-07-19 18:51:29] local.INFO: Processing buffer {"connection_id":137843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a892c70012d188380072182080052006125..."} 
[2026-07-19 18:51:29] local.INFO: Packet analysis {"connection_id":137843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a89"} 
[2026-07-19 18:51:29] local.INFO: Extracted packet for processing {"connection_id":137843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a89"} 
[2026-07-19 18:51:29] local.INFO: GPS Element Parsed {"raw_longitude":756581248,"raw_latitude":119636488,"longitude_deg":75.6581248,"latitude_deg":11.9636488,"altitude":82,"angle":97,"satellites":37,"speed":34,"hex_longitude":"2d188380","hex_latitude":"07218208","is_valid_coordinates":true} 
[2026-07-19 18:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823611648001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7262239941722112,"note":"Value kept but may cause issues"} 
[2026-07-19 18:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803626399744,"note":"Value kept but may cause issues"} 
[2026-07-19 18:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784467238000,"timestamp_ms":1784467238000,"timestamp_seconds":1784467238,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a892c70"} 
[2026-07-19 18:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:51:29] 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-07-19 18:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-19 18:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:51:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":137843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":137843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":137843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823611648001,"66":14428,"106":206,"83":41984,"24":34,"16":7262239941722112,"45":1761540803626399744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 18:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823611648001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:51:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 18:51:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7262239941722112,"km_value":7262239941722.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803626399744,"description":"Unknown IO ID 45"} 
[2026-07-19 18:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823611648001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1761540803626399744}} 
[2026-07-19 18:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":137843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:51:29] local.INFO: GPS data processed {"connection_id":137843,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:51:29] local.INFO: Acknowledgment sent {"connection_id":137843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:51:31] local.INFO: TCP Data received {"connection_id":139216,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:51:31] local.INFO: Processing buffer {"connection_id":139216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:51:31] local.INFO: IMEI packet received {"connection_id":139216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":139216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:51:36] local.INFO: TCP Data received {"connection_id":139216,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:51:36] local.INFO: Processing buffer {"connection_id":139216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:51:36] local.INFO: IMEI packet received {"connection_id":139216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":139216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:51:36] local.INFO: TCP Data received {"connection_id":139216,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:51:36] local.INFO: Processing buffer {"connection_id":139216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:51:36] local.INFO: Packet analysis {"connection_id":139216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:51:36] local.INFO: Extracted packet for processing {"connection_id":139216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823508224001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:51: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-07-19 18:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784467130000,"timestamp_ms":1784467130000,"timestamp_seconds":1784467130,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a878690"} 
[2026-07-19 18:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 18:51: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-07-19 18:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:51: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-07-19 18:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823508224001,"66":25451,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823508224001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:51:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:51:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823508224001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":139216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:51:37] local.INFO: GPS data processed {"connection_id":139216,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:51:37] local.INFO: Acknowledgment sent {"connection_id":139216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:51:50] local.INFO: TCP Data received {"connection_id":136766,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:51:50] local.INFO: Processing buffer {"connection_id":136766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:51:50] local.INFO: IMEI packet received {"connection_id":136766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":136766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:51:54] local.INFO: TCP Data received {"connection_id":136766,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:51:54] local.INFO: Processing buffer {"connection_id":136766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:51:54] local.INFO: IMEI packet received {"connection_id":136766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":136766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:51:55] local.INFO: TCP Data received {"connection_id":136766,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:51:55] local.INFO: Processing buffer {"connection_id":136766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:51:55] local.INFO: IMEI packet received {"connection_id":136766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":136766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:51:56] local.INFO: TCP Data received {"connection_id":136766,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a893828012d188dc007217f880052006e26..."} 
[2026-07-19 18:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a893828012d188dc007217f880052006e26..."} 
[2026-07-19 18:51:56] local.INFO: Processing buffer {"connection_id":136766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a893828012d188dc007217f880052006e26..."} 
[2026-07-19 18:51:56] local.INFO: Packet analysis {"connection_id":136766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a89"} 
[2026-07-19 18:51:56] local.INFO: Extracted packet for processing {"connection_id":136766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a89"} 
[2026-07-19 18:51:56] local.INFO: GPS Element Parsed {"raw_longitude":756583872,"raw_latitude":119635848,"longitude_deg":75.6583872,"latitude_deg":11.9635848,"altitude":82,"angle":110,"satellites":38,"speed":35,"hex_longitude":"2d188dc0","hex_latitude":"07217f88","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823612928001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7262368790740992,"note":"Value kept but may cause issues"} 
[2026-07-19 18:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766396246974662656,"note":"Value kept but may cause issues"} 
[2026-07-19 18:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784467241000,"timestamp_ms":1784467241000,"timestamp_seconds":1784467241,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a893828"} 
[2026-07-19 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-07-19 18:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-19 18:51: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-07-19 18: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-07-19 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-07-19 18:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823612928001,"66":14407,"106":206,"83":41984,"24":35,"16":7262368790740992,"45":1766396246974662656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 18:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823612928001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:51:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 18:51:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7262368790740992,"km_value":7262368790740.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766396246974662656,"description":"Unknown IO ID 45"} 
[2026-07-19 18:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823612928001,"power":14407,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1766396246974662656}} 
[2026-07-19 18:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":136766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:51:56] local.INFO: GPS data processed {"connection_id":136766,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:51:56] local.INFO: Acknowledgment sent {"connection_id":136766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:52:08] local.INFO: TCP Data received {"connection_id":139216,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:52:08] local.INFO: Processing buffer {"connection_id":139216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:52:08] local.INFO: Packet analysis {"connection_id":139216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:52:08] local.INFO: Extracted packet for processing {"connection_id":139216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823508224001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784467130000,"timestamp_ms":1784467130000,"timestamp_seconds":1784467130,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a878690"} 
[2026-07-19 18:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":97,"data_length":795,"current_offset":136} 
[2026-07-19 18:52: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-07-19 18: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-07-19 18:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:52: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-07-19 18:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823508224001,"66":25451,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823508224001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:52:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823508224001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":139216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:52:08] local.INFO: GPS data processed {"connection_id":139216,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:52:08] local.INFO: Acknowledgment sent {"connection_id":139216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:52:27] local.INFO: TCP Data received {"connection_id":136766,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a8a0730012d18e6400720f0680040009423..."} 
[2026-07-19 18:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a8a0730012d18e6400720f0680040009423..."} 
[2026-07-19 18:52:27] local.INFO: Processing buffer {"connection_id":136766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a8a0730012d18e6400720f0680040009423..."} 
[2026-07-19 18:52:27] local.INFO: Packet analysis {"connection_id":136766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a8a"} 
[2026-07-19 18:52:27] local.INFO: Extracted packet for processing {"connection_id":136766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a8a"} 
[2026-07-19 18:52:27] local.INFO: GPS Element Parsed {"raw_longitude":756606528,"raw_latitude":119599208,"longitude_deg":75.6606528,"latitude_deg":11.9599208,"altitude":64,"angle":148,"satellites":35,"speed":32,"hex_longitude":"2d18e640","hex_latitude":"0720f068","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823626240001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7264606468702208,"note":"Value kept but may cause issues"} 
[2026-07-19 18:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791588257381345280,"note":"Value kept but may cause issues"} 
[2026-07-19 18:52: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-07-19 18:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784467294000,"timestamp_ms":1784467294000,"timestamp_seconds":1784467294,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a8a0730"} 
[2026-07-19 18:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:52: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-07-19 18: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-19 18:52:27] 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-07-19 18: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-07-19 18:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823626240001,"66":13993,"103":206,"83":41984,"24":32,"16":7264606468702208,"45":1791588257381345280},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 18:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823626240001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:52:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 18:52:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7264606468702208,"km_value":7264606468702.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791588257381345280,"description":"Unknown IO ID 45"} 
[2026-07-19 18:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823626240001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1791588257381345280}} 
[2026-07-19 18:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":136766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:52:28] local.INFO: GPS data processed {"connection_id":136766,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:52:28] local.INFO: Acknowledgment sent {"connection_id":136766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:52:31] local.INFO: TCP Data received {"connection_id":136870,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:52:31] local.INFO: Processing buffer {"connection_id":136870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:52:31] local.INFO: IMEI packet received {"connection_id":136870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":136870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:52:36] local.INFO: TCP Data received {"connection_id":136870,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:52:36] local.INFO: Processing buffer {"connection_id":136870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:52:36] local.INFO: IMEI packet received {"connection_id":136870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":136870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:52:36] local.INFO: TCP Data received {"connection_id":136870,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:52:36] local.INFO: Processing buffer {"connection_id":136870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:52:36] local.INFO: Packet analysis {"connection_id":136870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:52:36] local.INFO: Extracted packet for processing {"connection_id":136870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823508224001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:52: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-07-19 18:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784467130000,"timestamp_ms":1784467130000,"timestamp_seconds":1784467130,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a878690"} 
[2026-07-19 18:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 18:52: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-07-19 18:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823508224001,"66":25451,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823508224001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:52:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:52:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823508224001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":136870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:52:36] local.INFO: GPS data processed {"connection_id":136870,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:52:36] local.INFO: Acknowledgment sent {"connection_id":136870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:52:50] local.INFO: TCP Data received {"connection_id":137844,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:52:50] local.INFO: Processing buffer {"connection_id":137844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:52:50] local.INFO: IMEI packet received {"connection_id":137844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":137844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:52:54] local.INFO: TCP Data received {"connection_id":137844,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:52:54] local.INFO: Processing buffer {"connection_id":137844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:52:54] local.INFO: IMEI packet received {"connection_id":137844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":137844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:52:54] local.INFO: TCP Data received {"connection_id":137844,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:52:54] local.INFO: Processing buffer {"connection_id":137844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:52:54] local.INFO: IMEI packet received {"connection_id":137844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":137844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:52:55] local.INFO: TCP Data received {"connection_id":137844,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:52:55] local.INFO: Processing buffer {"connection_id":137844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:52:55] local.INFO: IMEI packet received {"connection_id":137844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":137844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:52:56] local.INFO: TCP Data received {"connection_id":137844,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a8a2670012d18f4c00720da50003e008923..."} 
[2026-07-19 18:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a8a2670012d18f4c00720da50003e008923..."} 
[2026-07-19 18:52:56] local.INFO: Processing buffer {"connection_id":137844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a8a2670012d18f4c00720da50003e008923..."} 
[2026-07-19 18:52:56] local.INFO: Packet analysis {"connection_id":137844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a8a"} 
[2026-07-19 18:52:56] local.INFO: Extracted packet for processing {"connection_id":137844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a8a"} 
[2026-07-19 18:52:56] local.INFO: GPS Element Parsed {"raw_longitude":756610240,"raw_latitude":119593552,"longitude_deg":75.661024,"latitude_deg":11.9593552,"altitude":62,"angle":137,"satellites":35,"speed":32,"hex_longitude":"2d18f4c0","hex_latitude":"0720da50","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823627264001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7264937181184000,"note":"Value kept but may cause issues"} 
[2026-07-19 18:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794191900915296256,"note":"Value kept but may cause issues"} 
[2026-07-19 18:52: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-07-19 18:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784467302000,"timestamp_ms":1784467302000,"timestamp_seconds":1784467302,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a8a2670"} 
[2026-07-19 18:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-19 18:52: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-07-19 18: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-07-19 18:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823627264001,"66":14265,"103":206,"83":41984,"24":32,"16":7264937181184000,"45":1794191900915296256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 18:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823627264001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:52:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 18:52:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7264937181184000,"km_value":7264937181184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794191900915296256,"description":"Unknown IO ID 45"} 
[2026-07-19 18:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823627264001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1794191900915296256}} 
[2026-07-19 18:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":137844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:52:56] local.INFO: GPS data processed {"connection_id":137844,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:52:56] local.INFO: Acknowledgment sent {"connection_id":137844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:53:08] local.INFO: TCP Data received {"connection_id":136870,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:53:08] local.INFO: Processing buffer {"connection_id":136870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:53:08] local.INFO: Packet analysis {"connection_id":136870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:53:08] local.INFO: Extracted packet for processing {"connection_id":136870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:53:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823508224001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:53: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-07-19 18:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784467130000,"timestamp_ms":1784467130000,"timestamp_seconds":1784467130,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a878690"} 
[2026-07-19 18:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 18:53: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-07-19 18:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823508224001,"66":25451,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823508224001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:53:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:53:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823508224001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":136870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:53:08] local.INFO: GPS data processed {"connection_id":136870,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:53:08] local.INFO: Acknowledgment sent {"connection_id":136870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:53:27] local.INFO: TCP Data received {"connection_id":137844,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a8b0518012d19504007209c60002700ba23..."} 
[2026-07-19 18:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a8b0518012d19504007209c60002700ba23..."} 
[2026-07-19 18:53:27] local.INFO: Processing buffer {"connection_id":137844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a8b0518012d19504007209c60002700ba23..."} 
[2026-07-19 18:53:27] local.INFO: Packet analysis {"connection_id":137844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a8b"} 
[2026-07-19 18:53:27] local.INFO: Extracted packet for processing {"connection_id":137844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a8b"} 
[2026-07-19 18:53:27] local.INFO: GPS Element Parsed {"raw_longitude":756633664,"raw_latitude":119577696,"longitude_deg":75.6633664,"latitude_deg":11.9577696,"altitude":39,"angle":186,"satellites":35,"speed":10,"hex_longitude":"2d195040","hex_latitude":"07209c60","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823643648001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7266616513396736,"note":"Value kept but may cause issues"} 
[2026-07-19 18:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824098617185359872,"note":"Value kept but may cause issues"} 
[2026-07-19 18:53: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-07-19 18:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784467359000,"timestamp_ms":1784467359000,"timestamp_seconds":1784467359,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a8b0518"} 
[2026-07-19 18:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:53: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-07-19 18: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-19 18:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823643648001,"66":14102,"103":206,"83":41984,"24":10,"16":7266616513396736,"45":1824098617185359872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 18:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823643648001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:53:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 18:53:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7266616513396736,"km_value":7266616513396.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824098617185359872,"description":"Unknown IO ID 45"} 
[2026-07-19 18:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823643648001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1824098617185359872}} 
[2026-07-19 18:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":137844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:53:27] local.INFO: GPS data processed {"connection_id":137844,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:53:27] local.INFO: Acknowledgment sent {"connection_id":137844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:53:30] local.INFO: TCP Data received {"connection_id":139218,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:53:30] local.INFO: Processing buffer {"connection_id":139218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:53:30] local.INFO: IMEI packet received {"connection_id":139218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":139218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:53:36] local.INFO: TCP Data received {"connection_id":139218,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:53:36] local.INFO: Processing buffer {"connection_id":139218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:53:36] local.INFO: IMEI packet received {"connection_id":139218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":139218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:53:36] local.INFO: TCP Data received {"connection_id":139218,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:53:36] local.INFO: Processing buffer {"connection_id":139218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:53:36] local.INFO: Packet analysis {"connection_id":139218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:53:36] local.INFO: Extracted packet for processing {"connection_id":139218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823508224001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:53: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-07-19 18:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784467130000,"timestamp_ms":1784467130000,"timestamp_seconds":1784467130,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a878690"} 
[2026-07-19 18:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 18:53: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-07-19 18:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:53: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-07-19 18:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823508224001,"66":25451,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823508224001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:53:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:53:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823508224001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":139218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:53:36] local.INFO: GPS data processed {"connection_id":139218,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:53:36] local.INFO: Acknowledgment sent {"connection_id":139218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:53:56] local.INFO: TCP Data received {"connection_id":137845,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:53:56] local.INFO: Processing buffer {"connection_id":137845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:53:56] local.INFO: IMEI packet received {"connection_id":137845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":137845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:53:56] local.INFO: TCP Data received {"connection_id":137845,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:53:56] local.INFO: Processing buffer {"connection_id":137845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:53:56] local.INFO: IMEI packet received {"connection_id":137845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":137845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:53:57] local.INFO: TCP Data received {"connection_id":137845,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a8b18a0012d195000072095a0002600a123..."} 
[2026-07-19 18:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a8b18a0012d195000072095a0002600a123..."} 
[2026-07-19 18:53:57] local.INFO: Processing buffer {"connection_id":137845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a8b18a0012d195000072095a0002600a123..."} 
[2026-07-19 18:53:57] local.INFO: Packet analysis {"connection_id":137845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a8b"} 
[2026-07-19 18:53:57] local.INFO: Extracted packet for processing {"connection_id":137845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a8b"} 
[2026-07-19 18:53:57] local.INFO: GPS Element Parsed {"raw_longitude":756633600,"raw_latitude":119575968,"longitude_deg":75.66336,"latitude_deg":11.9575968,"altitude":38,"angle":161,"satellites":35,"speed":13,"hex_longitude":"2d195000","hex_latitude":"072095a0","is_valid_coordinates":true} 
[2026-07-19 18:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823643904001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7266702412742656,"note":"Value kept but may cause issues"} 
[2026-07-19 18:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824028248441118720,"note":"Value kept but may cause issues"} 
[2026-07-19 18:53: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-07-19 18:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784467364000,"timestamp_ms":1784467364000,"timestamp_seconds":1784467364,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a8b18a0"} 
[2026-07-19 18:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-19 18:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823643904001,"66":14102,"103":206,"83":41984,"24":13,"16":7266702412742656,"45":1824028248441118720},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 18:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823643904001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:53:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 18:53:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7266702412742656,"km_value":7266702412742.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824028248441118720,"description":"Unknown IO ID 45"} 
[2026-07-19 18:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823643904001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1824028248441118720}} 
[2026-07-19 18:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":137845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:53:57] local.INFO: GPS data processed {"connection_id":137845,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:53:57] local.INFO: Acknowledgment sent {"connection_id":137845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:53:58] local.INFO: TCP Data received {"connection_id":137845,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a8b2070012d195180072093780025008723..."} 
[2026-07-19 18:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a8b2070012d195180072093780025008723..."} 
[2026-07-19 18:53:58] local.INFO: Processing buffer {"connection_id":137845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a8b2070012d195180072093780025008723..."} 
[2026-07-19 18:53:58] local.INFO: Packet analysis {"connection_id":137845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a8b"} 
[2026-07-19 18:53:58] local.INFO: Extracted packet for processing {"connection_id":137845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a8b"} 
[2026-07-19 18:53:58] local.INFO: GPS Element Parsed {"raw_longitude":756633984,"raw_latitude":119575416,"longitude_deg":75.6633984,"latitude_deg":11.9575416,"altitude":37,"angle":135,"satellites":35,"speed":13,"hex_longitude":"2d195180","hex_latitude":"07209378","is_valid_coordinates":true} 
[2026-07-19 18:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823645184001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7266732477513728,"note":"Value kept but may cause issues"} 
[2026-07-19 18:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823957879696498688,"note":"Value kept but may cause issues"} 
[2026-07-19 18:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784467366000,"timestamp_ms":1784467366000,"timestamp_seconds":1784467366,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a8b2070"} 
[2026-07-19 18:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-19 18:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":137845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":137845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":137845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823645184001,"66":13972,"103":206,"83":41984,"24":13,"16":7266732477513728,"45":1823957879696498688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 18:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823645184001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:53:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 18:53:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7266732477513728,"km_value":7266732477513.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823957879696498688,"description":"Unknown IO ID 45"} 
[2026-07-19 18:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823645184001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1823957879696498688}} 
[2026-07-19 18:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":137845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:53:58] local.INFO: GPS data processed {"connection_id":137845,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:53:58] local.INFO: Acknowledgment sent {"connection_id":137845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:54:08] local.INFO: TCP Data received {"connection_id":139218,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:54:08] local.INFO: Processing buffer {"connection_id":139218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a878690012d34c50006aa4dd80008009527..."} 
[2026-07-19 18:54:08] local.INFO: Packet analysis {"connection_id":139218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:54:08] local.INFO: Extracted packet for processing {"connection_id":139218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a87"} 
[2026-07-19 18:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823508224001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784467130000,"timestamp_ms":1784467130000,"timestamp_seconds":1784467130,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a878690"} 
[2026-07-19 18:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 18:54: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-07-19 18: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-07-19 18:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:54: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-07-19 18:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823508224001,"66":25451,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823508224001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:54:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823508224001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":139218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:54:08] local.INFO: GPS data processed {"connection_id":139218,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:54:08] local.INFO: Acknowledgment sent {"connection_id":139218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:54:29] local.INFO: TCP Data received {"connection_id":137845,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a8b5b08012d195cc007208820001e009622..."} 
[2026-07-19 18:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a8b5b08012d195cc007208820001e009622..."} 
[2026-07-19 18:54:29] local.INFO: Processing buffer {"connection_id":137845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a8b5b08012d195cc007208820001e009622..."} 
[2026-07-19 18:54:29] local.INFO: Packet analysis {"connection_id":137845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a8b"} 
[2026-07-19 18:54:29] local.INFO: Extracted packet for processing {"connection_id":137845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a8b"} 
[2026-07-19 18:54:29] local.INFO: GPS Element Parsed {"raw_longitude":756636864,"raw_latitude":119572512,"longitude_deg":75.6636864,"latitude_deg":11.9572512,"altitude":30,"angle":150,"satellites":34,"speed":12,"hex_longitude":"2d195cc0","hex_latitude":"07208820","is_valid_coordinates":true} 
[2026-07-19 18:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823645696001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7266934340976640,"note":"Value kept but may cause issues"} 
[2026-07-19 18:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824380092161423360,"note":"Value kept but may cause issues"} 
[2026-07-19 18:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784467381000,"timestamp_ms":1784467381000,"timestamp_seconds":1784467381,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a8b5b08"} 
[2026-07-19 18:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 18:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-19 18:54:29] 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-07-19 18:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":137845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":137845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":137845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823645696001,"66":14102,"103":206,"83":41984,"24":12,"16":7266934340976640,"45":1824380092161423360},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 18:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823645696001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:54:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 18:54:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7266934340976640,"km_value":7266934340976.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824380092161423360,"description":"Unknown IO ID 45"} 
[2026-07-19 18:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823645696001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1824380092161423360}} 
[2026-07-19 18:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":137845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:54:29] local.INFO: GPS data processed {"connection_id":137845,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:54:29] local.INFO: Acknowledgment sent {"connection_id":137845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:54:29] local.INFO: TCP Data received {"connection_id":137846,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:54:29] local.INFO: Processing buffer {"connection_id":137846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:54:29] local.INFO: IMEI packet received {"connection_id":137846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":137846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:54:30] local.INFO: TCP Data received {"connection_id":137846,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:54:30] local.INFO: Processing buffer {"connection_id":137846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:54:30] local.INFO: IMEI packet received {"connection_id":137846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":137846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:54:36] local.INFO: TCP Data received {"connection_id":137846,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:54:36] local.INFO: Processing buffer {"connection_id":137846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:54:36] local.INFO: IMEI packet received {"connection_id":137846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":137846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:54:36] local.INFO: TCP Data received {"connection_id":137846,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:54:36] local.INFO: Processing buffer {"connection_id":137846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:54:36] local.INFO: Packet analysis {"connection_id":137846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:54:36] local.INFO: Extracted packet for processing {"connection_id":137846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823585280001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:54: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-07-19 18:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784467431000,"timestamp_ms":1784467431000,"timestamp_seconds":1784467431,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a8c1e58"} 
[2026-07-19 18:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 18:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:54: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-07-19 18:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823585280001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823585280001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:54:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:54:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823585280001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":137846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:54:36] local.INFO: GPS data processed {"connection_id":137846,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:54:36] local.INFO: Acknowledgment sent {"connection_id":137846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:54:50] local.INFO: TCP Data received {"connection_id":139219,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:54:50] local.INFO: Processing buffer {"connection_id":139219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:54:50] local.INFO: IMEI packet received {"connection_id":139219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":139219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:54:50] local.INFO: TCP Data received {"connection_id":139219,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:54:50] local.INFO: Processing buffer {"connection_id":139219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:54:50] local.INFO: IMEI packet received {"connection_id":139219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":139219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:54:51] local.INFO: TCP Data received {"connection_id":139219,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:54:51] local.INFO: Processing buffer {"connection_id":139219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:54:51] local.INFO: IMEI packet received {"connection_id":139219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":139219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:54:52] local.INFO: TCP Data received {"connection_id":139219,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:54:52] local.INFO: Processing buffer {"connection_id":139219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:54:52] local.INFO: IMEI packet received {"connection_id":139219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":139219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:54:53] local.INFO: TCP Data received {"connection_id":139219,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a8b8218012d1960c007207db8001800a222..."} 
[2026-07-19 18:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a8b8218012d1960c007207db8001800a222..."} 
[2026-07-19 18:54:53] local.INFO: Processing buffer {"connection_id":139219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a8b8218012d1960c007207db8001800a222..."} 
[2026-07-19 18:54:53] local.INFO: Packet analysis {"connection_id":139219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a8b"} 
[2026-07-19 18:54:53] local.INFO: Extracted packet for processing {"connection_id":139219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a8b"} 
[2026-07-19 18:54:53] local.INFO: GPS Element Parsed {"raw_longitude":756637888,"raw_latitude":119569848,"longitude_deg":75.6637888,"latitude_deg":11.9569848,"altitude":24,"angle":162,"satellites":34,"speed":13,"hex_longitude":"2d1960c0","hex_latitude":"07207db8","is_valid_coordinates":true} 
[2026-07-19 18:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823649536001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7267071779930112,"note":"Value kept but may cause issues"} 
[2026-07-19 18:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827546685648674816,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784467391000,"timestamp_ms":1784467391000,"timestamp_seconds":1784467391,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a8b8218"} 
[2026-07-19 18:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:54: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-07-19 18:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-19 18:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":139219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":139219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":139219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823649536001,"66":14396,"103":206,"83":41984,"24":13,"16":7267071779930112,"45":1827546685648674816},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 18:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823649536001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:54:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 18:54:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7267071779930112,"km_value":7267071779930.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827546685648674816,"description":"Unknown IO ID 45"} 
[2026-07-19 18:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823649536001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1827546685648674816}} 
[2026-07-19 18:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":139219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:54:53] local.INFO: GPS data processed {"connection_id":139219,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:54:53] local.INFO: Acknowledgment sent {"connection_id":139219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:54:54] local.INFO: TCP Data received {"connection_id":139219,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a8b9d70012d1962c007207640001500b022..."} 
[2026-07-19 18:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a8b9d70012d1962c007207640001500b022..."} 
[2026-07-19 18:54:54] local.INFO: Processing buffer {"connection_id":139219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a8b9d70012d1962c007207640001500b022..."} 
[2026-07-19 18:54:54] local.INFO: Packet analysis {"connection_id":139219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a8b"} 
[2026-07-19 18:54:54] local.INFO: Extracted packet for processing {"connection_id":139219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a8b"} 
[2026-07-19 18:54:54] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119567936,"longitude_deg":75.66384,"latitude_deg":11.9567936,"altitude":21,"angle":176,"satellites":34,"speed":15,"hex_longitude":"2d1962c0","hex_latitude":"07207640","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823652096001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7267170564177920,"note":"Value kept but may cause issues"} 
[2026-07-19 18:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828672585554835456,"note":"Value kept but may cause issues"} 
[2026-07-19 18:54: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-07-19 18:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784467398000,"timestamp_ms":1784467398000,"timestamp_seconds":1784467398,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a8b9d70"} 
[2026-07-19 18:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:54: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-07-19 18: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-19 18:54:54] 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-07-19 18: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-07-19 18:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":139219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":139219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":139219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823652096001,"66":14407,"103":206,"83":41984,"24":15,"16":7267170564177920,"45":1828672585554835456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 18:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823652096001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:54:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 18:54:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7267170564177920,"km_value":7267170564177.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828672585554835456,"description":"Unknown IO ID 45"} 
[2026-07-19 18:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823652096001,"power":14407,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1828672585554835456}} 
[2026-07-19 18:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":139219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:54:54] local.INFO: GPS data processed {"connection_id":139219,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:54:54] local.INFO: Acknowledgment sent {"connection_id":139219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:55:08] local.INFO: TCP Data received {"connection_id":137846,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:55:09] local.INFO: Processing buffer {"connection_id":137846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:55:09] local.INFO: Packet analysis {"connection_id":137846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:55:09] local.INFO: Extracted packet for processing {"connection_id":137846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823585280001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:55: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-07-19 18:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784467431000,"timestamp_ms":1784467431000,"timestamp_seconds":1784467431,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a8c1e58"} 
[2026-07-19 18:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 18:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:55: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-07-19 18:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823585280001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823585280001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:55:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:55:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823585280001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":137846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:55:09] local.INFO: GPS data processed {"connection_id":137846,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:55:09] local.INFO: Acknowledgment sent {"connection_id":137846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:55:27] local.INFO: TCP Data received {"connection_id":139219,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a8cb6b0012d195f0007201c60004100b921..."} 
[2026-07-19 18:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a8cb6b0012d195f0007201c60004100b921..."} 
[2026-07-19 18:55:27] local.INFO: Processing buffer {"connection_id":139219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a8cb6b0012d195f0007201c60004100b921..."} 
[2026-07-19 18:55:27] local.INFO: Packet analysis {"connection_id":139219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:55:27] local.INFO: Extracted packet for processing {"connection_id":139219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:55:27] local.INFO: GPS Element Parsed {"raw_longitude":756637440,"raw_latitude":119544928,"longitude_deg":75.663744,"latitude_deg":11.9544928,"altitude":65,"angle":185,"satellites":33,"speed":13,"hex_longitude":"2d195f00","hex_latitude":"07201c60","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823669248001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7268450464432128,"note":"Value kept but may cause issues"} 
[2026-07-19 18:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948154429440,"note":"Value kept but may cause issues"} 
[2026-07-19 18:55: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-07-19 18:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784467470000,"timestamp_ms":1784467470000,"timestamp_seconds":1784467470,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a8cb6b0"} 
[2026-07-19 18:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:55: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-07-19 18: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":180,"data_length":795,"current_offset":136} 
[2026-07-19 18:55: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-07-19 18: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-07-19 18:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 18:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 18:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 18:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823669248001,"66":14428,"103":206,"83":41984,"24":13,"16":7268450464432128,"45":1827405948154429440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 18:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 18:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 18:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823669248001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:55:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 18:55:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 18:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7268450464432128,"km_value":7268450464432.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948154429440,"description":"Unknown IO ID 45"} 
[2026-07-19 18:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823669248001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1827405948154429440}} 
[2026-07-19 18:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":139219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:55:27] local.INFO: GPS data processed {"connection_id":139219,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:55:27] local.INFO: Acknowledgment sent {"connection_id":139219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:55:31] local.INFO: TCP Data received {"connection_id":139220,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:55:31] local.INFO: Processing buffer {"connection_id":139220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:55:31] local.INFO: IMEI packet received {"connection_id":139220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":139220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:55:36] local.INFO: TCP Data received {"connection_id":139220,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:55:36] local.INFO: Processing buffer {"connection_id":139220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:55:36] local.INFO: IMEI packet received {"connection_id":139220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":139220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:55:37] local.INFO: TCP Data received {"connection_id":139220,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:55:37] local.INFO: Processing buffer {"connection_id":139220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:55:37] local.INFO: Packet analysis {"connection_id":139220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:55:37] local.INFO: Extracted packet for processing {"connection_id":139220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823585280001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:55: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-07-19 18:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784467431000,"timestamp_ms":1784467431000,"timestamp_seconds":1784467431,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a8c1e58"} 
[2026-07-19 18:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 18:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823585280001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823585280001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823585280001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":139220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:55:37] local.INFO: GPS data processed {"connection_id":139220,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:55:37] local.INFO: Acknowledgment sent {"connection_id":139220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:55:41] local.INFO: TCP Data received {"connection_id":139220,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:55:41] local.INFO: Processing buffer {"connection_id":139220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:55:41] local.INFO: Packet analysis {"connection_id":139220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:55:41] local.INFO: Extracted packet for processing {"connection_id":139220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:55:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823585280001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 18:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784467431000,"timestamp_ms":1784467431000,"timestamp_seconds":1784467431,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a8c1e58"} 
[2026-07-19 18:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 18:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:55: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-07-19 18:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823585280001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823585280001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:55:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:55:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823585280001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":139220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:55:41] local.INFO: GPS data processed {"connection_id":139220,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:55:41] local.INFO: Acknowledgment sent {"connection_id":139220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:55:47] local.INFO: TCP Data received {"connection_id":136873,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:55:47] local.INFO: Processing buffer {"connection_id":136873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:55:47] local.INFO: IMEI packet received {"connection_id":136873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 18:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":136873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:55:48] local.INFO: TCP Data received {"connection_id":136873,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:55:48] local.INFO: Processing buffer {"connection_id":136873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:55:48] local.INFO: IMEI packet received {"connection_id":136873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":136873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:55:49] local.INFO: TCP Data received {"connection_id":136873,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:55:49] local.INFO: Processing buffer {"connection_id":136873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:55:49] local.INFO: IMEI packet received {"connection_id":136873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":136873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:55:50] local.INFO: TCP Data received {"connection_id":136873,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:55:50] local.INFO: Processing buffer {"connection_id":136873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 18:55:50] local.INFO: IMEI packet received {"connection_id":136873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 18:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":136873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:56:13] local.INFO: TCP Data received {"connection_id":139220,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:56:13] local.INFO: Processing buffer {"connection_id":139220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:56:13] local.INFO: Packet analysis {"connection_id":139220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:56:13] local.INFO: Extracted packet for processing {"connection_id":139220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:56:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823585280001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784467431000,"timestamp_ms":1784467431000,"timestamp_seconds":1784467431,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a8c1e58"} 
[2026-07-19 18:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":107,"data_length":795,"current_offset":136} 
[2026-07-19 18:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":139220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":139220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":139220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:56: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-07-19 18:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823585280001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823585280001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:56:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:56:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823585280001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":139220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:56:13] local.INFO: GPS data processed {"connection_id":139220,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:56:13] local.INFO: Acknowledgment sent {"connection_id":139220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:56:31] local.INFO: TCP Data received {"connection_id":137848,"ip":"42.106.6.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:56:31] local.INFO: Processing buffer {"connection_id":137848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:56:31] local.INFO: IMEI packet received {"connection_id":137848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":137848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:56:36] local.INFO: TCP Data received {"connection_id":137848,"ip":"42.106.6.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:56:36] local.INFO: Processing buffer {"connection_id":137848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:56:36] local.INFO: IMEI packet received {"connection_id":137848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":137848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:56:37] local.INFO: TCP Data received {"connection_id":137848,"ip":"42.106.6.12","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:56:37] local.INFO: Processing buffer {"connection_id":137848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:56:37] local.INFO: Packet analysis {"connection_id":137848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:56:37] local.INFO: Extracted packet for processing {"connection_id":137848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823585280001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:56: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-07-19 18:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784467431000,"timestamp_ms":1784467431000,"timestamp_seconds":1784467431,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a8c1e58"} 
[2026-07-19 18:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 18:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.12","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823585280001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823585280001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:56:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823585280001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":137848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:56:37] local.INFO: GPS data processed {"connection_id":137848,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:56:37] local.INFO: Acknowledgment sent {"connection_id":137848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:56:51] local.INFO: TCP Data received {"connection_id":137847,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:56:51] local.INFO: Processing buffer {"connection_id":137847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:56:51] local.INFO: IMEI packet received {"connection_id":137847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 18:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":137847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:57:08] local.INFO: TCP Data received {"connection_id":137848,"ip":"42.106.6.12","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:57:08] local.INFO: Processing buffer {"connection_id":137848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:57:08] local.INFO: Packet analysis {"connection_id":137848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:57:08] local.INFO: Extracted packet for processing {"connection_id":137848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823585280001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:57: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-07-19 18:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784467431000,"timestamp_ms":1784467431000,"timestamp_seconds":1784467431,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a8c1e58"} 
[2026-07-19 18:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 18:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.12","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823585280001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 18:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823585280001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:57:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823585280001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":137848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:57:08] local.INFO: GPS data processed {"connection_id":137848,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:57:08] local.INFO: Acknowledgment sent {"connection_id":137848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:57:26] local.INFO: TCP Data received {"connection_id":136875,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:57:26] local.INFO: Processing buffer {"connection_id":136875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 18:57:26] local.INFO: IMEI packet received {"connection_id":136875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 18:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":136875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:57:30] local.INFO: TCP Data received {"connection_id":136876,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:57:30] local.INFO: Processing buffer {"connection_id":136876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:57:30] local.INFO: IMEI packet received {"connection_id":136876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":136876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:57:36] local.INFO: TCP Data received {"connection_id":136876,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:57:36] local.INFO: Processing buffer {"connection_id":136876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:57:36] local.INFO: IMEI packet received {"connection_id":136876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":136876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:57:36] local.INFO: TCP Data received {"connection_id":136876,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:57:36] local.INFO: Processing buffer {"connection_id":136876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:57:36] local.INFO: Packet analysis {"connection_id":136876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:57:36] local.INFO: Extracted packet for processing {"connection_id":136876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823585280001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:57: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-07-19 18:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784467431000,"timestamp_ms":1784467431000,"timestamp_seconds":1784467431,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a8c1e58"} 
[2026-07-19 18:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 18:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:57:36] 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-07-19 18:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823585280001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823585280001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:57:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:57:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823585280001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":136876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:57:36] local.INFO: GPS data processed {"connection_id":136876,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:57:36] local.INFO: Acknowledgment sent {"connection_id":136876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:58:08] local.INFO: TCP Data received {"connection_id":136876,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:58:08] local.INFO: Processing buffer {"connection_id":136876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:58:08] local.INFO: Packet analysis {"connection_id":136876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:58:08] local.INFO: Extracted packet for processing {"connection_id":136876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823585280001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18: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-07-19 18:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784467431000,"timestamp_ms":1784467431000,"timestamp_seconds":1784467431,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a8c1e58"} 
[2026-07-19 18:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 18:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 18:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823585280001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823585280001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:58:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823585280001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":136876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:58:08] local.INFO: GPS data processed {"connection_id":136876,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:58:08] local.INFO: Acknowledgment sent {"connection_id":136876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:58:31] local.INFO: TCP Data received {"connection_id":137850,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:58:31] local.INFO: Processing buffer {"connection_id":137850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:58:31] local.INFO: IMEI packet received {"connection_id":137850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":137850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:58:36] local.INFO: TCP Data received {"connection_id":137850,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:58:36] local.INFO: Processing buffer {"connection_id":137850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:58:36] local.INFO: IMEI packet received {"connection_id":137850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":137850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:58:36] local.INFO: TCP Data received {"connection_id":137850,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:58:36] local.INFO: Processing buffer {"connection_id":137850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:58:36] local.INFO: Packet analysis {"connection_id":137850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:58:36] local.INFO: Extracted packet for processing {"connection_id":137850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18: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-07-19 18:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823585280001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:58: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-07-19 18:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784467431000,"timestamp_ms":1784467431000,"timestamp_seconds":1784467431,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a8c1e58"} 
[2026-07-19 18:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 18:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18: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-07-19 18:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:58: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-07-19 18:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823585280001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823585280001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:58:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:58:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823585280001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":137850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:58:36] local.INFO: GPS data processed {"connection_id":137850,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:58:36] local.INFO: Acknowledgment sent {"connection_id":137850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:59:08] local.INFO: TCP Data received {"connection_id":137850,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:59:08] local.INFO: Processing buffer {"connection_id":137850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a8c1e58012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:59:08] local.INFO: Packet analysis {"connection_id":137850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:59:08] local.INFO: Extracted packet for processing {"connection_id":137850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a8c"} 
[2026-07-19 18:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823585280001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:59: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-07-19 18:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784467431000,"timestamp_ms":1784467431000,"timestamp_seconds":1784467431,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a8c1e58"} 
[2026-07-19 18:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 18:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:59: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-07-19 18:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823585280001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823585280001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:59:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:59:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823585280001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":137850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:59:08] local.INFO: GPS data processed {"connection_id":137850,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:59:08] local.INFO: Acknowledgment sent {"connection_id":137850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 18:59:30] local.INFO: TCP Data received {"connection_id":136878,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:59:30] local.INFO: Processing buffer {"connection_id":136878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:59:30] local.INFO: IMEI packet received {"connection_id":136878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 18:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":136878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 18:59:31] local.INFO: TCP Data received {"connection_id":136878,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:59:31] local.INFO: Processing buffer {"connection_id":136878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:59:31] local.INFO: IMEI packet received {"connection_id":136878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":136878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:59:36] local.INFO: TCP Data received {"connection_id":136878,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:59:36] local.INFO: Processing buffer {"connection_id":136878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 18:59:36] local.INFO: IMEI packet received {"connection_id":136878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 18:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":136878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 18:59:36] local.INFO: TCP Data received {"connection_id":136878,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:59:37] local.INFO: Processing buffer {"connection_id":136878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 18:59:37] local.INFO: Packet analysis {"connection_id":136878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a90"} 
[2026-07-19 18:59:37] local.INFO: Extracted packet for processing {"connection_id":136878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a90"} 
[2026-07-19 18:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 18:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 18:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823662336001,"note":"Value kept but may cause issues"} 
[2026-07-19 18:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 18:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 18:59: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-07-19 18:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784467732000,"timestamp_ms":1784467732000,"timestamp_seconds":1784467732,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a90b620"} 
[2026-07-19 18:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 18:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 18:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 18:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 18:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 18:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 18:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 18:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 18:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 18:59:37] 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-07-19 18:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 18:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 18:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823662336001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 18:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 18:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 18:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823662336001,"description":"Unknown IO ID 0"} 
[2026-07-19 18:59:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 18:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 18:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 18:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 18:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823662336001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 18:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":136878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 18:59:37] local.INFO: GPS data processed {"connection_id":136878,"processed":1,"errors":0,"total":1} 
[2026-07-19 18:59:37] local.INFO: Acknowledgment sent {"connection_id":136878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:00:08] local.INFO: TCP Data received {"connection_id":136878,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:00:08] local.INFO: Processing buffer {"connection_id":136878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:00:08] local.INFO: Packet analysis {"connection_id":136878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a90"} 
[2026-07-19 19:00:08] local.INFO: Extracted packet for processing {"connection_id":136878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a90"} 
[2026-07-19 19:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823662336001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:00: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-07-19 19:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784467732000,"timestamp_ms":1784467732000,"timestamp_seconds":1784467732,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a90b620"} 
[2026-07-19 19:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 19:00: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-07-19 19: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-07-19 19:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:00: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-07-19 19:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823662336001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823662336001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:00:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:00:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823662336001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":136878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:00:08] local.INFO: GPS data processed {"connection_id":136878,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:00:08] local.INFO: Acknowledgment sent {"connection_id":136878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:00:36] local.INFO: TCP Data received {"connection_id":137852,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:00:36] local.INFO: Processing buffer {"connection_id":137852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:00:36] local.INFO: IMEI packet received {"connection_id":137852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":137852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:00:41] local.INFO: TCP Data received {"connection_id":137852,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:00:41] local.INFO: Processing buffer {"connection_id":137852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:00:41] local.INFO: IMEI packet received {"connection_id":137852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":137852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:00:42] local.INFO: TCP Data received {"connection_id":137852,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:00:42] local.INFO: Processing buffer {"connection_id":137852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:00:42] local.INFO: Packet analysis {"connection_id":137852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a90"} 
[2026-07-19 19:00:42] local.INFO: Extracted packet for processing {"connection_id":137852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a90"} 
[2026-07-19 19:00:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823662336001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784467732000,"timestamp_ms":1784467732000,"timestamp_seconds":1784467732,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a90b620"} 
[2026-07-19 19:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 19:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823662336001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823662336001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:00:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:00:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823662336001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":137852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:00:42] local.INFO: GPS data processed {"connection_id":137852,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:00:42] local.INFO: Acknowledgment sent {"connection_id":137852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:00:46] local.INFO: TCP Data received {"connection_id":137852,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:00:46] local.INFO: Processing buffer {"connection_id":137852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:00:46] local.INFO: Packet analysis {"connection_id":137852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a90"} 
[2026-07-19 19:00:46] local.INFO: Extracted packet for processing {"connection_id":137852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a90"} 
[2026-07-19 19:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823662336001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784467732000,"timestamp_ms":1784467732000,"timestamp_seconds":1784467732,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a90b620"} 
[2026-07-19 19:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 19:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":137852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":137852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":137852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823662336001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823662336001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:00:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:00:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823662336001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":137852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:00:46] local.INFO: GPS data processed {"connection_id":137852,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:00:46] local.INFO: Acknowledgment sent {"connection_id":137852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:00:55] local.INFO: TCP Data received {"connection_id":139224,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:00:55] local.INFO: Processing buffer {"connection_id":139224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:00:55] local.INFO: IMEI packet received {"connection_id":139224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":139224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:00:55] local.INFO: TCP Data received {"connection_id":139224,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:00:55] local.INFO: Processing buffer {"connection_id":139224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:00:55] local.INFO: IMEI packet received {"connection_id":139224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":139224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:01:00] local.INFO: TCP Data received {"connection_id":139224,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:01:00] local.INFO: Processing buffer {"connection_id":139224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:01:00] local.INFO: IMEI packet received {"connection_id":139224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":139224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:01:01] local.INFO: TCP Data received {"connection_id":139224,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a900a40012d19b6400720abd00030012728..."} 
[2026-07-19 19:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a900a40012d19b6400720abd00030012728..."} 
[2026-07-19 19:01:01] local.INFO: Processing buffer {"connection_id":139224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a900a40012d19b6400720abd00030012728..."} 
[2026-07-19 19:01:01] local.INFO: Packet analysis {"connection_id":139224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a90"} 
[2026-07-19 19:01:01] local.INFO: Extracted packet for processing {"connection_id":139224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a90"} 
[2026-07-19 19:01:01] local.INFO: GPS Element Parsed {"raw_longitude":756659776,"raw_latitude":119581648,"longitude_deg":75.6659776,"latitude_deg":11.9581648,"altitude":48,"angle":295,"satellites":40,"speed":22,"hex_longitude":"2d19b640","hex_latitude":"0720abd0","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823727872001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7273166338523136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646019971072,"note":"Value kept but may cause issues"} 
[2026-07-19 19:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784467688000,"timestamp_ms":1784467688000,"timestamp_seconds":1784467688,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a900a40"} 
[2026-07-19 19:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:01: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-07-19 19: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-19 19:01:01] 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-07-19 19: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-07-19 19:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":139224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":139224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":139224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823727872001,"66":13080,"103":206,"83":41984,"24":22,"16":7273166338523136,"45":1853301646019971072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 19:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823727872001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:01:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 19:01:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7273166338523136,"km_value":7273166338523.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646019971072,"description":"Unknown IO ID 45"} 
[2026-07-19 19:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823727872001,"power":13080,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1853301646019971072}} 
[2026-07-19 19:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":139224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:01:01] local.INFO: GPS data processed {"connection_id":139224,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:01:01] local.INFO: Acknowledgment sent {"connection_id":139224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:01:30] local.INFO: TCP Data received {"connection_id":137853,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:01:30] local.INFO: Processing buffer {"connection_id":137853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:01:30] local.INFO: IMEI packet received {"connection_id":137853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":137853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:01:32] local.INFO: TCP Data received {"connection_id":139224,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a9240a8012d193c000720b2e00033013222..."} 
[2026-07-19 19:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a9240a8012d193c000720b2e00033013222..."} 
[2026-07-19 19:01:32] local.INFO: Processing buffer {"connection_id":139224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a9240a8012d193c000720b2e00033013222..."} 
[2026-07-19 19:01:32] local.INFO: Packet analysis {"connection_id":139224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a92"} 
[2026-07-19 19:01:32] local.INFO: Extracted packet for processing {"connection_id":139224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a92"} 
[2026-07-19 19:01:32] local.INFO: GPS Element Parsed {"raw_longitude":756628480,"raw_latitude":119583456,"longitude_deg":75.662848,"latitude_deg":11.9583456,"altitude":51,"angle":306,"satellites":34,"speed":31,"hex_longitude":"2d193c00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823764480001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7274725411651584,"note":"Value kept but may cause issues"} 
[2026-07-19 19:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820720917465968640,"note":"Value kept but may cause issues"} 
[2026-07-19 19:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784467833000,"timestamp_ms":1784467833000,"timestamp_seconds":1784467833,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a9240a8"} 
[2026-07-19 19:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:01: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-07-19 19: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-19 19:01: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-07-19 19: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-07-19 19:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":139224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":139224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":139224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823764480001,"66":14243,"103":206,"83":41984,"24":31,"16":7274725411651584,"45":1820720917465968640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 19:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823764480001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:01:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 19:01:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7274725411651584,"km_value":7274725411651.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820720917465968640,"description":"Unknown IO ID 45"} 
[2026-07-19 19:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823764480001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1820720917465968640}} 
[2026-07-19 19:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":139224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:01:32] local.INFO: GPS data processed {"connection_id":139224,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:01:32] local.INFO: Acknowledgment sent {"connection_id":139224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:01:35] local.INFO: TCP Data received {"connection_id":137853,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:01:35] local.INFO: Processing buffer {"connection_id":137853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:01:35] local.INFO: IMEI packet received {"connection_id":137853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":137853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:01:36] local.INFO: TCP Data received {"connection_id":137853,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:01:36] local.INFO: Processing buffer {"connection_id":137853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:01:36] local.INFO: Packet analysis {"connection_id":137853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a90"} 
[2026-07-19 19:01:36] local.INFO: Extracted packet for processing {"connection_id":137853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a90"} 
[2026-07-19 19:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823662336001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784467732000,"timestamp_ms":1784467732000,"timestamp_seconds":1784467732,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a90b620"} 
[2026-07-19 19:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 19:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:01: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-07-19 19:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823662336001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823662336001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:01:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823662336001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":137853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:01:36] local.INFO: GPS data processed {"connection_id":137853,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:01:36] local.INFO: Acknowledgment sent {"connection_id":137853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:01:51] local.INFO: TCP Data received {"connection_id":136880,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:01:51] local.INFO: Processing buffer {"connection_id":136880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:01:51] local.INFO: IMEI packet received {"connection_id":136880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":136880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:01:52] local.INFO: TCP Data received {"connection_id":136880,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:01:52] local.INFO: Processing buffer {"connection_id":136880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:01:52] local.INFO: IMEI packet received {"connection_id":136880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":136880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:01:53] local.INFO: TCP Data received {"connection_id":136880,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a925430012d192fc00720ba580033012326..."} 
[2026-07-19 19:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a925430012d192fc00720ba580033012326..."} 
[2026-07-19 19:01:53] local.INFO: Processing buffer {"connection_id":136880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a925430012d192fc00720ba580033012326..."} 
[2026-07-19 19:01:53] local.INFO: Packet analysis {"connection_id":136880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a92"} 
[2026-07-19 19:01:53] local.INFO: Extracted packet for processing {"connection_id":136880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a92"} 
[2026-07-19 19:01:53] local.INFO: GPS Element Parsed {"raw_longitude":756625344,"raw_latitude":119585368,"longitude_deg":75.6625344,"latitude_deg":11.9585368,"altitude":51,"angle":291,"satellites":38,"speed":30,"hex_longitude":"2d192fc0","hex_latitude":"0720ba58","is_valid_coordinates":true} 
[2026-07-19 19:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823765248001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7274901505310720,"note":"Value kept but may cause issues"} 
[2026-07-19 19:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818328380164202496,"note":"Value kept but may cause issues"} 
[2026-07-19 19:01: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-07-19 19:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784467838000,"timestamp_ms":1784467838000,"timestamp_seconds":1784467838,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a925430"} 
[2026-07-19 19:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:01: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-07-19 19:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-19 19:01:53] 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-07-19 19:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":136880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":136880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":136880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823765248001,"66":14483,"103":206,"83":41984,"24":30,"16":7274901505310720,"45":1818328380164202496},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 19:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823765248001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:01:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 19:01:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7274901505310720,"km_value":7274901505310.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818328380164202496,"description":"Unknown IO ID 45"} 
[2026-07-19 19:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823765248001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1818328380164202496}} 
[2026-07-19 19:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":136880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:01:53] local.INFO: GPS data processed {"connection_id":136880,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:01:53] local.INFO: Acknowledgment sent {"connection_id":136880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:02:08] local.INFO: TCP Data received {"connection_id":137853,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:02:08] local.INFO: Processing buffer {"connection_id":137853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:02:08] local.INFO: Packet analysis {"connection_id":137853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a90"} 
[2026-07-19 19:02:08] local.INFO: Extracted packet for processing {"connection_id":137853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a90"} 
[2026-07-19 19:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823662336001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:02: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-07-19 19:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784467732000,"timestamp_ms":1784467732000,"timestamp_seconds":1784467732,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a90b620"} 
[2026-07-19 19:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 19:02: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-07-19 19:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:02: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-07-19 19:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823662336001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823662336001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:02:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:02:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823662336001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":137853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:02:08] local.INFO: GPS data processed {"connection_id":137853,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:02:08] local.INFO: Acknowledgment sent {"connection_id":137853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:02:25] local.INFO: TCP Data received {"connection_id":136880,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a928310012d190d400720c8680037012b25..."} 
[2026-07-19 19:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a928310012d190d400720c8680037012b25..."} 
[2026-07-19 19:02:25] local.INFO: Processing buffer {"connection_id":136880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a928310012d190d400720c8680037012b25..."} 
[2026-07-19 19:02:25] local.INFO: Packet analysis {"connection_id":136880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a92"} 
[2026-07-19 19:02:25] local.INFO: Extracted packet for processing {"connection_id":136880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a92"} 
[2026-07-19 19:02:25] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119588968,"longitude_deg":75.6616512,"latitude_deg":11.9588968,"altitude":55,"angle":299,"satellites":37,"speed":27,"hex_longitude":"2d190d40","hex_latitude":"0720c868","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823766528001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7275356771844096,"note":"Value kept but may cause issues"} 
[2026-07-19 19:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1814880311699986432,"note":"Value kept but may cause issues"} 
[2026-07-19 19:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784467850000,"timestamp_ms":1784467850000,"timestamp_seconds":1784467850,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a928310"} 
[2026-07-19 19:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:02: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-07-19 19: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":147,"data_length":795,"current_offset":136} 
[2026-07-19 19:02:25] 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-07-19 19: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-07-19 19:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823766528001,"66":13820,"103":206,"83":41984,"24":27,"16":7275356771844096,"45":1814880311699986432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 19:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823766528001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:02:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 19:02:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7275356771844096,"km_value":7275356771844.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1814880311699986432,"description":"Unknown IO ID 45"} 
[2026-07-19 19:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823766528001,"power":13820,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1814880311699986432}} 
[2026-07-19 19:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":136880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:02:25] local.INFO: GPS data processed {"connection_id":136880,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:02:25] local.INFO: Acknowledgment sent {"connection_id":136880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:02:30] local.INFO: TCP Data received {"connection_id":139225,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:02:30] local.INFO: Processing buffer {"connection_id":139225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:02:30] local.INFO: IMEI packet received {"connection_id":139225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":139225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:02:35] local.INFO: TCP Data received {"connection_id":139225,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:02:35] local.INFO: Processing buffer {"connection_id":139225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:02:35] local.INFO: IMEI packet received {"connection_id":139225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":139225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:02:36] local.INFO: TCP Data received {"connection_id":139225,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:02:36] local.INFO: Processing buffer {"connection_id":139225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:02:36] local.INFO: Packet analysis {"connection_id":139225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a90"} 
[2026-07-19 19:02:36] local.INFO: Extracted packet for processing {"connection_id":139225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a90"} 
[2026-07-19 19:02:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823662336001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:02: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-07-19 19:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784467732000,"timestamp_ms":1784467732000,"timestamp_seconds":1784467732,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a90b620"} 
[2026-07-19 19:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 19:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:02: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-07-19 19:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823662336001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823662336001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:02:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:02:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823662336001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":139225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:02:36] local.INFO: GPS data processed {"connection_id":139225,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:02:36] local.INFO: Acknowledgment sent {"connection_id":139225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:02:50] local.INFO: TCP Data received {"connection_id":137855,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:02:50] local.INFO: Processing buffer {"connection_id":137855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:02:50] local.INFO: IMEI packet received {"connection_id":137855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":137855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:02:51] local.INFO: TCP Data received {"connection_id":137855,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:02:51] local.INFO: Processing buffer {"connection_id":137855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:02:51] local.INFO: IMEI packet received {"connection_id":137855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":137855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:02:51] local.INFO: TCP Data received {"connection_id":137854,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:02:51] local.INFO: Processing buffer {"connection_id":137854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:02:51] local.INFO: IMEI packet received {"connection_id":137854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 19:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":137854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:02:53] local.INFO: TCP Data received {"connection_id":137855,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:02:53] local.INFO: Processing buffer {"connection_id":137855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:02:53] local.INFO: IMEI packet received {"connection_id":137855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":137855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:02:55] local.INFO: TCP Data received {"connection_id":137855,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:02:55] local.INFO: Processing buffer {"connection_id":137855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:02:55] local.INFO: IMEI packet received {"connection_id":137855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":137855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:02:56] local.INFO: TCP Data received {"connection_id":137855,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a92ae08012d18f4c00720d8e0003c013a26..."} 
[2026-07-19 19:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a92ae08012d18f4c00720d8e0003c013a26..."} 
[2026-07-19 19:02:56] local.INFO: Processing buffer {"connection_id":137855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a92ae08012d18f4c00720d8e0003c013a26..."} 
[2026-07-19 19:02:56] local.INFO: Packet analysis {"connection_id":137855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a92"} 
[2026-07-19 19:02:56] local.INFO: Extracted packet for processing {"connection_id":137855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a92"} 
[2026-07-19 19:02:56] local.INFO: GPS Element Parsed {"raw_longitude":756610240,"raw_latitude":119593184,"longitude_deg":75.661024,"latitude_deg":11.9593184,"altitude":60,"angle":314,"satellites":38,"speed":30,"hex_longitude":"2d18f4c0","hex_latitude":"0720d8e0","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823769600001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7275717549096960,"note":"Value kept but may cause issues"} 
[2026-07-19 19:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169425004390400,"note":"Value kept but may cause issues"} 
[2026-07-19 19:02: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-07-19 19:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784467861000,"timestamp_ms":1784467861000,"timestamp_seconds":1784467861,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a92ae08"} 
[2026-07-19 19:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:02: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-07-19 19: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-19 19:02: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-07-19 19: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-07-19 19:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823769600001,"66":14483,"103":206,"83":41984,"24":30,"16":7275717549096960,"45":1805169425004390400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 19:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823769600001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:02:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 19:02:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7275717549096960,"km_value":7275717549096.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169425004390400,"description":"Unknown IO ID 45"} 
[2026-07-19 19:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823769600001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1805169425004390400}} 
[2026-07-19 19:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":137855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:02:56] local.INFO: GPS data processed {"connection_id":137855,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:02:56] local.INFO: Acknowledgment sent {"connection_id":137855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:02:58] local.INFO: TCP Data received {"connection_id":137855,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a92b9c0012d18ef800720dfe8003d014527..."} 
[2026-07-19 19:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a92b9c0012d18ef800720dfe8003d014527..."} 
[2026-07-19 19:02:58] local.INFO: Processing buffer {"connection_id":137855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a92b9c0012d18ef800720dfe8003d014527..."} 
[2026-07-19 19:02:58] local.INFO: Packet analysis {"connection_id":137855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a92"} 
[2026-07-19 19:02:58] local.INFO: Extracted packet for processing {"connection_id":137855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a92"} 
[2026-07-19 19:02:58] local.INFO: GPS Element Parsed {"raw_longitude":756608896,"raw_latitude":119594984,"longitude_deg":75.6608896,"latitude_deg":11.9594984,"altitude":61,"angle":325,"satellites":39,"speed":29,"hex_longitude":"2d18ef80","hex_latitude":"0720dfe8","is_valid_coordinates":true} 
[2026-07-19 19:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823772416001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7275824923279360,"note":"Value kept but may cause issues"} 
[2026-07-19 19:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798273288076058624,"note":"Value kept but may cause issues"} 
[2026-07-19 19:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784467864000,"timestamp_ms":1784467864000,"timestamp_seconds":1784467864,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a92b9c0"} 
[2026-07-19 19:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:02: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-07-19 19:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-19 19:02:58] 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-07-19 19:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":137855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":137855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":137855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823772416001,"66":13515,"103":206,"83":41984,"24":29,"16":7275824923279360,"45":1798273288076058624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 19:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823772416001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:02:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 19:02:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7275824923279360,"km_value":7275824923279.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798273288076058624,"description":"Unknown IO ID 45"} 
[2026-07-19 19:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823772416001,"power":13515,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1798273288076058624}} 
[2026-07-19 19:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":137855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:02:58] local.INFO: GPS data processed {"connection_id":137855,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:02:58] local.INFO: Acknowledgment sent {"connection_id":137855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:03:07] local.INFO: TCP Data received {"connection_id":139225,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:03:07] local.INFO: Processing buffer {"connection_id":139225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:03:07] local.INFO: Packet analysis {"connection_id":139225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a90"} 
[2026-07-19 19:03:07] local.INFO: Extracted packet for processing {"connection_id":139225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a90"} 
[2026-07-19 19:03:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823662336001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:03: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-07-19 19:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784467732000,"timestamp_ms":1784467732000,"timestamp_seconds":1784467732,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a90b620"} 
[2026-07-19 19:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 19:03: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-07-19 19: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-07-19 19:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":139225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":139225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":139225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:03: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-07-19 19:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823662336001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823662336001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:03:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:03:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823662336001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":139225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:03:07] local.INFO: GPS data processed {"connection_id":139225,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:03:07] local.INFO: Acknowledgment sent {"connection_id":139225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:03:26] local.INFO: TCP Data received {"connection_id":137856,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:03:26] local.INFO: Processing buffer {"connection_id":137856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:03:26] local.INFO: IMEI packet received {"connection_id":137856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 19:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":137856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:03:28] local.INFO: TCP Data received {"connection_id":137855,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a941d38012d18a700072174780046012328..."} 
[2026-07-19 19:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a941d38012d18a700072174780046012328..."} 
[2026-07-19 19:03:28] local.INFO: Processing buffer {"connection_id":137855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a941d38012d18a700072174780046012328..."} 
[2026-07-19 19:03:28] local.INFO: Packet analysis {"connection_id":137855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a94"} 
[2026-07-19 19:03:28] local.INFO: Extracted packet for processing {"connection_id":137855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a94"} 
[2026-07-19 19:03:28] local.INFO: GPS Element Parsed {"raw_longitude":756590336,"raw_latitude":119633016,"longitude_deg":75.6590336,"latitude_deg":11.9633016,"altitude":70,"angle":291,"satellites":40,"speed":26,"hex_longitude":"2d18a700","hex_latitude":"07217478","is_valid_coordinates":true} 
[2026-07-19 19:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823795968001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7277950932090880,"note":"Value kept but may cause issues"} 
[2026-07-19 19:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777655246042019840,"note":"Value kept but may cause issues"} 
[2026-07-19 19:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784467955000,"timestamp_ms":1784467955000,"timestamp_seconds":1784467955,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a941d38"} 
[2026-07-19 19:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:03: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-07-19 19:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-19 19:03:28] 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-07-19 19:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823795968001,"66":14070,"106":206,"83":41984,"24":26,"16":7277950932090880,"45":1777655246042019840},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 19:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823795968001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:03:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 19:03:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7277950932090880,"km_value":7277950932090.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777655246042019840,"description":"Unknown IO ID 45"} 
[2026-07-19 19:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823795968001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1777655246042019840}} 
[2026-07-19 19:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":137855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:03:28] local.INFO: GPS data processed {"connection_id":137855,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:03:28] local.INFO: Acknowledgment sent {"connection_id":137855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:03:30] local.INFO: TCP Data received {"connection_id":136881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:03:30] local.INFO: Processing buffer {"connection_id":136881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:03:30] local.INFO: IMEI packet received {"connection_id":136881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":136881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:03:35] local.INFO: TCP Data received {"connection_id":136881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:03:35] local.INFO: Processing buffer {"connection_id":136881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:03:35] local.INFO: IMEI packet received {"connection_id":136881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":136881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:03:36] local.INFO: TCP Data received {"connection_id":136881,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:03:36] local.INFO: Processing buffer {"connection_id":136881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:03:36] local.INFO: Packet analysis {"connection_id":136881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a90"} 
[2026-07-19 19:03:36] local.INFO: Extracted packet for processing {"connection_id":136881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a90"} 
[2026-07-19 19:03:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823662336001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:03: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-07-19 19:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784467732000,"timestamp_ms":1784467732000,"timestamp_seconds":1784467732,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a90b620"} 
[2026-07-19 19:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 19:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:03: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-07-19 19:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823662336001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823662336001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:03:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:03:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823662336001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":136881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:03:37] local.INFO: GPS data processed {"connection_id":136881,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:03:37] local.INFO: Acknowledgment sent {"connection_id":136881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:03:51] local.INFO: TCP Data received {"connection_id":139226,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:03:51] local.INFO: Processing buffer {"connection_id":139226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:03:51] local.INFO: IMEI packet received {"connection_id":139226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":139226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:03:56] local.INFO: TCP Data received {"connection_id":139226,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:03:56] local.INFO: Processing buffer {"connection_id":139226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:03:56] local.INFO: IMEI packet received {"connection_id":139226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":139226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:03:56] local.INFO: TCP Data received {"connection_id":139226,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a9453e8012d18854007218140004a011127..."} 
[2026-07-19 19:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a9453e8012d18854007218140004a011127..."} 
[2026-07-19 19:03:56] local.INFO: Processing buffer {"connection_id":139226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a9453e8012d18854007218140004a011127..."} 
[2026-07-19 19:03:56] local.INFO: Packet analysis {"connection_id":139226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a94"} 
[2026-07-19 19:03:56] local.INFO: Extracted packet for processing {"connection_id":139226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a94"} 
[2026-07-19 19:03:56] local.INFO: GPS Element Parsed {"raw_longitude":756581696,"raw_latitude":119636288,"longitude_deg":75.6581696,"latitude_deg":11.9636288,"altitude":74,"angle":273,"satellites":39,"speed":6,"hex_longitude":"2d188540","hex_latitude":"07218140","is_valid_coordinates":true} 
[2026-07-19 19:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823796480001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7278389018755072,"note":"Value kept but may cause issues"} 
[2026-07-19 19:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776388608647002112,"note":"Value kept but may cause issues"} 
[2026-07-19 19:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784467969000,"timestamp_ms":1784467969000,"timestamp_seconds":1784467969,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a9453e8"} 
[2026-07-19 19:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:03: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-07-19 19:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-19 19:03: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-07-19 19:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823796480001,"66":14070,"106":206,"83":41984,"24":6,"16":7278389018755072,"45":1776388608647002112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 19:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823796480001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:03:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 19:03:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7278389018755072,"km_value":7278389018755.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776388608647002112,"description":"Unknown IO ID 45"} 
[2026-07-19 19:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823796480001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1776388608647002112}} 
[2026-07-19 19:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":139226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:03:56] local.INFO: GPS data processed {"connection_id":139226,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:03:56] local.INFO: Acknowledgment sent {"connection_id":139226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:04:07] local.INFO: TCP Data received {"connection_id":136881,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:04:07] local.INFO: Processing buffer {"connection_id":136881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a90b620012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:04:07] local.INFO: Packet analysis {"connection_id":136881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a90"} 
[2026-07-19 19:04:07] local.INFO: Extracted packet for processing {"connection_id":136881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a90"} 
[2026-07-19 19:04:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823662336001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784467732000,"timestamp_ms":1784467732000,"timestamp_seconds":1784467732,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a90b620"} 
[2026-07-19 19:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19: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-07-19 19: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-07-19 19:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19: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-07-19 19:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823662336001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823662336001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:04:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:04:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823662336001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":136881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:04:07] local.INFO: GPS data processed {"connection_id":136881,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:04:07] local.INFO: Acknowledgment sent {"connection_id":136881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:04:27] local.INFO: TCP Data received {"connection_id":139226,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a9453e8012d18854007218140004a011127..."} 
[2026-07-19 19:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a9453e8012d18854007218140004a011127..."} 
[2026-07-19 19:04:27] local.INFO: Processing buffer {"connection_id":139226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a9453e8012d18854007218140004a011127..."} 
[2026-07-19 19:04:27] local.INFO: Packet analysis {"connection_id":139226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a94"} 
[2026-07-19 19:04:27] local.INFO: Extracted packet for processing {"connection_id":139226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a94"} 
[2026-07-19 19:04:27] local.INFO: GPS Element Parsed {"raw_longitude":756581696,"raw_latitude":119636288,"longitude_deg":75.6581696,"latitude_deg":11.9636288,"altitude":74,"angle":273,"satellites":39,"speed":6,"hex_longitude":"2d188540","hex_latitude":"07218140","is_valid_coordinates":true} 
[2026-07-19 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-07-19 19:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823800064001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7278389018755072,"note":"Value kept but may cause issues"} 
[2026-07-19 19:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766888828183855104,"note":"Value kept but may cause issues"} 
[2026-07-19 19:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784467969000,"timestamp_ms":1784467969000,"timestamp_seconds":1784467969,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a9453e8"} 
[2026-07-19 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-07-19 19:04: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-07-19 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-19 19:04: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-07-19 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-07-19 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-07-19 19:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823800064001,"66":14070,"106":206,"83":41984,"24":6,"16":7278389018755072,"45":1766888828183855104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 19:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823800064001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:04:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 19:04:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7278389018755072,"km_value":7278389018755.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766888828183855104,"description":"Unknown IO ID 45"} 
[2026-07-19 19:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823800064001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1766888828183855104}} 
[2026-07-19 19:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":139226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:04:27] local.INFO: GPS data processed {"connection_id":139226,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:04:27] local.INFO: Acknowledgment sent {"connection_id":139226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:04:30] local.INFO: TCP Data received {"connection_id":136769,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:04:30] local.INFO: Processing buffer {"connection_id":136769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:04:30] local.INFO: IMEI packet received {"connection_id":136769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":136769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:04:31] local.INFO: TCP Data received {"connection_id":136769,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:04:31] local.INFO: Processing buffer {"connection_id":136769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:04:31] local.INFO: IMEI packet received {"connection_id":136769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":136769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:04:35] local.INFO: TCP Data received {"connection_id":136769,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:04:35] local.INFO: Processing buffer {"connection_id":136769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:04:35] local.INFO: IMEI packet received {"connection_id":136769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":136769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:04:36] local.INFO: TCP Data received {"connection_id":136769,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:04:36] local.INFO: Processing buffer {"connection_id":136769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:04:36] local.INFO: Packet analysis {"connection_id":136769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:04:36] local.INFO: Extracted packet for processing {"connection_id":136769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823739392001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784468033000,"timestamp_ms":1784468033000,"timestamp_seconds":1784468033,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a954de8"} 
[2026-07-19 19:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:04: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-07-19 19: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-07-19 19:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:04: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-07-19 19:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823739392001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823739392001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:04:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:04:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823739392001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":136769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:04:36] local.INFO: GPS data processed {"connection_id":136769,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:04:36] local.INFO: Acknowledgment sent {"connection_id":136769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:04:50] local.INFO: TCP Data received {"connection_id":139227,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:04:50] local.INFO: Processing buffer {"connection_id":139227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:04:50] local.INFO: IMEI packet received {"connection_id":139227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":139227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:04:54] local.INFO: TCP Data received {"connection_id":139227,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:04:54] local.INFO: Processing buffer {"connection_id":139227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:04:54] local.INFO: IMEI packet received {"connection_id":139227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":139227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:04:55] local.INFO: TCP Data received {"connection_id":139227,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:04:55] local.INFO: Processing buffer {"connection_id":139227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:04:55] local.INFO: IMEI packet received {"connection_id":139227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":139227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:04:56] local.INFO: TCP Data received {"connection_id":139227,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a947328012d188500072181e0004a001027..."} 
[2026-07-19 19:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a947328012d188500072181e0004a001027..."} 
[2026-07-19 19:04:56] local.INFO: Processing buffer {"connection_id":139227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a947328012d188500072181e0004a001027..."} 
[2026-07-19 19:04:56] local.INFO: Packet analysis {"connection_id":139227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a94"} 
[2026-07-19 19:04:56] local.INFO: Extracted packet for processing {"connection_id":139227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a94"} 
[2026-07-19 19:04:56] local.INFO: GPS Element Parsed {"raw_longitude":756581632,"raw_latitude":119636448,"longitude_deg":75.6581632,"latitude_deg":11.9636448,"altitude":74,"angle":16,"satellites":39,"speed":6,"hex_longitude":"2d188500","hex_latitude":"072181e0","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823800064001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7278401903656960,"note":"Value kept but may cause issues"} 
[2026-07-19 19:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766888828183855104,"note":"Value kept but may cause issues"} 
[2026-07-19 19:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784467977000,"timestamp_ms":1784467977000,"timestamp_seconds":1784467977,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a947328"} 
[2026-07-19 19:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:04: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-07-19 19: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":246,"data_length":795,"current_offset":136} 
[2026-07-19 19:04: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-07-19 19: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-07-19 19:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823800064001,"66":14494,"106":206,"83":41984,"24":6,"16":7278401903656960,"45":1766888828183855104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 19:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823800064001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:04:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 19:04:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7278401903656960,"km_value":7278401903656.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766888828183855104,"description":"Unknown IO ID 45"} 
[2026-07-19 19:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823800064001,"power":14494,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1766888828183855104}} 
[2026-07-19 19:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":139227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:04:56] local.INFO: GPS data processed {"connection_id":139227,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:04:56] local.INFO: Acknowledgment sent {"connection_id":139227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:05:07] local.INFO: TCP Data received {"connection_id":136769,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:05:07] local.INFO: Processing buffer {"connection_id":136769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:05:07] local.INFO: Packet analysis {"connection_id":136769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:05:07] local.INFO: Extracted packet for processing {"connection_id":136769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823739392001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:05: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-07-19 19:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784468033000,"timestamp_ms":1784468033000,"timestamp_seconds":1784468033,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a954de8"} 
[2026-07-19 19:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:05: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-07-19 19:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823739392001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823739392001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:05:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:05:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823739392001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":136769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:05:07] local.INFO: GPS data processed {"connection_id":136769,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:05:07] local.INFO: Acknowledgment sent {"connection_id":136769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:05:27] local.INFO: TCP Data received {"connection_id":139227,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a961520012d18e08007214d70004c008725..."} 
[2026-07-19 19:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a961520012d18e08007214d70004c008725..."} 
[2026-07-19 19:05:27] local.INFO: Processing buffer {"connection_id":139227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a961520012d18e08007214d70004c008725..."} 
[2026-07-19 19:05:27] local.INFO: Packet analysis {"connection_id":139227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a96"} 
[2026-07-19 19:05:27] local.INFO: Extracted packet for processing {"connection_id":139227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a96"} 
[2026-07-19 19:05:27] local.INFO: GPS Element Parsed {"raw_longitude":756605056,"raw_latitude":119623024,"longitude_deg":75.6605056,"latitude_deg":11.9623024,"altitude":76,"angle":135,"satellites":37,"speed":7,"hex_longitude":"2d18e080","hex_latitude":"07214d70","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823829248001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7279806357962752,"note":"Value kept but may cause issues"} 
[2026-07-19 19:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792432682316990464,"note":"Value kept but may cause issues"} 
[2026-07-19 19:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784468084000,"timestamp_ms":1784468084000,"timestamp_seconds":1784468084,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a961520"} 
[2026-07-19 19:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:05: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-07-19 19:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-19 19:05: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-07-19 19: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-07-19 19:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823829248001,"66":14113,"106":206,"83":41984,"24":7,"16":7279806357962752,"45":1792432682316990464},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 19:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823829248001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:05:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 19:05:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7279806357962752,"km_value":7279806357962.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792432682316990464,"description":"Unknown IO ID 45"} 
[2026-07-19 19:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823829248001,"power":14113,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1792432682316990464}} 
[2026-07-19 19:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":139227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:05:27] local.INFO: GPS data processed {"connection_id":139227,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:05:27] local.INFO: Acknowledgment sent {"connection_id":139227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:05:30] local.INFO: TCP Data received {"connection_id":136771,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:05:30] local.INFO: Processing buffer {"connection_id":136771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:05:30] local.INFO: IMEI packet received {"connection_id":136771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":136771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:05:36] local.INFO: TCP Data received {"connection_id":136771,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:05:36] local.INFO: Processing buffer {"connection_id":136771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:05:36] local.INFO: IMEI packet received {"connection_id":136771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":136771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:05:37] local.INFO: TCP Data received {"connection_id":136771,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:05:37] local.INFO: Processing buffer {"connection_id":136771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:05:37] local.INFO: Packet analysis {"connection_id":136771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:05:37] local.INFO: Extracted packet for processing {"connection_id":136771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823739392001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:05: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-07-19 19:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784468033000,"timestamp_ms":1784468033000,"timestamp_seconds":1784468033,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a954de8"} 
[2026-07-19 19:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823739392001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823739392001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:05:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823739392001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":136771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:05:37] local.INFO: GPS data processed {"connection_id":136771,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:05:37] local.INFO: Acknowledgment sent {"connection_id":136771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:05:50] local.INFO: TCP Data received {"connection_id":136882,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:05:50] local.INFO: Processing buffer {"connection_id":136882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:05:50] local.INFO: IMEI packet received {"connection_id":136882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":136882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:05:51] local.INFO: TCP Data received {"connection_id":136882,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:05:51] local.INFO: Processing buffer {"connection_id":136882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:05:51] local.INFO: IMEI packet received {"connection_id":136882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":136882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:05:51] local.INFO: TCP Data received {"connection_id":136882,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:05:51] local.INFO: Processing buffer {"connection_id":136882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:05:51] local.INFO: IMEI packet received {"connection_id":136882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":136882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:05:52] local.INFO: TCP Data received {"connection_id":136882,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:05:52] local.INFO: Processing buffer {"connection_id":136882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:05:52] local.INFO: IMEI packet received {"connection_id":136882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":136882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:06:08] local.INFO: TCP Data received {"connection_id":136771,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:06:08] local.INFO: Processing buffer {"connection_id":136771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:06:08] local.INFO: Packet analysis {"connection_id":136771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:06:08] local.INFO: Extracted packet for processing {"connection_id":136771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823739392001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:06: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-07-19 19:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784468033000,"timestamp_ms":1784468033000,"timestamp_seconds":1784468033,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a954de8"} 
[2026-07-19 19:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:06: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-07-19 19:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823739392001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823739392001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:06:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:06:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823739392001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":136771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:06:08] local.INFO: GPS data processed {"connection_id":136771,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:06:08] local.INFO: Acknowledgment sent {"connection_id":136771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:06:36] local.INFO: TCP Data received {"connection_id":139229,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:06:36] local.INFO: Processing buffer {"connection_id":139229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:06:36] local.INFO: IMEI packet received {"connection_id":139229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":139229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:06:41] local.INFO: TCP Data received {"connection_id":139229,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:06:41] local.INFO: Processing buffer {"connection_id":139229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:06:41] local.INFO: IMEI packet received {"connection_id":139229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":139229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:06:41] local.INFO: TCP Data received {"connection_id":139229,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:06:41] local.INFO: Processing buffer {"connection_id":139229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:06:41] local.INFO: Packet analysis {"connection_id":139229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:06:41] local.INFO: Extracted packet for processing {"connection_id":139229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:06:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 19:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823739392001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784468033000,"timestamp_ms":1784468033000,"timestamp_seconds":1784468033,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a954de8"} 
[2026-07-19 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-07-19 19:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 19:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823739392001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823739392001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:06:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:06:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823739392001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":139229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:06:41] local.INFO: GPS data processed {"connection_id":139229,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:06:41] local.INFO: Acknowledgment sent {"connection_id":139229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:06:46] local.INFO: TCP Data received {"connection_id":139229,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:06:46] local.INFO: Processing buffer {"connection_id":139229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:06:46] local.INFO: Packet analysis {"connection_id":139229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:06:46] local.INFO: Extracted packet for processing {"connection_id":139229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:06:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823739392001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784468033000,"timestamp_ms":1784468033000,"timestamp_seconds":1784468033,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a954de8"} 
[2026-07-19 19:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":139229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":139229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":139229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823739392001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823739392001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:06:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:06:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823739392001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":139229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:06:46] local.INFO: GPS data processed {"connection_id":139229,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:06:46] local.INFO: Acknowledgment sent {"connection_id":139229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:06:51] local.INFO: TCP Data received {"connection_id":139229,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:06:51] local.INFO: Processing buffer {"connection_id":139229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:06:51] local.INFO: Packet analysis {"connection_id":139229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:06:51] local.INFO: Extracted packet for processing {"connection_id":139229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:06:51] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823739392001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784468033000,"timestamp_ms":1784468033000,"timestamp_seconds":1784468033,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a954de8"} 
[2026-07-19 19:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":139229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":139229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":139229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823739392001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823739392001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:06:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:06:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823739392001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":139229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:06:51] local.INFO: GPS data processed {"connection_id":139229,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:06:51] local.INFO: Acknowledgment sent {"connection_id":139229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:07:31] local.INFO: TCP Data received {"connection_id":136883,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:07:31] local.INFO: Processing buffer {"connection_id":136883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:07:31] local.INFO: IMEI packet received {"connection_id":136883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":136883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:07:36] local.INFO: TCP Data received {"connection_id":136883,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:07:36] local.INFO: Processing buffer {"connection_id":136883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:07:36] local.INFO: IMEI packet received {"connection_id":136883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":136883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:07:37] local.INFO: TCP Data received {"connection_id":136883,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:07:37] local.INFO: Processing buffer {"connection_id":136883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:07:37] local.INFO: Packet analysis {"connection_id":136883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:07:37] local.INFO: Extracted packet for processing {"connection_id":136883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823739392001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:07: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-07-19 19:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784468033000,"timestamp_ms":1784468033000,"timestamp_seconds":1784468033,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a954de8"} 
[2026-07-19 19:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823739392001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823739392001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823739392001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":136883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:07:37] local.INFO: GPS data processed {"connection_id":136883,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:07:37] local.INFO: Acknowledgment sent {"connection_id":136883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:07:41] local.INFO: TCP Data received {"connection_id":136883,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:07:41] local.INFO: Processing buffer {"connection_id":136883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:07:41] local.INFO: Packet analysis {"connection_id":136883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:07:41] local.INFO: Extracted packet for processing {"connection_id":136883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:07:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823739392001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784468033000,"timestamp_ms":1784468033000,"timestamp_seconds":1784468033,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a954de8"} 
[2026-07-19 19:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":136883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":136883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":136883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823739392001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823739392001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:07:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:07:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823739392001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":136883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:07:41] local.INFO: GPS data processed {"connection_id":136883,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:07:41] local.INFO: Acknowledgment sent {"connection_id":136883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:08:13] local.INFO: TCP Data received {"connection_id":136883,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:08:13] local.INFO: Processing buffer {"connection_id":136883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:08:13] local.INFO: Packet analysis {"connection_id":136883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:08:13] local.INFO: Extracted packet for processing {"connection_id":136883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:08:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823739392001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:08: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-07-19 19:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784468033000,"timestamp_ms":1784468033000,"timestamp_seconds":1784468033,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a954de8"} 
[2026-07-19 19:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":136883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":136883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":136883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823739392001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823739392001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:08:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:08:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823739392001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":136883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:08:13] local.INFO: GPS data processed {"connection_id":136883,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:08:13] local.INFO: Acknowledgment sent {"connection_id":136883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:08:31] local.INFO: TCP Data received {"connection_id":139230,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:08:31] local.INFO: Processing buffer {"connection_id":139230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:08:31] local.INFO: IMEI packet received {"connection_id":139230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":139230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:08:36] local.INFO: TCP Data received {"connection_id":139230,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:08:36] local.INFO: Processing buffer {"connection_id":139230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:08:36] local.INFO: IMEI packet received {"connection_id":139230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":139230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:08:36] local.INFO: TCP Data received {"connection_id":139230,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:08:36] local.INFO: Processing buffer {"connection_id":139230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:08:36] local.INFO: Packet analysis {"connection_id":139230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:08:36] local.INFO: Extracted packet for processing {"connection_id":139230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823739392001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784468033000,"timestamp_ms":1784468033000,"timestamp_seconds":1784468033,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a954de8"} 
[2026-07-19 19:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:08: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-07-19 19: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-07-19 19:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:08: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-07-19 19:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823739392001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823739392001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:08:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823739392001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":139230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:08:36] local.INFO: GPS data processed {"connection_id":139230,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:08:36] local.INFO: Acknowledgment sent {"connection_id":139230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:08:41] local.INFO: TCP Data received {"connection_id":137859,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:08:41] local.INFO: Processing buffer {"connection_id":137859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:08:41] local.INFO: IMEI packet received {"connection_id":137859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 19:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":137859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:09:07] local.INFO: TCP Data received {"connection_id":139230,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:09:08] local.INFO: Processing buffer {"connection_id":139230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a954de8012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:09:08] local.INFO: Packet analysis {"connection_id":139230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:09:08] local.INFO: Extracted packet for processing {"connection_id":139230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a95"} 
[2026-07-19 19:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823739392001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:09: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-07-19 19:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784468033000,"timestamp_ms":1784468033000,"timestamp_seconds":1784468033,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a954de8"} 
[2026-07-19 19:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:09: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-07-19 19:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823739392001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823739392001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:09:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823739392001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":139230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:09:08] local.INFO: GPS data processed {"connection_id":139230,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:09:08] local.INFO: Acknowledgment sent {"connection_id":139230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:09:25] local.INFO: TCP Data received {"connection_id":136884,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:09:25] local.INFO: Processing buffer {"connection_id":136884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:09:25] local.INFO: IMEI packet received {"connection_id":136884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 19:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":136884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:09:30] local.INFO: TCP Data received {"connection_id":136885,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:09:30] local.INFO: Processing buffer {"connection_id":136885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:09:30] local.INFO: IMEI packet received {"connection_id":136885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":136885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:09:32] local.INFO: TCP Data received {"connection_id":136885,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:09:32] local.INFO: Processing buffer {"connection_id":136885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:09:32] local.INFO: IMEI packet received {"connection_id":136885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":136885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:09:36] local.INFO: TCP Data received {"connection_id":136885,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:09:36] local.INFO: Processing buffer {"connection_id":136885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:09:36] local.INFO: IMEI packet received {"connection_id":136885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":136885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:09:36] local.INFO: TCP Data received {"connection_id":136885,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:09:36] local.INFO: Processing buffer {"connection_id":136885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:09:36] local.INFO: Packet analysis {"connection_id":136885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:09:36] local.INFO: Extracted packet for processing {"connection_id":136885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823816448001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:09: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-07-19 19:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784468334000,"timestamp_ms":1784468334000,"timestamp_seconds":1784468334,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a99e5b0"} 
[2026-07-19 19:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823816448001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823816448001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:09:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:09:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823816448001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":136885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:09:36] local.INFO: GPS data processed {"connection_id":136885,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:09:36] local.INFO: Acknowledgment sent {"connection_id":136885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:09:41] local.INFO: TCP Data received {"connection_id":136885,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:09:41] local.INFO: Processing buffer {"connection_id":136885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:09:41] local.INFO: Packet analysis {"connection_id":136885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:09:41] local.INFO: Extracted packet for processing {"connection_id":136885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:09:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823816448001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784468334000,"timestamp_ms":1784468334000,"timestamp_seconds":1784468334,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a99e5b0"} 
[2026-07-19 19:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":136885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":136885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":136885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:09:41] 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-07-19 19:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823816448001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823816448001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:09:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:09:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823816448001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":136885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:09:41] local.INFO: GPS data processed {"connection_id":136885,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:09:41] local.INFO: Acknowledgment sent {"connection_id":136885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:10:12] local.INFO: TCP Data received {"connection_id":136885,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:10:12] local.INFO: Processing buffer {"connection_id":136885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:10:12] local.INFO: Packet analysis {"connection_id":136885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:10:12] local.INFO: Extracted packet for processing {"connection_id":136885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:10:12] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823816448001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:10: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-07-19 19:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784468334000,"timestamp_ms":1784468334000,"timestamp_seconds":1784468334,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a99e5b0"} 
[2026-07-19 19:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":136885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":136885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":136885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:10:12] 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-07-19 19:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823816448001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823816448001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:10:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:10:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823816448001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":136885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:10:12] local.INFO: GPS data processed {"connection_id":136885,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:10:12] local.INFO: Acknowledgment sent {"connection_id":136885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:10:30] local.INFO: TCP Data received {"connection_id":136774,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:10:30] local.INFO: Processing buffer {"connection_id":136774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:10:30] local.INFO: IMEI packet received {"connection_id":136774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":136774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:10:36] local.INFO: TCP Data received {"connection_id":136774,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:10:36] local.INFO: Processing buffer {"connection_id":136774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:10:36] local.INFO: IMEI packet received {"connection_id":136774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":136774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:10:36] local.INFO: TCP Data received {"connection_id":136774,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:10:36] local.INFO: Processing buffer {"connection_id":136774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:10:36] local.INFO: Packet analysis {"connection_id":136774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:10:36] local.INFO: Extracted packet for processing {"connection_id":136774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823816448001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784468334000,"timestamp_ms":1784468334000,"timestamp_seconds":1784468334,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a99e5b0"} 
[2026-07-19 19:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:10: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-07-19 19: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-07-19 19:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823816448001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823816448001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:10:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823816448001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":136774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:10:36] local.INFO: GPS data processed {"connection_id":136774,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:10:36] local.INFO: Acknowledgment sent {"connection_id":136774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:10:56] local.INFO: TCP Data received {"connection_id":139231,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:10:56] local.INFO: Processing buffer {"connection_id":139231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:10:56] local.INFO: IMEI packet received {"connection_id":139231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":139231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:10:56] local.INFO: TCP Data received {"connection_id":139231,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a98f768012d185dc0072184c0004d012727..."} 
[2026-07-19 19:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a98f768012d185dc0072184c0004d012727..."} 
[2026-07-19 19:10:56] local.INFO: Processing buffer {"connection_id":139231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a98f768012d185dc0072184c0004d012727..."} 
[2026-07-19 19:10:56] local.INFO: Packet analysis {"connection_id":139231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a98"} 
[2026-07-19 19:10:56] local.INFO: Extracted packet for processing {"connection_id":139231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a98"} 
[2026-07-19 19:10:56] local.INFO: GPS Element Parsed {"raw_longitude":756571584,"raw_latitude":119637184,"longitude_deg":75.6571584,"latitude_deg":11.9637184,"altitude":77,"angle":295,"satellites":39,"speed":34,"hex_longitude":"2d185dc0","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823877376001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7282546547097600,"note":"Value kept but may cause issues"} 
[2026-07-19 19:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757600153952475136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784468273000,"timestamp_ms":1784468273000,"timestamp_seconds":1784468273,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a98f768"} 
[2026-07-19 19:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:10: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-07-19 19: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-19 19:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823877376001,"66":13124,"105":206,"83":41984,"24":34,"16":7282546547097600,"45":1757600153952475136},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 19:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823877376001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:10:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 19:10:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7282546547097600,"km_value":7282546547097.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757600153952475136,"description":"Unknown IO ID 45"} 
[2026-07-19 19:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823877376001,"power":13124,"unknown_105":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1757600153952475136}} 
[2026-07-19 19:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":139231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:10:56] local.INFO: GPS data processed {"connection_id":139231,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:10:56] local.INFO: Acknowledgment sent {"connection_id":139231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:11:08] local.INFO: TCP Data received {"connection_id":136774,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:11:08] local.INFO: Processing buffer {"connection_id":136774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:11:08] local.INFO: Packet analysis {"connection_id":136774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:11:08] local.INFO: Extracted packet for processing {"connection_id":136774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823816448001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:11: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-07-19 19:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784468334000,"timestamp_ms":1784468334000,"timestamp_seconds":1784468334,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a99e5b0"} 
[2026-07-19 19:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:11: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-07-19 19: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-07-19 19:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:11: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-07-19 19:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823816448001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823816448001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:11:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:11:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823816448001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":136774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:11:08] local.INFO: GPS data processed {"connection_id":136774,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:11:08] local.INFO: Acknowledgment sent {"connection_id":136774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:11:27] local.INFO: TCP Data received {"connection_id":139231,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a992260012d183d40072193f0004f012326..."} 
[2026-07-19 19:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a992260012d183d40072193f0004f012326..."} 
[2026-07-19 19:11:27] local.INFO: Processing buffer {"connection_id":139231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a992260012d183d40072193f0004f012326..."} 
[2026-07-19 19:11:27] local.INFO: Packet analysis {"connection_id":139231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:11:27] local.INFO: Extracted packet for processing {"connection_id":139231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:11:27] local.INFO: GPS Element Parsed {"raw_longitude":756563264,"raw_latitude":119641072,"longitude_deg":75.6563264,"latitude_deg":11.9641072,"altitude":79,"angle":291,"satellites":38,"speed":28,"hex_longitude":"2d183d40","hex_latitude":"072193f0","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823877888001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7282984633761792,"note":"Value kept but may cause issues"} 
[2026-07-19 19:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755770566604013568,"note":"Value kept but may cause issues"} 
[2026-07-19 19:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784468284000,"timestamp_ms":1784468284000,"timestamp_seconds":1784468284,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a992260"} 
[2026-07-19 19:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:11: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-07-19 19: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-19 19:11:27] 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-07-19 19: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-07-19 19:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823877888001,"66":13222,"105":206,"83":41984,"24":28,"16":7282984633761792,"45":1755770566604013568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 19:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823877888001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:11:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 19:11:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7282984633761792,"km_value":7282984633761.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755770566604013568,"description":"Unknown IO ID 45"} 
[2026-07-19 19:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823877888001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1755770566604013568}} 
[2026-07-19 19:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":139231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:11:27] local.INFO: GPS data processed {"connection_id":139231,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:11:27] local.INFO: Acknowledgment sent {"connection_id":139231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:11:30] local.INFO: TCP Data received {"connection_id":136887,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:11:30] local.INFO: Processing buffer {"connection_id":136887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:11:30] local.INFO: IMEI packet received {"connection_id":136887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":136887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:11:35] local.INFO: TCP Data received {"connection_id":136887,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:11:35] local.INFO: Processing buffer {"connection_id":136887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:11:35] local.INFO: IMEI packet received {"connection_id":136887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":136887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:11:36] local.INFO: TCP Data received {"connection_id":136887,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:11:36] local.INFO: Processing buffer {"connection_id":136887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:11:36] local.INFO: Packet analysis {"connection_id":136887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:11:36] local.INFO: Extracted packet for processing {"connection_id":136887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823816448001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:11: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-07-19 19:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784468334000,"timestamp_ms":1784468334000,"timestamp_seconds":1784468334,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a99e5b0"} 
[2026-07-19 19:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:11: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-07-19 19:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823816448001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823816448001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:11:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:11:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823816448001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":136887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:11:36] local.INFO: GPS data processed {"connection_id":136887,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:11:36] local.INFO: Acknowledgment sent {"connection_id":136887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:11:50] local.INFO: TCP Data received {"connection_id":136775,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:11:50] local.INFO: Processing buffer {"connection_id":136775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:11:50] local.INFO: IMEI packet received {"connection_id":136775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":136775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:11:56] local.INFO: TCP Data received {"connection_id":136775,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:11:56] local.INFO: Processing buffer {"connection_id":136775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:11:56] local.INFO: IMEI packet received {"connection_id":136775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":136775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:11:56] local.INFO: TCP Data received {"connection_id":136775,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a993db8012d1830c007219960004d013228..."} 
[2026-07-19 19:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a993db8012d1830c007219960004d013228..."} 
[2026-07-19 19:11:56] local.INFO: Processing buffer {"connection_id":136775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a993db8012d1830c007219960004d013228..."} 
[2026-07-19 19:11:56] local.INFO: Packet analysis {"connection_id":136775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:11:56] local.INFO: Extracted packet for processing {"connection_id":136775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:11:56] local.INFO: GPS Element Parsed {"raw_longitude":756560064,"raw_latitude":119642464,"longitude_deg":75.6560064,"latitude_deg":11.9642464,"altitude":77,"angle":306,"satellites":40,"speed":12,"hex_longitude":"2d1830c0","hex_latitude":"07219960","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823880704001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7283152137486336,"note":"Value kept but may cause issues"} 
[2026-07-19 19:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746622629861912576,"note":"Value kept but may cause issues"} 
[2026-07-19 19:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784468291000,"timestamp_ms":1784468291000,"timestamp_seconds":1784468291,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a993db8"} 
[2026-07-19 19:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:11: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-07-19 19: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-19 19:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823880704001,"66":13156,"105":206,"83":41984,"24":12,"16":7283152137486336,"45":1746622629861912576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 19:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823880704001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:11:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 19:11:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7283152137486336,"km_value":7283152137486.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746622629861912576,"description":"Unknown IO ID 45"} 
[2026-07-19 19:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823880704001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1746622629861912576}} 
[2026-07-19 19:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":136775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:11:56] local.INFO: GPS data processed {"connection_id":136775,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:11:56] local.INFO: Acknowledgment sent {"connection_id":136775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:12:07] local.INFO: TCP Data received {"connection_id":136887,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:12:07] local.INFO: Processing buffer {"connection_id":136887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:12:07] local.INFO: Packet analysis {"connection_id":136887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:12:07] local.INFO: Extracted packet for processing {"connection_id":136887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:12:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823816448001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:12: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-07-19 19:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784468334000,"timestamp_ms":1784468334000,"timestamp_seconds":1784468334,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a99e5b0"} 
[2026-07-19 19:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823816448001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823816448001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:12:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823816448001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":136887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:12:08] local.INFO: GPS data processed {"connection_id":136887,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:12:08] local.INFO: Acknowledgment sent {"connection_id":136887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:12:27] local.INFO: TCP Data received {"connection_id":136775,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a995528012d182bc007219d68004d013e28..."} 
[2026-07-19 19:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a995528012d182bc007219d68004d013e28..."} 
[2026-07-19 19:12:27] local.INFO: Processing buffer {"connection_id":136775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a995528012d182bc007219d68004d013e28..."} 
[2026-07-19 19:12:27] local.INFO: Packet analysis {"connection_id":136775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:12:27] local.INFO: Extracted packet for processing {"connection_id":136775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:12:27] local.INFO: GPS Element Parsed {"raw_longitude":756558784,"raw_latitude":119643496,"longitude_deg":75.6558784,"latitude_deg":11.9643496,"altitude":77,"angle":318,"satellites":40,"speed":8,"hex_longitude":"2d182bc0","hex_latitude":"07219d68","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823882496001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7283229446897664,"note":"Value kept but may cause issues"} 
[2026-07-19 19:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743104192653385728,"note":"Value kept but may cause issues"} 
[2026-07-19 19:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784468297000,"timestamp_ms":1784468297000,"timestamp_seconds":1784468297,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a995528"} 
[2026-07-19 19:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:12: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-07-19 19: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-19 19:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823882496001,"66":13135,"105":206,"83":41984,"24":8,"16":7283229446897664,"45":1743104192653385728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 19:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823882496001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:12:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 19:12:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7283229446897664,"km_value":7283229446897.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743104192653385728,"description":"Unknown IO ID 45"} 
[2026-07-19 19:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823882496001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1743104192653385728}} 
[2026-07-19 19:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":136775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:12:28] local.INFO: GPS data processed {"connection_id":136775,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:12:28] local.INFO: Acknowledgment sent {"connection_id":136775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:12:46] local.INFO: TCP Data received {"connection_id":136888,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:12:46] local.INFO: Processing buffer {"connection_id":136888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:12:46] local.INFO: IMEI packet received {"connection_id":136888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":136888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:12:50] local.INFO: TCP Data received {"connection_id":136889,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:12:50] local.INFO: Processing buffer {"connection_id":136889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:12:50] local.INFO: IMEI packet received {"connection_id":136889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":136889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:12:51] local.INFO: TCP Data received {"connection_id":136888,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:12:51] local.INFO: Processing buffer {"connection_id":136888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:12:51] local.INFO: IMEI packet received {"connection_id":136888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":136888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:12:52] local.INFO: TCP Data received {"connection_id":136888,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:12:52] local.INFO: Processing buffer {"connection_id":136888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:12:52] local.INFO: Packet analysis {"connection_id":136888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:12:52] local.INFO: Extracted packet for processing {"connection_id":136888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:12:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823816448001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784468334000,"timestamp_ms":1784468334000,"timestamp_seconds":1784468334,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a99e5b0"} 
[2026-07-19 19:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":136888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":136888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":136888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823816448001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823816448001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:12:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:12:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823816448001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":136888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:12:52] local.INFO: GPS data processed {"connection_id":136888,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:12:52] local.INFO: Acknowledgment sent {"connection_id":136888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:12:56] local.INFO: TCP Data received {"connection_id":136889,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:12:56] local.INFO: Processing buffer {"connection_id":136889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:12:56] local.INFO: IMEI packet received {"connection_id":136889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":136889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:12:56] local.INFO: TCP Data received {"connection_id":136888,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:12:56] local.INFO: Processing buffer {"connection_id":136888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:12:56] local.INFO: Packet analysis {"connection_id":136888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:12:56] local.INFO: Extracted packet for processing {"connection_id":136888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:12:56] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823816448001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784468334000,"timestamp_ms":1784468334000,"timestamp_seconds":1784468334,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a99e5b0"} 
[2026-07-19 19:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823816448001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823816448001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:12:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:12:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823816448001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":136888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:12:56] local.INFO: GPS data processed {"connection_id":136888,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:12:56] local.INFO: Acknowledgment sent {"connection_id":136888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:12:56] local.INFO: TCP Data received {"connection_id":136889,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a995cf8012d182ac007219e60004d014e27..."} 
[2026-07-19 19:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a995cf8012d182ac007219e60004d014e27..."} 
[2026-07-19 19:12:56] local.INFO: Processing buffer {"connection_id":136889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a995cf8012d182ac007219e60004d014e27..."} 
[2026-07-19 19:12:56] local.INFO: Packet analysis {"connection_id":136889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:12:56] local.INFO: Extracted packet for processing {"connection_id":136889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:12:56] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643744,"longitude_deg":75.6558528,"latitude_deg":11.9643744,"altitude":77,"angle":334,"satellites":39,"speed":5,"hex_longitude":"2d182ac0","hex_latitude":"07219e60","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823884032001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7283246626766848,"note":"Value kept but may cause issues"} 
[2026-07-19 19:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741696817770096640,"note":"Value kept but may cause issues"} 
[2026-07-19 19:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784468299000,"timestamp_ms":1784468299000,"timestamp_seconds":1784468299,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a995cf8"} 
[2026-07-19 19:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:12: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-07-19 19: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-19 19:12:56] 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-07-19 19: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-07-19 19:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823884032001,"66":13091,"105":206,"83":41984,"24":5,"16":7283246626766848,"45":1741696817770096640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 19:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823884032001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:12:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 19:12:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7283246626766848,"km_value":7283246626766.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741696817770096640,"description":"Unknown IO ID 45"} 
[2026-07-19 19:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823884032001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1741696817770096640}} 
[2026-07-19 19:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":136889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:12:56] local.INFO: GPS data processed {"connection_id":136889,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:12:56] local.INFO: Acknowledgment sent {"connection_id":136889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:13:27] local.INFO: TCP Data received {"connection_id":136889,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a99af00012d182a4007219ee8004e014e25..."} 
[2026-07-19 19:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a99af00012d182a4007219ee8004e014e25..."} 
[2026-07-19 19:13:27] local.INFO: Processing buffer {"connection_id":136889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a99af00012d182a4007219ee8004e014e25..."} 
[2026-07-19 19:13:27] local.INFO: Packet analysis {"connection_id":136889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:13:27] local.INFO: Extracted packet for processing {"connection_id":136889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:13:27] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643880,"longitude_deg":75.65584,"latitude_deg":11.964388,"altitude":78,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219ee8","is_valid_coordinates":true} 
[2026-07-19 19:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823884544001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7283259511668736,"note":"Value kept but may cause issues"} 
[2026-07-19 19:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793449472,"note":"Value kept but may cause issues"} 
[2026-07-19 19:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784468320000,"timestamp_ms":1784468320000,"timestamp_seconds":1784468320,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a99af00"} 
[2026-07-19 19:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:13: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-07-19 19:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-19 19:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823884544001,"66":13124,"105":206,"83":41984,"24":0,"16":7283259511668736,"45":1741415342793449472},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 19:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823884544001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:13:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 19:13:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7283259511668736,"km_value":7283259511668.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793449472,"description":"Unknown IO ID 45"} 
[2026-07-19 19:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823884544001,"power":13124,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741415342793449472}} 
[2026-07-19 19:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":136889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:13:28] local.INFO: GPS data processed {"connection_id":136889,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:13:28] local.INFO: Acknowledgment sent {"connection_id":136889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:13:31] local.INFO: TCP Data received {"connection_id":137864,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:13:31] local.INFO: Processing buffer {"connection_id":137864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:13:31] local.INFO: IMEI packet received {"connection_id":137864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":137864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:13:36] local.INFO: TCP Data received {"connection_id":137864,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:13:36] local.INFO: Processing buffer {"connection_id":137864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:13:36] local.INFO: IMEI packet received {"connection_id":137864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":137864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:13:36] local.INFO: TCP Data received {"connection_id":137864,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:13:36] local.INFO: Processing buffer {"connection_id":137864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:13:36] local.INFO: Packet analysis {"connection_id":137864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:13:36] local.INFO: Extracted packet for processing {"connection_id":137864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823816448001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:13: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-07-19 19:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784468334000,"timestamp_ms":1784468334000,"timestamp_seconds":1784468334,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a99e5b0"} 
[2026-07-19 19:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:13: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-07-19 19: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-07-19 19:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823816448001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823816448001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:13:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:13:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823816448001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":137864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:13:36] local.INFO: GPS data processed {"connection_id":137864,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:13:36] local.INFO: Acknowledgment sent {"connection_id":137864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:13:50] local.INFO: TCP Data received {"connection_id":137865,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:13:50] local.INFO: Processing buffer {"connection_id":137865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:13:50] local.INFO: IMEI packet received {"connection_id":137865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":137865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:13:56] local.INFO: TCP Data received {"connection_id":137865,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:13:56] local.INFO: Processing buffer {"connection_id":137865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:13:56] local.INFO: IMEI packet received {"connection_id":137865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":137865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:13:57] local.INFO: TCP Data received {"connection_id":137865,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a9d3558012d182a4007219ee8004e014e26..."} 
[2026-07-19 19:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a9d3558012d182a4007219ee8004e014e26..."} 
[2026-07-19 19:13:57] local.INFO: Processing buffer {"connection_id":137865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a9d3558012d182a4007219ee8004e014e26..."} 
[2026-07-19 19:13:57] local.INFO: Packet analysis {"connection_id":137865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a9d"} 
[2026-07-19 19:13:57] local.INFO: Extracted packet for processing {"connection_id":137865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a9d"} 
[2026-07-19 19:13:57] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643880,"longitude_deg":75.65584,"latitude_deg":11.964388,"altitude":78,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219ee8","is_valid_coordinates":true} 
[2026-07-19 19:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823943680001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7283259511668736,"note":"Value kept but may cause issues"} 
[2026-07-19 19:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305128960,"note":"Value kept but may cause issues"} 
[2026-07-19 19:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784468551000,"timestamp_ms":1784468551000,"timestamp_seconds":1784468551,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a9d3558"} 
[2026-07-19 19:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:13: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-07-19 19:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-19 19:13:57] 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-07-19 19:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":137865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":137865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":137865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823943680001,"66":13624,"105":206,"83":41984,"24":0,"16":7283259511668736,"45":1741274605305128960},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 19:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823943680001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:13:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 19:13:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7283259511668736,"km_value":7283259511668.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305128960,"description":"Unknown IO ID 45"} 
[2026-07-19 19:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823943680001,"power":13624,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605305128960}} 
[2026-07-19 19:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":137865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:13:57] local.INFO: GPS data processed {"connection_id":137865,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:13:57] local.INFO: Acknowledgment sent {"connection_id":137865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:14:08] local.INFO: TCP Data received {"connection_id":137864,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:14:08] local.INFO: Processing buffer {"connection_id":137864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a99e5b0012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:14:08] local.INFO: Packet analysis {"connection_id":137864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:14:08] local.INFO: Extracted packet for processing {"connection_id":137864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a99"} 
[2026-07-19 19:14:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823816448001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:14: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-07-19 19:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784468334000,"timestamp_ms":1784468334000,"timestamp_seconds":1784468334,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a99e5b0"} 
[2026-07-19 19:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:14: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-07-19 19:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823816448001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823816448001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:14:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:14:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823816448001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":137864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:14:08] local.INFO: GPS data processed {"connection_id":137864,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:14:08] local.INFO: Acknowledgment sent {"connection_id":137864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:14:28] local.INFO: TCP Data received {"connection_id":137865,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a9d8760012d182a4007219ee8004e014e29..."} 
[2026-07-19 19:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a9d8760012d182a4007219ee8004e014e29..."} 
[2026-07-19 19:14:28] local.INFO: Processing buffer {"connection_id":137865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a9d8760012d182a4007219ee8004e014e29..."} 
[2026-07-19 19:14:28] local.INFO: Packet analysis {"connection_id":137865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a9d"} 
[2026-07-19 19:14:28] local.INFO: Extracted packet for processing {"connection_id":137865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a9d"} 
[2026-07-19 19:14:28] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643880,"longitude_deg":75.65584,"latitude_deg":11.964388,"altitude":78,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219ee8","is_valid_coordinates":true} 
[2026-07-19 19:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823949056001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7283259511668736,"note":"Value kept but may cause issues"} 
[2026-07-19 19:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305128960,"note":"Value kept but may cause issues"} 
[2026-07-19 19:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784468572000,"timestamp_ms":1784468572000,"timestamp_seconds":1784468572,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a9d8760"} 
[2026-07-19 19:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:14: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-07-19 19:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-19 19:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823949056001,"66":13656,"105":206,"83":41984,"24":0,"16":7283259511668736,"45":1741274605305128960},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-19 19:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823949056001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:14:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-19 19:14:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7283259511668736,"km_value":7283259511668.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305128960,"description":"Unknown IO ID 45"} 
[2026-07-19 19:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823949056001,"power":13656,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605305128960}} 
[2026-07-19 19:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":137865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:14:28] local.INFO: GPS data processed {"connection_id":137865,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:14:28] local.INFO: Acknowledgment sent {"connection_id":137865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:14:30] local.INFO: TCP Data received {"connection_id":136778,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:14:31] local.INFO: Processing buffer {"connection_id":136778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:14:31] local.INFO: IMEI packet received {"connection_id":136778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":136778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:14:34] local.INFO: TCP Data received {"connection_id":136778,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:14:34] local.INFO: Processing buffer {"connection_id":136778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:14:34] local.INFO: IMEI packet received {"connection_id":136778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":136778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:14:35] local.INFO: TCP Data received {"connection_id":136778,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:14:35] local.INFO: Processing buffer {"connection_id":136778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:14:35] local.INFO: Packet analysis {"connection_id":136778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:14:35] local.INFO: Extracted packet for processing {"connection_id":136778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823893504001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784468635000,"timestamp_ms":1784468635000,"timestamp_seconds":1784468635,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a9e7d78"} 
[2026-07-19 19:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:14: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-07-19 19: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-07-19 19:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":136778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":136778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":136778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19: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-07-19 19:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823893504001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823893504001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:14:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:14:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823893504001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":136778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:14:35] local.INFO: GPS data processed {"connection_id":136778,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:14:35] local.INFO: Acknowledgment sent {"connection_id":136778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:14:51] local.INFO: TCP Data received {"connection_id":136777,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:14:51] local.INFO: Processing buffer {"connection_id":136777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:14:51] local.INFO: IMEI packet received {"connection_id":136777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 19:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":136777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:14:55] local.INFO: TCP Data received {"connection_id":136779,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:14:55] local.INFO: Processing buffer {"connection_id":136779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:14:55] local.INFO: IMEI packet received {"connection_id":136779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":136779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:14:58] local.INFO: TCP Data received {"connection_id":136779,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:14:58] local.INFO: Processing buffer {"connection_id":136779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:14:58] local.INFO: IMEI packet received {"connection_id":136779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":136779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:14:58] local.INFO: TCP Data received {"connection_id":136779,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a9ea0a0012d18c44007215340004a009929..."} 
[2026-07-19 19:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a9ea0a0012d18c44007215340004a009929..."} 
[2026-07-19 19:14:58] local.INFO: Processing buffer {"connection_id":136779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a9ea0a0012d18c44007215340004a009929..."} 
[2026-07-19 19:14:58] local.INFO: Packet analysis {"connection_id":136779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:14:58] local.INFO: Extracted packet for processing {"connection_id":136779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:14:58] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119624512,"longitude_deg":75.6597824,"latitude_deg":11.9624512,"altitude":74,"angle":153,"satellites":41,"speed":31,"hex_longitude":"2d18c440","hex_latitude":"07215340","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823970048001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7285471419826176,"note":"Value kept but may cause issues"} 
[2026-07-19 19:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779203358413731840,"note":"Value kept but may cause issues"} 
[2026-07-19 19:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784468644000,"timestamp_ms":1784468644000,"timestamp_seconds":1784468644,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a9ea0a0"} 
[2026-07-19 19:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 19: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-19 19:14:58] 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-07-19 19: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-07-19 19:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823970048001,"66":13722,"103":206,"83":41984,"24":31,"16":7285471419826176,"45":1779203358413731840},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 19:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823970048001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:14:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 19:14:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7285471419826176,"km_value":7285471419826.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779203358413731840,"description":"Unknown IO ID 45"} 
[2026-07-19 19:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823970048001,"power":13722,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1779203358413731840}} 
[2026-07-19 19:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":136779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:14:59] local.INFO: GPS data processed {"connection_id":136779,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:14:59] local.INFO: Acknowledgment sent {"connection_id":136779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:15:01] local.INFO: TCP Data received {"connection_id":136779,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a9ea870012d18c60007214d40004900ab29..."} 
[2026-07-19 19:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a9ea870012d18c60007214d40004900ab29..."} 
[2026-07-19 19:15:01] local.INFO: Processing buffer {"connection_id":136779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a9ea870012d18c60007214d40004900ab29..."} 
[2026-07-19 19:15:01] local.INFO: Packet analysis {"connection_id":136779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:15:01] local.INFO: Extracted packet for processing {"connection_id":136779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:15:01] local.INFO: GPS Element Parsed {"raw_longitude":756598272,"raw_latitude":119622976,"longitude_deg":75.6598272,"latitude_deg":11.9622976,"altitude":73,"angle":171,"satellites":41,"speed":31,"hex_longitude":"2d18c600","hex_latitude":"07214d40","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823972864001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7285548729237504,"note":"Value kept but may cause issues"} 
[2026-07-19 19:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751713611776,"note":"Value kept but may cause issues"} 
[2026-07-19 19:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784468646000,"timestamp_ms":1784468646000,"timestamp_seconds":1784468646,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a9ea870"} 
[2026-07-19 19:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:15: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-07-19 19: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":154,"data_length":795,"current_offset":136} 
[2026-07-19 19:15: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-07-19 19: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-07-19 19:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823972864001,"66":13624,"103":206,"83":41984,"24":31,"16":7285548729237504,"45":1784621751713611776},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 19:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823972864001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:15:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 19:15:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7285548729237504,"km_value":7285548729237.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751713611776,"description":"Unknown IO ID 45"} 
[2026-07-19 19:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823972864001,"power":13624,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1784621751713611776}} 
[2026-07-19 19:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":136779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:15:01] local.INFO: GPS data processed {"connection_id":136779,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:15:01] local.INFO: Acknowledgment sent {"connection_id":136779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:15:06] local.INFO: TCP Data received {"connection_id":136778,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:15:06] local.INFO: Processing buffer {"connection_id":136778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:15:06] local.INFO: Packet analysis {"connection_id":136778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:15:06] local.INFO: Extracted packet for processing {"connection_id":136778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:15:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823893504001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:15: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-07-19 19:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784468635000,"timestamp_ms":1784468635000,"timestamp_seconds":1784468635,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a9e7d78"} 
[2026-07-19 19:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:15:06] 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-07-19 19:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823893504001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823893504001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:15:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:15:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823893504001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":136778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:15:06] local.INFO: GPS data processed {"connection_id":136778,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:15:06] local.INFO: Acknowledgment sent {"connection_id":136778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:15:25] local.INFO: TCP Data received {"connection_id":136890,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:15:25] local.INFO: Processing buffer {"connection_id":136890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:15:25] local.INFO: IMEI packet received {"connection_id":136890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 19:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":136890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:15:30] local.INFO: TCP Data received {"connection_id":136891,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:15:30] local.INFO: Processing buffer {"connection_id":136891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:15:30] local.INFO: IMEI packet received {"connection_id":136891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":136891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:15:32] local.INFO: TCP Data received {"connection_id":136779,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a9ebfe0012d18c88007213b380046009b22..."} 
[2026-07-19 19:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a9ebfe0012d18c88007213b380046009b22..."} 
[2026-07-19 19:15:32] local.INFO: Processing buffer {"connection_id":136779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a9ebfe0012d18c88007213b380046009b22..."} 
[2026-07-19 19:15:32] local.INFO: Packet analysis {"connection_id":136779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:15:32] local.INFO: Extracted packet for processing {"connection_id":136779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:15:32] local.INFO: GPS Element Parsed {"raw_longitude":756598912,"raw_latitude":119618360,"longitude_deg":75.6598912,"latitude_deg":11.961836,"altitude":70,"angle":155,"satellites":34,"speed":30,"hex_longitude":"2d18c880","hex_latitude":"07213b38","is_valid_coordinates":true} 
[2026-07-19 19:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823973376001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7285776362504192,"note":"Value kept but may cause issues"} 
[2026-07-19 19:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785114332922462208,"note":"Value kept but may cause issues"} 
[2026-07-19 19:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784468652000,"timestamp_ms":1784468652000,"timestamp_seconds":1784468652,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a9ebfe0"} 
[2026-07-19 19:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:15: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-07-19 19:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-19 19:15: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-07-19 19:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823973376001,"66":13722,"103":206,"83":41984,"24":30,"16":7285776362504192,"45":1785114332922462208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 19:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823973376001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:15:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 19:15:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7285776362504192,"km_value":7285776362504.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785114332922462208,"description":"Unknown IO ID 45"} 
[2026-07-19 19:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823973376001,"power":13722,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1785114332922462208}} 
[2026-07-19 19:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":136779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:15:32] local.INFO: GPS data processed {"connection_id":136779,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:15:32] local.INFO: Acknowledgment sent {"connection_id":136779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:15:35] local.INFO: TCP Data received {"connection_id":136891,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:15:35] local.INFO: Processing buffer {"connection_id":136891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:15:35] local.INFO: IMEI packet received {"connection_id":136891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":136891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:15:36] local.INFO: TCP Data received {"connection_id":136891,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:15:36] local.INFO: Processing buffer {"connection_id":136891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:15:36] local.INFO: Packet analysis {"connection_id":136891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:15:36] local.INFO: Extracted packet for processing {"connection_id":136891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823893504001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:15: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-07-19 19:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784468635000,"timestamp_ms":1784468635000,"timestamp_seconds":1784468635,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a9e7d78"} 
[2026-07-19 19:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:15: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-07-19 19: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-07-19 19:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823893504001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823893504001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:15:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823893504001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":136891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:15:36] local.INFO: GPS data processed {"connection_id":136891,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:15:36] local.INFO: Acknowledgment sent {"connection_id":136891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:15:50] local.INFO: TCP Data received {"connection_id":136892,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:15:50] local.INFO: Processing buffer {"connection_id":136892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:15:50] local.INFO: IMEI packet received {"connection_id":136892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":136892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:15:50] local.INFO: TCP Data received {"connection_id":136892,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:15:50] local.INFO: Processing buffer {"connection_id":136892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:15:50] local.INFO: IMEI packet received {"connection_id":136892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":136892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:15:55] local.INFO: TCP Data received {"connection_id":136892,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:15:55] local.INFO: Processing buffer {"connection_id":136892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:15:55] local.INFO: IMEI packet received {"connection_id":136892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":136892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:15:56] local.INFO: TCP Data received {"connection_id":136892,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a9edf20012d18d2c0072126e8004300ab24..."} 
[2026-07-19 19:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a9edf20012d18d2c0072126e8004300ab24..."} 
[2026-07-19 19:15:56] local.INFO: Processing buffer {"connection_id":136892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a9edf20012d18d2c0072126e8004300ab24..."} 
[2026-07-19 19:15:56] local.INFO: Packet analysis {"connection_id":136892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:15:56] local.INFO: Extracted packet for processing {"connection_id":136892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:15:56] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119613160,"longitude_deg":75.6601536,"latitude_deg":11.961316,"altitude":67,"angle":171,"satellites":36,"speed":27,"hex_longitude":"2d18d2c0","hex_latitude":"072126e8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823974912001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7286064125313024,"note":"Value kept but may cause issues"} 
[2026-07-19 19:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785818020363057152,"note":"Value kept but may cause issues"} 
[2026-07-19 19:15: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-07-19 19:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784468660000,"timestamp_ms":1784468660000,"timestamp_seconds":1784468660,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a9edf20"} 
[2026-07-19 19:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:15: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-07-19 19: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-19 19:15: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-07-19 19: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-07-19 19:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823974912001,"66":13602,"103":206,"83":41984,"24":27,"16":7286064125313024,"45":1785818020363057152},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 19:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823974912001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:15:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 19:15:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7286064125313024,"km_value":7286064125313.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785818020363057152,"description":"Unknown IO ID 45"} 
[2026-07-19 19:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823974912001,"power":13602,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1785818020363057152}} 
[2026-07-19 19:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":136892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:15:56] local.INFO: GPS data processed {"connection_id":136892,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:15:56] local.INFO: Acknowledgment sent {"connection_id":136892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:16:07] local.INFO: TCP Data received {"connection_id":136891,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:16:07] local.INFO: Processing buffer {"connection_id":136891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:16:07] local.INFO: Packet analysis {"connection_id":136891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:16:07] local.INFO: Extracted packet for processing {"connection_id":136891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:16:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823893504001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:16: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-07-19 19:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784468635000,"timestamp_ms":1784468635000,"timestamp_seconds":1784468635,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a9e7d78"} 
[2026-07-19 19:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823893504001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823893504001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:16:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:16:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823893504001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":136891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:16:07] local.INFO: GPS data processed {"connection_id":136891,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:16:07] local.INFO: Acknowledgment sent {"connection_id":136891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:16:27] local.INFO: TCP Data received {"connection_id":136892,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa00800012d198d800720b3c0002d005720..."} 
[2026-07-19 19:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa00800012d198d800720b3c0002d005720..."} 
[2026-07-19 19:16:27] local.INFO: Processing buffer {"connection_id":136892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa00800012d198d800720b3c0002d005720..."} 
[2026-07-19 19:16:27] local.INFO: Packet analysis {"connection_id":136892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa0"} 
[2026-07-19 19:16:27] local.INFO: Extracted packet for processing {"connection_id":136892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa0"} 
[2026-07-19 19:16:27] local.INFO: GPS Element Parsed {"raw_longitude":756649344,"raw_latitude":119583680,"longitude_deg":75.6649344,"latitude_deg":11.958368,"altitude":45,"angle":87,"satellites":32,"speed":32,"hex_longitude":"2d198d80","hex_latitude":"0720b3c0","is_valid_coordinates":true} 
[2026-07-19 19:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823994112001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7289147911831552,"note":"Value kept but may cause issues"} 
[2026-07-19 19:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078952861696,"note":"Value kept but may cause issues"} 
[2026-07-19 19:16: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-07-19 19:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784468736000,"timestamp_ms":1784468736000,"timestamp_seconds":1784468736,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa00800"} 
[2026-07-19 19:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:16: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-07-19 19:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-19 19:16:27] 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-07-19 19:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823994112001,"66":12819,"103":206,"83":41984,"24":32,"16":7289147911831552,"45":1832965078952861696},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 19:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823994112001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:16:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 19:16:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7289147911831552,"km_value":7289147911831.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078952861696,"description":"Unknown IO ID 45"} 
[2026-07-19 19:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823994112001,"power":12819,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1832965078952861696}} 
[2026-07-19 19:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":136892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:16:27] local.INFO: GPS data processed {"connection_id":136892,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:16:27] local.INFO: Acknowledgment sent {"connection_id":136892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:16:30] local.INFO: TCP Data received {"connection_id":136780,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:16:30] local.INFO: Processing buffer {"connection_id":136780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:16:30] local.INFO: IMEI packet received {"connection_id":136780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":136780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:16:35] local.INFO: TCP Data received {"connection_id":136780,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:16:35] local.INFO: Processing buffer {"connection_id":136780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:16:35] local.INFO: IMEI packet received {"connection_id":136780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":136780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:16:37] local.INFO: TCP Data received {"connection_id":136780,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:16:37] local.INFO: Processing buffer {"connection_id":136780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:16:37] local.INFO: Packet analysis {"connection_id":136780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:16:37] local.INFO: Extracted packet for processing {"connection_id":136780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:16:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823893504001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:16: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-07-19 19:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784468635000,"timestamp_ms":1784468635000,"timestamp_seconds":1784468635,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a9e7d78"} 
[2026-07-19 19:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823893504001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823893504001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:16:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:16:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823893504001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":136780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:16:37] local.INFO: GPS data processed {"connection_id":136780,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:16:37] local.INFO: Acknowledgment sent {"connection_id":136780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:16:51] local.INFO: TCP Data received {"connection_id":136893,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:16:51] local.INFO: Processing buffer {"connection_id":136893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:16:51] local.INFO: IMEI packet received {"connection_id":136893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":136893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:16:56] local.INFO: TCP Data received {"connection_id":136893,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:16:56] local.INFO: Processing buffer {"connection_id":136893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:16:56] local.INFO: IMEI packet received {"connection_id":136893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":136893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:16:58] local.INFO: TCP Data received {"connection_id":136893,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa07560012d19ae80072090f8002d00c222..."} 
[2026-07-19 19:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa07560012d19ae80072090f8002d00c222..."} 
[2026-07-19 19:16:58] local.INFO: Processing buffer {"connection_id":136893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa07560012d19ae80072090f8002d00c222..."} 
[2026-07-19 19:16:58] local.INFO: Packet analysis {"connection_id":136893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa0"} 
[2026-07-19 19:16:58] local.INFO: Extracted packet for processing {"connection_id":136893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa0"} 
[2026-07-19 19:16:58] local.INFO: GPS Element Parsed {"raw_longitude":756657792,"raw_latitude":119574776,"longitude_deg":75.6657792,"latitude_deg":11.9574776,"altitude":45,"angle":194,"satellites":34,"speed":24,"hex_longitude":"2d19ae80","hex_latitude":"072090f8","is_valid_coordinates":true} 
[2026-07-19 19:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824003328001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7290105689538560,"note":"Value kept but may cause issues"} 
[2026-07-19 19:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850838739972212736,"note":"Value kept but may cause issues"} 
[2026-07-19 19:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784468764000,"timestamp_ms":1784468764000,"timestamp_seconds":1784468764,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa07560"} 
[2026-07-19 19:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 19:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-07-19 19:16:58] 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-07-19 19:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":136893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":136893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":136893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824003328001,"66":13537,"103":206,"83":41984,"24":24,"16":7290105689538560,"45":1850838739972212736},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 19:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824003328001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:16:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 19:16:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7290105689538560,"km_value":7290105689538.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850838739972212736,"description":"Unknown IO ID 45"} 
[2026-07-19 19:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824003328001,"power":13537,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1850838739972212736}} 
[2026-07-19 19:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":136893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:16:58] local.INFO: GPS data processed {"connection_id":136893,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:16:58] local.INFO: Acknowledgment sent {"connection_id":136893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:17:08] local.INFO: TCP Data received {"connection_id":136780,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:17:08] local.INFO: Processing buffer {"connection_id":136780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:17:08] local.INFO: Packet analysis {"connection_id":136780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:17:08] local.INFO: Extracted packet for processing {"connection_id":136780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823893504001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:17: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-07-19 19:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784468635000,"timestamp_ms":1784468635000,"timestamp_seconds":1784468635,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a9e7d78"} 
[2026-07-19 19:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823893504001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823893504001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:17:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:17:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823893504001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":136780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:17:08] local.INFO: GPS data processed {"connection_id":136780,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:17:08] local.INFO: Acknowledgment sent {"connection_id":136780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:17:34] local.INFO: TCP Data received {"connection_id":136893,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa07948012d19ae4007208ea8002d00b423..."} 
[2026-07-19 19:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa07948012d19ae4007208ea8002d00b423..."} 
[2026-07-19 19:17:34] local.INFO: Processing buffer {"connection_id":136893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa07948012d19ae4007208ea8002d00b423..."} 
[2026-07-19 19:17:34] local.INFO: Packet analysis {"connection_id":136893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa0"} 
[2026-07-19 19:17:34] local.INFO: Extracted packet for processing {"connection_id":136893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa0"} 
[2026-07-19 19:17:34] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119574184,"longitude_deg":75.6657728,"latitude_deg":11.9574184,"altitude":45,"angle":180,"satellites":35,"speed":23,"hex_longitude":"2d19ae40","hex_latitude":"07208ea8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824003584001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7290131459342336,"note":"Value kept but may cause issues"} 
[2026-07-19 19:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850557264995350528,"note":"Value kept but may cause issues"} 
[2026-07-19 19:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784468765000,"timestamp_ms":1784468765000,"timestamp_seconds":1784468765,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa07948"} 
[2026-07-19 19:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 19: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-07-19 19:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":136893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":136893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":136893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824003584001,"66":12526,"103":206,"83":41984,"24":23,"16":7290131459342336,"45":1850557264995350528},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-19 19:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824003584001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:17:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-19 19:17:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7290131459342336,"km_value":7290131459342.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850557264995350528,"description":"Unknown IO ID 45"} 
[2026-07-19 19:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824003584001,"power":12526,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1850557264995350528}} 
[2026-07-19 19:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":136893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:17:34] local.INFO: GPS data processed {"connection_id":136893,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:17:34] local.INFO: Acknowledgment sent {"connection_id":136893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:17:35] local.INFO: TCP Data received {"connection_id":136781,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:17:35] local.INFO: Processing buffer {"connection_id":136781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:17:35] local.INFO: IMEI packet received {"connection_id":136781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":136781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:17:41] local.INFO: TCP Data received {"connection_id":136781,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:17:41] local.INFO: Processing buffer {"connection_id":136781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:17:41] local.INFO: IMEI packet received {"connection_id":136781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":136781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:17:41] local.INFO: TCP Data received {"connection_id":136781,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:17:41] local.INFO: Processing buffer {"connection_id":136781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:17:41] local.INFO: Packet analysis {"connection_id":136781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:17:41] local.INFO: Extracted packet for processing {"connection_id":136781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:17:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823893504001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784468635000,"timestamp_ms":1784468635000,"timestamp_seconds":1784468635,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a9e7d78"} 
[2026-07-19 19:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":136781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":136781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":136781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823893504001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823893504001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:17:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:17:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823893504001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":136781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:17:41] local.INFO: GPS data processed {"connection_id":136781,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:17:41] local.INFO: Acknowledgment sent {"connection_id":136781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:17:46] local.INFO: TCP Data received {"connection_id":136781,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:17:46] local.INFO: Processing buffer {"connection_id":136781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:17:46] local.INFO: Packet analysis {"connection_id":136781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:17:46] local.INFO: Extracted packet for processing {"connection_id":136781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823893504001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784468635000,"timestamp_ms":1784468635000,"timestamp_seconds":1784468635,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a9e7d78"} 
[2026-07-19 19:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":136781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":136781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":136781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823893504001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823893504001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:17:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:17:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823893504001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":136781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:17:46] local.INFO: GPS data processed {"connection_id":136781,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:17:46] local.INFO: Acknowledgment sent {"connection_id":136781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:17:50] local.INFO: TCP Data received {"connection_id":137867,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:17:51] local.INFO: Processing buffer {"connection_id":137867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:17:51] local.INFO: IMEI packet received {"connection_id":137867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":137867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:17:51] local.INFO: TCP Data received {"connection_id":137867,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:17:51] local.INFO: Processing buffer {"connection_id":137867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:17:51] local.INFO: IMEI packet received {"connection_id":137867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":137867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:17:51] local.INFO: TCP Data received {"connection_id":136781,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:17:51] local.INFO: Processing buffer {"connection_id":136781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:17:51] local.INFO: Packet analysis {"connection_id":136781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:17:51] local.INFO: Extracted packet for processing {"connection_id":136781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:17:51] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823893504001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784468635000,"timestamp_ms":1784468635000,"timestamp_seconds":1784468635,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a9e7d78"} 
[2026-07-19 19:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":136781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":136781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":136781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823893504001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823893504001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:17:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:17:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823893504001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":136781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:17:51] local.INFO: GPS data processed {"connection_id":136781,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:17:51] local.INFO: Acknowledgment sent {"connection_id":136781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:17:56] local.INFO: TCP Data received {"connection_id":137867,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:17:56] local.INFO: Processing buffer {"connection_id":137867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:17:56] local.INFO: IMEI packet received {"connection_id":137867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":137867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:17:56] local.INFO: TCP Data received {"connection_id":137867,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa15408012d19e60007200660002a008f21..."} 
[2026-07-19 19:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa15408012d19e60007200660002a008f21..."} 
[2026-07-19 19:17:56] local.INFO: Processing buffer {"connection_id":137867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa15408012d19e60007200660002a008f21..."} 
[2026-07-19 19:17:56] local.INFO: Packet analysis {"connection_id":137867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa1"} 
[2026-07-19 19:17:56] local.INFO: Extracted packet for processing {"connection_id":137867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa1"} 
[2026-07-19 19:17:56] local.INFO: GPS Element Parsed {"raw_longitude":756672000,"raw_latitude":119539296,"longitude_deg":75.6672,"latitude_deg":11.9539296,"altitude":42,"angle":143,"satellites":33,"speed":34,"hex_longitude":"2d19e600","hex_latitude":"07200660","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824017920001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7292025539919872,"note":"Value kept but may cause issues"} 
[2026-07-19 19:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865545807496288256,"note":"Value kept but may cause issues"} 
[2026-07-19 19:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784468821000,"timestamp_ms":1784468821000,"timestamp_seconds":1784468821,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa15408"} 
[2026-07-19 19:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:17: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-07-19 19:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-19 19:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824017920001,"66":13504,"101":206,"83":41984,"24":34,"16":7292025539919872,"45":1865545807496288256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824017920001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:17:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:17:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7292025539919872,"km_value":7292025539919.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865545807496288256,"description":"Unknown IO ID 45"} 
[2026-07-19 19:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824017920001,"power":13504,"unknown_101":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1865545807496288256}} 
[2026-07-19 19:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":137867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:17:56] local.INFO: GPS data processed {"connection_id":137867,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:17:56] local.INFO: Acknowledgment sent {"connection_id":137867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:18:27] local.INFO: TCP Data received {"connection_id":137867,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa163a8012d19ed80071ffcd8002a007b21..."} 
[2026-07-19 19:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa163a8012d19ed80071ffcd8002a007b21..."} 
[2026-07-19 19:18:27] local.INFO: Processing buffer {"connection_id":137867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa163a8012d19ed80071ffcd8002a007b21..."} 
[2026-07-19 19:18:27] local.INFO: Packet analysis {"connection_id":137867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa1"} 
[2026-07-19 19:18:27] local.INFO: Extracted packet for processing {"connection_id":137867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa1"} 
[2026-07-19 19:18:27] local.INFO: GPS Element Parsed {"raw_longitude":756673920,"raw_latitude":119536856,"longitude_deg":75.667392,"latitude_deg":11.9536856,"altitude":42,"angle":123,"satellites":33,"speed":26,"hex_longitude":"2d19ed80","hex_latitude":"071ffcd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824018176001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7292175863775232,"note":"Value kept but may cause issues"} 
[2026-07-19 19:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866179126193709056,"note":"Value kept but may cause issues"} 
[2026-07-19 19:18: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-07-19 19:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784468825000,"timestamp_ms":1784468825000,"timestamp_seconds":1784468825,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa163a8"} 
[2026-07-19 19:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:18: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-07-19 19: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-19 19:18:27] 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-07-19 19: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-07-19 19:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824018176001,"66":13450,"101":206,"83":41984,"24":26,"16":7292175863775232,"45":1866179126193709056},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824018176001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:18:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:18:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7292175863775232,"km_value":7292175863775.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866179126193709056,"description":"Unknown IO ID 45"} 
[2026-07-19 19:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824018176001,"power":13450,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1866179126193709056}} 
[2026-07-19 19:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":137867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:18:27] local.INFO: GPS data processed {"connection_id":137867,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:18:27] local.INFO: Acknowledgment sent {"connection_id":137867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:18:31] local.INFO: TCP Data received {"connection_id":136896,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:18:31] local.INFO: Processing buffer {"connection_id":136896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:18:31] local.INFO: IMEI packet received {"connection_id":136896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":136896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:18:36] local.INFO: TCP Data received {"connection_id":136896,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:18:36] local.INFO: Processing buffer {"connection_id":136896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:18:36] local.INFO: IMEI packet received {"connection_id":136896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":136896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:18:36] local.INFO: TCP Data received {"connection_id":136896,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:18:36] local.INFO: Processing buffer {"connection_id":136896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:18:36] local.INFO: Packet analysis {"connection_id":136896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:18:36] local.INFO: Extracted packet for processing {"connection_id":136896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823893504001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784468635000,"timestamp_ms":1784468635000,"timestamp_seconds":1784468635,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a9e7d78"} 
[2026-07-19 19:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:18: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-07-19 19:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823893504001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823893504001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:18:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:18:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823893504001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":136896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:18:36] local.INFO: GPS data processed {"connection_id":136896,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:18:36] local.INFO: Acknowledgment sent {"connection_id":136896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:18:41] local.INFO: TCP Data received {"connection_id":136896,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:18:41] local.INFO: Processing buffer {"connection_id":136896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:18:41] local.INFO: Packet analysis {"connection_id":136896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:18:41] local.INFO: Extracted packet for processing {"connection_id":136896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:18:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823893504001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784468635000,"timestamp_ms":1784468635000,"timestamp_seconds":1784468635,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a9e7d78"} 
[2026-07-19 19:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":136896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":136896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":136896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823893504001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823893504001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:18:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:18:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823893504001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":136896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:18:41] local.INFO: GPS data processed {"connection_id":136896,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:18:41] local.INFO: Acknowledgment sent {"connection_id":136896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:18:51] local.INFO: TCP Data received {"connection_id":136782,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:18:51] local.INFO: Processing buffer {"connection_id":136782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:18:51] local.INFO: IMEI packet received {"connection_id":136782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":136782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:18:55] local.INFO: TCP Data received {"connection_id":136782,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:18:55] local.INFO: Processing buffer {"connection_id":136782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:18:55] local.INFO: IMEI packet received {"connection_id":136782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":136782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:18:56] local.INFO: TCP Data received {"connection_id":136782,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa16790012d19f000071ffbe0002a006e22..."} 
[2026-07-19 19:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa16790012d19f000071ffbe0002a006e22..."} 
[2026-07-19 19:18:56] local.INFO: Processing buffer {"connection_id":136782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa16790012d19f000071ffbe0002a006e22..."} 
[2026-07-19 19:18:56] local.INFO: Packet analysis {"connection_id":136782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa1"} 
[2026-07-19 19:18:56] local.INFO: Extracted packet for processing {"connection_id":136782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa1"} 
[2026-07-19 19:18:56] local.INFO: GPS Element Parsed {"raw_longitude":756674560,"raw_latitude":119536608,"longitude_deg":75.667456,"latitude_deg":11.9536608,"altitude":42,"angle":110,"satellites":34,"speed":27,"hex_longitude":"2d19f000","hex_latitude":"071ffbe0","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824019200001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7292210223513600,"note":"Value kept but may cause issues"} 
[2026-07-19 19:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868290188518414336,"note":"Value kept but may cause issues"} 
[2026-07-19 19:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784468826000,"timestamp_ms":1784468826000,"timestamp_seconds":1784468826,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa16790"} 
[2026-07-19 19:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:18: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-07-19 19:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-19 19:18: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-07-19 19: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-07-19 19:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824019200001,"66":13450,"101":206,"83":41984,"24":27,"16":7292210223513600,"45":1868290188518414336},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824019200001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:18:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:18:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7292210223513600,"km_value":7292210223513.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868290188518414336,"description":"Unknown IO ID 45"} 
[2026-07-19 19:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824019200001,"power":13450,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1868290188518414336}} 
[2026-07-19 19:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":136782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:18:56] local.INFO: GPS data processed {"connection_id":136782,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:18:56] local.INFO: Acknowledgment sent {"connection_id":136782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:19:12] local.INFO: TCP Data received {"connection_id":136896,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:19:12] local.INFO: Processing buffer {"connection_id":136896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7a9e7d78012d34c50006aa4dd80008009529..."} 
[2026-07-19 19:19:12] local.INFO: Packet analysis {"connection_id":136896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:19:12] local.INFO: Extracted packet for processing {"connection_id":136896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7a9e"} 
[2026-07-19 19:19:12] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823893504001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:19: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-07-19 19:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784468635000,"timestamp_ms":1784468635000,"timestamp_seconds":1784468635,"priority":1,"record_length":96,"hex_timestamp":"0000019f7a9e7d78"} 
[2026-07-19 19:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":136896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":136896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":136896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823893504001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823893504001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:19:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:19:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823893504001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":136896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:19:12] local.INFO: GPS data processed {"connection_id":136896,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:19:12] local.INFO: Acknowledgment sent {"connection_id":136896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:19:27] local.INFO: TCP Data received {"connection_id":136782,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa16b78012d19f2c0071ffb98002a006322..."} 
[2026-07-19 19:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa16b78012d19f2c0071ffb98002a006322..."} 
[2026-07-19 19:19:27] local.INFO: Processing buffer {"connection_id":136782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa16b78012d19f2c0071ffb98002a006322..."} 
[2026-07-19 19:19:27] local.INFO: Packet analysis {"connection_id":136782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa1"} 
[2026-07-19 19:19:27] local.INFO: Extracted packet for processing {"connection_id":136782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa1"} 
[2026-07-19 19:19:27] local.INFO: GPS Element Parsed {"raw_longitude":756675264,"raw_latitude":119536536,"longitude_deg":75.6675264,"latitude_deg":11.9536536,"altitude":42,"angle":99,"satellites":34,"speed":27,"hex_longitude":"2d19f2c0","hex_latitude":"071ffb98","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824019456001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7292244583251968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868993875960127488,"note":"Value kept but may cause issues"} 
[2026-07-19 19:19: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-07-19 19:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784468827000,"timestamp_ms":1784468827000,"timestamp_seconds":1784468827,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa16b78"} 
[2026-07-19 19:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:19: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-07-19 19: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-19 19:19:27] 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-07-19 19: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-07-19 19:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824019456001,"66":13526,"101":206,"83":41984,"24":27,"16":7292244583251968,"45":1868993875960127488},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824019456001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:19:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:19:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7292244583251968,"km_value":7292244583251.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868993875960127488,"description":"Unknown IO ID 45"} 
[2026-07-19 19:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824019456001,"power":13526,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1868993875960127488}} 
[2026-07-19 19:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":136782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:19:27] local.INFO: GPS data processed {"connection_id":136782,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:19:27] local.INFO: Acknowledgment sent {"connection_id":136782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:19:31] local.INFO: TCP Data received {"connection_id":136897,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:19:31] local.INFO: Processing buffer {"connection_id":136897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:19:31] local.INFO: IMEI packet received {"connection_id":136897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":136897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:19:35] local.INFO: TCP Data received {"connection_id":136897,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:19:35] local.INFO: Processing buffer {"connection_id":136897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:19:35] local.INFO: IMEI packet received {"connection_id":136897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":136897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:19:35] local.INFO: TCP Data received {"connection_id":136897,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:19:35] local.INFO: Processing buffer {"connection_id":136897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:19:35] local.INFO: Packet analysis {"connection_id":136897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:19:35] local.INFO: Extracted packet for processing {"connection_id":136897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:19:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823970560001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784468936000,"timestamp_ms":1784468936000,"timestamp_seconds":1784468936,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa31540"} 
[2026-07-19 19:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:19: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-07-19 19: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-07-19 19:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":136897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":136897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":136897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823970560001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823970560001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:19:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:19:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823970560001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":136897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:19:36] local.INFO: GPS data processed {"connection_id":136897,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:19:36] local.INFO: Acknowledgment sent {"connection_id":136897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:19:50] local.INFO: TCP Data received {"connection_id":139232,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:19:50] local.INFO: Processing buffer {"connection_id":139232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:19:50] local.INFO: IMEI packet received {"connection_id":139232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":139232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:19:55] local.INFO: TCP Data received {"connection_id":139232,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:19:55] local.INFO: Processing buffer {"connection_id":139232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:19:55] local.INFO: IMEI packet received {"connection_id":139232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":139232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:19:57] local.INFO: TCP Data received {"connection_id":139232,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa301b8012d1a6f80071fd7f00032007f21..."} 
[2026-07-19 19:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa301b8012d1a6f80071fd7f00032007f21..."} 
[2026-07-19 19:19:57] local.INFO: Processing buffer {"connection_id":139232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa301b8012d1a6f80071fd7f00032007f21..."} 
[2026-07-19 19:19:57] local.INFO: Packet analysis {"connection_id":139232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:19:57] local.INFO: Extracted packet for processing {"connection_id":139232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:19:57] local.INFO: GPS Element Parsed {"raw_longitude":756707200,"raw_latitude":119527408,"longitude_deg":75.67072,"latitude_deg":11.9527408,"altitude":50,"angle":127,"satellites":33,"speed":19,"hex_longitude":"2d1a6f80","hex_latitude":"071fd7f0","is_valid_coordinates":true} 
[2026-07-19 19:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824045568001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7293859490955264,"note":"Value kept but may cause issues"} 
[2026-07-19 19:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903685666837538816,"note":"Value kept but may cause issues"} 
[2026-07-19 19:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784468931000,"timestamp_ms":1784468931000,"timestamp_seconds":1784468931,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa301b8"} 
[2026-07-19 19:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:19: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-07-19 19:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-19 19:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":139232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":139232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":139232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824045568001,"66":13580,"101":206,"83":41984,"24":19,"16":7293859490955264,"45":1903685666837538816},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824045568001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:19:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:19:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7293859490955264,"km_value":7293859490955.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903685666837538816,"description":"Unknown IO ID 45"} 
[2026-07-19 19:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824045568001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1903685666837538816}} 
[2026-07-19 19:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":139232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:19:57] local.INFO: GPS data processed {"connection_id":139232,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:19:57] local.INFO: Acknowledgment sent {"connection_id":139232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:20:07] local.INFO: TCP Data received {"connection_id":136897,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:20:07] local.INFO: Processing buffer {"connection_id":136897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:20:07] local.INFO: Packet analysis {"connection_id":136897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:20:07] local.INFO: Extracted packet for processing {"connection_id":136897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:20:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823970560001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:20: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-07-19 19:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784468936000,"timestamp_ms":1784468936000,"timestamp_seconds":1784468936,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa31540"} 
[2026-07-19 19:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:20: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-07-19 19:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823970560001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823970560001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:20:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:20:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823970560001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":136897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:20:07] local.INFO: GPS data processed {"connection_id":136897,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:20:07] local.INFO: Acknowledgment sent {"connection_id":136897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:20:28] local.INFO: TCP Data received {"connection_id":139232,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa3b950012d1ac280071f7980003b00c922..."} 
[2026-07-19 19:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa3b950012d1ac280071f7980003b00c922..."} 
[2026-07-19 19:20:28] local.INFO: Processing buffer {"connection_id":139232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa3b950012d1ac280071f7980003b00c922..."} 
[2026-07-19 19:20:28] local.INFO: Packet analysis {"connection_id":139232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:20:28] local.INFO: Extracted packet for processing {"connection_id":139232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:20:28] local.INFO: GPS Element Parsed {"raw_longitude":756728448,"raw_latitude":119503232,"longitude_deg":75.6728448,"latitude_deg":11.9503232,"altitude":59,"angle":201,"satellites":34,"speed":34,"hex_longitude":"2d1ac280","hex_latitude":"071f7980","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824057344001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7295598952710144,"note":"Value kept but may cause issues"} 
[2026-07-19 19:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929440627201038336,"note":"Value kept but may cause issues"} 
[2026-07-19 19:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784468978000,"timestamp_ms":1784468978000,"timestamp_seconds":1784468978,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa3b950"} 
[2026-07-19 19:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:20: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-07-19 19: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-19 19:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824057344001,"66":13559,"106":206,"83":41984,"24":34,"16":7295598952710144,"45":1929440627201038336},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 19:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824057344001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:20:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 19:20:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7295598952710144,"km_value":7295598952710.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929440627201038336,"description":"Unknown IO ID 45"} 
[2026-07-19 19:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824057344001,"power":13559,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1929440627201038336}} 
[2026-07-19 19:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":139232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:20:28] local.INFO: GPS data processed {"connection_id":139232,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:20:28] local.INFO: Acknowledgment sent {"connection_id":139232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:20:30] local.INFO: TCP Data received {"connection_id":136899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:20:30] local.INFO: Processing buffer {"connection_id":136899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:20:30] local.INFO: IMEI packet received {"connection_id":136899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":136899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:20:35] local.INFO: TCP Data received {"connection_id":136899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:20:35] local.INFO: Processing buffer {"connection_id":136899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:20:35] local.INFO: IMEI packet received {"connection_id":136899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":136899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:20:37] local.INFO: TCP Data received {"connection_id":136899,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:20:37] local.INFO: Processing buffer {"connection_id":136899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:20:37] local.INFO: Packet analysis {"connection_id":136899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:20:37] local.INFO: Extracted packet for processing {"connection_id":136899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823970560001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:20: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-07-19 19:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784468936000,"timestamp_ms":1784468936000,"timestamp_seconds":1784468936,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa31540"} 
[2026-07-19 19:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:20: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-07-19 19:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823970560001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823970560001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:20:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823970560001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":136899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:20:37] local.INFO: GPS data processed {"connection_id":136899,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:20:37] local.INFO: Acknowledgment sent {"connection_id":136899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:20:51] local.INFO: TCP Data received {"connection_id":136898,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:20:51] local.INFO: Processing buffer {"connection_id":136898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:20:51] local.INFO: IMEI packet received {"connection_id":136898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 19:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":136898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:20:55] local.INFO: TCP Data received {"connection_id":136784,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:20:55] local.INFO: Processing buffer {"connection_id":136784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:20:55] local.INFO: IMEI packet received {"connection_id":136784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":136784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:21:00] local.INFO: TCP Data received {"connection_id":136784,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:21:00] local.INFO: Processing buffer {"connection_id":136784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:21:00] local.INFO: IMEI packet received {"connection_id":136784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":136784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:21:01] local.INFO: TCP Data received {"connection_id":136784,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa3ccd8012d1abc00071f6970003b00bd22..."} 
[2026-07-19 19:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa3ccd8012d1abc00071f6970003b00bd22..."} 
[2026-07-19 19:21:01] local.INFO: Processing buffer {"connection_id":136784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa3ccd8012d1abc00071f6970003b00bd22..."} 
[2026-07-19 19:21:01] local.INFO: Packet analysis {"connection_id":136784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:21:01] local.INFO: Extracted packet for processing {"connection_id":136784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:21:01] local.INFO: GPS Element Parsed {"raw_longitude":756726784,"raw_latitude":119499120,"longitude_deg":75.6726784,"latitude_deg":11.949912,"altitude":59,"angle":189,"satellites":34,"speed":35,"hex_longitude":"2d1abc00","hex_latitude":"071f6970","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824058368001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7295813701074944,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928244358549176320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784468983000,"timestamp_ms":1784468983000,"timestamp_seconds":1784468983,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa3ccd8"} 
[2026-07-19 19:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:21: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-07-19 19: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-19 19:21:01] 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-07-19 19: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-07-19 19:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824058368001,"66":13515,"106":206,"83":41984,"24":35,"16":7295813701074944,"45":1928244358549176320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 19:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824058368001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:21:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 19:21:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7295813701074944,"km_value":7295813701074.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928244358549176320,"description":"Unknown IO ID 45"} 
[2026-07-19 19:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824058368001,"power":13515,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1928244358549176320}} 
[2026-07-19 19:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":136784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:21:02] local.INFO: GPS data processed {"connection_id":136784,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:21:02] local.INFO: Acknowledgment sent {"connection_id":136784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:21:02] local.INFO: TCP Data received {"connection_id":136784,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa3e448012d1abb40071f5518003c00b21f..."} 
[2026-07-19 19:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa3e448012d1abb40071f5518003c00b21f..."} 
[2026-07-19 19:21:02] local.INFO: Processing buffer {"connection_id":136784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa3e448012d1abb40071f5518003c00b21f..."} 
[2026-07-19 19:21:02] local.INFO: Packet analysis {"connection_id":136784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:21:02] local.INFO: Extracted packet for processing {"connection_id":136784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:21:02] local.INFO: GPS Element Parsed {"raw_longitude":756726592,"raw_latitude":119493912,"longitude_deg":75.6726592,"latitude_deg":11.9493912,"altitude":60,"angle":178,"satellites":31,"speed":33,"hex_longitude":"2d1abb40","hex_latitude":"071f5518","is_valid_coordinates":true} 
[2026-07-19 19:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824059648001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7296067104145408,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926414771199504384,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784468989000,"timestamp_ms":1784468989000,"timestamp_seconds":1784468989,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa3e448"} 
[2026-07-19 19:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:21: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-07-19 19:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-19 19:21:02] 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-07-19 19:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":136784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":136784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":136784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824059648001,"66":13580,"106":206,"83":41984,"24":33,"16":7296067104145408,"45":1926414771199504384},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 19:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824059648001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:21:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 19:21:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7296067104145408,"km_value":7296067104145.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926414771199504384,"description":"Unknown IO ID 45"} 
[2026-07-19 19:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824059648001,"power":13580,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1926414771199504384}} 
[2026-07-19 19:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":136784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:21:03] local.INFO: GPS data processed {"connection_id":136784,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:21:03] local.INFO: Acknowledgment sent {"connection_id":136784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:21:08] local.INFO: TCP Data received {"connection_id":136899,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:21:08] local.INFO: Processing buffer {"connection_id":136899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:21:08] local.INFO: Packet analysis {"connection_id":136899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:21:08] local.INFO: Extracted packet for processing {"connection_id":136899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823970560001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784468936000,"timestamp_ms":1784468936000,"timestamp_seconds":1784468936,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa31540"} 
[2026-07-19 19:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823970560001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823970560001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:21:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:21:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823970560001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":136899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:21:08] local.INFO: GPS data processed {"connection_id":136899,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:21:08] local.INFO: Acknowledgment sent {"connection_id":136899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:21:25] local.INFO: TCP Data received {"connection_id":139233,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:21:25] local.INFO: Processing buffer {"connection_id":139233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:21:25] local.INFO: IMEI packet received {"connection_id":139233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 19:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":139233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:21:30] local.INFO: TCP Data received {"connection_id":136785,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:21:30] local.INFO: Processing buffer {"connection_id":136785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:21:30] local.INFO: IMEI packet received {"connection_id":136785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":136785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:21:35] local.INFO: TCP Data received {"connection_id":136785,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:21:35] local.INFO: Processing buffer {"connection_id":136785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:21:35] local.INFO: IMEI packet received {"connection_id":136785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":136785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:21:36] local.INFO: TCP Data received {"connection_id":136785,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:21:36] local.INFO: Processing buffer {"connection_id":136785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:21:36] local.INFO: Packet analysis {"connection_id":136785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:21:36] local.INFO: Extracted packet for processing {"connection_id":136785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823970560001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21: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-07-19 19:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784468936000,"timestamp_ms":1784468936000,"timestamp_seconds":1784468936,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa31540"} 
[2026-07-19 19:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:21: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-07-19 19: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-07-19 19:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:21: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-07-19 19:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823970560001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823970560001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:21:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:21:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823970560001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":136785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:21:36] local.INFO: GPS data processed {"connection_id":136785,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:21:36] local.INFO: Acknowledgment sent {"connection_id":136785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:21:44] local.INFO: TCP Data received {"connection_id":136784,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa3ffa0012d1abb40071f4560003e00a320..."} 
[2026-07-19 19:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa3ffa0012d1abb40071f4560003e00a320..."} 
[2026-07-19 19:21:44] local.INFO: Processing buffer {"connection_id":136784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa3ffa0012d1abb40071f4560003e00a320..."} 
[2026-07-19 19:21:44] local.INFO: Packet analysis {"connection_id":136784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:21:44] local.INFO: Extracted packet for processing {"connection_id":136784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:21:44] local.INFO: GPS Element Parsed {"raw_longitude":756726592,"raw_latitude":119489888,"longitude_deg":75.6726592,"latitude_deg":11.9489888,"altitude":62,"angle":163,"satellites":32,"speed":16,"hex_longitude":"2d1abb40","hex_latitude":"071f4560","is_valid_coordinates":true} 
[2026-07-19 19:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824061184001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7296264672641024,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926203664965638144,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784468996000,"timestamp_ms":1784468996000,"timestamp_seconds":1784468996,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa3ffa0"} 
[2026-07-19 19:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 19:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-19 19:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751520235,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:44] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:44] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2745294849,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:44] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2349858875,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:44] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635863110809701,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-19 19:21:44] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:44] local.WARNING: Large IO value detected {"io_id":26,"raw_value":-4305433411583475654,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:44] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648292429367030189,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:44] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755511110336753,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:44] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,106,83,24,241,157,16,235,159,204,45,105,59,34,10,66,185,128,121,169,192,1,240,138,227,122,31,4,113,205,25,199,176,32,239,53,101,2,7,58,26,52,164],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-19 19:21:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323651488491569152,"timestamp_seconds":4323651488491569.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 19:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":136784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":136784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":136784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824061184001,"66":13624,"106":206,"83":41984,"24":16,"16":7296264672641024,"45":1926203664965638144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 19:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824061184001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:21:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 19:21:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7296264672641024,"km_value":7296264672641.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926203664965638144,"description":"Unknown IO ID 45"} 
[2026-07-19 19:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824061184001,"power":13624,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1926203664965638144}} 
[2026-07-19 19:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":136784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:21:44] local.INFO: GPS data processed {"connection_id":136784,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:21:44] local.INFO: Acknowledgment sent {"connection_id":136784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:21:50] local.INFO: TCP Data received {"connection_id":136900,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:21:50] local.INFO: Processing buffer {"connection_id":136900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:21:50] local.INFO: IMEI packet received {"connection_id":136900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":136900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:21:52] local.INFO: TCP Data received {"connection_id":136900,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:21:52] local.INFO: Processing buffer {"connection_id":136900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:21:52] local.INFO: IMEI packet received {"connection_id":136900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":136900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:21:53] local.INFO: TCP Data received {"connection_id":136900,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:21:53] local.INFO: Processing buffer {"connection_id":136900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:21:53] local.INFO: IMEI packet received {"connection_id":136900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":136900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:21:54] local.INFO: TCP Data received {"connection_id":136900,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa4c6d8012d1b01c0071f0a60004d00a31d..."} 
[2026-07-19 19:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa4c6d8012d1b01c0071f0a60004d00a31d..."} 
[2026-07-19 19:21:54] local.INFO: Processing buffer {"connection_id":136900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa4c6d8012d1b01c0071f0a60004d00a31d..."} 
[2026-07-19 19:21:54] local.INFO: Packet analysis {"connection_id":136900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa4"} 
[2026-07-19 19:21:54] local.INFO: Extracted packet for processing {"connection_id":136900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa4"} 
[2026-07-19 19:21:54] local.INFO: GPS Element Parsed {"raw_longitude":756744640,"raw_latitude":119474784,"longitude_deg":75.674464,"latitude_deg":11.9474784,"altitude":77,"angle":163,"satellites":29,"speed":24,"hex_longitude":"2d1b01c0","hex_latitude":"071f0a60","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824071936001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7297724961521664,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944921750914224128,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21: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-07-19 19:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784469047000,"timestamp_ms":1784469047000,"timestamp_seconds":1784469047,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa4c6d8"} 
[2026-07-19 19:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:21: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-07-19 19:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-19 19:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:54] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:54] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2600468480,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250120912575349376,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:54] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2757838849,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:54] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4782823074856902144,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-19 19:21:54] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718584,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:54] local.WARNING: Large IO value detected {"io_id":12,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:54] local.WARNING: Large IO value detected {"io_id":164,"raw_value":1098879602312462343,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:54] local.WARNING: Large IO value detected {"io_id":20,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:54] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:54] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:54] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,101,83,24,241,157,16,236,159,124,45,64,51,70,30,10,66,105,63,68,29,192,1,240,181,227,122,31,4,113,205,21,93,244,216,239,49,2,25,7,65,12,164,20,120,92],"length":626,"final_offset":756,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-19 19:21:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116282819589963776,"timestamp_seconds":5116282819589964.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 19:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":136900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":136900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":136900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824071936001,"66":13493,"101":206,"83":41984,"24":24,"16":7297724961521664,"45":1944921750914224128},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824071936001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:21:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:21:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7297724961521664,"km_value":7297724961521.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944921750914224128,"description":"Unknown IO ID 45"} 
[2026-07-19 19:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824071936001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1944921750914224128}} 
[2026-07-19 19:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":136900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:21:54] local.INFO: GPS data processed {"connection_id":136900,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:21:54] local.INFO: Acknowledgment sent {"connection_id":136900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:21:55] local.INFO: TCP Data received {"connection_id":136900,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa4fd88012d1b0740071eec380051008622..."} 
[2026-07-19 19:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa4fd88012d1b0740071eec380051008622..."} 
[2026-07-19 19:21:55] local.INFO: Processing buffer {"connection_id":136900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa4fd88012d1b0740071eec380051008622..."} 
[2026-07-19 19:21:55] local.INFO: Packet analysis {"connection_id":136900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa4"} 
[2026-07-19 19:21:55] local.INFO: Extracted packet for processing {"connection_id":136900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa4"} 
[2026-07-19 19:21:55] local.INFO: GPS Element Parsed {"raw_longitude":756746048,"raw_latitude":119467064,"longitude_deg":75.6746048,"latitude_deg":11.9467064,"altitude":81,"angle":134,"satellites":34,"speed":16,"hex_longitude":"2d1b0740","hex_latitude":"071eec38","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824076032001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7298107213611008,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946047650818842624,"note":"Value kept but may cause issues"} 
[2026-07-19 19:21: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-07-19 19:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784469061000,"timestamp_ms":1784469061000,"timestamp_seconds":1784469061,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa4fd88"} 
[2026-07-19 19:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19: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-07-19 19:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-19 19:21: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-07-19 19: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-07-19 19:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":136900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":136900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":136900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824076032001,"66":13580,"101":206,"83":41984,"24":16,"16":7298107213611008,"45":1946047650818842624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824076032001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:21:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:21:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7298107213611008,"km_value":7298107213611.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946047650818842624,"description":"Unknown IO ID 45"} 
[2026-07-19 19:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824076032001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1946047650818842624}} 
[2026-07-19 19:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":136900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:21:55] local.INFO: GPS data processed {"connection_id":136900,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:21:55] local.INFO: Acknowledgment sent {"connection_id":136900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:22:07] local.INFO: TCP Data received {"connection_id":136785,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:22:07] local.INFO: Processing buffer {"connection_id":136785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:22:07] local.INFO: Packet analysis {"connection_id":136785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:22:07] local.INFO: Extracted packet for processing {"connection_id":136785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:22:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823970560001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:22: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-07-19 19:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784468936000,"timestamp_ms":1784468936000,"timestamp_seconds":1784468936,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa31540"} 
[2026-07-19 19:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:22: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-07-19 19:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823970560001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823970560001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:22:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:22:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823970560001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":136785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:22:08] local.INFO: GPS data processed {"connection_id":136785,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:22:08] local.INFO: Acknowledgment sent {"connection_id":136785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:22:26] local.INFO: TCP Data received {"connection_id":136900,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa58e10012d1b4d40071ecbf0004f008a1c..."} 
[2026-07-19 19:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa58e10012d1b4d40071ecbf0004f008a1c..."} 
[2026-07-19 19:22:26] local.INFO: Processing buffer {"connection_id":136900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa58e10012d1b4d40071ecbf0004f008a1c..."} 
[2026-07-19 19:22:26] local.INFO: Packet analysis {"connection_id":136900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa5"} 
[2026-07-19 19:22:26] local.INFO: Extracted packet for processing {"connection_id":136900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa5"} 
[2026-07-19 19:22:26] local.INFO: GPS Element Parsed {"raw_longitude":756763968,"raw_latitude":119458800,"longitude_deg":75.6763968,"latitude_deg":11.94588,"altitude":79,"angle":138,"satellites":28,"speed":22,"hex_longitude":"2d1b4d40","hex_latitude":"071ecbf0","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824087296001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7299138005762048,"note":"Value kept but may cause issues"} 
[2026-07-19 19:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963921311836514304,"note":"Value kept but may cause issues"} 
[2026-07-19 19:22: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-07-19 19:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784469098000,"timestamp_ms":1784469098000,"timestamp_seconds":1784469098,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa58e10"} 
[2026-07-19 19:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:22: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-07-19 19: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-19 19:22:26] 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-07-19 19: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-07-19 19:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":136900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":136900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":136900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824087296001,"66":13656,"101":206,"83":41984,"24":22,"16":7299138005762048,"45":1963921311836514304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824087296001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:22:26] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:22:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7299138005762048,"km_value":7299138005762.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963921311836514304,"description":"Unknown IO ID 45"} 
[2026-07-19 19:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824087296001,"power":13656,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1963921311836514304}} 
[2026-07-19 19:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":136900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:22:26] local.INFO: GPS data processed {"connection_id":136900,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:22:26] local.INFO: Acknowledgment sent {"connection_id":136900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:22:30] local.INFO: TCP Data received {"connection_id":136787,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:22:30] local.INFO: Processing buffer {"connection_id":136787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:22:30] local.INFO: IMEI packet received {"connection_id":136787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":136787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:22:35] local.INFO: TCP Data received {"connection_id":136787,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:22:35] local.INFO: Processing buffer {"connection_id":136787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:22:35] local.INFO: IMEI packet received {"connection_id":136787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":136787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:22:36] local.INFO: TCP Data received {"connection_id":136787,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:22:36] local.INFO: Processing buffer {"connection_id":136787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:22:36] local.INFO: Packet analysis {"connection_id":136787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:22:36] local.INFO: Extracted packet for processing {"connection_id":136787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823970560001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:22: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-07-19 19:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784468936000,"timestamp_ms":1784468936000,"timestamp_seconds":1784468936,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa31540"} 
[2026-07-19 19:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:22: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-07-19 19: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-07-19 19:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:22: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-07-19 19:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823970560001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823970560001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:22:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:22:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823970560001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":136787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:22:36] local.INFO: GPS data processed {"connection_id":136787,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:22:36] local.INFO: Acknowledgment sent {"connection_id":136787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:22:50] local.INFO: TCP Data received {"connection_id":139234,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:22:50] local.INFO: Processing buffer {"connection_id":139234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:22:50] local.INFO: IMEI packet received {"connection_id":139234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":139234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:22:55] local.INFO: TCP Data received {"connection_id":139234,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:22:55] local.INFO: Processing buffer {"connection_id":139234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:22:55] local.INFO: IMEI packet received {"connection_id":139234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":139234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:22:56] local.INFO: TCP Data received {"connection_id":139234,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa599c8012d1b5140071ec668005000981c..."} 
[2026-07-19 19:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa599c8012d1b5140071ec668005000981c..."} 
[2026-07-19 19:22:56] local.INFO: Processing buffer {"connection_id":139234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa599c8012d1b5140071ec668005000981c..."} 
[2026-07-19 19:22:56] local.INFO: Packet analysis {"connection_id":139234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa5"} 
[2026-07-19 19:22:56] local.INFO: Extracted packet for processing {"connection_id":139234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa5"} 
[2026-07-19 19:22:56] local.INFO: GPS Element Parsed {"raw_longitude":756764992,"raw_latitude":119457384,"longitude_deg":75.6764992,"latitude_deg":11.9457384,"altitude":80,"angle":152,"satellites":28,"speed":21,"hex_longitude":"2d1b5140","hex_latitude":"071ec668","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824089088001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7299219610140672,"note":"Value kept but may cause issues"} 
[2026-07-19 19:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967299011556405248,"note":"Value kept but may cause issues"} 
[2026-07-19 19:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784469101000,"timestamp_ms":1784469101000,"timestamp_seconds":1784469101,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa599c8"} 
[2026-07-19 19:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:22: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-07-19 19: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-19 19:22: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-07-19 19: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-07-19 19:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824089088001,"66":13493,"101":206,"83":41984,"24":21,"16":7299219610140672,"45":1967299011556405248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824089088001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:22:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:22:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7299219610140672,"km_value":7299219610140.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967299011556405248,"description":"Unknown IO ID 45"} 
[2026-07-19 19:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824089088001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1967299011556405248}} 
[2026-07-19 19:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":139234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:22:56] local.INFO: GPS data processed {"connection_id":139234,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:22:56] local.INFO: Acknowledgment sent {"connection_id":139234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:23:07] local.INFO: TCP Data received {"connection_id":136787,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:23:07] local.INFO: Processing buffer {"connection_id":136787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:23:07] local.INFO: Packet analysis {"connection_id":136787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:23:07] local.INFO: Extracted packet for processing {"connection_id":136787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:23:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823970560001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:23: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-07-19 19:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784468936000,"timestamp_ms":1784468936000,"timestamp_seconds":1784468936,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa31540"} 
[2026-07-19 19:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823970560001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823970560001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:23:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:23:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823970560001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":136787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:23:07] local.INFO: GPS data processed {"connection_id":136787,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:23:07] local.INFO: Acknowledgment sent {"connection_id":136787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:23:28] local.INFO: TCP Data received {"connection_id":139234,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa67870012d1b7340071ed0e00054004c1e..."} 
[2026-07-19 19:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa67870012d1b7340071ed0e00054004c1e..."} 
[2026-07-19 19:23:28] local.INFO: Processing buffer {"connection_id":139234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa67870012d1b7340071ed0e00054004c1e..."} 
[2026-07-19 19:23:28] local.INFO: Packet analysis {"connection_id":139234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa6"} 
[2026-07-19 19:23:28] local.INFO: Extracted packet for processing {"connection_id":139234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa6"} 
[2026-07-19 19:23:28] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119460064,"longitude_deg":75.6773696,"latitude_deg":11.9460064,"altitude":84,"angle":76,"satellites":30,"speed":7,"hex_longitude":"2d1b7340","hex_latitude":"071ed0e0","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824102400001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7300065718697984,"note":"Value kept but may cause issues"} 
[2026-07-19 19:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975954367090407424,"note":"Value kept but may cause issues"} 
[2026-07-19 19:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784469158000,"timestamp_ms":1784469158000,"timestamp_seconds":1784469158,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa67870"} 
[2026-07-19 19:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:23: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-07-19 19: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-19 19:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824102400001,"66":13646,"101":206,"83":41984,"24":7,"16":7300065718697984,"45":1975954367090407424},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824102400001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:23:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:23:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7300065718697984,"km_value":7300065718697.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975954367090407424,"description":"Unknown IO ID 45"} 
[2026-07-19 19:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824102400001,"power":13646,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1975954367090407424}} 
[2026-07-19 19:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":139234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:23:28] local.INFO: GPS data processed {"connection_id":139234,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:23:28] local.INFO: Acknowledgment sent {"connection_id":139234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:23:30] local.INFO: TCP Data received {"connection_id":137868,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:23:30] local.INFO: Processing buffer {"connection_id":137868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:23:30] local.INFO: IMEI packet received {"connection_id":137868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":137868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:23:35] local.INFO: TCP Data received {"connection_id":137868,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:23:35] local.INFO: Processing buffer {"connection_id":137868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:23:35] local.INFO: IMEI packet received {"connection_id":137868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":137868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:23:36] local.INFO: TCP Data received {"connection_id":137868,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:23:36] local.INFO: Processing buffer {"connection_id":137868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:23:36] local.INFO: Packet analysis {"connection_id":137868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:23:36] local.INFO: Extracted packet for processing {"connection_id":137868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823970560001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784468936000,"timestamp_ms":1784468936000,"timestamp_seconds":1784468936,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa31540"} 
[2026-07-19 19:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:23: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-07-19 19: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-07-19 19:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:23: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-07-19 19:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823970560001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823970560001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:23:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823970560001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":137868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:23:36] local.INFO: GPS data processed {"connection_id":137868,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:23:36] local.INFO: Acknowledgment sent {"connection_id":137868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:24:08] local.INFO: TCP Data received {"connection_id":137868,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:24:08] local.INFO: Processing buffer {"connection_id":137868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa31540012d34c50006aa4dd80008009527..."} 
[2026-07-19 19:24:08] local.INFO: Packet analysis {"connection_id":137868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:24:08] local.INFO: Extracted packet for processing {"connection_id":137868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa3"} 
[2026-07-19 19:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456823970560001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24: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-07-19 19:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784468936000,"timestamp_ms":1784468936000,"timestamp_seconds":1784468936,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa31540"} 
[2026-07-19 19:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:24: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-07-19 19:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456823970560001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456823970560001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:24:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:24:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456823970560001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":137868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:24:08] local.INFO: GPS data processed {"connection_id":137868,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:24:08] local.INFO: Acknowledgment sent {"connection_id":137868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:24:31] local.INFO: TCP Data received {"connection_id":139235,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:24:31] local.INFO: Processing buffer {"connection_id":139235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:24:31] local.INFO: IMEI packet received {"connection_id":139235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":139235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:24:32] local.INFO: TCP Data received {"connection_id":139235,"ip":"42.106.6.36","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 19:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139235,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 19:24:32] local.INFO: Processing buffer {"connection_id":139235,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-19 19:24:32] local.INFO: IMEI packet received {"connection_id":139235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":139235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:24:33] local.INFO: TCP Data received {"connection_id":139235,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa762d0012d1b9700071ef4a8005601521e..."} 
[2026-07-19 19:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa762d0012d1b9700071ef4a8005601521e..."} 
[2026-07-19 19:24:33] local.INFO: Processing buffer {"connection_id":139235,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f7a..."} 
[2026-07-19 19:24:33] local.INFO: IMEI packet received {"connection_id":139235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":139235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:24:34] local.INFO: TCP Data received {"connection_id":139235,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa766b8012d1b9700071ef5b8005601611f..."} 
[2026-07-19 19:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa766b8012d1b9700071ef5b8005601611f..."} 
[2026-07-19 19:24:34] local.INFO: Processing buffer {"connection_id":139235,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f7aa762d0012d1b9700071ef4a8005601521e..."} 
[2026-07-19 19:24:34] local.INFO: Packet analysis {"connection_id":139235,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:24:34] local.INFO: Extracted packet for processing {"connection_id":139235,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:24:34] local.INFO: GPS Element Parsed {"raw_longitude":756782848,"raw_latitude":119469224,"longitude_deg":75.6782848,"latitude_deg":11.9469224,"altitude":86,"angle":338,"satellites":30,"speed":12,"hex_longitude":"2d1b9700","hex_latitude":"071ef4a8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824116736001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7300830222876672,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1988972584764768256,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784469218000,"timestamp_ms":1784469218000,"timestamp_seconds":1784469218,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa762d0"} 
[2026-07-19 19:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 19: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-19 19:24:34] 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-07-19 19: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-07-19 19:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":139235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":139235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":139235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824116736001,"66":13167,"101":206,"83":41984,"24":12,"16":7300830222876672,"45":1988972584764768256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824116736001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:24:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:24:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7300830222876672,"km_value":7300830222876.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1988972584764768256,"description":"Unknown IO ID 45"} 
[2026-07-19 19:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824116736001,"power":13167,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1988972584764768256}} 
[2026-07-19 19:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":139235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:24:34] local.INFO: GPS data processed {"connection_id":139235,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:24:34] local.INFO: Acknowledgment sent {"connection_id":139235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:24:34] local.INFO: Packet analysis {"connection_id":139235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:24:34] local.INFO: Extracted packet for processing {"connection_id":139235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:24:34] local.INFO: GPS Element Parsed {"raw_longitude":756782848,"raw_latitude":119469496,"longitude_deg":75.6782848,"latitude_deg":11.9469496,"altitude":86,"angle":353,"satellites":31,"speed":11,"hex_longitude":"2d1b9700","hex_latitude":"071ef5b8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824119808001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7300843107778560,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1988057791091484672,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784469219000,"timestamp_ms":1784469219000,"timestamp_seconds":1784469219,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa766b8"} 
[2026-07-19 19:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 19: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-19 19:24:34] 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-07-19 19: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-07-19 19:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":139235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":139235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":139235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824119808001,"66":13167,"101":206,"83":41984,"24":11,"16":7300843107778560,"45":1988057791091484672},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824119808001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:24:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:24:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7300843107778560,"km_value":7300843107778.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1988057791091484672,"description":"Unknown IO ID 45"} 
[2026-07-19 19:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824119808001,"power":13167,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1988057791091484672}} 
[2026-07-19 19:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":139235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:24:34] local.INFO: GPS data processed {"connection_id":139235,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:24:34] local.INFO: Acknowledgment sent {"connection_id":139235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:24:34] local.INFO: TCP Data received {"connection_id":139235,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa76e88012d1b9740071ef898005500061f..."} 
[2026-07-19 19:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa76e88012d1b9740071ef898005500061f..."} 
[2026-07-19 19:24:34] local.INFO: Processing buffer {"connection_id":139235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa76e88012d1b9740071ef898005500061f..."} 
[2026-07-19 19:24:34] local.INFO: Packet analysis {"connection_id":139235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:24:34] local.INFO: Extracted packet for processing {"connection_id":139235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:24:34] local.INFO: GPS Element Parsed {"raw_longitude":756782912,"raw_latitude":119470232,"longitude_deg":75.6782912,"latitude_deg":11.9470232,"altitude":85,"angle":6,"satellites":31,"speed":14,"hex_longitude":"2d1b9740","hex_latitude":"071ef898","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824120064001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7300881762484224,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1988057791091554304,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784469221000,"timestamp_ms":1784469221000,"timestamp_seconds":1784469221,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa76e88"} 
[2026-07-19 19:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 19: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-19 19:24:34] 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-07-19 19: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-07-19 19:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":139235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":139235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":139235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824120064001,"66":13330,"101":206,"83":41984,"24":14,"16":7300881762484224,"45":1988057791091554304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824120064001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:24:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:24:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7300881762484224,"km_value":7300881762484.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1988057791091554304,"description":"Unknown IO ID 45"} 
[2026-07-19 19:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824120064001,"power":13330,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1988057791091554304}} 
[2026-07-19 19:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":139235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:24:34] local.INFO: GPS data processed {"connection_id":139235,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:24:34] local.INFO: Acknowledgment sent {"connection_id":139235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:24:35] local.INFO: TCP Data received {"connection_id":136902,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:24:35] local.INFO: Processing buffer {"connection_id":136902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:24:35] local.INFO: IMEI packet received {"connection_id":136902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":136902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:24:36] local.INFO: TCP Data received {"connection_id":136902,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:24:36] local.INFO: Processing buffer {"connection_id":136902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:24:36] local.INFO: IMEI packet received {"connection_id":136902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":136902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:24:40] local.INFO: TCP Data received {"connection_id":136902,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:24:40] local.INFO: Processing buffer {"connection_id":136902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:24:40] local.INFO: IMEI packet received {"connection_id":136902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":136902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:24:41] local.INFO: TCP Data received {"connection_id":136902,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:24:41] local.INFO: Processing buffer {"connection_id":136902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:24:41] local.INFO: Packet analysis {"connection_id":136902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:24:41] local.INFO: Extracted packet for processing {"connection_id":136902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:24:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824047616001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784469237000,"timestamp_ms":1784469237000,"timestamp_seconds":1784469237,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa7ad08"} 
[2026-07-19 19:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 19:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":136902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":136902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":136902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824047616001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824047616001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:24:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:24:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824047616001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":136902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:24:41] local.INFO: GPS data processed {"connection_id":136902,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:24:41] local.INFO: Acknowledgment sent {"connection_id":136902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:24:46] local.INFO: TCP Data received {"connection_id":136902,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:24:46] local.INFO: Processing buffer {"connection_id":136902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:24:46] local.INFO: Packet analysis {"connection_id":136902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:24:46] local.INFO: Extracted packet for processing {"connection_id":136902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:24:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824047616001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784469237000,"timestamp_ms":1784469237000,"timestamp_seconds":1784469237,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa7ad08"} 
[2026-07-19 19:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 19:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":136902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":136902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":136902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824047616001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824047616001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:24:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:24:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824047616001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":136902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:24:46] local.INFO: GPS data processed {"connection_id":136902,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:24:46] local.INFO: Acknowledgment sent {"connection_id":136902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:24:51] local.INFO: TCP Data received {"connection_id":137869,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:24:51] local.INFO: Processing buffer {"connection_id":137869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:24:51] local.INFO: IMEI packet received {"connection_id":137869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":137869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:24:56] local.INFO: TCP Data received {"connection_id":137869,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:24:56] local.INFO: Processing buffer {"connection_id":137869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:24:56] local.INFO: IMEI packet received {"connection_id":137869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":137869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:24:56] local.INFO: TCP Data received {"connection_id":137869,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa7c090012d1b9880071f07a80050000121..."} 
[2026-07-19 19:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa7c090012d1b9880071f07a80050000121..."} 
[2026-07-19 19:24:56] local.INFO: Processing buffer {"connection_id":137869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa7c090012d1b9880071f07a80050000121..."} 
[2026-07-19 19:24:56] local.INFO: Packet analysis {"connection_id":137869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:24:56] local.INFO: Extracted packet for processing {"connection_id":137869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:24:56] local.INFO: GPS Element Parsed {"raw_longitude":756783232,"raw_latitude":119474088,"longitude_deg":75.6783232,"latitude_deg":11.9474088,"altitude":80,"angle":1,"satellites":33,"speed":0,"hex_longitude":"2d1b9880","hex_latitude":"071f07a8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824120576001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7301070741045248,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1988128159835920384,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784469242000,"timestamp_ms":1784469242000,"timestamp_seconds":1784469242,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa7c090"} 
[2026-07-19 19:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19: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-07-19 19: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":18,"data_length":795,"current_offset":136} 
[2026-07-19 19:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:56] local.WARNING: Large IO value detected {"io_id":30,"raw_value":-2242792236469445888,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250357582453202856,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:56] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2804686849,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-19 19:24:56] local.WARNING: Large IO value detected {"io_id":8,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:56] local.WARNING: Large IO value detected {"io_id":25,"raw_value":4024041472,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:56] local.WARNING: Large IO value detected {"io_id":225,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:56] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2335117700039786503,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:56] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:56] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-19 19:24:56] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,101,83,24,241,157,16,240,159,102,45,245,86,31,10,66,98,244,30,51,64,1,79,227,239,122,4,113,205,8,40,154,96,29,52,2,25,7,88,225,167,120,92],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-19 19:24:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6124902223438544896,"timestamp_seconds":6124902223438545.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 19:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824120576001,"66":13450,"101":206,"83":41984,"24":0,"16":7301070741045248,"45":1988128159835920384},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824120576001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:24:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:24:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7301070741045248,"km_value":7301070741045.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1988128159835920384,"description":"Unknown IO ID 45"} 
[2026-07-19 19:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824120576001,"power":13450,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1988128159835920384}} 
[2026-07-19 19:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":137869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:24:56] local.INFO: GPS data processed {"connection_id":137869,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:24:56] local.INFO: Acknowledgment sent {"connection_id":137869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:25:27] local.INFO: TCP Data received {"connection_id":137869,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa81298012d1b9880071f07a80050000122..."} 
[2026-07-19 19:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa81298012d1b9880071f07a80050000122..."} 
[2026-07-19 19:25:27] local.INFO: Processing buffer {"connection_id":137869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa81298012d1b9880071f07a80050000122..."} 
[2026-07-19 19:25:27] local.INFO: Packet analysis {"connection_id":137869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa8"} 
[2026-07-19 19:25:27] local.INFO: Extracted packet for processing {"connection_id":137869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa8"} 
[2026-07-19 19:25:27] local.INFO: GPS Element Parsed {"raw_longitude":756783232,"raw_latitude":119474088,"longitude_deg":75.6783232,"latitude_deg":11.9474088,"altitude":80,"angle":1,"satellites":34,"speed":0,"hex_longitude":"2d1b9880","hex_latitude":"071f07a8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824125952001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7301070741045248,"note":"Value kept but may cause issues"} 
[2026-07-19 19:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1988480003557795840,"note":"Value kept but may cause issues"} 
[2026-07-19 19:25: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-07-19 19:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784469263000,"timestamp_ms":1784469263000,"timestamp_seconds":1784469263,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa81298"} 
[2026-07-19 19:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:25: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-07-19 19: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-19 19:25:27] 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-07-19 19: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-07-19 19:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824125952001,"66":13493,"101":206,"83":41984,"24":0,"16":7301070741045248,"45":1988480003557795840},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824125952001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:25:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:25:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7301070741045248,"km_value":7301070741045.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1988480003557795840,"description":"Unknown IO ID 45"} 
[2026-07-19 19:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824125952001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1988480003557795840}} 
[2026-07-19 19:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":137869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:25:27] local.INFO: GPS data processed {"connection_id":137869,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:25:27] local.INFO: Acknowledgment sent {"connection_id":137869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:25:30] local.INFO: TCP Data received {"connection_id":136903,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:25:30] local.INFO: Processing buffer {"connection_id":136903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:25:30] local.INFO: IMEI packet received {"connection_id":136903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":136903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:25:35] local.INFO: TCP Data received {"connection_id":136903,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:25:35] local.INFO: Processing buffer {"connection_id":136903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:25:35] local.INFO: IMEI packet received {"connection_id":136903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":136903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:25:37] local.INFO: TCP Data received {"connection_id":136903,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:25:37] local.INFO: Processing buffer {"connection_id":136903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:25:37] local.INFO: Packet analysis {"connection_id":136903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:25:37] local.INFO: Extracted packet for processing {"connection_id":136903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824047616001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:25: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-07-19 19:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784469237000,"timestamp_ms":1784469237000,"timestamp_seconds":1784469237,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa7ad08"} 
[2026-07-19 19:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":31,"data_length":795,"current_offset":136} 
[2026-07-19 19:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824047616001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824047616001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:25:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824047616001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":136903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:25:37] local.INFO: GPS data processed {"connection_id":136903,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:25:37] local.INFO: Acknowledgment sent {"connection_id":136903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:25:48] local.INFO: TCP Data received {"connection_id":139237,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:25:48] local.INFO: Processing buffer {"connection_id":139237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:25:48] local.INFO: IMEI packet received {"connection_id":139237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":139237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:25:52] local.INFO: TCP Data received {"connection_id":139237,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:25:52] local.INFO: Processing buffer {"connection_id":139237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:25:52] local.INFO: IMEI packet received {"connection_id":139237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":139237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:25:55] local.INFO: TCP Data received {"connection_id":139237,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:25:55] local.INFO: Processing buffer {"connection_id":139237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:25:55] local.INFO: IMEI packet received {"connection_id":139237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":139237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:25:56] local.INFO: TCP Data received {"connection_id":139237,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa864a0012d1b9880071f07a80050000121..."} 
[2026-07-19 19:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa864a0012d1b9880071f07a80050000121..."} 
[2026-07-19 19:25:56] local.INFO: Processing buffer {"connection_id":139237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa864a0012d1b9880071f07a80050000121..."} 
[2026-07-19 19:25:56] local.INFO: Packet analysis {"connection_id":139237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa8"} 
[2026-07-19 19:25:56] local.INFO: Extracted packet for processing {"connection_id":139237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa8"} 
[2026-07-19 19:25:56] local.INFO: GPS Element Parsed {"raw_longitude":756783232,"raw_latitude":119474088,"longitude_deg":75.6783232,"latitude_deg":11.9474088,"altitude":80,"angle":1,"satellites":33,"speed":0,"hex_longitude":"2d1b9880","hex_latitude":"071f07a8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824131328001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7301070741045248,"note":"Value kept but may cause issues"} 
[2026-07-19 19:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1988480003557795840,"note":"Value kept but may cause issues"} 
[2026-07-19 19:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784469284000,"timestamp_ms":1784469284000,"timestamp_seconds":1784469284,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa864a0"} 
[2026-07-19 19:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19: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-07-19 19: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":181,"data_length":795,"current_offset":136} 
[2026-07-19 19:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824131328001,"66":13580,"101":206,"83":41984,"24":0,"16":7301070741045248,"45":1988480003557795840},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824131328001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:25:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:25:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7301070741045248,"km_value":7301070741045.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1988480003557795840,"description":"Unknown IO ID 45"} 
[2026-07-19 19:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824131328001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1988480003557795840}} 
[2026-07-19 19:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":139237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:25:56] local.INFO: GPS data processed {"connection_id":139237,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:25:56] local.INFO: Acknowledgment sent {"connection_id":139237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:26:00] local.INFO: TCP Data received {"connection_id":139237,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa887c8012d1b9740071f0888004f009324..."} 
[2026-07-19 19:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa887c8012d1b9740071f0888004f009324..."} 
[2026-07-19 19:26:00] local.INFO: Processing buffer {"connection_id":139237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa887c8012d1b9740071f0888004f009324..."} 
[2026-07-19 19:26:00] local.INFO: Packet analysis {"connection_id":139237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa8"} 
[2026-07-19 19:26:00] local.INFO: Extracted packet for processing {"connection_id":139237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa8"} 
[2026-07-19 19:26:00] local.INFO: GPS Element Parsed {"raw_longitude":756782912,"raw_latitude":119474312,"longitude_deg":75.6782912,"latitude_deg":11.9474312,"altitude":79,"angle":147,"satellites":36,"speed":3,"hex_longitude":"2d1b9740","hex_latitude":"071f0888","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824136704001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7301092215881728,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1988480003557795840,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784469293000,"timestamp_ms":1784469293000,"timestamp_seconds":1784469293,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa887c8"} 
[2026-07-19 19:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:26: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-07-19 19: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-19 19:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751520239,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:00] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2808526849,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:00] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633762871801957,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-19 19:26:00] local.WARNING: Large IO value detected {"io_id":98,"raw_value":3489738011,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:00] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:00] local.WARNING: Large IO value detected {"io_id":25,"raw_value":4027645952,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:00] local.WARNING: Large IO value detected {"io_id":27,"raw_value":-7313837965606649768,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:00] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504629075239816787,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:00] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:00] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,101,83,24,241,157,16,240,159,18,45,128,7,80,34,10,66,192,33,110,64,1,227,122,30,4,113,205,11,98,151,168,239,51,2,25,88,9,27,52,164],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-19 19:26:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764608764279783424,"timestamp_seconds":5764608764279783.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 19:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":139237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":139237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":139237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824136704001,"66":13559,"101":206,"83":41984,"24":3,"16":7301092215881728,"45":1988480003557795840},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824136704001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:26:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:26:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7301092215881728,"km_value":7301092215881.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1988480003557795840,"description":"Unknown IO ID 45"} 
[2026-07-19 19:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824136704001,"power":13559,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1988480003557795840}} 
[2026-07-19 19:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":139237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:26:00] local.INFO: GPS data processed {"connection_id":139237,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:26:00] local.INFO: Acknowledgment sent {"connection_id":139237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:26:08] local.INFO: TCP Data received {"connection_id":136903,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:26:08] local.INFO: Processing buffer {"connection_id":136903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:26:08] local.INFO: Packet analysis {"connection_id":136903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:26:08] local.INFO: Extracted packet for processing {"connection_id":136903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824047616001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784469237000,"timestamp_ms":1784469237000,"timestamp_seconds":1784469237,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa7ad08"} 
[2026-07-19 19:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":31,"data_length":795,"current_offset":136} 
[2026-07-19 19:26: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-07-19 19: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-07-19 19:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:26: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-07-19 19:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824047616001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824047616001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:26:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824047616001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":136903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:26:08] local.INFO: GPS data processed {"connection_id":136903,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:26:08] local.INFO: Acknowledgment sent {"connection_id":136903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:26:31] local.INFO: TCP Data received {"connection_id":139238,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:26:31] local.INFO: Processing buffer {"connection_id":139238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:26:31] local.INFO: IMEI packet received {"connection_id":139238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":139238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:26:31] local.INFO: TCP Data received {"connection_id":139237,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa89768012d1b97c0071f0818004f007a24..."} 
[2026-07-19 19:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa89768012d1b97c0071f0818004f007a24..."} 
[2026-07-19 19:26:31] local.INFO: Processing buffer {"connection_id":139237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa89768012d1b97c0071f0818004f007a24..."} 
[2026-07-19 19:26:31] local.INFO: Packet analysis {"connection_id":139237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa8"} 
[2026-07-19 19:26:31] local.INFO: Extracted packet for processing {"connection_id":139237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa8"} 
[2026-07-19 19:26:31] local.INFO: GPS Element Parsed {"raw_longitude":756783040,"raw_latitude":119474200,"longitude_deg":75.678304,"latitude_deg":11.94742,"altitude":79,"angle":122,"satellites":36,"speed":0,"hex_longitude":"2d1b97c0","hex_latitude":"071f0818","is_valid_coordinates":true} 
[2026-07-19 19:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824139008001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7301105100783616,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1988128159836964864,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784469297000,"timestamp_ms":1784469297000,"timestamp_seconds":1784469297,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa89768"} 
[2026-07-19 19:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:26: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-07-19 19:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-19 19:26: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-07-19 19:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":139237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":139237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":139237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824139008001,"66":13580,"101":206,"83":41984,"24":0,"16":7301105100783616,"45":1988128159836964864},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824139008001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:26:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:26:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7301105100783616,"km_value":7301105100783.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1988128159836964864,"description":"Unknown IO ID 45"} 
[2026-07-19 19:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824139008001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1988128159836964864}} 
[2026-07-19 19:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":139237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:26:31] local.INFO: GPS data processed {"connection_id":139237,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:26:31] local.INFO: Acknowledgment sent {"connection_id":139237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:26:35] local.INFO: TCP Data received {"connection_id":139238,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:26:35] local.INFO: Processing buffer {"connection_id":139238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:26:35] local.INFO: IMEI packet received {"connection_id":139238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":139238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:26:37] local.INFO: TCP Data received {"connection_id":139238,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:26:37] local.INFO: Processing buffer {"connection_id":139238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:26:37] local.INFO: Packet analysis {"connection_id":139238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:26:37] local.INFO: Extracted packet for processing {"connection_id":139238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824047616001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26: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-07-19 19:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784469237000,"timestamp_ms":1784469237000,"timestamp_seconds":1784469237,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa7ad08"} 
[2026-07-19 19:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 19:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824047616001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824047616001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:26:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824047616001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":139238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:26:37] local.INFO: GPS data processed {"connection_id":139238,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:26:37] local.INFO: Acknowledgment sent {"connection_id":139238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:26:46] local.INFO: TCP Data received {"connection_id":137870,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:26:46] local.INFO: Processing buffer {"connection_id":137870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:26:46] local.INFO: IMEI packet received {"connection_id":137870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 19:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":137870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:26:50] local.INFO: TCP Data received {"connection_id":136789,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:26:50] local.INFO: Processing buffer {"connection_id":136789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:26:50] local.INFO: IMEI packet received {"connection_id":136789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":136789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:26:51] local.INFO: TCP Data received {"connection_id":136789,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:26:51] local.INFO: Processing buffer {"connection_id":136789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:26:51] local.INFO: IMEI packet received {"connection_id":136789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":136789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:26:55] local.INFO: TCP Data received {"connection_id":136789,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:26:55] local.INFO: Processing buffer {"connection_id":136789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:26:55] local.INFO: IMEI packet received {"connection_id":136789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":136789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:26:56] local.INFO: TCP Data received {"connection_id":136789,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa89f38012d1b9840071f0808004f006e23..."} 
[2026-07-19 19:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa89f38012d1b9840071f0808004f006e23..."} 
[2026-07-19 19:26:56] local.INFO: Processing buffer {"connection_id":136789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa89f38012d1b9840071f0808004f006e23..."} 
[2026-07-19 19:26:56] local.INFO: Packet analysis {"connection_id":136789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa8"} 
[2026-07-19 19:26:56] local.INFO: Extracted packet for processing {"connection_id":136789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa8"} 
[2026-07-19 19:26:56] local.INFO: GPS Element Parsed {"raw_longitude":756783168,"raw_latitude":119474184,"longitude_deg":75.6783168,"latitude_deg":11.9474184,"altitude":79,"angle":110,"satellites":35,"speed":0,"hex_longitude":"2d1b9840","hex_latitude":"071f0808","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824140032001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7301105100783616,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1988268897325291520,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784469299000,"timestamp_ms":1784469299000,"timestamp_seconds":1784469299,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa89f38"} 
[2026-07-19 19:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:26: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-07-19 19: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":12,"data_length":795,"current_offset":136} 
[2026-07-19 19:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751520240,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5917167011951017994,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:56] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2814414849,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:56] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633900310755429,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-19 19:26:56] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2281778459,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:56] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:56] local.WARNING: Large IO value detected {"io_id":25,"raw_value":4028432384,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:56] local.WARNING: Large IO value detected {"io_id":27,"raw_value":-7566039544447369130,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:56] local.WARNING: Large IO value detected {"io_id":51,"raw_value":7998618855184322131,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:56] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755450980794609,"note":"Value kept but may cause issues"} 
[2026-07-19 19:26:56] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,101,83,24,241,157,16,240,159,135,45,64,8,79,36,10,66,100,128,7,80,33,18,1,181,227,122,31,4,113,205,110,151,152,239,52,2,25,86,11,27,51,164],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-19 19:26:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692684224033718272,"timestamp_seconds":5692684224033718.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 19:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824140032001,"66":13559,"101":206,"83":41984,"24":0,"16":7301105100783616,"45":1988268897325291520},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824140032001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:26:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:26:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7301105100783616,"km_value":7301105100783.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1988268897325291520,"description":"Unknown IO ID 45"} 
[2026-07-19 19:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824140032001,"power":13559,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1988268897325291520}} 
[2026-07-19 19:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":136789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:26:56] local.INFO: GPS data processed {"connection_id":136789,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:26:56] local.INFO: Acknowledgment sent {"connection_id":136789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:27:09] local.INFO: TCP Data received {"connection_id":139238,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:27:09] local.INFO: Processing buffer {"connection_id":139238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:27:09] local.INFO: Packet analysis {"connection_id":139238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:27:09] local.INFO: Extracted packet for processing {"connection_id":139238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824047616001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:27: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-07-19 19:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784469237000,"timestamp_ms":1784469237000,"timestamp_seconds":1784469237,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa7ad08"} 
[2026-07-19 19:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 19:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824047616001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824047616001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:27:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:27:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824047616001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":139238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:27:09] local.INFO: GPS data processed {"connection_id":139238,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:27:09] local.INFO: Acknowledgment sent {"connection_id":139238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:27:26] local.INFO: TCP Data received {"connection_id":137871,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:27:26] local.INFO: Processing buffer {"connection_id":137871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:27:26] local.INFO: IMEI packet received {"connection_id":137871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 19:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":137871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:27:30] local.INFO: TCP Data received {"connection_id":137872,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:27:30] local.INFO: Processing buffer {"connection_id":137872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:27:30] local.INFO: IMEI packet received {"connection_id":137872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":137872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:27:36] local.INFO: TCP Data received {"connection_id":137872,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:27:36] local.INFO: Processing buffer {"connection_id":137872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:27:36] local.INFO: IMEI packet received {"connection_id":137872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":137872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:27:37] local.INFO: TCP Data received {"connection_id":137872,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:27:37] local.INFO: Processing buffer {"connection_id":137872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:27:37] local.INFO: Packet analysis {"connection_id":137872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:27:37] local.INFO: Extracted packet for processing {"connection_id":137872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824047616001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:27: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-07-19 19:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784469237000,"timestamp_ms":1784469237000,"timestamp_seconds":1784469237,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa7ad08"} 
[2026-07-19 19:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 19:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824047616001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824047616001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:27:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824047616001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":137872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:27:37] local.INFO: GPS data processed {"connection_id":137872,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:27:37] local.INFO: Acknowledgment sent {"connection_id":137872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:27:52] local.INFO: TCP Data received {"connection_id":136789,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aaa0e68012d1b6d80071ece48005c00bd20..."} 
[2026-07-19 19:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aaa0e68012d1b6d80071ece48005c00bd20..."} 
[2026-07-19 19:27:52] local.INFO: Processing buffer {"connection_id":136789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aaa0e68012d1b6d80071ece48005c00bd20..."} 
[2026-07-19 19:27:52] local.INFO: Packet analysis {"connection_id":136789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aaa"} 
[2026-07-19 19:27:52] local.INFO: Extracted packet for processing {"connection_id":136789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aaa"} 
[2026-07-19 19:27:52] local.INFO: GPS Element Parsed {"raw_longitude":756772224,"raw_latitude":119459400,"longitude_deg":75.6772224,"latitude_deg":11.94594,"altitude":92,"angle":189,"satellites":32,"speed":8,"hex_longitude":"2d1b6d80","hex_latitude":"071ece48","is_valid_coordinates":true} 
[2026-07-19 19:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824164352001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7302174547640320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976446948299726848,"note":"Value kept but may cause issues"} 
[2026-07-19 19:27:52] 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-07-19 19:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784469393000,"timestamp_ms":1784469393000,"timestamp_seconds":1784469393,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aaa0e68"} 
[2026-07-19 19:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:27: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-07-19 19:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-19 19:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751520240,"note":"Value kept but may cause issues"} 
[2026-07-19 19:27:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 19:27:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 19:27:52] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-19 19:27:52] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13465701,"corrected_to":0} 
[2026-07-19 19:27:52] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2840014849,"note":"Value kept but may cause issues"} 
[2026-07-19 19:27:52] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3803709528,"note":"Value kept but may cause issues"} 
[2026-07-19 19:27:52] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633389209647205,"note":"Value kept but may cause issues"} 
[2026-07-19 19:27:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-19 19:27:52] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2415996187,"note":"Value kept but may cause issues"} 
[2026-07-19 19:27:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":5701857,"corrected_to":0} 
[2026-07-19 19:27:52] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802168,"note":"Value kept but may cause issues"} 
[2026-07-19 19:27:52] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-19 19:27:52] local.WARNING: Large IO value detected {"io_id":25,"raw_value":4038852608,"note":"Value kept but may cause issues"} 
[2026-07-19 19:27:52] local.WARNING: Large IO value detected {"io_id":27,"raw_value":-7331852364068945833,"note":"Value kept but may cause issues"} 
[2026-07-19 19:27:52] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2089896144074231379,"note":"Value kept but may cause issues"} 
[2026-07-19 19:27:52] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-07-19 19:27:52] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,101,83,24,241,157,16,159,6,45,128,208,93,35,10,66,188,64,213,94,34,141,192,1,240,203,227,122,30,4,113,205,55,153,200,31,239,50,2,25,7,87,8,27,52,164],"length":577,"final_offset":707,"validated_count":46,"validation_warnings":[{"io_id":203,"original":13465701,"validated":0},{"io_id":205,"original":2019885262,"validated":0},{"io_id":200,"original":5701857,"validated":0}]} 
[2026-07-19 19:27:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6701591691340087296,"timestamp_seconds":6701591691340087.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 19:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":136789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":136789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":136789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824164352001,"66":13624,"101":206,"83":41984,"24":8,"16":7302174547640320,"45":1976446948299726848},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824164352001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:27:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:27:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7302174547640320,"km_value":7302174547640.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976446948299726848,"description":"Unknown IO ID 45"} 
[2026-07-19 19:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824164352001,"power":13624,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1976446948299726848}} 
[2026-07-19 19:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":136789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:27:52] local.INFO: GPS data processed {"connection_id":136789,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:27:52] local.INFO: Acknowledgment sent {"connection_id":136789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:27:58] local.INFO: TCP Data received {"connection_id":139239,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:27:58] local.INFO: Processing buffer {"connection_id":139239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:27:58] local.INFO: IMEI packet received {"connection_id":139239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":139239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:28:00] local.INFO: TCP Data received {"connection_id":139239,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:28:00] local.INFO: Processing buffer {"connection_id":139239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:28:00] local.INFO: IMEI packet received {"connection_id":139239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":139239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:28:02] local.INFO: TCP Data received {"connection_id":139239,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:28:02] local.INFO: Processing buffer {"connection_id":139239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:28:02] local.INFO: IMEI packet received {"connection_id":139239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":139239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:28:03] local.INFO: TCP Data received {"connection_id":139239,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aaab660012d1b4f80071ec9380051014621..."} 
[2026-07-19 19:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aaab660012d1b4f80071ec9380051014621..."} 
[2026-07-19 19:28:03] local.INFO: Processing buffer {"connection_id":139239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aaab660012d1b4f80071ec9380051014621..."} 
[2026-07-19 19:28:03] local.INFO: Packet analysis {"connection_id":139239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aaa"} 
[2026-07-19 19:28:03] local.INFO: Extracted packet for processing {"connection_id":139239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aaa"} 
[2026-07-19 19:28:03] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119458104,"longitude_deg":75.6764544,"latitude_deg":11.9458104,"altitude":81,"angle":326,"satellites":33,"speed":20,"hex_longitude":"2d1b4f80","hex_latitude":"071ec938","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824173824001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7302934756851712,"note":"Value kept but may cause issues"} 
[2026-07-19 19:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969621180113332224,"note":"Value kept but may cause issues"} 
[2026-07-19 19:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784469436000,"timestamp_ms":1784469436000,"timestamp_seconds":1784469436,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aaab660"} 
[2026-07-19 19:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:28: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-07-19 19: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-19 19:28: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-07-19 19: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-07-19 19:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":139239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":139239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":139239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824173824001,"66":13537,"106":206,"83":41984,"24":20,"16":7302934756851712,"45":1969621180113332224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 19:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824173824001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:28:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 19:28:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7302934756851712,"km_value":7302934756851.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969621180113332224,"description":"Unknown IO ID 45"} 
[2026-07-19 19:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824173824001,"power":13537,"unknown_106":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1969621180113332224}} 
[2026-07-19 19:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":139239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:28:03] local.INFO: GPS data processed {"connection_id":139239,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:28:03] local.INFO: Acknowledgment sent {"connection_id":139239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:28:06] local.INFO: TCP Data received {"connection_id":139239,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aaac218012d1b4b40071ecda0004f013a20..."} 
[2026-07-19 19:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aaac218012d1b4b40071ecda0004f013a20..."} 
[2026-07-19 19:28:06] local.INFO: Processing buffer {"connection_id":139239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aaac218012d1b4b40071ecda0004f013a20..."} 
[2026-07-19 19:28:06] local.INFO: Packet analysis {"connection_id":139239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aaa"} 
[2026-07-19 19:28:06] local.INFO: Extracted packet for processing {"connection_id":139239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aaa"} 
[2026-07-19 19:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756763456,"raw_latitude":119459232,"longitude_deg":75.6763456,"latitude_deg":11.9459232,"altitude":79,"angle":314,"satellites":32,"speed":19,"hex_longitude":"2d1b4b40","hex_latitude":"071ecda0","is_valid_coordinates":true} 
[2026-07-19 19:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824175616001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7303007771295744,"note":"Value kept but may cause issues"} 
[2026-07-19 19:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330253826048,"note":"Value kept but may cause issues"} 
[2026-07-19 19:28: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-07-19 19:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784469439000,"timestamp_ms":1784469439000,"timestamp_seconds":1784469439,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aaac218"} 
[2026-07-19 19:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 19:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-07-19 19:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":139239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":139239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":139239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824175616001,"66":12863,"106":206,"83":41984,"24":19,"16":7303007771295744,"45":1967932330253826048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-19 19:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824175616001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:28:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-19 19:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7303007771295744,"km_value":7303007771295.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330253826048,"description":"Unknown IO ID 45"} 
[2026-07-19 19:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824175616001,"power":12863,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1967932330253826048}} 
[2026-07-19 19:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":139239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:28:06] local.INFO: GPS data processed {"connection_id":139239,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:28:06] local.INFO: Acknowledgment sent {"connection_id":139239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:28:08] local.INFO: TCP Data received {"connection_id":137872,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:28:08] local.INFO: Processing buffer {"connection_id":137872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:28:08] local.INFO: Packet analysis {"connection_id":137872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:28:08] local.INFO: Extracted packet for processing {"connection_id":137872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824047616001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784469237000,"timestamp_ms":1784469237000,"timestamp_seconds":1784469237,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa7ad08"} 
[2026-07-19 19:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 19:28: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-07-19 19:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824047616001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824047616001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:28:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824047616001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":137872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:28:08] local.INFO: GPS data processed {"connection_id":137872,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:28:08] local.INFO: Acknowledgment sent {"connection_id":137872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:28:30] local.INFO: TCP Data received {"connection_id":139241,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:28:30] local.INFO: Processing buffer {"connection_id":139241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:28:30] local.INFO: IMEI packet received {"connection_id":139241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":139241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:28:35] local.INFO: TCP Data received {"connection_id":139241,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:28:35] local.INFO: Processing buffer {"connection_id":139241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:28:35] local.INFO: IMEI packet received {"connection_id":139241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":139241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:28:36] local.INFO: TCP Data received {"connection_id":139241,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:28:36] local.INFO: Processing buffer {"connection_id":139241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:28:36] local.INFO: Packet analysis {"connection_id":139241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:28:36] local.INFO: Extracted packet for processing {"connection_id":139241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:28:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824047616001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:28: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-07-19 19:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784469237000,"timestamp_ms":1784469237000,"timestamp_seconds":1784469237,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa7ad08"} 
[2026-07-19 19:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 19:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:28: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-07-19 19:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824047616001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824047616001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:28:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:28:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824047616001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":139241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:28:36] local.INFO: GPS data processed {"connection_id":139241,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:28:36] local.INFO: Acknowledgment sent {"connection_id":139241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:28:51] local.INFO: TCP Data received {"connection_id":136790,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:28:51] local.INFO: Processing buffer {"connection_id":136790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:28:51] local.INFO: IMEI packet received {"connection_id":136790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":136790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:28:52] local.INFO: TCP Data received {"connection_id":136790,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:28:52] local.INFO: Processing buffer {"connection_id":136790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:28:52] local.INFO: IMEI packet received {"connection_id":136790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":136790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:28:54] local.INFO: TCP Data received {"connection_id":136790,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aab4eb8012d1b0680071ee910004d012122..."} 
[2026-07-19 19:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aab4eb8012d1b0680071ee910004d012122..."} 
[2026-07-19 19:28:54] local.INFO: Processing buffer {"connection_id":136790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aab4eb8012d1b0680071ee910004d012122..."} 
[2026-07-19 19:28:54] local.INFO: Packet analysis {"connection_id":136790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aab"} 
[2026-07-19 19:28:54] local.INFO: Extracted packet for processing {"connection_id":136790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aab"} 
[2026-07-19 19:28:54] local.INFO: GPS Element Parsed {"raw_longitude":756745856,"raw_latitude":119466256,"longitude_deg":75.6745856,"latitude_deg":11.9466256,"altitude":77,"angle":289,"satellites":34,"speed":16,"hex_longitude":"2d1b0680","hex_latitude":"071ee910","is_valid_coordinates":true} 
[2026-07-19 19:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824185344001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7303999908741120,"note":"Value kept but may cause issues"} 
[2026-07-19 19:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1947806869421072384,"note":"Value kept but may cause issues"} 
[2026-07-19 19:28: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-07-19 19:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784469475000,"timestamp_ms":1784469475000,"timestamp_seconds":1784469475,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aab4eb8"} 
[2026-07-19 19:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 19:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-19 19:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":136790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":136790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":136790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824185344001,"66":13450,"101":206,"83":41984,"24":16,"16":7303999908741120,"45":1947806869421072384},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824185344001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:28:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:28:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7303999908741120,"km_value":7303999908741.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1947806869421072384,"description":"Unknown IO ID 45"} 
[2026-07-19 19:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824185344001,"power":13450,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1947806869421072384}} 
[2026-07-19 19:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":136790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:28:54] local.INFO: GPS data processed {"connection_id":136790,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:28:54] local.INFO: Acknowledgment sent {"connection_id":136790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:29:08] local.INFO: TCP Data received {"connection_id":139241,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:29:08] local.INFO: Processing buffer {"connection_id":139241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aa7ad08012d34c50006aa4dd80008009528..."} 
[2026-07-19 19:29:08] local.INFO: Packet analysis {"connection_id":139241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:29:08] local.INFO: Extracted packet for processing {"connection_id":139241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aa7"} 
[2026-07-19 19:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824047616001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:29: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-07-19 19:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784469237000,"timestamp_ms":1784469237000,"timestamp_seconds":1784469237,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aa7ad08"} 
[2026-07-19 19:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 19:29: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-07-19 19: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-07-19 19:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824047616001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824047616001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:29:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:29:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824047616001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":139241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:29:08] local.INFO: GPS data processed {"connection_id":139241,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:29:08] local.INFO: Acknowledgment sent {"connection_id":139241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:29:25] local.INFO: TCP Data received {"connection_id":136790,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aab5688012d1b0400071eeab8004f013c21..."} 
[2026-07-19 19:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aab5688012d1b0400071eeab8004f013c21..."} 
[2026-07-19 19:29:25] local.INFO: Processing buffer {"connection_id":136790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aab5688012d1b0400071eeab8004f013c21..."} 
[2026-07-19 19:29:25] local.INFO: Packet analysis {"connection_id":136790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aab"} 
[2026-07-19 19:29:25] local.INFO: Extracted packet for processing {"connection_id":136790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aab"} 
[2026-07-19 19:29:25] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119466680,"longitude_deg":75.6745216,"latitude_deg":11.946668,"altitude":79,"angle":316,"satellites":33,"speed":13,"hex_longitude":"2d1b0400","hex_latitude":"071eeab8","is_valid_coordinates":true} 
[2026-07-19 19:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824185600001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7304034268479488,"note":"Value kept but may cause issues"} 
[2026-07-19 19:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1947384656956035072,"note":"Value kept but may cause issues"} 
[2026-07-19 19:29: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-07-19 19:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784469477000,"timestamp_ms":1784469477000,"timestamp_seconds":1784469477,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aab5688"} 
[2026-07-19 19:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:29: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-07-19 19:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-19 19:29:25] 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-07-19 19:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":136790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":136790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":136790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824185600001,"66":13493,"101":206,"83":41984,"24":13,"16":7304034268479488,"45":1947384656956035072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824185600001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:29:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:29:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7304034268479488,"km_value":7304034268479.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1947384656956035072,"description":"Unknown IO ID 45"} 
[2026-07-19 19:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824185600001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1947384656956035072}} 
[2026-07-19 19:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":136790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:29:25] local.INFO: GPS data processed {"connection_id":136790,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:29:25] local.INFO: Acknowledgment sent {"connection_id":136790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:29:35] local.INFO: TCP Data received {"connection_id":136904,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:29:35] local.INFO: Processing buffer {"connection_id":136904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:29:35] local.INFO: IMEI packet received {"connection_id":136904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":136904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:29:36] local.INFO: TCP Data received {"connection_id":136904,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:29:36] local.INFO: Processing buffer {"connection_id":136904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:29:36] local.INFO: IMEI packet received {"connection_id":136904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":136904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:29:37] local.INFO: TCP Data received {"connection_id":136904,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:29:37] local.INFO: Processing buffer {"connection_id":136904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:29:37] local.INFO: Packet analysis {"connection_id":136904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:29:37] local.INFO: Extracted packet for processing {"connection_id":136904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:29:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824124672001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:29: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-07-19 19:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784469538000,"timestamp_ms":1784469538000,"timestamp_seconds":1784469538,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aac44d0"} 
[2026-07-19 19:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 19:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:29: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-07-19 19:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824124672001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824124672001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:29:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:29:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824124672001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":136904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:29:37] local.INFO: GPS data processed {"connection_id":136904,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:29:37] local.INFO: Acknowledgment sent {"connection_id":136904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:29:41] local.INFO: TCP Data received {"connection_id":136904,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:29:41] local.INFO: Processing buffer {"connection_id":136904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:29:41] local.INFO: Packet analysis {"connection_id":136904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:29:41] local.INFO: Extracted packet for processing {"connection_id":136904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:29:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824124672001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784469538000,"timestamp_ms":1784469538000,"timestamp_seconds":1784469538,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aac44d0"} 
[2026-07-19 19:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 19:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":136904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":136904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":136904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824124672001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824124672001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:29:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:29:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824124672001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":136904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:29:41] local.INFO: GPS data processed {"connection_id":136904,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:29:41] local.INFO: Acknowledgment sent {"connection_id":136904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:29:51] local.INFO: TCP Data received {"connection_id":136791,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:29:51] local.INFO: Processing buffer {"connection_id":136791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:29:51] local.INFO: IMEI packet received {"connection_id":136791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":136791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:29:52] local.INFO: TCP Data received {"connection_id":136791,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:29:52] local.INFO: Processing buffer {"connection_id":136791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:29:52] local.INFO: IMEI packet received {"connection_id":136791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":136791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:29:53] local.INFO: TCP Data received {"connection_id":136791,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aac0e20012d1ae880071f41980044010027..."} 
[2026-07-19 19:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aac0e20012d1ae880071f41980044010027..."} 
[2026-07-19 19:29:53] local.INFO: Processing buffer {"connection_id":136791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aac0e20012d1ae880071f41980044010027..."} 
[2026-07-19 19:29:53] local.INFO: Packet analysis {"connection_id":136791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:29:53] local.INFO: Extracted packet for processing {"connection_id":136791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:29:53] local.INFO: GPS Element Parsed {"raw_longitude":756738176,"raw_latitude":119488920,"longitude_deg":75.6738176,"latitude_deg":11.948892,"altitude":68,"angle":256,"satellites":39,"speed":23,"hex_longitude":"2d1ae880","hex_latitude":"071f4198","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824197376001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7305292693897216,"note":"Value kept but may cause issues"} 
[2026-07-19 19:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1940910732497534976,"note":"Value kept but may cause issues"} 
[2026-07-19 19:29:53] 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-07-19 19:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784469524000,"timestamp_ms":1784469524000,"timestamp_seconds":1784469524,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aac0e20"} 
[2026-07-19 19:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 19: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-19 19:29:53] 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-07-19 19: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-07-19 19:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":136791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":136791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":136791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824197376001,"66":13537,"101":206,"83":41984,"24":23,"16":7305292693897216,"45":1940910732497534976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824197376001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:29:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:29:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7305292693897216,"km_value":7305292693897.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1940910732497534976,"description":"Unknown IO ID 45"} 
[2026-07-19 19:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824197376001,"power":13537,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1940910732497534976}} 
[2026-07-19 19:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":136791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:29:53] local.INFO: GPS data processed {"connection_id":136791,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:29:53] local.INFO: Acknowledgment sent {"connection_id":136791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:30:12] local.INFO: TCP Data received {"connection_id":136904,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:30:12] local.INFO: Processing buffer {"connection_id":136904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:30:12] local.INFO: Packet analysis {"connection_id":136904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:30:12] local.INFO: Extracted packet for processing {"connection_id":136904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:30:12] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824124672001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784469538000,"timestamp_ms":1784469538000,"timestamp_seconds":1784469538,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aac44d0"} 
[2026-07-19 19:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19: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-07-19 19: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-07-19 19:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":136904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":136904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":136904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19: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-07-19 19:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824124672001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824124672001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:30:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:30:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824124672001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":136904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:30:12] local.INFO: GPS data processed {"connection_id":136904,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:30:12] local.INFO: Acknowledgment sent {"connection_id":136904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:30:24] local.INFO: TCP Data received {"connection_id":136791,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aacd558012d1ac140071f9238003b012c27..."} 
[2026-07-19 19:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aacd558012d1ac140071f9238003b012c27..."} 
[2026-07-19 19:30:24] local.INFO: Processing buffer {"connection_id":136791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aacd558012d1ac140071f9238003b012c27..."} 
[2026-07-19 19:30:24] local.INFO: Packet analysis {"connection_id":136791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:30:24] local.INFO: Extracted packet for processing {"connection_id":136791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:30:24] local.INFO: GPS Element Parsed {"raw_longitude":756728128,"raw_latitude":119509560,"longitude_deg":75.6728128,"latitude_deg":11.950956,"altitude":59,"angle":300,"satellites":39,"speed":25,"hex_longitude":"2d1ac140","hex_latitude":"071f9238","is_valid_coordinates":true} 
[2026-07-19 19:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824210944001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7306860356960256,"note":"Value kept but may cause issues"} 
[2026-07-19 19:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928455464783226880,"note":"Value kept but may cause issues"} 
[2026-07-19 19:30:24] 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-07-19 19:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784469575000,"timestamp_ms":1784469575000,"timestamp_seconds":1784469575,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aacd558"} 
[2026-07-19 19:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 19:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-07-19 19:30:24] 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-07-19 19:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":136791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":136791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":136791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824210944001,"66":13493,"101":206,"83":41984,"24":25,"16":7306860356960256,"45":1928455464783226880},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824210944001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:30:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:30:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7306860356960256,"km_value":7306860356960.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928455464783226880,"description":"Unknown IO ID 45"} 
[2026-07-19 19:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824210944001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1928455464783226880}} 
[2026-07-19 19:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":136791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:30:24] local.INFO: GPS data processed {"connection_id":136791,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:30:24] local.INFO: Acknowledgment sent {"connection_id":136791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:30:31] local.INFO: TCP Data received {"connection_id":136793,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:30:31] local.INFO: Processing buffer {"connection_id":136793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:30:31] local.INFO: IMEI packet received {"connection_id":136793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":136793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:30:35] local.INFO: TCP Data received {"connection_id":136793,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:30:35] local.INFO: Processing buffer {"connection_id":136793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:30:35] local.INFO: IMEI packet received {"connection_id":136793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":136793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:30:36] local.INFO: TCP Data received {"connection_id":136793,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:30:36] local.INFO: Processing buffer {"connection_id":136793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:30:36] local.INFO: Packet analysis {"connection_id":136793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:30:36] local.INFO: Extracted packet for processing {"connection_id":136793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824124672001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:30: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-07-19 19:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784469538000,"timestamp_ms":1784469538000,"timestamp_seconds":1784469538,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aac44d0"} 
[2026-07-19 19:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 19:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:30: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-07-19 19:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824124672001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824124672001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:30:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:30:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824124672001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":136793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:30:36] local.INFO: GPS data processed {"connection_id":136793,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:30:36] local.INFO: Acknowledgment sent {"connection_id":136793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:30:49] local.INFO: TCP Data received {"connection_id":139242,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:30:49] local.INFO: Processing buffer {"connection_id":139242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:30:49] local.INFO: IMEI packet received {"connection_id":139242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":139242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:30:50] local.INFO: TCP Data received {"connection_id":139242,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:30:50] local.INFO: Processing buffer {"connection_id":139242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:30:50] local.INFO: IMEI packet received {"connection_id":139242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":139242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:30:53] local.INFO: TCP Data received {"connection_id":139242,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:30:53] local.INFO: Processing buffer {"connection_id":139242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:30:53] local.INFO: IMEI packet received {"connection_id":139242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":139242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:30:54] local.INFO: TCP Data received {"connection_id":139242,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:30:54] local.INFO: Processing buffer {"connection_id":139242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:30:54] local.INFO: IMEI packet received {"connection_id":139242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":139242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:30:55] local.INFO: TCP Data received {"connection_id":139242,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aacdd28012d1abc40071f9478003c012026..."} 
[2026-07-19 19:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aacdd28012d1abc40071f9478003c012026..."} 
[2026-07-19 19:30:55] local.INFO: Processing buffer {"connection_id":139242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aacdd28012d1abc40071f9478003c012026..."} 
[2026-07-19 19:30:55] local.INFO: Packet analysis {"connection_id":139242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:30:55] local.INFO: Extracted packet for processing {"connection_id":139242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:30:55] local.INFO: GPS Element Parsed {"raw_longitude":756726848,"raw_latitude":119510136,"longitude_deg":75.6726848,"latitude_deg":11.9510136,"altitude":60,"angle":288,"satellites":38,"speed":29,"hex_longitude":"2d1abc40","hex_latitude":"071f9478","is_valid_coordinates":true} 
[2026-07-19 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-07-19 19:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824211200001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7306924781469696,"note":"Value kept but may cause issues"} 
[2026-07-19 19:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927892514829907968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:30: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-07-19 19:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784469577000,"timestamp_ms":1784469577000,"timestamp_seconds":1784469577,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aacdd28"} 
[2026-07-19 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-07-19 19:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-19 19:30: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-07-19 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-07-19 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-07-19 19:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":139242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":139242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":139242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824211200001,"66":13515,"101":206,"83":41984,"24":29,"16":7306924781469696,"45":1927892514829907968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824211200001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:30:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:30:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7306924781469696,"km_value":7306924781469.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927892514829907968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824211200001,"power":13515,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1927892514829907968}} 
[2026-07-19 19:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":139242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:30:55] local.INFO: GPS data processed {"connection_id":139242,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:30:55] local.INFO: Acknowledgment sent {"connection_id":139242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:30:56] local.INFO: TCP Data received {"connection_id":139242,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aace8e0012d1ab380071f96a8003c011526..."} 
[2026-07-19 19:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aace8e0012d1ab380071f96a8003c011526..."} 
[2026-07-19 19:30:56] local.INFO: Processing buffer {"connection_id":139242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aace8e0012d1ab380071f96a8003c011526..."} 
[2026-07-19 19:30:56] local.INFO: Packet analysis {"connection_id":139242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:30:56] local.INFO: Extracted packet for processing {"connection_id":139242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:30:56] local.INFO: GPS Element Parsed {"raw_longitude":756724608,"raw_latitude":119510696,"longitude_deg":75.6724608,"latitude_deg":11.9510696,"altitude":60,"angle":277,"satellites":38,"speed":29,"hex_longitude":"2d1ab380","hex_latitude":"071f96a8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824211712001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7307036450619392,"note":"Value kept but may cause issues"} 
[2026-07-19 19:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926485139946502144,"note":"Value kept but may cause issues"} 
[2026-07-19 19:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784469580000,"timestamp_ms":1784469580000,"timestamp_seconds":1784469580,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aace8e0"} 
[2026-07-19 19:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 19: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-19 19:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824211712001,"66":13504,"101":206,"83":41984,"24":29,"16":7307036450619392,"45":1926485139946502144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824211712001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:30:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:30:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7307036450619392,"km_value":7307036450619.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926485139946502144,"description":"Unknown IO ID 45"} 
[2026-07-19 19:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824211712001,"power":13504,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1926485139946502144}} 
[2026-07-19 19:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":139242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:30:56] local.INFO: GPS data processed {"connection_id":139242,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:30:56] local.INFO: Acknowledgment sent {"connection_id":139242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:31:16] local.INFO: TCP Data received {"connection_id":136793,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:31:16] local.INFO: Processing buffer {"connection_id":136793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:31:16] local.INFO: Packet analysis {"connection_id":136793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:31:16] local.INFO: Extracted packet for processing {"connection_id":136793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824124672001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784469538000,"timestamp_ms":1784469538000,"timestamp_seconds":1784469538,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aac44d0"} 
[2026-07-19 19:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 19:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":136793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":136793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":136793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824124672001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824124672001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:31:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824124672001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":136793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:31:16] local.INFO: GPS data processed {"connection_id":136793,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:31:16] local.INFO: Acknowledgment sent {"connection_id":136793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:31:26] local.INFO: TCP Data received {"connection_id":139242,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aaddb10012d1a02c0071ff9b80031012124..."} 
[2026-07-19 19:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aaddb10012d1a02c0071ff9b80031012124..."} 
[2026-07-19 19:31:26] local.INFO: Processing buffer {"connection_id":139242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aaddb10012d1a02c0071ff9b80031012124..."} 
[2026-07-19 19:31:26] local.INFO: Packet analysis {"connection_id":139242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aad"} 
[2026-07-19 19:31:26] local.INFO: Extracted packet for processing {"connection_id":139242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aad"} 
[2026-07-19 19:31:26] local.INFO: GPS Element Parsed {"raw_longitude":756679360,"raw_latitude":119536056,"longitude_deg":75.667936,"latitude_deg":11.9536056,"altitude":49,"angle":289,"satellites":36,"speed":36,"hex_longitude":"2d1a02c0","hex_latitude":"071ff9b8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824226048001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7309634905833472,"note":"Value kept but may cause issues"} 
[2026-07-19 19:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884052787213328384,"note":"Value kept but may cause issues"} 
[2026-07-19 19:31: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-07-19 19:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784469642000,"timestamp_ms":1784469642000,"timestamp_seconds":1784469642,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aaddb10"} 
[2026-07-19 19:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:31: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-07-19 19: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-19 19:31: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-07-19 19: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-07-19 19:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":139242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":139242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":139242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824226048001,"66":12406,"101":206,"83":41984,"24":36,"16":7309634905833472,"45":1884052787213328384},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-19 19:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824226048001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:31:26] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-19 19:31:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7309634905833472,"km_value":7309634905833.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884052787213328384,"description":"Unknown IO ID 45"} 
[2026-07-19 19:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824226048001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1884052787213328384}} 
[2026-07-19 19:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":139242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:31:27] local.INFO: GPS data processed {"connection_id":139242,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:31:27] local.INFO: Acknowledgment sent {"connection_id":139242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:31:30] local.INFO: TCP Data received {"connection_id":139243,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:31:30] local.INFO: Processing buffer {"connection_id":139243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:31:30] local.INFO: IMEI packet received {"connection_id":139243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":139243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:31:35] local.INFO: TCP Data received {"connection_id":139243,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:31:35] local.INFO: Processing buffer {"connection_id":139243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:31:35] local.INFO: IMEI packet received {"connection_id":139243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":139243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:31:36] local.INFO: TCP Data received {"connection_id":139243,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:31:36] local.INFO: Processing buffer {"connection_id":139243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:31:36] local.INFO: Packet analysis {"connection_id":139243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:31:36] local.INFO: Extracted packet for processing {"connection_id":139243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:31:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824124672001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:31: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-07-19 19:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784469538000,"timestamp_ms":1784469538000,"timestamp_seconds":1784469538,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aac44d0"} 
[2026-07-19 19:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 19:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:31: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-07-19 19:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824124672001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824124672001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:31:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:31:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824124672001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":139243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:31:36] local.INFO: GPS data processed {"connection_id":139243,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:31:36] local.INFO: Acknowledgment sent {"connection_id":139243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:31:48] local.INFO: TCP Data received {"connection_id":136906,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:31:48] local.INFO: Processing buffer {"connection_id":136906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:31:48] local.INFO: IMEI packet received {"connection_id":136906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":136906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:31:51] local.INFO: TCP Data received {"connection_id":136906,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:31:51] local.INFO: Processing buffer {"connection_id":136906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:31:51] local.INFO: IMEI packet received {"connection_id":136906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":136906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:31:51] local.INFO: TCP Data received {"connection_id":136906,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:31:51] local.INFO: Processing buffer {"connection_id":136906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:31:51] local.INFO: IMEI packet received {"connection_id":136906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":136906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:31:52] local.INFO: TCP Data received {"connection_id":136906,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:31:52] local.INFO: Processing buffer {"connection_id":136906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:31:52] local.INFO: IMEI packet received {"connection_id":136906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":136906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:32:07] local.INFO: TCP Data received {"connection_id":139243,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:32:07] local.INFO: Processing buffer {"connection_id":139243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:32:07] local.INFO: Packet analysis {"connection_id":139243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:32:07] local.INFO: Extracted packet for processing {"connection_id":139243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:32:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824124672001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784469538000,"timestamp_ms":1784469538000,"timestamp_seconds":1784469538,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aac44d0"} 
[2026-07-19 19:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 19:32: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-07-19 19: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-07-19 19:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":139243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":139243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":139243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:32: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-07-19 19:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824124672001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824124672001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:32:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:32:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824124672001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":139243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:32:07] local.INFO: GPS data processed {"connection_id":139243,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:32:07] local.INFO: Acknowledgment sent {"connection_id":139243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:32:30] local.INFO: TCP Data received {"connection_id":136794,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:32:30] local.INFO: Processing buffer {"connection_id":136794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:32:30] local.INFO: IMEI packet received {"connection_id":136794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":136794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:32:35] local.INFO: TCP Data received {"connection_id":136794,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:32:35] local.INFO: Processing buffer {"connection_id":136794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:32:35] local.INFO: IMEI packet received {"connection_id":136794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":136794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:32:36] local.INFO: TCP Data received {"connection_id":136794,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:32:36] local.INFO: Processing buffer {"connection_id":136794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:32:36] local.INFO: Packet analysis {"connection_id":136794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:32:36] local.INFO: Extracted packet for processing {"connection_id":136794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824124672001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:32: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-07-19 19:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784469538000,"timestamp_ms":1784469538000,"timestamp_seconds":1784469538,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aac44d0"} 
[2026-07-19 19:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 19:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:32: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-07-19 19:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824124672001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824124672001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:32:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:32:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824124672001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":136794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:32:36] local.INFO: GPS data processed {"connection_id":136794,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:32:36] local.INFO: Acknowledgment sent {"connection_id":136794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:32:51] local.INFO: TCP Data received {"connection_id":139244,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:32:51] local.INFO: Processing buffer {"connection_id":139244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:32:51] local.INFO: IMEI packet received {"connection_id":139244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 19:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":139244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:33:07] local.INFO: TCP Data received {"connection_id":136794,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:33:07] local.INFO: Processing buffer {"connection_id":136794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:33:07] local.INFO: Packet analysis {"connection_id":136794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:33:07] local.INFO: Extracted packet for processing {"connection_id":136794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:33:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824124672001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:33: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-07-19 19:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784469538000,"timestamp_ms":1784469538000,"timestamp_seconds":1784469538,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aac44d0"} 
[2026-07-19 19:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 19:33: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-07-19 19: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-07-19 19:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:33: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-07-19 19:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824124672001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824124672001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:33:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:33:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824124672001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":136794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:33:07] local.INFO: GPS data processed {"connection_id":136794,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:33:07] local.INFO: Acknowledgment sent {"connection_id":136794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:33:25] local.INFO: TCP Data received {"connection_id":139245,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:33:25] local.INFO: Processing buffer {"connection_id":139245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:33:25] local.INFO: IMEI packet received {"connection_id":139245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 19:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":139245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:33:30] local.INFO: TCP Data received {"connection_id":137874,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:33:30] local.INFO: Processing buffer {"connection_id":137874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:33:30] local.INFO: IMEI packet received {"connection_id":137874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":137874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:33:35] local.INFO: TCP Data received {"connection_id":137874,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:33:35] local.INFO: Processing buffer {"connection_id":137874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:33:35] local.INFO: IMEI packet received {"connection_id":137874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":137874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:33:36] local.INFO: TCP Data received {"connection_id":137874,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:33:36] local.INFO: Processing buffer {"connection_id":137874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:33:36] local.INFO: Packet analysis {"connection_id":137874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:33:36] local.INFO: Extracted packet for processing {"connection_id":137874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824124672001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:33: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-07-19 19:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784469538000,"timestamp_ms":1784469538000,"timestamp_seconds":1784469538,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aac44d0"} 
[2026-07-19 19:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 19:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:33: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-07-19 19:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824124672001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824124672001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:33:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:33:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824124672001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":137874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:33:36] local.INFO: GPS data processed {"connection_id":137874,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:33:36] local.INFO: Acknowledgment sent {"connection_id":137874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:34:08] local.INFO: TCP Data received {"connection_id":137874,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:34:08] local.INFO: Processing buffer {"connection_id":137874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:34:08] local.INFO: Packet analysis {"connection_id":137874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:34:08] local.INFO: Extracted packet for processing {"connection_id":137874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824124672001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:34: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-07-19 19:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784469538000,"timestamp_ms":1784469538000,"timestamp_seconds":1784469538,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aac44d0"} 
[2026-07-19 19:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 19:34: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-07-19 19: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-07-19 19:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:34: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-07-19 19:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824124672001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824124672001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:34:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:34:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824124672001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":137874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:34:08] local.INFO: GPS data processed {"connection_id":137874,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:34:08] local.INFO: Acknowledgment sent {"connection_id":137874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:34:30] local.INFO: TCP Data received {"connection_id":136907,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:34:30] local.INFO: Processing buffer {"connection_id":136907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:34:30] local.INFO: IMEI packet received {"connection_id":136907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":136907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:34:35] local.INFO: TCP Data received {"connection_id":136907,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:34:35] local.INFO: Processing buffer {"connection_id":136907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:34:35] local.INFO: IMEI packet received {"connection_id":136907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":136907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:34:36] local.INFO: TCP Data received {"connection_id":136907,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:34:36] local.INFO: Processing buffer {"connection_id":136907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aac44d0012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:34:36] local.INFO: Packet analysis {"connection_id":136907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:34:36] local.INFO: Extracted packet for processing {"connection_id":136907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aac"} 
[2026-07-19 19:34:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824124672001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784469538000,"timestamp_ms":1784469538000,"timestamp_seconds":1784469538,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aac44d0"} 
[2026-07-19 19:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 19:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:34: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-07-19 19:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824124672001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824124672001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:34:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:34:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824124672001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":136907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:34:36] local.INFO: GPS data processed {"connection_id":136907,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:34:36] local.INFO: Acknowledgment sent {"connection_id":136907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:35:08] local.INFO: TCP Data received {"connection_id":136907,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:35:08] local.INFO: Processing buffer {"connection_id":136907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:35:08] local.INFO: Packet analysis {"connection_id":136907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab0"} 
[2026-07-19 19:35:08] local.INFO: Extracted packet for processing {"connection_id":136907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab0"} 
[2026-07-19 19:35:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824201728001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:35: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-07-19 19:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784469839000,"timestamp_ms":1784469839000,"timestamp_seconds":1784469839,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab0dc98"} 
[2026-07-19 19:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 19:35: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-07-19 19:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824201728001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824201728001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:35:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:35:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824201728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":136907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:35:08] local.INFO: GPS data processed {"connection_id":136907,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:35:08] local.INFO: Acknowledgment sent {"connection_id":136907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:35:30] local.INFO: TCP Data received {"connection_id":136798,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:35:30] local.INFO: Processing buffer {"connection_id":136798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:35:30] local.INFO: IMEI packet received {"connection_id":136798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":136798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:35:35] local.INFO: TCP Data received {"connection_id":136798,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:35:35] local.INFO: Processing buffer {"connection_id":136798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:35:35] local.INFO: IMEI packet received {"connection_id":136798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":136798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:35:36] local.INFO: TCP Data received {"connection_id":136798,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:35:36] local.INFO: Processing buffer {"connection_id":136798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:35:36] local.INFO: Packet analysis {"connection_id":136798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab0"} 
[2026-07-19 19:35:36] local.INFO: Extracted packet for processing {"connection_id":136798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab0"} 
[2026-07-19 19:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824201728001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:35: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-07-19 19:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784469839000,"timestamp_ms":1784469839000,"timestamp_seconds":1784469839,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab0dc98"} 
[2026-07-19 19:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 19:35: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-07-19 19: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-07-19 19:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:35: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-07-19 19:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824201728001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824201728001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:35:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824201728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":136798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:35:36] local.INFO: GPS data processed {"connection_id":136798,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:35:36] local.INFO: Acknowledgment sent {"connection_id":136798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:36:08] local.INFO: TCP Data received {"connection_id":136798,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:36:08] local.INFO: Processing buffer {"connection_id":136798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:36:08] local.INFO: Packet analysis {"connection_id":136798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab0"} 
[2026-07-19 19:36:08] local.INFO: Extracted packet for processing {"connection_id":136798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab0"} 
[2026-07-19 19:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824201728001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784469839000,"timestamp_ms":1784469839000,"timestamp_seconds":1784469839,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab0dc98"} 
[2026-07-19 19:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19: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-07-19 19: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-07-19 19:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:36: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-07-19 19:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824201728001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824201728001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:36:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824201728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":136798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:36:08] local.INFO: GPS data processed {"connection_id":136798,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:36:08] local.INFO: Acknowledgment sent {"connection_id":136798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:36:30] local.INFO: TCP Data received {"connection_id":139247,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:36:30] local.INFO: Processing buffer {"connection_id":139247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:36:30] local.INFO: IMEI packet received {"connection_id":139247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":139247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:36:35] local.INFO: TCP Data received {"connection_id":139247,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:36:35] local.INFO: Processing buffer {"connection_id":139247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:36:35] local.INFO: IMEI packet received {"connection_id":139247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":139247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:36:36] local.INFO: TCP Data received {"connection_id":139247,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:36:36] local.INFO: Processing buffer {"connection_id":139247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:36:36] local.INFO: Packet analysis {"connection_id":139247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab0"} 
[2026-07-19 19:36:36] local.INFO: Extracted packet for processing {"connection_id":139247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab0"} 
[2026-07-19 19:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824201728001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36: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-07-19 19:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784469839000,"timestamp_ms":1784469839000,"timestamp_seconds":1784469839,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab0dc98"} 
[2026-07-19 19:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 19:36: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-07-19 19:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:36: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-07-19 19:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824201728001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824201728001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:36:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:36:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824201728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":139247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:36:36] local.INFO: GPS data processed {"connection_id":139247,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:36:36] local.INFO: Acknowledgment sent {"connection_id":139247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:36:56] local.INFO: TCP Data received {"connection_id":136799,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:36:56] local.INFO: Processing buffer {"connection_id":136799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:36:56] local.INFO: IMEI packet received {"connection_id":136799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":136799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:36:56] local.INFO: TCP Data received {"connection_id":136799,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab174f0012d193f00071ffaa8004001011f..."} 
[2026-07-19 19:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab174f0012d193f00071ffaa8004001011f..."} 
[2026-07-19 19:36:56] local.INFO: Processing buffer {"connection_id":136799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab174f0012d193f00071ffaa8004001011f..."} 
[2026-07-19 19:36:56] local.INFO: Packet analysis {"connection_id":136799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab1"} 
[2026-07-19 19:36:56] local.INFO: Extracted packet for processing {"connection_id":136799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab1"} 
[2026-07-19 19:36:56] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536296,"longitude_deg":75.6629248,"latitude_deg":11.9536296,"altitude":64,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffaa8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 19:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824283392001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312319260393472,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082261504,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36: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-07-19 19:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784469878000,"timestamp_ms":1784469878000,"timestamp_seconds":1784469878,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab174f0"} 
[2026-07-19 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-07-19 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-07-19 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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-19 19:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:56] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84751803673419768,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:56] local.WARNING: Large IO value detected {"io_id":250,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:56] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503711201099776,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:56] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-5789377315933171584,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:56] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4211605570,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:56] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6557504944541597952,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-07-19 19:36:56] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:56] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182229709619456,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:56] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6845245516612055469,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:56] local.WARNING: Large IO value detected {"io_id":25,"raw_value":4200267776,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:56] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2303943054261831972,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:56] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:56] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195053312,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:56] local.WARNING: Large IO value detected {"io_id":136,"raw_value":19141772210866688,"note":"Value kept but may cause issues"} 
[2026-07-19 19:36:56] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,83,24,241,157,16,250,159,208,45,64,33,10,66,126,30,40,1,240,227,122,31,4,113,205,12,187,77,160,35,239,50,2,25,7,68,5,164,86,69,136],"length":625,"final_offset":755,"validated_count":42,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-07-19 19:36:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611968717469777920,"timestamp_seconds":4611968717469778.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 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-07-19 19:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824283392001,"66":12765,"102":206,"83":41984,"24":0,"16":7312319260393472,"45":1819172805082261504},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824283392001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:36:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:36:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312319260393472,"km_value":7312319260393.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082261504,"description":"Unknown IO ID 45"} 
[2026-07-19 19:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824283392001,"power":12765,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082261504}} 
[2026-07-19 19:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":136799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:36:57] local.INFO: GPS data processed {"connection_id":136799,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:36:57] local.INFO: Acknowledgment sent {"connection_id":136799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:37:07] local.INFO: TCP Data received {"connection_id":139247,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:37:07] local.INFO: Processing buffer {"connection_id":139247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:37:07] local.INFO: Packet analysis {"connection_id":139247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab0"} 
[2026-07-19 19:37:07] local.INFO: Extracted packet for processing {"connection_id":139247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab0"} 
[2026-07-19 19:37:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824201728001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:37: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-07-19 19:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784469839000,"timestamp_ms":1784469839000,"timestamp_seconds":1784469839,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab0dc98"} 
[2026-07-19 19:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 19:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":139247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":139247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":139247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824201728001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824201728001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:37:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:37:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824201728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":139247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:37:07] local.INFO: GPS data processed {"connection_id":139247,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:37:07] local.INFO: Acknowledgment sent {"connection_id":139247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:37:27] local.INFO: TCP Data received {"connection_id":136799,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab1cae0012d193f00071ffaa8004001011e..."} 
[2026-07-19 19:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab1cae0012d193f00071ffaa8004001011e..."} 
[2026-07-19 19:37:27] local.INFO: Processing buffer {"connection_id":136799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab1cae0012d193f00071ffaa8004001011e..."} 
[2026-07-19 19:37:27] local.INFO: Packet analysis {"connection_id":136799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab1"} 
[2026-07-19 19:37:27] local.INFO: Extracted packet for processing {"connection_id":136799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab1"} 
[2026-07-19 19:37:27] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536296,"longitude_deg":75.6629248,"latitude_deg":11.9536296,"altitude":64,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffaa8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 19:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824288768001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312319260393472,"note":"Value kept but may cause issues"} 
[2026-07-19 19:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082261504,"note":"Value kept but may cause issues"} 
[2026-07-19 19:37: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-07-19 19:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784469900000,"timestamp_ms":1784469900000,"timestamp_seconds":1784469900,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab1cae0"} 
[2026-07-19 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-07-19 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-07-19 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-19 19:37:27] 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-07-19 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-07-19 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-07-19 19:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824288768001,"66":12711,"102":206,"83":41984,"24":0,"16":7312319260393472,"45":1819172805082261504},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824288768001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:37:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:37:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312319260393472,"km_value":7312319260393.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082261504,"description":"Unknown IO ID 45"} 
[2026-07-19 19:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824288768001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082261504}} 
[2026-07-19 19:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":136799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:37:28] local.INFO: GPS data processed {"connection_id":136799,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:37:28] local.INFO: Acknowledgment sent {"connection_id":136799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:37:30] local.INFO: TCP Data received {"connection_id":137877,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:37:30] local.INFO: Processing buffer {"connection_id":137877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:37:30] local.INFO: IMEI packet received {"connection_id":137877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":137877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:37:35] local.INFO: TCP Data received {"connection_id":137877,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:37:35] local.INFO: Processing buffer {"connection_id":137877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:37:35] local.INFO: IMEI packet received {"connection_id":137877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":137877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:37:36] local.INFO: TCP Data received {"connection_id":137877,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:37:36] local.INFO: Processing buffer {"connection_id":137877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:37:36] local.INFO: Packet analysis {"connection_id":137877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab0"} 
[2026-07-19 19:37:36] local.INFO: Extracted packet for processing {"connection_id":137877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab0"} 
[2026-07-19 19:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824201728001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:37: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-07-19 19:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784469839000,"timestamp_ms":1784469839000,"timestamp_seconds":1784469839,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab0dc98"} 
[2026-07-19 19:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 19:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824201728001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824201728001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:37:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:37:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824201728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":137877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:37:36] local.INFO: GPS data processed {"connection_id":137877,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:37:36] local.INFO: Acknowledgment sent {"connection_id":137877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:37:50] local.INFO: TCP Data received {"connection_id":136910,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:37:50] local.INFO: Processing buffer {"connection_id":136910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:37:50] local.INFO: IMEI packet received {"connection_id":136910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":136910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:37:55] local.INFO: TCP Data received {"connection_id":136910,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:37:55] local.INFO: Processing buffer {"connection_id":136910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:37:55] local.INFO: IMEI packet received {"connection_id":136910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":136910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:37:56] local.INFO: TCP Data received {"connection_id":136910,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab21ce8012d193f00071ffaa8004001011e..."} 
[2026-07-19 19:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab21ce8012d193f00071ffaa8004001011e..."} 
[2026-07-19 19:37:56] local.INFO: Processing buffer {"connection_id":136910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab21ce8012d193f00071ffaa8004001011e..."} 
[2026-07-19 19:37:56] local.INFO: Packet analysis {"connection_id":136910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab2"} 
[2026-07-19 19:37:56] local.INFO: Extracted packet for processing {"connection_id":136910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab2"} 
[2026-07-19 19:37:56] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536296,"longitude_deg":75.6629248,"latitude_deg":11.9536296,"altitude":64,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffaa8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824294400001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312319260393472,"note":"Value kept but may cause issues"} 
[2026-07-19 19:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082261504,"note":"Value kept but may cause issues"} 
[2026-07-19 19:37: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-07-19 19:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784469921000,"timestamp_ms":1784469921000,"timestamp_seconds":1784469921,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab21ce8"} 
[2026-07-19 19:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:37: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-07-19 19: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-19 19:37:56] 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-07-19 19: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-07-19 19:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824294400001,"66":12667,"102":206,"83":41984,"24":0,"16":7312319260393472,"45":1819172805082261504},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824294400001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:37:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:37:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312319260393472,"km_value":7312319260393.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082261504,"description":"Unknown IO ID 45"} 
[2026-07-19 19:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824294400001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082261504}} 
[2026-07-19 19:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":136910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:37:56] local.INFO: GPS data processed {"connection_id":136910,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:37:56] local.INFO: Acknowledgment sent {"connection_id":136910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:38:08] local.INFO: TCP Data received {"connection_id":137877,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:38:08] local.INFO: Processing buffer {"connection_id":137877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:38:08] local.INFO: Packet analysis {"connection_id":137877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab0"} 
[2026-07-19 19:38:08] local.INFO: Extracted packet for processing {"connection_id":137877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab0"} 
[2026-07-19 19:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824201728001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:38: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-07-19 19:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784469839000,"timestamp_ms":1784469839000,"timestamp_seconds":1784469839,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab0dc98"} 
[2026-07-19 19:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 19:38: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-07-19 19: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-07-19 19:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:38: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-07-19 19:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824201728001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824201728001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:38:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:38:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824201728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":137877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:38:08] local.INFO: GPS data processed {"connection_id":137877,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:38:08] local.INFO: Acknowledgment sent {"connection_id":137877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:38:27] local.INFO: TCP Data received {"connection_id":136910,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab26ef0012d193f00071ffaa80040010120..."} 
[2026-07-19 19:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab26ef0012d193f00071ffaa80040010120..."} 
[2026-07-19 19:38:27] local.INFO: Processing buffer {"connection_id":136910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab26ef0012d193f00071ffaa80040010120..."} 
[2026-07-19 19:38:27] local.INFO: Packet analysis {"connection_id":136910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab2"} 
[2026-07-19 19:38:27] local.INFO: Extracted packet for processing {"connection_id":136910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab2"} 
[2026-07-19 19:38:27] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536296,"longitude_deg":75.6629248,"latitude_deg":11.9536296,"altitude":64,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffaa8","is_valid_coordinates":true} 
[2026-07-19 19:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824299776001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312319260393472,"note":"Value kept but may cause issues"} 
[2026-07-19 19:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082261504,"note":"Value kept but may cause issues"} 
[2026-07-19 19:38: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-07-19 19:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784469942000,"timestamp_ms":1784469942000,"timestamp_seconds":1784469942,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab26ef0"} 
[2026-07-19 19:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:38: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-07-19 19:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-19 19:38:27] 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-07-19 19:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824299776001,"66":12667,"102":206,"83":41984,"24":0,"16":7312319260393472,"45":1819172805082261504},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824299776001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:38:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:38:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312319260393472,"km_value":7312319260393.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082261504,"description":"Unknown IO ID 45"} 
[2026-07-19 19:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824299776001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082261504}} 
[2026-07-19 19:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":136910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:38:27] local.INFO: GPS data processed {"connection_id":136910,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:38:27] local.INFO: Acknowledgment sent {"connection_id":136910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:38:31] local.INFO: TCP Data received {"connection_id":139248,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:38:31] local.INFO: Processing buffer {"connection_id":139248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:38:31] local.INFO: IMEI packet received {"connection_id":139248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":139248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:38:36] local.INFO: TCP Data received {"connection_id":139248,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:38:36] local.INFO: Processing buffer {"connection_id":139248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:38:36] local.INFO: IMEI packet received {"connection_id":139248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":139248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:38:38] local.INFO: TCP Data received {"connection_id":139248,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:38:38] local.INFO: Processing buffer {"connection_id":139248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:38:38] local.INFO: Packet analysis {"connection_id":139248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab0"} 
[2026-07-19 19:38:38] local.INFO: Extracted packet for processing {"connection_id":139248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab0"} 
[2026-07-19 19:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824201728001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:38: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-07-19 19:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784469839000,"timestamp_ms":1784469839000,"timestamp_seconds":1784469839,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab0dc98"} 
[2026-07-19 19:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 19:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":139248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":139248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":139248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:38: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-07-19 19:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824201728001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824201728001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:38:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824201728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":139248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:38:38] local.INFO: GPS data processed {"connection_id":139248,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:38:38] local.INFO: Acknowledgment sent {"connection_id":139248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:38:50] local.INFO: TCP Data received {"connection_id":139249,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:38:50] local.INFO: Processing buffer {"connection_id":139249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:38:50] local.INFO: IMEI packet received {"connection_id":139249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":139249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:38:51] local.INFO: TCP Data received {"connection_id":136800,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:38:51] local.INFO: Processing buffer {"connection_id":136800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:38:51] local.INFO: IMEI packet received {"connection_id":136800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 19:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":136800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:38:55] local.INFO: TCP Data received {"connection_id":139249,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:38:55] local.INFO: Processing buffer {"connection_id":139249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:38:55] local.INFO: IMEI packet received {"connection_id":139249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":139249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:38:56] local.INFO: TCP Data received {"connection_id":139249,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab2c0f8012d193f00071ffaa8004001011f..."} 
[2026-07-19 19:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab2c0f8012d193f00071ffaa8004001011f..."} 
[2026-07-19 19:38:56] local.INFO: Processing buffer {"connection_id":139249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab2c0f8012d193f00071ffaa8004001011f..."} 
[2026-07-19 19:38:56] local.INFO: Packet analysis {"connection_id":139249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab2"} 
[2026-07-19 19:38:56] local.INFO: Extracted packet for processing {"connection_id":139249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab2"} 
[2026-07-19 19:38:56] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536296,"longitude_deg":75.6629248,"latitude_deg":11.9536296,"altitude":64,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffaa8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824305152001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312319260393472,"note":"Value kept but may cause issues"} 
[2026-07-19 19:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082261504,"note":"Value kept but may cause issues"} 
[2026-07-19 19:38: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-07-19 19:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784469963000,"timestamp_ms":1784469963000,"timestamp_seconds":1784469963,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab2c0f8"} 
[2026-07-19 19:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:38: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-07-19 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-19 19:38:56] 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-07-19 19:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824305152001,"66":12558,"102":206,"83":41984,"24":0,"16":7312319260393472,"45":1819172805082261504},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824305152001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:38:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:38:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312319260393472,"km_value":7312319260393.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082261504,"description":"Unknown IO ID 45"} 
[2026-07-19 19:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824305152001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082261504}} 
[2026-07-19 19:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":139249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:38:56] local.INFO: GPS data processed {"connection_id":139249,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:38:56] local.INFO: Acknowledgment sent {"connection_id":139249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:39:09] local.INFO: TCP Data received {"connection_id":139248,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:39:09] local.INFO: Processing buffer {"connection_id":139248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:39:09] local.INFO: Packet analysis {"connection_id":139248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab0"} 
[2026-07-19 19:39:09] local.INFO: Extracted packet for processing {"connection_id":139248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab0"} 
[2026-07-19 19:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824201728001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39: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-07-19 19:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784469839000,"timestamp_ms":1784469839000,"timestamp_seconds":1784469839,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab0dc98"} 
[2026-07-19 19:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 19:39: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-07-19 19:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:39: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-07-19 19:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824201728001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824201728001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:39:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824201728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":139248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:39:09] local.INFO: GPS data processed {"connection_id":139248,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:39:09] local.INFO: Acknowledgment sent {"connection_id":139248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:39:27] local.INFO: TCP Data received {"connection_id":139249,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab316e8012d193f00071ffaa8004001011e..."} 
[2026-07-19 19:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab316e8012d193f00071ffaa8004001011e..."} 
[2026-07-19 19:39:27] local.INFO: Processing buffer {"connection_id":139249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab316e8012d193f00071ffaa8004001011e..."} 
[2026-07-19 19:39:27] local.INFO: Packet analysis {"connection_id":139249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab3"} 
[2026-07-19 19:39:27] local.INFO: Extracted packet for processing {"connection_id":139249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab3"} 
[2026-07-19 19:39:27] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536296,"longitude_deg":75.6629248,"latitude_deg":11.9536296,"altitude":64,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffaa8","is_valid_coordinates":true} 
[2026-07-19 19:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824310528001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312319260393472,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082261504,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39: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-07-19 19:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784469985000,"timestamp_ms":1784469985000,"timestamp_seconds":1784469985,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab316e8"} 
[2026-07-19 19:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:39: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-07-19 19:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-19 19:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:27] local.WARNING: Large IO value detected {"io_id":250,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:27] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":57345,"corrected_to":0} 
[2026-07-19 19:39:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249697875476609704,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:27] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2977230849,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:27] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4205314112,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-19 19:39:27] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:27] local.WARNING: Large IO value detected {"io_id":25,"raw_value":4202954752,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:27] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:27] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:27] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:27] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,250,159,110,45,64,32,10,66,28,30,202,1,240,167,227,122,31,4,113,205,34,63,168,29,239,50,2,25,7,120,92,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":202,"original":57345,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-19 19:39:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611968726059712512,"timestamp_seconds":4611968726059713.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 19:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824310528001,"66":12548,"102":206,"83":41984,"24":0,"16":7312319260393472,"45":1819172805082261504},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824310528001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:39:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:39:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312319260393472,"km_value":7312319260393.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082261504,"description":"Unknown IO ID 45"} 
[2026-07-19 19:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824310528001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082261504}} 
[2026-07-19 19:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":139249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:39:28] local.INFO: GPS data processed {"connection_id":139249,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:39:28] local.INFO: Acknowledgment sent {"connection_id":139249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:39:30] local.INFO: TCP Data received {"connection_id":137878,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:39:30] local.INFO: Processing buffer {"connection_id":137878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:39:30] local.INFO: IMEI packet received {"connection_id":137878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":137878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:39:31] local.INFO: TCP Data received {"connection_id":136911,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:39:31] local.INFO: Processing buffer {"connection_id":136911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:39:31] local.INFO: IMEI packet received {"connection_id":136911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 19:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":136911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:39:35] local.INFO: TCP Data received {"connection_id":137878,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:39:35] local.INFO: Processing buffer {"connection_id":137878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:39:35] local.INFO: IMEI packet received {"connection_id":137878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":137878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:39:37] local.INFO: TCP Data received {"connection_id":137878,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:39:37] local.INFO: Processing buffer {"connection_id":137878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab0dc98012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:39:37] local.INFO: Packet analysis {"connection_id":137878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab0"} 
[2026-07-19 19:39:37] local.INFO: Extracted packet for processing {"connection_id":137878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab0"} 
[2026-07-19 19:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824201728001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39: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-07-19 19:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784469839000,"timestamp_ms":1784469839000,"timestamp_seconds":1784469839,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab0dc98"} 
[2026-07-19 19:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 19:39: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-07-19 19:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824201728001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824201728001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824201728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":137878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:39:37] local.INFO: GPS data processed {"connection_id":137878,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:39:37] local.INFO: Acknowledgment sent {"connection_id":137878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:39:50] local.INFO: TCP Data received {"connection_id":136801,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:39:50] local.INFO: Processing buffer {"connection_id":136801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:39:50] local.INFO: IMEI packet received {"connection_id":136801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":136801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:39:55] local.INFO: TCP Data received {"connection_id":136801,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:39:55] local.INFO: Processing buffer {"connection_id":136801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:39:55] local.INFO: IMEI packet received {"connection_id":136801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":136801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:39:56] local.INFO: TCP Data received {"connection_id":136801,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab368f0012d193f00071ffaa8004001011e..."} 
[2026-07-19 19:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab368f0012d193f00071ffaa8004001011e..."} 
[2026-07-19 19:39:56] local.INFO: Processing buffer {"connection_id":136801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab368f0012d193f00071ffaa8004001011e..."} 
[2026-07-19 19:39:56] local.INFO: Packet analysis {"connection_id":136801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab3"} 
[2026-07-19 19:39:56] local.INFO: Extracted packet for processing {"connection_id":136801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab3"} 
[2026-07-19 19:39:56] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536296,"longitude_deg":75.6629248,"latitude_deg":11.9536296,"altitude":64,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffaa8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824316160001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312319260393472,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082261504,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39: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-07-19 19:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784470006000,"timestamp_ms":1784470006000,"timestamp_seconds":1784470006,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab368f0"} 
[2026-07-19 19:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:39: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-07-19 19: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-19 19:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:56] local.WARNING: Large IO value detected {"io_id":250,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184214790349,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:56] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2982862849,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-19 19:39:56] local.WARNING: Large IO value detected {"io_id":116,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:56] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817336,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:56] local.WARNING: Large IO value detected {"io_id":25,"raw_value":4202954752,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:56] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-07-19 19:39:56] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,250,159,192,45,64,31,10,66,110,32,28,1,240,123,227,122,4,113,205,116,63,168,239,49,2,25,7,120],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-19 19:39:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611968721764745216,"timestamp_seconds":4611968721764745.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 19:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824316160001,"66":12526,"102":206,"83":41984,"24":0,"16":7312319260393472,"45":1819172805082261504},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824316160001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:39:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:39:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312319260393472,"km_value":7312319260393.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082261504,"description":"Unknown IO ID 45"} 
[2026-07-19 19:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824316160001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082261504}} 
[2026-07-19 19:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":136801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:39:56] local.INFO: GPS data processed {"connection_id":136801,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:39:56] local.INFO: Acknowledgment sent {"connection_id":136801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:40:08] local.INFO: TCP Data received {"connection_id":137878,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:40:08] local.INFO: Processing buffer {"connection_id":137878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:40:08] local.INFO: Packet analysis {"connection_id":137878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab5"} 
[2026-07-19 19:40:08] local.INFO: Extracted packet for processing {"connection_id":137878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab5"} 
[2026-07-19 19:40:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824278784001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:40: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-07-19 19:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784470140000,"timestamp_ms":1784470140000,"timestamp_seconds":1784470140,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab57460"} 
[2026-07-19 19:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:40: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-07-19 19: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-07-19 19:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:40: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-07-19 19:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824278784001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824278784001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:40:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:40:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824278784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":137878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:40:08] local.INFO: GPS data processed {"connection_id":137878,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:40:08] local.INFO: Acknowledgment sent {"connection_id":137878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:40:27] local.INFO: TCP Data received {"connection_id":136801,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab3baf8012d193f00071ffaa8004001011f..."} 
[2026-07-19 19:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab3baf8012d193f00071ffaa8004001011f..."} 
[2026-07-19 19:40:27] local.INFO: Processing buffer {"connection_id":136801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab3baf8012d193f00071ffaa8004001011f..."} 
[2026-07-19 19:40:27] local.INFO: Packet analysis {"connection_id":136801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab3"} 
[2026-07-19 19:40:27] local.INFO: Extracted packet for processing {"connection_id":136801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab3"} 
[2026-07-19 19:40:27] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536296,"longitude_deg":75.6629248,"latitude_deg":11.9536296,"altitude":64,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffaa8","is_valid_coordinates":true} 
[2026-07-19 19:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824321536001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312319260393472,"note":"Value kept but may cause issues"} 
[2026-07-19 19:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082261504,"note":"Value kept but may cause issues"} 
[2026-07-19 19:40: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-07-19 19:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784470027000,"timestamp_ms":1784470027000,"timestamp_seconds":1784470027,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab3baf8"} 
[2026-07-19 19:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:40: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-07-19 19:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 19:40:27] 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-07-19 19:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824321536001,"66":12526,"102":206,"83":41984,"24":0,"16":7312319260393472,"45":1819172805082261504},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824321536001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:40:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:40:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312319260393472,"km_value":7312319260393.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082261504,"description":"Unknown IO ID 45"} 
[2026-07-19 19:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824321536001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082261504}} 
[2026-07-19 19:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":136801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:40:27] local.INFO: GPS data processed {"connection_id":136801,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:40:27] local.INFO: Acknowledgment sent {"connection_id":136801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:40:30] local.INFO: TCP Data received {"connection_id":136912,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:40:30] local.INFO: Processing buffer {"connection_id":136912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:40:30] local.INFO: IMEI packet received {"connection_id":136912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":136912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:40:35] local.INFO: TCP Data received {"connection_id":136912,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:40:35] local.INFO: Processing buffer {"connection_id":136912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:40:35] local.INFO: IMEI packet received {"connection_id":136912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":136912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:40:36] local.INFO: TCP Data received {"connection_id":136912,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:40:36] local.INFO: Processing buffer {"connection_id":136912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:40:36] local.INFO: Packet analysis {"connection_id":136912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab5"} 
[2026-07-19 19:40:36] local.INFO: Extracted packet for processing {"connection_id":136912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab5"} 
[2026-07-19 19:40:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824278784001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:40: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-07-19 19:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784470140000,"timestamp_ms":1784470140000,"timestamp_seconds":1784470140,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab57460"} 
[2026-07-19 19:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:40: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-07-19 19:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824278784001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824278784001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:40:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:40:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824278784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":136912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:40:36] local.INFO: GPS data processed {"connection_id":136912,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:40:36] local.INFO: Acknowledgment sent {"connection_id":136912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:40:50] local.INFO: TCP Data received {"connection_id":139251,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:40:50] local.INFO: Processing buffer {"connection_id":139251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:40:50] local.INFO: IMEI packet received {"connection_id":139251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":139251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:40:51] local.INFO: TCP Data received {"connection_id":139251,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:40:51] local.INFO: Processing buffer {"connection_id":139251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:40:51] local.INFO: IMEI packet received {"connection_id":139251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":139251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:40:55] local.INFO: TCP Data received {"connection_id":139251,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:40:55] local.INFO: Processing buffer {"connection_id":139251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:40:55] local.INFO: IMEI packet received {"connection_id":139251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":139251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:40:56] local.INFO: TCP Data received {"connection_id":139251,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab40d00012d193f00071ffaa8004001011f..."} 
[2026-07-19 19:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab40d00012d193f00071ffaa8004001011f..."} 
[2026-07-19 19:40:56] local.INFO: Processing buffer {"connection_id":139251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab40d00012d193f00071ffaa8004001011f..."} 
[2026-07-19 19:40:56] local.INFO: Packet analysis {"connection_id":139251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab4"} 
[2026-07-19 19:40:56] local.INFO: Extracted packet for processing {"connection_id":139251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab4"} 
[2026-07-19 19:40:56] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536296,"longitude_deg":75.6629248,"latitude_deg":11.9536296,"altitude":64,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffaa8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824326912001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312319260393472,"note":"Value kept but may cause issues"} 
[2026-07-19 19:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082261504,"note":"Value kept but may cause issues"} 
[2026-07-19 19:40: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-07-19 19:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784470048000,"timestamp_ms":1784470048000,"timestamp_seconds":1784470048,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab40d00"} 
[2026-07-19 19:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:40: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-07-19 19: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-19 19:40:56] 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-07-19 19: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-07-19 19:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824326912001,"66":12504,"102":206,"83":41984,"24":0,"16":7312319260393472,"45":1819172805082261504},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824326912001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:40:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:40:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312319260393472,"km_value":7312319260393.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082261504,"description":"Unknown IO ID 45"} 
[2026-07-19 19:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824326912001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082261504}} 
[2026-07-19 19:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":139251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:40:56] local.INFO: GPS data processed {"connection_id":139251,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:40:56] local.INFO: Acknowledgment sent {"connection_id":139251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:41:08] local.INFO: TCP Data received {"connection_id":136912,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:41:08] local.INFO: Processing buffer {"connection_id":136912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:41:08] local.INFO: Packet analysis {"connection_id":136912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab5"} 
[2026-07-19 19:41:08] local.INFO: Extracted packet for processing {"connection_id":136912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab5"} 
[2026-07-19 19:41:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824278784001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:41: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-07-19 19:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784470140000,"timestamp_ms":1784470140000,"timestamp_seconds":1784470140,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab57460"} 
[2026-07-19 19:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:41: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-07-19 19:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:41: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-07-19 19:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824278784001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824278784001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:41:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:41:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824278784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":136912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:41:08] local.INFO: GPS data processed {"connection_id":136912,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:41:08] local.INFO: Acknowledgment sent {"connection_id":136912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:41:27] local.INFO: TCP Data received {"connection_id":139251,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab45f08012d193f00071ffaa80040010120..."} 
[2026-07-19 19:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab45f08012d193f00071ffaa80040010120..."} 
[2026-07-19 19:41:27] local.INFO: Processing buffer {"connection_id":139251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab45f08012d193f00071ffaa80040010120..."} 
[2026-07-19 19:41:27] local.INFO: Packet analysis {"connection_id":139251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab4"} 
[2026-07-19 19:41:27] local.INFO: Extracted packet for processing {"connection_id":139251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab4"} 
[2026-07-19 19:41:27] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536296,"longitude_deg":75.6629248,"latitude_deg":11.9536296,"altitude":64,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffaa8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824332288001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312319260393472,"note":"Value kept but may cause issues"} 
[2026-07-19 19:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082261504,"note":"Value kept but may cause issues"} 
[2026-07-19 19:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784470069000,"timestamp_ms":1784470069000,"timestamp_seconds":1784470069,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab45f08"} 
[2026-07-19 19:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:41: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-07-19 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-19 19:41:27] 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-07-19 19: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-07-19 19:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824332288001,"66":12461,"102":206,"83":41984,"24":0,"16":7312319260393472,"45":1819172805082261504},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824332288001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:41:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:41:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312319260393472,"km_value":7312319260393.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082261504,"description":"Unknown IO ID 45"} 
[2026-07-19 19:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824332288001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082261504}} 
[2026-07-19 19:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":139251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:41:27] local.INFO: GPS data processed {"connection_id":139251,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:41:27] local.INFO: Acknowledgment sent {"connection_id":139251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:41:31] local.INFO: TCP Data received {"connection_id":137880,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:41:31] local.INFO: Processing buffer {"connection_id":137880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:41:31] local.INFO: IMEI packet received {"connection_id":137880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":137880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:41:36] local.INFO: TCP Data received {"connection_id":137880,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:41:36] local.INFO: Processing buffer {"connection_id":137880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:41:36] local.INFO: IMEI packet received {"connection_id":137880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":137880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:41:37] local.INFO: TCP Data received {"connection_id":137880,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:41:37] local.INFO: Processing buffer {"connection_id":137880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:41:37] local.INFO: Packet analysis {"connection_id":137880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab5"} 
[2026-07-19 19:41:37] local.INFO: Extracted packet for processing {"connection_id":137880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab5"} 
[2026-07-19 19:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824278784001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:41: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-07-19 19:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784470140000,"timestamp_ms":1784470140000,"timestamp_seconds":1784470140,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab57460"} 
[2026-07-19 19:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824278784001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824278784001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:41:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824278784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":137880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:41:37] local.INFO: GPS data processed {"connection_id":137880,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:41:37] local.INFO: Acknowledgment sent {"connection_id":137880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:41:50] local.INFO: TCP Data received {"connection_id":136913,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:41:50] local.INFO: Processing buffer {"connection_id":136913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:41:50] local.INFO: IMEI packet received {"connection_id":136913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":136913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:41:50] local.INFO: TCP Data received {"connection_id":136913,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:41:50] local.INFO: Processing buffer {"connection_id":136913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:41:50] local.INFO: IMEI packet received {"connection_id":136913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":136913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:41:51] local.INFO: TCP Data received {"connection_id":136913,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:41:51] local.INFO: Processing buffer {"connection_id":136913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:41:51] local.INFO: IMEI packet received {"connection_id":136913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":136913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:41:55] local.INFO: TCP Data received {"connection_id":136913,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:41:55] local.INFO: Processing buffer {"connection_id":136913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:41:55] local.INFO: IMEI packet received {"connection_id":136913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":136913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:41:56] local.INFO: TCP Data received {"connection_id":136913,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab76090012d194200071ffc300042007320..."} 
[2026-07-19 19:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab76090012d194200071ffc300042007320..."} 
[2026-07-19 19:41:56] local.INFO: Processing buffer {"connection_id":136913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab76090012d194200071ffc300042007320..."} 
[2026-07-19 19:41:56] local.INFO: Packet analysis {"connection_id":136913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab7"} 
[2026-07-19 19:41:56] local.INFO: Extracted packet for processing {"connection_id":136913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab7"} 
[2026-07-19 19:41:56] local.INFO: GPS Element Parsed {"raw_longitude":756630016,"raw_latitude":119536688,"longitude_deg":75.6630016,"latitude_deg":11.9536688,"altitude":66,"angle":115,"satellites":32,"speed":2,"hex_longitude":"2d194200","hex_latitude":"071ffc30","is_valid_coordinates":true} 
[2026-07-19 19:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824387584001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312370800001024,"note":"Value kept but may cause issues"} 
[2026-07-19 19:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819946861268330496,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784470266000,"timestamp_ms":1784470266000,"timestamp_seconds":1784470266,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab76090"} 
[2026-07-19 19:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:41: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-07-19 19:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-19 19: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-07-19 19:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824387584001,"66":13537,"102":206,"83":41984,"24":2,"16":7312370800001024,"45":1819946861268330496},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824387584001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:41:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:41:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312370800001024,"km_value":7312370800001.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819946861268330496,"description":"Unknown IO ID 45"} 
[2026-07-19 19:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824387584001,"power":13537,"unknown_102":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1819946861268330496}} 
[2026-07-19 19:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":136913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:41:56] local.INFO: GPS data processed {"connection_id":136913,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:41:56] local.INFO: Acknowledgment sent {"connection_id":136913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:42:08] local.INFO: TCP Data received {"connection_id":137880,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:42:08] local.INFO: Processing buffer {"connection_id":137880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:42:08] local.INFO: Packet analysis {"connection_id":137880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab5"} 
[2026-07-19 19:42:08] local.INFO: Extracted packet for processing {"connection_id":137880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab5"} 
[2026-07-19 19:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824278784001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:42: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-07-19 19:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784470140000,"timestamp_ms":1784470140000,"timestamp_seconds":1784470140,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab57460"} 
[2026-07-19 19:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:42: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-07-19 19: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-07-19 19:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:42: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-07-19 19:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824278784001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824278784001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:42:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:42:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824278784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":137880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:42:08] local.INFO: GPS data processed {"connection_id":137880,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:42:08] local.INFO: Acknowledgment sent {"connection_id":137880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:42:28] local.INFO: TCP Data received {"connection_id":136913,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab7d1d8012d1954c0071ff4080041006f22..."} 
[2026-07-19 19:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab7d1d8012d1954c0071ff4080041006f22..."} 
[2026-07-19 19:42:28] local.INFO: Processing buffer {"connection_id":136913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab7d1d8012d1954c0071ff4080041006f22..."} 
[2026-07-19 19:42:28] local.INFO: Packet analysis {"connection_id":136913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab7"} 
[2026-07-19 19:42:28] local.INFO: Extracted packet for processing {"connection_id":136913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab7"} 
[2026-07-19 19:42:28] local.INFO: GPS Element Parsed {"raw_longitude":756634816,"raw_latitude":119534600,"longitude_deg":75.6634816,"latitude_deg":11.95346,"altitude":65,"angle":111,"satellites":34,"speed":14,"hex_longitude":"2d1954c0","hex_latitude":"071ff408","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824395008001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312662857777152,"note":"Value kept but may cause issues"} 
[2026-07-19 19:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824661567127756800,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784470295000,"timestamp_ms":1784470295000,"timestamp_seconds":1784470295,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab7d1d8"} 
[2026-07-19 19:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:42: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-07-19 19: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-19 19:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751520250,"note":"Value kept but may cause issues"} 
[2026-07-19 19:42:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-19 19:42:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-19 19:42:28] local.WARNING: Large IO value detected {"io_id":250,"raw_value":3103784960,"note":"Value kept but may cause issues"} 
[2026-07-19 19:42:28] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":55296,"corrected_to":0} 
[2026-07-19 19:42:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-19 19:42:28] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3081678849,"note":"Value kept but may cause issues"} 
[2026-07-19 19:42:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4218945602,"note":"Value kept but may cause issues"} 
[2026-07-19 19:42:28] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632689129977958,"note":"Value kept but may cause issues"} 
[2026-07-19 19:42:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-19 19:42:28] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308408,"note":"Value kept but may cause issues"} 
[2026-07-19 19:42:28] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-19 19:42:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":4845881033020670017,"note":"Value kept but may cause issues"} 
[2026-07-19 19:42:28] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-2593847468374307245,"note":"Value kept but may cause issues"} 
[2026-07-19 19:42:28] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755416621056241,"note":"Value kept but may cause issues"} 
[2026-07-19 19:42:28] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,250,159,194,45,246,65,34,10,66,182,192,178,64,1,240,12,227,122,31,4,113,205,151,72,32,239,52,2,25,7,51,164],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":246,"original":55296,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-19 19:42:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4683879002720043008,"timestamp_seconds":4683879002720043.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-19 19:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824395008001,"66":13450,"102":206,"83":41984,"24":14,"16":7312662857777152,"45":1824661567127756800},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824395008001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:42:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:42:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312662857777152,"km_value":7312662857777.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824661567127756800,"description":"Unknown IO ID 45"} 
[2026-07-19 19:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824395008001,"power":13450,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1824661567127756800}} 
[2026-07-19 19:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":136913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:42:28] local.INFO: GPS data processed {"connection_id":136913,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:42:28] local.INFO: Acknowledgment sent {"connection_id":136913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:42:30] local.INFO: TCP Data received {"connection_id":139252,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:42:30] local.INFO: Processing buffer {"connection_id":139252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:42:30] local.INFO: IMEI packet received {"connection_id":139252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":139252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:42:35] local.INFO: TCP Data received {"connection_id":139252,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:42:36] local.INFO: Processing buffer {"connection_id":139252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:42:36] local.INFO: IMEI packet received {"connection_id":139252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":139252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:42:37] local.INFO: TCP Data received {"connection_id":139252,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:42:37] local.INFO: Processing buffer {"connection_id":139252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:42:37] local.INFO: Packet analysis {"connection_id":139252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab5"} 
[2026-07-19 19:42:37] local.INFO: Extracted packet for processing {"connection_id":139252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab5"} 
[2026-07-19 19:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 19:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824278784001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:42: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-07-19 19:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784470140000,"timestamp_ms":1784470140000,"timestamp_seconds":1784470140,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab57460"} 
[2026-07-19 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-07-19 19:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 19:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824278784001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824278784001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824278784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":139252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:42:37] local.INFO: GPS data processed {"connection_id":139252,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:42:37] local.INFO: Acknowledgment sent {"connection_id":139252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:43:08] local.INFO: TCP Data received {"connection_id":139252,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:43:08] local.INFO: Processing buffer {"connection_id":139252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:43:08] local.INFO: Packet analysis {"connection_id":139252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab5"} 
[2026-07-19 19:43:08] local.INFO: Extracted packet for processing {"connection_id":139252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab5"} 
[2026-07-19 19:43:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824278784001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:43: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-07-19 19:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784470140000,"timestamp_ms":1784470140000,"timestamp_seconds":1784470140,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab57460"} 
[2026-07-19 19:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:43: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-07-19 19: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-07-19 19:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824278784001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824278784001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:43:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:43:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824278784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":139252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:43:08] local.INFO: GPS data processed {"connection_id":139252,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:43:08] local.INFO: Acknowledgment sent {"connection_id":139252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:43:25] local.INFO: TCP Data received {"connection_id":139253,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:43:25] local.INFO: Processing buffer {"connection_id":139253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:43:25] local.INFO: IMEI packet received {"connection_id":139253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":139253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:43:30] local.INFO: TCP Data received {"connection_id":136915,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:43:30] local.INFO: Processing buffer {"connection_id":136915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:43:30] local.INFO: IMEI packet received {"connection_id":136915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":136915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:43:30] local.INFO: TCP Data received {"connection_id":139253,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:43:30] local.INFO: Processing buffer {"connection_id":139253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:43:30] local.INFO: IMEI packet received {"connection_id":139253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":139253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:43:31] local.INFO: TCP Data received {"connection_id":139253,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab800b8012d196680071fedd00040005f21..."} 
[2026-07-19 19:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab800b8012d196680071fedd00040005f21..."} 
[2026-07-19 19:43:31] local.INFO: Processing buffer {"connection_id":139253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab800b8012d196680071fedd00040005f21..."} 
[2026-07-19 19:43:31] local.INFO: Packet analysis {"connection_id":139253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab8"} 
[2026-07-19 19:43:31] local.INFO: Extracted packet for processing {"connection_id":139253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab8"} 
[2026-07-19 19:43:31] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":64,"angle":95,"satellites":33,"speed":9,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-19 19:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824395520001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312890491043840,"note":"Value kept but may cause issues"} 
[2026-07-19 19:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825294885825284096,"note":"Value kept but may cause issues"} 
[2026-07-19 19:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784470307000,"timestamp_ms":1784470307000,"timestamp_seconds":1784470307,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab800b8"} 
[2026-07-19 19:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:43: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-07-19 19:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-19 19:43: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-07-19 19:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":139253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":139253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":139253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824395520001,"66":13646,"102":206,"83":41984,"24":9,"16":7312890491043840,"45":1825294885825284096},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824395520001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:43:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:43:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312890491043840,"km_value":7312890491043.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825294885825284096,"description":"Unknown IO ID 45"} 
[2026-07-19 19:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824395520001,"power":13646,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1825294885825284096}} 
[2026-07-19 19:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":139253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:43:32] local.INFO: GPS data processed {"connection_id":139253,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:43:32] local.INFO: Acknowledgment sent {"connection_id":139253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:43:36] local.INFO: TCP Data received {"connection_id":136915,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:43:36] local.INFO: Processing buffer {"connection_id":136915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:43:36] local.INFO: IMEI packet received {"connection_id":136915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":136915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:43:37] local.INFO: TCP Data received {"connection_id":136915,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:43:37] local.INFO: Processing buffer {"connection_id":136915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:43:37] local.INFO: Packet analysis {"connection_id":136915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab5"} 
[2026-07-19 19:43:37] local.INFO: Extracted packet for processing {"connection_id":136915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab5"} 
[2026-07-19 19:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824278784001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:43: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-07-19 19:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784470140000,"timestamp_ms":1784470140000,"timestamp_seconds":1784470140,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab57460"} 
[2026-07-19 19:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824278784001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824278784001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:43:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824278784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":136915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:43:37] local.INFO: GPS data processed {"connection_id":136915,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:43:37] local.INFO: Acknowledgment sent {"connection_id":136915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:43:55] local.INFO: TCP Data received {"connection_id":137881,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:43:55] local.INFO: Processing buffer {"connection_id":137881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:43:55] local.INFO: IMEI packet received {"connection_id":137881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":137881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:44:00] local.INFO: TCP Data received {"connection_id":137881,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:44:00] local.INFO: Processing buffer {"connection_id":137881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:44:00] local.INFO: IMEI packet received {"connection_id":137881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":137881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:44:01] local.INFO: TCP Data received {"connection_id":137881,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab804a0012d196700071fede00040004921..."} 
[2026-07-19 19:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab804a0012d196700071fede00040004921..."} 
[2026-07-19 19:44:01] local.INFO: Processing buffer {"connection_id":137881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab804a0012d196700071fede00040004921..."} 
[2026-07-19 19:44:01] local.INFO: Packet analysis {"connection_id":137881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab8"} 
[2026-07-19 19:44:01] local.INFO: Extracted packet for processing {"connection_id":137881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab8"} 
[2026-07-19 19:44:01] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533024,"longitude_deg":75.6639488,"latitude_deg":11.9533024,"altitude":64,"angle":73,"satellites":33,"speed":6,"hex_longitude":"2d196700","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-19 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-07-19 19:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824398592001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312894786011136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-07-19 19:44: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-07-19 19:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784470308000,"timestamp_ms":1784470308000,"timestamp_seconds":1784470308,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab804a0"} 
[2026-07-19 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-07-19 19:44: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-07-19 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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-19 19:44: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-07-19 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-07-19 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-07-19 19:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824398592001,"66":13646,"102":206,"83":41984,"24":6,"16":7312894786011136,"45":1830291066661490688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824398592001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:44:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:44:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312894786011136,"km_value":7312894786011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-07-19 19:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824398592001,"power":13646,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-07-19 19:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":137881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:44:01] local.INFO: GPS data processed {"connection_id":137881,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:44:01] local.INFO: Acknowledgment sent {"connection_id":137881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:44:08] local.INFO: TCP Data received {"connection_id":136915,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:44:08] local.INFO: Processing buffer {"connection_id":136915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:44:08] local.INFO: Packet analysis {"connection_id":136915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab5"} 
[2026-07-19 19:44:08] local.INFO: Extracted packet for processing {"connection_id":136915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab5"} 
[2026-07-19 19:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824278784001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784470140000,"timestamp_ms":1784470140000,"timestamp_seconds":1784470140,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab57460"} 
[2026-07-19 19:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824278784001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824278784001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:44:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824278784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":136915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:44:08] local.INFO: GPS data processed {"connection_id":136915,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:44:08] local.INFO: Acknowledgment sent {"connection_id":136915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:44:30] local.INFO: TCP Data received {"connection_id":139255,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:44:30] local.INFO: Processing buffer {"connection_id":139255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:44:30] local.INFO: IMEI packet received {"connection_id":139255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":139255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:44:32] local.INFO: TCP Data received {"connection_id":137881,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab827c8012d196780071fee98003f004923..."} 
[2026-07-19 19:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab827c8012d196780071fee98003f004923..."} 
[2026-07-19 19:44:32] local.INFO: Processing buffer {"connection_id":137881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab827c8012d196780071fee98003f004923..."} 
[2026-07-19 19:44:32] local.INFO: Packet analysis {"connection_id":137881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab8"} 
[2026-07-19 19:44:32] local.INFO: Extracted packet for processing {"connection_id":137881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab8"} 
[2026-07-19 19:44:32] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533208,"longitude_deg":75.6639616,"latitude_deg":11.9533208,"altitude":63,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-07-19 19:44: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-07-19 19:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824398848001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149850112,"note":"Value kept but may cause issues"} 
[2026-07-19 19:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784470317000,"timestamp_ms":1784470317000,"timestamp_seconds":1784470317,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab827c8"} 
[2026-07-19 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-07-19 19:44: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-07-19 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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-19 19:44: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-07-19 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-07-19 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-07-19 19:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":137881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":137881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":137881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824398848001,"66":12993,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1830431804149850112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824398848001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:44:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:44:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149850112,"description":"Unknown IO ID 45"} 
[2026-07-19 19:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824398848001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149850112}} 
[2026-07-19 19:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":137881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:44:32] local.INFO: GPS data processed {"connection_id":137881,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:44:32] local.INFO: Acknowledgment sent {"connection_id":137881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:44:36] local.INFO: TCP Data received {"connection_id":139255,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:44:36] local.INFO: Processing buffer {"connection_id":139255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:44:36] local.INFO: IMEI packet received {"connection_id":139255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":139255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:44:37] local.INFO: TCP Data received {"connection_id":139255,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:44:37] local.INFO: Processing buffer {"connection_id":139255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab57460012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:44:37] local.INFO: Packet analysis {"connection_id":139255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab5"} 
[2026-07-19 19:44:37] local.INFO: Extracted packet for processing {"connection_id":139255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab5"} 
[2026-07-19 19:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824278784001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:44: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-07-19 19:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784470140000,"timestamp_ms":1784470140000,"timestamp_seconds":1784470140,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab57460"} 
[2026-07-19 19:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 19:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:44:37] 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-07-19 19:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824278784001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824278784001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:44:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824278784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":139255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:44:37] local.INFO: GPS data processed {"connection_id":139255,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:44:37] local.INFO: Acknowledgment sent {"connection_id":139255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:44:50] local.INFO: TCP Data received {"connection_id":136916,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:44:50] local.INFO: Processing buffer {"connection_id":136916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:44:50] local.INFO: IMEI packet received {"connection_id":136916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":136916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:44:55] local.INFO: TCP Data received {"connection_id":136916,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:44:55] local.INFO: Processing buffer {"connection_id":136916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:44:55] local.INFO: IMEI packet received {"connection_id":136916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":136916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:44:56] local.INFO: TCP Data received {"connection_id":136802,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:44:56] local.INFO: Processing buffer {"connection_id":136802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:44:56] local.INFO: IMEI packet received {"connection_id":136802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 19:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":136802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:44:56] local.INFO: TCP Data received {"connection_id":136916,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab827c8012d196780071fee98003f004923..."} 
[2026-07-19 19:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab827c8012d196780071fee98003f004923..."} 
[2026-07-19 19:44:56] local.INFO: Processing buffer {"connection_id":136916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab827c8012d196780071fee98003f004923..."} 
[2026-07-19 19:44:56] local.INFO: Packet analysis {"connection_id":136916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab8"} 
[2026-07-19 19:44:56] local.INFO: Extracted packet for processing {"connection_id":136916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab8"} 
[2026-07-19 19:44:56] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533208,"longitude_deg":75.6639616,"latitude_deg":11.9533208,"altitude":63,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-07-19 19:44: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-07-19 19:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824401152001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638252544,"note":"Value kept but may cause issues"} 
[2026-07-19 19:44: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-07-19 19:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784470317000,"timestamp_ms":1784470317000,"timestamp_seconds":1784470317,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab827c8"} 
[2026-07-19 19:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-19 19:44: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-07-19 19: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-07-19 19:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824401152001,"66":12993,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1830572541638252544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824401152001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:44:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:44:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638252544,"description":"Unknown IO ID 45"} 
[2026-07-19 19:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824401152001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638252544}} 
[2026-07-19 19:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":136916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:44:56] local.INFO: GPS data processed {"connection_id":136916,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:44:56] local.INFO: Acknowledgment sent {"connection_id":136916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:45:09] local.INFO: TCP Data received {"connection_id":139255,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:45:09] local.INFO: Processing buffer {"connection_id":139255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:45:09] local.INFO: Packet analysis {"connection_id":139255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aba"} 
[2026-07-19 19:45:09] local.INFO: Extracted packet for processing {"connection_id":139255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aba"} 
[2026-07-19 19:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824355840001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:45: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-07-19 19:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784470441000,"timestamp_ms":1784470441000,"timestamp_seconds":1784470441,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aba0c28"} 
[2026-07-19 19:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:45: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-07-19 19:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824355840001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824355840001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:45:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824355840001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":139255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:45:09] local.INFO: GPS data processed {"connection_id":139255,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:45:09] local.INFO: Acknowledgment sent {"connection_id":139255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:45:27] local.INFO: TCP Data received {"connection_id":136916,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab827c8012d196780071fee98003f004923..."} 
[2026-07-19 19:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab827c8012d196780071fee98003f004923..."} 
[2026-07-19 19:45:27] local.INFO: Processing buffer {"connection_id":136916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab827c8012d196780071fee98003f004923..."} 
[2026-07-19 19:45:27] local.INFO: Packet analysis {"connection_id":136916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab8"} 
[2026-07-19 19:45:27] local.INFO: Extracted packet for processing {"connection_id":136916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab8"} 
[2026-07-19 19:45:27] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533208,"longitude_deg":75.6639616,"latitude_deg":11.9533208,"altitude":63,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-07-19 19:45: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-07-19 19:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824401152001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638252544,"note":"Value kept but may cause issues"} 
[2026-07-19 19:45: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-07-19 19:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784470317000,"timestamp_ms":1784470317000,"timestamp_seconds":1784470317,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab827c8"} 
[2026-07-19 19:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:45: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-07-19 19:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-19 19:45:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:45: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-07-19 19:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824401152001,"66":12993,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1830572541638252544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824401152001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:45:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:45:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638252544,"description":"Unknown IO ID 45"} 
[2026-07-19 19:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824401152001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638252544}} 
[2026-07-19 19:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":136916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:45:27] local.INFO: GPS data processed {"connection_id":136916,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:45:27] local.INFO: Acknowledgment sent {"connection_id":136916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:45:30] local.INFO: TCP Data received {"connection_id":139257,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:45:30] local.INFO: Processing buffer {"connection_id":139257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:45:30] local.INFO: IMEI packet received {"connection_id":139257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":139257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:45:32] local.INFO: TCP Data received {"connection_id":139256,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:45:32] local.INFO: Processing buffer {"connection_id":139256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:45:32] local.INFO: IMEI packet received {"connection_id":139256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 19:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":139256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:45:35] local.INFO: TCP Data received {"connection_id":139257,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:45:35] local.INFO: Processing buffer {"connection_id":139257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:45:35] local.INFO: IMEI packet received {"connection_id":139257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":139257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:45:37] local.INFO: TCP Data received {"connection_id":139257,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:45:37] local.INFO: Processing buffer {"connection_id":139257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:45:37] local.INFO: Packet analysis {"connection_id":139257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aba"} 
[2026-07-19 19:45:37] local.INFO: Extracted packet for processing {"connection_id":139257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aba"} 
[2026-07-19 19:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824355840001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:45: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-07-19 19:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784470441000,"timestamp_ms":1784470441000,"timestamp_seconds":1784470441,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aba0c28"} 
[2026-07-19 19:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824355840001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824355840001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:45:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824355840001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":139257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:45:37] local.INFO: GPS data processed {"connection_id":139257,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:45:37] local.INFO: Acknowledgment sent {"connection_id":139257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:45:50] local.INFO: TCP Data received {"connection_id":137882,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:45:50] local.INFO: Processing buffer {"connection_id":137882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:45:50] local.INFO: IMEI packet received {"connection_id":137882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":137882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:45:55] local.INFO: TCP Data received {"connection_id":137882,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:45:55] local.INFO: Processing buffer {"connection_id":137882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:45:55] local.INFO: IMEI packet received {"connection_id":137882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":137882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:45:56] local.INFO: TCP Data received {"connection_id":137882,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab827c8012d196780071fee98003f004923..."} 
[2026-07-19 19:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab827c8012d196780071fee98003f004923..."} 
[2026-07-19 19:45:56] local.INFO: Processing buffer {"connection_id":137882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab827c8012d196780071fee98003f004923..."} 
[2026-07-19 19:45:56] local.INFO: Packet analysis {"connection_id":137882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab8"} 
[2026-07-19 19:45:56] local.INFO: Extracted packet for processing {"connection_id":137882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab8"} 
[2026-07-19 19:45:56] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533208,"longitude_deg":75.6639616,"latitude_deg":11.9533208,"altitude":63,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-07-19 19:45: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-07-19 19:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824401152001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638252544,"note":"Value kept but may cause issues"} 
[2026-07-19 19:45: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-07-19 19:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784470317000,"timestamp_ms":1784470317000,"timestamp_seconds":1784470317,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab827c8"} 
[2026-07-19 19:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-19 19:45: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-07-19 19: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-07-19 19:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824401152001,"66":12993,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1830572541638252544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824401152001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:45:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:45:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638252544,"description":"Unknown IO ID 45"} 
[2026-07-19 19:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824401152001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638252544}} 
[2026-07-19 19:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":137882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:45:56] local.INFO: GPS data processed {"connection_id":137882,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:45:56] local.INFO: Acknowledgment sent {"connection_id":137882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:46:11] local.INFO: TCP Data received {"connection_id":139257,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:46:11] local.INFO: Processing buffer {"connection_id":139257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:46:11] local.INFO: Packet analysis {"connection_id":139257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aba"} 
[2026-07-19 19:46:11] local.INFO: Extracted packet for processing {"connection_id":139257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aba"} 
[2026-07-19 19:46:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824355840001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:46: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-07-19 19:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784470441000,"timestamp_ms":1784470441000,"timestamp_seconds":1784470441,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aba0c28"} 
[2026-07-19 19:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:46:11] 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-07-19 19:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":139257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":139257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":139257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:46:11] 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-07-19 19:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824355840001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824355840001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:46:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:46:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824355840001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":139257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:46:11] local.INFO: GPS data processed {"connection_id":139257,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:46:11] local.INFO: Acknowledgment sent {"connection_id":139257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:46:27] local.INFO: TCP Data received {"connection_id":137882,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab827c8012d196780071fee98003f004923..."} 
[2026-07-19 19:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab827c8012d196780071fee98003f004923..."} 
[2026-07-19 19:46:27] local.INFO: Processing buffer {"connection_id":137882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab827c8012d196780071fee98003f004923..."} 
[2026-07-19 19:46:27] local.INFO: Packet analysis {"connection_id":137882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab8"} 
[2026-07-19 19:46:27] local.INFO: Extracted packet for processing {"connection_id":137882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab8"} 
[2026-07-19 19:46:27] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533208,"longitude_deg":75.6639616,"latitude_deg":11.9533208,"altitude":63,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-07-19 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-07-19 19:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824401152001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638252544,"note":"Value kept but may cause issues"} 
[2026-07-19 19:46: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-07-19 19:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784470317000,"timestamp_ms":1784470317000,"timestamp_seconds":1784470317,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab827c8"} 
[2026-07-19 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-07-19 19:46: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-07-19 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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-19 19:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 19:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824401152001,"66":12993,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1830572541638252544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824401152001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:46:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:46:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638252544,"description":"Unknown IO ID 45"} 
[2026-07-19 19:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824401152001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638252544}} 
[2026-07-19 19:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":137882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:46:27] local.INFO: GPS data processed {"connection_id":137882,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:46:27] local.INFO: Acknowledgment sent {"connection_id":137882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:46:31] local.INFO: TCP Data received {"connection_id":137884,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:46:31] local.INFO: Processing buffer {"connection_id":137884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:46:31] local.INFO: IMEI packet received {"connection_id":137884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":137884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:46:36] local.INFO: TCP Data received {"connection_id":137884,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:46:36] local.INFO: Processing buffer {"connection_id":137884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:46:36] local.INFO: IMEI packet received {"connection_id":137884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":137884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:46:38] local.INFO: TCP Data received {"connection_id":137884,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:46:38] local.INFO: Processing buffer {"connection_id":137884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:46:38] local.INFO: Packet analysis {"connection_id":137884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aba"} 
[2026-07-19 19:46:38] local.INFO: Extracted packet for processing {"connection_id":137884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aba"} 
[2026-07-19 19:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824355840001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:46: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-07-19 19:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784470441000,"timestamp_ms":1784470441000,"timestamp_seconds":1784470441,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aba0c28"} 
[2026-07-19 19:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824355840001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824355840001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:46:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:46:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824355840001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":137884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:46:38] local.INFO: GPS data processed {"connection_id":137884,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:46:38] local.INFO: Acknowledgment sent {"connection_id":137884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:46:51] local.INFO: TCP Data received {"connection_id":139258,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:46:51] local.INFO: Processing buffer {"connection_id":139258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:46:51] local.INFO: IMEI packet received {"connection_id":139258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":139258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:46:55] local.INFO: TCP Data received {"connection_id":139258,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:46:55] local.INFO: Processing buffer {"connection_id":139258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:46:55] local.INFO: IMEI packet received {"connection_id":139258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":139258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:46:56] local.INFO: TCP Data received {"connection_id":139258,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab827c8012d196780071fee98003f004923..."} 
[2026-07-19 19:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab827c8012d196780071fee98003f004923..."} 
[2026-07-19 19:46:56] local.INFO: Processing buffer {"connection_id":139258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab827c8012d196780071fee98003f004923..."} 
[2026-07-19 19:46:56] local.INFO: Packet analysis {"connection_id":139258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab8"} 
[2026-07-19 19:46:56] local.INFO: Extracted packet for processing {"connection_id":139258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab8"} 
[2026-07-19 19:46:56] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533208,"longitude_deg":75.6639616,"latitude_deg":11.9533208,"altitude":63,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-07-19 19:46: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-07-19 19:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824401152001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638252544,"note":"Value kept but may cause issues"} 
[2026-07-19 19:46: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-07-19 19:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784470317000,"timestamp_ms":1784470317000,"timestamp_seconds":1784470317,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab827c8"} 
[2026-07-19 19:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-19 19:46: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-07-19 19: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-07-19 19:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824401152001,"66":12993,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1830572541638252544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824401152001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:46:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:46:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638252544,"description":"Unknown IO ID 45"} 
[2026-07-19 19:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824401152001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638252544}} 
[2026-07-19 19:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":139258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:46:56] local.INFO: GPS data processed {"connection_id":139258,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:46:56] local.INFO: Acknowledgment sent {"connection_id":139258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:47:09] local.INFO: TCP Data received {"connection_id":137884,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:47:09] local.INFO: Processing buffer {"connection_id":137884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:47:09] local.INFO: Packet analysis {"connection_id":137884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aba"} 
[2026-07-19 19:47:09] local.INFO: Extracted packet for processing {"connection_id":137884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aba"} 
[2026-07-19 19:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824355840001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784470441000,"timestamp_ms":1784470441000,"timestamp_seconds":1784470441,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aba0c28"} 
[2026-07-19 19:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824355840001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824355840001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:47:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824355840001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":137884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:47:09] local.INFO: GPS data processed {"connection_id":137884,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:47:09] local.INFO: Acknowledgment sent {"connection_id":137884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:47:28] local.INFO: TCP Data received {"connection_id":139258,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ab827c8012d196780071fee98003f004923..."} 
[2026-07-19 19:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ab827c8012d196780071fee98003f004923..."} 
[2026-07-19 19:47:28] local.INFO: Processing buffer {"connection_id":139258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ab827c8012d196780071fee98003f004923..."} 
[2026-07-19 19:47:28] local.INFO: Packet analysis {"connection_id":139258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ab8"} 
[2026-07-19 19:47:28] local.INFO: Extracted packet for processing {"connection_id":139258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ab8"} 
[2026-07-19 19:47:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533208,"longitude_deg":75.6639616,"latitude_deg":11.9533208,"altitude":63,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-07-19 19:47:28] 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-07-19 19:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824401152001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638252544,"note":"Value kept but may cause issues"} 
[2026-07-19 19:47: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-07-19 19:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784470317000,"timestamp_ms":1784470317000,"timestamp_seconds":1784470317,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ab827c8"} 
[2026-07-19 19:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-19 19:47:28] 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-07-19 19: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-07-19 19:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824401152001,"66":12993,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1830572541638252544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824401152001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:47:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:47:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638252544,"description":"Unknown IO ID 45"} 
[2026-07-19 19:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824401152001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638252544}} 
[2026-07-19 19:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":139258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:47:28] local.INFO: GPS data processed {"connection_id":139258,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:47:28] local.INFO: Acknowledgment sent {"connection_id":139258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:47:30] local.INFO: TCP Data received {"connection_id":139259,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:47:30] local.INFO: Processing buffer {"connection_id":139259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:47:30] local.INFO: IMEI packet received {"connection_id":139259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":139259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:47:35] local.INFO: TCP Data received {"connection_id":139259,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:47:35] local.INFO: Processing buffer {"connection_id":139259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:47:35] local.INFO: IMEI packet received {"connection_id":139259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":139259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:47:36] local.INFO: TCP Data received {"connection_id":139259,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:47:36] local.INFO: Processing buffer {"connection_id":139259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:47:36] local.INFO: Packet analysis {"connection_id":139259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aba"} 
[2026-07-19 19:47:36] local.INFO: Extracted packet for processing {"connection_id":139259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aba"} 
[2026-07-19 19:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824355840001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:47: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-07-19 19:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784470441000,"timestamp_ms":1784470441000,"timestamp_seconds":1784470441,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aba0c28"} 
[2026-07-19 19:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:47: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-07-19 19:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:47: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-07-19 19:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824355840001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824355840001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:47:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:47:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824355840001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":139259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:47:36] local.INFO: GPS data processed {"connection_id":139259,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:47:36] local.INFO: Acknowledgment sent {"connection_id":139259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:47:50] local.INFO: TCP Data received {"connection_id":139260,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:47:50] local.INFO: Processing buffer {"connection_id":139260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:47:50] local.INFO: IMEI packet received {"connection_id":139260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":139260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:47:55] local.INFO: TCP Data received {"connection_id":139260,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:47:55] local.INFO: Processing buffer {"connection_id":139260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:47:55] local.INFO: IMEI packet received {"connection_id":139260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":139260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:47:56] local.INFO: TCP Data received {"connection_id":139260,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:47:56] local.INFO: Processing buffer {"connection_id":139260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:47:56] local.INFO: Packet analysis {"connection_id":139260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7abc"} 
[2026-07-19 19:47:56] local.INFO: Extracted packet for processing {"connection_id":139260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7abc"} 
[2026-07-19 19:47:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824401152001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638252544,"note":"Value kept but may cause issues"} 
[2026-07-19 19:47: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-07-19 19:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784470618000,"timestamp_ms":1784470618000,"timestamp_seconds":1784470618,"priority":1,"record_length":96,"hex_timestamp":"0000019f7abcbf90"} 
[2026-07-19 19:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-19 19:47: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-07-19 19:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824401152001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1830572541638252544},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824401152001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:47:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:47:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638252544,"description":"Unknown IO ID 45"} 
[2026-07-19 19:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824401152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638252544}} 
[2026-07-19 19:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":139260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:47:56] local.INFO: GPS data processed {"connection_id":139260,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:47:56] local.INFO: Acknowledgment sent {"connection_id":139260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:48:08] local.INFO: TCP Data received {"connection_id":139259,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:48:08] local.INFO: Processing buffer {"connection_id":139259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:48:08] local.INFO: Packet analysis {"connection_id":139259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aba"} 
[2026-07-19 19:48:08] local.INFO: Extracted packet for processing {"connection_id":139259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aba"} 
[2026-07-19 19:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824355840001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784470441000,"timestamp_ms":1784470441000,"timestamp_seconds":1784470441,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aba0c28"} 
[2026-07-19 19:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824355840001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824355840001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:48:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824355840001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":139259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:48:08] local.INFO: GPS data processed {"connection_id":139259,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:48:08] local.INFO: Acknowledgment sent {"connection_id":139259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:48:27] local.INFO: TCP Data received {"connection_id":139260,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:48:27] local.INFO: Processing buffer {"connection_id":139260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:48:27] local.INFO: Packet analysis {"connection_id":139260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7abc"} 
[2026-07-19 19:48:27] local.INFO: Extracted packet for processing {"connection_id":139260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7abc"} 
[2026-07-19 19:48:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824401152001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638252544,"note":"Value kept but may cause issues"} 
[2026-07-19 19:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784470618000,"timestamp_ms":1784470618000,"timestamp_seconds":1784470618,"priority":1,"record_length":96,"hex_timestamp":"0000019f7abcbf90"} 
[2026-07-19 19:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:48: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-07-19 19:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-19 19:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824401152001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1830572541638252544},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824401152001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:48:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:48:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638252544,"description":"Unknown IO ID 45"} 
[2026-07-19 19:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824401152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638252544}} 
[2026-07-19 19:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":139260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:48:27] local.INFO: GPS data processed {"connection_id":139260,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:48:27] local.INFO: Acknowledgment sent {"connection_id":139260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:48:30] local.INFO: TCP Data received {"connection_id":139261,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:48:30] local.INFO: Processing buffer {"connection_id":139261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:48:30] local.INFO: IMEI packet received {"connection_id":139261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":139261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:48:35] local.INFO: TCP Data received {"connection_id":139261,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:48:35] local.INFO: Processing buffer {"connection_id":139261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:48:35] local.INFO: IMEI packet received {"connection_id":139261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":139261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:48:37] local.INFO: TCP Data received {"connection_id":139261,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:48:37] local.INFO: Processing buffer {"connection_id":139261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:48:37] local.INFO: Packet analysis {"connection_id":139261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aba"} 
[2026-07-19 19:48:37] local.INFO: Extracted packet for processing {"connection_id":139261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aba"} 
[2026-07-19 19:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824355840001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:48: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-07-19 19:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784470441000,"timestamp_ms":1784470441000,"timestamp_seconds":1784470441,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aba0c28"} 
[2026-07-19 19:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19: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-07-19 19:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824355840001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824355840001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:48:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824355840001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":139261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:48:37] local.INFO: GPS data processed {"connection_id":139261,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:48:37] local.INFO: Acknowledgment sent {"connection_id":139261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:48:55] local.INFO: TCP Data received {"connection_id":137885,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:48:55] local.INFO: Processing buffer {"connection_id":137885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:48:55] local.INFO: IMEI packet received {"connection_id":137885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":137885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:49:00] local.INFO: TCP Data received {"connection_id":137885,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:49:00] local.INFO: Processing buffer {"connection_id":137885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:49:00] local.INFO: IMEI packet received {"connection_id":137885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":137885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:49:01] local.INFO: TCP Data received {"connection_id":137885,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:49:01] local.INFO: Processing buffer {"connection_id":137885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:49:01] local.INFO: Packet analysis {"connection_id":137885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7abc"} 
[2026-07-19 19:49:01] local.INFO: Extracted packet for processing {"connection_id":137885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7abc"} 
[2026-07-19 19:49:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 19:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824401152001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638252544,"note":"Value kept but may cause issues"} 
[2026-07-19 19:49: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-07-19 19:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784470618000,"timestamp_ms":1784470618000,"timestamp_seconds":1784470618,"priority":1,"record_length":96,"hex_timestamp":"0000019f7abcbf90"} 
[2026-07-19 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-07-19 19:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-19 19:49: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-07-19 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-07-19 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-07-19 19:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824401152001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1830572541638252544},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824401152001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:49:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:49:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638252544,"description":"Unknown IO ID 45"} 
[2026-07-19 19:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824401152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638252544}} 
[2026-07-19 19:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":137885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:49:01] local.INFO: GPS data processed {"connection_id":137885,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:49:01] local.INFO: Acknowledgment sent {"connection_id":137885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:49:06] local.INFO: TCP Data received {"connection_id":137885,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:49:06] local.INFO: Processing buffer {"connection_id":137885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:49:06] local.INFO: Packet analysis {"connection_id":137885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7abc"} 
[2026-07-19 19:49:06] local.INFO: Extracted packet for processing {"connection_id":137885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7abc"} 
[2026-07-19 19:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824401152001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638252544,"note":"Value kept but may cause issues"} 
[2026-07-19 19:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784470618000,"timestamp_ms":1784470618000,"timestamp_seconds":1784470618,"priority":1,"record_length":96,"hex_timestamp":"0000019f7abcbf90"} 
[2026-07-19 19:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-19 19:49:06] 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-07-19 19:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":137885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":137885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":137885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824401152001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1830572541638252544},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824401152001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:49:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638252544,"description":"Unknown IO ID 45"} 
[2026-07-19 19:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824401152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638252544}} 
[2026-07-19 19:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":137885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:49:06] local.INFO: GPS data processed {"connection_id":137885,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:49:06] local.INFO: Acknowledgment sent {"connection_id":137885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:49:08] local.INFO: TCP Data received {"connection_id":139261,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:49:08] local.INFO: Processing buffer {"connection_id":139261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:49:08] local.INFO: Packet analysis {"connection_id":139261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aba"} 
[2026-07-19 19:49:08] local.INFO: Extracted packet for processing {"connection_id":139261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aba"} 
[2026-07-19 19:49:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824355840001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784470441000,"timestamp_ms":1784470441000,"timestamp_seconds":1784470441,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aba0c28"} 
[2026-07-19 19:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824355840001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824355840001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:49:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:49:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824355840001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":139261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:49:08] local.INFO: GPS data processed {"connection_id":139261,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:49:08] local.INFO: Acknowledgment sent {"connection_id":139261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:49:30] local.INFO: TCP Data received {"connection_id":136804,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:49:30] local.INFO: Processing buffer {"connection_id":136804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:49:30] local.INFO: IMEI packet received {"connection_id":136804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":136804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:49:36] local.INFO: TCP Data received {"connection_id":136804,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:49:36] local.INFO: Processing buffer {"connection_id":136804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:49:36] local.INFO: IMEI packet received {"connection_id":136804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":136804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:49:37] local.INFO: TCP Data received {"connection_id":136804,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:49:37] local.INFO: Processing buffer {"connection_id":136804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aba0c28012d34c50006aa4dd80008009525..."} 
[2026-07-19 19:49:37] local.INFO: Packet analysis {"connection_id":136804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aba"} 
[2026-07-19 19:49:37] local.INFO: Extracted packet for processing {"connection_id":136804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aba"} 
[2026-07-19 19:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824355840001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:49: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-07-19 19:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784470441000,"timestamp_ms":1784470441000,"timestamp_seconds":1784470441,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aba0c28"} 
[2026-07-19 19:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:49:37] 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-07-19 19:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824355840001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824355840001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:49:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824355840001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":136804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:49:37] local.INFO: GPS data processed {"connection_id":136804,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:49:37] local.INFO: Acknowledgment sent {"connection_id":136804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:49:50] local.INFO: TCP Data received {"connection_id":136919,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:49:50] local.INFO: Processing buffer {"connection_id":136919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:49:50] local.INFO: IMEI packet received {"connection_id":136919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":136919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:49:55] local.INFO: TCP Data received {"connection_id":136919,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:49:55] local.INFO: Processing buffer {"connection_id":136919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:49:55] local.INFO: IMEI packet received {"connection_id":136919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":136919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:49:56] local.INFO: TCP Data received {"connection_id":136919,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:49:56] local.INFO: Processing buffer {"connection_id":136919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:49:56] local.INFO: Packet analysis {"connection_id":136919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7abc"} 
[2026-07-19 19:49:56] local.INFO: Extracted packet for processing {"connection_id":136919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7abc"} 
[2026-07-19 19:49:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824401152001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638252544,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784470618000,"timestamp_ms":1784470618000,"timestamp_seconds":1784470618,"priority":1,"record_length":96,"hex_timestamp":"0000019f7abcbf90"} 
[2026-07-19 19:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-19 19:49: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-07-19 19:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824401152001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1830572541638252544},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824401152001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:49:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:49:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638252544,"description":"Unknown IO ID 45"} 
[2026-07-19 19:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824401152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638252544}} 
[2026-07-19 19:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":136919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:49:56] local.INFO: GPS data processed {"connection_id":136919,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:49:56] local.INFO: Acknowledgment sent {"connection_id":136919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:50:08] local.INFO: TCP Data received {"connection_id":136804,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:50:08] local.INFO: Processing buffer {"connection_id":136804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:50:08] local.INFO: Packet analysis {"connection_id":136804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7abe"} 
[2026-07-19 19:50:08] local.INFO: Extracted packet for processing {"connection_id":136804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7abe"} 
[2026-07-19 19:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824432896001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784470742000,"timestamp_ms":1784470742000,"timestamp_seconds":1784470742,"priority":1,"record_length":96,"hex_timestamp":"0000019f7abea3f0"} 
[2026-07-19 19:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:50: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-07-19 19:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824432896001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824432896001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:50:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:50:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824432896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":136804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:50:08] local.INFO: GPS data processed {"connection_id":136804,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:50:08] local.INFO: Acknowledgment sent {"connection_id":136804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:50:28] local.INFO: TCP Data received {"connection_id":136919,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:50:28] local.INFO: Processing buffer {"connection_id":136919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:50:28] local.INFO: Packet analysis {"connection_id":136919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7abc"} 
[2026-07-19 19:50:28] local.INFO: Extracted packet for processing {"connection_id":136919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7abc"} 
[2026-07-19 19:50:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824401152001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638252544,"note":"Value kept but may cause issues"} 
[2026-07-19 19:50: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-07-19 19:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784470618000,"timestamp_ms":1784470618000,"timestamp_seconds":1784470618,"priority":1,"record_length":96,"hex_timestamp":"0000019f7abcbf90"} 
[2026-07-19 19:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-19 19:50:28] 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-07-19 19:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824401152001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1830572541638252544},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824401152001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:50:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:50:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638252544,"description":"Unknown IO ID 45"} 
[2026-07-19 19:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824401152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638252544}} 
[2026-07-19 19:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":136919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:50:28] local.INFO: GPS data processed {"connection_id":136919,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:50:28] local.INFO: Acknowledgment sent {"connection_id":136919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:50:30] local.INFO: TCP Data received {"connection_id":136805,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:50:30] local.INFO: Processing buffer {"connection_id":136805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:50:30] local.INFO: IMEI packet received {"connection_id":136805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":136805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:50:36] local.INFO: TCP Data received {"connection_id":136805,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:50:36] local.INFO: Processing buffer {"connection_id":136805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:50:36] local.INFO: IMEI packet received {"connection_id":136805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":136805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:50:37] local.INFO: TCP Data received {"connection_id":136805,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:50:37] local.INFO: Processing buffer {"connection_id":136805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:50:37] local.INFO: Packet analysis {"connection_id":136805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7abe"} 
[2026-07-19 19:50:37] local.INFO: Extracted packet for processing {"connection_id":136805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7abe"} 
[2026-07-19 19:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824432896001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:50: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-07-19 19:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784470742000,"timestamp_ms":1784470742000,"timestamp_seconds":1784470742,"priority":1,"record_length":96,"hex_timestamp":"0000019f7abea3f0"} 
[2026-07-19 19:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:50: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-07-19 19:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824432896001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824432896001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824432896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":136805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:50:37] local.INFO: GPS data processed {"connection_id":136805,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:50:37] local.INFO: Acknowledgment sent {"connection_id":136805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:50:50] local.INFO: TCP Data received {"connection_id":136921,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:50:50] local.INFO: Processing buffer {"connection_id":136921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:50:50] local.INFO: IMEI packet received {"connection_id":136921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":136921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:50:51] local.INFO: TCP Data received {"connection_id":136920,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136920,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:50:51] local.INFO: Processing buffer {"connection_id":136920,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:50:51] local.INFO: IMEI packet received {"connection_id":136920,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 19:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":136920,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:50:55] local.INFO: TCP Data received {"connection_id":136921,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:50:55] local.INFO: Processing buffer {"connection_id":136921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:50:55] local.INFO: IMEI packet received {"connection_id":136921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":136921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:50:56] local.INFO: TCP Data received {"connection_id":136921,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:50:56] local.INFO: Processing buffer {"connection_id":136921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:50:56] local.INFO: Packet analysis {"connection_id":136921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7abc"} 
[2026-07-19 19:50:56] local.INFO: Extracted packet for processing {"connection_id":136921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7abc"} 
[2026-07-19 19:50:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824401152001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638252544,"note":"Value kept but may cause issues"} 
[2026-07-19 19:50: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-07-19 19:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784470618000,"timestamp_ms":1784470618000,"timestamp_seconds":1784470618,"priority":1,"record_length":96,"hex_timestamp":"0000019f7abcbf90"} 
[2026-07-19 19:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-19 19:50: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-07-19 19: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-07-19 19:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824401152001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1830572541638252544},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824401152001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:50:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:50:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638252544,"description":"Unknown IO ID 45"} 
[2026-07-19 19:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824401152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638252544}} 
[2026-07-19 19:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":136921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:50:56] local.INFO: GPS data processed {"connection_id":136921,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:50:56] local.INFO: Acknowledgment sent {"connection_id":136921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:51:09] local.INFO: TCP Data received {"connection_id":136805,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:51:09] local.INFO: Processing buffer {"connection_id":136805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:51:09] local.INFO: Packet analysis {"connection_id":136805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7abe"} 
[2026-07-19 19:51:09] local.INFO: Extracted packet for processing {"connection_id":136805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7abe"} 
[2026-07-19 19:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824432896001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:51: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-07-19 19:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784470742000,"timestamp_ms":1784470742000,"timestamp_seconds":1784470742,"priority":1,"record_length":96,"hex_timestamp":"0000019f7abea3f0"} 
[2026-07-19 19:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:51: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-07-19 19:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824432896001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824432896001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:51:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824432896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":136805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:51:09] local.INFO: GPS data processed {"connection_id":136805,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:51:09] local.INFO: Acknowledgment sent {"connection_id":136805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:51:25] local.INFO: TCP Data received {"connection_id":136922,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:51:25] local.INFO: Processing buffer {"connection_id":136922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:51:25] local.INFO: IMEI packet received {"connection_id":136922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 19:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":136922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:51:27] local.INFO: TCP Data received {"connection_id":136921,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:51:27] local.INFO: Processing buffer {"connection_id":136921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:51:27] local.INFO: Packet analysis {"connection_id":136921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7abc"} 
[2026-07-19 19:51:27] local.INFO: Extracted packet for processing {"connection_id":136921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7abc"} 
[2026-07-19 19:51:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824401152001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638252544,"note":"Value kept but may cause issues"} 
[2026-07-19 19:51: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-07-19 19:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784470618000,"timestamp_ms":1784470618000,"timestamp_seconds":1784470618,"priority":1,"record_length":96,"hex_timestamp":"0000019f7abcbf90"} 
[2026-07-19 19:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:51: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-07-19 19:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-19 19:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824401152001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1830572541638252544},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824401152001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:51:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:51:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638252544,"description":"Unknown IO ID 45"} 
[2026-07-19 19:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824401152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638252544}} 
[2026-07-19 19:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":136921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:51:28] local.INFO: GPS data processed {"connection_id":136921,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:51:28] local.INFO: Acknowledgment sent {"connection_id":136921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:51:30] local.INFO: TCP Data received {"connection_id":137886,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:51:30] local.INFO: Processing buffer {"connection_id":137886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:51:30] local.INFO: IMEI packet received {"connection_id":137886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":137886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:51:36] local.INFO: TCP Data received {"connection_id":137886,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:51:36] local.INFO: Processing buffer {"connection_id":137886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:51:36] local.INFO: IMEI packet received {"connection_id":137886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":137886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:51:37] local.INFO: TCP Data received {"connection_id":137886,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:51:37] local.INFO: Processing buffer {"connection_id":137886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:51:37] local.INFO: Packet analysis {"connection_id":137886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7abe"} 
[2026-07-19 19:51:37] local.INFO: Extracted packet for processing {"connection_id":137886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7abe"} 
[2026-07-19 19:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824432896001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:51: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-07-19 19:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784470742000,"timestamp_ms":1784470742000,"timestamp_seconds":1784470742,"priority":1,"record_length":96,"hex_timestamp":"0000019f7abea3f0"} 
[2026-07-19 19:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824432896001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824432896001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:51:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824432896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":137886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:51:37] local.INFO: GPS data processed {"connection_id":137886,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:51:37] local.INFO: Acknowledgment sent {"connection_id":137886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:51:50] local.INFO: TCP Data received {"connection_id":139262,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:51:50] local.INFO: Processing buffer {"connection_id":139262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:51:50] local.INFO: IMEI packet received {"connection_id":139262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":139262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:51:55] local.INFO: TCP Data received {"connection_id":139262,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:51:55] local.INFO: Processing buffer {"connection_id":139262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:51:55] local.INFO: IMEI packet received {"connection_id":139262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":139262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:51:56] local.INFO: TCP Data received {"connection_id":139262,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:51:56] local.INFO: Processing buffer {"connection_id":139262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:51:56] local.INFO: Packet analysis {"connection_id":139262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7abc"} 
[2026-07-19 19:51:56] local.INFO: Extracted packet for processing {"connection_id":139262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7abc"} 
[2026-07-19 19:51:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824401152001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638252544,"note":"Value kept but may cause issues"} 
[2026-07-19 19:51: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-07-19 19:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784470618000,"timestamp_ms":1784470618000,"timestamp_seconds":1784470618,"priority":1,"record_length":96,"hex_timestamp":"0000019f7abcbf90"} 
[2026-07-19 19:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-19 19:51: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-07-19 19: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-07-19 19:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824401152001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1830572541638252544},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824401152001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:51:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:51:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638252544,"description":"Unknown IO ID 45"} 
[2026-07-19 19:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824401152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638252544}} 
[2026-07-19 19:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":139262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:51:56] local.INFO: GPS data processed {"connection_id":139262,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:51:56] local.INFO: Acknowledgment sent {"connection_id":139262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:52:08] local.INFO: TCP Data received {"connection_id":137886,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:52:08] local.INFO: Processing buffer {"connection_id":137886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:52:08] local.INFO: Packet analysis {"connection_id":137886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7abe"} 
[2026-07-19 19:52:08] local.INFO: Extracted packet for processing {"connection_id":137886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7abe"} 
[2026-07-19 19:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824432896001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784470742000,"timestamp_ms":1784470742000,"timestamp_seconds":1784470742,"priority":1,"record_length":96,"hex_timestamp":"0000019f7abea3f0"} 
[2026-07-19 19:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:52: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-07-19 19:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824432896001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824432896001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:52:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824432896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":137886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:52:08] local.INFO: GPS data processed {"connection_id":137886,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:52:08] local.INFO: Acknowledgment sent {"connection_id":137886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:52:27] local.INFO: TCP Data received {"connection_id":139262,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:52:27] local.INFO: Processing buffer {"connection_id":139262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7abcbf90012d196540071ff010003f004923..."} 
[2026-07-19 19:52:27] local.INFO: Packet analysis {"connection_id":139262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7abc"} 
[2026-07-19 19:52:27] local.INFO: Extracted packet for processing {"connection_id":139262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7abc"} 
[2026-07-19 19:52:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824401152001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638252544,"note":"Value kept but may cause issues"} 
[2026-07-19 19:52: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-07-19 19:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784470618000,"timestamp_ms":1784470618000,"timestamp_seconds":1784470618,"priority":1,"record_length":96,"hex_timestamp":"0000019f7abcbf90"} 
[2026-07-19 19:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:52: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-07-19 19: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-19 19:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824401152001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1830572541638252544},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824401152001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:52:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:52:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638252544,"description":"Unknown IO ID 45"} 
[2026-07-19 19:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824401152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638252544}} 
[2026-07-19 19:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":139262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:52:27] local.INFO: GPS data processed {"connection_id":139262,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:52:27] local.INFO: Acknowledgment sent {"connection_id":139262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:52:30] local.INFO: TCP Data received {"connection_id":136924,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:52:30] local.INFO: Processing buffer {"connection_id":136924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:52:30] local.INFO: IMEI packet received {"connection_id":136924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":136924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:52:35] local.INFO: TCP Data received {"connection_id":136924,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:52:35] local.INFO: Processing buffer {"connection_id":136924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:52:35] local.INFO: IMEI packet received {"connection_id":136924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":136924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:52:36] local.INFO: TCP Data received {"connection_id":136924,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:52:36] local.INFO: Processing buffer {"connection_id":136924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:52:36] local.INFO: Packet analysis {"connection_id":136924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7abe"} 
[2026-07-19 19:52:36] local.INFO: Extracted packet for processing {"connection_id":136924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7abe"} 
[2026-07-19 19:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824432896001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:52: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-07-19 19:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784470742000,"timestamp_ms":1784470742000,"timestamp_seconds":1784470742,"priority":1,"record_length":96,"hex_timestamp":"0000019f7abea3f0"} 
[2026-07-19 19:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:52: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-07-19 19:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824432896001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824432896001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:52:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:52:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824432896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":136924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:52:36] local.INFO: GPS data processed {"connection_id":136924,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:52:36] local.INFO: Acknowledgment sent {"connection_id":136924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:52:50] local.INFO: TCP Data received {"connection_id":136925,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:52:50] local.INFO: Processing buffer {"connection_id":136925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:52:50] local.INFO: IMEI packet received {"connection_id":136925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":136925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:52:55] local.INFO: TCP Data received {"connection_id":136925,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:52:55] local.INFO: Processing buffer {"connection_id":136925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:52:55] local.INFO: IMEI packet received {"connection_id":136925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":136925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:52:56] local.INFO: TCP Data received {"connection_id":136925,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:52:56] local.INFO: Processing buffer {"connection_id":136925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:52:56] local.INFO: Packet analysis {"connection_id":136925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac1"} 
[2026-07-19 19:52:56] local.INFO: Extracted packet for processing {"connection_id":136925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac1"} 
[2026-07-19 19:52:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824478208001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 19:52: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-07-19 19:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784470919000,"timestamp_ms":1784470919000,"timestamp_seconds":1784470919,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac15758"} 
[2026-07-19 19:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 19:52: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-07-19 19: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-07-19 19:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824478208001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824478208001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:52:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:52:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 19:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824478208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 19:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":136925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:52:56] local.INFO: GPS data processed {"connection_id":136925,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:52:56] local.INFO: Acknowledgment sent {"connection_id":136925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:53:08] local.INFO: TCP Data received {"connection_id":136924,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:53:08] local.INFO: Processing buffer {"connection_id":136924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:53:08] local.INFO: Packet analysis {"connection_id":136924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7abe"} 
[2026-07-19 19:53:08] local.INFO: Extracted packet for processing {"connection_id":136924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7abe"} 
[2026-07-19 19:53:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824432896001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:53: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-07-19 19:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784470742000,"timestamp_ms":1784470742000,"timestamp_seconds":1784470742,"priority":1,"record_length":96,"hex_timestamp":"0000019f7abea3f0"} 
[2026-07-19 19:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824432896001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824432896001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:53:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:53:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824432896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":136924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:53:08] local.INFO: GPS data processed {"connection_id":136924,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:53:08] local.INFO: Acknowledgment sent {"connection_id":136924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:53:27] local.INFO: TCP Data received {"connection_id":136925,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:53:27] local.INFO: Processing buffer {"connection_id":136925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:53:27] local.INFO: Packet analysis {"connection_id":136925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac1"} 
[2026-07-19 19:53:27] local.INFO: Extracted packet for processing {"connection_id":136925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac1"} 
[2026-07-19 19:53:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824478208001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 19:53: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-07-19 19:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784470919000,"timestamp_ms":1784470919000,"timestamp_seconds":1784470919,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac15758"} 
[2026-07-19 19:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 19:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824478208001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824478208001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:53:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:53:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 19:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824478208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 19:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":136925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:53:27] local.INFO: GPS data processed {"connection_id":136925,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:53:27] local.INFO: Acknowledgment sent {"connection_id":136925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:53:30] local.INFO: TCP Data received {"connection_id":137887,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:53:30] local.INFO: Processing buffer {"connection_id":137887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:53:30] local.INFO: IMEI packet received {"connection_id":137887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":137887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:53:35] local.INFO: TCP Data received {"connection_id":137887,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:53:35] local.INFO: Processing buffer {"connection_id":137887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:53:35] local.INFO: IMEI packet received {"connection_id":137887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":137887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:53:36] local.INFO: TCP Data received {"connection_id":137887,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:53:36] local.INFO: Processing buffer {"connection_id":137887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:53:36] local.INFO: Packet analysis {"connection_id":137887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7abe"} 
[2026-07-19 19:53:36] local.INFO: Extracted packet for processing {"connection_id":137887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7abe"} 
[2026-07-19 19:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824432896001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:53: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-07-19 19:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784470742000,"timestamp_ms":1784470742000,"timestamp_seconds":1784470742,"priority":1,"record_length":96,"hex_timestamp":"0000019f7abea3f0"} 
[2026-07-19 19:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:53: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-07-19 19:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824432896001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824432896001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:53:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:53:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824432896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":137887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:53:36] local.INFO: GPS data processed {"connection_id":137887,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:53:36] local.INFO: Acknowledgment sent {"connection_id":137887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:53:50] local.INFO: TCP Data received {"connection_id":137888,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:53:50] local.INFO: Processing buffer {"connection_id":137888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:53:50] local.INFO: IMEI packet received {"connection_id":137888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":137888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:53:55] local.INFO: TCP Data received {"connection_id":137888,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:53:55] local.INFO: Processing buffer {"connection_id":137888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:53:55] local.INFO: IMEI packet received {"connection_id":137888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":137888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:53:56] local.INFO: TCP Data received {"connection_id":137888,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:53:56] local.INFO: Processing buffer {"connection_id":137888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:53:56] local.INFO: Packet analysis {"connection_id":137888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac1"} 
[2026-07-19 19:53:56] local.INFO: Extracted packet for processing {"connection_id":137888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac1"} 
[2026-07-19 19:53:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824478208001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 19:53: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-07-19 19:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784470919000,"timestamp_ms":1784470919000,"timestamp_seconds":1784470919,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac15758"} 
[2026-07-19 19:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 19:53: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-07-19 19: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-07-19 19:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824478208001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824478208001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:53:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:53:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 19:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824478208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 19:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":137888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:53:56] local.INFO: GPS data processed {"connection_id":137888,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:53:56] local.INFO: Acknowledgment sent {"connection_id":137888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:54:08] local.INFO: TCP Data received {"connection_id":137887,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:54:08] local.INFO: Processing buffer {"connection_id":137887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:54:08] local.INFO: Packet analysis {"connection_id":137887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7abe"} 
[2026-07-19 19:54:08] local.INFO: Extracted packet for processing {"connection_id":137887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7abe"} 
[2026-07-19 19:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824432896001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784470742000,"timestamp_ms":1784470742000,"timestamp_seconds":1784470742,"priority":1,"record_length":96,"hex_timestamp":"0000019f7abea3f0"} 
[2026-07-19 19:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:54: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-07-19 19:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824432896001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824432896001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:54:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824432896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":137887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:54:08] local.INFO: GPS data processed {"connection_id":137887,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:54:08] local.INFO: Acknowledgment sent {"connection_id":137887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:54:27] local.INFO: TCP Data received {"connection_id":137888,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:54:28] local.INFO: Processing buffer {"connection_id":137888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:54:28] local.INFO: Packet analysis {"connection_id":137888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac1"} 
[2026-07-19 19:54:28] local.INFO: Extracted packet for processing {"connection_id":137888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac1"} 
[2026-07-19 19:54:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824478208001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 19:54: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-07-19 19:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784470919000,"timestamp_ms":1784470919000,"timestamp_seconds":1784470919,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac15758"} 
[2026-07-19 19:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 19:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824478208001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824478208001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:54:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:54:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 19:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824478208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 19:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":137888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:54:28] local.INFO: GPS data processed {"connection_id":137888,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:54:28] local.INFO: Acknowledgment sent {"connection_id":137888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:54:30] local.INFO: TCP Data received {"connection_id":139265,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:54:30] local.INFO: Processing buffer {"connection_id":139265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:54:30] local.INFO: IMEI packet received {"connection_id":139265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":139265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:54:35] local.INFO: TCP Data received {"connection_id":139265,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:54:35] local.INFO: Processing buffer {"connection_id":139265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:54:35] local.INFO: IMEI packet received {"connection_id":139265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":139265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:54:36] local.INFO: TCP Data received {"connection_id":139265,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:54:36] local.INFO: Processing buffer {"connection_id":139265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7abea3f0012d34c50006aa4dd80008009524..."} 
[2026-07-19 19:54:36] local.INFO: Packet analysis {"connection_id":139265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7abe"} 
[2026-07-19 19:54:36] local.INFO: Extracted packet for processing {"connection_id":139265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7abe"} 
[2026-07-19 19:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824432896001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:54: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-07-19 19:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784470742000,"timestamp_ms":1784470742000,"timestamp_seconds":1784470742,"priority":1,"record_length":96,"hex_timestamp":"0000019f7abea3f0"} 
[2026-07-19 19:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 19:54: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-07-19 19: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-07-19 19:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:54: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-07-19 19:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824432896001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824432896001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:54:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:54:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824432896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":139265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:54:36] local.INFO: GPS data processed {"connection_id":139265,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:54:36] local.INFO: Acknowledgment sent {"connection_id":139265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:54:50] local.INFO: TCP Data received {"connection_id":136806,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:54:50] local.INFO: Processing buffer {"connection_id":136806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:54:50] local.INFO: IMEI packet received {"connection_id":136806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":136806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:54:55] local.INFO: TCP Data received {"connection_id":136806,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:54:55] local.INFO: Processing buffer {"connection_id":136806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:54:55] local.INFO: IMEI packet received {"connection_id":136806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":136806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:54:56] local.INFO: TCP Data received {"connection_id":136806,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:54:56] local.INFO: Processing buffer {"connection_id":136806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:54:56] local.INFO: Packet analysis {"connection_id":136806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac1"} 
[2026-07-19 19:54:56] local.INFO: Extracted packet for processing {"connection_id":136806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac1"} 
[2026-07-19 19:54:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824478208001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 19:54: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-07-19 19:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784470919000,"timestamp_ms":1784470919000,"timestamp_seconds":1784470919,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac15758"} 
[2026-07-19 19:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 19:54: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-07-19 19:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824478208001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824478208001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:54:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:54:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 19:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824478208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 19:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":136806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:54:56] local.INFO: GPS data processed {"connection_id":136806,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:54:56] local.INFO: Acknowledgment sent {"connection_id":136806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:55:07] local.INFO: TCP Data received {"connection_id":139265,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:55:07] local.INFO: Processing buffer {"connection_id":139265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:55:07] local.INFO: Packet analysis {"connection_id":139265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac3"} 
[2026-07-19 19:55:07] local.INFO: Extracted packet for processing {"connection_id":139265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac3"} 
[2026-07-19 19:55:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824509952001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:55: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-07-19 19:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784471043000,"timestamp_ms":1784471043000,"timestamp_seconds":1784471043,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac33bb8"} 
[2026-07-19 19:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 19:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":139265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":139265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":139265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:55:07] 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-07-19 19:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824509952001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824509952001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:55:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:55:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824509952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":139265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:55:07] local.INFO: GPS data processed {"connection_id":139265,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:55:07] local.INFO: Acknowledgment sent {"connection_id":139265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:55:28] local.INFO: TCP Data received {"connection_id":136806,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:55:28] local.INFO: Processing buffer {"connection_id":136806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:55:28] local.INFO: Packet analysis {"connection_id":136806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac1"} 
[2026-07-19 19:55:28] local.INFO: Extracted packet for processing {"connection_id":136806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac1"} 
[2026-07-19 19:55:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824478208001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 19:55: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-07-19 19:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784470919000,"timestamp_ms":1784470919000,"timestamp_seconds":1784470919,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac15758"} 
[2026-07-19 19:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 19:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824478208001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824478208001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:55:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:55:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 19:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824478208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 19:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":136806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:55:28] local.INFO: GPS data processed {"connection_id":136806,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:55:28] local.INFO: Acknowledgment sent {"connection_id":136806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:55:30] local.INFO: TCP Data received {"connection_id":136808,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:55:30] local.INFO: Processing buffer {"connection_id":136808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:55:30] local.INFO: IMEI packet received {"connection_id":136808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":136808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:55:35] local.INFO: TCP Data received {"connection_id":136808,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:55:35] local.INFO: Processing buffer {"connection_id":136808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:55:35] local.INFO: IMEI packet received {"connection_id":136808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":136808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:55:36] local.INFO: TCP Data received {"connection_id":136808,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:55:36] local.INFO: Processing buffer {"connection_id":136808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:55:36] local.INFO: Packet analysis {"connection_id":136808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac3"} 
[2026-07-19 19:55:36] local.INFO: Extracted packet for processing {"connection_id":136808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac3"} 
[2026-07-19 19:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824509952001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:55: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-07-19 19:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784471043000,"timestamp_ms":1784471043000,"timestamp_seconds":1784471043,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac33bb8"} 
[2026-07-19 19:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 19:55: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-07-19 19:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:55: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-07-19 19:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824509952001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824509952001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:55:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:55:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824509952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":136808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:55:37] local.INFO: GPS data processed {"connection_id":136808,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:55:37] local.INFO: Acknowledgment sent {"connection_id":136808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:55:55] local.INFO: TCP Data received {"connection_id":136809,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:55:55] local.INFO: Processing buffer {"connection_id":136809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:55:55] local.INFO: IMEI packet received {"connection_id":136809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":136809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:56:00] local.INFO: TCP Data received {"connection_id":136809,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:56:00] local.INFO: Processing buffer {"connection_id":136809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:56:00] local.INFO: IMEI packet received {"connection_id":136809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":136809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:56:01] local.INFO: TCP Data received {"connection_id":136809,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:56:01] local.INFO: Processing buffer {"connection_id":136809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:56:01] local.INFO: Packet analysis {"connection_id":136809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac1"} 
[2026-07-19 19:56:01] local.INFO: Extracted packet for processing {"connection_id":136809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac1"} 
[2026-07-19 19:56:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824478208001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 19:56: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-07-19 19:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784470919000,"timestamp_ms":1784470919000,"timestamp_seconds":1784470919,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac15758"} 
[2026-07-19 19:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 19:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824478208001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824478208001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:56:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:56:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 19:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824478208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 19:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":136809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:56:01] local.INFO: GPS data processed {"connection_id":136809,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:56:01] local.INFO: Acknowledgment sent {"connection_id":136809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:56:06] local.INFO: TCP Data received {"connection_id":136809,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:56:06] local.INFO: Processing buffer {"connection_id":136809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:56:06] local.INFO: Packet analysis {"connection_id":136809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac1"} 
[2026-07-19 19:56:06] local.INFO: Extracted packet for processing {"connection_id":136809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac1"} 
[2026-07-19 19:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824478208001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 19:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784470919000,"timestamp_ms":1784470919000,"timestamp_seconds":1784470919,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac15758"} 
[2026-07-19 19:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 19:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824478208001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824478208001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:56:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 19:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824478208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 19:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":136809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:56:06] local.INFO: GPS data processed {"connection_id":136809,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:56:06] local.INFO: Acknowledgment sent {"connection_id":136809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:56:08] local.INFO: TCP Data received {"connection_id":136808,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:56:08] local.INFO: Processing buffer {"connection_id":136808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:56:08] local.INFO: Packet analysis {"connection_id":136808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac3"} 
[2026-07-19 19:56:08] local.INFO: Extracted packet for processing {"connection_id":136808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac3"} 
[2026-07-19 19:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824509952001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784471043000,"timestamp_ms":1784471043000,"timestamp_seconds":1784471043,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac33bb8"} 
[2026-07-19 19:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":53,"data_length":795,"current_offset":136} 
[2026-07-19 19:56: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-07-19 19: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-07-19 19:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824509952001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824509952001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:56:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824509952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":136808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:56:08] local.INFO: GPS data processed {"connection_id":136808,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:56:08] local.INFO: Acknowledgment sent {"connection_id":136808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:56:30] local.INFO: TCP Data received {"connection_id":136810,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:56:30] local.INFO: Processing buffer {"connection_id":136810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:56:30] local.INFO: IMEI packet received {"connection_id":136810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":136810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:56:35] local.INFO: TCP Data received {"connection_id":136810,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:56:35] local.INFO: Processing buffer {"connection_id":136810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:56:35] local.INFO: IMEI packet received {"connection_id":136810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":136810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:56:36] local.INFO: TCP Data received {"connection_id":136810,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:56:36] local.INFO: Processing buffer {"connection_id":136810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:56:36] local.INFO: Packet analysis {"connection_id":136810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac3"} 
[2026-07-19 19:56:36] local.INFO: Extracted packet for processing {"connection_id":136810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac3"} 
[2026-07-19 19:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824509952001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784471043000,"timestamp_ms":1784471043000,"timestamp_seconds":1784471043,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac33bb8"} 
[2026-07-19 19:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 19:56: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-07-19 19:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19: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-07-19 19:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824509952001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824509952001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:56:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:56:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824509952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":136810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:56:36] local.INFO: GPS data processed {"connection_id":136810,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:56:36] local.INFO: Acknowledgment sent {"connection_id":136810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:56:50] local.INFO: TCP Data received {"connection_id":139267,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:56:50] local.INFO: Processing buffer {"connection_id":139267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:56:50] local.INFO: IMEI packet received {"connection_id":139267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":139267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:56:55] local.INFO: TCP Data received {"connection_id":139266,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:56:55] local.INFO: Processing buffer {"connection_id":139266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:56:55] local.INFO: IMEI packet received {"connection_id":139266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 19:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":139266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:56:55] local.INFO: TCP Data received {"connection_id":139267,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:56:55] local.INFO: Processing buffer {"connection_id":139267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:56:55] local.INFO: IMEI packet received {"connection_id":139267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":139267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:56:56] local.INFO: TCP Data received {"connection_id":139267,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:56:56] local.INFO: Processing buffer {"connection_id":139267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:56:56] local.INFO: Packet analysis {"connection_id":139267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac1"} 
[2026-07-19 19:56:56] local.INFO: Extracted packet for processing {"connection_id":139267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac1"} 
[2026-07-19 19:56:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824478208001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784470919000,"timestamp_ms":1784470919000,"timestamp_seconds":1784470919,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac15758"} 
[2026-07-19 19:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 19:56: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-07-19 19: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-07-19 19:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824478208001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824478208001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:56:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:56:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 19:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824478208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 19:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":139267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:56:56] local.INFO: GPS data processed {"connection_id":139267,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:56:56] local.INFO: Acknowledgment sent {"connection_id":139267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:57:08] local.INFO: TCP Data received {"connection_id":136810,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:57:08] local.INFO: Processing buffer {"connection_id":136810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:57:08] local.INFO: Packet analysis {"connection_id":136810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac3"} 
[2026-07-19 19:57:08] local.INFO: Extracted packet for processing {"connection_id":136810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac3"} 
[2026-07-19 19:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 19:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824509952001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:57: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-07-19 19:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784471043000,"timestamp_ms":1784471043000,"timestamp_seconds":1784471043,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac33bb8"} 
[2026-07-19 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-07-19 19:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 19:57: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-07-19 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-07-19 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-07-19 19:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:57: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-07-19 19:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824509952001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824509952001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:57:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824509952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":136810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:57:08] local.INFO: GPS data processed {"connection_id":136810,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:57:08] local.INFO: Acknowledgment sent {"connection_id":136810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:57:25] local.INFO: TCP Data received {"connection_id":137889,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:57:25] local.INFO: Processing buffer {"connection_id":137889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 19:57:25] local.INFO: IMEI packet received {"connection_id":137889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 19:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":137889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:57:27] local.INFO: TCP Data received {"connection_id":139267,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:57:27] local.INFO: Processing buffer {"connection_id":139267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac15758012d196540071ff010003f004922..."} 
[2026-07-19 19:57:27] local.INFO: Packet analysis {"connection_id":139267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac1"} 
[2026-07-19 19:57:27] local.INFO: Extracted packet for processing {"connection_id":139267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac1"} 
[2026-07-19 19:57:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824478208001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 19:57: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-07-19 19:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784470919000,"timestamp_ms":1784470919000,"timestamp_seconds":1784470919,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac15758"} 
[2026-07-19 19:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 19:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824478208001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824478208001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:57:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:57:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 19:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824478208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 19:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":139267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:57:27] local.INFO: GPS data processed {"connection_id":139267,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:57:27] local.INFO: Acknowledgment sent {"connection_id":139267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:57:31] local.INFO: TCP Data received {"connection_id":136811,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:57:31] local.INFO: Processing buffer {"connection_id":136811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:57:31] local.INFO: IMEI packet received {"connection_id":136811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":136811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:57:35] local.INFO: TCP Data received {"connection_id":136811,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:57:35] local.INFO: Processing buffer {"connection_id":136811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:57:35] local.INFO: IMEI packet received {"connection_id":136811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":136811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:57:37] local.INFO: TCP Data received {"connection_id":136811,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:57:37] local.INFO: Processing buffer {"connection_id":136811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:57:37] local.INFO: Packet analysis {"connection_id":136811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac3"} 
[2026-07-19 19:57:37] local.INFO: Extracted packet for processing {"connection_id":136811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac3"} 
[2026-07-19 19:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824509952001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:57: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-07-19 19:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784471043000,"timestamp_ms":1784471043000,"timestamp_seconds":1784471043,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac33bb8"} 
[2026-07-19 19:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 19:57: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-07-19 19:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824509952001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824509952001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:57:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824509952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":136811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:57:37] local.INFO: GPS data processed {"connection_id":136811,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:57:37] local.INFO: Acknowledgment sent {"connection_id":136811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:57:50] local.INFO: TCP Data received {"connection_id":139268,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:57:50] local.INFO: Processing buffer {"connection_id":139268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:57:50] local.INFO: IMEI packet received {"connection_id":139268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":139268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:57:55] local.INFO: TCP Data received {"connection_id":139268,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:57:55] local.INFO: Processing buffer {"connection_id":139268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:57:55] local.INFO: IMEI packet received {"connection_id":139268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":139268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:57:56] local.INFO: TCP Data received {"connection_id":139268,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 19:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 19:57:56] local.INFO: Processing buffer {"connection_id":139268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 19:57:56] local.INFO: Packet analysis {"connection_id":139268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac5"} 
[2026-07-19 19:57:56] local.INFO: Extracted packet for processing {"connection_id":139268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac5"} 
[2026-07-19 19:57:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824555264001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 19:57: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-07-19 19:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784471220000,"timestamp_ms":1784471220000,"timestamp_seconds":1784471220,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac5ef20"} 
[2026-07-19 19:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:57: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-07-19 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 19:57: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-07-19 19: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-07-19 19:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824555264001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824555264001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:57:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:57:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 19:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824555264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 19:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":139268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:57:56] local.INFO: GPS data processed {"connection_id":139268,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:57:56] local.INFO: Acknowledgment sent {"connection_id":139268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:58:08] local.INFO: TCP Data received {"connection_id":136811,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:58:08] local.INFO: Processing buffer {"connection_id":136811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:58:08] local.INFO: Packet analysis {"connection_id":136811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac3"} 
[2026-07-19 19:58:08] local.INFO: Extracted packet for processing {"connection_id":136811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac3"} 
[2026-07-19 19:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824509952001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19: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-07-19 19:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784471043000,"timestamp_ms":1784471043000,"timestamp_seconds":1784471043,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac33bb8"} 
[2026-07-19 19:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 19:58: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-07-19 19: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-07-19 19:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824509952001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824509952001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:58:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824509952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":136811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:58:08] local.INFO: GPS data processed {"connection_id":136811,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:58:08] local.INFO: Acknowledgment sent {"connection_id":136811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:58:27] local.INFO: TCP Data received {"connection_id":139268,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 19:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 19:58:27] local.INFO: Processing buffer {"connection_id":139268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 19:58:27] local.INFO: Packet analysis {"connection_id":139268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac5"} 
[2026-07-19 19:58:27] local.INFO: Extracted packet for processing {"connection_id":139268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac5"} 
[2026-07-19 19:58:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19:58: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-07-19 19:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824555264001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 19:58: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-07-19 19:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784471220000,"timestamp_ms":1784471220000,"timestamp_seconds":1784471220,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac5ef20"} 
[2026-07-19 19:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 19:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824555264001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824555264001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:58:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:58:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 19:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824555264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 19:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":139268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:58:27] local.INFO: GPS data processed {"connection_id":139268,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:58:27] local.INFO: Acknowledgment sent {"connection_id":139268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:58:36] local.INFO: TCP Data received {"connection_id":136813,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:58:36] local.INFO: Processing buffer {"connection_id":136813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:58:36] local.INFO: IMEI packet received {"connection_id":136813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":136813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:58:41] local.INFO: TCP Data received {"connection_id":136813,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:58:41] local.INFO: Processing buffer {"connection_id":136813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:58:41] local.INFO: IMEI packet received {"connection_id":136813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":136813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:58:42] local.INFO: TCP Data received {"connection_id":136813,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:58:42] local.INFO: Processing buffer {"connection_id":136813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:58:42] local.INFO: Packet analysis {"connection_id":136813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac3"} 
[2026-07-19 19:58:42] local.INFO: Extracted packet for processing {"connection_id":136813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac3"} 
[2026-07-19 19:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824509952001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784471043000,"timestamp_ms":1784471043000,"timestamp_seconds":1784471043,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac33bb8"} 
[2026-07-19 19:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 19:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824509952001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824509952001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:58:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:58:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824509952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":136813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:58:42] local.INFO: GPS data processed {"connection_id":136813,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:58:42] local.INFO: Acknowledgment sent {"connection_id":136813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:58:46] local.INFO: TCP Data received {"connection_id":136813,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:58:46] local.INFO: Processing buffer {"connection_id":136813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:58:46] local.INFO: Packet analysis {"connection_id":136813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac3"} 
[2026-07-19 19:58:46] local.INFO: Extracted packet for processing {"connection_id":136813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac3"} 
[2026-07-19 19:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824509952001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 19:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784471043000,"timestamp_ms":1784471043000,"timestamp_seconds":1784471043,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac33bb8"} 
[2026-07-19 19:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 19:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":136813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":136813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":136813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824509952001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 19:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824509952001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:58:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824509952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":136813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:58:46] local.INFO: GPS data processed {"connection_id":136813,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:58:46] local.INFO: Acknowledgment sent {"connection_id":136813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:58:50] local.INFO: TCP Data received {"connection_id":136926,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:58:50] local.INFO: Processing buffer {"connection_id":136926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:58:50] local.INFO: IMEI packet received {"connection_id":136926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":136926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:58:55] local.INFO: TCP Data received {"connection_id":136926,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:58:55] local.INFO: Processing buffer {"connection_id":136926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:58:55] local.INFO: IMEI packet received {"connection_id":136926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":136926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:58:56] local.INFO: TCP Data received {"connection_id":136926,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 19:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 19:58:56] local.INFO: Processing buffer {"connection_id":136926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 19:58:56] local.INFO: Packet analysis {"connection_id":136926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac5"} 
[2026-07-19 19:58:56] local.INFO: Extracted packet for processing {"connection_id":136926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac5"} 
[2026-07-19 19:58:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824555264001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 19:58: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-07-19 19:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784471220000,"timestamp_ms":1784471220000,"timestamp_seconds":1784471220,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac5ef20"} 
[2026-07-19 19:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:58: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-07-19 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 19:58: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-07-19 19: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-07-19 19:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824555264001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824555264001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:58:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:58:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 19:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824555264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 19:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":136926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:58:56] local.INFO: GPS data processed {"connection_id":136926,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:58:56] local.INFO: Acknowledgment sent {"connection_id":136926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:59:27] local.INFO: TCP Data received {"connection_id":136926,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 19:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 19:59:27] local.INFO: Processing buffer {"connection_id":136926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 19:59:27] local.INFO: Packet analysis {"connection_id":136926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac5"} 
[2026-07-19 19:59:27] local.INFO: Extracted packet for processing {"connection_id":136926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac5"} 
[2026-07-19 19:59:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824555264001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 19:59: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-07-19 19:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784471220000,"timestamp_ms":1784471220000,"timestamp_seconds":1784471220,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac5ef20"} 
[2026-07-19 19:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 19:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 19: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-07-19 19:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824555264001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824555264001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:59:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:59:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 19:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824555264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 19:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":136926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:59:27] local.INFO: GPS data processed {"connection_id":136926,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:59:27] local.INFO: Acknowledgment sent {"connection_id":136926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:59:30] local.INFO: TCP Data received {"connection_id":136814,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:59:30] local.INFO: Processing buffer {"connection_id":136814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:59:30] local.INFO: IMEI packet received {"connection_id":136814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 19:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":136814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:59:35] local.INFO: TCP Data received {"connection_id":136814,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:59:35] local.INFO: Processing buffer {"connection_id":136814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 19:59:35] local.INFO: IMEI packet received {"connection_id":136814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 19:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":136814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:59:36] local.INFO: TCP Data received {"connection_id":136814,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:59:36] local.INFO: Processing buffer {"connection_id":136814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac33bb8012d34c50006aa4dd80008009526..."} 
[2026-07-19 19:59:36] local.INFO: Packet analysis {"connection_id":136814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac3"} 
[2026-07-19 19:59:36] local.INFO: Extracted packet for processing {"connection_id":136814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac3"} 
[2026-07-19 19:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 19:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 19:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824509952001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 19:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 19:59: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-07-19 19:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784471043000,"timestamp_ms":1784471043000,"timestamp_seconds":1784471043,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac33bb8"} 
[2026-07-19 19:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 19:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 19:59: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-07-19 19:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 19:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 19:59:36] 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-07-19 19:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 19:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 19:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824509952001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 19:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 19:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 19:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824509952001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:59:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 19:59:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 19:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 19:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824509952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 19:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":136814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:59:36] local.INFO: GPS data processed {"connection_id":136814,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:59:36] local.INFO: Acknowledgment sent {"connection_id":136814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 19:59:50] local.INFO: TCP Data received {"connection_id":136928,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:59:50] local.INFO: Processing buffer {"connection_id":136928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:59:50] local.INFO: IMEI packet received {"connection_id":136928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 19:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":136928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 19:59:55] local.INFO: TCP Data received {"connection_id":136928,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:59:55] local.INFO: Processing buffer {"connection_id":136928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 19:59:55] local.INFO: IMEI packet received {"connection_id":136928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 19:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":136928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 19:59:56] local.INFO: TCP Data received {"connection_id":136928,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 19:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 19:59:56] local.INFO: Processing buffer {"connection_id":136928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 19:59:56] local.INFO: Packet analysis {"connection_id":136928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac5"} 
[2026-07-19 19:59:56] local.INFO: Extracted packet for processing {"connection_id":136928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac5"} 
[2026-07-19 19:59:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 19: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-07-19 19:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824555264001,"note":"Value kept but may cause issues"} 
[2026-07-19 19:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 19:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 19:59: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-07-19 19:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784471220000,"timestamp_ms":1784471220000,"timestamp_seconds":1784471220,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac5ef20"} 
[2026-07-19 19:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 19:59: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-07-19 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 19:59: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-07-19 19: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-07-19 19:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 19:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 19:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 19:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 19:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 19:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 19:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 19:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824555264001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 19:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 19:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 19:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824555264001,"description":"Unknown IO ID 0"} 
[2026-07-19 19:59:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 19:59:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 19:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 19:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 19:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824555264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 19:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":136928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 19:59:56] local.INFO: GPS data processed {"connection_id":136928,"processed":1,"errors":0,"total":1} 
[2026-07-19 19:59:56] local.INFO: Acknowledgment sent {"connection_id":136928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:00:07] local.INFO: TCP Data received {"connection_id":136814,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:00:07] local.INFO: Processing buffer {"connection_id":136814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:00:07] local.INFO: Packet analysis {"connection_id":136814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac7"} 
[2026-07-19 20:00:07] local.INFO: Extracted packet for processing {"connection_id":136814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac7"} 
[2026-07-19 20:00:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824587008001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:00: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-07-19 20:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784471344000,"timestamp_ms":1784471344000,"timestamp_seconds":1784471344,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac7d380"} 
[2026-07-19 20:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:00:07] 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-07-19 20:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824587008001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824587008001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:00:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:00:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824587008001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":136814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:00:07] local.INFO: GPS data processed {"connection_id":136814,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:00:07] local.INFO: Acknowledgment sent {"connection_id":136814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:00:27] local.INFO: TCP Data received {"connection_id":136928,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 20:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 20:00:27] local.INFO: Processing buffer {"connection_id":136928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 20:00:27] local.INFO: Packet analysis {"connection_id":136928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac5"} 
[2026-07-19 20:00:27] local.INFO: Extracted packet for processing {"connection_id":136928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac5"} 
[2026-07-19 20:00:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824555264001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:00: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-07-19 20:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784471220000,"timestamp_ms":1784471220000,"timestamp_seconds":1784471220,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac5ef20"} 
[2026-07-19 20:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824555264001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824555264001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:00:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:00:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824555264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":136928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:00:27] local.INFO: GPS data processed {"connection_id":136928,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:00:27] local.INFO: Acknowledgment sent {"connection_id":136928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:00:30] local.INFO: TCP Data received {"connection_id":136816,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:00:30] local.INFO: Processing buffer {"connection_id":136816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:00:30] local.INFO: IMEI packet received {"connection_id":136816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":136816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:00:35] local.INFO: TCP Data received {"connection_id":136816,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:00:35] local.INFO: Processing buffer {"connection_id":136816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:00:35] local.INFO: IMEI packet received {"connection_id":136816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":136816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:00:36] local.INFO: TCP Data received {"connection_id":136816,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:00:36] local.INFO: Processing buffer {"connection_id":136816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:00:36] local.INFO: Packet analysis {"connection_id":136816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac7"} 
[2026-07-19 20:00:36] local.INFO: Extracted packet for processing {"connection_id":136816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac7"} 
[2026-07-19 20:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824587008001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:00: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-07-19 20:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784471344000,"timestamp_ms":1784471344000,"timestamp_seconds":1784471344,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac7d380"} 
[2026-07-19 20:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:00: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-07-19 20:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:00: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-07-19 20:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824587008001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824587008001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:00:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824587008001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":136816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:00:36] local.INFO: GPS data processed {"connection_id":136816,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:00:36] local.INFO: Acknowledgment sent {"connection_id":136816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:00:55] local.INFO: TCP Data received {"connection_id":136817,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:00:55] local.INFO: Processing buffer {"connection_id":136817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:00:55] local.INFO: IMEI packet received {"connection_id":136817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":136817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:01:00] local.INFO: TCP Data received {"connection_id":136817,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:01:00] local.INFO: Processing buffer {"connection_id":136817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:01:00] local.INFO: IMEI packet received {"connection_id":136817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":136817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:01:01] local.INFO: TCP Data received {"connection_id":136817,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 20:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 20:01:01] local.INFO: Processing buffer {"connection_id":136817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 20:01:01] local.INFO: Packet analysis {"connection_id":136817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac5"} 
[2026-07-19 20:01:01] local.INFO: Extracted packet for processing {"connection_id":136817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac5"} 
[2026-07-19 20:01:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 20:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824555264001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:01: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-07-19 20:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784471220000,"timestamp_ms":1784471220000,"timestamp_seconds":1784471220,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac5ef20"} 
[2026-07-19 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-07-19 20:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 20:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824555264001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824555264001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:01:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:01:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824555264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":136817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:01:01] local.INFO: GPS data processed {"connection_id":136817,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:01:01] local.INFO: Acknowledgment sent {"connection_id":136817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:01:06] local.INFO: TCP Data received {"connection_id":136817,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 20:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 20:01:06] local.INFO: Processing buffer {"connection_id":136817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 20:01:06] local.INFO: Packet analysis {"connection_id":136817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac5"} 
[2026-07-19 20:01:06] local.INFO: Extracted packet for processing {"connection_id":136817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac5"} 
[2026-07-19 20:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824555264001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784471220000,"timestamp_ms":1784471220000,"timestamp_seconds":1784471220,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac5ef20"} 
[2026-07-19 20:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824555264001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824555264001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:01:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824555264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":136817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:01:06] local.INFO: GPS data processed {"connection_id":136817,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:01:06] local.INFO: Acknowledgment sent {"connection_id":136817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:01:09] local.INFO: TCP Data received {"connection_id":136816,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:01:09] local.INFO: Processing buffer {"connection_id":136816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:01:09] local.INFO: Packet analysis {"connection_id":136816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac7"} 
[2026-07-19 20:01:09] local.INFO: Extracted packet for processing {"connection_id":136816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac7"} 
[2026-07-19 20:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824587008001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:01: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-07-19 20:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784471344000,"timestamp_ms":1784471344000,"timestamp_seconds":1784471344,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac7d380"} 
[2026-07-19 20:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:01:09] 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-07-19 20:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824587008001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824587008001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:01:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:01:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824587008001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":136816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:01:09] local.INFO: GPS data processed {"connection_id":136816,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:01:09] local.INFO: Acknowledgment sent {"connection_id":136816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:01:30] local.INFO: TCP Data received {"connection_id":139270,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:01:30] local.INFO: Processing buffer {"connection_id":139270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:01:30] local.INFO: IMEI packet received {"connection_id":139270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":139270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:01:35] local.INFO: TCP Data received {"connection_id":139270,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:01:35] local.INFO: Processing buffer {"connection_id":139270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:01:35] local.INFO: IMEI packet received {"connection_id":139270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":139270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:01:36] local.INFO: TCP Data received {"connection_id":139270,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:01:36] local.INFO: Processing buffer {"connection_id":139270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:01:36] local.INFO: Packet analysis {"connection_id":139270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac7"} 
[2026-07-19 20:01:36] local.INFO: Extracted packet for processing {"connection_id":139270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac7"} 
[2026-07-19 20:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824587008001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784471344000,"timestamp_ms":1784471344000,"timestamp_seconds":1784471344,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac7d380"} 
[2026-07-19 20:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:01: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-07-19 20: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-07-19 20:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824587008001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824587008001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:01:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824587008001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":139270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:01:36] local.INFO: GPS data processed {"connection_id":139270,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:01:36] local.INFO: Acknowledgment sent {"connection_id":139270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:01:50] local.INFO: TCP Data received {"connection_id":137890,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:01:50] local.INFO: Processing buffer {"connection_id":137890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:01:50] local.INFO: IMEI packet received {"connection_id":137890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":137890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:01:55] local.INFO: TCP Data received {"connection_id":137890,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:01:55] local.INFO: Processing buffer {"connection_id":137890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:01:55] local.INFO: IMEI packet received {"connection_id":137890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":137890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:01:56] local.INFO: TCP Data received {"connection_id":137890,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 20:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 20:01:56] local.INFO: Processing buffer {"connection_id":137890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 20:01:56] local.INFO: Packet analysis {"connection_id":137890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac5"} 
[2026-07-19 20:01:56] local.INFO: Extracted packet for processing {"connection_id":137890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac5"} 
[2026-07-19 20:01:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 20:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824555264001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:01: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-07-19 20:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784471220000,"timestamp_ms":1784471220000,"timestamp_seconds":1784471220,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac5ef20"} 
[2026-07-19 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-07-19 20:01: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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:01: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-07-19 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-07-19 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-07-19 20:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824555264001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824555264001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:01:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:01:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824555264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":137890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:01:56] local.INFO: GPS data processed {"connection_id":137890,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:01:56] local.INFO: Acknowledgment sent {"connection_id":137890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:02:08] local.INFO: TCP Data received {"connection_id":139270,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:02:08] local.INFO: Processing buffer {"connection_id":139270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:02:08] local.INFO: Packet analysis {"connection_id":139270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac7"} 
[2026-07-19 20:02:08] local.INFO: Extracted packet for processing {"connection_id":139270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac7"} 
[2026-07-19 20:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824587008001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:02: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-07-19 20:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784471344000,"timestamp_ms":1784471344000,"timestamp_seconds":1784471344,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac7d380"} 
[2026-07-19 20:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:02: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-07-19 20:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824587008001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824587008001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:02:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:02:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824587008001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":139270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:02:08] local.INFO: GPS data processed {"connection_id":139270,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:02:08] local.INFO: Acknowledgment sent {"connection_id":139270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:02:27] local.INFO: TCP Data received {"connection_id":137890,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 20:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 20:02:27] local.INFO: Processing buffer {"connection_id":137890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac5ef20012d196540071ff010003f004926..."} 
[2026-07-19 20:02:27] local.INFO: Packet analysis {"connection_id":137890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac5"} 
[2026-07-19 20:02:27] local.INFO: Extracted packet for processing {"connection_id":137890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac5"} 
[2026-07-19 20:02:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824555264001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:02: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-07-19 20:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784471220000,"timestamp_ms":1784471220000,"timestamp_seconds":1784471220,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac5ef20"} 
[2026-07-19 20:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824555264001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824555264001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:02:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:02:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824555264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":137890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:02:27] local.INFO: GPS data processed {"connection_id":137890,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:02:27] local.INFO: Acknowledgment sent {"connection_id":137890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:02:35] local.INFO: TCP Data received {"connection_id":136818,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:02:35] local.INFO: Processing buffer {"connection_id":136818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:02:35] local.INFO: IMEI packet received {"connection_id":136818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":136818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:02:40] local.INFO: TCP Data received {"connection_id":136818,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:02:40] local.INFO: Processing buffer {"connection_id":136818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:02:40] local.INFO: IMEI packet received {"connection_id":136818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":136818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:02:41] local.INFO: TCP Data received {"connection_id":136818,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:02:41] local.INFO: Processing buffer {"connection_id":136818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:02:41] local.INFO: Packet analysis {"connection_id":136818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac7"} 
[2026-07-19 20:02:41] local.INFO: Extracted packet for processing {"connection_id":136818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac7"} 
[2026-07-19 20:02:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824587008001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784471344000,"timestamp_ms":1784471344000,"timestamp_seconds":1784471344,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac7d380"} 
[2026-07-19 20:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":136818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":136818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":136818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824587008001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824587008001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:02:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:02:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824587008001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":136818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:02:41] local.INFO: GPS data processed {"connection_id":136818,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:02:41] local.INFO: Acknowledgment sent {"connection_id":136818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:02:46] local.INFO: TCP Data received {"connection_id":136818,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:02:46] local.INFO: Processing buffer {"connection_id":136818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:02:46] local.INFO: Packet analysis {"connection_id":136818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac7"} 
[2026-07-19 20:02:46] local.INFO: Extracted packet for processing {"connection_id":136818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac7"} 
[2026-07-19 20:02:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824587008001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784471344000,"timestamp_ms":1784471344000,"timestamp_seconds":1784471344,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac7d380"} 
[2026-07-19 20:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":136818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":136818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":136818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824587008001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824587008001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:02:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:02:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824587008001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":136818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:02:46] local.INFO: GPS data processed {"connection_id":136818,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:02:46] local.INFO: Acknowledgment sent {"connection_id":136818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:02:50] local.INFO: TCP Data received {"connection_id":136929,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:02:50] local.INFO: Processing buffer {"connection_id":136929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:02:50] local.INFO: IMEI packet received {"connection_id":136929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":136929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:02:51] local.INFO: TCP Data received {"connection_id":137891,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:02:51] local.INFO: Processing buffer {"connection_id":137891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:02:51] local.INFO: IMEI packet received {"connection_id":137891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 20:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":137891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:02:55] local.INFO: TCP Data received {"connection_id":136929,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:02:55] local.INFO: Processing buffer {"connection_id":136929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:02:55] local.INFO: IMEI packet received {"connection_id":136929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":136929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:02:56] local.INFO: TCP Data received {"connection_id":136929,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:02:56] local.INFO: Processing buffer {"connection_id":136929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:02:56] local.INFO: Packet analysis {"connection_id":136929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aca"} 
[2026-07-19 20:02:56] local.INFO: Extracted packet for processing {"connection_id":136929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aca"} 
[2026-07-19 20:02:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824632320001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:02: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-07-19 20:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784471521000,"timestamp_ms":1784471521000,"timestamp_seconds":1784471521,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aca86e8"} 
[2026-07-19 20:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:02: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-07-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:02: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-07-19 20: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-07-19 20:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824632320001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824632320001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:02:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:02:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824632320001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":136929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:02:56] local.INFO: GPS data processed {"connection_id":136929,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:02:56] local.INFO: Acknowledgment sent {"connection_id":136929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:03:25] local.INFO: TCP Data received {"connection_id":139271,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:03:25] local.INFO: Processing buffer {"connection_id":139271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:03:25] local.INFO: IMEI packet received {"connection_id":139271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 20:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":139271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:03:27] local.INFO: TCP Data received {"connection_id":136929,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:03:27] local.INFO: Processing buffer {"connection_id":136929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:03:27] local.INFO: Packet analysis {"connection_id":136929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aca"} 
[2026-07-19 20:03:27] local.INFO: Extracted packet for processing {"connection_id":136929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aca"} 
[2026-07-19 20:03:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824632320001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784471521000,"timestamp_ms":1784471521000,"timestamp_seconds":1784471521,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aca86e8"} 
[2026-07-19 20:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:03:27] 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-07-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824632320001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824632320001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:03:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:03:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824632320001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":136929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:03:27] local.INFO: GPS data processed {"connection_id":136929,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:03:27] local.INFO: Acknowledgment sent {"connection_id":136929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:03:30] local.INFO: TCP Data received {"connection_id":136819,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:03:30] local.INFO: Processing buffer {"connection_id":136819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:03:30] local.INFO: IMEI packet received {"connection_id":136819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":136819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:03:35] local.INFO: TCP Data received {"connection_id":136819,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:03:35] local.INFO: Processing buffer {"connection_id":136819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:03:35] local.INFO: IMEI packet received {"connection_id":136819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":136819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:03:36] local.INFO: TCP Data received {"connection_id":136819,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:03:36] local.INFO: Processing buffer {"connection_id":136819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:03:36] local.INFO: Packet analysis {"connection_id":136819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac7"} 
[2026-07-19 20:03:36] local.INFO: Extracted packet for processing {"connection_id":136819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac7"} 
[2026-07-19 20:03:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824587008001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:03: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-07-19 20:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784471344000,"timestamp_ms":1784471344000,"timestamp_seconds":1784471344,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac7d380"} 
[2026-07-19 20:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:03: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-07-19 20:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:03: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-07-19 20:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824587008001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824587008001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:03:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:03:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824587008001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":136819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:03:36] local.INFO: GPS data processed {"connection_id":136819,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:03:36] local.INFO: Acknowledgment sent {"connection_id":136819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:03:51] local.INFO: TCP Data received {"connection_id":139272,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:03:51] local.INFO: Processing buffer {"connection_id":139272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:03:51] local.INFO: IMEI packet received {"connection_id":139272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":139272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:03:55] local.INFO: TCP Data received {"connection_id":139272,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:03:55] local.INFO: Processing buffer {"connection_id":139272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:03:55] local.INFO: IMEI packet received {"connection_id":139272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":139272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:03:56] local.INFO: TCP Data received {"connection_id":139272,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:03:56] local.INFO: Processing buffer {"connection_id":139272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:03:56] local.INFO: Packet analysis {"connection_id":139272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aca"} 
[2026-07-19 20:03:56] local.INFO: Extracted packet for processing {"connection_id":139272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aca"} 
[2026-07-19 20:03:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824632320001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:03: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-07-19 20:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784471521000,"timestamp_ms":1784471521000,"timestamp_seconds":1784471521,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aca86e8"} 
[2026-07-19 20:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:03: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-07-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:03: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-07-19 20: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-07-19 20:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824632320001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824632320001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:03:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:03:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824632320001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":139272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:03:56] local.INFO: GPS data processed {"connection_id":139272,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:03:56] local.INFO: Acknowledgment sent {"connection_id":139272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:04:08] local.INFO: TCP Data received {"connection_id":136819,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:04:08] local.INFO: Processing buffer {"connection_id":136819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:04:08] local.INFO: Packet analysis {"connection_id":136819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac7"} 
[2026-07-19 20:04:08] local.INFO: Extracted packet for processing {"connection_id":136819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac7"} 
[2026-07-19 20:04:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824587008001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:04: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-07-19 20:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784471344000,"timestamp_ms":1784471344000,"timestamp_seconds":1784471344,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac7d380"} 
[2026-07-19 20:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:04: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-07-19 20:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824587008001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824587008001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:04:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:04:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824587008001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":136819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:04:08] local.INFO: GPS data processed {"connection_id":136819,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:04:08] local.INFO: Acknowledgment sent {"connection_id":136819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:04:27] local.INFO: TCP Data received {"connection_id":139272,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:04:27] local.INFO: Processing buffer {"connection_id":139272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:04:27] local.INFO: Packet analysis {"connection_id":139272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aca"} 
[2026-07-19 20:04:27] local.INFO: Extracted packet for processing {"connection_id":139272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aca"} 
[2026-07-19 20:04:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824632320001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:04: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-07-19 20:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784471521000,"timestamp_ms":1784471521000,"timestamp_seconds":1784471521,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aca86e8"} 
[2026-07-19 20:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:04:27] 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-07-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824632320001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824632320001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:04:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:04:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824632320001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":139272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:04:27] local.INFO: GPS data processed {"connection_id":139272,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:04:27] local.INFO: Acknowledgment sent {"connection_id":139272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:04:30] local.INFO: TCP Data received {"connection_id":137892,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:04:30] local.INFO: Processing buffer {"connection_id":137892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:04:30] local.INFO: IMEI packet received {"connection_id":137892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":137892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:04:35] local.INFO: TCP Data received {"connection_id":137892,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:04:35] local.INFO: Processing buffer {"connection_id":137892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:04:35] local.INFO: IMEI packet received {"connection_id":137892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":137892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:04:36] local.INFO: TCP Data received {"connection_id":137892,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:04:36] local.INFO: Processing buffer {"connection_id":137892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac7d380012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:04:36] local.INFO: Packet analysis {"connection_id":137892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac7"} 
[2026-07-19 20:04:36] local.INFO: Extracted packet for processing {"connection_id":137892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac7"} 
[2026-07-19 20:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824587008001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784471344000,"timestamp_ms":1784471344000,"timestamp_seconds":1784471344,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac7d380"} 
[2026-07-19 20:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:04: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-07-19 20: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-07-19 20:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:04: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-07-19 20:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824587008001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824587008001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:04:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:04:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824587008001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":137892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:04:36] local.INFO: GPS data processed {"connection_id":137892,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:04:36] local.INFO: Acknowledgment sent {"connection_id":137892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:04:50] local.INFO: TCP Data received {"connection_id":136930,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:04:50] local.INFO: Processing buffer {"connection_id":136930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:04:50] local.INFO: IMEI packet received {"connection_id":136930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":136930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:04:55] local.INFO: TCP Data received {"connection_id":136930,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:04:55] local.INFO: Processing buffer {"connection_id":136930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:04:55] local.INFO: IMEI packet received {"connection_id":136930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":136930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:04:56] local.INFO: TCP Data received {"connection_id":136930,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:04:56] local.INFO: Processing buffer {"connection_id":136930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:04:56] local.INFO: Packet analysis {"connection_id":136930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aca"} 
[2026-07-19 20:04:56] local.INFO: Extracted packet for processing {"connection_id":136930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aca"} 
[2026-07-19 20:04:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824632320001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784471521000,"timestamp_ms":1784471521000,"timestamp_seconds":1784471521,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aca86e8"} 
[2026-07-19 20:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:04: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-07-19 20: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":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:04: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-07-19 20: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-07-19 20:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824632320001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824632320001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:04:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:04:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824632320001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":136930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:04:56] local.INFO: GPS data processed {"connection_id":136930,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:04:56] local.INFO: Acknowledgment sent {"connection_id":136930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:05:07] local.INFO: TCP Data received {"connection_id":137892,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:05:07] local.INFO: Processing buffer {"connection_id":137892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:05:07] local.INFO: Packet analysis {"connection_id":137892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7acc"} 
[2026-07-19 20:05:07] local.INFO: Extracted packet for processing {"connection_id":137892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7acc"} 
[2026-07-19 20:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824664064001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:05: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-07-19 20:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784471645000,"timestamp_ms":1784471645000,"timestamp_seconds":1784471645,"priority":1,"record_length":96,"hex_timestamp":"0000019f7acc6b48"} 
[2026-07-19 20:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":137892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":137892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":137892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:05: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-07-19 20:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824664064001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824664064001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:05:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:05:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824664064001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":137892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:05:07] local.INFO: GPS data processed {"connection_id":137892,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:05:07] local.INFO: Acknowledgment sent {"connection_id":137892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:05:27] local.INFO: TCP Data received {"connection_id":136930,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:05:27] local.INFO: Processing buffer {"connection_id":136930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:05:27] local.INFO: Packet analysis {"connection_id":136930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aca"} 
[2026-07-19 20:05:27] local.INFO: Extracted packet for processing {"connection_id":136930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aca"} 
[2026-07-19 20:05:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824632320001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:05: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-07-19 20:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784471521000,"timestamp_ms":1784471521000,"timestamp_seconds":1784471521,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aca86e8"} 
[2026-07-19 20:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:05:27] 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-07-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824632320001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824632320001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:05:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:05:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824632320001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":136930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:05:27] local.INFO: GPS data processed {"connection_id":136930,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:05:27] local.INFO: Acknowledgment sent {"connection_id":136930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:05:30] local.INFO: TCP Data received {"connection_id":136820,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:05:30] local.INFO: Processing buffer {"connection_id":136820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:05:30] local.INFO: IMEI packet received {"connection_id":136820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":136820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:05:35] local.INFO: TCP Data received {"connection_id":136820,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:05:35] local.INFO: Processing buffer {"connection_id":136820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:05:35] local.INFO: IMEI packet received {"connection_id":136820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":136820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:05:36] local.INFO: TCP Data received {"connection_id":136820,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:05:36] local.INFO: Processing buffer {"connection_id":136820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:05:36] local.INFO: Packet analysis {"connection_id":136820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7acc"} 
[2026-07-19 20:05:36] local.INFO: Extracted packet for processing {"connection_id":136820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7acc"} 
[2026-07-19 20:05:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824664064001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:05: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-07-19 20:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784471645000,"timestamp_ms":1784471645000,"timestamp_seconds":1784471645,"priority":1,"record_length":96,"hex_timestamp":"0000019f7acc6b48"} 
[2026-07-19 20:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:05: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-07-19 20:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:05: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-07-19 20:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824664064001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824664064001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:05:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:05:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824664064001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":136820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:05:36] local.INFO: GPS data processed {"connection_id":136820,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:05:36] local.INFO: Acknowledgment sent {"connection_id":136820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:05:50] local.INFO: TCP Data received {"connection_id":139275,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:05:50] local.INFO: Processing buffer {"connection_id":139275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:05:50] local.INFO: IMEI packet received {"connection_id":139275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":139275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:05:55] local.INFO: TCP Data received {"connection_id":139275,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:05:55] local.INFO: Processing buffer {"connection_id":139275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:05:55] local.INFO: IMEI packet received {"connection_id":139275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":139275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:05:56] local.INFO: TCP Data received {"connection_id":139275,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:05:56] local.INFO: Processing buffer {"connection_id":139275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:05:56] local.INFO: Packet analysis {"connection_id":139275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aca"} 
[2026-07-19 20:05:56] local.INFO: Extracted packet for processing {"connection_id":139275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aca"} 
[2026-07-19 20:05:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824632320001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:05: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-07-19 20:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784471521000,"timestamp_ms":1784471521000,"timestamp_seconds":1784471521,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aca86e8"} 
[2026-07-19 20:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:05: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-07-19 20:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:05: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-07-19 20:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824632320001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824632320001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:05:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:05:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824632320001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":139275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:05:56] local.INFO: GPS data processed {"connection_id":139275,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:05:56] local.INFO: Acknowledgment sent {"connection_id":139275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:06:08] local.INFO: TCP Data received {"connection_id":136820,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:06:08] local.INFO: Processing buffer {"connection_id":136820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:06:08] local.INFO: Packet analysis {"connection_id":136820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7acc"} 
[2026-07-19 20:06:08] local.INFO: Extracted packet for processing {"connection_id":136820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7acc"} 
[2026-07-19 20:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824664064001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:06: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-07-19 20:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784471645000,"timestamp_ms":1784471645000,"timestamp_seconds":1784471645,"priority":1,"record_length":96,"hex_timestamp":"0000019f7acc6b48"} 
[2026-07-19 20:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:06: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-07-19 20:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824664064001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824664064001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:06:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:06:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824664064001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":136820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:06:08] local.INFO: GPS data processed {"connection_id":136820,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:06:08] local.INFO: Acknowledgment sent {"connection_id":136820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:06:27] local.INFO: TCP Data received {"connection_id":139275,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:06:27] local.INFO: Processing buffer {"connection_id":139275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:06:27] local.INFO: Packet analysis {"connection_id":139275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aca"} 
[2026-07-19 20:06:27] local.INFO: Extracted packet for processing {"connection_id":139275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aca"} 
[2026-07-19 20:06:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824632320001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:06: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-07-19 20:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784471521000,"timestamp_ms":1784471521000,"timestamp_seconds":1784471521,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aca86e8"} 
[2026-07-19 20:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:06:27] 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-07-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824632320001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824632320001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:06:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:06:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824632320001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":139275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:06:27] local.INFO: GPS data processed {"connection_id":139275,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:06:27] local.INFO: Acknowledgment sent {"connection_id":139275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:06:31] local.INFO: TCP Data received {"connection_id":136821,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:06:31] local.INFO: Processing buffer {"connection_id":136821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:06:31] local.INFO: IMEI packet received {"connection_id":136821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":136821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:06:35] local.INFO: TCP Data received {"connection_id":136821,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:06:35] local.INFO: Processing buffer {"connection_id":136821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:06:35] local.INFO: IMEI packet received {"connection_id":136821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":136821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:06:36] local.INFO: TCP Data received {"connection_id":136821,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:06:36] local.INFO: Processing buffer {"connection_id":136821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:06:36] local.INFO: Packet analysis {"connection_id":136821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7acc"} 
[2026-07-19 20:06:36] local.INFO: Extracted packet for processing {"connection_id":136821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7acc"} 
[2026-07-19 20:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824664064001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784471645000,"timestamp_ms":1784471645000,"timestamp_seconds":1784471645,"priority":1,"record_length":96,"hex_timestamp":"0000019f7acc6b48"} 
[2026-07-19 20:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:06: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-07-19 20:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:06: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-07-19 20:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824664064001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824664064001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:06:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824664064001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":136821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:06:36] local.INFO: GPS data processed {"connection_id":136821,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:06:36] local.INFO: Acknowledgment sent {"connection_id":136821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:06:55] local.INFO: TCP Data received {"connection_id":136931,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:06:55] local.INFO: Processing buffer {"connection_id":136931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:06:55] local.INFO: IMEI packet received {"connection_id":136931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":136931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:07:00] local.INFO: TCP Data received {"connection_id":136931,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:07:00] local.INFO: Processing buffer {"connection_id":136931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:07:00] local.INFO: IMEI packet received {"connection_id":136931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":136931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:07:01] local.INFO: TCP Data received {"connection_id":136931,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:07:01] local.INFO: Processing buffer {"connection_id":136931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:07:01] local.INFO: Packet analysis {"connection_id":136931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aca"} 
[2026-07-19 20:07:01] local.INFO: Extracted packet for processing {"connection_id":136931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aca"} 
[2026-07-19 20:07:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824632320001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:07: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-07-19 20:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784471521000,"timestamp_ms":1784471521000,"timestamp_seconds":1784471521,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aca86e8"} 
[2026-07-19 20:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:07:01] 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-07-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824632320001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824632320001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:07:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:07:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824632320001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":136931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:07:01] local.INFO: GPS data processed {"connection_id":136931,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:07:01] local.INFO: Acknowledgment sent {"connection_id":136931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:07:07] local.INFO: TCP Data received {"connection_id":136821,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:07:07] local.INFO: Processing buffer {"connection_id":136821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:07:07] local.INFO: Packet analysis {"connection_id":136821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7acc"} 
[2026-07-19 20:07:07] local.INFO: Extracted packet for processing {"connection_id":136821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7acc"} 
[2026-07-19 20:07:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824664064001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:07: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-07-19 20:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784471645000,"timestamp_ms":1784471645000,"timestamp_seconds":1784471645,"priority":1,"record_length":96,"hex_timestamp":"0000019f7acc6b48"} 
[2026-07-19 20:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:07: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-07-19 20:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824664064001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824664064001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:07:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:07:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824664064001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":136821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:07:07] local.INFO: GPS data processed {"connection_id":136821,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:07:07] local.INFO: Acknowledgment sent {"connection_id":136821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:07:30] local.INFO: TCP Data received {"connection_id":136933,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:07:30] local.INFO: Processing buffer {"connection_id":136933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:07:30] local.INFO: IMEI packet received {"connection_id":136933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":136933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:07:32] local.INFO: TCP Data received {"connection_id":136931,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:07:32] local.INFO: Processing buffer {"connection_id":136931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aca86e8012d196540071ff010003f004924..."} 
[2026-07-19 20:07:32] local.INFO: Packet analysis {"connection_id":136931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aca"} 
[2026-07-19 20:07:32] local.INFO: Extracted packet for processing {"connection_id":136931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aca"} 
[2026-07-19 20:07:32] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824632320001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784471521000,"timestamp_ms":1784471521000,"timestamp_seconds":1784471521,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aca86e8"} 
[2026-07-19 20:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:07:32] 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-07-19 20:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":136931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":136931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":136931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824632320001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824632320001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:07:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:07:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824632320001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":136931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:07:32] local.INFO: GPS data processed {"connection_id":136931,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:07:32] local.INFO: Acknowledgment sent {"connection_id":136931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:07:35] local.INFO: TCP Data received {"connection_id":136933,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:07:35] local.INFO: Processing buffer {"connection_id":136933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:07:35] local.INFO: IMEI packet received {"connection_id":136933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":136933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:07:36] local.INFO: TCP Data received {"connection_id":136933,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:07:36] local.INFO: Processing buffer {"connection_id":136933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:07:36] local.INFO: Packet analysis {"connection_id":136933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7acc"} 
[2026-07-19 20:07:36] local.INFO: Extracted packet for processing {"connection_id":136933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7acc"} 
[2026-07-19 20:07:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824664064001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784471645000,"timestamp_ms":1784471645000,"timestamp_seconds":1784471645,"priority":1,"record_length":96,"hex_timestamp":"0000019f7acc6b48"} 
[2026-07-19 20:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:07: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-07-19 20:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:07: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-07-19 20:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824664064001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824664064001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:07:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:07:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824664064001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":136933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:07:36] local.INFO: GPS data processed {"connection_id":136933,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:07:36] local.INFO: Acknowledgment sent {"connection_id":136933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:07:50] local.INFO: TCP Data received {"connection_id":137894,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:07:50] local.INFO: Processing buffer {"connection_id":137894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:07:50] local.INFO: IMEI packet received {"connection_id":137894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":137894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:07:55] local.INFO: TCP Data received {"connection_id":137894,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:07:55] local.INFO: Processing buffer {"connection_id":137894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:07:55] local.INFO: IMEI packet received {"connection_id":137894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":137894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:07:56] local.INFO: TCP Data received {"connection_id":137894,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:07:56] local.INFO: Processing buffer {"connection_id":137894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:07:56] local.INFO: Packet analysis {"connection_id":137894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7acf"} 
[2026-07-19 20:07:56] local.INFO: Extracted packet for processing {"connection_id":137894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7acf"} 
[2026-07-19 20:07:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824709376001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:07: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-07-19 20:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784471822000,"timestamp_ms":1784471822000,"timestamp_seconds":1784471822,"priority":1,"record_length":96,"hex_timestamp":"0000019f7acf1eb0"} 
[2026-07-19 20:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:07: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-07-19 20:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:07: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-07-19 20:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824709376001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824709376001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:07:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:07:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824709376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":137894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:07:56] local.INFO: GPS data processed {"connection_id":137894,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:07:56] local.INFO: Acknowledgment sent {"connection_id":137894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:08:08] local.INFO: TCP Data received {"connection_id":136933,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:08:08] local.INFO: Processing buffer {"connection_id":136933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:08:08] local.INFO: Packet analysis {"connection_id":136933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7acc"} 
[2026-07-19 20:08:08] local.INFO: Extracted packet for processing {"connection_id":136933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7acc"} 
[2026-07-19 20:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824664064001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:08: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-07-19 20:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784471645000,"timestamp_ms":1784471645000,"timestamp_seconds":1784471645,"priority":1,"record_length":96,"hex_timestamp":"0000019f7acc6b48"} 
[2026-07-19 20:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:08: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-07-19 20:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824664064001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824664064001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:08:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:08:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824664064001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":136933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:08:08] local.INFO: GPS data processed {"connection_id":136933,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:08:08] local.INFO: Acknowledgment sent {"connection_id":136933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:08:27] local.INFO: TCP Data received {"connection_id":137894,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:08:27] local.INFO: Processing buffer {"connection_id":137894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:08:27] local.INFO: Packet analysis {"connection_id":137894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7acf"} 
[2026-07-19 20:08:27] local.INFO: Extracted packet for processing {"connection_id":137894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7acf"} 
[2026-07-19 20:08:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824709376001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:08: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-07-19 20:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784471822000,"timestamp_ms":1784471822000,"timestamp_seconds":1784471822,"priority":1,"record_length":96,"hex_timestamp":"0000019f7acf1eb0"} 
[2026-07-19 20:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:08: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-07-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824709376001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824709376001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:08:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:08:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824709376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":137894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:08:27] local.INFO: GPS data processed {"connection_id":137894,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:08:27] local.INFO: Acknowledgment sent {"connection_id":137894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:08:30] local.INFO: TCP Data received {"connection_id":136823,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:08:30] local.INFO: Processing buffer {"connection_id":136823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:08:30] local.INFO: IMEI packet received {"connection_id":136823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":136823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:08:35] local.INFO: TCP Data received {"connection_id":136823,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:08:35] local.INFO: Processing buffer {"connection_id":136823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:08:35] local.INFO: IMEI packet received {"connection_id":136823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":136823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:08:36] local.INFO: TCP Data received {"connection_id":136823,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:08:36] local.INFO: Processing buffer {"connection_id":136823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:08:36] local.INFO: Packet analysis {"connection_id":136823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7acc"} 
[2026-07-19 20:08:36] local.INFO: Extracted packet for processing {"connection_id":136823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7acc"} 
[2026-07-19 20:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824664064001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784471645000,"timestamp_ms":1784471645000,"timestamp_seconds":1784471645,"priority":1,"record_length":96,"hex_timestamp":"0000019f7acc6b48"} 
[2026-07-19 20:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:08: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-07-19 20:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:08: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-07-19 20:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824664064001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824664064001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:08:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824664064001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":136823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:08:36] local.INFO: GPS data processed {"connection_id":136823,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:08:36] local.INFO: Acknowledgment sent {"connection_id":136823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:08:51] local.INFO: TCP Data received {"connection_id":139276,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:08:51] local.INFO: Processing buffer {"connection_id":139276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:08:51] local.INFO: IMEI packet received {"connection_id":139276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":139276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:08:55] local.INFO: TCP Data received {"connection_id":139276,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:08:55] local.INFO: Processing buffer {"connection_id":139276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:08:55] local.INFO: IMEI packet received {"connection_id":139276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":139276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:08:56] local.INFO: TCP Data received {"connection_id":136822,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:08:56] local.INFO: Processing buffer {"connection_id":136822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:08:56] local.INFO: IMEI packet received {"connection_id":136822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 20:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":136822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:08:56] local.INFO: TCP Data received {"connection_id":139276,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:08:56] local.INFO: Processing buffer {"connection_id":139276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:08:56] local.INFO: Packet analysis {"connection_id":139276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7acf"} 
[2026-07-19 20:08:56] local.INFO: Extracted packet for processing {"connection_id":139276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7acf"} 
[2026-07-19 20:08:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824709376001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:08: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-07-19 20:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784471822000,"timestamp_ms":1784471822000,"timestamp_seconds":1784471822,"priority":1,"record_length":96,"hex_timestamp":"0000019f7acf1eb0"} 
[2026-07-19 20:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20: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-07-19 20: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":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:08: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-07-19 20: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-07-19 20:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824709376001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824709376001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:08:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:08:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824709376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":139276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:08:56] local.INFO: GPS data processed {"connection_id":139276,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:08:56] local.INFO: Acknowledgment sent {"connection_id":139276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:09:07] local.INFO: TCP Data received {"connection_id":136823,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:09:07] local.INFO: Processing buffer {"connection_id":136823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:09:07] local.INFO: Packet analysis {"connection_id":136823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7acc"} 
[2026-07-19 20:09:07] local.INFO: Extracted packet for processing {"connection_id":136823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7acc"} 
[2026-07-19 20:09:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824664064001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:09: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-07-19 20:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784471645000,"timestamp_ms":1784471645000,"timestamp_seconds":1784471645,"priority":1,"record_length":96,"hex_timestamp":"0000019f7acc6b48"} 
[2026-07-19 20:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:09: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-07-19 20:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824664064001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824664064001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:09:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:09:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824664064001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":136823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:09:07] local.INFO: GPS data processed {"connection_id":136823,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:09:07] local.INFO: Acknowledgment sent {"connection_id":136823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:09:27] local.INFO: TCP Data received {"connection_id":139276,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:09:27] local.INFO: Processing buffer {"connection_id":139276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:09:27] local.INFO: Packet analysis {"connection_id":139276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7acf"} 
[2026-07-19 20:09:27] local.INFO: Extracted packet for processing {"connection_id":139276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7acf"} 
[2026-07-19 20:09:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824709376001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:09: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-07-19 20:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784471822000,"timestamp_ms":1784471822000,"timestamp_seconds":1784471822,"priority":1,"record_length":96,"hex_timestamp":"0000019f7acf1eb0"} 
[2026-07-19 20:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:09: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-07-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824709376001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824709376001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:09:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:09:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824709376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":139276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:09:27] local.INFO: GPS data processed {"connection_id":139276,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:09:27] local.INFO: Acknowledgment sent {"connection_id":139276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:09:32] local.INFO: TCP Data received {"connection_id":136824,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136824,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:09:32] local.INFO: Processing buffer {"connection_id":136824,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:09:32] local.INFO: IMEI packet received {"connection_id":136824,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 20:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":136824,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:09:35] local.INFO: TCP Data received {"connection_id":137895,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:09:35] local.INFO: Processing buffer {"connection_id":137895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:09:35] local.INFO: IMEI packet received {"connection_id":137895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":137895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:09:40] local.INFO: TCP Data received {"connection_id":137895,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:09:40] local.INFO: Processing buffer {"connection_id":137895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:09:40] local.INFO: IMEI packet received {"connection_id":137895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":137895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:09:41] local.INFO: TCP Data received {"connection_id":137895,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:09:41] local.INFO: Processing buffer {"connection_id":137895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7acc6b48012d34c50006aa4dd80008009526..."} 
[2026-07-19 20:09:41] local.INFO: Packet analysis {"connection_id":137895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7acc"} 
[2026-07-19 20:09:41] local.INFO: Extracted packet for processing {"connection_id":137895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7acc"} 
[2026-07-19 20:09:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824664064001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784471645000,"timestamp_ms":1784471645000,"timestamp_seconds":1784471645,"priority":1,"record_length":96,"hex_timestamp":"0000019f7acc6b48"} 
[2026-07-19 20:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":137895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":137895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":137895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824664064001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824664064001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:09:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:09:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824664064001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":137895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:09:41] local.INFO: GPS data processed {"connection_id":137895,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:09:41] local.INFO: Acknowledgment sent {"connection_id":137895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:09:45] local.INFO: TCP Data received {"connection_id":137895,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:09:45] local.INFO: Processing buffer {"connection_id":137895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:09:45] local.INFO: Packet analysis {"connection_id":137895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad1"} 
[2026-07-19 20:09:45] local.INFO: Extracted packet for processing {"connection_id":137895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad1"} 
[2026-07-19 20:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824741120001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784471946000,"timestamp_ms":1784471946000,"timestamp_seconds":1784471946,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad10310"} 
[2026-07-19 20:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":137895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":137895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":137895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824741120001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824741120001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:09:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:09:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824741120001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":137895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:09:45] local.INFO: GPS data processed {"connection_id":137895,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:09:45] local.INFO: Acknowledgment sent {"connection_id":137895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:09:50] local.INFO: TCP Data received {"connection_id":136825,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:09:50] local.INFO: Processing buffer {"connection_id":136825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:09:50] local.INFO: IMEI packet received {"connection_id":136825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":136825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:09:55] local.INFO: TCP Data received {"connection_id":136825,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:09:55] local.INFO: Processing buffer {"connection_id":136825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:09:55] local.INFO: IMEI packet received {"connection_id":136825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":136825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:09:56] local.INFO: TCP Data received {"connection_id":136825,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:09:56] local.INFO: Processing buffer {"connection_id":136825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:09:56] local.INFO: Packet analysis {"connection_id":136825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7acf"} 
[2026-07-19 20:09:56] local.INFO: Extracted packet for processing {"connection_id":136825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7acf"} 
[2026-07-19 20:09:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824709376001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:09: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-07-19 20:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784471822000,"timestamp_ms":1784471822000,"timestamp_seconds":1784471822,"priority":1,"record_length":96,"hex_timestamp":"0000019f7acf1eb0"} 
[2026-07-19 20:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:09: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-07-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:09: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-07-19 20: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-07-19 20:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824709376001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824709376001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:09:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:09:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824709376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":136825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:09:56] local.INFO: GPS data processed {"connection_id":136825,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:09:56] local.INFO: Acknowledgment sent {"connection_id":136825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:10:27] local.INFO: TCP Data received {"connection_id":136825,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:10:27] local.INFO: Processing buffer {"connection_id":136825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:10:27] local.INFO: Packet analysis {"connection_id":136825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7acf"} 
[2026-07-19 20:10:27] local.INFO: Extracted packet for processing {"connection_id":136825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7acf"} 
[2026-07-19 20:10:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824709376001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:10: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-07-19 20:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784471822000,"timestamp_ms":1784471822000,"timestamp_seconds":1784471822,"priority":1,"record_length":96,"hex_timestamp":"0000019f7acf1eb0"} 
[2026-07-19 20:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:10: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-07-19 20:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824709376001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824709376001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:10:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:10:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824709376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":136825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:10:27] local.INFO: GPS data processed {"connection_id":136825,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:10:27] local.INFO: Acknowledgment sent {"connection_id":136825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:10:30] local.INFO: TCP Data received {"connection_id":139278,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:10:30] local.INFO: Processing buffer {"connection_id":139278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:10:30] local.INFO: IMEI packet received {"connection_id":139278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":139278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:10:35] local.INFO: TCP Data received {"connection_id":139278,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:10:35] local.INFO: Processing buffer {"connection_id":139278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:10:35] local.INFO: IMEI packet received {"connection_id":139278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":139278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:10:36] local.INFO: TCP Data received {"connection_id":139278,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:10:36] local.INFO: Processing buffer {"connection_id":139278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:10:36] local.INFO: Packet analysis {"connection_id":139278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad1"} 
[2026-07-19 20:10:36] local.INFO: Extracted packet for processing {"connection_id":139278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad1"} 
[2026-07-19 20:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824741120001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784471946000,"timestamp_ms":1784471946000,"timestamp_seconds":1784471946,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad10310"} 
[2026-07-19 20:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:10: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-07-19 20:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:10: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-07-19 20:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824741120001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824741120001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:10:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824741120001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":139278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:10:36] local.INFO: GPS data processed {"connection_id":139278,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:10:36] local.INFO: Acknowledgment sent {"connection_id":139278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:10:50] local.INFO: TCP Data received {"connection_id":139279,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:10:50] local.INFO: Processing buffer {"connection_id":139279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:10:50] local.INFO: IMEI packet received {"connection_id":139279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":139279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:10:55] local.INFO: TCP Data received {"connection_id":139279,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:10:55] local.INFO: Processing buffer {"connection_id":139279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:10:55] local.INFO: IMEI packet received {"connection_id":139279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":139279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:10:56] local.INFO: TCP Data received {"connection_id":139279,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:10:56] local.INFO: Processing buffer {"connection_id":139279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:10:56] local.INFO: Packet analysis {"connection_id":139279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7acf"} 
[2026-07-19 20:10:56] local.INFO: Extracted packet for processing {"connection_id":139279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7acf"} 
[2026-07-19 20:10:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824709376001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:10: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-07-19 20:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784471822000,"timestamp_ms":1784471822000,"timestamp_seconds":1784471822,"priority":1,"record_length":96,"hex_timestamp":"0000019f7acf1eb0"} 
[2026-07-19 20:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:10: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-07-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:10: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-07-19 20: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-07-19 20:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824709376001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824709376001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:10:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:10:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824709376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":139279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:10:56] local.INFO: GPS data processed {"connection_id":139279,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:10:56] local.INFO: Acknowledgment sent {"connection_id":139279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:11:07] local.INFO: TCP Data received {"connection_id":139278,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:11:07] local.INFO: Processing buffer {"connection_id":139278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:11:07] local.INFO: Packet analysis {"connection_id":139278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad1"} 
[2026-07-19 20:11:07] local.INFO: Extracted packet for processing {"connection_id":139278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad1"} 
[2026-07-19 20:11:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824741120001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:11: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-07-19 20:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784471946000,"timestamp_ms":1784471946000,"timestamp_seconds":1784471946,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad10310"} 
[2026-07-19 20:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":139278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":139278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":139278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:11: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-07-19 20:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824741120001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824741120001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:11:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:11:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824741120001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":139278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:11:07] local.INFO: GPS data processed {"connection_id":139278,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:11:07] local.INFO: Acknowledgment sent {"connection_id":139278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:11:27] local.INFO: TCP Data received {"connection_id":139279,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:11:27] local.INFO: Processing buffer {"connection_id":139279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:11:27] local.INFO: Packet analysis {"connection_id":139279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7acf"} 
[2026-07-19 20:11:27] local.INFO: Extracted packet for processing {"connection_id":139279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7acf"} 
[2026-07-19 20:11:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 20:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824709376001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:11: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-07-19 20:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784471822000,"timestamp_ms":1784471822000,"timestamp_seconds":1784471822,"priority":1,"record_length":96,"hex_timestamp":"0000019f7acf1eb0"} 
[2026-07-19 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-07-19 20:11: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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 20:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824709376001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824709376001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:11:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:11:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824709376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":139279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:11:27] local.INFO: GPS data processed {"connection_id":139279,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:11:27] local.INFO: Acknowledgment sent {"connection_id":139279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:11:30] local.INFO: TCP Data received {"connection_id":136827,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:11:30] local.INFO: Processing buffer {"connection_id":136827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:11:30] local.INFO: IMEI packet received {"connection_id":136827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":136827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:11:35] local.INFO: TCP Data received {"connection_id":136827,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:11:35] local.INFO: Processing buffer {"connection_id":136827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:11:35] local.INFO: IMEI packet received {"connection_id":136827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":136827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:11:37] local.INFO: TCP Data received {"connection_id":136827,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:11:37] local.INFO: Processing buffer {"connection_id":136827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:11:37] local.INFO: Packet analysis {"connection_id":136827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad1"} 
[2026-07-19 20:11:37] local.INFO: Extracted packet for processing {"connection_id":136827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad1"} 
[2026-07-19 20:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824741120001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:11: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-07-19 20:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784471946000,"timestamp_ms":1784471946000,"timestamp_seconds":1784471946,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad10310"} 
[2026-07-19 20:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:11: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-07-19 20:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824741120001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824741120001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824741120001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":136827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:11:37] local.INFO: GPS data processed {"connection_id":136827,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:11:37] local.INFO: Acknowledgment sent {"connection_id":136827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:11:55] local.INFO: TCP Data received {"connection_id":136934,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:11:55] local.INFO: Processing buffer {"connection_id":136934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:11:55] local.INFO: IMEI packet received {"connection_id":136934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":136934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:12:00] local.INFO: TCP Data received {"connection_id":136934,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:12:00] local.INFO: Processing buffer {"connection_id":136934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:12:00] local.INFO: IMEI packet received {"connection_id":136934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":136934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:12:01] local.INFO: TCP Data received {"connection_id":136934,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:12:01] local.INFO: Processing buffer {"connection_id":136934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:12:01] local.INFO: Packet analysis {"connection_id":136934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7acf"} 
[2026-07-19 20:12:01] local.INFO: Extracted packet for processing {"connection_id":136934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7acf"} 
[2026-07-19 20:12:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824709376001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:12: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-07-19 20:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784471822000,"timestamp_ms":1784471822000,"timestamp_seconds":1784471822,"priority":1,"record_length":96,"hex_timestamp":"0000019f7acf1eb0"} 
[2026-07-19 20:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20: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-07-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824709376001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824709376001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:12:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:12:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824709376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":136934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:12:01] local.INFO: GPS data processed {"connection_id":136934,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:12:01] local.INFO: Acknowledgment sent {"connection_id":136934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:12:06] local.INFO: TCP Data received {"connection_id":136934,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:12:06] local.INFO: Processing buffer {"connection_id":136934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7acf1eb0012d196540071ff010003f004927..."} 
[2026-07-19 20:12:06] local.INFO: Packet analysis {"connection_id":136934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7acf"} 
[2026-07-19 20:12:06] local.INFO: Extracted packet for processing {"connection_id":136934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7acf"} 
[2026-07-19 20:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 20:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824709376001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784471822000,"timestamp_ms":1784471822000,"timestamp_seconds":1784471822,"priority":1,"record_length":96,"hex_timestamp":"0000019f7acf1eb0"} 
[2026-07-19 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-07-19 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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 20:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824709376001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824709376001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:12:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824709376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":136934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:12:06] local.INFO: GPS data processed {"connection_id":136934,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:12:06] local.INFO: Acknowledgment sent {"connection_id":136934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:12:08] local.INFO: TCP Data received {"connection_id":136827,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:12:08] local.INFO: Processing buffer {"connection_id":136827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:12:08] local.INFO: Packet analysis {"connection_id":136827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad1"} 
[2026-07-19 20:12:08] local.INFO: Extracted packet for processing {"connection_id":136827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad1"} 
[2026-07-19 20:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 20:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824741120001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:12: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-07-19 20:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784471946000,"timestamp_ms":1784471946000,"timestamp_seconds":1784471946,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad10310"} 
[2026-07-19 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-07-19 20:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 20:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:12: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-07-19 20:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824741120001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824741120001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:12:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824741120001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":136827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:12:08] local.INFO: GPS data processed {"connection_id":136827,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:12:08] local.INFO: Acknowledgment sent {"connection_id":136827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:12:30] local.INFO: TCP Data received {"connection_id":139280,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:12:30] local.INFO: Processing buffer {"connection_id":139280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:12:30] local.INFO: IMEI packet received {"connection_id":139280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":139280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:12:35] local.INFO: TCP Data received {"connection_id":139280,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:12:35] local.INFO: Processing buffer {"connection_id":139280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:12:35] local.INFO: IMEI packet received {"connection_id":139280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":139280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:12:36] local.INFO: TCP Data received {"connection_id":139280,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:12:36] local.INFO: Processing buffer {"connection_id":139280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:12:36] local.INFO: Packet analysis {"connection_id":139280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad1"} 
[2026-07-19 20:12:36] local.INFO: Extracted packet for processing {"connection_id":139280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad1"} 
[2026-07-19 20:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824741120001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:12: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-07-19 20:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784471946000,"timestamp_ms":1784471946000,"timestamp_seconds":1784471946,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad10310"} 
[2026-07-19 20:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:12: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-07-19 20: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-07-19 20:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:12: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-07-19 20:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824741120001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824741120001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:12:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:12:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824741120001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":139280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:12:36] local.INFO: GPS data processed {"connection_id":139280,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:12:36] local.INFO: Acknowledgment sent {"connection_id":139280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:12:51] local.INFO: TCP Data received {"connection_id":136828,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:12:51] local.INFO: Processing buffer {"connection_id":136828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:12:51] local.INFO: IMEI packet received {"connection_id":136828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":136828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:12:55] local.INFO: TCP Data received {"connection_id":136828,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:12:55] local.INFO: Processing buffer {"connection_id":136828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:12:55] local.INFO: IMEI packet received {"connection_id":136828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":136828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:12:56] local.INFO: TCP Data received {"connection_id":136828,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:12:56] local.INFO: Processing buffer {"connection_id":136828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:12:56] local.INFO: Packet analysis {"connection_id":136828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad3"} 
[2026-07-19 20:12:56] local.INFO: Extracted packet for processing {"connection_id":136828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad3"} 
[2026-07-19 20:12:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824786432001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:12: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-07-19 20:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784472123000,"timestamp_ms":1784472123000,"timestamp_seconds":1784472123,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad3b678"} 
[2026-07-19 20:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:12: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-07-19 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:12:56] 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-07-19 20: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-07-19 20:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824786432001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824786432001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:12:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:12:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824786432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":136828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:12:56] local.INFO: GPS data processed {"connection_id":136828,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:12:56] local.INFO: Acknowledgment sent {"connection_id":136828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:13:07] local.INFO: TCP Data received {"connection_id":139280,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:13:07] local.INFO: Processing buffer {"connection_id":139280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:13:07] local.INFO: Packet analysis {"connection_id":139280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad1"} 
[2026-07-19 20:13:07] local.INFO: Extracted packet for processing {"connection_id":139280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad1"} 
[2026-07-19 20:13:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824741120001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:13: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-07-19 20:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784471946000,"timestamp_ms":1784471946000,"timestamp_seconds":1784471946,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad10310"} 
[2026-07-19 20:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":139280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":139280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":139280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:13: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-07-19 20:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824741120001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824741120001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:13:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:13:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824741120001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":139280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:13:07] local.INFO: GPS data processed {"connection_id":139280,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:13:07] local.INFO: Acknowledgment sent {"connection_id":139280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:13:27] local.INFO: TCP Data received {"connection_id":136828,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:13:27] local.INFO: Processing buffer {"connection_id":136828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:13:27] local.INFO: Packet analysis {"connection_id":136828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad3"} 
[2026-07-19 20:13:27] local.INFO: Extracted packet for processing {"connection_id":136828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad3"} 
[2026-07-19 20:13:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824786432001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:13: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-07-19 20:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784472123000,"timestamp_ms":1784472123000,"timestamp_seconds":1784472123,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad3b678"} 
[2026-07-19 20:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:13: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-07-19 20:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:13:27] 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-07-19 20:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824786432001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824786432001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:13:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:13:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824786432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":136828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:13:27] local.INFO: GPS data processed {"connection_id":136828,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:13:27] local.INFO: Acknowledgment sent {"connection_id":136828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:13:30] local.INFO: TCP Data received {"connection_id":136829,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:13:30] local.INFO: Processing buffer {"connection_id":136829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:13:30] local.INFO: IMEI packet received {"connection_id":136829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":136829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:13:35] local.INFO: TCP Data received {"connection_id":136829,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:13:35] local.INFO: Processing buffer {"connection_id":136829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:13:35] local.INFO: IMEI packet received {"connection_id":136829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":136829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:13:36] local.INFO: TCP Data received {"connection_id":136829,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:13:37] local.INFO: Processing buffer {"connection_id":136829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:13:37] local.INFO: Packet analysis {"connection_id":136829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad1"} 
[2026-07-19 20:13:37] local.INFO: Extracted packet for processing {"connection_id":136829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad1"} 
[2026-07-19 20:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824741120001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:13: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-07-19 20:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784471946000,"timestamp_ms":1784471946000,"timestamp_seconds":1784471946,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad10310"} 
[2026-07-19 20:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824741120001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824741120001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:13:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824741120001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":136829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:13:37] local.INFO: GPS data processed {"connection_id":136829,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:13:37] local.INFO: Acknowledgment sent {"connection_id":136829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:13:50] local.INFO: TCP Data received {"connection_id":139282,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:13:50] local.INFO: Processing buffer {"connection_id":139282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:13:50] local.INFO: IMEI packet received {"connection_id":139282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":139282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:13:55] local.INFO: TCP Data received {"connection_id":139282,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:13:55] local.INFO: Processing buffer {"connection_id":139282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:13:55] local.INFO: IMEI packet received {"connection_id":139282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":139282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:13:56] local.INFO: TCP Data received {"connection_id":139282,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:13:56] local.INFO: Processing buffer {"connection_id":139282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:13:56] local.INFO: Packet analysis {"connection_id":139282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad3"} 
[2026-07-19 20:13:56] local.INFO: Extracted packet for processing {"connection_id":139282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad3"} 
[2026-07-19 20:13:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824786432001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:13: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-07-19 20:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784472123000,"timestamp_ms":1784472123000,"timestamp_seconds":1784472123,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad3b678"} 
[2026-07-19 20:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:13: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-07-19 20: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":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:13:56] 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-07-19 20: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-07-19 20:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824786432001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824786432001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:13:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:13:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824786432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":139282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:13:57] local.INFO: GPS data processed {"connection_id":139282,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:13:57] local.INFO: Acknowledgment sent {"connection_id":139282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:14:08] local.INFO: TCP Data received {"connection_id":136829,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:14:08] local.INFO: Processing buffer {"connection_id":136829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:14:08] local.INFO: Packet analysis {"connection_id":136829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad1"} 
[2026-07-19 20:14:08] local.INFO: Extracted packet for processing {"connection_id":136829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad1"} 
[2026-07-19 20:14:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824741120001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:14: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-07-19 20:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784471946000,"timestamp_ms":1784471946000,"timestamp_seconds":1784471946,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad10310"} 
[2026-07-19 20:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:14: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-07-19 20:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824741120001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824741120001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:14:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:14:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824741120001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":136829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:14:08] local.INFO: GPS data processed {"connection_id":136829,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:14:08] local.INFO: Acknowledgment sent {"connection_id":136829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:14:28] local.INFO: TCP Data received {"connection_id":139282,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:14:28] local.INFO: Processing buffer {"connection_id":139282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:14:28] local.INFO: Packet analysis {"connection_id":139282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad3"} 
[2026-07-19 20:14:28] local.INFO: Extracted packet for processing {"connection_id":139282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad3"} 
[2026-07-19 20:14:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824786432001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:14: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-07-19 20:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784472123000,"timestamp_ms":1784472123000,"timestamp_seconds":1784472123,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad3b678"} 
[2026-07-19 20:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:14: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-07-19 20:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:14:28] 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-07-19 20:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824786432001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824786432001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:14:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:14:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824786432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":139282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:14:28] local.INFO: GPS data processed {"connection_id":139282,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:14:28] local.INFO: Acknowledgment sent {"connection_id":139282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:14:30] local.INFO: TCP Data received {"connection_id":139283,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:14:30] local.INFO: Processing buffer {"connection_id":139283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:14:30] local.INFO: IMEI packet received {"connection_id":139283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":139283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:14:35] local.INFO: TCP Data received {"connection_id":139283,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:14:35] local.INFO: Processing buffer {"connection_id":139283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:14:35] local.INFO: IMEI packet received {"connection_id":139283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":139283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:14:36] local.INFO: TCP Data received {"connection_id":139283,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:14:36] local.INFO: Processing buffer {"connection_id":139283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad10310012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:14:36] local.INFO: Packet analysis {"connection_id":139283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad1"} 
[2026-07-19 20:14:36] local.INFO: Extracted packet for processing {"connection_id":139283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad1"} 
[2026-07-19 20:14:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824741120001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:14: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-07-19 20:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784471946000,"timestamp_ms":1784471946000,"timestamp_seconds":1784471946,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad10310"} 
[2026-07-19 20:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:14: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-07-19 20: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-07-19 20:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824741120001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824741120001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:14:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:14:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824741120001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":139283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:14:36] local.INFO: GPS data processed {"connection_id":139283,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:14:36] local.INFO: Acknowledgment sent {"connection_id":139283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:14:51] local.INFO: TCP Data received {"connection_id":137896,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:14:51] local.INFO: Processing buffer {"connection_id":137896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:14:51] local.INFO: IMEI packet received {"connection_id":137896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 20:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":137896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:14:51] local.INFO: TCP Data received {"connection_id":136936,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:14:51] local.INFO: Processing buffer {"connection_id":136936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:14:51] local.INFO: IMEI packet received {"connection_id":136936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":136936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:14:55] local.INFO: TCP Data received {"connection_id":136936,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:14:55] local.INFO: Processing buffer {"connection_id":136936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:14:55] local.INFO: IMEI packet received {"connection_id":136936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":136936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:14:56] local.INFO: TCP Data received {"connection_id":136936,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:14:56] local.INFO: Processing buffer {"connection_id":136936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:14:56] local.INFO: Packet analysis {"connection_id":136936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad3"} 
[2026-07-19 20:14:56] local.INFO: Extracted packet for processing {"connection_id":136936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad3"} 
[2026-07-19 20:14:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824786432001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:14: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-07-19 20:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784472123000,"timestamp_ms":1784472123000,"timestamp_seconds":1784472123,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad3b678"} 
[2026-07-19 20:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:14: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-07-19 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:14:56] 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-07-19 20: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-07-19 20:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824786432001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824786432001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:14:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:14:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824786432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":136936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:14:56] local.INFO: GPS data processed {"connection_id":136936,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:14:56] local.INFO: Acknowledgment sent {"connection_id":136936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:15:07] local.INFO: TCP Data received {"connection_id":139283,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:15:07] local.INFO: Processing buffer {"connection_id":139283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:15:07] local.INFO: Packet analysis {"connection_id":139283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad5"} 
[2026-07-19 20:15:07] local.INFO: Extracted packet for processing {"connection_id":139283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad5"} 
[2026-07-19 20:15:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824818176001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:15: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-07-19 20:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784472247000,"timestamp_ms":1784472247000,"timestamp_seconds":1784472247,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad59ad8"} 
[2026-07-19 20:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":139283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":139283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":139283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:15: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-07-19 20:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824818176001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824818176001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:15:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:15:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824818176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":139283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:15:07] local.INFO: GPS data processed {"connection_id":139283,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:15:07] local.INFO: Acknowledgment sent {"connection_id":139283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:15:25] local.INFO: TCP Data received {"connection_id":136830,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:15:25] local.INFO: Processing buffer {"connection_id":136830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:15:25] local.INFO: IMEI packet received {"connection_id":136830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 20:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":136830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:15:30] local.INFO: TCP Data received {"connection_id":139284,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:15:30] local.INFO: Processing buffer {"connection_id":139284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:15:30] local.INFO: IMEI packet received {"connection_id":139284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":139284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:15:30] local.INFO: TCP Data received {"connection_id":136936,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:15:30] local.INFO: Processing buffer {"connection_id":136936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:15:30] local.INFO: Packet analysis {"connection_id":136936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad3"} 
[2026-07-19 20:15:30] local.INFO: Extracted packet for processing {"connection_id":136936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad3"} 
[2026-07-19 20:15:30] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824786432001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784472123000,"timestamp_ms":1784472123000,"timestamp_seconds":1784472123,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad3b678"} 
[2026-07-19 20:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:15:30] 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-07-19 20:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:15:30] 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-07-19 20:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":136936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":136936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":136936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824786432001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824786432001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:15:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:15:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824786432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":136936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:15:31] local.INFO: GPS data processed {"connection_id":136936,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:15:31] local.INFO: Acknowledgment sent {"connection_id":136936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:15:35] local.INFO: TCP Data received {"connection_id":139284,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:15:35] local.INFO: Processing buffer {"connection_id":139284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:15:35] local.INFO: IMEI packet received {"connection_id":139284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":139284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:15:36] local.INFO: TCP Data received {"connection_id":139284,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:15:36] local.INFO: Processing buffer {"connection_id":139284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:15:36] local.INFO: Packet analysis {"connection_id":139284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad5"} 
[2026-07-19 20:15:36] local.INFO: Extracted packet for processing {"connection_id":139284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad5"} 
[2026-07-19 20:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824818176001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:15: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-07-19 20:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784472247000,"timestamp_ms":1784472247000,"timestamp_seconds":1784472247,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad59ad8"} 
[2026-07-19 20:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:15: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-07-19 20:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:15: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-07-19 20:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824818176001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824818176001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:15:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824818176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":139284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:15:36] local.INFO: GPS data processed {"connection_id":139284,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:15:36] local.INFO: Acknowledgment sent {"connection_id":139284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:15:50] local.INFO: TCP Data received {"connection_id":136831,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:15:50] local.INFO: Processing buffer {"connection_id":136831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:15:50] local.INFO: IMEI packet received {"connection_id":136831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":136831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:15:55] local.INFO: TCP Data received {"connection_id":136831,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:15:55] local.INFO: Processing buffer {"connection_id":136831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:15:55] local.INFO: IMEI packet received {"connection_id":136831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":136831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:15:56] local.INFO: TCP Data received {"connection_id":136831,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:15:56] local.INFO: Processing buffer {"connection_id":136831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:15:56] local.INFO: Packet analysis {"connection_id":136831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad3"} 
[2026-07-19 20:15:56] local.INFO: Extracted packet for processing {"connection_id":136831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad3"} 
[2026-07-19 20:15:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824786432001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:15: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-07-19 20:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784472123000,"timestamp_ms":1784472123000,"timestamp_seconds":1784472123,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad3b678"} 
[2026-07-19 20:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:15: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-07-19 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:15:56] 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-07-19 20: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-07-19 20:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824786432001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824786432001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:15:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:15:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824786432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":136831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:15:56] local.INFO: GPS data processed {"connection_id":136831,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:15:56] local.INFO: Acknowledgment sent {"connection_id":136831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:16:07] local.INFO: TCP Data received {"connection_id":139284,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:16:07] local.INFO: Processing buffer {"connection_id":139284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:16:07] local.INFO: Packet analysis {"connection_id":139284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad5"} 
[2026-07-19 20:16:07] local.INFO: Extracted packet for processing {"connection_id":139284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad5"} 
[2026-07-19 20:16:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824818176001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:16: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-07-19 20:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784472247000,"timestamp_ms":1784472247000,"timestamp_seconds":1784472247,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad59ad8"} 
[2026-07-19 20:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":139284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":139284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":139284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:16: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-07-19 20:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824818176001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824818176001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:16:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:16:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824818176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":139284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:16:07] local.INFO: GPS data processed {"connection_id":139284,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:16:07] local.INFO: Acknowledgment sent {"connection_id":139284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:16:27] local.INFO: TCP Data received {"connection_id":136831,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:16:27] local.INFO: Processing buffer {"connection_id":136831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:16:27] local.INFO: Packet analysis {"connection_id":136831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad3"} 
[2026-07-19 20:16:27] local.INFO: Extracted packet for processing {"connection_id":136831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad3"} 
[2026-07-19 20:16:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824786432001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:16: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-07-19 20:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784472123000,"timestamp_ms":1784472123000,"timestamp_seconds":1784472123,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad3b678"} 
[2026-07-19 20:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:16: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-07-19 20:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:16:27] 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-07-19 20:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824786432001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824786432001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:16:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:16:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824786432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":136831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:16:27] local.INFO: GPS data processed {"connection_id":136831,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:16:27] local.INFO: Acknowledgment sent {"connection_id":136831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:16:30] local.INFO: TCP Data received {"connection_id":136937,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:16:30] local.INFO: Processing buffer {"connection_id":136937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:16:30] local.INFO: IMEI packet received {"connection_id":136937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":136937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:16:35] local.INFO: TCP Data received {"connection_id":136937,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:16:35] local.INFO: Processing buffer {"connection_id":136937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:16:35] local.INFO: IMEI packet received {"connection_id":136937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":136937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:16:36] local.INFO: TCP Data received {"connection_id":136937,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:16:36] local.INFO: Processing buffer {"connection_id":136937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:16:36] local.INFO: Packet analysis {"connection_id":136937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad5"} 
[2026-07-19 20:16:36] local.INFO: Extracted packet for processing {"connection_id":136937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad5"} 
[2026-07-19 20:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824818176001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:16: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-07-19 20:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784472247000,"timestamp_ms":1784472247000,"timestamp_seconds":1784472247,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad59ad8"} 
[2026-07-19 20:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:16: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-07-19 20:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824818176001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824818176001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:16:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:16:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824818176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":136937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:16:36] local.INFO: GPS data processed {"connection_id":136937,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:16:36] local.INFO: Acknowledgment sent {"connection_id":136937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:16:55] local.INFO: TCP Data received {"connection_id":139285,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:16:55] local.INFO: Processing buffer {"connection_id":139285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:16:55] local.INFO: IMEI packet received {"connection_id":139285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":139285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:17:00] local.INFO: TCP Data received {"connection_id":139285,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:17:00] local.INFO: Processing buffer {"connection_id":139285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:17:00] local.INFO: IMEI packet received {"connection_id":139285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":139285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:17:01] local.INFO: TCP Data received {"connection_id":139285,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:17:01] local.INFO: Processing buffer {"connection_id":139285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:17:01] local.INFO: Packet analysis {"connection_id":139285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad3"} 
[2026-07-19 20:17:01] local.INFO: Extracted packet for processing {"connection_id":139285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad3"} 
[2026-07-19 20:17:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824786432001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:17: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-07-19 20:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784472123000,"timestamp_ms":1784472123000,"timestamp_seconds":1784472123,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad3b678"} 
[2026-07-19 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-07-19 20:17: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-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:17:01] 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-07-19 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-07-19 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-07-19 20:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":139285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":139285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":139285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824786432001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824786432001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:17:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:17:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824786432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":139285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:17:01] local.INFO: GPS data processed {"connection_id":139285,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:17:01] local.INFO: Acknowledgment sent {"connection_id":139285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:17:06] local.INFO: TCP Data received {"connection_id":139285,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:17:06] local.INFO: Processing buffer {"connection_id":139285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad3b678012d196540071ff010003f004926..."} 
[2026-07-19 20:17:06] local.INFO: Packet analysis {"connection_id":139285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad3"} 
[2026-07-19 20:17:06] local.INFO: Extracted packet for processing {"connection_id":139285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad3"} 
[2026-07-19 20:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824786432001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784472123000,"timestamp_ms":1784472123000,"timestamp_seconds":1784472123,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad3b678"} 
[2026-07-19 20:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:17: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-07-19 20:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":139285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":139285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":139285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824786432001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824786432001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:17:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824786432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":139285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:17:06] local.INFO: GPS data processed {"connection_id":139285,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:17:06] local.INFO: Acknowledgment sent {"connection_id":139285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:17:07] local.INFO: TCP Data received {"connection_id":136937,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:17:07] local.INFO: Processing buffer {"connection_id":136937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:17:07] local.INFO: Packet analysis {"connection_id":136937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad5"} 
[2026-07-19 20:17:07] local.INFO: Extracted packet for processing {"connection_id":136937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad5"} 
[2026-07-19 20:17:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824818176001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:17: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-07-19 20:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784472247000,"timestamp_ms":1784472247000,"timestamp_seconds":1784472247,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad59ad8"} 
[2026-07-19 20:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:17: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-07-19 20:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824818176001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824818176001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:17:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:17:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824818176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":136937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:17:07] local.INFO: GPS data processed {"connection_id":136937,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:17:07] local.INFO: Acknowledgment sent {"connection_id":136937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:17:30] local.INFO: TCP Data received {"connection_id":139286,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:17:30] local.INFO: Processing buffer {"connection_id":139286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:17:30] local.INFO: IMEI packet received {"connection_id":139286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":139286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:17:35] local.INFO: TCP Data received {"connection_id":139286,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:17:35] local.INFO: Processing buffer {"connection_id":139286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:17:35] local.INFO: IMEI packet received {"connection_id":139286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":139286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:17:36] local.INFO: TCP Data received {"connection_id":139286,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:17:36] local.INFO: Processing buffer {"connection_id":139286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:17:36] local.INFO: Packet analysis {"connection_id":139286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad5"} 
[2026-07-19 20:17:36] local.INFO: Extracted packet for processing {"connection_id":139286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad5"} 
[2026-07-19 20:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824818176001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784472247000,"timestamp_ms":1784472247000,"timestamp_seconds":1784472247,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad59ad8"} 
[2026-07-19 20:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:17: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-07-19 20:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:17: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-07-19 20:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824818176001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824818176001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:17:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824818176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":139286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:17:36] local.INFO: GPS data processed {"connection_id":139286,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:17:36] local.INFO: Acknowledgment sent {"connection_id":139286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:17:50] local.INFO: TCP Data received {"connection_id":136939,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:17:50] local.INFO: Processing buffer {"connection_id":136939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:17:50] local.INFO: IMEI packet received {"connection_id":136939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":136939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:17:55] local.INFO: TCP Data received {"connection_id":136939,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:17:55] local.INFO: Processing buffer {"connection_id":136939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:17:55] local.INFO: IMEI packet received {"connection_id":136939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":136939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:17:56] local.INFO: TCP Data received {"connection_id":136939,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:17:56] local.INFO: Processing buffer {"connection_id":136939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:17:56] local.INFO: Packet analysis {"connection_id":136939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad8"} 
[2026-07-19 20:17:56] local.INFO: Extracted packet for processing {"connection_id":136939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad8"} 
[2026-07-19 20:17:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824863488001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784472424000,"timestamp_ms":1784472424000,"timestamp_seconds":1784472424,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad84e40"} 
[2026-07-19 20:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:17: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-07-19 20:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:17: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-07-19 20: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-07-19 20:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824863488001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824863488001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:17:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:17:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824863488001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":136939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:17:56] local.INFO: GPS data processed {"connection_id":136939,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:17:56] local.INFO: Acknowledgment sent {"connection_id":136939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:18:07] local.INFO: TCP Data received {"connection_id":139286,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:18:07] local.INFO: Processing buffer {"connection_id":139286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:18:07] local.INFO: Packet analysis {"connection_id":139286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad5"} 
[2026-07-19 20:18:07] local.INFO: Extracted packet for processing {"connection_id":139286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad5"} 
[2026-07-19 20:18:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824818176001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:18: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-07-19 20:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784472247000,"timestamp_ms":1784472247000,"timestamp_seconds":1784472247,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad59ad8"} 
[2026-07-19 20:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":139286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":139286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":139286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:18: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-07-19 20:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824818176001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824818176001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:18:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:18:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824818176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":139286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:18:07] local.INFO: GPS data processed {"connection_id":139286,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:18:07] local.INFO: Acknowledgment sent {"connection_id":139286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:18:27] local.INFO: TCP Data received {"connection_id":136939,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:18:27] local.INFO: Processing buffer {"connection_id":136939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:18:27] local.INFO: Packet analysis {"connection_id":136939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad8"} 
[2026-07-19 20:18:27] local.INFO: Extracted packet for processing {"connection_id":136939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad8"} 
[2026-07-19 20:18:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824863488001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784472424000,"timestamp_ms":1784472424000,"timestamp_seconds":1784472424,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad84e40"} 
[2026-07-19 20:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:18: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-07-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824863488001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824863488001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:18:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:18:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824863488001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":136939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:18:27] local.INFO: GPS data processed {"connection_id":136939,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:18:27] local.INFO: Acknowledgment sent {"connection_id":136939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:18:30] local.INFO: TCP Data received {"connection_id":136833,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:18:30] local.INFO: Processing buffer {"connection_id":136833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:18:30] local.INFO: IMEI packet received {"connection_id":136833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":136833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:18:35] local.INFO: TCP Data received {"connection_id":136833,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:18:35] local.INFO: Processing buffer {"connection_id":136833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:18:35] local.INFO: IMEI packet received {"connection_id":136833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":136833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:18:36] local.INFO: TCP Data received {"connection_id":136833,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:18:36] local.INFO: Processing buffer {"connection_id":136833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:18:36] local.INFO: Packet analysis {"connection_id":136833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad5"} 
[2026-07-19 20:18:36] local.INFO: Extracted packet for processing {"connection_id":136833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad5"} 
[2026-07-19 20:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824818176001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784472247000,"timestamp_ms":1784472247000,"timestamp_seconds":1784472247,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad59ad8"} 
[2026-07-19 20:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:18: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-07-19 20: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-07-19 20:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:18: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-07-19 20:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824818176001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824818176001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:18:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:18:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824818176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":136833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:18:36] local.INFO: GPS data processed {"connection_id":136833,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:18:36] local.INFO: Acknowledgment sent {"connection_id":136833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:18:50] local.INFO: TCP Data received {"connection_id":136940,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:18:50] local.INFO: Processing buffer {"connection_id":136940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:18:50] local.INFO: IMEI packet received {"connection_id":136940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":136940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:18:55] local.INFO: TCP Data received {"connection_id":136940,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:18:55] local.INFO: Processing buffer {"connection_id":136940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:18:55] local.INFO: IMEI packet received {"connection_id":136940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":136940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:18:56] local.INFO: TCP Data received {"connection_id":136940,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:18:56] local.INFO: Processing buffer {"connection_id":136940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:18:56] local.INFO: Packet analysis {"connection_id":136940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad8"} 
[2026-07-19 20:18:56] local.INFO: Extracted packet for processing {"connection_id":136940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad8"} 
[2026-07-19 20:18:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824863488001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:18: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-07-19 20:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784472424000,"timestamp_ms":1784472424000,"timestamp_seconds":1784472424,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad84e40"} 
[2026-07-19 20:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:18: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-07-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:18: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-07-19 20: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-07-19 20:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824863488001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824863488001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:18:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:18:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824863488001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":136940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:18:56] local.INFO: GPS data processed {"connection_id":136940,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:18:56] local.INFO: Acknowledgment sent {"connection_id":136940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:19:07] local.INFO: TCP Data received {"connection_id":136833,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:19:07] local.INFO: Processing buffer {"connection_id":136833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:19:07] local.INFO: Packet analysis {"connection_id":136833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad5"} 
[2026-07-19 20:19:07] local.INFO: Extracted packet for processing {"connection_id":136833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad5"} 
[2026-07-19 20:19:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824818176001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:19: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-07-19 20:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784472247000,"timestamp_ms":1784472247000,"timestamp_seconds":1784472247,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad59ad8"} 
[2026-07-19 20:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:19: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-07-19 20:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824818176001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824818176001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:19:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:19:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824818176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":136833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:19:07] local.INFO: GPS data processed {"connection_id":136833,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:19:07] local.INFO: Acknowledgment sent {"connection_id":136833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:19:27] local.INFO: TCP Data received {"connection_id":136940,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:19:27] local.INFO: Processing buffer {"connection_id":136940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:19:27] local.INFO: Packet analysis {"connection_id":136940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad8"} 
[2026-07-19 20:19:27] local.INFO: Extracted packet for processing {"connection_id":136940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad8"} 
[2026-07-19 20:19:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824863488001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:19: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-07-19 20:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784472424000,"timestamp_ms":1784472424000,"timestamp_seconds":1784472424,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad84e40"} 
[2026-07-19 20:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:19: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-07-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824863488001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824863488001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:19:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:19:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824863488001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":136940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:19:27] local.INFO: GPS data processed {"connection_id":136940,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:19:27] local.INFO: Acknowledgment sent {"connection_id":136940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:19:30] local.INFO: TCP Data received {"connection_id":139288,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:19:30] local.INFO: Processing buffer {"connection_id":139288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:19:30] local.INFO: IMEI packet received {"connection_id":139288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":139288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:19:35] local.INFO: TCP Data received {"connection_id":139288,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:19:35] local.INFO: Processing buffer {"connection_id":139288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:19:35] local.INFO: IMEI packet received {"connection_id":139288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":139288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:19:36] local.INFO: TCP Data received {"connection_id":139288,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:19:36] local.INFO: Processing buffer {"connection_id":139288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad59ad8012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:19:36] local.INFO: Packet analysis {"connection_id":139288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad5"} 
[2026-07-19 20:19:36] local.INFO: Extracted packet for processing {"connection_id":139288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad5"} 
[2026-07-19 20:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824818176001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:19: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-07-19 20:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784472247000,"timestamp_ms":1784472247000,"timestamp_seconds":1784472247,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad59ad8"} 
[2026-07-19 20:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:19: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-07-19 20:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:19: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-07-19 20:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824818176001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824818176001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:19:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:19:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824818176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":139288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:19:36] local.INFO: GPS data processed {"connection_id":139288,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:19:36] local.INFO: Acknowledgment sent {"connection_id":139288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:19:50] local.INFO: TCP Data received {"connection_id":136834,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:19:50] local.INFO: Processing buffer {"connection_id":136834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:19:50] local.INFO: IMEI packet received {"connection_id":136834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":136834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:19:55] local.INFO: TCP Data received {"connection_id":136834,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:19:55] local.INFO: Processing buffer {"connection_id":136834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:19:55] local.INFO: IMEI packet received {"connection_id":136834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":136834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:19:56] local.INFO: TCP Data received {"connection_id":136834,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:19:56] local.INFO: Processing buffer {"connection_id":136834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:19:56] local.INFO: Packet analysis {"connection_id":136834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad8"} 
[2026-07-19 20:19:56] local.INFO: Extracted packet for processing {"connection_id":136834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad8"} 
[2026-07-19 20:19:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824863488001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:19: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-07-19 20:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784472424000,"timestamp_ms":1784472424000,"timestamp_seconds":1784472424,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad84e40"} 
[2026-07-19 20:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:19: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-07-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:19: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-07-19 20: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-07-19 20:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824863488001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824863488001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:19:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:19:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824863488001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":136834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:19:56] local.INFO: GPS data processed {"connection_id":136834,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:19:56] local.INFO: Acknowledgment sent {"connection_id":136834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:20:07] local.INFO: TCP Data received {"connection_id":139288,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:20:07] local.INFO: Processing buffer {"connection_id":139288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:20:07] local.INFO: Packet analysis {"connection_id":139288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ada"} 
[2026-07-19 20:20:07] local.INFO: Extracted packet for processing {"connection_id":139288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ada"} 
[2026-07-19 20:20:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824895232001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:20: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-07-19 20:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784472548000,"timestamp_ms":1784472548000,"timestamp_seconds":1784472548,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ada32a0"} 
[2026-07-19 20:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":139288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":139288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":139288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:20: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-07-19 20:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824895232001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824895232001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:20:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:20:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824895232001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":139288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:20:07] local.INFO: GPS data processed {"connection_id":139288,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:20:07] local.INFO: Acknowledgment sent {"connection_id":139288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:20:27] local.INFO: TCP Data received {"connection_id":136834,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:20:27] local.INFO: Processing buffer {"connection_id":136834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:20:27] local.INFO: Packet analysis {"connection_id":136834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad8"} 
[2026-07-19 20:20:27] local.INFO: Extracted packet for processing {"connection_id":136834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad8"} 
[2026-07-19 20:20:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824863488001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:20: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-07-19 20:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784472424000,"timestamp_ms":1784472424000,"timestamp_seconds":1784472424,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad84e40"} 
[2026-07-19 20:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:20: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-07-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824863488001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824863488001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:20:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:20:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824863488001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":136834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:20:28] local.INFO: GPS data processed {"connection_id":136834,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:20:28] local.INFO: Acknowledgment sent {"connection_id":136834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:20:30] local.INFO: TCP Data received {"connection_id":137899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:20:30] local.INFO: Processing buffer {"connection_id":137899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:20:30] local.INFO: IMEI packet received {"connection_id":137899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":137899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:20:35] local.INFO: TCP Data received {"connection_id":137899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:20:35] local.INFO: Processing buffer {"connection_id":137899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:20:35] local.INFO: IMEI packet received {"connection_id":137899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":137899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:20:36] local.INFO: TCP Data received {"connection_id":137899,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:20:36] local.INFO: Processing buffer {"connection_id":137899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:20:36] local.INFO: Packet analysis {"connection_id":137899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ada"} 
[2026-07-19 20:20:36] local.INFO: Extracted packet for processing {"connection_id":137899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ada"} 
[2026-07-19 20:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824895232001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784472548000,"timestamp_ms":1784472548000,"timestamp_seconds":1784472548,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ada32a0"} 
[2026-07-19 20:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:20: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-07-19 20:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:20: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-07-19 20:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824895232001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824895232001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:20:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:20:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824895232001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":137899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:20:36] local.INFO: GPS data processed {"connection_id":137899,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:20:36] local.INFO: Acknowledgment sent {"connection_id":137899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:20:41] local.INFO: TCP Data received {"connection_id":137898,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:20:41] local.INFO: Processing buffer {"connection_id":137898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:20:41] local.INFO: IMEI packet received {"connection_id":137898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 20:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":137898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:20:51] local.INFO: TCP Data received {"connection_id":136941,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:20:51] local.INFO: Processing buffer {"connection_id":136941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:20:51] local.INFO: IMEI packet received {"connection_id":136941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":136941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:20:55] local.INFO: TCP Data received {"connection_id":136941,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:20:55] local.INFO: Processing buffer {"connection_id":136941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:20:55] local.INFO: IMEI packet received {"connection_id":136941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":136941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:20:56] local.INFO: TCP Data received {"connection_id":136941,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:20:56] local.INFO: Processing buffer {"connection_id":136941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:20:56] local.INFO: Packet analysis {"connection_id":136941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad8"} 
[2026-07-19 20:20:56] local.INFO: Extracted packet for processing {"connection_id":136941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad8"} 
[2026-07-19 20:20:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824863488001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:20: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-07-19 20:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784472424000,"timestamp_ms":1784472424000,"timestamp_seconds":1784472424,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad84e40"} 
[2026-07-19 20:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:20: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-07-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:20: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-07-19 20: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-07-19 20:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824863488001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824863488001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:20:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:20:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824863488001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":136941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:20:56] local.INFO: GPS data processed {"connection_id":136941,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:20:56] local.INFO: Acknowledgment sent {"connection_id":136941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:21:07] local.INFO: TCP Data received {"connection_id":137899,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:21:07] local.INFO: Processing buffer {"connection_id":137899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:21:07] local.INFO: Packet analysis {"connection_id":137899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ada"} 
[2026-07-19 20:21:07] local.INFO: Extracted packet for processing {"connection_id":137899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ada"} 
[2026-07-19 20:21:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824895232001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:21: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-07-19 20:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784472548000,"timestamp_ms":1784472548000,"timestamp_seconds":1784472548,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ada32a0"} 
[2026-07-19 20:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":137899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":137899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":137899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:21: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-07-19 20:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824895232001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824895232001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:21:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:21:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824895232001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":137899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:21:07] local.INFO: GPS data processed {"connection_id":137899,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:21:07] local.INFO: Acknowledgment sent {"connection_id":137899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:21:25] local.INFO: TCP Data received {"connection_id":137900,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:21:25] local.INFO: Processing buffer {"connection_id":137900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:21:25] local.INFO: IMEI packet received {"connection_id":137900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 20:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":137900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:21:27] local.INFO: TCP Data received {"connection_id":136941,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:21:27] local.INFO: Processing buffer {"connection_id":136941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:21:27] local.INFO: Packet analysis {"connection_id":136941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad8"} 
[2026-07-19 20:21:27] local.INFO: Extracted packet for processing {"connection_id":136941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad8"} 
[2026-07-19 20:21:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824863488001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:21: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-07-19 20:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784472424000,"timestamp_ms":1784472424000,"timestamp_seconds":1784472424,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad84e40"} 
[2026-07-19 20:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:21: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-07-19 20:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824863488001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824863488001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:21:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:21:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824863488001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":136941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:21:27] local.INFO: GPS data processed {"connection_id":136941,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:21:27] local.INFO: Acknowledgment sent {"connection_id":136941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:21:30] local.INFO: TCP Data received {"connection_id":139289,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:21:30] local.INFO: Processing buffer {"connection_id":139289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:21:30] local.INFO: IMEI packet received {"connection_id":139289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":139289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:21:35] local.INFO: TCP Data received {"connection_id":139289,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:21:35] local.INFO: Processing buffer {"connection_id":139289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:21:35] local.INFO: IMEI packet received {"connection_id":139289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":139289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:21:36] local.INFO: TCP Data received {"connection_id":139289,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:21:36] local.INFO: Processing buffer {"connection_id":139289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:21:36] local.INFO: Packet analysis {"connection_id":139289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ada"} 
[2026-07-19 20:21:36] local.INFO: Extracted packet for processing {"connection_id":139289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ada"} 
[2026-07-19 20:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824895232001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:21: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-07-19 20:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784472548000,"timestamp_ms":1784472548000,"timestamp_seconds":1784472548,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ada32a0"} 
[2026-07-19 20:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:21: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-07-19 20:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:21: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-07-19 20:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824895232001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824895232001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:21:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:21:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824895232001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":139289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:21:36] local.INFO: GPS data processed {"connection_id":139289,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:21:36] local.INFO: Acknowledgment sent {"connection_id":139289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:21:50] local.INFO: TCP Data received {"connection_id":137901,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:21:50] local.INFO: Processing buffer {"connection_id":137901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:21:50] local.INFO: IMEI packet received {"connection_id":137901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":137901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:21:55] local.INFO: TCP Data received {"connection_id":137901,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:21:55] local.INFO: Processing buffer {"connection_id":137901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:21:55] local.INFO: IMEI packet received {"connection_id":137901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":137901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:21:56] local.INFO: TCP Data received {"connection_id":137901,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:21:56] local.INFO: Processing buffer {"connection_id":137901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:21:56] local.INFO: Packet analysis {"connection_id":137901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad8"} 
[2026-07-19 20:21:56] local.INFO: Extracted packet for processing {"connection_id":137901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad8"} 
[2026-07-19 20:21:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824863488001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:21: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-07-19 20:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784472424000,"timestamp_ms":1784472424000,"timestamp_seconds":1784472424,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad84e40"} 
[2026-07-19 20:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:21: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-07-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:21: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-07-19 20: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-07-19 20:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824863488001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824863488001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:21:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:21:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824863488001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":137901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:21:56] local.INFO: GPS data processed {"connection_id":137901,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:21:56] local.INFO: Acknowledgment sent {"connection_id":137901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:22:08] local.INFO: TCP Data received {"connection_id":139289,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:22:08] local.INFO: Processing buffer {"connection_id":139289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:22:08] local.INFO: Packet analysis {"connection_id":139289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ada"} 
[2026-07-19 20:22:08] local.INFO: Extracted packet for processing {"connection_id":139289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ada"} 
[2026-07-19 20:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824895232001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784472548000,"timestamp_ms":1784472548000,"timestamp_seconds":1784472548,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ada32a0"} 
[2026-07-19 20:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:22: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-07-19 20:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20: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-07-19 20:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824895232001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824895232001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:22:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824895232001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":139289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:22:08] local.INFO: GPS data processed {"connection_id":139289,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:22:08] local.INFO: Acknowledgment sent {"connection_id":139289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:22:27] local.INFO: TCP Data received {"connection_id":137901,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:22:27] local.INFO: Processing buffer {"connection_id":137901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ad84e40012d196540071ff010003f004925..."} 
[2026-07-19 20:22:27] local.INFO: Packet analysis {"connection_id":137901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ad8"} 
[2026-07-19 20:22:27] local.INFO: Extracted packet for processing {"connection_id":137901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ad8"} 
[2026-07-19 20:22:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":63,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824863488001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:22: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-07-19 20:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784472424000,"timestamp_ms":1784472424000,"timestamp_seconds":1784472424,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ad84e40"} 
[2026-07-19 20:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:22: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-07-19 20:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824863488001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824863488001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:22:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:22:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824863488001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":137901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:22:28] local.INFO: GPS data processed {"connection_id":137901,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:22:28] local.INFO: Acknowledgment sent {"connection_id":137901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:22:35] local.INFO: TCP Data received {"connection_id":139291,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:22:35] local.INFO: Processing buffer {"connection_id":139291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:22:35] local.INFO: IMEI packet received {"connection_id":139291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":139291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:22:40] local.INFO: TCP Data received {"connection_id":139291,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:22:40] local.INFO: Processing buffer {"connection_id":139291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:22:40] local.INFO: IMEI packet received {"connection_id":139291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":139291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:22:41] local.INFO: TCP Data received {"connection_id":139291,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:22:41] local.INFO: Processing buffer {"connection_id":139291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:22:41] local.INFO: Packet analysis {"connection_id":139291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ada"} 
[2026-07-19 20:22:41] local.INFO: Extracted packet for processing {"connection_id":139291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ada"} 
[2026-07-19 20:22:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824895232001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784472548000,"timestamp_ms":1784472548000,"timestamp_seconds":1784472548,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ada32a0"} 
[2026-07-19 20:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824895232001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824895232001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:22:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:22:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824895232001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":139291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:22:41] local.INFO: GPS data processed {"connection_id":139291,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:22:41] local.INFO: Acknowledgment sent {"connection_id":139291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:22:46] local.INFO: TCP Data received {"connection_id":139291,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:22:46] local.INFO: Processing buffer {"connection_id":139291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:22:46] local.INFO: Packet analysis {"connection_id":139291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ada"} 
[2026-07-19 20:22:46] local.INFO: Extracted packet for processing {"connection_id":139291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ada"} 
[2026-07-19 20:22:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824895232001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784472548000,"timestamp_ms":1784472548000,"timestamp_seconds":1784472548,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ada32a0"} 
[2026-07-19 20:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":139291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":139291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":139291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824895232001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824895232001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:22:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:22:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824895232001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":139291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:22:46] local.INFO: GPS data processed {"connection_id":139291,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:22:46] local.INFO: Acknowledgment sent {"connection_id":139291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:22:55] local.INFO: TCP Data received {"connection_id":136942,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:22:55] local.INFO: Processing buffer {"connection_id":136942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:22:55] local.INFO: IMEI packet received {"connection_id":136942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":136942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:23:00] local.INFO: TCP Data received {"connection_id":136942,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:23:00] local.INFO: Processing buffer {"connection_id":136942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:23:00] local.INFO: IMEI packet received {"connection_id":136942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":136942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:23:01] local.INFO: TCP Data received {"connection_id":136942,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:23:01] local.INFO: Processing buffer {"connection_id":136942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:23:01] local.INFO: Packet analysis {"connection_id":136942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7adc"} 
[2026-07-19 20:23:01] local.INFO: Extracted packet for processing {"connection_id":136942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7adc"} 
[2026-07-19 20:23:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824940544001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:23: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-07-19 20:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784472725000,"timestamp_ms":1784472725000,"timestamp_seconds":1784472725,"priority":1,"record_length":96,"hex_timestamp":"0000019f7adce608"} 
[2026-07-19 20:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:23: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-07-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824940544001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824940544001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:23:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:23:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824940544001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":136942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:23:02] local.INFO: GPS data processed {"connection_id":136942,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:23:02] local.INFO: Acknowledgment sent {"connection_id":136942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:23:09] local.INFO: TCP Data received {"connection_id":136942,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:23:09] local.INFO: Processing buffer {"connection_id":136942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:23:09] local.INFO: Packet analysis {"connection_id":136942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7adc"} 
[2026-07-19 20:23:09] local.INFO: Extracted packet for processing {"connection_id":136942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7adc"} 
[2026-07-19 20:23:09] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824940544001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784472725000,"timestamp_ms":1784472725000,"timestamp_seconds":1784472725,"priority":1,"record_length":96,"hex_timestamp":"0000019f7adce608"} 
[2026-07-19 20:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:23:09] 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-07-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824940544001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824940544001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:23:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:23:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824940544001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":136942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:23:09] local.INFO: GPS data processed {"connection_id":136942,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:23:09] local.INFO: Acknowledgment sent {"connection_id":136942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:23:30] local.INFO: TCP Data received {"connection_id":139292,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:23:30] local.INFO: Processing buffer {"connection_id":139292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:23:30] local.INFO: IMEI packet received {"connection_id":139292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":139292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:23:35] local.INFO: TCP Data received {"connection_id":139292,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:23:35] local.INFO: Processing buffer {"connection_id":139292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:23:35] local.INFO: IMEI packet received {"connection_id":139292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":139292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:23:36] local.INFO: TCP Data received {"connection_id":139292,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:23:36] local.INFO: Processing buffer {"connection_id":139292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:23:36] local.INFO: Packet analysis {"connection_id":139292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ada"} 
[2026-07-19 20:23:36] local.INFO: Extracted packet for processing {"connection_id":139292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ada"} 
[2026-07-19 20:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824895232001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784472548000,"timestamp_ms":1784472548000,"timestamp_seconds":1784472548,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ada32a0"} 
[2026-07-19 20:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:23: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-07-19 20: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-07-19 20:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:23: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-07-19 20:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824895232001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824895232001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:23:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824895232001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":139292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:23:36] local.INFO: GPS data processed {"connection_id":139292,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:23:36] local.INFO: Acknowledgment sent {"connection_id":139292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:23:50] local.INFO: TCP Data received {"connection_id":136943,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:23:50] local.INFO: Processing buffer {"connection_id":136943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:23:50] local.INFO: IMEI packet received {"connection_id":136943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":136943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:23:55] local.INFO: TCP Data received {"connection_id":136943,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:23:55] local.INFO: Processing buffer {"connection_id":136943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:23:55] local.INFO: IMEI packet received {"connection_id":136943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":136943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:23:56] local.INFO: TCP Data received {"connection_id":136943,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:23:56] local.INFO: Processing buffer {"connection_id":136943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:23:56] local.INFO: Packet analysis {"connection_id":136943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7adc"} 
[2026-07-19 20:23:56] local.INFO: Extracted packet for processing {"connection_id":136943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7adc"} 
[2026-07-19 20:23:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824940544001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:23: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-07-19 20:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784472725000,"timestamp_ms":1784472725000,"timestamp_seconds":1784472725,"priority":1,"record_length":96,"hex_timestamp":"0000019f7adce608"} 
[2026-07-19 20:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:23: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-07-19 20: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-07-19 20: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-07-19 20: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-07-19 20:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824940544001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824940544001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:23:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:23:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824940544001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":136943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:23:56] local.INFO: GPS data processed {"connection_id":136943,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:23:56] local.INFO: Acknowledgment sent {"connection_id":136943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:24:08] local.INFO: TCP Data received {"connection_id":139292,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:24:08] local.INFO: Processing buffer {"connection_id":139292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:24:08] local.INFO: Packet analysis {"connection_id":139292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ada"} 
[2026-07-19 20:24:08] local.INFO: Extracted packet for processing {"connection_id":139292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ada"} 
[2026-07-19 20:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824895232001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:24: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-07-19 20:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784472548000,"timestamp_ms":1784472548000,"timestamp_seconds":1784472548,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ada32a0"} 
[2026-07-19 20:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:24: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-07-19 20:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:24: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-07-19 20:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824895232001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824895232001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:24:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:24:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824895232001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":139292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:24:08] local.INFO: GPS data processed {"connection_id":139292,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:24:08] local.INFO: Acknowledgment sent {"connection_id":139292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:24:27] local.INFO: TCP Data received {"connection_id":136943,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:24:27] local.INFO: Processing buffer {"connection_id":136943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:24:27] local.INFO: Packet analysis {"connection_id":136943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7adc"} 
[2026-07-19 20:24:27] local.INFO: Extracted packet for processing {"connection_id":136943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7adc"} 
[2026-07-19 20:24:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824940544001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:24: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-07-19 20:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784472725000,"timestamp_ms":1784472725000,"timestamp_seconds":1784472725,"priority":1,"record_length":96,"hex_timestamp":"0000019f7adce608"} 
[2026-07-19 20:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:24: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-07-19 20:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824940544001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824940544001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:24:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:24:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824940544001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":136943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:24:27] local.INFO: GPS data processed {"connection_id":136943,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:24:27] local.INFO: Acknowledgment sent {"connection_id":136943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:24:30] local.INFO: TCP Data received {"connection_id":136837,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:24:30] local.INFO: Processing buffer {"connection_id":136837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:24:30] local.INFO: IMEI packet received {"connection_id":136837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":136837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:24:35] local.INFO: TCP Data received {"connection_id":136837,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:24:35] local.INFO: Processing buffer {"connection_id":136837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:24:35] local.INFO: IMEI packet received {"connection_id":136837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":136837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:24:36] local.INFO: TCP Data received {"connection_id":136837,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:24:36] local.INFO: Processing buffer {"connection_id":136837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ada32a0012d34c50006aa4dd80008009528..."} 
[2026-07-19 20:24:36] local.INFO: Packet analysis {"connection_id":136837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ada"} 
[2026-07-19 20:24:36] local.INFO: Extracted packet for processing {"connection_id":136837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ada"} 
[2026-07-19 20:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824895232001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:24: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-07-19 20:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784472548000,"timestamp_ms":1784472548000,"timestamp_seconds":1784472548,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ada32a0"} 
[2026-07-19 20:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:24: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-07-19 20:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:24: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-07-19 20:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824895232001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824895232001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:24:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:24:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824895232001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":136837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:24:36] local.INFO: GPS data processed {"connection_id":136837,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:24:36] local.INFO: Acknowledgment sent {"connection_id":136837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:24:50] local.INFO: TCP Data received {"connection_id":137903,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:24:50] local.INFO: Processing buffer {"connection_id":137903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:24:50] local.INFO: IMEI packet received {"connection_id":137903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":137903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:24:55] local.INFO: TCP Data received {"connection_id":137903,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:24:55] local.INFO: Processing buffer {"connection_id":137903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:24:55] local.INFO: IMEI packet received {"connection_id":137903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":137903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:24:56] local.INFO: TCP Data received {"connection_id":137903,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:24:56] local.INFO: Processing buffer {"connection_id":137903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:24:56] local.INFO: Packet analysis {"connection_id":137903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7adc"} 
[2026-07-19 20:24:56] local.INFO: Extracted packet for processing {"connection_id":137903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7adc"} 
[2026-07-19 20:24:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824940544001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:24: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-07-19 20:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784472725000,"timestamp_ms":1784472725000,"timestamp_seconds":1784472725,"priority":1,"record_length":96,"hex_timestamp":"0000019f7adce608"} 
[2026-07-19 20:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:24: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-07-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:24: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-07-19 20: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-07-19 20:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824940544001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824940544001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:24:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:24:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824940544001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":137903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:24:56] local.INFO: GPS data processed {"connection_id":137903,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:24:56] local.INFO: Acknowledgment sent {"connection_id":137903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:25:07] local.INFO: TCP Data received {"connection_id":136837,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:25:07] local.INFO: Processing buffer {"connection_id":136837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:25:07] local.INFO: Packet analysis {"connection_id":136837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ade"} 
[2026-07-19 20:25:07] local.INFO: Extracted packet for processing {"connection_id":136837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ade"} 
[2026-07-19 20:25:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824972288001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:25: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-07-19 20:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784472849000,"timestamp_ms":1784472849000,"timestamp_seconds":1784472849,"priority":1,"record_length":96,"hex_timestamp":"0000019f7adeca68"} 
[2026-07-19 20:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 20:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:25: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-07-19 20:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824972288001,"66":25451,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824972288001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:25:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:25:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824972288001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":136837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:25:07] local.INFO: GPS data processed {"connection_id":136837,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:25:07] local.INFO: Acknowledgment sent {"connection_id":136837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:25:27] local.INFO: TCP Data received {"connection_id":137903,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:25:27] local.INFO: Processing buffer {"connection_id":137903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:25:27] local.INFO: Packet analysis {"connection_id":137903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7adc"} 
[2026-07-19 20:25:27] local.INFO: Extracted packet for processing {"connection_id":137903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7adc"} 
[2026-07-19 20:25:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824940544001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:25: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-07-19 20:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784472725000,"timestamp_ms":1784472725000,"timestamp_seconds":1784472725,"priority":1,"record_length":96,"hex_timestamp":"0000019f7adce608"} 
[2026-07-19 20:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:25: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-07-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824940544001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824940544001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:25:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:25:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824940544001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":137903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:25:27] local.INFO: GPS data processed {"connection_id":137903,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:25:27] local.INFO: Acknowledgment sent {"connection_id":137903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:25:30] local.INFO: TCP Data received {"connection_id":136944,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:25:30] local.INFO: Processing buffer {"connection_id":136944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:25:30] local.INFO: IMEI packet received {"connection_id":136944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":136944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:25:37] local.INFO: TCP Data received {"connection_id":136944,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:25:37] local.INFO: Processing buffer {"connection_id":136944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:25:37] local.INFO: IMEI packet received {"connection_id":136944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":136944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:25:38] local.INFO: TCP Data received {"connection_id":136944,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:25:38] local.INFO: Processing buffer {"connection_id":136944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:25:38] local.INFO: Packet analysis {"connection_id":136944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ade"} 
[2026-07-19 20:25:38] local.INFO: Extracted packet for processing {"connection_id":136944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ade"} 
[2026-07-19 20:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824972288001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:25: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-07-19 20:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784472849000,"timestamp_ms":1784472849000,"timestamp_seconds":1784472849,"priority":1,"record_length":96,"hex_timestamp":"0000019f7adeca68"} 
[2026-07-19 20:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 20:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:25: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-07-19 20:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824972288001,"66":25451,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824972288001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:25:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:25:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824972288001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":136944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:25:38] local.INFO: GPS data processed {"connection_id":136944,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:25:38] local.INFO: Acknowledgment sent {"connection_id":136944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:25:50] local.INFO: TCP Data received {"connection_id":136838,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:25:50] local.INFO: Processing buffer {"connection_id":136838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:25:50] local.INFO: IMEI packet received {"connection_id":136838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":136838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:25:55] local.INFO: TCP Data received {"connection_id":136838,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:25:55] local.INFO: Processing buffer {"connection_id":136838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:25:55] local.INFO: IMEI packet received {"connection_id":136838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":136838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:25:56] local.INFO: TCP Data received {"connection_id":136838,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:25:56] local.INFO: Processing buffer {"connection_id":136838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:25:56] local.INFO: Packet analysis {"connection_id":136838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7adc"} 
[2026-07-19 20:25:56] local.INFO: Extracted packet for processing {"connection_id":136838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7adc"} 
[2026-07-19 20:25:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824940544001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:25: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-07-19 20:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784472725000,"timestamp_ms":1784472725000,"timestamp_seconds":1784472725,"priority":1,"record_length":96,"hex_timestamp":"0000019f7adce608"} 
[2026-07-19 20:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:25: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-07-19 20:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:25: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-07-19 20:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824940544001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824940544001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:25:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:25:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824940544001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":136838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:25:56] local.INFO: GPS data processed {"connection_id":136838,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:25:56] local.INFO: Acknowledgment sent {"connection_id":136838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:26:10] local.INFO: TCP Data received {"connection_id":136944,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:26:10] local.INFO: Processing buffer {"connection_id":136944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:26:10] local.INFO: Packet analysis {"connection_id":136944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ade"} 
[2026-07-19 20:26:10] local.INFO: Extracted packet for processing {"connection_id":136944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ade"} 
[2026-07-19 20:26:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824972288001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:26: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-07-19 20:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784472849000,"timestamp_ms":1784472849000,"timestamp_seconds":1784472849,"priority":1,"record_length":96,"hex_timestamp":"0000019f7adeca68"} 
[2026-07-19 20:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 20:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824972288001,"66":25451,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824972288001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:26:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:26:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824972288001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":136944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:26:10] local.INFO: GPS data processed {"connection_id":136944,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:26:10] local.INFO: Acknowledgment sent {"connection_id":136944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:26:27] local.INFO: TCP Data received {"connection_id":136838,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:26:27] local.INFO: Processing buffer {"connection_id":136838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:26:27] local.INFO: Packet analysis {"connection_id":136838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7adc"} 
[2026-07-19 20:26:27] local.INFO: Extracted packet for processing {"connection_id":136838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7adc"} 
[2026-07-19 20:26:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824940544001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:26: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-07-19 20:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784472725000,"timestamp_ms":1784472725000,"timestamp_seconds":1784472725,"priority":1,"record_length":96,"hex_timestamp":"0000019f7adce608"} 
[2026-07-19 20:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:26: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-07-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824940544001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824940544001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:26:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:26:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824940544001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":136838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:26:28] local.INFO: GPS data processed {"connection_id":136838,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:26:28] local.INFO: Acknowledgment sent {"connection_id":136838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:26:30] local.INFO: TCP Data received {"connection_id":137904,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:26:30] local.INFO: Processing buffer {"connection_id":137904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:26:30] local.INFO: IMEI packet received {"connection_id":137904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":137904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:26:35] local.INFO: TCP Data received {"connection_id":137904,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:26:35] local.INFO: Processing buffer {"connection_id":137904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:26:35] local.INFO: IMEI packet received {"connection_id":137904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":137904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:26:36] local.INFO: TCP Data received {"connection_id":137904,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:26:36] local.INFO: Processing buffer {"connection_id":137904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:26:36] local.INFO: Packet analysis {"connection_id":137904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ade"} 
[2026-07-19 20:26:36] local.INFO: Extracted packet for processing {"connection_id":137904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ade"} 
[2026-07-19 20:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824972288001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784472849000,"timestamp_ms":1784472849000,"timestamp_seconds":1784472849,"priority":1,"record_length":96,"hex_timestamp":"0000019f7adeca68"} 
[2026-07-19 20:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 20:26: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-07-19 20:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824972288001,"66":25451,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824972288001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:26:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:26:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824972288001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":137904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:26:36] local.INFO: GPS data processed {"connection_id":137904,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:26:36] local.INFO: Acknowledgment sent {"connection_id":137904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:26:41] local.INFO: TCP Data received {"connection_id":136839,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:26:41] local.INFO: Processing buffer {"connection_id":136839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:26:41] local.INFO: IMEI packet received {"connection_id":136839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 20:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":136839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:26:50] local.INFO: TCP Data received {"connection_id":136945,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:26:50] local.INFO: Processing buffer {"connection_id":136945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:26:50] local.INFO: IMEI packet received {"connection_id":136945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":136945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:26:55] local.INFO: TCP Data received {"connection_id":136945,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:26:55] local.INFO: Processing buffer {"connection_id":136945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:26:55] local.INFO: IMEI packet received {"connection_id":136945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":136945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:26:56] local.INFO: TCP Data received {"connection_id":136945,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:26:56] local.INFO: Processing buffer {"connection_id":136945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:26:56] local.INFO: Packet analysis {"connection_id":136945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7adc"} 
[2026-07-19 20:26:56] local.INFO: Extracted packet for processing {"connection_id":136945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7adc"} 
[2026-07-19 20:26:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824940544001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:26: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-07-19 20:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784472725000,"timestamp_ms":1784472725000,"timestamp_seconds":1784472725,"priority":1,"record_length":96,"hex_timestamp":"0000019f7adce608"} 
[2026-07-19 20:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:26: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-07-19 20:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:26: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-07-19 20:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824940544001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824940544001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:26:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:26:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824940544001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":136945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:26:56] local.INFO: GPS data processed {"connection_id":136945,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:26:56] local.INFO: Acknowledgment sent {"connection_id":136945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:27:07] local.INFO: TCP Data received {"connection_id":137904,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:27:07] local.INFO: Processing buffer {"connection_id":137904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:27:07] local.INFO: Packet analysis {"connection_id":137904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ade"} 
[2026-07-19 20:27:07] local.INFO: Extracted packet for processing {"connection_id":137904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ade"} 
[2026-07-19 20:27:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824972288001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:27: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-07-19 20:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784472849000,"timestamp_ms":1784472849000,"timestamp_seconds":1784472849,"priority":1,"record_length":96,"hex_timestamp":"0000019f7adeca68"} 
[2026-07-19 20:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 20:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":137904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":137904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":137904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:27: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-07-19 20:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824972288001,"66":25451,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824972288001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:27:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:27:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824972288001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":137904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:27:07] local.INFO: GPS data processed {"connection_id":137904,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:27:07] local.INFO: Acknowledgment sent {"connection_id":137904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:27:25] local.INFO: TCP Data received {"connection_id":136840,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:27:25] local.INFO: Processing buffer {"connection_id":136840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:27:25] local.INFO: IMEI packet received {"connection_id":136840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 20:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":136840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:27:27] local.INFO: TCP Data received {"connection_id":136945,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:27:27] local.INFO: Processing buffer {"connection_id":136945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7adce608012d196540071ff010004c004928..."} 
[2026-07-19 20:27:27] local.INFO: Packet analysis {"connection_id":136945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7adc"} 
[2026-07-19 20:27:27] local.INFO: Extracted packet for processing {"connection_id":136945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7adc"} 
[2026-07-19 20:27:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824940544001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:27: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-07-19 20:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784472725000,"timestamp_ms":1784472725000,"timestamp_seconds":1784472725,"priority":1,"record_length":96,"hex_timestamp":"0000019f7adce608"} 
[2026-07-19 20:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:27: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-07-19 20:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824940544001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824940544001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:27:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:27:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824940544001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":136945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:27:27] local.INFO: GPS data processed {"connection_id":136945,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:27:27] local.INFO: Acknowledgment sent {"connection_id":136945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:27:30] local.INFO: TCP Data received {"connection_id":136841,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:27:30] local.INFO: Processing buffer {"connection_id":136841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:27:30] local.INFO: IMEI packet received {"connection_id":136841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":136841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:27:31] local.INFO: TCP Data received {"connection_id":136840,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:27:31] local.INFO: Processing buffer {"connection_id":136840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:27:31] local.INFO: IMEI packet received {"connection_id":136840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-19 20:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":136840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:27:31] local.INFO: TCP Data received {"connection_id":136840,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ac8c998012d34c14006aa4030001d00601f..."} 
[2026-07-19 20:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ac8c998012d34c14006aa4030001d00601f..."} 
[2026-07-19 20:27:31] local.INFO: Processing buffer {"connection_id":136840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ac8c998012d34c14006aa4030001d00601f..."} 
[2026-07-19 20:27:31] local.INFO: Packet analysis {"connection_id":136840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ac8"} 
[2026-07-19 20:27:31] local.INFO: Extracted packet for processing {"connection_id":136840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ac8"} 
[2026-07-19 20:27:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820848,"longitude_deg":75.8432064,"latitude_deg":11.1820848,"altitude":29,"angle":96,"satellites":31,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-07-19 20:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824603136001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":137892630867476480,"note":"Value kept but may cause issues"} 
[2026-07-19 20:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847724032,"note":"Value kept but may cause issues"} 
[2026-07-19 20:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784471407000,"timestamp_ms":1784471407000,"timestamp_seconds":1784471407,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ac8c998"} 
[2026-07-19 20:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-19 20:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":136840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":136840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-19 20:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":136840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-19 20:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-19 20:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-19 20:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824603136001,"66":25734,"97":206,"81":23296,"24":0,"16":137892630867476480,"45":3801389957847724032},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-19 20:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-19 20:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824603136001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:27:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:27:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":137892630867476480,"km_value":137892630867476.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847724032,"description":"Unknown IO ID 45"} 
[2026-07-19 20:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824603136001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847724032}} 
[2026-07-19 20:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":136840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513951,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:27:32] local.INFO: GPS data processed {"connection_id":136840,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:27:32] local.INFO: Acknowledgment sent {"connection_id":136840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:27:35] local.INFO: TCP Data received {"connection_id":136841,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:27:35] local.INFO: Processing buffer {"connection_id":136841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:27:35] local.INFO: IMEI packet received {"connection_id":136841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":136841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:27:36] local.INFO: TCP Data received {"connection_id":136841,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:27:36] local.INFO: Processing buffer {"connection_id":136841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:27:36] local.INFO: Packet analysis {"connection_id":136841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ade"} 
[2026-07-19 20:27:36] local.INFO: Extracted packet for processing {"connection_id":136841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ade"} 
[2026-07-19 20:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824972288001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784472849000,"timestamp_ms":1784472849000,"timestamp_seconds":1784472849,"priority":1,"record_length":96,"hex_timestamp":"0000019f7adeca68"} 
[2026-07-19 20:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 20:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:27: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-07-19 20:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824972288001,"66":25451,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824972288001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:27:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:27:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824972288001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":136841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:27:36] local.INFO: GPS data processed {"connection_id":136841,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:27:36] local.INFO: Acknowledgment sent {"connection_id":136841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:27:55] local.INFO: TCP Data received {"connection_id":139294,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:27:55] local.INFO: Processing buffer {"connection_id":139294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:27:55] local.INFO: IMEI packet received {"connection_id":139294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":139294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:28:00] local.INFO: TCP Data received {"connection_id":139294,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:28:00] local.INFO: Processing buffer {"connection_id":139294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:28:00] local.INFO: IMEI packet received {"connection_id":139294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":139294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:28:01] local.INFO: TCP Data received {"connection_id":139294,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:28:01] local.INFO: Processing buffer {"connection_id":139294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:28:01] local.INFO: Packet analysis {"connection_id":139294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae1"} 
[2026-07-19 20:28:01] local.INFO: Extracted packet for processing {"connection_id":139294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae1"} 
[2026-07-19 20:28:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 20:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825017600001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:28: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-07-19 20:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784473026000,"timestamp_ms":1784473026000,"timestamp_seconds":1784473026,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae17dd0"} 
[2026-07-19 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-07-19 20:28:01] 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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 20:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":139294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":139294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":139294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825017600001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825017600001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:28:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:28:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825017600001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":139294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:28:01] local.INFO: GPS data processed {"connection_id":139294,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:28:01] local.INFO: Acknowledgment sent {"connection_id":139294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:28:05] local.INFO: TCP Data received {"connection_id":139294,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:28:05] local.INFO: Processing buffer {"connection_id":139294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:28:05] local.INFO: Packet analysis {"connection_id":139294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae1"} 
[2026-07-19 20:28:05] local.INFO: Extracted packet for processing {"connection_id":139294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae1"} 
[2026-07-19 20:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825017600001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784473026000,"timestamp_ms":1784473026000,"timestamp_seconds":1784473026,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae17dd0"} 
[2026-07-19 20:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":139294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":139294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":139294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825017600001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825017600001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:28:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:28:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825017600001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":139294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:28:06] local.INFO: GPS data processed {"connection_id":139294,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:28:06] local.INFO: Acknowledgment sent {"connection_id":139294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:28:07] local.INFO: TCP Data received {"connection_id":136841,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:28:07] local.INFO: Processing buffer {"connection_id":136841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:28:07] local.INFO: Packet analysis {"connection_id":136841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ade"} 
[2026-07-19 20:28:07] local.INFO: Extracted packet for processing {"connection_id":136841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ade"} 
[2026-07-19 20:28:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824972288001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:28: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-07-19 20:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784472849000,"timestamp_ms":1784472849000,"timestamp_seconds":1784472849,"priority":1,"record_length":96,"hex_timestamp":"0000019f7adeca68"} 
[2026-07-19 20:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 20:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:28:07] 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-07-19 20:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824972288001,"66":25451,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824972288001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:28:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824972288001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":136841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:28:08] local.INFO: GPS data processed {"connection_id":136841,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:28:08] local.INFO: Acknowledgment sent {"connection_id":136841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:28:16] local.INFO: TCP Data received {"connection_id":137905,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:28:16] local.INFO: Processing buffer {"connection_id":137905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:28:16] local.INFO: IMEI packet received {"connection_id":137905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 20:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":137905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:28:35] local.INFO: TCP Data received {"connection_id":136946,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:28:35] local.INFO: Processing buffer {"connection_id":136946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:28:35] local.INFO: IMEI packet received {"connection_id":136946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":136946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:28:40] local.INFO: TCP Data received {"connection_id":136946,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:28:40] local.INFO: Processing buffer {"connection_id":136946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:28:40] local.INFO: IMEI packet received {"connection_id":136946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":136946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:28:42] local.INFO: TCP Data received {"connection_id":136946,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:28:42] local.INFO: Processing buffer {"connection_id":136946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:28:42] local.INFO: Packet analysis {"connection_id":136946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ade"} 
[2026-07-19 20:28:42] local.INFO: Extracted packet for processing {"connection_id":136946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ade"} 
[2026-07-19 20:28:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824972288001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784472849000,"timestamp_ms":1784472849000,"timestamp_seconds":1784472849,"priority":1,"record_length":96,"hex_timestamp":"0000019f7adeca68"} 
[2026-07-19 20:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 20:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824972288001,"66":25451,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824972288001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:28:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:28:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824972288001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":136946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:28:42] local.INFO: GPS data processed {"connection_id":136946,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:28:42] local.INFO: Acknowledgment sent {"connection_id":136946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:28:46] local.INFO: TCP Data received {"connection_id":136946,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:28:46] local.INFO: Processing buffer {"connection_id":136946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:28:46] local.INFO: Packet analysis {"connection_id":136946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ade"} 
[2026-07-19 20:28:46] local.INFO: Extracted packet for processing {"connection_id":136946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ade"} 
[2026-07-19 20:28:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824972288001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784472849000,"timestamp_ms":1784472849000,"timestamp_seconds":1784472849,"priority":1,"record_length":96,"hex_timestamp":"0000019f7adeca68"} 
[2026-07-19 20:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 20:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":136946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":136946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":136946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824972288001,"66":25451,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824972288001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:28:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:28:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824972288001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":136946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:28:46] local.INFO: GPS data processed {"connection_id":136946,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:28:46] local.INFO: Acknowledgment sent {"connection_id":136946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:28:50] local.INFO: TCP Data received {"connection_id":136842,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:28:50] local.INFO: Processing buffer {"connection_id":136842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:28:50] local.INFO: IMEI packet received {"connection_id":136842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":136842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:28:55] local.INFO: TCP Data received {"connection_id":136842,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:28:55] local.INFO: Processing buffer {"connection_id":136842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:28:55] local.INFO: IMEI packet received {"connection_id":136842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":136842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:28:56] local.INFO: TCP Data received {"connection_id":136842,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:28:56] local.INFO: Processing buffer {"connection_id":136842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:28:56] local.INFO: Packet analysis {"connection_id":136842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae1"} 
[2026-07-19 20:28:56] local.INFO: Extracted packet for processing {"connection_id":136842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae1"} 
[2026-07-19 20:28:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825017600001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:28: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-07-19 20:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784473026000,"timestamp_ms":1784473026000,"timestamp_seconds":1784473026,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae17dd0"} 
[2026-07-19 20:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:28: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-07-19 20:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825017600001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825017600001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:28:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:28:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825017600001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":136842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:28:56] local.INFO: GPS data processed {"connection_id":136842,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:28:56] local.INFO: Acknowledgment sent {"connection_id":136842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:29:27] local.INFO: TCP Data received {"connection_id":136842,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:29:27] local.INFO: Processing buffer {"connection_id":136842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:29:27] local.INFO: Packet analysis {"connection_id":136842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae1"} 
[2026-07-19 20:29:27] local.INFO: Extracted packet for processing {"connection_id":136842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae1"} 
[2026-07-19 20:29:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825017600001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:29: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-07-19 20:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784473026000,"timestamp_ms":1784473026000,"timestamp_seconds":1784473026,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae17dd0"} 
[2026-07-19 20:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825017600001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825017600001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:29:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:29:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825017600001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":136842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:29:27] local.INFO: GPS data processed {"connection_id":136842,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:29:27] local.INFO: Acknowledgment sent {"connection_id":136842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:29:30] local.INFO: TCP Data received {"connection_id":136947,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:29:30] local.INFO: Processing buffer {"connection_id":136947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:29:30] local.INFO: IMEI packet received {"connection_id":136947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":136947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:29:35] local.INFO: TCP Data received {"connection_id":136947,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:29:35] local.INFO: Processing buffer {"connection_id":136947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:29:35] local.INFO: IMEI packet received {"connection_id":136947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":136947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:29:36] local.INFO: TCP Data received {"connection_id":136947,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:29:36] local.INFO: Processing buffer {"connection_id":136947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7adeca68012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:29:36] local.INFO: Packet analysis {"connection_id":136947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ade"} 
[2026-07-19 20:29:36] local.INFO: Extracted packet for processing {"connection_id":136947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ade"} 
[2026-07-19 20:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456824972288001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:29: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-07-19 20:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784472849000,"timestamp_ms":1784472849000,"timestamp_seconds":1784472849,"priority":1,"record_length":96,"hex_timestamp":"0000019f7adeca68"} 
[2026-07-19 20:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 20:29: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-07-19 20:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:29: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-07-19 20:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456824972288001,"66":25451,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456824972288001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:29:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:29:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456824972288001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":136947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:29:36] local.INFO: GPS data processed {"connection_id":136947,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:29:36] local.INFO: Acknowledgment sent {"connection_id":136947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:29:50] local.INFO: TCP Data received {"connection_id":137906,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:29:50] local.INFO: Processing buffer {"connection_id":137906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:29:50] local.INFO: IMEI packet received {"connection_id":137906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":137906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:29:55] local.INFO: TCP Data received {"connection_id":137906,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:29:55] local.INFO: Processing buffer {"connection_id":137906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:29:55] local.INFO: IMEI packet received {"connection_id":137906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":137906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:29:56] local.INFO: TCP Data received {"connection_id":137906,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:29:56] local.INFO: Processing buffer {"connection_id":137906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:29:56] local.INFO: Packet analysis {"connection_id":137906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae1"} 
[2026-07-19 20:29:56] local.INFO: Extracted packet for processing {"connection_id":137906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae1"} 
[2026-07-19 20:29:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825017600001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:29: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-07-19 20:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784473026000,"timestamp_ms":1784473026000,"timestamp_seconds":1784473026,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae17dd0"} 
[2026-07-19 20:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:29: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-07-19 20: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-07-19 20:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825017600001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825017600001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:29:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:29:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825017600001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":137906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:29:56] local.INFO: GPS data processed {"connection_id":137906,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:29:56] local.INFO: Acknowledgment sent {"connection_id":137906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:30:07] local.INFO: TCP Data received {"connection_id":136947,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:30:07] local.INFO: Processing buffer {"connection_id":136947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:30:07] local.INFO: Packet analysis {"connection_id":136947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae3"} 
[2026-07-19 20:30:07] local.INFO: Extracted packet for processing {"connection_id":136947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae3"} 
[2026-07-19 20:30:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825049344001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:30: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-07-19 20:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784473150000,"timestamp_ms":1784473150000,"timestamp_seconds":1784473150,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae36230"} 
[2026-07-19 20:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:30: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-07-19 20:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825049344001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825049344001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:30:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:30:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825049344001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":136947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:30:07] local.INFO: GPS data processed {"connection_id":136947,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:30:07] local.INFO: Acknowledgment sent {"connection_id":136947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:30:27] local.INFO: TCP Data received {"connection_id":137906,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:30:27] local.INFO: Processing buffer {"connection_id":137906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:30:27] local.INFO: Packet analysis {"connection_id":137906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae1"} 
[2026-07-19 20:30:27] local.INFO: Extracted packet for processing {"connection_id":137906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae1"} 
[2026-07-19 20:30:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825017600001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:30: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-07-19 20:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784473026000,"timestamp_ms":1784473026000,"timestamp_seconds":1784473026,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae17dd0"} 
[2026-07-19 20:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825017600001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825017600001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:30:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:30:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825017600001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":137906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:30:27] local.INFO: GPS data processed {"connection_id":137906,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:30:27] local.INFO: Acknowledgment sent {"connection_id":137906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:30:30] local.INFO: TCP Data received {"connection_id":137908,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:30:30] local.INFO: Processing buffer {"connection_id":137908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:30:30] local.INFO: IMEI packet received {"connection_id":137908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":137908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:30:35] local.INFO: TCP Data received {"connection_id":137908,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:30:35] local.INFO: Processing buffer {"connection_id":137908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:30:35] local.INFO: IMEI packet received {"connection_id":137908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":137908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:30:36] local.INFO: TCP Data received {"connection_id":137908,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:30:36] local.INFO: Processing buffer {"connection_id":137908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:30:36] local.INFO: Packet analysis {"connection_id":137908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae3"} 
[2026-07-19 20:30:36] local.INFO: Extracted packet for processing {"connection_id":137908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae3"} 
[2026-07-19 20:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825049344001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:30: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-07-19 20:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784473150000,"timestamp_ms":1784473150000,"timestamp_seconds":1784473150,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae36230"} 
[2026-07-19 20:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825049344001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825049344001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:30:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:30:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825049344001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":137908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:30:36] local.INFO: GPS data processed {"connection_id":137908,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:30:36] local.INFO: Acknowledgment sent {"connection_id":137908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:30:50] local.INFO: TCP Data received {"connection_id":139295,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:30:50] local.INFO: Processing buffer {"connection_id":139295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:30:50] local.INFO: IMEI packet received {"connection_id":139295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":139295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:30:55] local.INFO: TCP Data received {"connection_id":139295,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:30:55] local.INFO: Processing buffer {"connection_id":139295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:30:55] local.INFO: IMEI packet received {"connection_id":139295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":139295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:30:56] local.INFO: TCP Data received {"connection_id":139295,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:30:56] local.INFO: Processing buffer {"connection_id":139295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:30:56] local.INFO: Packet analysis {"connection_id":139295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae1"} 
[2026-07-19 20:30:56] local.INFO: Extracted packet for processing {"connection_id":139295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae1"} 
[2026-07-19 20:30:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825017600001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:30: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-07-19 20:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784473026000,"timestamp_ms":1784473026000,"timestamp_seconds":1784473026,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae17dd0"} 
[2026-07-19 20:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:30: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-07-19 20: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-07-19 20:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825017600001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825017600001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:30:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:30:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825017600001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":139295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:30:56] local.INFO: GPS data processed {"connection_id":139295,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:30:56] local.INFO: Acknowledgment sent {"connection_id":139295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:31:08] local.INFO: TCP Data received {"connection_id":137908,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:31:08] local.INFO: Processing buffer {"connection_id":137908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:31:08] local.INFO: Packet analysis {"connection_id":137908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae3"} 
[2026-07-19 20:31:08] local.INFO: Extracted packet for processing {"connection_id":137908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae3"} 
[2026-07-19 20:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825049344001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784473150000,"timestamp_ms":1784473150000,"timestamp_seconds":1784473150,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae36230"} 
[2026-07-19 20:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825049344001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825049344001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:31:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:31:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825049344001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":137908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:31:08] local.INFO: GPS data processed {"connection_id":137908,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:31:08] local.INFO: Acknowledgment sent {"connection_id":137908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:31:27] local.INFO: TCP Data received {"connection_id":139295,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:31:27] local.INFO: Processing buffer {"connection_id":139295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:31:27] local.INFO: Packet analysis {"connection_id":139295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae1"} 
[2026-07-19 20:31:27] local.INFO: Extracted packet for processing {"connection_id":139295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae1"} 
[2026-07-19 20:31:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825017600001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:31: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-07-19 20:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784473026000,"timestamp_ms":1784473026000,"timestamp_seconds":1784473026,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae17dd0"} 
[2026-07-19 20:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825017600001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825017600001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:31:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:31:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825017600001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":139295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:31:27] local.INFO: GPS data processed {"connection_id":139295,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:31:27] local.INFO: Acknowledgment sent {"connection_id":139295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:31:30] local.INFO: TCP Data received {"connection_id":137910,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:31:30] local.INFO: Processing buffer {"connection_id":137910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:31:30] local.INFO: IMEI packet received {"connection_id":137910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":137910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:31:35] local.INFO: TCP Data received {"connection_id":137910,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:31:35] local.INFO: Processing buffer {"connection_id":137910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:31:35] local.INFO: IMEI packet received {"connection_id":137910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":137910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:31:37] local.INFO: TCP Data received {"connection_id":137910,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:31:37] local.INFO: Processing buffer {"connection_id":137910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:31:37] local.INFO: Packet analysis {"connection_id":137910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae3"} 
[2026-07-19 20:31:37] local.INFO: Extracted packet for processing {"connection_id":137910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae3"} 
[2026-07-19 20:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825049344001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784473150000,"timestamp_ms":1784473150000,"timestamp_seconds":1784473150,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae36230"} 
[2026-07-19 20:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825049344001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825049344001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:31:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825049344001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":137910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:31:37] local.INFO: GPS data processed {"connection_id":137910,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:31:37] local.INFO: Acknowledgment sent {"connection_id":137910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:31:50] local.INFO: TCP Data received {"connection_id":136948,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:31:50] local.INFO: Processing buffer {"connection_id":136948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:31:50] local.INFO: IMEI packet received {"connection_id":136948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":136948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:31:55] local.INFO: TCP Data received {"connection_id":136948,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:31:55] local.INFO: Processing buffer {"connection_id":136948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:31:55] local.INFO: IMEI packet received {"connection_id":136948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":136948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:31:56] local.INFO: TCP Data received {"connection_id":136948,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:31:56] local.INFO: Processing buffer {"connection_id":136948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:31:56] local.INFO: Packet analysis {"connection_id":136948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae1"} 
[2026-07-19 20:31:56] local.INFO: Extracted packet for processing {"connection_id":136948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae1"} 
[2026-07-19 20:31:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825017600001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:31: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-07-19 20:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784473026000,"timestamp_ms":1784473026000,"timestamp_seconds":1784473026,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae17dd0"} 
[2026-07-19 20:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:31: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-07-19 20:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825017600001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825017600001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:31:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:31:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825017600001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":136948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:31:56] local.INFO: GPS data processed {"connection_id":136948,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:31:56] local.INFO: Acknowledgment sent {"connection_id":136948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:32:08] local.INFO: TCP Data received {"connection_id":137910,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:32:08] local.INFO: Processing buffer {"connection_id":137910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:32:08] local.INFO: Packet analysis {"connection_id":137910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae3"} 
[2026-07-19 20:32:08] local.INFO: Extracted packet for processing {"connection_id":137910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae3"} 
[2026-07-19 20:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825049344001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:32: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-07-19 20:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784473150000,"timestamp_ms":1784473150000,"timestamp_seconds":1784473150,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae36230"} 
[2026-07-19 20:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:32: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-07-19 20:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825049344001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825049344001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:32:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:32:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825049344001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":137910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:32:08] local.INFO: GPS data processed {"connection_id":137910,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:32:08] local.INFO: Acknowledgment sent {"connection_id":137910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:32:27] local.INFO: TCP Data received {"connection_id":136948,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:32:27] local.INFO: Processing buffer {"connection_id":136948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae17dd0012d196540071ff010004c004927..."} 
[2026-07-19 20:32:27] local.INFO: Packet analysis {"connection_id":136948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae1"} 
[2026-07-19 20:32:27] local.INFO: Extracted packet for processing {"connection_id":136948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae1"} 
[2026-07-19 20:32:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825017600001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:32: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-07-19 20:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784473026000,"timestamp_ms":1784473026000,"timestamp_seconds":1784473026,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae17dd0"} 
[2026-07-19 20:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825017600001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825017600001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:32:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:32:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825017600001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":136948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:32:27] local.INFO: GPS data processed {"connection_id":136948,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:32:27] local.INFO: Acknowledgment sent {"connection_id":136948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:32:30] local.INFO: TCP Data received {"connection_id":139297,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:32:30] local.INFO: Processing buffer {"connection_id":139297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:32:30] local.INFO: IMEI packet received {"connection_id":139297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":139297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:32:35] local.INFO: TCP Data received {"connection_id":139297,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:32:35] local.INFO: Processing buffer {"connection_id":139297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:32:35] local.INFO: IMEI packet received {"connection_id":139297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":139297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:32:36] local.INFO: TCP Data received {"connection_id":139297,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:32:36] local.INFO: Processing buffer {"connection_id":139297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:32:36] local.INFO: Packet analysis {"connection_id":139297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae3"} 
[2026-07-19 20:32:36] local.INFO: Extracted packet for processing {"connection_id":139297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae3"} 
[2026-07-19 20:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 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-07-19 20:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825049344001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:32: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-07-19 20:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784473150000,"timestamp_ms":1784473150000,"timestamp_seconds":1784473150,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae36230"} 
[2026-07-19 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-07-19 20:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 20:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:32: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-07-19 20:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825049344001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825049344001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:32:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:32:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825049344001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":139297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:32:36] local.INFO: GPS data processed {"connection_id":139297,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:32:36] local.INFO: Acknowledgment sent {"connection_id":139297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:32:50] local.INFO: TCP Data received {"connection_id":137911,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:32:50] local.INFO: Processing buffer {"connection_id":137911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:32:50] local.INFO: IMEI packet received {"connection_id":137911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":137911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:32:55] local.INFO: TCP Data received {"connection_id":137911,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:32:55] local.INFO: Processing buffer {"connection_id":137911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:32:55] local.INFO: IMEI packet received {"connection_id":137911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":137911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:32:56] local.INFO: TCP Data received {"connection_id":137911,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:32:56] local.INFO: Processing buffer {"connection_id":137911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:32:56] local.INFO: Packet analysis {"connection_id":137911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae6"} 
[2026-07-19 20:32:56] local.INFO: Extracted packet for processing {"connection_id":137911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae6"} 
[2026-07-19 20:32:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825094656001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:32: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-07-19 20:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784473327000,"timestamp_ms":1784473327000,"timestamp_seconds":1784473327,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae61598"} 
[2026-07-19 20:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:32:56] 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-07-19 20:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:32:56] 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-07-19 20:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825094656001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825094656001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:32:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:32:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825094656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":137911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:32:56] local.INFO: GPS data processed {"connection_id":137911,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:32:56] local.INFO: Acknowledgment sent {"connection_id":137911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:33:08] local.INFO: TCP Data received {"connection_id":139297,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:33:08] local.INFO: Processing buffer {"connection_id":139297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:33:08] local.INFO: Packet analysis {"connection_id":139297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae3"} 
[2026-07-19 20:33:08] local.INFO: Extracted packet for processing {"connection_id":139297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae3"} 
[2026-07-19 20:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825049344001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784473150000,"timestamp_ms":1784473150000,"timestamp_seconds":1784473150,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae36230"} 
[2026-07-19 20:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:33: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-07-19 20:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825049344001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825049344001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:33:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825049344001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":139297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:33:08] local.INFO: GPS data processed {"connection_id":139297,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:33:08] local.INFO: Acknowledgment sent {"connection_id":139297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:33:27] local.INFO: TCP Data received {"connection_id":137911,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:33:27] local.INFO: Processing buffer {"connection_id":137911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:33:27] local.INFO: Packet analysis {"connection_id":137911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae6"} 
[2026-07-19 20:33:27] local.INFO: Extracted packet for processing {"connection_id":137911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae6"} 
[2026-07-19 20:33:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825094656001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:33: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-07-19 20:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784473327000,"timestamp_ms":1784473327000,"timestamp_seconds":1784473327,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae61598"} 
[2026-07-19 20:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:33:27] 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-07-19 20:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:33:27] 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-07-19 20:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825094656001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825094656001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:33:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:33:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825094656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":137911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:33:27] local.INFO: GPS data processed {"connection_id":137911,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:33:27] local.INFO: Acknowledgment sent {"connection_id":137911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:33:35] local.INFO: TCP Data received {"connection_id":137913,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:33:35] local.INFO: Processing buffer {"connection_id":137913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:33:35] local.INFO: IMEI packet received {"connection_id":137913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":137913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:33:40] local.INFO: TCP Data received {"connection_id":137913,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:33:40] local.INFO: Processing buffer {"connection_id":137913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:33:40] local.INFO: IMEI packet received {"connection_id":137913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":137913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:33:41] local.INFO: TCP Data received {"connection_id":137912,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:33:41] local.INFO: Processing buffer {"connection_id":137912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:33:41] local.INFO: IMEI packet received {"connection_id":137912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 20:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":137912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:33:41] local.INFO: TCP Data received {"connection_id":137913,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:33:41] local.INFO: Processing buffer {"connection_id":137913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:33:41] local.INFO: Packet analysis {"connection_id":137913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae3"} 
[2026-07-19 20:33:41] local.INFO: Extracted packet for processing {"connection_id":137913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae3"} 
[2026-07-19 20:33:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825049344001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784473150000,"timestamp_ms":1784473150000,"timestamp_seconds":1784473150,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae36230"} 
[2026-07-19 20:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":137913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":137913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":137913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825049344001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825049344001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:33:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:33:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825049344001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":137913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:33:41] local.INFO: GPS data processed {"connection_id":137913,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:33:41] local.INFO: Acknowledgment sent {"connection_id":137913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:33:46] local.INFO: TCP Data received {"connection_id":137913,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:33:46] local.INFO: Processing buffer {"connection_id":137913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:33:46] local.INFO: Packet analysis {"connection_id":137913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae3"} 
[2026-07-19 20:33:46] local.INFO: Extracted packet for processing {"connection_id":137913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae3"} 
[2026-07-19 20:33:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825049344001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784473150000,"timestamp_ms":1784473150000,"timestamp_seconds":1784473150,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae36230"} 
[2026-07-19 20:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":137913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":137913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":137913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825049344001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825049344001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:33:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:33:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825049344001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":137913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:33:46] local.INFO: GPS data processed {"connection_id":137913,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:33:46] local.INFO: Acknowledgment sent {"connection_id":137913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:33:50] local.INFO: TCP Data received {"connection_id":136949,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:33:50] local.INFO: Processing buffer {"connection_id":136949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:33:50] local.INFO: IMEI packet received {"connection_id":136949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":136949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:33:55] local.INFO: TCP Data received {"connection_id":136949,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:33:55] local.INFO: Processing buffer {"connection_id":136949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:33:55] local.INFO: IMEI packet received {"connection_id":136949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":136949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:33:56] local.INFO: TCP Data received {"connection_id":136949,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:33:56] local.INFO: Processing buffer {"connection_id":136949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:33:56] local.INFO: Packet analysis {"connection_id":136949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae6"} 
[2026-07-19 20:33:56] local.INFO: Extracted packet for processing {"connection_id":136949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae6"} 
[2026-07-19 20:33:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825094656001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:33: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-07-19 20:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784473327000,"timestamp_ms":1784473327000,"timestamp_seconds":1784473327,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae61598"} 
[2026-07-19 20:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:33:56] 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-07-19 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:33:56] 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-07-19 20: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-07-19 20:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825094656001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825094656001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:33:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:33:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825094656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":136949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:33:56] local.INFO: GPS data processed {"connection_id":136949,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:33:56] local.INFO: Acknowledgment sent {"connection_id":136949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:34:25] local.INFO: TCP Data received {"connection_id":136844,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:34:25] local.INFO: Processing buffer {"connection_id":136844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:34:25] local.INFO: IMEI packet received {"connection_id":136844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 20:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":136844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:34:27] local.INFO: TCP Data received {"connection_id":136949,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:34:27] local.INFO: Processing buffer {"connection_id":136949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:34:27] local.INFO: Packet analysis {"connection_id":136949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae6"} 
[2026-07-19 20:34:27] local.INFO: Extracted packet for processing {"connection_id":136949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae6"} 
[2026-07-19 20:34:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825094656001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:34: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-07-19 20:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784473327000,"timestamp_ms":1784473327000,"timestamp_seconds":1784473327,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae61598"} 
[2026-07-19 20:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:34:27] 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-07-19 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:34:27] 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-07-19 20: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-07-19 20:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825094656001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825094656001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:34:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:34:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825094656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":136949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:34:28] local.INFO: GPS data processed {"connection_id":136949,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:34:28] local.INFO: Acknowledgment sent {"connection_id":136949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:34:30] local.INFO: TCP Data received {"connection_id":137914,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:34:30] local.INFO: Processing buffer {"connection_id":137914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:34:30] local.INFO: IMEI packet received {"connection_id":137914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":137914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:34:36] local.INFO: TCP Data received {"connection_id":137914,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:34:36] local.INFO: Processing buffer {"connection_id":137914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:34:36] local.INFO: IMEI packet received {"connection_id":137914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":137914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:34:37] local.INFO: TCP Data received {"connection_id":137914,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:34:37] local.INFO: Processing buffer {"connection_id":137914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae36230012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:34:37] local.INFO: Packet analysis {"connection_id":137914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae3"} 
[2026-07-19 20:34:37] local.INFO: Extracted packet for processing {"connection_id":137914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae3"} 
[2026-07-19 20:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825049344001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:34: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-07-19 20:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784473150000,"timestamp_ms":1784473150000,"timestamp_seconds":1784473150,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae36230"} 
[2026-07-19 20:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:34:37] 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-07-19 20:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825049344001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825049344001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:34:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825049344001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":137914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:34:37] local.INFO: GPS data processed {"connection_id":137914,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:34:37] local.INFO: Acknowledgment sent {"connection_id":137914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:34:51] local.INFO: TCP Data received {"connection_id":139298,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:34:51] local.INFO: Processing buffer {"connection_id":139298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:34:51] local.INFO: IMEI packet received {"connection_id":139298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":139298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:34:55] local.INFO: TCP Data received {"connection_id":139298,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:34:55] local.INFO: Processing buffer {"connection_id":139298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:34:55] local.INFO: IMEI packet received {"connection_id":139298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":139298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:34:56] local.INFO: TCP Data received {"connection_id":139298,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:34:56] local.INFO: Processing buffer {"connection_id":139298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:34:56] local.INFO: Packet analysis {"connection_id":139298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae6"} 
[2026-07-19 20:34:56] local.INFO: Extracted packet for processing {"connection_id":139298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae6"} 
[2026-07-19 20:34:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825094656001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:34: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-07-19 20:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784473327000,"timestamp_ms":1784473327000,"timestamp_seconds":1784473327,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae61598"} 
[2026-07-19 20:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:34:56] 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-07-19 20: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":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:34:56] 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-07-19 20: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-07-19 20:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825094656001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825094656001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:34:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:34:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825094656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":139298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:34:56] local.INFO: GPS data processed {"connection_id":139298,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:34:56] local.INFO: Acknowledgment sent {"connection_id":139298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:35:09] local.INFO: TCP Data received {"connection_id":137914,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:35:09] local.INFO: Processing buffer {"connection_id":137914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:35:09] local.INFO: Packet analysis {"connection_id":137914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae7"} 
[2026-07-19 20:35:09] local.INFO: Extracted packet for processing {"connection_id":137914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae7"} 
[2026-07-19 20:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825126400001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784473451000,"timestamp_ms":1784473451000,"timestamp_seconds":1784473451,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae7f9f8"} 
[2026-07-19 20:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:35: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-07-19 20:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825126400001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825126400001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:35:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825126400001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":137914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:35:09] local.INFO: GPS data processed {"connection_id":137914,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:35:09] local.INFO: Acknowledgment sent {"connection_id":137914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:35:27] local.INFO: TCP Data received {"connection_id":139298,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:35:27] local.INFO: Processing buffer {"connection_id":139298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:35:27] local.INFO: Packet analysis {"connection_id":139298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae6"} 
[2026-07-19 20:35:27] local.INFO: Extracted packet for processing {"connection_id":139298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae6"} 
[2026-07-19 20:35:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825094656001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:35: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-07-19 20:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784473327000,"timestamp_ms":1784473327000,"timestamp_seconds":1784473327,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae61598"} 
[2026-07-19 20:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:35:27] 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-07-19 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:35:27] 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-07-19 20: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-07-19 20:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825094656001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825094656001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:35:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:35:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825094656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":139298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:35:27] local.INFO: GPS data processed {"connection_id":139298,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:35:27] local.INFO: Acknowledgment sent {"connection_id":139298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:35:30] local.INFO: TCP Data received {"connection_id":137915,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:35:30] local.INFO: Processing buffer {"connection_id":137915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:35:30] local.INFO: IMEI packet received {"connection_id":137915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":137915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:35:35] local.INFO: TCP Data received {"connection_id":137915,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:35:35] local.INFO: Processing buffer {"connection_id":137915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:35:35] local.INFO: IMEI packet received {"connection_id":137915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":137915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:35:36] local.INFO: TCP Data received {"connection_id":137915,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:35:36] local.INFO: Processing buffer {"connection_id":137915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:35:36] local.INFO: Packet analysis {"connection_id":137915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae7"} 
[2026-07-19 20:35:36] local.INFO: Extracted packet for processing {"connection_id":137915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae7"} 
[2026-07-19 20:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825126400001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:35: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-07-19 20:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784473451000,"timestamp_ms":1784473451000,"timestamp_seconds":1784473451,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae7f9f8"} 
[2026-07-19 20:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:35: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-07-19 20:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825126400001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825126400001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:35:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825126400001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":137915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:35:36] local.INFO: GPS data processed {"connection_id":137915,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:35:36] local.INFO: Acknowledgment sent {"connection_id":137915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:35:50] local.INFO: TCP Data received {"connection_id":136951,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:35:50] local.INFO: Processing buffer {"connection_id":136951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:35:50] local.INFO: IMEI packet received {"connection_id":136951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":136951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:35:55] local.INFO: TCP Data received {"connection_id":136951,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:35:55] local.INFO: Processing buffer {"connection_id":136951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:35:55] local.INFO: IMEI packet received {"connection_id":136951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":136951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:35:56] local.INFO: TCP Data received {"connection_id":136951,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:35:56] local.INFO: Processing buffer {"connection_id":136951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:35:56] local.INFO: Packet analysis {"connection_id":136951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae6"} 
[2026-07-19 20:35:56] local.INFO: Extracted packet for processing {"connection_id":136951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae6"} 
[2026-07-19 20:35:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825094656001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:35: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-07-19 20:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784473327000,"timestamp_ms":1784473327000,"timestamp_seconds":1784473327,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae61598"} 
[2026-07-19 20:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:35:56] 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-07-19 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:35:56] 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-07-19 20: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-07-19 20:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825094656001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825094656001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:35:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:35:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825094656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":136951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:35:56] local.INFO: GPS data processed {"connection_id":136951,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:35:56] local.INFO: Acknowledgment sent {"connection_id":136951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:36:08] local.INFO: TCP Data received {"connection_id":137915,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:36:08] local.INFO: Processing buffer {"connection_id":137915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:36:08] local.INFO: Packet analysis {"connection_id":137915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae7"} 
[2026-07-19 20:36:08] local.INFO: Extracted packet for processing {"connection_id":137915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae7"} 
[2026-07-19 20:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825126400001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784473451000,"timestamp_ms":1784473451000,"timestamp_seconds":1784473451,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae7f9f8"} 
[2026-07-19 20:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:36: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-07-19 20: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-07-19 20:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:36: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-07-19 20:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825126400001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825126400001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:36:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825126400001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":137915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:36:08] local.INFO: GPS data processed {"connection_id":137915,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:36:08] local.INFO: Acknowledgment sent {"connection_id":137915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:36:27] local.INFO: TCP Data received {"connection_id":136951,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:36:27] local.INFO: Processing buffer {"connection_id":136951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:36:27] local.INFO: Packet analysis {"connection_id":136951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae6"} 
[2026-07-19 20:36:27] local.INFO: Extracted packet for processing {"connection_id":136951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae6"} 
[2026-07-19 20:36:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825094656001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:36: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-07-19 20:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784473327000,"timestamp_ms":1784473327000,"timestamp_seconds":1784473327,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae61598"} 
[2026-07-19 20:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:36:27] 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-07-19 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:36:27] 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-07-19 20: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-07-19 20:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825094656001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825094656001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:36:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:36:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825094656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":136951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:36:27] local.INFO: GPS data processed {"connection_id":136951,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:36:27] local.INFO: Acknowledgment sent {"connection_id":136951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:36:30] local.INFO: TCP Data received {"connection_id":136952,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:36:30] local.INFO: Processing buffer {"connection_id":136952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:36:30] local.INFO: IMEI packet received {"connection_id":136952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":136952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:36:35] local.INFO: TCP Data received {"connection_id":136952,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:36:35] local.INFO: Processing buffer {"connection_id":136952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:36:35] local.INFO: IMEI packet received {"connection_id":136952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":136952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:36:36] local.INFO: TCP Data received {"connection_id":136952,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:36:36] local.INFO: Processing buffer {"connection_id":136952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:36:36] local.INFO: Packet analysis {"connection_id":136952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae7"} 
[2026-07-19 20:36:36] local.INFO: Extracted packet for processing {"connection_id":136952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae7"} 
[2026-07-19 20:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825126400001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:36: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-07-19 20:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784473451000,"timestamp_ms":1784473451000,"timestamp_seconds":1784473451,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae7f9f8"} 
[2026-07-19 20:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:36: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-07-19 20:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:36: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-07-19 20:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825126400001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825126400001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:36:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:36:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825126400001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":136952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:36:36] local.INFO: GPS data processed {"connection_id":136952,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:36:36] local.INFO: Acknowledgment sent {"connection_id":136952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:36:51] local.INFO: TCP Data received {"connection_id":136953,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:36:51] local.INFO: Processing buffer {"connection_id":136953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:36:51] local.INFO: IMEI packet received {"connection_id":136953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":136953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:36:55] local.INFO: TCP Data received {"connection_id":136953,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:36:55] local.INFO: Processing buffer {"connection_id":136953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:36:55] local.INFO: IMEI packet received {"connection_id":136953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":136953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:36:56] local.INFO: TCP Data received {"connection_id":136953,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:36:56] local.INFO: Processing buffer {"connection_id":136953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:36:56] local.INFO: Packet analysis {"connection_id":136953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae6"} 
[2026-07-19 20:36:56] local.INFO: Extracted packet for processing {"connection_id":136953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae6"} 
[2026-07-19 20:36:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825094656001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:36: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-07-19 20:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784473327000,"timestamp_ms":1784473327000,"timestamp_seconds":1784473327,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae61598"} 
[2026-07-19 20:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:36:56] 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-07-19 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:36:56] 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-07-19 20: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-07-19 20:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825094656001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825094656001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:36:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:36:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825094656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":136953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:36:56] local.INFO: GPS data processed {"connection_id":136953,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:36:56] local.INFO: Acknowledgment sent {"connection_id":136953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:37:07] local.INFO: TCP Data received {"connection_id":136952,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:37:07] local.INFO: Processing buffer {"connection_id":136952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:37:07] local.INFO: Packet analysis {"connection_id":136952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae7"} 
[2026-07-19 20:37:07] local.INFO: Extracted packet for processing {"connection_id":136952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae7"} 
[2026-07-19 20:37:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825126400001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:37: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-07-19 20:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784473451000,"timestamp_ms":1784473451000,"timestamp_seconds":1784473451,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae7f9f8"} 
[2026-07-19 20:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:37:07] 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-07-19 20:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825126400001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825126400001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:37:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:37:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825126400001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":136952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:37:07] local.INFO: GPS data processed {"connection_id":136952,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:37:07] local.INFO: Acknowledgment sent {"connection_id":136952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:37:27] local.INFO: TCP Data received {"connection_id":136953,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:37:27] local.INFO: Processing buffer {"connection_id":136953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae61598012d196540071ff010004c004924..."} 
[2026-07-19 20:37:27] local.INFO: Packet analysis {"connection_id":136953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae6"} 
[2026-07-19 20:37:27] local.INFO: Extracted packet for processing {"connection_id":136953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae6"} 
[2026-07-19 20:37:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825094656001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:37: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-07-19 20:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784473327000,"timestamp_ms":1784473327000,"timestamp_seconds":1784473327,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae61598"} 
[2026-07-19 20:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:37:27] 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-07-19 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:37:27] 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-07-19 20: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-07-19 20:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825094656001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825094656001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:37:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:37:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825094656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":136953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:37:27] local.INFO: GPS data processed {"connection_id":136953,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:37:27] local.INFO: Acknowledgment sent {"connection_id":136953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:37:30] local.INFO: TCP Data received {"connection_id":137916,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:37:30] local.INFO: Processing buffer {"connection_id":137916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:37:30] local.INFO: IMEI packet received {"connection_id":137916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":137916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:37:35] local.INFO: TCP Data received {"connection_id":137916,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:37:35] local.INFO: Processing buffer {"connection_id":137916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:37:35] local.INFO: IMEI packet received {"connection_id":137916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":137916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:37:36] local.INFO: TCP Data received {"connection_id":137916,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:37:36] local.INFO: Processing buffer {"connection_id":137916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:37:36] local.INFO: Packet analysis {"connection_id":137916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae7"} 
[2026-07-19 20:37:36] local.INFO: Extracted packet for processing {"connection_id":137916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae7"} 
[2026-07-19 20:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825126400001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:37: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-07-19 20:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784473451000,"timestamp_ms":1784473451000,"timestamp_seconds":1784473451,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae7f9f8"} 
[2026-07-19 20:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:37: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-07-19 20:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:37: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-07-19 20:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825126400001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825126400001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:37:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:37:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825126400001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":137916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:37:36] local.INFO: GPS data processed {"connection_id":137916,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:37:36] local.INFO: Acknowledgment sent {"connection_id":137916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:37:50] local.INFO: TCP Data received {"connection_id":136954,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:37:50] local.INFO: Processing buffer {"connection_id":136954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:37:50] local.INFO: IMEI packet received {"connection_id":136954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":136954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:37:55] local.INFO: TCP Data received {"connection_id":136954,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:37:55] local.INFO: Processing buffer {"connection_id":136954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:37:55] local.INFO: IMEI packet received {"connection_id":136954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":136954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:37:56] local.INFO: TCP Data received {"connection_id":136954,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:37:56] local.INFO: Processing buffer {"connection_id":136954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:37:56] local.INFO: Packet analysis {"connection_id":136954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aea"} 
[2026-07-19 20:37:56] local.INFO: Extracted packet for processing {"connection_id":136954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aea"} 
[2026-07-19 20:37:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825171712001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:37: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-07-19 20:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784473628000,"timestamp_ms":1784473628000,"timestamp_seconds":1784473628,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aeaad60"} 
[2026-07-19 20:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:37:56] 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-07-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:37: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-07-19 20: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-07-19 20:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825171712001,"66":2177,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825171712001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:37:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:37:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825171712001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":136954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:37:56] local.INFO: GPS data processed {"connection_id":136954,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:37:56] local.INFO: Acknowledgment sent {"connection_id":136954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:38:08] local.INFO: TCP Data received {"connection_id":137916,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:38:08] local.INFO: Processing buffer {"connection_id":137916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:38:08] local.INFO: Packet analysis {"connection_id":137916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae7"} 
[2026-07-19 20:38:08] local.INFO: Extracted packet for processing {"connection_id":137916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae7"} 
[2026-07-19 20:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825126400001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:38: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-07-19 20:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784473451000,"timestamp_ms":1784473451000,"timestamp_seconds":1784473451,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae7f9f8"} 
[2026-07-19 20:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:38: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-07-19 20: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-07-19 20:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:38: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-07-19 20:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825126400001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825126400001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:38:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:38:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825126400001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":137916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:38:08] local.INFO: GPS data processed {"connection_id":137916,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:38:08] local.INFO: Acknowledgment sent {"connection_id":137916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:38:27] local.INFO: TCP Data received {"connection_id":136954,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:38:27] local.INFO: Processing buffer {"connection_id":136954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:38:27] local.INFO: Packet analysis {"connection_id":136954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aea"} 
[2026-07-19 20:38:27] local.INFO: Extracted packet for processing {"connection_id":136954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aea"} 
[2026-07-19 20:38:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825171712001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:38: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-07-19 20:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784473628000,"timestamp_ms":1784473628000,"timestamp_seconds":1784473628,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aeaad60"} 
[2026-07-19 20:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:38:27] 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-07-19 20:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825171712001,"66":2177,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825171712001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:38:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:38:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825171712001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":136954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:38:27] local.INFO: GPS data processed {"connection_id":136954,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:38:27] local.INFO: Acknowledgment sent {"connection_id":136954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:38:35] local.INFO: TCP Data received {"connection_id":139301,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:38:35] local.INFO: Processing buffer {"connection_id":139301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:38:35] local.INFO: IMEI packet received {"connection_id":139301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":139301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:38:40] local.INFO: TCP Data received {"connection_id":139301,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:38:40] local.INFO: Processing buffer {"connection_id":139301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:38:40] local.INFO: IMEI packet received {"connection_id":139301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":139301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:38:41] local.INFO: TCP Data received {"connection_id":139301,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:38:41] local.INFO: Processing buffer {"connection_id":139301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:38:41] local.INFO: Packet analysis {"connection_id":139301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae7"} 
[2026-07-19 20:38:41] local.INFO: Extracted packet for processing {"connection_id":139301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae7"} 
[2026-07-19 20:38:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825126400001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784473451000,"timestamp_ms":1784473451000,"timestamp_seconds":1784473451,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae7f9f8"} 
[2026-07-19 20:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:38: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-07-19 20:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825126400001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825126400001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:38:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:38:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825126400001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":139301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:38:41] local.INFO: GPS data processed {"connection_id":139301,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:38:41] local.INFO: Acknowledgment sent {"connection_id":139301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:38:46] local.INFO: TCP Data received {"connection_id":139301,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:38:46] local.INFO: Processing buffer {"connection_id":139301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:38:46] local.INFO: Packet analysis {"connection_id":139301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae7"} 
[2026-07-19 20:38:46] local.INFO: Extracted packet for processing {"connection_id":139301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae7"} 
[2026-07-19 20:38:46] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825126400001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784473451000,"timestamp_ms":1784473451000,"timestamp_seconds":1784473451,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae7f9f8"} 
[2026-07-19 20:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":139301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":139301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":139301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825126400001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825126400001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:38:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:38:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825126400001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":139301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:38:46] local.INFO: GPS data processed {"connection_id":139301,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:38:46] local.INFO: Acknowledgment sent {"connection_id":139301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:38:55] local.INFO: TCP Data received {"connection_id":136955,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:38:55] local.INFO: Processing buffer {"connection_id":136955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:38:55] local.INFO: IMEI packet received {"connection_id":136955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":136955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:39:00] local.INFO: TCP Data received {"connection_id":136955,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:39:00] local.INFO: Processing buffer {"connection_id":136955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:39:00] local.INFO: IMEI packet received {"connection_id":136955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":136955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:39:01] local.INFO: TCP Data received {"connection_id":136955,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:39:01] local.INFO: Processing buffer {"connection_id":136955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:39:01] local.INFO: Packet analysis {"connection_id":136955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aea"} 
[2026-07-19 20:39:01] local.INFO: Extracted packet for processing {"connection_id":136955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aea"} 
[2026-07-19 20:39:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825171712001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:39: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-07-19 20:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784473628000,"timestamp_ms":1784473628000,"timestamp_seconds":1784473628,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aeaad60"} 
[2026-07-19 20:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:39:01] 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-07-19 20:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825171712001,"66":2177,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825171712001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:39:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:39:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825171712001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":136955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:39:01] local.INFO: GPS data processed {"connection_id":136955,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:39:01] local.INFO: Acknowledgment sent {"connection_id":136955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:39:06] local.INFO: TCP Data received {"connection_id":136955,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:39:06] local.INFO: Processing buffer {"connection_id":136955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:39:06] local.INFO: Packet analysis {"connection_id":136955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aea"} 
[2026-07-19 20:39:06] local.INFO: Extracted packet for processing {"connection_id":136955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aea"} 
[2026-07-19 20:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825171712001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784473628000,"timestamp_ms":1784473628000,"timestamp_seconds":1784473628,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aeaad60"} 
[2026-07-19 20:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825171712001,"66":2177,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825171712001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:39:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:39:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825171712001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":136955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:39:06] local.INFO: GPS data processed {"connection_id":136955,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:39:06] local.INFO: Acknowledgment sent {"connection_id":136955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:39:30] local.INFO: TCP Data received {"connection_id":136956,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:39:30] local.INFO: Processing buffer {"connection_id":136956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:39:30] local.INFO: IMEI packet received {"connection_id":136956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":136956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:39:35] local.INFO: TCP Data received {"connection_id":136956,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:39:35] local.INFO: Processing buffer {"connection_id":136956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:39:35] local.INFO: IMEI packet received {"connection_id":136956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":136956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:39:36] local.INFO: TCP Data received {"connection_id":136956,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:39:36] local.INFO: Processing buffer {"connection_id":136956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ae7f9f8012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:39:36] local.INFO: Packet analysis {"connection_id":136956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ae7"} 
[2026-07-19 20:39:36] local.INFO: Extracted packet for processing {"connection_id":136956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ae7"} 
[2026-07-19 20:39:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825126400001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:39: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-07-19 20:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784473451000,"timestamp_ms":1784473451000,"timestamp_seconds":1784473451,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ae7f9f8"} 
[2026-07-19 20:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:39: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-07-19 20:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825126400001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825126400001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:39:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:39:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825126400001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":136956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:39:36] local.INFO: GPS data processed {"connection_id":136956,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:39:36] local.INFO: Acknowledgment sent {"connection_id":136956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:39:41] local.INFO: TCP Data received {"connection_id":136847,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:39:41] local.INFO: Processing buffer {"connection_id":136847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:39:41] local.INFO: IMEI packet received {"connection_id":136847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 20:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":136847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:39:50] local.INFO: TCP Data received {"connection_id":136848,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:39:50] local.INFO: Processing buffer {"connection_id":136848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:39:50] local.INFO: IMEI packet received {"connection_id":136848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":136848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:39:55] local.INFO: TCP Data received {"connection_id":136848,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:39:55] local.INFO: Processing buffer {"connection_id":136848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:39:55] local.INFO: IMEI packet received {"connection_id":136848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":136848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:39:56] local.INFO: TCP Data received {"connection_id":136848,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:39:56] local.INFO: Processing buffer {"connection_id":136848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:39:56] local.INFO: Packet analysis {"connection_id":136848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aea"} 
[2026-07-19 20:39:56] local.INFO: Extracted packet for processing {"connection_id":136848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aea"} 
[2026-07-19 20:39:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825171712001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:39: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-07-19 20:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784473628000,"timestamp_ms":1784473628000,"timestamp_seconds":1784473628,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aeaad60"} 
[2026-07-19 20:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:39:56] 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-07-19 20:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:39: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-07-19 20:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825171712001,"66":2177,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825171712001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:39:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:39:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825171712001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":136848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:39:56] local.INFO: GPS data processed {"connection_id":136848,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:39:56] local.INFO: Acknowledgment sent {"connection_id":136848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:40:07] local.INFO: TCP Data received {"connection_id":136956,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aec91c0012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aec91c0012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:40:07] local.INFO: Processing buffer {"connection_id":136956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aec91c0012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:40:07] local.INFO: Packet analysis {"connection_id":136956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aec"} 
[2026-07-19 20:40:07] local.INFO: Extracted packet for processing {"connection_id":136956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aec"} 
[2026-07-19 20:40:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825203456001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:40: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-07-19 20:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784473752000,"timestamp_ms":1784473752000,"timestamp_seconds":1784473752,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aec91c0"} 
[2026-07-19 20:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825203456001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825203456001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:40:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:40:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825203456001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":136956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:40:07] local.INFO: GPS data processed {"connection_id":136956,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:40:07] local.INFO: Acknowledgment sent {"connection_id":136956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:40:25] local.INFO: TCP Data received {"connection_id":136849,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:40:25] local.INFO: Processing buffer {"connection_id":136849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:40:25] local.INFO: IMEI packet received {"connection_id":136849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 20:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":136849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:40:28] local.INFO: TCP Data received {"connection_id":136848,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:40:28] local.INFO: Processing buffer {"connection_id":136848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:40:28] local.INFO: Packet analysis {"connection_id":136848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aea"} 
[2026-07-19 20:40:28] local.INFO: Extracted packet for processing {"connection_id":136848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aea"} 
[2026-07-19 20:40:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825171712001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:40: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-07-19 20:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784473628000,"timestamp_ms":1784473628000,"timestamp_seconds":1784473628,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aeaad60"} 
[2026-07-19 20:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:40:28] 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-07-19 20:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825171712001,"66":2177,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825171712001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:40:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:40:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825171712001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":136848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:40:28] local.INFO: GPS data processed {"connection_id":136848,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:40:28] local.INFO: Acknowledgment sent {"connection_id":136848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:40:30] local.INFO: TCP Data received {"connection_id":139302,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:40:30] local.INFO: Processing buffer {"connection_id":139302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:40:30] local.INFO: IMEI packet received {"connection_id":139302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":139302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:40:35] local.INFO: TCP Data received {"connection_id":139302,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:40:35] local.INFO: Processing buffer {"connection_id":139302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:40:35] local.INFO: IMEI packet received {"connection_id":139302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":139302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:40:36] local.INFO: TCP Data received {"connection_id":139302,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aec91c0012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aec91c0012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:40:36] local.INFO: Processing buffer {"connection_id":139302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aec91c0012d34c50006aa4dd80008009527..."} 
[2026-07-19 20:40:36] local.INFO: Packet analysis {"connection_id":139302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aec"} 
[2026-07-19 20:40:36] local.INFO: Extracted packet for processing {"connection_id":139302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aec"} 
[2026-07-19 20:40:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825203456001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:40: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-07-19 20:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784473752000,"timestamp_ms":1784473752000,"timestamp_seconds":1784473752,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aec91c0"} 
[2026-07-19 20:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:40: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-07-19 20:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825203456001,"66":25430,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825203456001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:40:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:40:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825203456001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":139302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:40:36] local.INFO: GPS data processed {"connection_id":139302,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:40:36] local.INFO: Acknowledgment sent {"connection_id":139302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:40:50] local.INFO: TCP Data received {"connection_id":137917,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:40:50] local.INFO: Processing buffer {"connection_id":137917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:40:50] local.INFO: IMEI packet received {"connection_id":137917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":137917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:40:55] local.INFO: TCP Data received {"connection_id":137917,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:40:55] local.INFO: Processing buffer {"connection_id":137917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:40:55] local.INFO: IMEI packet received {"connection_id":137917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":137917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:40:56] local.INFO: TCP Data received {"connection_id":137917,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:40:56] local.INFO: Processing buffer {"connection_id":137917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:40:56] local.INFO: Packet analysis {"connection_id":137917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aea"} 
[2026-07-19 20:40:56] local.INFO: Extracted packet for processing {"connection_id":137917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aea"} 
[2026-07-19 20:40:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825171712001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:40: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-07-19 20:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784473628000,"timestamp_ms":1784473628000,"timestamp_seconds":1784473628,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aeaad60"} 
[2026-07-19 20:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:40:56] 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-07-19 20: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-07-19 20: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-07-19 20: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-07-19 20:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825171712001,"66":2177,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825171712001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:40:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:40:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825171712001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":137917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:40:56] local.INFO: GPS data processed {"connection_id":137917,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:40:56] local.INFO: Acknowledgment sent {"connection_id":137917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:41:07] local.INFO: TCP Data received {"connection_id":139302,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aed7838012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aed7838012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:41:07] local.INFO: Processing buffer {"connection_id":139302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aed7838012d34c50006aa4dd80008009529..."} 
[2026-07-19 20:41:07] local.INFO: Packet analysis {"connection_id":139302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aed"} 
[2026-07-19 20:41:07] local.INFO: Extracted packet for processing {"connection_id":139302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aed"} 
[2026-07-19 20:41:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824344,"longitude_deg":75.8433024,"latitude_deg":11.1824344,"altitude":8,"angle":149,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4dd8","is_valid_coordinates":true} 
[2026-07-19 20:41: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-07-19 20:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825280512001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784473811000,"timestamp_ms":1784473811000,"timestamp_seconds":1784473811,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aed7838"} 
[2026-07-19 20:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-19 20:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":139302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":139302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":139302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825280512001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825280512001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:41:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:41:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825280512001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":139302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:41:07] local.INFO: GPS data processed {"connection_id":139302,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:41:07] local.INFO: Acknowledgment sent {"connection_id":139302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:41:27] local.INFO: TCP Data received {"connection_id":137917,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:41:27] local.INFO: Processing buffer {"connection_id":137917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:41:27] local.INFO: Packet analysis {"connection_id":137917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aea"} 
[2026-07-19 20:41:27] local.INFO: Extracted packet for processing {"connection_id":137917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aea"} 
[2026-07-19 20:41:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825171712001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784473628000,"timestamp_ms":1784473628000,"timestamp_seconds":1784473628,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aeaad60"} 
[2026-07-19 20:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:41:27] 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-07-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825171712001,"66":2177,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825171712001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:41:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:41:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825171712001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":137917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:41:27] local.INFO: GPS data processed {"connection_id":137917,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:41:27] local.INFO: Acknowledgment sent {"connection_id":137917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:41:33] local.INFO: TCP Data received {"connection_id":139304,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:41:33] local.INFO: Processing buffer {"connection_id":139304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:41:33] local.INFO: IMEI packet received {"connection_id":139304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":139304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:41:35] local.INFO: TCP Data received {"connection_id":139304,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:41:35] local.INFO: Processing buffer {"connection_id":139304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:41:35] local.INFO: IMEI packet received {"connection_id":139304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":139304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:41:40] local.INFO: TCP Data received {"connection_id":139304,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:41:40] local.INFO: Processing buffer {"connection_id":139304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:41:40] local.INFO: IMEI packet received {"connection_id":139304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":139304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:41:41] local.INFO: TCP Data received {"connection_id":139304,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aed8008012d34c84006aa50300008000729..."} 
[2026-07-19 20:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aed8008012d34c84006aa50300008000729..."} 
[2026-07-19 20:41:41] local.INFO: Processing buffer {"connection_id":139304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aed8008012d34c84006aa50300008000729..."} 
[2026-07-19 20:41:41] local.INFO: Packet analysis {"connection_id":139304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aed"} 
[2026-07-19 20:41:41] local.INFO: Extracted packet for processing {"connection_id":139304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aed"} 
[2026-07-19 20:41:41] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111824944,"longitude_deg":75.8433856,"latitude_deg":11.1824944,"altitude":8,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa5030","is_valid_coordinates":true} 
[2026-07-19 20:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825295616001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011283968,"note":"Value kept but may cause issues"} 
[2026-07-19 20:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784473813000,"timestamp_ms":1784473813000,"timestamp_seconds":1784473813,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aed8008"} 
[2026-07-19 20:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:41: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-07-19 20:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825295616001,"66":25212,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802445489011283968},"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-07-19 20:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825295616001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:41:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:41:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011283968,"description":"Unknown IO ID 45"} 
[2026-07-19 20:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825295616001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011283968}} 
[2026-07-19 20:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":139304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:41:41] local.INFO: GPS data processed {"connection_id":139304,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:41:41] local.INFO: Acknowledgment sent {"connection_id":139304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:41:46] local.INFO: TCP Data received {"connection_id":139304,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aedd210012d34c84006aa50300008000728..."} 
[2026-07-19 20:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aedd210012d34c84006aa50300008000728..."} 
[2026-07-19 20:41:46] local.INFO: Processing buffer {"connection_id":139304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aedd210012d34c84006aa50300008000728..."} 
[2026-07-19 20:41:46] local.INFO: Packet analysis {"connection_id":139304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aed"} 
[2026-07-19 20:41:46] local.INFO: Extracted packet for processing {"connection_id":139304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aed"} 
[2026-07-19 20:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111824944,"longitude_deg":75.8433856,"latitude_deg":11.1824944,"altitude":8,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa5030","is_valid_coordinates":true} 
[2026-07-19 20:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825296128001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282685747200,"note":"Value kept but may cause issues"} 
[2026-07-19 20:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784473834000,"timestamp_ms":1784473834000,"timestamp_seconds":1784473834,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aedd210"} 
[2026-07-19 20:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 20:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-19 20:41:46] 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-07-19 20:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":139304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":139304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":139304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825296128001,"66":27658,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3803360282685747200},"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-07-19 20:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825296128001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:41:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282685747200,"description":"Unknown IO ID 45"} 
[2026-07-19 20:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825296128001,"power":27658,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282685747200}} 
[2026-07-19 20:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":139304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:41:46] local.INFO: GPS data processed {"connection_id":139304,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:41:46] local.INFO: Acknowledgment sent {"connection_id":139304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:41:51] local.INFO: TCP Data received {"connection_id":136957,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:41:51] local.INFO: Processing buffer {"connection_id":136957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:41:51] local.INFO: IMEI packet received {"connection_id":136957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":136957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:41:55] local.INFO: TCP Data received {"connection_id":136957,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:41:55] local.INFO: Processing buffer {"connection_id":136957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:41:55] local.INFO: IMEI packet received {"connection_id":136957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":136957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:41:56] local.INFO: TCP Data received {"connection_id":136957,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:41:56] local.INFO: Processing buffer {"connection_id":136957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:41:56] local.INFO: Packet analysis {"connection_id":136957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aea"} 
[2026-07-19 20:41:56] local.INFO: Extracted packet for processing {"connection_id":136957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aea"} 
[2026-07-19 20:41:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825171712001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784473628000,"timestamp_ms":1784473628000,"timestamp_seconds":1784473628,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aeaad60"} 
[2026-07-19 20:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:41:56] 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-07-19 20:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:41: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-07-19 20: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-07-19 20:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825171712001,"66":2177,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825171712001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:41:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:41:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825171712001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":136957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:41:57] local.INFO: GPS data processed {"connection_id":136957,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:41:57] local.INFO: Acknowledgment sent {"connection_id":136957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:42:28] local.INFO: TCP Data received {"connection_id":136957,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:42:28] local.INFO: Processing buffer {"connection_id":136957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aeaad60012d196540071ff010004c004926..."} 
[2026-07-19 20:42:28] local.INFO: Packet analysis {"connection_id":136957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aea"} 
[2026-07-19 20:42:28] local.INFO: Extracted packet for processing {"connection_id":136957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aea"} 
[2026-07-19 20:42:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825171712001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784473628000,"timestamp_ms":1784473628000,"timestamp_seconds":1784473628,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aeaad60"} 
[2026-07-19 20:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:42:28] 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-07-19 20:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 20:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825171712001,"66":2177,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825171712001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:42:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:42:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825171712001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":136957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:42:28] local.INFO: GPS data processed {"connection_id":136957,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:42:28] local.INFO: Acknowledgment sent {"connection_id":136957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:42:30] local.INFO: TCP Data received {"connection_id":137919,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:42:30] local.INFO: Processing buffer {"connection_id":137919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:42:30] local.INFO: IMEI packet received {"connection_id":137919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":137919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:42:35] local.INFO: TCP Data received {"connection_id":137919,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:42:36] local.INFO: Processing buffer {"connection_id":137919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:42:36] local.INFO: IMEI packet received {"connection_id":137919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":137919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:42:36] local.INFO: TCP Data received {"connection_id":137919,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aee2418012d34c84006aa50300008000729..."} 
[2026-07-19 20:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aee2418012d34c84006aa50300008000729..."} 
[2026-07-19 20:42:36] local.INFO: Processing buffer {"connection_id":137919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aee2418012d34c84006aa50300008000729..."} 
[2026-07-19 20:42:36] local.INFO: Packet analysis {"connection_id":137919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aee"} 
[2026-07-19 20:42:36] local.INFO: Extracted packet for processing {"connection_id":137919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aee"} 
[2026-07-19 20:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111824944,"longitude_deg":75.8433856,"latitude_deg":11.1824944,"altitude":8,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa5030","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825301504001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282685747200,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784473855000,"timestamp_ms":1784473855000,"timestamp_seconds":1784473855,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aee2418"} 
[2026-07-19 20:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 20: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-19 20:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825301504001,"66":27615,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3803360282685747200},"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-07-19 20:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825301504001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:42:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:42:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282685747200,"description":"Unknown IO ID 45"} 
[2026-07-19 20:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825301504001,"power":27615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282685747200}} 
[2026-07-19 20:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":137919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:42:36] local.INFO: GPS data processed {"connection_id":137919,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:42:36] local.INFO: Acknowledgment sent {"connection_id":137919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:42:50] local.INFO: TCP Data received {"connection_id":136958,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:42:50] local.INFO: Processing buffer {"connection_id":136958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:42:50] local.INFO: IMEI packet received {"connection_id":136958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":136958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:42:55] local.INFO: TCP Data received {"connection_id":136958,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:42:55] local.INFO: Processing buffer {"connection_id":136958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:42:55] local.INFO: IMEI packet received {"connection_id":136958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":136958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:42:56] local.INFO: TCP Data received {"connection_id":136958,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:42:56] local.INFO: Processing buffer {"connection_id":136958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:42:56] local.INFO: Packet analysis {"connection_id":136958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:42:56] local.INFO: Extracted packet for processing {"connection_id":136958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:42:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825248768001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784473929000,"timestamp_ms":1784473929000,"timestamp_seconds":1784473929,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aef4528"} 
[2026-07-19 20:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:42:56] 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-07-19 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 20:42:56] 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-07-19 20: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-07-19 20:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825248768001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825248768001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:42:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:42:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825248768001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":136958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:42:56] local.INFO: GPS data processed {"connection_id":136958,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:42:56] local.INFO: Acknowledgment sent {"connection_id":136958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:43:09] local.INFO: TCP Data received {"connection_id":137919,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aee7620012d34c84006aa50300008000729..."} 
[2026-07-19 20:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aee7620012d34c84006aa50300008000729..."} 
[2026-07-19 20:43:09] local.INFO: Processing buffer {"connection_id":137919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aee7620012d34c84006aa50300008000729..."} 
[2026-07-19 20:43:09] local.INFO: Packet analysis {"connection_id":137919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aee"} 
[2026-07-19 20:43:09] local.INFO: Extracted packet for processing {"connection_id":137919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aee"} 
[2026-07-19 20:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111824944,"longitude_deg":75.8433856,"latitude_deg":11.1824944,"altitude":8,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa5030","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825306880001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282685747200,"note":"Value kept but may cause issues"} 
[2026-07-19 20:43: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-07-19 20:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784473876000,"timestamp_ms":1784473876000,"timestamp_seconds":1784473876,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aee7620"} 
[2026-07-19 20:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:43:09] 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-07-19 20: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-19 20:43:09] 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-07-19 20: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-07-19 20:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:43: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-07-19 20:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825306880001,"66":27745,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3803360282685747200},"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-07-19 20:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825306880001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:43:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:43:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282685747200,"description":"Unknown IO ID 45"} 
[2026-07-19 20:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825306880001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282685747200}} 
[2026-07-19 20:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":137919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:43:09] local.INFO: GPS data processed {"connection_id":137919,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:43:09] local.INFO: Acknowledgment sent {"connection_id":137919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:43:27] local.INFO: TCP Data received {"connection_id":136958,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:43:27] local.INFO: Processing buffer {"connection_id":136958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:43:27] local.INFO: Packet analysis {"connection_id":136958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:43:27] local.INFO: Extracted packet for processing {"connection_id":136958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:43:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825248768001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:43: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-07-19 20:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784473929000,"timestamp_ms":1784473929000,"timestamp_seconds":1784473929,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aef4528"} 
[2026-07-19 20:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:43:27] 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-07-19 20:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 20:43:27] 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-07-19 20: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-07-19 20:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825248768001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825248768001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:43:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:43:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825248768001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":136958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:43:27] local.INFO: GPS data processed {"connection_id":136958,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:43:27] local.INFO: Acknowledgment sent {"connection_id":136958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:43:30] local.INFO: TCP Data received {"connection_id":137920,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:43:30] local.INFO: Processing buffer {"connection_id":137920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:43:30] local.INFO: IMEI packet received {"connection_id":137920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":137920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:43:36] local.INFO: TCP Data received {"connection_id":137920,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:43:36] local.INFO: Processing buffer {"connection_id":137920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:43:36] local.INFO: IMEI packet received {"connection_id":137920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":137920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:43:36] local.INFO: TCP Data received {"connection_id":137920,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aeec828012d34c84006aa50300008000729..."} 
[2026-07-19 20:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aeec828012d34c84006aa50300008000729..."} 
[2026-07-19 20:43:36] local.INFO: Processing buffer {"connection_id":137920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aeec828012d34c84006aa50300008000729..."} 
[2026-07-19 20:43:36] local.INFO: Packet analysis {"connection_id":137920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aee"} 
[2026-07-19 20:43:36] local.INFO: Extracted packet for processing {"connection_id":137920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aee"} 
[2026-07-19 20:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111824944,"longitude_deg":75.8433856,"latitude_deg":11.1824944,"altitude":8,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa5030","is_valid_coordinates":true} 
[2026-07-19 20:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825312256001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282685747200,"note":"Value kept but may cause issues"} 
[2026-07-19 20:43: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-07-19 20:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784473897000,"timestamp_ms":1784473897000,"timestamp_seconds":1784473897,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aeec828"} 
[2026-07-19 20:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 20:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 20:43: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-07-19 20:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:43:36] 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-07-19 20:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825312256001,"66":27713,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3803360282685747200},"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-07-19 20:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825312256001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:43:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:43:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282685747200,"description":"Unknown IO ID 45"} 
[2026-07-19 20:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825312256001,"power":27713,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282685747200}} 
[2026-07-19 20:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":137920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:43:36] local.INFO: GPS data processed {"connection_id":137920,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:43:36] local.INFO: Acknowledgment sent {"connection_id":137920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:43:50] local.INFO: TCP Data received {"connection_id":139305,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:43:50] local.INFO: Processing buffer {"connection_id":139305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:43:50] local.INFO: IMEI packet received {"connection_id":139305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":139305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:43:55] local.INFO: TCP Data received {"connection_id":139305,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:43:55] local.INFO: Processing buffer {"connection_id":139305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:43:55] local.INFO: IMEI packet received {"connection_id":139305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":139305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:43:56] local.INFO: TCP Data received {"connection_id":139305,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:43:56] local.INFO: Processing buffer {"connection_id":139305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:43:56] local.INFO: Packet analysis {"connection_id":139305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:43:56] local.INFO: Extracted packet for processing {"connection_id":139305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:43:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825248768001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:43: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-07-19 20:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784473929000,"timestamp_ms":1784473929000,"timestamp_seconds":1784473929,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aef4528"} 
[2026-07-19 20:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:43:56] 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-07-19 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 20:43:56] 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-07-19 20: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-07-19 20:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825248768001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825248768001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:43:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:43:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825248768001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":139305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:43:56] local.INFO: GPS data processed {"connection_id":139305,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:43:56] local.INFO: Acknowledgment sent {"connection_id":139305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:44:08] local.INFO: TCP Data received {"connection_id":137920,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aef1a30012d34c84006aa50300008000727..."} 
[2026-07-19 20:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aef1a30012d34c84006aa50300008000727..."} 
[2026-07-19 20:44:08] local.INFO: Processing buffer {"connection_id":137920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aef1a30012d34c84006aa50300008000727..."} 
[2026-07-19 20:44:08] local.INFO: Packet analysis {"connection_id":137920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:44:08] local.INFO: Extracted packet for processing {"connection_id":137920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111824944,"longitude_deg":75.8433856,"latitude_deg":11.1824944,"altitude":8,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa5030","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825317632001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282685747200,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784473918000,"timestamp_ms":1784473918000,"timestamp_seconds":1784473918,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aef1a30"} 
[2026-07-19 20:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:44:08] 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-07-19 20:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-19 20:44: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-07-19 20: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-07-19 20:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:44: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-07-19 20:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825317632001,"66":27865,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3803360282685747200},"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-07-19 20:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825317632001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:44:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282685747200,"description":"Unknown IO ID 45"} 
[2026-07-19 20:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825317632001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282685747200}} 
[2026-07-19 20:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":137920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:44:08] local.INFO: GPS data processed {"connection_id":137920,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:44:08] local.INFO: Acknowledgment sent {"connection_id":137920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:44:28] local.INFO: TCP Data received {"connection_id":139305,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:44:28] local.INFO: Processing buffer {"connection_id":139305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:44:28] local.INFO: Packet analysis {"connection_id":139305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:44:28] local.INFO: Extracted packet for processing {"connection_id":139305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:44:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825248768001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:44: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-07-19 20:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784473929000,"timestamp_ms":1784473929000,"timestamp_seconds":1784473929,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aef4528"} 
[2026-07-19 20:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:44:28] 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-07-19 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 20:44:28] 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-07-19 20: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-07-19 20:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":139305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":139305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":139305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825248768001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825248768001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:44:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:44:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825248768001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":139305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:44:28] local.INFO: GPS data processed {"connection_id":139305,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:44:28] local.INFO: Acknowledgment sent {"connection_id":139305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:44:30] local.INFO: TCP Data received {"connection_id":136960,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:44:30] local.INFO: Processing buffer {"connection_id":136960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:44:30] local.INFO: IMEI packet received {"connection_id":136960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":136960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:44:35] local.INFO: TCP Data received {"connection_id":136960,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:44:35] local.INFO: Processing buffer {"connection_id":136960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:44:35] local.INFO: IMEI packet received {"connection_id":136960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":136960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:44:36] local.INFO: TCP Data received {"connection_id":136960,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aef3970012d34c84006aa50300008000727..."} 
[2026-07-19 20:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aef3970012d34c84006aa50300008000727..."} 
[2026-07-19 20:44:36] local.INFO: Processing buffer {"connection_id":136960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aef3970012d34c84006aa50300008000727..."} 
[2026-07-19 20:44:36] local.INFO: Packet analysis {"connection_id":136960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:44:36] local.INFO: Extracted packet for processing {"connection_id":136960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:44:36] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111824944,"longitude_deg":75.8433856,"latitude_deg":11.1824944,"altitude":8,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa5030","is_valid_coordinates":true} 
[2026-07-19 20:44: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-07-19 20:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825323008001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282685747200,"note":"Value kept but may cause issues"} 
[2026-07-19 20:44: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-07-19 20:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784473926000,"timestamp_ms":1784473926000,"timestamp_seconds":1784473926,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aef3970"} 
[2026-07-19 20:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:44: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-07-19 20:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-19 20:44: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-07-19 20:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:44: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-07-19 20:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825323008001,"66":27767,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3803360282685747200},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825323008001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:44:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:44:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282685747200,"description":"Unknown IO ID 45"} 
[2026-07-19 20:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825323008001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282685747200}} 
[2026-07-19 20:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":136960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:44:36] local.INFO: GPS data processed {"connection_id":136960,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:44:36] local.INFO: Acknowledgment sent {"connection_id":136960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:44:50] local.INFO: TCP Data received {"connection_id":137922,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:44:50] local.INFO: Processing buffer {"connection_id":137922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:44:50] local.INFO: IMEI packet received {"connection_id":137922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":137922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:44:55] local.INFO: TCP Data received {"connection_id":137922,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:44:55] local.INFO: Processing buffer {"connection_id":137922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:44:55] local.INFO: IMEI packet received {"connection_id":137922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":137922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:44:56] local.INFO: TCP Data received {"connection_id":137922,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:44:56] local.INFO: Processing buffer {"connection_id":137922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:44:56] local.INFO: Packet analysis {"connection_id":137922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:44:56] local.INFO: Extracted packet for processing {"connection_id":137922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:44:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825248768001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:44: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-07-19 20:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784473929000,"timestamp_ms":1784473929000,"timestamp_seconds":1784473929,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aef4528"} 
[2026-07-19 20:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:44:56] 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-07-19 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 20:44:56] 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-07-19 20: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-07-19 20:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825248768001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825248768001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:44:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:44:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825248768001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":137922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:44:56] local.INFO: GPS data processed {"connection_id":137922,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:44:56] local.INFO: Acknowledgment sent {"connection_id":137922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:45:07] local.INFO: TCP Data received {"connection_id":136960,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aef3970012d34c84006aa50300008000727..."} 
[2026-07-19 20:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aef3970012d34c84006aa50300008000727..."} 
[2026-07-19 20:45:07] local.INFO: Processing buffer {"connection_id":136960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aef3970012d34c84006aa50300008000727..."} 
[2026-07-19 20:45:07] local.INFO: Packet analysis {"connection_id":136960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:45:07] local.INFO: Extracted packet for processing {"connection_id":136960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:45:07] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111824944,"longitude_deg":75.8433856,"latitude_deg":11.1824944,"altitude":8,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa5030","is_valid_coordinates":true} 
[2026-07-19 20:45: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-07-19 20:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825323008001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282685747200,"note":"Value kept but may cause issues"} 
[2026-07-19 20:45: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-07-19 20:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784473926000,"timestamp_ms":1784473926000,"timestamp_seconds":1784473926,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aef3970"} 
[2026-07-19 20:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:45: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-07-19 20:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-19 20:45: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-07-19 20:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:45: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-07-19 20:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825323008001,"66":27767,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3803360282685747200},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825323008001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:45:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:45:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282685747200,"description":"Unknown IO ID 45"} 
[2026-07-19 20:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825323008001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282685747200}} 
[2026-07-19 20:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":136960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:45:07] local.INFO: GPS data processed {"connection_id":136960,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:45:07] local.INFO: Acknowledgment sent {"connection_id":136960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:45:28] local.INFO: TCP Data received {"connection_id":137922,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:45:28] local.INFO: Processing buffer {"connection_id":137922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:45:28] local.INFO: Packet analysis {"connection_id":137922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:45:28] local.INFO: Extracted packet for processing {"connection_id":137922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:45:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825248768001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:45: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-07-19 20:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784473929000,"timestamp_ms":1784473929000,"timestamp_seconds":1784473929,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aef4528"} 
[2026-07-19 20:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:45:28] 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-07-19 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 20:45:28] 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-07-19 20: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-07-19 20:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825248768001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825248768001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:45:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:45:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825248768001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":137922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:45:28] local.INFO: GPS data processed {"connection_id":137922,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:45:28] local.INFO: Acknowledgment sent {"connection_id":137922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:45:30] local.INFO: TCP Data received {"connection_id":137923,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:45:30] local.INFO: Processing buffer {"connection_id":137923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:45:30] local.INFO: IMEI packet received {"connection_id":137923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":137923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:45:35] local.INFO: TCP Data received {"connection_id":137923,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:45:35] local.INFO: Processing buffer {"connection_id":137923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:45:35] local.INFO: IMEI packet received {"connection_id":137923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":137923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:45:36] local.INFO: TCP Data received {"connection_id":137923,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aef3970012d34c84006aa50300008000727..."} 
[2026-07-19 20:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aef3970012d34c84006aa50300008000727..."} 
[2026-07-19 20:45:36] local.INFO: Processing buffer {"connection_id":137923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aef3970012d34c84006aa50300008000727..."} 
[2026-07-19 20:45:36] local.INFO: Packet analysis {"connection_id":137923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:45:36] local.INFO: Extracted packet for processing {"connection_id":137923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111824944,"longitude_deg":75.8433856,"latitude_deg":11.1824944,"altitude":8,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa5030","is_valid_coordinates":true} 
[2026-07-19 20:45: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-07-19 20:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825323008001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282685747200,"note":"Value kept but may cause issues"} 
[2026-07-19 20:45: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-07-19 20:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784473926000,"timestamp_ms":1784473926000,"timestamp_seconds":1784473926,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aef3970"} 
[2026-07-19 20:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:45: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-07-19 20:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-19 20:45: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-07-19 20:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:45: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-07-19 20:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825323008001,"66":27767,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3803360282685747200},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825323008001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:45:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282685747200,"description":"Unknown IO ID 45"} 
[2026-07-19 20:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825323008001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282685747200}} 
[2026-07-19 20:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":137923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:45:36] local.INFO: GPS data processed {"connection_id":137923,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:45:36] local.INFO: Acknowledgment sent {"connection_id":137923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:45:50] local.INFO: TCP Data received {"connection_id":139306,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:45:50] local.INFO: Processing buffer {"connection_id":139306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:45:50] local.INFO: IMEI packet received {"connection_id":139306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":139306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:45:50] local.INFO: TCP Data received {"connection_id":136851,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:45:50] local.INFO: Processing buffer {"connection_id":136851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:45:50] local.INFO: IMEI packet received {"connection_id":136851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 20:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":136851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:45:55] local.INFO: TCP Data received {"connection_id":139306,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:45:55] local.INFO: Processing buffer {"connection_id":139306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:45:55] local.INFO: IMEI packet received {"connection_id":139306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":139306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:45:56] local.INFO: TCP Data received {"connection_id":139306,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:45:56] local.INFO: Processing buffer {"connection_id":139306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:45:56] local.INFO: Packet analysis {"connection_id":139306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:45:56] local.INFO: Extracted packet for processing {"connection_id":139306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:45:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825248768001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:45: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-07-19 20:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784473929000,"timestamp_ms":1784473929000,"timestamp_seconds":1784473929,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aef4528"} 
[2026-07-19 20:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:45:56] 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-07-19 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 20:45:56] 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-07-19 20: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-07-19 20:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825248768001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825248768001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:45:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:45:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825248768001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":139306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:45:56] local.INFO: GPS data processed {"connection_id":139306,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:45:56] local.INFO: Acknowledgment sent {"connection_id":139306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:46:08] local.INFO: TCP Data received {"connection_id":137923,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aef3970012d34c84006aa50300008000727..."} 
[2026-07-19 20:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aef3970012d34c84006aa50300008000727..."} 
[2026-07-19 20:46:08] local.INFO: Processing buffer {"connection_id":137923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aef3970012d34c84006aa50300008000727..."} 
[2026-07-19 20:46:08] local.INFO: Packet analysis {"connection_id":137923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:46:08] local.INFO: Extracted packet for processing {"connection_id":137923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111824944,"longitude_deg":75.8433856,"latitude_deg":11.1824944,"altitude":8,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa5030","is_valid_coordinates":true} 
[2026-07-19 20:46: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-07-19 20:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825323008001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282685747200,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784473926000,"timestamp_ms":1784473926000,"timestamp_seconds":1784473926,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aef3970"} 
[2026-07-19 20:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 20: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-19 20:46: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-07-19 20: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-07-19 20:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20: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-07-19 20:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825323008001,"66":27767,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3803360282685747200},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825323008001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:46:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:46:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282685747200,"description":"Unknown IO ID 45"} 
[2026-07-19 20:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825323008001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282685747200}} 
[2026-07-19 20:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":137923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:46:08] local.INFO: GPS data processed {"connection_id":137923,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:46:08] local.INFO: Acknowledgment sent {"connection_id":137923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:46:25] local.INFO: TCP Data received {"connection_id":137924,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:46:25] local.INFO: Processing buffer {"connection_id":137924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:46:25] local.INFO: IMEI packet received {"connection_id":137924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 20:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":137924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:46:27] local.INFO: TCP Data received {"connection_id":139306,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:46:27] local.INFO: Processing buffer {"connection_id":139306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:46:27] local.INFO: Packet analysis {"connection_id":139306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:46:27] local.INFO: Extracted packet for processing {"connection_id":139306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:46:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825248768001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:46: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-07-19 20:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784473929000,"timestamp_ms":1784473929000,"timestamp_seconds":1784473929,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aef4528"} 
[2026-07-19 20:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:46:27] 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-07-19 20:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 20:46:27] 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-07-19 20:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825248768001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825248768001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:46:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:46:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825248768001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":139306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:46:27] local.INFO: GPS data processed {"connection_id":139306,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:46:27] local.INFO: Acknowledgment sent {"connection_id":139306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:46:30] local.INFO: TCP Data received {"connection_id":136852,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:46:30] local.INFO: Processing buffer {"connection_id":136852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:46:30] local.INFO: IMEI packet received {"connection_id":136852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":136852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:46:36] local.INFO: TCP Data received {"connection_id":136852,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:46:36] local.INFO: Processing buffer {"connection_id":136852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:46:36] local.INFO: IMEI packet received {"connection_id":136852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":136852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:46:38] local.INFO: TCP Data received {"connection_id":136852,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aef3970012d34c84006aa50300008000727..."} 
[2026-07-19 20:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aef3970012d34c84006aa50300008000727..."} 
[2026-07-19 20:46:38] local.INFO: Processing buffer {"connection_id":136852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aef3970012d34c84006aa50300008000727..."} 
[2026-07-19 20:46:38] local.INFO: Packet analysis {"connection_id":136852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:46:38] local.INFO: Extracted packet for processing {"connection_id":136852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111824944,"longitude_deg":75.8433856,"latitude_deg":11.1824944,"altitude":8,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa5030","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825323008001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282685747200,"note":"Value kept but may cause issues"} 
[2026-07-19 20:46: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-07-19 20:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784473926000,"timestamp_ms":1784473926000,"timestamp_seconds":1784473926,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aef3970"} 
[2026-07-19 20:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20: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-07-19 20: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-07-19 20:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:46: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-07-19 20:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825323008001,"66":27767,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3803360282685747200},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825323008001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:46:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:46:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282685747200,"description":"Unknown IO ID 45"} 
[2026-07-19 20:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825323008001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282685747200}} 
[2026-07-19 20:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":136852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:46:38] local.INFO: GPS data processed {"connection_id":136852,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:46:38] local.INFO: Acknowledgment sent {"connection_id":136852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:46:51] local.INFO: TCP Data received {"connection_id":139307,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:46:51] local.INFO: Processing buffer {"connection_id":139307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:46:51] local.INFO: IMEI packet received {"connection_id":139307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":139307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:46:55] local.INFO: TCP Data received {"connection_id":139307,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:46:55] local.INFO: Processing buffer {"connection_id":139307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:46:55] local.INFO: IMEI packet received {"connection_id":139307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":139307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:46:56] local.INFO: TCP Data received {"connection_id":139307,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:46:56] local.INFO: Processing buffer {"connection_id":139307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:46:56] local.INFO: Packet analysis {"connection_id":139307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:46:56] local.INFO: Extracted packet for processing {"connection_id":139307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:46:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825248768001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:46: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-07-19 20:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784473929000,"timestamp_ms":1784473929000,"timestamp_seconds":1784473929,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aef4528"} 
[2026-07-19 20:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:46:56] 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-07-19 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 20:46:56] 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-07-19 20: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-07-19 20:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825248768001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825248768001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:46:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:46:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825248768001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":139307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:46:56] local.INFO: GPS data processed {"connection_id":139307,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:46:56] local.INFO: Acknowledgment sent {"connection_id":139307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:47:10] local.INFO: TCP Data received {"connection_id":136852,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aef3970012d34c84006aa50300008000727..."} 
[2026-07-19 20:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aef3970012d34c84006aa50300008000727..."} 
[2026-07-19 20:47:10] local.INFO: Processing buffer {"connection_id":136852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aef3970012d34c84006aa50300008000727..."} 
[2026-07-19 20:47:10] local.INFO: Packet analysis {"connection_id":136852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:47:10] local.INFO: Extracted packet for processing {"connection_id":136852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:47:10] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111824944,"longitude_deg":75.8433856,"latitude_deg":11.1824944,"altitude":8,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa5030","is_valid_coordinates":true} 
[2026-07-19 20:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825323008001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282685747200,"note":"Value kept but may cause issues"} 
[2026-07-19 20:47: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-07-19 20:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784473926000,"timestamp_ms":1784473926000,"timestamp_seconds":1784473926,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aef3970"} 
[2026-07-19 20:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 20:47: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-07-19 20:47: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-07-19 20:47: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-07-19 20:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825323008001,"66":27767,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3803360282685747200},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 20:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825323008001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:47:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:47:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282685747200,"description":"Unknown IO ID 45"} 
[2026-07-19 20:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825323008001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282685747200}} 
[2026-07-19 20:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":136852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:47:10] local.INFO: GPS data processed {"connection_id":136852,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:47:10] local.INFO: Acknowledgment sent {"connection_id":136852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:47:27] local.INFO: TCP Data received {"connection_id":139307,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:47:27] local.INFO: Processing buffer {"connection_id":139307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aef4528012d196540071ff010004c004925..."} 
[2026-07-19 20:47:27] local.INFO: Packet analysis {"connection_id":139307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:47:27] local.INFO: Extracted packet for processing {"connection_id":139307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:47:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825248768001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:47: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-07-19 20:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784473929000,"timestamp_ms":1784473929000,"timestamp_seconds":1784473929,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aef4528"} 
[2026-07-19 20:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:47:27] 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-07-19 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 20:47:27] 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-07-19 20: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-07-19 20:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825248768001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825248768001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:47:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:47:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825248768001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":139307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:47:27] local.INFO: GPS data processed {"connection_id":139307,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:47:27] local.INFO: Acknowledgment sent {"connection_id":139307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:47:30] local.INFO: TCP Data received {"connection_id":137926,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:47:30] local.INFO: Processing buffer {"connection_id":137926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:47:30] local.INFO: IMEI packet received {"connection_id":137926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":137926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:47:35] local.INFO: TCP Data received {"connection_id":137926,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:47:35] local.INFO: Processing buffer {"connection_id":137926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:47:35] local.INFO: IMEI packet received {"connection_id":137926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":137926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:47:37] local.INFO: TCP Data received {"connection_id":137926,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7aef3970012d34c84006aa50300008000727..."} 
[2026-07-19 20:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7aef3970012d34c84006aa50300008000727..."} 
[2026-07-19 20:47:37] local.INFO: Processing buffer {"connection_id":137926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7aef3970012d34c84006aa50300008000727..."} 
[2026-07-19 20:47:37] local.INFO: Packet analysis {"connection_id":137926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:47:37] local.INFO: Extracted packet for processing {"connection_id":137926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7aef"} 
[2026-07-19 20:47:37] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111824944,"longitude_deg":75.8433856,"latitude_deg":11.1824944,"altitude":8,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa5030","is_valid_coordinates":true} 
[2026-07-19 20:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825323008001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282685747200,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784473926000,"timestamp_ms":1784473926000,"timestamp_seconds":1784473926,"priority":1,"record_length":96,"hex_timestamp":"0000019f7aef3970"} 
[2026-07-19 20:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-19 20:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-19 20:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825323008001,"66":27767,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3803360282685747200},"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-07-19 20:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825323008001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:47:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:47:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282685747200,"description":"Unknown IO ID 45"} 
[2026-07-19 20:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825323008001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282685747200}} 
[2026-07-19 20:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":137926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:47:37] local.INFO: GPS data processed {"connection_id":137926,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:47:37] local.INFO: Acknowledgment sent {"connection_id":137926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:47:50] local.INFO: TCP Data received {"connection_id":136853,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:47:50] local.INFO: Processing buffer {"connection_id":136853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:47:50] local.INFO: IMEI packet received {"connection_id":136853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":136853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:47:55] local.INFO: TCP Data received {"connection_id":136853,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:47:55] local.INFO: Processing buffer {"connection_id":136853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:47:55] local.INFO: IMEI packet received {"connection_id":136853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":136853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:47:56] local.INFO: TCP Data received {"connection_id":136853,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:47:56] local.INFO: Processing buffer {"connection_id":136853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:47:56] local.INFO: Packet analysis {"connection_id":136853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:47:56] local.INFO: Extracted packet for processing {"connection_id":136853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:47:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825325824001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:47: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-07-19 20:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784474230000,"timestamp_ms":1784474230000,"timestamp_seconds":1784474230,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af3dcf0"} 
[2026-07-19 20:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:47: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-07-19 20:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:47: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-07-19 20:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825325824001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825325824001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:47:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:47:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825325824001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":136853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:47:56] local.INFO: GPS data processed {"connection_id":136853,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:47:56] local.INFO: Acknowledgment sent {"connection_id":136853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:48:08] local.INFO: TCP Data received {"connection_id":137926,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:48:08] local.INFO: Processing buffer {"connection_id":137926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:48:08] local.INFO: Packet analysis {"connection_id":137926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:48:08] local.INFO: Extracted packet for processing {"connection_id":137926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825325056001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282685747200,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784474228000,"timestamp_ms":1784474228000,"timestamp_seconds":1784474228,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af3d520"} 
[2026-07-19 20:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":119,"data_length":795,"current_offset":136} 
[2026-07-19 20:48: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-07-19 20: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-07-19 20:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825325056001,"66":26082,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3803360282685747200},"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-07-19 20:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825325056001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:48:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282685747200,"description":"Unknown IO ID 45"} 
[2026-07-19 20:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825325056001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282685747200}} 
[2026-07-19 20:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":137926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:48:08] local.INFO: GPS data processed {"connection_id":137926,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:48:08] local.INFO: Acknowledgment sent {"connection_id":137926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:48:27] local.INFO: TCP Data received {"connection_id":136853,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:48:27] local.INFO: Processing buffer {"connection_id":136853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:48:27] local.INFO: Packet analysis {"connection_id":136853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:48:27] local.INFO: Extracted packet for processing {"connection_id":136853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:48:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825325824001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784474230000,"timestamp_ms":1784474230000,"timestamp_seconds":1784474230,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af3dcf0"} 
[2026-07-19 20:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:48: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-07-19 20:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825325824001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825325824001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:48:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:48:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825325824001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":136853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:48:27] local.INFO: GPS data processed {"connection_id":136853,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:48:27] local.INFO: Acknowledgment sent {"connection_id":136853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:48:31] local.INFO: TCP Data received {"connection_id":136854,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:48:31] local.INFO: Processing buffer {"connection_id":136854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:48:31] local.INFO: IMEI packet received {"connection_id":136854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":136854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:48:35] local.INFO: TCP Data received {"connection_id":136854,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:48:35] local.INFO: Processing buffer {"connection_id":136854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:48:35] local.INFO: IMEI packet received {"connection_id":136854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":136854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:48:38] local.INFO: TCP Data received {"connection_id":136854,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:48:38] local.INFO: Processing buffer {"connection_id":136854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:48:38] local.INFO: Packet analysis {"connection_id":136854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:48:38] local.INFO: Extracted packet for processing {"connection_id":136854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:48:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825325056001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282685747200,"note":"Value kept but may cause issues"} 
[2026-07-19 20:48: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-07-19 20:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784474228000,"timestamp_ms":1784474228000,"timestamp_seconds":1784474228,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af3d520"} 
[2026-07-19 20:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-19 20:48: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-07-19 20:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825325056001,"66":26082,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3803360282685747200},"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-07-19 20:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825325056001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:48:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:48:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282685747200,"description":"Unknown IO ID 45"} 
[2026-07-19 20:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825325056001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282685747200}} 
[2026-07-19 20:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":136854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:48:38] local.INFO: GPS data processed {"connection_id":136854,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:48:38] local.INFO: Acknowledgment sent {"connection_id":136854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:48:55] local.INFO: TCP Data received {"connection_id":136961,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:48:55] local.INFO: Processing buffer {"connection_id":136961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:48:55] local.INFO: IMEI packet received {"connection_id":136961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":136961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:49:00] local.INFO: TCP Data received {"connection_id":136961,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:49:00] local.INFO: Processing buffer {"connection_id":136961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:49:00] local.INFO: IMEI packet received {"connection_id":136961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":136961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:49:01] local.INFO: TCP Data received {"connection_id":136961,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:49:01] local.INFO: Processing buffer {"connection_id":136961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:49:01] local.INFO: Packet analysis {"connection_id":136961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:49:01] local.INFO: Extracted packet for processing {"connection_id":136961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:49:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825325824001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:49: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-07-19 20:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784474230000,"timestamp_ms":1784474230000,"timestamp_seconds":1784474230,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af3dcf0"} 
[2026-07-19 20:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:49:01] 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-07-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825325824001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825325824001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:49:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:49:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825325824001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":136961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:49:01] local.INFO: GPS data processed {"connection_id":136961,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:49:01] local.INFO: Acknowledgment sent {"connection_id":136961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:49:06] local.INFO: TCP Data received {"connection_id":136961,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:49:06] local.INFO: Processing buffer {"connection_id":136961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:49:06] local.INFO: Packet analysis {"connection_id":136961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:49:06] local.INFO: Extracted packet for processing {"connection_id":136961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825325824001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784474230000,"timestamp_ms":1784474230000,"timestamp_seconds":1784474230,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af3dcf0"} 
[2026-07-19 20:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:49:06] 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-07-19 20:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825325824001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825325824001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:49:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825325824001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":136961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:49:06] local.INFO: GPS data processed {"connection_id":136961,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:49:06] local.INFO: Acknowledgment sent {"connection_id":136961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:49:09] local.INFO: TCP Data received {"connection_id":136854,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:49:09] local.INFO: Processing buffer {"connection_id":136854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:49:09] local.INFO: Packet analysis {"connection_id":136854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:49:09] local.INFO: Extracted packet for processing {"connection_id":136854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825325056001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282685747200,"note":"Value kept but may cause issues"} 
[2026-07-19 20:49: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-07-19 20:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784474228000,"timestamp_ms":1784474228000,"timestamp_seconds":1784474228,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af3d520"} 
[2026-07-19 20:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-19 20:49: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-07-19 20: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-07-19 20:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:49:09] 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-07-19 20:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825325056001,"66":26082,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3803360282685747200},"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-07-19 20:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825325056001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:49:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282685747200,"description":"Unknown IO ID 45"} 
[2026-07-19 20:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825325056001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282685747200}} 
[2026-07-19 20:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":136854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:49:09] local.INFO: GPS data processed {"connection_id":136854,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:49:09] local.INFO: Acknowledgment sent {"connection_id":136854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:49:30] local.INFO: TCP Data received {"connection_id":137928,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:49:30] local.INFO: Processing buffer {"connection_id":137928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:49:30] local.INFO: IMEI packet received {"connection_id":137928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":137928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:49:36] local.INFO: TCP Data received {"connection_id":137928,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:49:36] local.INFO: Processing buffer {"connection_id":137928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:49:36] local.INFO: IMEI packet received {"connection_id":137928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":137928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:49:37] local.INFO: TCP Data received {"connection_id":137928,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:49:37] local.INFO: Processing buffer {"connection_id":137928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:49:37] local.INFO: Packet analysis {"connection_id":137928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:49:37] local.INFO: Extracted packet for processing {"connection_id":137928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825325056001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282685747200,"note":"Value kept but may cause issues"} 
[2026-07-19 20:49: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-07-19 20:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784474228000,"timestamp_ms":1784474228000,"timestamp_seconds":1784474228,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af3d520"} 
[2026-07-19 20:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-19 20:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:49:37] 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-07-19 20:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825325056001,"66":26082,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3803360282685747200},"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-07-19 20:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825325056001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:49:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282685747200,"description":"Unknown IO ID 45"} 
[2026-07-19 20:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825325056001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282685747200}} 
[2026-07-19 20:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":137928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:49:37] local.INFO: GPS data processed {"connection_id":137928,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:49:37] local.INFO: Acknowledgment sent {"connection_id":137928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:49:50] local.INFO: TCP Data received {"connection_id":139309,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:49:50] local.INFO: Processing buffer {"connection_id":139309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:49:50] local.INFO: IMEI packet received {"connection_id":139309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":139309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:49:55] local.INFO: TCP Data received {"connection_id":139309,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:49:55] local.INFO: Processing buffer {"connection_id":139309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:49:55] local.INFO: IMEI packet received {"connection_id":139309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":139309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:49:56] local.INFO: TCP Data received {"connection_id":139309,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:49:56] local.INFO: Processing buffer {"connection_id":139309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:49:56] local.INFO: Packet analysis {"connection_id":139309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:49:56] local.INFO: Extracted packet for processing {"connection_id":139309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:49:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825325824001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784474230000,"timestamp_ms":1784474230000,"timestamp_seconds":1784474230,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af3dcf0"} 
[2026-07-19 20:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:49: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-07-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:49: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-07-19 20: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-07-19 20:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825325824001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825325824001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:49:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:49:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825325824001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":139309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:49:56] local.INFO: GPS data processed {"connection_id":139309,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:49:56] local.INFO: Acknowledgment sent {"connection_id":139309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:50:08] local.INFO: TCP Data received {"connection_id":137928,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:50:08] local.INFO: Processing buffer {"connection_id":137928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:50:08] local.INFO: Packet analysis {"connection_id":137928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:50:08] local.INFO: Extracted packet for processing {"connection_id":137928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825325056001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282685747200,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784474228000,"timestamp_ms":1784474228000,"timestamp_seconds":1784474228,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af3d520"} 
[2026-07-19 20:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-19 20:50: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-07-19 20:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:50:08] 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-07-19 20:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825325056001,"66":26082,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3803360282685747200},"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-07-19 20:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825325056001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:50:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:50:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282685747200,"description":"Unknown IO ID 45"} 
[2026-07-19 20:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825325056001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282685747200}} 
[2026-07-19 20:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":137928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:50:08] local.INFO: GPS data processed {"connection_id":137928,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:50:08] local.INFO: Acknowledgment sent {"connection_id":137928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:50:27] local.INFO: TCP Data received {"connection_id":139309,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:50:27] local.INFO: Processing buffer {"connection_id":139309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:50:27] local.INFO: Packet analysis {"connection_id":139309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:50:27] local.INFO: Extracted packet for processing {"connection_id":139309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:50:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825325824001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784474230000,"timestamp_ms":1784474230000,"timestamp_seconds":1784474230,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af3dcf0"} 
[2026-07-19 20:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:50: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-07-19 20:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825325824001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825325824001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:50:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:50:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825325824001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":139309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:50:27] local.INFO: GPS data processed {"connection_id":139309,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:50:27] local.INFO: Acknowledgment sent {"connection_id":139309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:50:30] local.INFO: TCP Data received {"connection_id":137929,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:50:30] local.INFO: Processing buffer {"connection_id":137929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:50:30] local.INFO: IMEI packet received {"connection_id":137929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":137929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:50:35] local.INFO: TCP Data received {"connection_id":137929,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:50:35] local.INFO: Processing buffer {"connection_id":137929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:50:35] local.INFO: IMEI packet received {"connection_id":137929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":137929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:50:36] local.INFO: TCP Data received {"connection_id":137929,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:50:36] local.INFO: Processing buffer {"connection_id":137929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:50:36] local.INFO: Packet analysis {"connection_id":137929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:50:36] local.INFO: Extracted packet for processing {"connection_id":137929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825325056001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282685747200,"note":"Value kept but may cause issues"} 
[2026-07-19 20:50: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-07-19 20:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784474228000,"timestamp_ms":1784474228000,"timestamp_seconds":1784474228,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af3d520"} 
[2026-07-19 20:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-19 20:50: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-07-19 20: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-07-19 20:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825325056001,"66":26082,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3803360282685747200},"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-07-19 20:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825325056001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:50:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:50:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282685747200,"description":"Unknown IO ID 45"} 
[2026-07-19 20:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825325056001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282685747200}} 
[2026-07-19 20:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":137929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:50:36] local.INFO: GPS data processed {"connection_id":137929,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:50:36] local.INFO: Acknowledgment sent {"connection_id":137929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:50:50] local.INFO: TCP Data received {"connection_id":137930,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:50:50] local.INFO: Processing buffer {"connection_id":137930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:50:50] local.INFO: IMEI packet received {"connection_id":137930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":137930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:50:55] local.INFO: TCP Data received {"connection_id":137930,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:50:55] local.INFO: Processing buffer {"connection_id":137930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:50:55] local.INFO: IMEI packet received {"connection_id":137930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":137930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:50:56] local.INFO: TCP Data received {"connection_id":137930,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:50:56] local.INFO: Processing buffer {"connection_id":137930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:50:56] local.INFO: Packet analysis {"connection_id":137930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:50:56] local.INFO: Extracted packet for processing {"connection_id":137930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:50:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825325824001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:50: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-07-19 20:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784474230000,"timestamp_ms":1784474230000,"timestamp_seconds":1784474230,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af3dcf0"} 
[2026-07-19 20:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:50: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-07-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:50: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-07-19 20: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-07-19 20:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825325824001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825325824001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:50:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:50:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825325824001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":137930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:50:56] local.INFO: GPS data processed {"connection_id":137930,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:50:56] local.INFO: Acknowledgment sent {"connection_id":137930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:51:08] local.INFO: TCP Data received {"connection_id":137929,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:51:08] local.INFO: Processing buffer {"connection_id":137929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:51:08] local.INFO: Packet analysis {"connection_id":137929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:51:08] local.INFO: Extracted packet for processing {"connection_id":137929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825325056001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282685747200,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784474228000,"timestamp_ms":1784474228000,"timestamp_seconds":1784474228,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af3d520"} 
[2026-07-19 20:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-19 20:51: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-07-19 20: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-07-19 20:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:51:08] 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-07-19 20:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825325056001,"66":26082,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3803360282685747200},"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-07-19 20:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825325056001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:51:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:51:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282685747200,"description":"Unknown IO ID 45"} 
[2026-07-19 20:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825325056001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282685747200}} 
[2026-07-19 20:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":137929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:51:08] local.INFO: GPS data processed {"connection_id":137929,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:51:08] local.INFO: Acknowledgment sent {"connection_id":137929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:51:27] local.INFO: TCP Data received {"connection_id":137930,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:51:27] local.INFO: Processing buffer {"connection_id":137930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:51:27] local.INFO: Packet analysis {"connection_id":137930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:51:27] local.INFO: Extracted packet for processing {"connection_id":137930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:51:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825325824001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:51: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-07-19 20:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784474230000,"timestamp_ms":1784474230000,"timestamp_seconds":1784474230,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af3dcf0"} 
[2026-07-19 20:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:51: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-07-19 20:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825325824001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825325824001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:51:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:51:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825325824001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":137930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:51:27] local.INFO: GPS data processed {"connection_id":137930,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:51:27] local.INFO: Acknowledgment sent {"connection_id":137930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:51:30] local.INFO: TCP Data received {"connection_id":136855,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:51:30] local.INFO: Processing buffer {"connection_id":136855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:51:30] local.INFO: IMEI packet received {"connection_id":136855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":136855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:51:35] local.INFO: TCP Data received {"connection_id":136855,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:51:35] local.INFO: Processing buffer {"connection_id":136855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:51:35] local.INFO: IMEI packet received {"connection_id":136855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":136855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:51:36] local.INFO: TCP Data received {"connection_id":136855,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:51:36] local.INFO: Processing buffer {"connection_id":136855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:51:36] local.INFO: Packet analysis {"connection_id":136855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:51:36] local.INFO: Extracted packet for processing {"connection_id":136855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825325056001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282685747200,"note":"Value kept but may cause issues"} 
[2026-07-19 20:51: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-07-19 20:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784474228000,"timestamp_ms":1784474228000,"timestamp_seconds":1784474228,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af3d520"} 
[2026-07-19 20:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-19 20:51: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-07-19 20:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825325056001,"66":26082,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3803360282685747200},"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-07-19 20:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825325056001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:51:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:51:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282685747200,"description":"Unknown IO ID 45"} 
[2026-07-19 20:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825325056001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282685747200}} 
[2026-07-19 20:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":136855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:51:36] local.INFO: GPS data processed {"connection_id":136855,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:51:36] local.INFO: Acknowledgment sent {"connection_id":136855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:51:40] local.INFO: TCP Data received {"connection_id":136963,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:51:40] local.INFO: Processing buffer {"connection_id":136963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:51:40] local.INFO: IMEI packet received {"connection_id":136963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 20:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":136963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:51:50] local.INFO: TCP Data received {"connection_id":137931,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:51:50] local.INFO: Processing buffer {"connection_id":137931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:51:50] local.INFO: IMEI packet received {"connection_id":137931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":137931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:51:55] local.INFO: TCP Data received {"connection_id":137931,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:51:55] local.INFO: Processing buffer {"connection_id":137931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:51:55] local.INFO: IMEI packet received {"connection_id":137931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":137931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:51:56] local.INFO: TCP Data received {"connection_id":137931,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:51:56] local.INFO: Processing buffer {"connection_id":137931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:51:56] local.INFO: Packet analysis {"connection_id":137931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:51:56] local.INFO: Extracted packet for processing {"connection_id":137931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:51:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 20:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825325824001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:51: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-07-19 20:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784474230000,"timestamp_ms":1784474230000,"timestamp_seconds":1784474230,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af3dcf0"} 
[2026-07-19 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-07-19 20:51: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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:51: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-07-19 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-07-19 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-07-19 20:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825325824001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825325824001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:51:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:51:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825325824001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":137931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:51:56] local.INFO: GPS data processed {"connection_id":137931,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:51:56] local.INFO: Acknowledgment sent {"connection_id":137931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:52:08] local.INFO: TCP Data received {"connection_id":136855,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:52:08] local.INFO: Processing buffer {"connection_id":136855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:52:08] local.INFO: Packet analysis {"connection_id":136855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:52:08] local.INFO: Extracted packet for processing {"connection_id":136855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825325056001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282685747200,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784474228000,"timestamp_ms":1784474228000,"timestamp_seconds":1784474228,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af3d520"} 
[2026-07-19 20:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":119,"data_length":795,"current_offset":136} 
[2026-07-19 20:52: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-07-19 20: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-07-19 20:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:52:08] 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-07-19 20:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825325056001,"66":26082,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3803360282685747200},"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-07-19 20:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825325056001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:52:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282685747200,"description":"Unknown IO ID 45"} 
[2026-07-19 20:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825325056001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282685747200}} 
[2026-07-19 20:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":136855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:52:08] local.INFO: GPS data processed {"connection_id":136855,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:52:08] local.INFO: Acknowledgment sent {"connection_id":136855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:52:25] local.INFO: TCP Data received {"connection_id":136856,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:52:25] local.INFO: Processing buffer {"connection_id":136856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:52:25] local.INFO: IMEI packet received {"connection_id":136856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 20:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":136856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:52:27] local.INFO: TCP Data received {"connection_id":137931,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:52:27] local.INFO: Processing buffer {"connection_id":137931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af3dcf0012d196540071ff010004c004925..."} 
[2026-07-19 20:52:27] local.INFO: Packet analysis {"connection_id":137931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:52:27] local.INFO: Extracted packet for processing {"connection_id":137931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:52:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825325824001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:52: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-07-19 20:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784474230000,"timestamp_ms":1784474230000,"timestamp_seconds":1784474230,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af3dcf0"} 
[2026-07-19 20:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:52: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-07-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825325824001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825325824001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:52:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:52:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825325824001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":137931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:52:27] local.INFO: GPS data processed {"connection_id":137931,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:52:27] local.INFO: Acknowledgment sent {"connection_id":137931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:52:35] local.INFO: TCP Data received {"connection_id":136964,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:52:35] local.INFO: Processing buffer {"connection_id":136964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:52:35] local.INFO: IMEI packet received {"connection_id":136964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":136964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:52:40] local.INFO: TCP Data received {"connection_id":136964,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:52:40] local.INFO: Processing buffer {"connection_id":136964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:52:40] local.INFO: IMEI packet received {"connection_id":136964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":136964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:52:41] local.INFO: TCP Data received {"connection_id":136964,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:52:41] local.INFO: Processing buffer {"connection_id":136964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:52:41] local.INFO: Packet analysis {"connection_id":136964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:52:41] local.INFO: Extracted packet for processing {"connection_id":136964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:52:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825325056001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282685747200,"note":"Value kept but may cause issues"} 
[2026-07-19 20:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784474228000,"timestamp_ms":1784474228000,"timestamp_seconds":1784474228,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af3d520"} 
[2026-07-19 20:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-19 20:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":136964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":136964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":136964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825325056001,"66":26082,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3803360282685747200},"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-07-19 20:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825325056001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:52:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:52:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282685747200,"description":"Unknown IO ID 45"} 
[2026-07-19 20:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825325056001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282685747200}} 
[2026-07-19 20:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":136964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:52:41] local.INFO: GPS data processed {"connection_id":136964,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:52:41] local.INFO: Acknowledgment sent {"connection_id":136964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:52:46] local.INFO: TCP Data received {"connection_id":136964,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:52:46] local.INFO: Processing buffer {"connection_id":136964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af3d520012d34c58006aa4b980009000729..."} 
[2026-07-19 20:52:46] local.INFO: Packet analysis {"connection_id":136964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:52:46] local.INFO: Extracted packet for processing {"connection_id":136964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af3"} 
[2026-07-19 20:52:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825325056001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282685747200,"note":"Value kept but may cause issues"} 
[2026-07-19 20:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784474228000,"timestamp_ms":1784474228000,"timestamp_seconds":1784474228,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af3d520"} 
[2026-07-19 20:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-19 20:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":136964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":136964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":136964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825325056001,"66":26082,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3803360282685747200},"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-07-19 20:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825325056001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:52:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:52:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282685747200,"description":"Unknown IO ID 45"} 
[2026-07-19 20:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825325056001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282685747200}} 
[2026-07-19 20:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":136964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:52:46] local.INFO: GPS data processed {"connection_id":136964,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:52:46] local.INFO: Acknowledgment sent {"connection_id":136964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:52:49] local.INFO: TCP Data received {"connection_id":136857,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:52:49] local.INFO: Processing buffer {"connection_id":136857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:52:49] local.INFO: IMEI packet received {"connection_id":136857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":136857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:52:50] local.INFO: TCP Data received {"connection_id":136857,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:52:50] local.INFO: Processing buffer {"connection_id":136857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:52:50] local.INFO: IMEI packet received {"connection_id":136857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":136857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:52:55] local.INFO: TCP Data received {"connection_id":136857,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:52:55] local.INFO: Processing buffer {"connection_id":136857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:52:55] local.INFO: IMEI packet received {"connection_id":136857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":136857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:52:56] local.INFO: TCP Data received {"connection_id":136857,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:52:56] local.INFO: Processing buffer {"connection_id":136857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:52:56] local.INFO: Packet analysis {"connection_id":136857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:52:56] local.INFO: Extracted packet for processing {"connection_id":136857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:52:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 20:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825402880001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:52: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-07-19 20:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784474531000,"timestamp_ms":1784474531000,"timestamp_seconds":1784474531,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af874b8"} 
[2026-07-19 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-07-19 20:52:56] 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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:52: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-07-19 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-07-19 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-07-19 20:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825402880001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825402880001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:52:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:52:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825402880001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":136857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:52:56] local.INFO: GPS data processed {"connection_id":136857,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:52:56] local.INFO: Acknowledgment sent {"connection_id":136857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:53:27] local.INFO: TCP Data received {"connection_id":136857,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:53:27] local.INFO: Processing buffer {"connection_id":136857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:53:27] local.INFO: Packet analysis {"connection_id":136857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:53:27] local.INFO: Extracted packet for processing {"connection_id":136857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:53:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825402880001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:53: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-07-19 20:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784474531000,"timestamp_ms":1784474531000,"timestamp_seconds":1784474531,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af874b8"} 
[2026-07-19 20:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:53:27] 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-07-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825402880001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825402880001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:53:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:53:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825402880001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":136857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:53:27] local.INFO: GPS data processed {"connection_id":136857,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:53:27] local.INFO: Acknowledgment sent {"connection_id":136857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:53:31] local.INFO: TCP Data received {"connection_id":139310,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:53:31] local.INFO: Processing buffer {"connection_id":139310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:53:31] local.INFO: IMEI packet received {"connection_id":139310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":139310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:53:35] local.INFO: TCP Data received {"connection_id":139310,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:53:35] local.INFO: Processing buffer {"connection_id":139310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:53:35] local.INFO: IMEI packet received {"connection_id":139310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":139310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:53:37] local.INFO: TCP Data received {"connection_id":139310,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:53:37] local.INFO: Processing buffer {"connection_id":139310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:53:37] local.INFO: Packet analysis {"connection_id":139310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:53:37] local.INFO: Extracted packet for processing {"connection_id":139310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825402368001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 20:53: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-07-19 20:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784474529000,"timestamp_ms":1784474529000,"timestamp_seconds":1784474529,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af86ce8"} 
[2026-07-19 20:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-19 20:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:53:37] 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-07-19 20:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825402368001,"66":25734,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 20:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825402368001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:53:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 20:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825402368001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 20:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":139310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:53:37] local.INFO: GPS data processed {"connection_id":139310,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:53:37] local.INFO: Acknowledgment sent {"connection_id":139310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:53:55] local.INFO: TCP Data received {"connection_id":139312,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:53:55] local.INFO: Processing buffer {"connection_id":139312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:53:55] local.INFO: IMEI packet received {"connection_id":139312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":139312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:54:00] local.INFO: TCP Data received {"connection_id":139312,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:54:00] local.INFO: Processing buffer {"connection_id":139312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:54:00] local.INFO: IMEI packet received {"connection_id":139312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":139312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:54:01] local.INFO: TCP Data received {"connection_id":139312,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:54:01] local.INFO: Processing buffer {"connection_id":139312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:54:01] local.INFO: Packet analysis {"connection_id":139312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:54:01] local.INFO: Extracted packet for processing {"connection_id":139312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:54:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825402880001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:54: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-07-19 20:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784474531000,"timestamp_ms":1784474531000,"timestamp_seconds":1784474531,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af874b8"} 
[2026-07-19 20:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:54:01] 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-07-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":139312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":139312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":139312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825402880001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825402880001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:54:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:54:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825402880001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":139312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:54:01] local.INFO: GPS data processed {"connection_id":139312,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:54:01] local.INFO: Acknowledgment sent {"connection_id":139312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:54:06] local.INFO: TCP Data received {"connection_id":139312,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:54:06] local.INFO: Processing buffer {"connection_id":139312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:54:06] local.INFO: Packet analysis {"connection_id":139312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:54:06] local.INFO: Extracted packet for processing {"connection_id":139312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825402880001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784474531000,"timestamp_ms":1784474531000,"timestamp_seconds":1784474531,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af874b8"} 
[2026-07-19 20:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:54:06] 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-07-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":139312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":139312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":139312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825402880001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825402880001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:54:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825402880001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":139312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:54:06] local.INFO: GPS data processed {"connection_id":139312,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:54:06] local.INFO: Acknowledgment sent {"connection_id":139312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:54:08] local.INFO: TCP Data received {"connection_id":139310,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:54:08] local.INFO: Processing buffer {"connection_id":139310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:54:08] local.INFO: Packet analysis {"connection_id":139310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:54:08] local.INFO: Extracted packet for processing {"connection_id":139310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825402368001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784474529000,"timestamp_ms":1784474529000,"timestamp_seconds":1784474529,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af86ce8"} 
[2026-07-19 20:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:54: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-07-19 20: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-19 20:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:54:08] 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-07-19 20:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825402368001,"66":25734,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 20:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825402368001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:54:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 20:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825402368001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 20:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":139310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:54:08] local.INFO: GPS data processed {"connection_id":139310,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:54:08] local.INFO: Acknowledgment sent {"connection_id":139310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:54:30] local.INFO: TCP Data received {"connection_id":136858,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:54:30] local.INFO: Processing buffer {"connection_id":136858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:54:30] local.INFO: IMEI packet received {"connection_id":136858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":136858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:54:35] local.INFO: TCP Data received {"connection_id":136858,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:54:35] local.INFO: Processing buffer {"connection_id":136858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:54:35] local.INFO: IMEI packet received {"connection_id":136858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":136858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:54:36] local.INFO: TCP Data received {"connection_id":136858,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:54:36] local.INFO: Processing buffer {"connection_id":136858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:54:36] local.INFO: Packet analysis {"connection_id":136858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:54:36] local.INFO: Extracted packet for processing {"connection_id":136858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825402368001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 20:54: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-07-19 20:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784474529000,"timestamp_ms":1784474529000,"timestamp_seconds":1784474529,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af86ce8"} 
[2026-07-19 20:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-19 20:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825402368001,"66":25734,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 20:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825402368001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:54:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:54:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 20:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825402368001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 20:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":136858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:54:36] local.INFO: GPS data processed {"connection_id":136858,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:54:36] local.INFO: Acknowledgment sent {"connection_id":136858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:54:50] local.INFO: TCP Data received {"connection_id":137934,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:54:50] local.INFO: Processing buffer {"connection_id":137934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:54:50] local.INFO: IMEI packet received {"connection_id":137934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":137934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:54:55] local.INFO: TCP Data received {"connection_id":137934,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:54:55] local.INFO: Processing buffer {"connection_id":137934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:54:55] local.INFO: IMEI packet received {"connection_id":137934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":137934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:54:56] local.INFO: TCP Data received {"connection_id":137934,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:54:56] local.INFO: Processing buffer {"connection_id":137934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:54:56] local.INFO: Packet analysis {"connection_id":137934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:54:56] local.INFO: Extracted packet for processing {"connection_id":137934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:54:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825402880001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:54: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-07-19 20:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784474531000,"timestamp_ms":1784474531000,"timestamp_seconds":1784474531,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af874b8"} 
[2026-07-19 20:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:54:56] 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-07-19 20:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:54: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-07-19 20: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-07-19 20:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825402880001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825402880001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:54:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:54:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825402880001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":137934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:54:56] local.INFO: GPS data processed {"connection_id":137934,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:54:56] local.INFO: Acknowledgment sent {"connection_id":137934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:55:08] local.INFO: TCP Data received {"connection_id":136858,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:55:08] local.INFO: Processing buffer {"connection_id":136858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:55:08] local.INFO: Packet analysis {"connection_id":136858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:55:08] local.INFO: Extracted packet for processing {"connection_id":136858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825402368001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784474529000,"timestamp_ms":1784474529000,"timestamp_seconds":1784474529,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af86ce8"} 
[2026-07-19 20:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:55: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-07-19 20:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-19 20:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:55:08] 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-07-19 20:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825402368001,"66":25734,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 20:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825402368001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:55:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:55:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 20:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825402368001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 20:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":136858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:55:08] local.INFO: GPS data processed {"connection_id":136858,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:55:08] local.INFO: Acknowledgment sent {"connection_id":136858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:55:27] local.INFO: TCP Data received {"connection_id":137934,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:55:27] local.INFO: Processing buffer {"connection_id":137934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:55:27] local.INFO: Packet analysis {"connection_id":137934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:55:27] local.INFO: Extracted packet for processing {"connection_id":137934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:55:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825402880001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:55: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-07-19 20:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784474531000,"timestamp_ms":1784474531000,"timestamp_seconds":1784474531,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af874b8"} 
[2026-07-19 20:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:55:27] 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-07-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825402880001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825402880001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:55:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:55:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825402880001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":137934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:55:27] local.INFO: GPS data processed {"connection_id":137934,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:55:27] local.INFO: Acknowledgment sent {"connection_id":137934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:55:30] local.INFO: TCP Data received {"connection_id":136965,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:55:30] local.INFO: Processing buffer {"connection_id":136965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:55:30] local.INFO: IMEI packet received {"connection_id":136965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":136965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:55:35] local.INFO: TCP Data received {"connection_id":136965,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:55:35] local.INFO: Processing buffer {"connection_id":136965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:55:35] local.INFO: IMEI packet received {"connection_id":136965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":136965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:55:36] local.INFO: TCP Data received {"connection_id":136965,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:55:36] local.INFO: Processing buffer {"connection_id":136965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:55:36] local.INFO: Packet analysis {"connection_id":136965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:55:36] local.INFO: Extracted packet for processing {"connection_id":136965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825402368001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 20:55: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-07-19 20:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784474529000,"timestamp_ms":1784474529000,"timestamp_seconds":1784474529,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af86ce8"} 
[2026-07-19 20:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-19 20:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:55: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-07-19 20:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825402368001,"66":25734,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 20:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825402368001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:55:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:55:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 20:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825402368001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 20:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":136965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:55:36] local.INFO: GPS data processed {"connection_id":136965,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:55:36] local.INFO: Acknowledgment sent {"connection_id":136965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:55:50] local.INFO: TCP Data received {"connection_id":139313,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:55:50] local.INFO: Processing buffer {"connection_id":139313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:55:50] local.INFO: IMEI packet received {"connection_id":139313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":139313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:55:55] local.INFO: TCP Data received {"connection_id":139313,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:55:55] local.INFO: Processing buffer {"connection_id":139313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:55:55] local.INFO: IMEI packet received {"connection_id":139313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":139313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:55:56] local.INFO: TCP Data received {"connection_id":139313,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:55:56] local.INFO: Processing buffer {"connection_id":139313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:55:56] local.INFO: Packet analysis {"connection_id":139313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:55:56] local.INFO: Extracted packet for processing {"connection_id":139313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:55:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 20:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825402880001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:55: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-07-19 20:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784474531000,"timestamp_ms":1784474531000,"timestamp_seconds":1784474531,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af874b8"} 
[2026-07-19 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-07-19 20:55:56] 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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:55: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-07-19 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-07-19 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-07-19 20:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825402880001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825402880001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:55:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:55:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825402880001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":139313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:55:56] local.INFO: GPS data processed {"connection_id":139313,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:55:56] local.INFO: Acknowledgment sent {"connection_id":139313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:56:08] local.INFO: TCP Data received {"connection_id":136965,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:56:08] local.INFO: Processing buffer {"connection_id":136965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:56:08] local.INFO: Packet analysis {"connection_id":136965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:56:08] local.INFO: Extracted packet for processing {"connection_id":136965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825402368001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784474529000,"timestamp_ms":1784474529000,"timestamp_seconds":1784474529,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af86ce8"} 
[2026-07-19 20:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:56: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-07-19 20: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-19 20:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825402368001,"66":25734,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 20:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825402368001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:56:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 20:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825402368001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 20:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":136965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:56:08] local.INFO: GPS data processed {"connection_id":136965,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:56:08] local.INFO: Acknowledgment sent {"connection_id":136965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:56:27] local.INFO: TCP Data received {"connection_id":139313,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:56:27] local.INFO: Processing buffer {"connection_id":139313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:56:27] local.INFO: Packet analysis {"connection_id":139313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:56:27] local.INFO: Extracted packet for processing {"connection_id":139313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:56:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825402880001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:56: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-07-19 20:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784474531000,"timestamp_ms":1784474531000,"timestamp_seconds":1784474531,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af874b8"} 
[2026-07-19 20:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:56:27] 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-07-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825402880001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825402880001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:56:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:56:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825402880001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":139313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:56:27] local.INFO: GPS data processed {"connection_id":139313,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:56:27] local.INFO: Acknowledgment sent {"connection_id":139313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:56:35] local.INFO: TCP Data received {"connection_id":139314,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:56:35] local.INFO: Processing buffer {"connection_id":139314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:56:35] local.INFO: IMEI packet received {"connection_id":139314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":139314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:56:40] local.INFO: TCP Data received {"connection_id":139314,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:56:40] local.INFO: Processing buffer {"connection_id":139314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:56:40] local.INFO: IMEI packet received {"connection_id":139314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":139314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:56:41] local.INFO: TCP Data received {"connection_id":139314,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:56:41] local.INFO: Processing buffer {"connection_id":139314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:56:41] local.INFO: Packet analysis {"connection_id":139314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:56:41] local.INFO: Extracted packet for processing {"connection_id":139314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:56:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825402368001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 20:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784474529000,"timestamp_ms":1784474529000,"timestamp_seconds":1784474529,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af86ce8"} 
[2026-07-19 20:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-19 20:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825402368001,"66":25734,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 20:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825402368001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:56:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:56:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 20:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825402368001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 20:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":139314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:56:41] local.INFO: GPS data processed {"connection_id":139314,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:56:41] local.INFO: Acknowledgment sent {"connection_id":139314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:56:46] local.INFO: TCP Data received {"connection_id":139314,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:56:46] local.INFO: Processing buffer {"connection_id":139314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:56:46] local.INFO: Packet analysis {"connection_id":139314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:56:46] local.INFO: Extracted packet for processing {"connection_id":139314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:56:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825402368001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 20:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784474529000,"timestamp_ms":1784474529000,"timestamp_seconds":1784474529,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af86ce8"} 
[2026-07-19 20:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-19 20:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":139314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":139314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":139314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825402368001,"66":25734,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 20:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825402368001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:56:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:56:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 20:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825402368001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 20:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":139314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:56:46] local.INFO: GPS data processed {"connection_id":139314,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:56:46] local.INFO: Acknowledgment sent {"connection_id":139314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:56:50] local.INFO: TCP Data received {"connection_id":139315,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:56:50] local.INFO: Processing buffer {"connection_id":139315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:56:50] local.INFO: IMEI packet received {"connection_id":139315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":139315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:56:55] local.INFO: TCP Data received {"connection_id":139315,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:56:55] local.INFO: Processing buffer {"connection_id":139315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:56:55] local.INFO: IMEI packet received {"connection_id":139315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":139315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:56:56] local.INFO: TCP Data received {"connection_id":139315,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:56:56] local.INFO: Processing buffer {"connection_id":139315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:56:56] local.INFO: Packet analysis {"connection_id":139315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:56:56] local.INFO: Extracted packet for processing {"connection_id":139315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:56:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 20:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825402880001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20: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-07-19 20:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784474531000,"timestamp_ms":1784474531000,"timestamp_seconds":1784474531,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af874b8"} 
[2026-07-19 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-07-19 20:56:56] 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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:56: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-07-19 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-07-19 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-07-19 20:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825402880001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825402880001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:56:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:56:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825402880001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":139315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:56:56] local.INFO: GPS data processed {"connection_id":139315,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:56:56] local.INFO: Acknowledgment sent {"connection_id":139315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:57:27] local.INFO: TCP Data received {"connection_id":139315,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:57:27] local.INFO: Processing buffer {"connection_id":139315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af874b8012d196540071ff010004c004926..."} 
[2026-07-19 20:57:27] local.INFO: Packet analysis {"connection_id":139315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:57:27] local.INFO: Extracted packet for processing {"connection_id":139315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:57:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825402880001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:57: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-07-19 20:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784474531000,"timestamp_ms":1784474531000,"timestamp_seconds":1784474531,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af874b8"} 
[2026-07-19 20:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:57:27] 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-07-19 20:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 20:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825402880001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825402880001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:57:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:57:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825402880001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":139315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:57:27] local.INFO: GPS data processed {"connection_id":139315,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:57:27] local.INFO: Acknowledgment sent {"connection_id":139315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:57:31] local.INFO: TCP Data received {"connection_id":137938,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:57:31] local.INFO: Processing buffer {"connection_id":137938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:57:31] local.INFO: IMEI packet received {"connection_id":137938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":137938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:57:35] local.INFO: TCP Data received {"connection_id":137938,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:57:35] local.INFO: Processing buffer {"connection_id":137938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:57:35] local.INFO: IMEI packet received {"connection_id":137938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":137938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:57:38] local.INFO: TCP Data received {"connection_id":137938,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:57:38] local.INFO: Processing buffer {"connection_id":137938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:57:38] local.INFO: Packet analysis {"connection_id":137938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:57:38] local.INFO: Extracted packet for processing {"connection_id":137938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825402368001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 20:57: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-07-19 20:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784474529000,"timestamp_ms":1784474529000,"timestamp_seconds":1784474529,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af86ce8"} 
[2026-07-19 20:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-19 20:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20: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-07-19 20:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:57:38] 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-07-19 20:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825402368001,"66":25734,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 20:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825402368001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:57:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 20:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825402368001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 20:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":137938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:57:38] local.INFO: GPS data processed {"connection_id":137938,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:57:38] local.INFO: Acknowledgment sent {"connection_id":137938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:57:41] local.INFO: TCP Data received {"connection_id":137938,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:57:41] local.INFO: Processing buffer {"connection_id":137938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7af86ce8012d34c58006aa4b98000900072b..."} 
[2026-07-19 20:57:41] local.INFO: Packet analysis {"connection_id":137938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:57:41] local.INFO: Extracted packet for processing {"connection_id":137938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7af8"} 
[2026-07-19 20:57:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825402368001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 20:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784474529000,"timestamp_ms":1784474529000,"timestamp_seconds":1784474529,"priority":1,"record_length":96,"hex_timestamp":"0000019f7af86ce8"} 
[2026-07-19 20:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-19 20:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":137938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":137938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":137938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825402368001,"66":25734,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 20:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825402368001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:57:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:57:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 20:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825402368001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 20:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":137938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:57:41] local.INFO: GPS data processed {"connection_id":137938,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:57:41] local.INFO: Acknowledgment sent {"connection_id":137938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:57:50] local.INFO: TCP Data received {"connection_id":139316,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:57:50] local.INFO: Processing buffer {"connection_id":139316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:57:50] local.INFO: IMEI packet received {"connection_id":139316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":139316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:57:51] local.INFO: TCP Data received {"connection_id":137937,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:57:51] local.INFO: Processing buffer {"connection_id":137937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:57:51] local.INFO: IMEI packet received {"connection_id":137937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 20:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":137937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:57:51] local.INFO: TCP Data received {"connection_id":139316,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:57:51] local.INFO: Processing buffer {"connection_id":139316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:57:51] local.INFO: IMEI packet received {"connection_id":139316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":139316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:57:55] local.INFO: TCP Data received {"connection_id":139316,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:57:55] local.INFO: Processing buffer {"connection_id":139316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:57:55] local.INFO: IMEI packet received {"connection_id":139316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":139316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:57:56] local.INFO: TCP Data received {"connection_id":139316,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 20:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 20:57:56] local.INFO: Processing buffer {"connection_id":139316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 20:57:56] local.INFO: Packet analysis {"connection_id":139316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 20:57:56] local.INFO: Extracted packet for processing {"connection_id":139316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 20:57:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 20:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825479936001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:57: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-07-19 20:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784474832000,"timestamp_ms":1784474832000,"timestamp_seconds":1784474832,"priority":1,"record_length":96,"hex_timestamp":"0000019f7afd0c80"} 
[2026-07-19 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-07-19 20:57: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-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:57:56] 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-07-19 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-07-19 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-07-19 20:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825479936001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825479936001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:57:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:57:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825479936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":139316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:57:56] local.INFO: GPS data processed {"connection_id":139316,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:57:56] local.INFO: Acknowledgment sent {"connection_id":139316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:58:12] local.INFO: TCP Data received {"connection_id":137938,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 20:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 20:58:12] local.INFO: Processing buffer {"connection_id":137938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 20:58:12] local.INFO: Packet analysis {"connection_id":137938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 20:58:12] local.INFO: Extracted packet for processing {"connection_id":137938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 20:58:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825479424001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 20:58: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-07-19 20:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784474830000,"timestamp_ms":1784474830000,"timestamp_seconds":1784474830,"priority":1,"record_length":96,"hex_timestamp":"0000019f7afd04b0"} 
[2026-07-19 20:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 20:58: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-07-19 20: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-07-19 20:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":137938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":137938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":137938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:58:12] 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-07-19 20:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825479424001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 20:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825479424001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:58:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:58:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 20:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825479424001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 20:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":137938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:58:12] local.INFO: GPS data processed {"connection_id":137938,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:58:12] local.INFO: Acknowledgment sent {"connection_id":137938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:58:25] local.INFO: TCP Data received {"connection_id":136859,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:58:25] local.INFO: Processing buffer {"connection_id":136859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 20:58:25] local.INFO: IMEI packet received {"connection_id":136859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 20:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":136859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:58:27] local.INFO: TCP Data received {"connection_id":139316,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 20:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 20:58:27] local.INFO: Processing buffer {"connection_id":139316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 20:58:27] local.INFO: Packet analysis {"connection_id":139316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 20:58:27] local.INFO: Extracted packet for processing {"connection_id":139316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 20:58:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20:58: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-07-19 20:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825479936001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:58: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-07-19 20:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784474832000,"timestamp_ms":1784474832000,"timestamp_seconds":1784474832,"priority":1,"record_length":96,"hex_timestamp":"0000019f7afd0c80"} 
[2026-07-19 20:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:58:27] 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-07-19 20:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825479936001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825479936001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:58:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:58:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825479936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":139316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:58:27] local.INFO: GPS data processed {"connection_id":139316,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:58:27] local.INFO: Acknowledgment sent {"connection_id":139316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:58:30] local.INFO: TCP Data received {"connection_id":139317,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:58:30] local.INFO: Processing buffer {"connection_id":139317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:58:30] local.INFO: IMEI packet received {"connection_id":139317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":139317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:58:35] local.INFO: TCP Data received {"connection_id":139317,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:58:35] local.INFO: Processing buffer {"connection_id":139317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:58:35] local.INFO: IMEI packet received {"connection_id":139317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":139317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:58:37] local.INFO: TCP Data received {"connection_id":139317,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 20:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 20:58:37] local.INFO: Processing buffer {"connection_id":139317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 20:58:37] local.INFO: Packet analysis {"connection_id":139317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 20:58:37] local.INFO: Extracted packet for processing {"connection_id":139317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 20:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825479424001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 20:58: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-07-19 20:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784474830000,"timestamp_ms":1784474830000,"timestamp_seconds":1784474830,"priority":1,"record_length":96,"hex_timestamp":"0000019f7afd04b0"} 
[2026-07-19 20:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 20:58: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-07-19 20:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825479424001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 20:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825479424001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:58:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 20:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825479424001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 20:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":139317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:58:37] local.INFO: GPS data processed {"connection_id":139317,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:58:37] local.INFO: Acknowledgment sent {"connection_id":139317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:58:55] local.INFO: TCP Data received {"connection_id":136966,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:58:55] local.INFO: Processing buffer {"connection_id":136966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:58:55] local.INFO: IMEI packet received {"connection_id":136966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":136966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:59:00] local.INFO: TCP Data received {"connection_id":136966,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:59:00] local.INFO: Processing buffer {"connection_id":136966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:59:00] local.INFO: IMEI packet received {"connection_id":136966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":136966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:59:01] local.INFO: TCP Data received {"connection_id":136966,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 20:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 20:59:01] local.INFO: Processing buffer {"connection_id":136966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 20:59:01] local.INFO: Packet analysis {"connection_id":136966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 20:59:01] local.INFO: Extracted packet for processing {"connection_id":136966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 20:59:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 20:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825479936001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:59: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-07-19 20:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784474832000,"timestamp_ms":1784474832000,"timestamp_seconds":1784474832,"priority":1,"record_length":96,"hex_timestamp":"0000019f7afd0c80"} 
[2026-07-19 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-07-19 20:59:01] 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-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:59:01] 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-07-19 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-07-19 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-07-19 20:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825479936001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825479936001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:59:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:59:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825479936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":136966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:59:01] local.INFO: GPS data processed {"connection_id":136966,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:59:01] local.INFO: Acknowledgment sent {"connection_id":136966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:59:05] local.INFO: TCP Data received {"connection_id":136966,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 20:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 20:59:06] local.INFO: Processing buffer {"connection_id":136966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 20:59:06] local.INFO: Packet analysis {"connection_id":136966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 20:59:06] local.INFO: Extracted packet for processing {"connection_id":136966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 20:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 20:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825479936001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 20:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784474832000,"timestamp_ms":1784474832000,"timestamp_seconds":1784474832,"priority":1,"record_length":96,"hex_timestamp":"0000019f7afd0c80"} 
[2026-07-19 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-07-19 20:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 20:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825479936001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825479936001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:59:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825479936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":136966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:59:06] local.INFO: GPS data processed {"connection_id":136966,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:59:06] local.INFO: Acknowledgment sent {"connection_id":136966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:59:09] local.INFO: TCP Data received {"connection_id":139317,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 20:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 20:59:09] local.INFO: Processing buffer {"connection_id":139317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 20:59:09] local.INFO: Packet analysis {"connection_id":139317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 20:59:09] local.INFO: Extracted packet for processing {"connection_id":139317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 20:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825479424001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 20:59: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-07-19 20:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784474830000,"timestamp_ms":1784474830000,"timestamp_seconds":1784474830,"priority":1,"record_length":96,"hex_timestamp":"0000019f7afd04b0"} 
[2026-07-19 20:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 20:59:09] 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-07-19 20: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-07-19 20:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:59: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-07-19 20:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825479424001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 20:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825479424001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:59:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 20:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825479424001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 20:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":139317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:59:09] local.INFO: GPS data processed {"connection_id":139317,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:59:09] local.INFO: Acknowledgment sent {"connection_id":139317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:59:30] local.INFO: TCP Data received {"connection_id":136860,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:59:30] local.INFO: Processing buffer {"connection_id":136860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:59:30] local.INFO: IMEI packet received {"connection_id":136860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 20:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":136860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:59:35] local.INFO: TCP Data received {"connection_id":136860,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:59:35] local.INFO: Processing buffer {"connection_id":136860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 20:59:35] local.INFO: IMEI packet received {"connection_id":136860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 20:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":136860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:59:36] local.INFO: TCP Data received {"connection_id":136860,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 20:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 20:59:36] local.INFO: Processing buffer {"connection_id":136860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 20:59:36] local.INFO: Packet analysis {"connection_id":136860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 20:59:36] local.INFO: Extracted packet for processing {"connection_id":136860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 20:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 20:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 20:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825479424001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 20:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 20:59: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-07-19 20:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784474830000,"timestamp_ms":1784474830000,"timestamp_seconds":1784474830,"priority":1,"record_length":96,"hex_timestamp":"0000019f7afd04b0"} 
[2026-07-19 20:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 20:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 20:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 20:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 20:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 20:59: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-07-19 20:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 20:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 20:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825479424001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 20:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 20:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 20:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825479424001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:59:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 20:59:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 20:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 20:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825479424001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 20:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":136860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:59:36] local.INFO: GPS data processed {"connection_id":136860,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:59:36] local.INFO: Acknowledgment sent {"connection_id":136860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 20:59:50] local.INFO: TCP Data received {"connection_id":139319,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:59:50] local.INFO: Processing buffer {"connection_id":139319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:59:50] local.INFO: IMEI packet received {"connection_id":139319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 20:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":139319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 20:59:55] local.INFO: TCP Data received {"connection_id":139319,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:59:55] local.INFO: Processing buffer {"connection_id":139319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 20:59:55] local.INFO: IMEI packet received {"connection_id":139319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 20:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":139319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 20:59:56] local.INFO: TCP Data received {"connection_id":139319,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 20:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 20:59:56] local.INFO: Processing buffer {"connection_id":139319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 20:59:56] local.INFO: Packet analysis {"connection_id":139319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 20:59:56] local.INFO: Extracted packet for processing {"connection_id":139319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 20:59:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 20: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-07-19 20:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825479936001,"note":"Value kept but may cause issues"} 
[2026-07-19 20:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 20:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 20:59: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-07-19 20:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784474832000,"timestamp_ms":1784474832000,"timestamp_seconds":1784474832,"priority":1,"record_length":96,"hex_timestamp":"0000019f7afd0c80"} 
[2026-07-19 20:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 20:59: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-07-19 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 20:59:56] 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-07-19 20: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-07-19 20:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 20:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 20:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 20:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 20:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 20:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 20:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 20:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825479936001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 20:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 20:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 20:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825479936001,"description":"Unknown IO ID 0"} 
[2026-07-19 20:59:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 20:59:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 20:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 20:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 20:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825479936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 20:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":139319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 20:59:56] local.INFO: GPS data processed {"connection_id":139319,"processed":1,"errors":0,"total":1} 
[2026-07-19 20:59:56] local.INFO: Acknowledgment sent {"connection_id":139319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:00:08] local.INFO: TCP Data received {"connection_id":136860,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 21:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 21:00:08] local.INFO: Processing buffer {"connection_id":136860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 21:00:08] local.INFO: Packet analysis {"connection_id":136860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 21:00:08] local.INFO: Extracted packet for processing {"connection_id":136860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 21:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825479424001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:00: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-07-19 21:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784474830000,"timestamp_ms":1784474830000,"timestamp_seconds":1784474830,"priority":1,"record_length":96,"hex_timestamp":"0000019f7afd04b0"} 
[2026-07-19 21:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:00: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-07-19 21: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 21:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21: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-07-19 21:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825479424001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825479424001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:00:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:00:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825479424001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":136860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:00:08] local.INFO: GPS data processed {"connection_id":136860,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:00:08] local.INFO: Acknowledgment sent {"connection_id":136860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:00:27] local.INFO: TCP Data received {"connection_id":139319,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 21:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 21:00:27] local.INFO: Processing buffer {"connection_id":139319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 21:00:27] local.INFO: Packet analysis {"connection_id":139319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 21:00:27] local.INFO: Extracted packet for processing {"connection_id":139319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 21:00:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825479936001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:00: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-07-19 21:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784474832000,"timestamp_ms":1784474832000,"timestamp_seconds":1784474832,"priority":1,"record_length":96,"hex_timestamp":"0000019f7afd0c80"} 
[2026-07-19 21:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 21:00:27] 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-07-19 21:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825479936001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825479936001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:00:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:00:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825479936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":139319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:00:27] local.INFO: GPS data processed {"connection_id":139319,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:00:27] local.INFO: Acknowledgment sent {"connection_id":139319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:00:35] local.INFO: TCP Data received {"connection_id":136968,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:00:35] local.INFO: Processing buffer {"connection_id":136968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:00:35] local.INFO: IMEI packet received {"connection_id":136968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":136968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:00:41] local.INFO: TCP Data received {"connection_id":136968,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:00:41] local.INFO: Processing buffer {"connection_id":136968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:00:41] local.INFO: IMEI packet received {"connection_id":136968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":136968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:00:41] local.INFO: TCP Data received {"connection_id":136968,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 21:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 21:00:41] local.INFO: Processing buffer {"connection_id":136968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 21:00:41] local.INFO: Packet analysis {"connection_id":136968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 21:00:41] local.INFO: Extracted packet for processing {"connection_id":136968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 21:00:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825479424001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784474830000,"timestamp_ms":1784474830000,"timestamp_seconds":1784474830,"priority":1,"record_length":96,"hex_timestamp":"0000019f7afd04b0"} 
[2026-07-19 21:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 21:00:41] 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-07-19 21: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-07-19 21:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":136968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":136968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":136968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825479424001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825479424001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:00:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:00:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825479424001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":136968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:00:42] local.INFO: GPS data processed {"connection_id":136968,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:00:42] local.INFO: Acknowledgment sent {"connection_id":136968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:00:46] local.INFO: TCP Data received {"connection_id":136968,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 21:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 21:00:46] local.INFO: Processing buffer {"connection_id":136968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 21:00:46] local.INFO: Packet analysis {"connection_id":136968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 21:00:46] local.INFO: Extracted packet for processing {"connection_id":136968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 21:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825479424001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784474830000,"timestamp_ms":1784474830000,"timestamp_seconds":1784474830,"priority":1,"record_length":96,"hex_timestamp":"0000019f7afd04b0"} 
[2026-07-19 21:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 21:00:46] 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-07-19 21:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":136968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":136968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":136968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825479424001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825479424001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:00:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:00:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825479424001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":136968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:00:46] local.INFO: GPS data processed {"connection_id":136968,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:00:46] local.INFO: Acknowledgment sent {"connection_id":136968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:00:50] local.INFO: TCP Data received {"connection_id":136969,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:00:50] local.INFO: Processing buffer {"connection_id":136969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:00:50] local.INFO: IMEI packet received {"connection_id":136969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":136969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:00:55] local.INFO: TCP Data received {"connection_id":136969,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:00:55] local.INFO: Processing buffer {"connection_id":136969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:00:55] local.INFO: IMEI packet received {"connection_id":136969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":136969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:00:56] local.INFO: TCP Data received {"connection_id":136969,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 21:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 21:00:56] local.INFO: Processing buffer {"connection_id":136969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 21:00:56] local.INFO: Packet analysis {"connection_id":136969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 21:00:56] local.INFO: Extracted packet for processing {"connection_id":136969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 21:00:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825479936001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:00: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-07-19 21:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784474832000,"timestamp_ms":1784474832000,"timestamp_seconds":1784474832,"priority":1,"record_length":96,"hex_timestamp":"0000019f7afd0c80"} 
[2026-07-19 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-07-19 21:00: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-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 21:00:56] 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-07-19 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-07-19 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-07-19 21:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825479936001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825479936001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:00:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:00:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825479936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":136969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:00:56] local.INFO: GPS data processed {"connection_id":136969,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:00:56] local.INFO: Acknowledgment sent {"connection_id":136969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:01:27] local.INFO: TCP Data received {"connection_id":136969,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 21:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 21:01:27] local.INFO: Processing buffer {"connection_id":136969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 21:01:27] local.INFO: Packet analysis {"connection_id":136969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 21:01:27] local.INFO: Extracted packet for processing {"connection_id":136969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 21:01:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825479936001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:01: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-07-19 21:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784474832000,"timestamp_ms":1784474832000,"timestamp_seconds":1784474832,"priority":1,"record_length":96,"hex_timestamp":"0000019f7afd0c80"} 
[2026-07-19 21:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 21:01:27] 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-07-19 21:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825479936001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825479936001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:01:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:01:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825479936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":136969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:01:27] local.INFO: GPS data processed {"connection_id":136969,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:01:27] local.INFO: Acknowledgment sent {"connection_id":136969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:01:30] local.INFO: TCP Data received {"connection_id":136861,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:01:30] local.INFO: Processing buffer {"connection_id":136861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:01:30] local.INFO: IMEI packet received {"connection_id":136861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":136861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:01:35] local.INFO: TCP Data received {"connection_id":136861,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:01:35] local.INFO: Processing buffer {"connection_id":136861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:01:35] local.INFO: IMEI packet received {"connection_id":136861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":136861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:01:36] local.INFO: TCP Data received {"connection_id":136861,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 21:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 21:01:36] local.INFO: Processing buffer {"connection_id":136861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 21:01:36] local.INFO: Packet analysis {"connection_id":136861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 21:01:36] local.INFO: Extracted packet for processing {"connection_id":136861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 21:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825479424001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784474830000,"timestamp_ms":1784474830000,"timestamp_seconds":1784474830,"priority":1,"record_length":96,"hex_timestamp":"0000019f7afd04b0"} 
[2026-07-19 21:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 21:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:01: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-07-19 21:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825479424001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825479424001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:01:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825479424001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":136861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:01:36] local.INFO: GPS data processed {"connection_id":136861,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:01:36] local.INFO: Acknowledgment sent {"connection_id":136861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:01:50] local.INFO: TCP Data received {"connection_id":137939,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:01:50] local.INFO: Processing buffer {"connection_id":137939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:01:50] local.INFO: IMEI packet received {"connection_id":137939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":137939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:01:55] local.INFO: TCP Data received {"connection_id":137939,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:01:55] local.INFO: Processing buffer {"connection_id":137939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:01:55] local.INFO: IMEI packet received {"connection_id":137939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":137939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:01:56] local.INFO: TCP Data received {"connection_id":137939,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 21:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 21:01:56] local.INFO: Processing buffer {"connection_id":137939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 21:01:56] local.INFO: Packet analysis {"connection_id":137939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 21:01:56] local.INFO: Extracted packet for processing {"connection_id":137939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 21:01:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825479936001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:01: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-07-19 21:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784474832000,"timestamp_ms":1784474832000,"timestamp_seconds":1784474832,"priority":1,"record_length":96,"hex_timestamp":"0000019f7afd0c80"} 
[2026-07-19 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-07-19 21:01: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-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 21:01:56] 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-07-19 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-07-19 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-07-19 21:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825479936001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825479936001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:01:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:01:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825479936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":137939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:01:56] local.INFO: GPS data processed {"connection_id":137939,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:01:56] local.INFO: Acknowledgment sent {"connection_id":137939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:02:08] local.INFO: TCP Data received {"connection_id":136861,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 21:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 21:02:08] local.INFO: Processing buffer {"connection_id":136861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 21:02:08] local.INFO: Packet analysis {"connection_id":136861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 21:02:08] local.INFO: Extracted packet for processing {"connection_id":136861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 21:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825479424001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:02: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-07-19 21:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784474830000,"timestamp_ms":1784474830000,"timestamp_seconds":1784474830,"priority":1,"record_length":96,"hex_timestamp":"0000019f7afd04b0"} 
[2026-07-19 21:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:02: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-07-19 21:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 21:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825479424001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825479424001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:02:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:02:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825479424001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":136861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:02:08] local.INFO: GPS data processed {"connection_id":136861,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:02:08] local.INFO: Acknowledgment sent {"connection_id":136861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:02:27] local.INFO: TCP Data received {"connection_id":137939,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 21:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 21:02:27] local.INFO: Processing buffer {"connection_id":137939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7afd0c80012d196540071ff010004c004924..."} 
[2026-07-19 21:02:27] local.INFO: Packet analysis {"connection_id":137939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 21:02:27] local.INFO: Extracted packet for processing {"connection_id":137939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 21:02:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825479936001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:02: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-07-19 21:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784474832000,"timestamp_ms":1784474832000,"timestamp_seconds":1784474832,"priority":1,"record_length":96,"hex_timestamp":"0000019f7afd0c80"} 
[2026-07-19 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-07-19 21:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 21:02:27] 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-07-19 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-07-19 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-07-19 21:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825479936001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825479936001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:02:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:02:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825479936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":137939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:02:27] local.INFO: GPS data processed {"connection_id":137939,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:02:27] local.INFO: Acknowledgment sent {"connection_id":137939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:02:31] local.INFO: TCP Data received {"connection_id":137940,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:02:31] local.INFO: Processing buffer {"connection_id":137940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:02:31] local.INFO: IMEI packet received {"connection_id":137940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":137940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:02:35] local.INFO: TCP Data received {"connection_id":137940,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:02:35] local.INFO: Processing buffer {"connection_id":137940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:02:35] local.INFO: IMEI packet received {"connection_id":137940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":137940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:02:36] local.INFO: TCP Data received {"connection_id":137940,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 21:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 21:02:36] local.INFO: Processing buffer {"connection_id":137940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7afd04b0012d34c58006aa4b98000900072a..."} 
[2026-07-19 21:02:36] local.INFO: Packet analysis {"connection_id":137940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 21:02:36] local.INFO: Extracted packet for processing {"connection_id":137940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7afd"} 
[2026-07-19 21:02:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825479424001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:02: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-07-19 21:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784474830000,"timestamp_ms":1784474830000,"timestamp_seconds":1784474830,"priority":1,"record_length":96,"hex_timestamp":"0000019f7afd04b0"} 
[2026-07-19 21:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-19 21:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825479424001,"66":25625,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825479424001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:02:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:02:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825479424001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":137940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:02:36] local.INFO: GPS data processed {"connection_id":137940,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:02:36] local.INFO: Acknowledgment sent {"connection_id":137940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:02:50] local.INFO: TCP Data received {"connection_id":136863,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:02:50] local.INFO: Processing buffer {"connection_id":136863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:02:50] local.INFO: IMEI packet received {"connection_id":136863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":136863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:02:51] local.INFO: TCP Data received {"connection_id":136863,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:02:51] local.INFO: Processing buffer {"connection_id":136863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:02:51] local.INFO: IMEI packet received {"connection_id":136863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":136863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:02:55] local.INFO: TCP Data received {"connection_id":136863,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:02:55] local.INFO: Processing buffer {"connection_id":136863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:02:55] local.INFO: IMEI packet received {"connection_id":136863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":136863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:02:56] local.INFO: TCP Data received {"connection_id":136863,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:02:56] local.INFO: Processing buffer {"connection_id":136863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:02:56] local.INFO: Packet analysis {"connection_id":136863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:02:56] local.INFO: Extracted packet for processing {"connection_id":136863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:02:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825556992001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:02: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-07-19 21:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784475133000,"timestamp_ms":1784475133000,"timestamp_seconds":1784475133,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b01a448"} 
[2026-07-19 21:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:02:56] 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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:02: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-07-19 21: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-07-19 21:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825556992001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825556992001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:02:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:02:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825556992001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":136863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:02:56] local.INFO: GPS data processed {"connection_id":136863,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:02:56] local.INFO: Acknowledgment sent {"connection_id":136863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:03:07] local.INFO: TCP Data received {"connection_id":137940,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:03:07] local.INFO: Processing buffer {"connection_id":137940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:03:07] local.INFO: Packet analysis {"connection_id":137940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:03:07] local.INFO: Extracted packet for processing {"connection_id":137940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:03:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825556480001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:03: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-07-19 21:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784475131000,"timestamp_ms":1784475131000,"timestamp_seconds":1784475131,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b019c78"} 
[2026-07-19 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-07-19 21:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 21:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 21:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":137940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":137940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":137940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825556480001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825556480001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:03:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:03:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825556480001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":137940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:03:07] local.INFO: GPS data processed {"connection_id":137940,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:03:07] local.INFO: Acknowledgment sent {"connection_id":137940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:03:27] local.INFO: TCP Data received {"connection_id":136863,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:03:27] local.INFO: Processing buffer {"connection_id":136863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:03:27] local.INFO: Packet analysis {"connection_id":136863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:03:27] local.INFO: Extracted packet for processing {"connection_id":136863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:03:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825556992001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784475133000,"timestamp_ms":1784475133000,"timestamp_seconds":1784475133,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b01a448"} 
[2026-07-19 21:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825556992001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825556992001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:03:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:03:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825556992001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":136863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:03:27] local.INFO: GPS data processed {"connection_id":136863,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:03:27] local.INFO: Acknowledgment sent {"connection_id":136863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:03:30] local.INFO: TCP Data received {"connection_id":137942,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:03:30] local.INFO: Processing buffer {"connection_id":137942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:03:30] local.INFO: IMEI packet received {"connection_id":137942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":137942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:03:35] local.INFO: TCP Data received {"connection_id":137942,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:03:35] local.INFO: Processing buffer {"connection_id":137942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:03:35] local.INFO: IMEI packet received {"connection_id":137942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":137942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:03:36] local.INFO: TCP Data received {"connection_id":137942,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:03:36] local.INFO: Processing buffer {"connection_id":137942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:03:36] local.INFO: Packet analysis {"connection_id":137942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:03:36] local.INFO: Extracted packet for processing {"connection_id":137942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:03:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825556480001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:03: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-07-19 21:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784475131000,"timestamp_ms":1784475131000,"timestamp_seconds":1784475131,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b019c78"} 
[2026-07-19 21:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 21:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:03: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-07-19 21:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825556480001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825556480001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:03:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:03:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825556480001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":137942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:03:36] local.INFO: GPS data processed {"connection_id":137942,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:03:36] local.INFO: Acknowledgment sent {"connection_id":137942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:03:50] local.INFO: TCP Data received {"connection_id":137943,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:03:50] local.INFO: Processing buffer {"connection_id":137943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:03:50] local.INFO: IMEI packet received {"connection_id":137943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":137943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:03:51] local.INFO: TCP Data received {"connection_id":137941,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:03:51] local.INFO: Processing buffer {"connection_id":137941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:03:51] local.INFO: IMEI packet received {"connection_id":137941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 21:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":137941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:03:55] local.INFO: TCP Data received {"connection_id":137943,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:03:55] local.INFO: Processing buffer {"connection_id":137943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:03:55] local.INFO: IMEI packet received {"connection_id":137943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":137943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:03:56] local.INFO: TCP Data received {"connection_id":137943,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:03:56] local.INFO: Processing buffer {"connection_id":137943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:03:56] local.INFO: Packet analysis {"connection_id":137943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:03:56] local.INFO: Extracted packet for processing {"connection_id":137943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:03:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825556992001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:03: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-07-19 21:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784475133000,"timestamp_ms":1784475133000,"timestamp_seconds":1784475133,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b01a448"} 
[2026-07-19 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-07-19 21:03:56] 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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:03: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-07-19 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-07-19 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-07-19 21:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825556992001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825556992001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:03:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:03:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825556992001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":137943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:03:56] local.INFO: GPS data processed {"connection_id":137943,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:03:56] local.INFO: Acknowledgment sent {"connection_id":137943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:04:08] local.INFO: TCP Data received {"connection_id":137942,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:04:08] local.INFO: Processing buffer {"connection_id":137942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:04:08] local.INFO: Packet analysis {"connection_id":137942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:04:08] local.INFO: Extracted packet for processing {"connection_id":137942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:04:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825556480001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:04: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-07-19 21:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784475131000,"timestamp_ms":1784475131000,"timestamp_seconds":1784475131,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b019c78"} 
[2026-07-19 21:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:04: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-07-19 21:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 21:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825556480001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825556480001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:04:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:04:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825556480001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":137942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:04:08] local.INFO: GPS data processed {"connection_id":137942,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:04:08] local.INFO: Acknowledgment sent {"connection_id":137942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:04:25] local.INFO: TCP Data received {"connection_id":136970,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:04:25] local.INFO: Processing buffer {"connection_id":136970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:04:25] local.INFO: IMEI packet received {"connection_id":136970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 21:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":136970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:04:27] local.INFO: TCP Data received {"connection_id":137943,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:04:27] local.INFO: Processing buffer {"connection_id":137943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:04:27] local.INFO: Packet analysis {"connection_id":137943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:04:27] local.INFO: Extracted packet for processing {"connection_id":137943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:04:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825556992001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:04: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-07-19 21:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784475133000,"timestamp_ms":1784475133000,"timestamp_seconds":1784475133,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b01a448"} 
[2026-07-19 21:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825556992001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825556992001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:04:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:04:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825556992001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":137943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:04:27] local.INFO: GPS data processed {"connection_id":137943,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:04:27] local.INFO: Acknowledgment sent {"connection_id":137943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:04:35] local.INFO: TCP Data received {"connection_id":136971,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:04:35] local.INFO: Processing buffer {"connection_id":136971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:04:35] local.INFO: IMEI packet received {"connection_id":136971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":136971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:04:40] local.INFO: TCP Data received {"connection_id":136971,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:04:40] local.INFO: Processing buffer {"connection_id":136971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:04:40] local.INFO: IMEI packet received {"connection_id":136971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":136971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:04:41] local.INFO: TCP Data received {"connection_id":136971,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:04:41] local.INFO: Processing buffer {"connection_id":136971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:04:41] local.INFO: Packet analysis {"connection_id":136971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:04:41] local.INFO: Extracted packet for processing {"connection_id":136971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:04:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825556480001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784475131000,"timestamp_ms":1784475131000,"timestamp_seconds":1784475131,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b019c78"} 
[2026-07-19 21:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 21:04: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-07-19 21:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":136971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":136971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":136971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825556480001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825556480001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:04:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:04:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825556480001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":136971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:04:41] local.INFO: GPS data processed {"connection_id":136971,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:04:41] local.INFO: Acknowledgment sent {"connection_id":136971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:04:46] local.INFO: TCP Data received {"connection_id":136971,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:04:46] local.INFO: Processing buffer {"connection_id":136971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:04:46] local.INFO: Packet analysis {"connection_id":136971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:04:46] local.INFO: Extracted packet for processing {"connection_id":136971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:04:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825556480001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784475131000,"timestamp_ms":1784475131000,"timestamp_seconds":1784475131,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b019c78"} 
[2026-07-19 21:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 21:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":136971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":136971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":136971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825556480001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825556480001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:04:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:04:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825556480001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":136971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:04:46] local.INFO: GPS data processed {"connection_id":136971,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:04:46] local.INFO: Acknowledgment sent {"connection_id":136971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:04:50] local.INFO: TCP Data received {"connection_id":137944,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:04:50] local.INFO: Processing buffer {"connection_id":137944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:04:50] local.INFO: IMEI packet received {"connection_id":137944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":137944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:04:55] local.INFO: TCP Data received {"connection_id":137944,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:04:55] local.INFO: Processing buffer {"connection_id":137944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:04:55] local.INFO: IMEI packet received {"connection_id":137944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":137944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:04:59] local.INFO: TCP Data received {"connection_id":137944,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:04:59] local.INFO: Processing buffer {"connection_id":137944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:04:59] local.INFO: Packet analysis {"connection_id":137944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:04:59] local.INFO: Extracted packet for processing {"connection_id":137944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:04:59] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825556992001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:04: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-07-19 21:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784475133000,"timestamp_ms":1784475133000,"timestamp_seconds":1784475133,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b01a448"} 
[2026-07-19 21:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:04: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-07-19 21:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:04: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-07-19 21:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":137944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":137944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":137944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825556992001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825556992001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:04:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:04:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825556992001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":137944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:04:59] local.INFO: GPS data processed {"connection_id":137944,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:04:59] local.INFO: Acknowledgment sent {"connection_id":137944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:05:30] local.INFO: TCP Data received {"connection_id":139321,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:05:30] local.INFO: Processing buffer {"connection_id":139321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:05:30] local.INFO: IMEI packet received {"connection_id":139321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":139321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:05:31] local.INFO: TCP Data received {"connection_id":137944,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:05:31] local.INFO: Processing buffer {"connection_id":137944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:05:31] local.INFO: Packet analysis {"connection_id":137944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:05:31] local.INFO: Extracted packet for processing {"connection_id":137944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:05:31] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825556992001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784475133000,"timestamp_ms":1784475133000,"timestamp_seconds":1784475133,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b01a448"} 
[2026-07-19 21:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:05:31] 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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":137944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":137944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":137944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825556992001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825556992001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:05:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:05:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825556992001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":137944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:05:31] local.INFO: GPS data processed {"connection_id":137944,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:05:31] local.INFO: Acknowledgment sent {"connection_id":137944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:05:35] local.INFO: TCP Data received {"connection_id":139321,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:05:35] local.INFO: Processing buffer {"connection_id":139321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:05:35] local.INFO: IMEI packet received {"connection_id":139321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":139321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:05:37] local.INFO: TCP Data received {"connection_id":139321,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:05:37] local.INFO: Processing buffer {"connection_id":139321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:05:37] local.INFO: Packet analysis {"connection_id":139321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:05:37] local.INFO: Extracted packet for processing {"connection_id":139321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825556480001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:05: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-07-19 21:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784475131000,"timestamp_ms":1784475131000,"timestamp_seconds":1784475131,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b019c78"} 
[2026-07-19 21:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 21:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825556480001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825556480001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:05:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825556480001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":139321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:05:37] local.INFO: GPS data processed {"connection_id":139321,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:05:37] local.INFO: Acknowledgment sent {"connection_id":139321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:05:50] local.INFO: TCP Data received {"connection_id":137945,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:05:50] local.INFO: Processing buffer {"connection_id":137945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:05:50] local.INFO: IMEI packet received {"connection_id":137945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":137945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:05:55] local.INFO: TCP Data received {"connection_id":137945,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:05:55] local.INFO: Processing buffer {"connection_id":137945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:05:55] local.INFO: IMEI packet received {"connection_id":137945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":137945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:05:56] local.INFO: TCP Data received {"connection_id":137945,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:05:56] local.INFO: Processing buffer {"connection_id":137945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:05:56] local.INFO: Packet analysis {"connection_id":137945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:05:56] local.INFO: Extracted packet for processing {"connection_id":137945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:05:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825556992001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:05: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-07-19 21:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784475133000,"timestamp_ms":1784475133000,"timestamp_seconds":1784475133,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b01a448"} 
[2026-07-19 21:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:05:56] 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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:05: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-07-19 21: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-07-19 21:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825556992001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825556992001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:05:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:05:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825556992001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":137945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:05:56] local.INFO: GPS data processed {"connection_id":137945,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:05:56] local.INFO: Acknowledgment sent {"connection_id":137945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:06:08] local.INFO: TCP Data received {"connection_id":139321,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:06:08] local.INFO: Processing buffer {"connection_id":139321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:06:08] local.INFO: Packet analysis {"connection_id":139321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:06:08] local.INFO: Extracted packet for processing {"connection_id":139321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825556480001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:06: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-07-19 21:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784475131000,"timestamp_ms":1784475131000,"timestamp_seconds":1784475131,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b019c78"} 
[2026-07-19 21:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:06: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-07-19 21:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 21:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825556480001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825556480001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:06:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:06:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825556480001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":139321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:06:08] local.INFO: GPS data processed {"connection_id":139321,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:06:08] local.INFO: Acknowledgment sent {"connection_id":139321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:06:28] local.INFO: TCP Data received {"connection_id":137945,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:06:28] local.INFO: Processing buffer {"connection_id":137945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:06:28] local.INFO: Packet analysis {"connection_id":137945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:06:28] local.INFO: Extracted packet for processing {"connection_id":137945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825556992001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:06: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-07-19 21:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784475133000,"timestamp_ms":1784475133000,"timestamp_seconds":1784475133,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b01a448"} 
[2026-07-19 21:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":137945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":137945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":137945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825556992001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825556992001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:06:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825556992001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":137945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:06:28] local.INFO: GPS data processed {"connection_id":137945,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:06:28] local.INFO: Acknowledgment sent {"connection_id":137945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:06:30] local.INFO: TCP Data received {"connection_id":139322,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:06:30] local.INFO: Processing buffer {"connection_id":139322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:06:30] local.INFO: IMEI packet received {"connection_id":139322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":139322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:06:35] local.INFO: TCP Data received {"connection_id":139322,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:06:35] local.INFO: Processing buffer {"connection_id":139322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:06:35] local.INFO: IMEI packet received {"connection_id":139322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":139322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:06:36] local.INFO: TCP Data received {"connection_id":139322,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:06:36] local.INFO: Processing buffer {"connection_id":139322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:06:36] local.INFO: Packet analysis {"connection_id":139322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:06:36] local.INFO: Extracted packet for processing {"connection_id":139322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825556480001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784475131000,"timestamp_ms":1784475131000,"timestamp_seconds":1784475131,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b019c78"} 
[2026-07-19 21:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 21:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:06: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-07-19 21:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825556480001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825556480001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:06:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825556480001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":139322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:06:36] local.INFO: GPS data processed {"connection_id":139322,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:06:36] local.INFO: Acknowledgment sent {"connection_id":139322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:06:50] local.INFO: TCP Data received {"connection_id":136973,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:06:50] local.INFO: Processing buffer {"connection_id":136973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:06:50] local.INFO: IMEI packet received {"connection_id":136973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":136973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:06:55] local.INFO: TCP Data received {"connection_id":136973,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:06:55] local.INFO: Processing buffer {"connection_id":136973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:06:55] local.INFO: IMEI packet received {"connection_id":136973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":136973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:06:56] local.INFO: TCP Data received {"connection_id":136973,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:06:56] local.INFO: Processing buffer {"connection_id":136973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:06:56] local.INFO: Packet analysis {"connection_id":136973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:06:56] local.INFO: Extracted packet for processing {"connection_id":136973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:06:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825556992001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:06: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-07-19 21:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784475133000,"timestamp_ms":1784475133000,"timestamp_seconds":1784475133,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b01a448"} 
[2026-07-19 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-07-19 21:06:56] 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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:06: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-07-19 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-07-19 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-07-19 21:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825556992001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825556992001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:06:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:06:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825556992001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":136973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:06:56] local.INFO: GPS data processed {"connection_id":136973,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:06:56] local.INFO: Acknowledgment sent {"connection_id":136973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:07:09] local.INFO: TCP Data received {"connection_id":139322,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:07:09] local.INFO: Processing buffer {"connection_id":139322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:07:09] local.INFO: Packet analysis {"connection_id":139322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:07:09] local.INFO: Extracted packet for processing {"connection_id":139322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825556480001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:07: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-07-19 21:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784475131000,"timestamp_ms":1784475131000,"timestamp_seconds":1784475131,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b019c78"} 
[2026-07-19 21:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 21:07: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-07-19 21: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-07-19 21:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825556480001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825556480001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:07:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:07:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825556480001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":139322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:07:09] local.INFO: GPS data processed {"connection_id":139322,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:07:09] local.INFO: Acknowledgment sent {"connection_id":139322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:07:27] local.INFO: TCP Data received {"connection_id":136973,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:07:27] local.INFO: Processing buffer {"connection_id":136973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b01a448012d196540071ff010004c004923..."} 
[2026-07-19 21:07:27] local.INFO: Packet analysis {"connection_id":136973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:07:27] local.INFO: Extracted packet for processing {"connection_id":136973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:07:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825556992001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:07: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-07-19 21:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784475133000,"timestamp_ms":1784475133000,"timestamp_seconds":1784475133,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b01a448"} 
[2026-07-19 21:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825556992001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825556992001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:07:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:07:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825556992001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":136973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:07:27] local.INFO: GPS data processed {"connection_id":136973,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:07:27] local.INFO: Acknowledgment sent {"connection_id":136973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:07:30] local.INFO: TCP Data received {"connection_id":139323,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:07:30] local.INFO: Processing buffer {"connection_id":139323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:07:30] local.INFO: IMEI packet received {"connection_id":139323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":139323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:07:35] local.INFO: TCP Data received {"connection_id":139323,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:07:35] local.INFO: Processing buffer {"connection_id":139323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:07:35] local.INFO: IMEI packet received {"connection_id":139323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":139323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:07:36] local.INFO: TCP Data received {"connection_id":139323,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:07:36] local.INFO: Processing buffer {"connection_id":139323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b019c78012d34c58006aa4b980009000729..."} 
[2026-07-19 21:07:36] local.INFO: Packet analysis {"connection_id":139323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:07:36] local.INFO: Extracted packet for processing {"connection_id":139323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b01"} 
[2026-07-19 21:07:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825556480001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784475131000,"timestamp_ms":1784475131000,"timestamp_seconds":1784475131,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b019c78"} 
[2026-07-19 21:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-19 21:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:07: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-07-19 21:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825556480001,"66":25538,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825556480001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:07:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:07:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825556480001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":139323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:07:36] local.INFO: GPS data processed {"connection_id":139323,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:07:36] local.INFO: Acknowledgment sent {"connection_id":139323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:07:50] local.INFO: TCP Data received {"connection_id":136865,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:07:50] local.INFO: Processing buffer {"connection_id":136865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:07:50] local.INFO: IMEI packet received {"connection_id":136865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":136865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:07:52] local.INFO: TCP Data received {"connection_id":136865,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:07:52] local.INFO: Processing buffer {"connection_id":136865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:07:52] local.INFO: IMEI packet received {"connection_id":136865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":136865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:07:55] local.INFO: TCP Data received {"connection_id":136865,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:07:55] local.INFO: Processing buffer {"connection_id":136865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:07:55] local.INFO: IMEI packet received {"connection_id":136865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":136865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:07:56] local.INFO: TCP Data received {"connection_id":136865,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:07:56] local.INFO: Processing buffer {"connection_id":136865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:07:56] local.INFO: Packet analysis {"connection_id":136865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:07:56] local.INFO: Extracted packet for processing {"connection_id":136865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:07:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825634048001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:07: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-07-19 21:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784475434000,"timestamp_ms":1784475434000,"timestamp_seconds":1784475434,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b063c10"} 
[2026-07-19 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-07-19 21:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 21:07:56] 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-07-19 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-07-19 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-07-19 21:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825634048001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825634048001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:07:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:07:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825634048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":136865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:07:56] local.INFO: GPS data processed {"connection_id":136865,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:07:56] local.INFO: Acknowledgment sent {"connection_id":136865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:08:08] local.INFO: TCP Data received {"connection_id":139323,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:08:08] local.INFO: Processing buffer {"connection_id":139323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:08:08] local.INFO: Packet analysis {"connection_id":139323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:08:08] local.INFO: Extracted packet for processing {"connection_id":139323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825633536001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:08: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-07-19 21:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784475432000,"timestamp_ms":1784475432000,"timestamp_seconds":1784475432,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b063440"} 
[2026-07-19 21:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:08: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-07-19 21:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 21:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:08: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-07-19 21:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825633536001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825633536001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:08:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:08:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825633536001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":139323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:08:08] local.INFO: GPS data processed {"connection_id":139323,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:08:08] local.INFO: Acknowledgment sent {"connection_id":139323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:08:29] local.INFO: TCP Data received {"connection_id":136865,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:08:29] local.INFO: Processing buffer {"connection_id":136865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:08:29] local.INFO: Packet analysis {"connection_id":136865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:08:29] local.INFO: Extracted packet for processing {"connection_id":136865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:08:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825634048001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784475434000,"timestamp_ms":1784475434000,"timestamp_seconds":1784475434,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b063c10"} 
[2026-07-19 21:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:08:29] 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-07-19 21:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 21:08:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:08:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":136865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":136865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":136865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825634048001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825634048001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:08:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:08:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825634048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":136865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:08:29] local.INFO: GPS data processed {"connection_id":136865,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:08:29] local.INFO: Acknowledgment sent {"connection_id":136865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:08:30] local.INFO: TCP Data received {"connection_id":136975,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:08:30] local.INFO: Processing buffer {"connection_id":136975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:08:30] local.INFO: IMEI packet received {"connection_id":136975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":136975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:08:35] local.INFO: TCP Data received {"connection_id":136975,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:08:35] local.INFO: Processing buffer {"connection_id":136975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:08:35] local.INFO: IMEI packet received {"connection_id":136975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":136975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:08:37] local.INFO: TCP Data received {"connection_id":136975,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:08:37] local.INFO: Processing buffer {"connection_id":136975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:08:37] local.INFO: Packet analysis {"connection_id":136975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:08:37] local.INFO: Extracted packet for processing {"connection_id":136975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:08:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825633536001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:08: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-07-19 21:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784475432000,"timestamp_ms":1784475432000,"timestamp_seconds":1784475432,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b063440"} 
[2026-07-19 21:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 21:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825633536001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825633536001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:08:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:08:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825633536001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":136975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:08:37] local.INFO: GPS data processed {"connection_id":136975,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:08:37] local.INFO: Acknowledgment sent {"connection_id":136975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:08:50] local.INFO: TCP Data received {"connection_id":136866,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:08:50] local.INFO: Processing buffer {"connection_id":136866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:08:50] local.INFO: IMEI packet received {"connection_id":136866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":136866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:08:55] local.INFO: TCP Data received {"connection_id":136866,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:08:55] local.INFO: Processing buffer {"connection_id":136866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:08:55] local.INFO: IMEI packet received {"connection_id":136866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":136866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:08:56] local.INFO: TCP Data received {"connection_id":136866,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:08:56] local.INFO: Processing buffer {"connection_id":136866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:08:56] local.INFO: Packet analysis {"connection_id":136866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:08:56] local.INFO: Extracted packet for processing {"connection_id":136866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:08:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825634048001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:08: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-07-19 21:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784475434000,"timestamp_ms":1784475434000,"timestamp_seconds":1784475434,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b063c10"} 
[2026-07-19 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-07-19 21:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 21:08:56] 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-07-19 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-07-19 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-07-19 21:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825634048001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825634048001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:08:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:08:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825634048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":136866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:08:56] local.INFO: GPS data processed {"connection_id":136866,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:08:56] local.INFO: Acknowledgment sent {"connection_id":136866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:09:09] local.INFO: TCP Data received {"connection_id":136975,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:09:09] local.INFO: Processing buffer {"connection_id":136975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:09:09] local.INFO: Packet analysis {"connection_id":136975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:09:09] local.INFO: Extracted packet for processing {"connection_id":136975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:09:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825633536001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:09: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-07-19 21:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784475432000,"timestamp_ms":1784475432000,"timestamp_seconds":1784475432,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b063440"} 
[2026-07-19 21:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 21:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825633536001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825633536001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:09:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:09:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825633536001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":136975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:09:09] local.INFO: GPS data processed {"connection_id":136975,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:09:09] local.INFO: Acknowledgment sent {"connection_id":136975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:09:27] local.INFO: TCP Data received {"connection_id":136866,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:09:27] local.INFO: Processing buffer {"connection_id":136866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:09:27] local.INFO: Packet analysis {"connection_id":136866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:09:27] local.INFO: Extracted packet for processing {"connection_id":136866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:09:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825634048001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:09: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-07-19 21:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784475434000,"timestamp_ms":1784475434000,"timestamp_seconds":1784475434,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b063c10"} 
[2026-07-19 21:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:09:27] 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-07-19 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 21:09:27] 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-07-19 21: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-07-19 21:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825634048001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825634048001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:09:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:09:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825634048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":136866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:09:27] local.INFO: GPS data processed {"connection_id":136866,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:09:27] local.INFO: Acknowledgment sent {"connection_id":136866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:09:35] local.INFO: TCP Data received {"connection_id":136867,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:09:35] local.INFO: Processing buffer {"connection_id":136867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:09:35] local.INFO: IMEI packet received {"connection_id":136867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":136867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:09:40] local.INFO: TCP Data received {"connection_id":136867,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:09:40] local.INFO: Processing buffer {"connection_id":136867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:09:40] local.INFO: IMEI packet received {"connection_id":136867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":136867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:09:43] local.INFO: TCP Data received {"connection_id":136867,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:09:43] local.INFO: Processing buffer {"connection_id":136867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:09:43] local.INFO: Packet analysis {"connection_id":136867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:09:43] local.INFO: Extracted packet for processing {"connection_id":136867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:09:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825633536001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:09: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-07-19 21:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784475432000,"timestamp_ms":1784475432000,"timestamp_seconds":1784475432,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b063440"} 
[2026-07-19 21:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 21:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:09:43] 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-07-19 21:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825633536001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825633536001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:09:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:09:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825633536001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":136867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:09:43] local.INFO: GPS data processed {"connection_id":136867,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:09:43] local.INFO: Acknowledgment sent {"connection_id":136867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:09:47] local.INFO: TCP Data received {"connection_id":136867,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:09:47] local.INFO: Processing buffer {"connection_id":136867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:09:47] local.INFO: Packet analysis {"connection_id":136867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:09:47] local.INFO: Extracted packet for processing {"connection_id":136867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825633536001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784475432000,"timestamp_ms":1784475432000,"timestamp_seconds":1784475432,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b063440"} 
[2026-07-19 21:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 21:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":136867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":136867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":136867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825633536001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825633536001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:09:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:09:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825633536001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":136867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:09:47] local.INFO: GPS data processed {"connection_id":136867,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:09:47] local.INFO: Acknowledgment sent {"connection_id":136867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:09:50] local.INFO: TCP Data received {"connection_id":137947,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:09:50] local.INFO: Processing buffer {"connection_id":137947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:09:50] local.INFO: IMEI packet received {"connection_id":137947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":137947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:09:51] local.INFO: TCP Data received {"connection_id":139324,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:09:51] local.INFO: Processing buffer {"connection_id":139324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:09:51] local.INFO: IMEI packet received {"connection_id":139324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 21:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":139324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:09:55] local.INFO: TCP Data received {"connection_id":137947,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:09:55] local.INFO: Processing buffer {"connection_id":137947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:09:55] local.INFO: IMEI packet received {"connection_id":137947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":137947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:09:56] local.INFO: TCP Data received {"connection_id":137947,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:09:56] local.INFO: Processing buffer {"connection_id":137947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:09:56] local.INFO: Packet analysis {"connection_id":137947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:09:56] local.INFO: Extracted packet for processing {"connection_id":137947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:09:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825634048001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:09: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-07-19 21:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784475434000,"timestamp_ms":1784475434000,"timestamp_seconds":1784475434,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b063c10"} 
[2026-07-19 21:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 21:09:56] 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-07-19 21: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-07-19 21:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825634048001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825634048001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:09:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:09:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825634048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":137947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:09:56] local.INFO: GPS data processed {"connection_id":137947,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:09:56] local.INFO: Acknowledgment sent {"connection_id":137947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:10:25] local.INFO: TCP Data received {"connection_id":136868,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:10:25] local.INFO: Processing buffer {"connection_id":136868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:10:25] local.INFO: IMEI packet received {"connection_id":136868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 21:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":136868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:10:27] local.INFO: TCP Data received {"connection_id":137947,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:10:27] local.INFO: Processing buffer {"connection_id":137947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:10:27] local.INFO: Packet analysis {"connection_id":137947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:10:27] local.INFO: Extracted packet for processing {"connection_id":137947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:10:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825634048001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:10: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-07-19 21:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784475434000,"timestamp_ms":1784475434000,"timestamp_seconds":1784475434,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b063c10"} 
[2026-07-19 21:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:10:27] 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-07-19 21:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 21:10:27] 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-07-19 21: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-07-19 21:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825634048001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825634048001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:10:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:10:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825634048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":137947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:10:27] local.INFO: GPS data processed {"connection_id":137947,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:10:27] local.INFO: Acknowledgment sent {"connection_id":137947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:10:30] local.INFO: TCP Data received {"connection_id":136869,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:10:30] local.INFO: Processing buffer {"connection_id":136869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:10:30] local.INFO: IMEI packet received {"connection_id":136869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":136869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:10:35] local.INFO: TCP Data received {"connection_id":136869,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:10:35] local.INFO: Processing buffer {"connection_id":136869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:10:35] local.INFO: IMEI packet received {"connection_id":136869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":136869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:10:37] local.INFO: TCP Data received {"connection_id":136869,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:10:37] local.INFO: Processing buffer {"connection_id":136869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:10:37] local.INFO: Packet analysis {"connection_id":136869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:10:37] local.INFO: Extracted packet for processing {"connection_id":136869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825633536001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:10: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-07-19 21:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784475432000,"timestamp_ms":1784475432000,"timestamp_seconds":1784475432,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b063440"} 
[2026-07-19 21:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 21:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:10: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-07-19 21:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825633536001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825633536001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:10:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825633536001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":136869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:10:37] local.INFO: GPS data processed {"connection_id":136869,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:10:37] local.INFO: Acknowledgment sent {"connection_id":136869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:10:50] local.INFO: TCP Data received {"connection_id":136870,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:10:50] local.INFO: Processing buffer {"connection_id":136870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:10:50] local.INFO: IMEI packet received {"connection_id":136870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":136870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:10:55] local.INFO: TCP Data received {"connection_id":136870,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:10:55] local.INFO: Processing buffer {"connection_id":136870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:10:55] local.INFO: IMEI packet received {"connection_id":136870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":136870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:10:56] local.INFO: TCP Data received {"connection_id":136870,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:10:56] local.INFO: Processing buffer {"connection_id":136870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:10:56] local.INFO: Packet analysis {"connection_id":136870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:10:56] local.INFO: Extracted packet for processing {"connection_id":136870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:10:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825634048001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:10: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-07-19 21:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784475434000,"timestamp_ms":1784475434000,"timestamp_seconds":1784475434,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b063c10"} 
[2026-07-19 21:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 21:10:56] 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-07-19 21: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-07-19 21:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825634048001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825634048001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:10:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:10:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825634048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":136870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:10:56] local.INFO: GPS data processed {"connection_id":136870,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:10:56] local.INFO: Acknowledgment sent {"connection_id":136870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:11:09] local.INFO: TCP Data received {"connection_id":136869,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:11:09] local.INFO: Processing buffer {"connection_id":136869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:11:09] local.INFO: Packet analysis {"connection_id":136869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:11:09] local.INFO: Extracted packet for processing {"connection_id":136869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825633536001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:11: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-07-19 21:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784475432000,"timestamp_ms":1784475432000,"timestamp_seconds":1784475432,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b063440"} 
[2026-07-19 21:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 21:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:11:09] 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-07-19 21:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825633536001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825633536001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:11:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825633536001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":136869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:11:09] local.INFO: GPS data processed {"connection_id":136869,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:11:09] local.INFO: Acknowledgment sent {"connection_id":136869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:11:27] local.INFO: TCP Data received {"connection_id":136870,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:11:27] local.INFO: Processing buffer {"connection_id":136870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:11:27] local.INFO: Packet analysis {"connection_id":136870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:11:27] local.INFO: Extracted packet for processing {"connection_id":136870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:11:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825634048001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:11: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-07-19 21:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784475434000,"timestamp_ms":1784475434000,"timestamp_seconds":1784475434,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b063c10"} 
[2026-07-19 21:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:11:27] 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-07-19 21:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 21:11:27] 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-07-19 21: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-07-19 21:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825634048001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825634048001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:11:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:11:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825634048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":136870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:11:27] local.INFO: GPS data processed {"connection_id":136870,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:11:27] local.INFO: Acknowledgment sent {"connection_id":136870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:11:32] local.INFO: TCP Data received {"connection_id":136871,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:11:32] local.INFO: Processing buffer {"connection_id":136871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:11:32] local.INFO: IMEI packet received {"connection_id":136871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":136871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:11:35] local.INFO: TCP Data received {"connection_id":136871,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:11:35] local.INFO: Processing buffer {"connection_id":136871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:11:35] local.INFO: IMEI packet received {"connection_id":136871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":136871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:11:37] local.INFO: TCP Data received {"connection_id":136871,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:11:37] local.INFO: Processing buffer {"connection_id":136871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:11:37] local.INFO: Packet analysis {"connection_id":136871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:11:37] local.INFO: Extracted packet for processing {"connection_id":136871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825633536001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:11: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-07-19 21:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784475432000,"timestamp_ms":1784475432000,"timestamp_seconds":1784475432,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b063440"} 
[2026-07-19 21:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 21:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:11: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-07-19 21:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825633536001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825633536001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825633536001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":136871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:11:37] local.INFO: GPS data processed {"connection_id":136871,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:11:37] local.INFO: Acknowledgment sent {"connection_id":136871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:11:41] local.INFO: TCP Data received {"connection_id":136871,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:11:41] local.INFO: Processing buffer {"connection_id":136871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:11:41] local.INFO: Packet analysis {"connection_id":136871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:11:41] local.INFO: Extracted packet for processing {"connection_id":136871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:11:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825633536001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784475432000,"timestamp_ms":1784475432000,"timestamp_seconds":1784475432,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b063440"} 
[2026-07-19 21:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 21:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":136871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":136871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":136871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825633536001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825633536001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:11:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:11:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825633536001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":136871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:11:41] local.INFO: GPS data processed {"connection_id":136871,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:11:41] local.INFO: Acknowledgment sent {"connection_id":136871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:11:50] local.INFO: TCP Data received {"connection_id":136976,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:11:50] local.INFO: Processing buffer {"connection_id":136976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:11:50] local.INFO: IMEI packet received {"connection_id":136976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":136976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:11:55] local.INFO: TCP Data received {"connection_id":136976,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:11:55] local.INFO: Processing buffer {"connection_id":136976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:11:55] local.INFO: IMEI packet received {"connection_id":136976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":136976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:11:56] local.INFO: TCP Data received {"connection_id":136976,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:11:56] local.INFO: Processing buffer {"connection_id":136976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:11:56] local.INFO: Packet analysis {"connection_id":136976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:11:56] local.INFO: Extracted packet for processing {"connection_id":136976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:11:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825634048001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:11: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-07-19 21:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784475434000,"timestamp_ms":1784475434000,"timestamp_seconds":1784475434,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b063c10"} 
[2026-07-19 21:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 21:11:56] 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-07-19 21: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-07-19 21:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825634048001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825634048001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:11:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:11:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825634048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":136976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:11:56] local.INFO: GPS data processed {"connection_id":136976,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:11:56] local.INFO: Acknowledgment sent {"connection_id":136976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:12:12] local.INFO: TCP Data received {"connection_id":136871,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:12:12] local.INFO: Processing buffer {"connection_id":136871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:12:12] local.INFO: Packet analysis {"connection_id":136871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:12:12] local.INFO: Extracted packet for processing {"connection_id":136871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:12:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825633536001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:12: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-07-19 21:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784475432000,"timestamp_ms":1784475432000,"timestamp_seconds":1784475432,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b063440"} 
[2026-07-19 21:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 21:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":136871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":136871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":136871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:12:12] 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-07-19 21:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825633536001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825633536001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:12:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:12:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825633536001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":136871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:12:13] local.INFO: GPS data processed {"connection_id":136871,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:12:13] local.INFO: Acknowledgment sent {"connection_id":136871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:12:27] local.INFO: TCP Data received {"connection_id":136976,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:12:27] local.INFO: Processing buffer {"connection_id":136976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b063c10012d196540071ff010004c004925..."} 
[2026-07-19 21:12:27] local.INFO: Packet analysis {"connection_id":136976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:12:27] local.INFO: Extracted packet for processing {"connection_id":136976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:12:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825634048001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:12: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-07-19 21:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784475434000,"timestamp_ms":1784475434000,"timestamp_seconds":1784475434,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b063c10"} 
[2026-07-19 21:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:12:27] 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-07-19 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 21:12:27] 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-07-19 21: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-07-19 21:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825634048001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825634048001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:12:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:12:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825634048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":136976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:12:27] local.INFO: GPS data processed {"connection_id":136976,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:12:27] local.INFO: Acknowledgment sent {"connection_id":136976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:12:30] local.INFO: TCP Data received {"connection_id":136872,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:12:30] local.INFO: Processing buffer {"connection_id":136872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:12:30] local.INFO: IMEI packet received {"connection_id":136872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":136872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:12:35] local.INFO: TCP Data received {"connection_id":136872,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:12:35] local.INFO: Processing buffer {"connection_id":136872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:12:35] local.INFO: IMEI packet received {"connection_id":136872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":136872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:12:37] local.INFO: TCP Data received {"connection_id":136872,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:12:37] local.INFO: Processing buffer {"connection_id":136872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b063440012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:12:37] local.INFO: Packet analysis {"connection_id":136872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:12:37] local.INFO: Extracted packet for processing {"connection_id":136872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b06"} 
[2026-07-19 21:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825633536001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:12: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-07-19 21:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784475432000,"timestamp_ms":1784475432000,"timestamp_seconds":1784475432,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b063440"} 
[2026-07-19 21:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-19 21:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:12:37] 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-07-19 21:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825633536001,"66":25462,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825633536001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:12:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825633536001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":136872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:12:37] local.INFO: GPS data processed {"connection_id":136872,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:12:37] local.INFO: Acknowledgment sent {"connection_id":136872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:12:53] local.INFO: TCP Data received {"connection_id":136977,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:12:53] local.INFO: Processing buffer {"connection_id":136977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:12:53] local.INFO: IMEI packet received {"connection_id":136977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":136977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:12:55] local.INFO: TCP Data received {"connection_id":136977,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:12:55] local.INFO: Processing buffer {"connection_id":136977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:12:55] local.INFO: IMEI packet received {"connection_id":136977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":136977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:13:00] local.INFO: TCP Data received {"connection_id":136977,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:13:00] local.INFO: Processing buffer {"connection_id":136977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:13:00] local.INFO: IMEI packet received {"connection_id":136977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":136977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:13:01] local.INFO: TCP Data received {"connection_id":136977,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:13:01] local.INFO: Processing buffer {"connection_id":136977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:13:01] local.INFO: Packet analysis {"connection_id":136977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:13:01] local.INFO: Extracted packet for processing {"connection_id":136977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:13:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825711104001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:13: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-07-19 21:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784475735000,"timestamp_ms":1784475735000,"timestamp_seconds":1784475735,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0ad3d8"} 
[2026-07-19 21:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:13:01] 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-07-19 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825711104001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825711104001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:13:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:13:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825711104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":136977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:13:01] local.INFO: GPS data processed {"connection_id":136977,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:13:01] local.INFO: Acknowledgment sent {"connection_id":136977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:13:06] local.INFO: TCP Data received {"connection_id":136977,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:13:06] local.INFO: Processing buffer {"connection_id":136977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:13:06] local.INFO: Packet analysis {"connection_id":136977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:13:06] local.INFO: Extracted packet for processing {"connection_id":136977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825711104001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784475735000,"timestamp_ms":1784475735000,"timestamp_seconds":1784475735,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0ad3d8"} 
[2026-07-19 21:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825711104001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825711104001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:13:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825711104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":136977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:13:06] local.INFO: GPS data processed {"connection_id":136977,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:13:06] local.INFO: Acknowledgment sent {"connection_id":136977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:13:10] local.INFO: TCP Data received {"connection_id":136872,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:13:10] local.INFO: Processing buffer {"connection_id":136872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:13:10] local.INFO: Packet analysis {"connection_id":136872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:13:10] local.INFO: Extracted packet for processing {"connection_id":136872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825710592001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:13: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-07-19 21:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784475733000,"timestamp_ms":1784475733000,"timestamp_seconds":1784475733,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0acc08"} 
[2026-07-19 21:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":136872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":136872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":136872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:13: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-07-19 21:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825710592001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825710592001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:13:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825710592001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":136872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:13:10] local.INFO: GPS data processed {"connection_id":136872,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:13:10] local.INFO: Acknowledgment sent {"connection_id":136872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:13:30] local.INFO: TCP Data received {"connection_id":136978,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:13:30] local.INFO: Processing buffer {"connection_id":136978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:13:30] local.INFO: IMEI packet received {"connection_id":136978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":136978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:13:35] local.INFO: TCP Data received {"connection_id":136978,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:13:35] local.INFO: Processing buffer {"connection_id":136978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:13:35] local.INFO: IMEI packet received {"connection_id":136978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":136978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:13:37] local.INFO: TCP Data received {"connection_id":136978,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:13:37] local.INFO: Processing buffer {"connection_id":136978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:13:37] local.INFO: Packet analysis {"connection_id":136978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:13:37] local.INFO: Extracted packet for processing {"connection_id":136978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825710592001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:13: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-07-19 21:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784475733000,"timestamp_ms":1784475733000,"timestamp_seconds":1784475733,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0acc08"} 
[2026-07-19 21:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:13:37] 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-07-19 21:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825710592001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825710592001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:13:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825710592001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":136978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:13:37] local.INFO: GPS data processed {"connection_id":136978,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:13:37] local.INFO: Acknowledgment sent {"connection_id":136978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:13:50] local.INFO: TCP Data received {"connection_id":137949,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:13:50] local.INFO: Processing buffer {"connection_id":137949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:13:50] local.INFO: IMEI packet received {"connection_id":137949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":137949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:13:55] local.INFO: TCP Data received {"connection_id":137949,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:13:55] local.INFO: Processing buffer {"connection_id":137949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:13:55] local.INFO: IMEI packet received {"connection_id":137949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":137949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:13:56] local.INFO: TCP Data received {"connection_id":137949,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:13:56] local.INFO: Processing buffer {"connection_id":137949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:13:56] local.INFO: Packet analysis {"connection_id":137949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:13:56] local.INFO: Extracted packet for processing {"connection_id":137949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:13:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825711104001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:13: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-07-19 21:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784475735000,"timestamp_ms":1784475735000,"timestamp_seconds":1784475735,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0ad3d8"} 
[2026-07-19 21:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:13: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-07-19 21: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":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:13: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-07-19 21: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-07-19 21:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825711104001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825711104001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:13:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:13:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825711104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":137949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:13:56] local.INFO: GPS data processed {"connection_id":137949,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:13:56] local.INFO: Acknowledgment sent {"connection_id":137949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:14:09] local.INFO: TCP Data received {"connection_id":136978,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:14:09] local.INFO: Processing buffer {"connection_id":136978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:14:09] local.INFO: Packet analysis {"connection_id":136978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:14:09] local.INFO: Extracted packet for processing {"connection_id":136978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825710592001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:14: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-07-19 21:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784475733000,"timestamp_ms":1784475733000,"timestamp_seconds":1784475733,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0acc08"} 
[2026-07-19 21:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:14: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-07-19 21:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825710592001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825710592001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:14:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825710592001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":136978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:14:09] local.INFO: GPS data processed {"connection_id":136978,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:14:09] local.INFO: Acknowledgment sent {"connection_id":136978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:14:27] local.INFO: TCP Data received {"connection_id":137949,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:14:27] local.INFO: Processing buffer {"connection_id":137949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:14:27] local.INFO: Packet analysis {"connection_id":137949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:14:27] local.INFO: Extracted packet for processing {"connection_id":137949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:14:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825711104001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:14: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-07-19 21:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784475735000,"timestamp_ms":1784475735000,"timestamp_seconds":1784475735,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0ad3d8"} 
[2026-07-19 21:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:14:27] 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-07-19 21:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825711104001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825711104001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:14:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:14:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825711104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":137949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:14:28] local.INFO: GPS data processed {"connection_id":137949,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:14:28] local.INFO: Acknowledgment sent {"connection_id":137949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:14:31] local.INFO: TCP Data received {"connection_id":139327,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:14:31] local.INFO: Processing buffer {"connection_id":139327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:14:31] local.INFO: IMEI packet received {"connection_id":139327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":139327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:14:35] local.INFO: TCP Data received {"connection_id":139327,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:14:35] local.INFO: Processing buffer {"connection_id":139327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:14:35] local.INFO: IMEI packet received {"connection_id":139327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":139327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:14:37] local.INFO: TCP Data received {"connection_id":139327,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:14:37] local.INFO: Processing buffer {"connection_id":139327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:14:37] local.INFO: Packet analysis {"connection_id":139327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:14:37] local.INFO: Extracted packet for processing {"connection_id":139327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825710592001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:14: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-07-19 21:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784475733000,"timestamp_ms":1784475733000,"timestamp_seconds":1784475733,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0acc08"} 
[2026-07-19 21:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:14:37] 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-07-19 21:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825710592001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825710592001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825710592001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":139327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:14:37] local.INFO: GPS data processed {"connection_id":139327,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:14:37] local.INFO: Acknowledgment sent {"connection_id":139327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:14:50] local.INFO: TCP Data received {"connection_id":136980,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:14:50] local.INFO: Processing buffer {"connection_id":136980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:14:50] local.INFO: IMEI packet received {"connection_id":136980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":136980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:14:55] local.INFO: TCP Data received {"connection_id":136980,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:14:55] local.INFO: Processing buffer {"connection_id":136980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:14:55] local.INFO: IMEI packet received {"connection_id":136980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":136980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:14:56] local.INFO: TCP Data received {"connection_id":136980,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:14:56] local.INFO: Processing buffer {"connection_id":136980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:14:56] local.INFO: Packet analysis {"connection_id":136980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:14:56] local.INFO: Extracted packet for processing {"connection_id":136980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:14:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825711104001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:14: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-07-19 21:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784475735000,"timestamp_ms":1784475735000,"timestamp_seconds":1784475735,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0ad3d8"} 
[2026-07-19 21:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:14: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-07-19 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:14: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-07-19 21: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-07-19 21:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825711104001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825711104001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:14:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:14:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825711104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":136980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:14:56] local.INFO: GPS data processed {"connection_id":136980,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:14:56] local.INFO: Acknowledgment sent {"connection_id":136980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:15:10] local.INFO: TCP Data received {"connection_id":139327,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:15:10] local.INFO: Processing buffer {"connection_id":139327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:15:10] local.INFO: Packet analysis {"connection_id":139327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:15:10] local.INFO: Extracted packet for processing {"connection_id":139327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:15:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825710592001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:15: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-07-19 21:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784475733000,"timestamp_ms":1784475733000,"timestamp_seconds":1784475733,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0acc08"} 
[2026-07-19 21:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":139327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":139327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":139327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:15:10] 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-07-19 21:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825710592001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825710592001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:15:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:15:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825710592001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":139327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:15:10] local.INFO: GPS data processed {"connection_id":139327,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:15:10] local.INFO: Acknowledgment sent {"connection_id":139327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:15:27] local.INFO: TCP Data received {"connection_id":136980,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:15:27] local.INFO: Processing buffer {"connection_id":136980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:15:27] local.INFO: Packet analysis {"connection_id":136980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:15:27] local.INFO: Extracted packet for processing {"connection_id":136980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:15:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825711104001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:15: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-07-19 21:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784475735000,"timestamp_ms":1784475735000,"timestamp_seconds":1784475735,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0ad3d8"} 
[2026-07-19 21:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:15:27] 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-07-19 21:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825711104001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825711104001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:15:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:15:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825711104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":136980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:15:27] local.INFO: GPS data processed {"connection_id":136980,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:15:27] local.INFO: Acknowledgment sent {"connection_id":136980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:15:30] local.INFO: TCP Data received {"connection_id":136981,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:15:30] local.INFO: Processing buffer {"connection_id":136981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:15:30] local.INFO: IMEI packet received {"connection_id":136981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":136981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:15:35] local.INFO: TCP Data received {"connection_id":136981,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:15:35] local.INFO: Processing buffer {"connection_id":136981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:15:35] local.INFO: IMEI packet received {"connection_id":136981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":136981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:15:37] local.INFO: TCP Data received {"connection_id":136981,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:15:37] local.INFO: Processing buffer {"connection_id":136981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:15:37] local.INFO: Packet analysis {"connection_id":136981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:15:37] local.INFO: Extracted packet for processing {"connection_id":136981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825710592001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:15: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-07-19 21:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784475733000,"timestamp_ms":1784475733000,"timestamp_seconds":1784475733,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0acc08"} 
[2026-07-19 21:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:15: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-07-19 21:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825710592001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825710592001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825710592001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":136981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:15:37] local.INFO: GPS data processed {"connection_id":136981,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:15:37] local.INFO: Acknowledgment sent {"connection_id":136981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:15:50] local.INFO: TCP Data received {"connection_id":137950,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:15:50] local.INFO: Processing buffer {"connection_id":137950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:15:50] local.INFO: IMEI packet received {"connection_id":137950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":137950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:15:51] local.INFO: TCP Data received {"connection_id":136873,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:15:51] local.INFO: Processing buffer {"connection_id":136873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:15:51] local.INFO: IMEI packet received {"connection_id":136873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 21:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":136873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:15:55] local.INFO: TCP Data received {"connection_id":137950,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:15:55] local.INFO: Processing buffer {"connection_id":137950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:15:55] local.INFO: IMEI packet received {"connection_id":137950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":137950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:15:56] local.INFO: TCP Data received {"connection_id":137950,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:15:56] local.INFO: Processing buffer {"connection_id":137950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:15:56] local.INFO: Packet analysis {"connection_id":137950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:15:56] local.INFO: Extracted packet for processing {"connection_id":137950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:15:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825711104001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:15: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-07-19 21:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784475735000,"timestamp_ms":1784475735000,"timestamp_seconds":1784475735,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0ad3d8"} 
[2026-07-19 21:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:15: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-07-19 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:15: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-07-19 21: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-07-19 21:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825711104001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825711104001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:15:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:15:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825711104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":137950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:15:56] local.INFO: GPS data processed {"connection_id":137950,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:15:56] local.INFO: Acknowledgment sent {"connection_id":137950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:16:09] local.INFO: TCP Data received {"connection_id":136981,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:16:09] local.INFO: Processing buffer {"connection_id":136981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:16:09] local.INFO: Packet analysis {"connection_id":136981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:16:09] local.INFO: Extracted packet for processing {"connection_id":136981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825710592001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:16: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-07-19 21:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784475733000,"timestamp_ms":1784475733000,"timestamp_seconds":1784475733,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0acc08"} 
[2026-07-19 21:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:16: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-07-19 21:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825710592001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825710592001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825710592001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":136981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:16:09] local.INFO: GPS data processed {"connection_id":136981,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:16:09] local.INFO: Acknowledgment sent {"connection_id":136981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:16:26] local.INFO: TCP Data received {"connection_id":136874,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:16:26] local.INFO: Processing buffer {"connection_id":136874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:16:26] local.INFO: IMEI packet received {"connection_id":136874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 21:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":136874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:16:27] local.INFO: TCP Data received {"connection_id":137950,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:16:27] local.INFO: Processing buffer {"connection_id":137950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:16:27] local.INFO: Packet analysis {"connection_id":137950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:16:27] local.INFO: Extracted packet for processing {"connection_id":137950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:16:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825711104001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:16: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-07-19 21:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784475735000,"timestamp_ms":1784475735000,"timestamp_seconds":1784475735,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0ad3d8"} 
[2026-07-19 21:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:16:27] 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-07-19 21:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825711104001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825711104001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:16:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:16:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825711104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":137950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:16:27] local.INFO: GPS data processed {"connection_id":137950,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:16:27] local.INFO: Acknowledgment sent {"connection_id":137950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:16:30] local.INFO: TCP Data received {"connection_id":136982,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:16:30] local.INFO: Processing buffer {"connection_id":136982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:16:30] local.INFO: IMEI packet received {"connection_id":136982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":136982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:16:35] local.INFO: TCP Data received {"connection_id":136982,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:16:35] local.INFO: Processing buffer {"connection_id":136982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:16:35] local.INFO: IMEI packet received {"connection_id":136982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":136982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:16:37] local.INFO: TCP Data received {"connection_id":136982,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:16:37] local.INFO: Processing buffer {"connection_id":136982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:16:37] local.INFO: Packet analysis {"connection_id":136982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:16:37] local.INFO: Extracted packet for processing {"connection_id":136982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:16:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825710592001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:16: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-07-19 21:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784475733000,"timestamp_ms":1784475733000,"timestamp_seconds":1784475733,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0acc08"} 
[2026-07-19 21:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:16: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-07-19 21:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825710592001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825710592001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:16:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:16:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825710592001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":136982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:16:37] local.INFO: GPS data processed {"connection_id":136982,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:16:37] local.INFO: Acknowledgment sent {"connection_id":136982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:16:50] local.INFO: TCP Data received {"connection_id":136875,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:16:50] local.INFO: Processing buffer {"connection_id":136875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:16:50] local.INFO: IMEI packet received {"connection_id":136875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":136875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:16:55] local.INFO: TCP Data received {"connection_id":136875,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:16:55] local.INFO: Processing buffer {"connection_id":136875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:16:55] local.INFO: IMEI packet received {"connection_id":136875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":136875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:16:56] local.INFO: TCP Data received {"connection_id":136875,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:16:56] local.INFO: Processing buffer {"connection_id":136875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:16:56] local.INFO: Packet analysis {"connection_id":136875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:16:56] local.INFO: Extracted packet for processing {"connection_id":136875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:16:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825711104001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:16: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-07-19 21:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784475735000,"timestamp_ms":1784475735000,"timestamp_seconds":1784475735,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0ad3d8"} 
[2026-07-19 21:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:16: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-07-19 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:16: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-07-19 21: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-07-19 21:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825711104001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825711104001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:16:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:16:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825711104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":136875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:16:56] local.INFO: GPS data processed {"connection_id":136875,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:16:56] local.INFO: Acknowledgment sent {"connection_id":136875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:17:08] local.INFO: TCP Data received {"connection_id":136982,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:17:08] local.INFO: Processing buffer {"connection_id":136982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:17:08] local.INFO: Packet analysis {"connection_id":136982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:17:08] local.INFO: Extracted packet for processing {"connection_id":136982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825710592001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:17: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-07-19 21:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784475733000,"timestamp_ms":1784475733000,"timestamp_seconds":1784475733,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0acc08"} 
[2026-07-19 21:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:17: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-07-19 21:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:17: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-07-19 21:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:17: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-07-19 21:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825710592001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825710592001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:17:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:17:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825710592001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":136982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:17:08] local.INFO: GPS data processed {"connection_id":136982,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:17:08] local.INFO: Acknowledgment sent {"connection_id":136982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:17:27] local.INFO: TCP Data received {"connection_id":136875,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:17:27] local.INFO: Processing buffer {"connection_id":136875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0ad3d8012d196540071ff010004c004926..."} 
[2026-07-19 21:17:27] local.INFO: Packet analysis {"connection_id":136875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:17:27] local.INFO: Extracted packet for processing {"connection_id":136875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:17:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825711104001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:17: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-07-19 21:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784475735000,"timestamp_ms":1784475735000,"timestamp_seconds":1784475735,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0ad3d8"} 
[2026-07-19 21:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:17:27] 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-07-19 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825711104001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825711104001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:17:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:17:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825711104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":136875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:17:27] local.INFO: GPS data processed {"connection_id":136875,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:17:27] local.INFO: Acknowledgment sent {"connection_id":136875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:17:30] local.INFO: TCP Data received {"connection_id":139328,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:17:30] local.INFO: Processing buffer {"connection_id":139328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:17:30] local.INFO: IMEI packet received {"connection_id":139328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":139328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:17:35] local.INFO: TCP Data received {"connection_id":139328,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:17:35] local.INFO: Processing buffer {"connection_id":139328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:17:35] local.INFO: IMEI packet received {"connection_id":139328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":139328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:17:36] local.INFO: TCP Data received {"connection_id":139328,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:17:36] local.INFO: Processing buffer {"connection_id":139328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0acc08012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:17:36] local.INFO: Packet analysis {"connection_id":139328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:17:36] local.INFO: Extracted packet for processing {"connection_id":139328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0a"} 
[2026-07-19 21:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825710592001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784475733000,"timestamp_ms":1784475733000,"timestamp_seconds":1784475733,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0acc08"} 
[2026-07-19 21:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:17: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-07-19 21:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825710592001,"66":25441,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825710592001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:17:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825710592001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":139328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:17:36] local.INFO: GPS data processed {"connection_id":139328,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:17:36] local.INFO: Acknowledgment sent {"connection_id":139328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:17:54] local.INFO: TCP Data received {"connection_id":137951,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:17:54] local.INFO: Processing buffer {"connection_id":137951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:17:54] local.INFO: IMEI packet received {"connection_id":137951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":137951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:17:55] local.INFO: TCP Data received {"connection_id":137951,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:17:55] local.INFO: Processing buffer {"connection_id":137951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:17:55] local.INFO: IMEI packet received {"connection_id":137951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":137951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:18:00] local.INFO: TCP Data received {"connection_id":137951,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:18:00] local.INFO: Processing buffer {"connection_id":137951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:18:00] local.INFO: IMEI packet received {"connection_id":137951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":137951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:18:01] local.INFO: TCP Data received {"connection_id":137951,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:18:01] local.INFO: Processing buffer {"connection_id":137951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:18:01] local.INFO: Packet analysis {"connection_id":137951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:18:01] local.INFO: Extracted packet for processing {"connection_id":137951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:18:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825788160001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:18: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-07-19 21:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784476036000,"timestamp_ms":1784476036000,"timestamp_seconds":1784476036,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0f6ba0"} 
[2026-07-19 21:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:18:01] 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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825788160001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825788160001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:18:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:18:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825788160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":137951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:18:01] local.INFO: GPS data processed {"connection_id":137951,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:18:01] local.INFO: Acknowledgment sent {"connection_id":137951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:18:06] local.INFO: TCP Data received {"connection_id":137951,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:18:06] local.INFO: Processing buffer {"connection_id":137951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:18:06] local.INFO: Packet analysis {"connection_id":137951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:18:06] local.INFO: Extracted packet for processing {"connection_id":137951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825788160001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784476036000,"timestamp_ms":1784476036000,"timestamp_seconds":1784476036,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0f6ba0"} 
[2026-07-19 21:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":137951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":137951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":137951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825788160001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825788160001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:18:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825788160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":137951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:18:06] local.INFO: GPS data processed {"connection_id":137951,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:18:06] local.INFO: Acknowledgment sent {"connection_id":137951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:18:08] local.INFO: TCP Data received {"connection_id":139328,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:18:08] local.INFO: Processing buffer {"connection_id":139328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:18:08] local.INFO: Packet analysis {"connection_id":139328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:18:08] local.INFO: Extracted packet for processing {"connection_id":139328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825787648001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:18: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-07-19 21:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784476034000,"timestamp_ms":1784476034000,"timestamp_seconds":1784476034,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0f63d0"} 
[2026-07-19 21:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:18: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-07-19 21:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 21:18: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-07-19 21:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:18: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-07-19 21:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825787648001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825787648001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:18:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:18:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825787648001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":139328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:18:08] local.INFO: GPS data processed {"connection_id":139328,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:18:08] local.INFO: Acknowledgment sent {"connection_id":139328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:18:30] local.INFO: TCP Data received {"connection_id":137952,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:18:30] local.INFO: Processing buffer {"connection_id":137952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:18:30] local.INFO: IMEI packet received {"connection_id":137952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":137952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:18:35] local.INFO: TCP Data received {"connection_id":137952,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:18:35] local.INFO: Processing buffer {"connection_id":137952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:18:35] local.INFO: IMEI packet received {"connection_id":137952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":137952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:18:36] local.INFO: TCP Data received {"connection_id":137952,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:18:36] local.INFO: Processing buffer {"connection_id":137952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:18:36] local.INFO: Packet analysis {"connection_id":137952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:18:36] local.INFO: Extracted packet for processing {"connection_id":137952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825787648001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784476034000,"timestamp_ms":1784476034000,"timestamp_seconds":1784476034,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0f63d0"} 
[2026-07-19 21:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 21:18: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-07-19 21:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:18: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-07-19 21:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825787648001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825787648001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:18:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:18:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825787648001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":137952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:18:36] local.INFO: GPS data processed {"connection_id":137952,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:18:36] local.INFO: Acknowledgment sent {"connection_id":137952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:18:50] local.INFO: TCP Data received {"connection_id":136983,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:18:50] local.INFO: Processing buffer {"connection_id":136983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:18:50] local.INFO: IMEI packet received {"connection_id":136983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":136983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:18:55] local.INFO: TCP Data received {"connection_id":136983,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:18:55] local.INFO: Processing buffer {"connection_id":136983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:18:55] local.INFO: IMEI packet received {"connection_id":136983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":136983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:18:56] local.INFO: TCP Data received {"connection_id":136983,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:18:56] local.INFO: Processing buffer {"connection_id":136983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:18:56] local.INFO: Packet analysis {"connection_id":136983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:18:56] local.INFO: Extracted packet for processing {"connection_id":136983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:18:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825788160001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:18: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-07-19 21:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784476036000,"timestamp_ms":1784476036000,"timestamp_seconds":1784476036,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0f6ba0"} 
[2026-07-19 21:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:18: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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:18: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-07-19 21: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-07-19 21:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825788160001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825788160001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:18:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:18:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825788160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":136983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:18:56] local.INFO: GPS data processed {"connection_id":136983,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:18:56] local.INFO: Acknowledgment sent {"connection_id":136983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:19:09] local.INFO: TCP Data received {"connection_id":137952,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:19:09] local.INFO: Processing buffer {"connection_id":137952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:19:09] local.INFO: Packet analysis {"connection_id":137952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:19:09] local.INFO: Extracted packet for processing {"connection_id":137952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825787648001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:19: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-07-19 21:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784476034000,"timestamp_ms":1784476034000,"timestamp_seconds":1784476034,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0f63d0"} 
[2026-07-19 21:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 21:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:19: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-07-19 21:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825787648001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825787648001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:19:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825787648001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":137952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:19:09] local.INFO: GPS data processed {"connection_id":137952,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:19:09] local.INFO: Acknowledgment sent {"connection_id":137952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:19:27] local.INFO: TCP Data received {"connection_id":136983,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:19:27] local.INFO: Processing buffer {"connection_id":136983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:19:27] local.INFO: Packet analysis {"connection_id":136983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:19:27] local.INFO: Extracted packet for processing {"connection_id":136983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:19:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825788160001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:19: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-07-19 21:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784476036000,"timestamp_ms":1784476036000,"timestamp_seconds":1784476036,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0f6ba0"} 
[2026-07-19 21:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:19:27] 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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825788160001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825788160001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:19:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:19:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825788160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":136983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:19:27] local.INFO: GPS data processed {"connection_id":136983,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:19:27] local.INFO: Acknowledgment sent {"connection_id":136983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:19:30] local.INFO: TCP Data received {"connection_id":136877,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:19:30] local.INFO: Processing buffer {"connection_id":136877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:19:30] local.INFO: IMEI packet received {"connection_id":136877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":136877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:19:35] local.INFO: TCP Data received {"connection_id":136877,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:19:35] local.INFO: Processing buffer {"connection_id":136877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:19:35] local.INFO: IMEI packet received {"connection_id":136877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":136877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:19:37] local.INFO: TCP Data received {"connection_id":136877,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:19:37] local.INFO: Processing buffer {"connection_id":136877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:19:37] local.INFO: Packet analysis {"connection_id":136877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:19:37] local.INFO: Extracted packet for processing {"connection_id":136877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825787648001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:19: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-07-19 21:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784476034000,"timestamp_ms":1784476034000,"timestamp_seconds":1784476034,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0f63d0"} 
[2026-07-19 21:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 21:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825787648001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825787648001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:19:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825787648001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":136877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:19:37] local.INFO: GPS data processed {"connection_id":136877,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:19:37] local.INFO: Acknowledgment sent {"connection_id":136877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:19:50] local.INFO: TCP Data received {"connection_id":139329,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:19:50] local.INFO: Processing buffer {"connection_id":139329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:19:50] local.INFO: IMEI packet received {"connection_id":139329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":139329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:19:55] local.INFO: TCP Data received {"connection_id":139329,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:19:55] local.INFO: Processing buffer {"connection_id":139329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:19:55] local.INFO: IMEI packet received {"connection_id":139329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":139329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:19:56] local.INFO: TCP Data received {"connection_id":139329,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:19:56] local.INFO: Processing buffer {"connection_id":139329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:19:56] local.INFO: Packet analysis {"connection_id":139329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:19:56] local.INFO: Extracted packet for processing {"connection_id":139329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:19:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825788160001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:19: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-07-19 21:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784476036000,"timestamp_ms":1784476036000,"timestamp_seconds":1784476036,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0f6ba0"} 
[2026-07-19 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-07-19 21:19: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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:19: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-07-19 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-07-19 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-07-19 21:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825788160001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825788160001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:19:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:19:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825788160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":139329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:19:56] local.INFO: GPS data processed {"connection_id":139329,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:19:56] local.INFO: Acknowledgment sent {"connection_id":139329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:20:09] local.INFO: TCP Data received {"connection_id":136877,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:20:09] local.INFO: Processing buffer {"connection_id":136877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:20:09] local.INFO: Packet analysis {"connection_id":136877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:20:09] local.INFO: Extracted packet for processing {"connection_id":136877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825787648001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:20: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-07-19 21:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784476034000,"timestamp_ms":1784476034000,"timestamp_seconds":1784476034,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0f63d0"} 
[2026-07-19 21:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 21:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:20: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-07-19 21:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825787648001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825787648001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825787648001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":136877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:20:09] local.INFO: GPS data processed {"connection_id":136877,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:20:09] local.INFO: Acknowledgment sent {"connection_id":136877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:20:27] local.INFO: TCP Data received {"connection_id":139329,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:20:27] local.INFO: Processing buffer {"connection_id":139329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:20:27] local.INFO: Packet analysis {"connection_id":139329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:20:27] local.INFO: Extracted packet for processing {"connection_id":139329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:20:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825788160001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:20: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-07-19 21:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784476036000,"timestamp_ms":1784476036000,"timestamp_seconds":1784476036,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0f6ba0"} 
[2026-07-19 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-07-19 21:20:27] 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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 21:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825788160001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825788160001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:20:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:20:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825788160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":139329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:20:27] local.INFO: GPS data processed {"connection_id":139329,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:20:27] local.INFO: Acknowledgment sent {"connection_id":139329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:20:30] local.INFO: TCP Data received {"connection_id":136985,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:20:30] local.INFO: Processing buffer {"connection_id":136985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:20:30] local.INFO: IMEI packet received {"connection_id":136985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":136985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:20:35] local.INFO: TCP Data received {"connection_id":136985,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:20:35] local.INFO: Processing buffer {"connection_id":136985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:20:35] local.INFO: IMEI packet received {"connection_id":136985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":136985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:20:38] local.INFO: TCP Data received {"connection_id":136985,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:20:38] local.INFO: Processing buffer {"connection_id":136985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:20:38] local.INFO: Packet analysis {"connection_id":136985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:20:38] local.INFO: Extracted packet for processing {"connection_id":136985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825787648001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:20: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-07-19 21:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784476034000,"timestamp_ms":1784476034000,"timestamp_seconds":1784476034,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0f63d0"} 
[2026-07-19 21:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 21:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:20: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-07-19 21:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825787648001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825787648001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825787648001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":136985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:20:38] local.INFO: GPS data processed {"connection_id":136985,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:20:38] local.INFO: Acknowledgment sent {"connection_id":136985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:20:50] local.INFO: TCP Data received {"connection_id":137954,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:20:50] local.INFO: Processing buffer {"connection_id":137954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:20:50] local.INFO: IMEI packet received {"connection_id":137954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":137954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:20:55] local.INFO: TCP Data received {"connection_id":137954,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:20:55] local.INFO: Processing buffer {"connection_id":137954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:20:55] local.INFO: IMEI packet received {"connection_id":137954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":137954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:20:56] local.INFO: TCP Data received {"connection_id":137954,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:20:56] local.INFO: Processing buffer {"connection_id":137954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:20:56] local.INFO: Packet analysis {"connection_id":137954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:20:56] local.INFO: Extracted packet for processing {"connection_id":137954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:20:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825788160001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:20: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-07-19 21:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784476036000,"timestamp_ms":1784476036000,"timestamp_seconds":1784476036,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0f6ba0"} 
[2026-07-19 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-07-19 21:20: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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:20: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-07-19 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-07-19 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-07-19 21:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825788160001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825788160001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:20:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:20:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825788160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":137954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:20:56] local.INFO: GPS data processed {"connection_id":137954,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:20:56] local.INFO: Acknowledgment sent {"connection_id":137954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:21:09] local.INFO: TCP Data received {"connection_id":136985,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:21:09] local.INFO: Processing buffer {"connection_id":136985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:21:09] local.INFO: Packet analysis {"connection_id":136985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:21:09] local.INFO: Extracted packet for processing {"connection_id":136985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825787648001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:21: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-07-19 21:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784476034000,"timestamp_ms":1784476034000,"timestamp_seconds":1784476034,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0f63d0"} 
[2026-07-19 21:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 21:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:21: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-07-19 21:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825787648001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825787648001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825787648001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":136985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:21:09] local.INFO: GPS data processed {"connection_id":136985,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:21:09] local.INFO: Acknowledgment sent {"connection_id":136985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:21:27] local.INFO: TCP Data received {"connection_id":137954,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:21:27] local.INFO: Processing buffer {"connection_id":137954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:21:27] local.INFO: Packet analysis {"connection_id":137954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:21:27] local.INFO: Extracted packet for processing {"connection_id":137954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:21:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825788160001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:21: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-07-19 21:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784476036000,"timestamp_ms":1784476036000,"timestamp_seconds":1784476036,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0f6ba0"} 
[2026-07-19 21:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:21:27] 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-07-19 21:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825788160001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825788160001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:21:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:21:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825788160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":137954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:21:27] local.INFO: GPS data processed {"connection_id":137954,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:21:27] local.INFO: Acknowledgment sent {"connection_id":137954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:21:30] local.INFO: TCP Data received {"connection_id":137956,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:21:30] local.INFO: Processing buffer {"connection_id":137956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:21:30] local.INFO: IMEI packet received {"connection_id":137956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":137956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:21:36] local.INFO: TCP Data received {"connection_id":137956,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:21:36] local.INFO: Processing buffer {"connection_id":137956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:21:36] local.INFO: IMEI packet received {"connection_id":137956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":137956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:21:38] local.INFO: TCP Data received {"connection_id":137956,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:21:38] local.INFO: Processing buffer {"connection_id":137956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:21:38] local.INFO: Packet analysis {"connection_id":137956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:21:38] local.INFO: Extracted packet for processing {"connection_id":137956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:21:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825787648001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:21: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-07-19 21:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784476034000,"timestamp_ms":1784476034000,"timestamp_seconds":1784476034,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0f63d0"} 
[2026-07-19 21:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 21:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:21: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-07-19 21:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825787648001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825787648001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:21:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:21:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825787648001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":137956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:21:38] local.INFO: GPS data processed {"connection_id":137956,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:21:38] local.INFO: Acknowledgment sent {"connection_id":137956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:21:46] local.INFO: TCP Data received {"connection_id":137955,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:21:46] local.INFO: Processing buffer {"connection_id":137955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:21:46] local.INFO: IMEI packet received {"connection_id":137955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 21:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":137955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:21:50] local.INFO: TCP Data received {"connection_id":136879,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:21:50] local.INFO: Processing buffer {"connection_id":136879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:21:50] local.INFO: IMEI packet received {"connection_id":136879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":136879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:21:55] local.INFO: TCP Data received {"connection_id":136879,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:21:55] local.INFO: Processing buffer {"connection_id":136879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:21:55] local.INFO: IMEI packet received {"connection_id":136879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":136879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:21:56] local.INFO: TCP Data received {"connection_id":136879,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:21:56] local.INFO: Processing buffer {"connection_id":136879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:21:56] local.INFO: Packet analysis {"connection_id":136879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:21:56] local.INFO: Extracted packet for processing {"connection_id":136879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:21:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825788160001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:21: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-07-19 21:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784476036000,"timestamp_ms":1784476036000,"timestamp_seconds":1784476036,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0f6ba0"} 
[2026-07-19 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-07-19 21:21: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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:21: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-07-19 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-07-19 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-07-19 21:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825788160001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825788160001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:21:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:21:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825788160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":136879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:21:56] local.INFO: GPS data processed {"connection_id":136879,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:21:56] local.INFO: Acknowledgment sent {"connection_id":136879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:22:10] local.INFO: TCP Data received {"connection_id":137956,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:22:10] local.INFO: Processing buffer {"connection_id":137956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:22:10] local.INFO: Packet analysis {"connection_id":137956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:22:10] local.INFO: Extracted packet for processing {"connection_id":137956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:22:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825787648001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:22: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-07-19 21:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784476034000,"timestamp_ms":1784476034000,"timestamp_seconds":1784476034,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0f63d0"} 
[2026-07-19 21:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 21:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":137956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":137956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":137956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825787648001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825787648001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:22:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:22:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825787648001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":137956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:22:10] local.INFO: GPS data processed {"connection_id":137956,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:22:10] local.INFO: Acknowledgment sent {"connection_id":137956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:22:27] local.INFO: TCP Data received {"connection_id":136879,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:22:27] local.INFO: Processing buffer {"connection_id":136879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0f6ba0012d196540071ff010004c004924..."} 
[2026-07-19 21:22:27] local.INFO: Packet analysis {"connection_id":136879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:22:27] local.INFO: Extracted packet for processing {"connection_id":136879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:22:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825788160001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:22: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-07-19 21:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784476036000,"timestamp_ms":1784476036000,"timestamp_seconds":1784476036,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0f6ba0"} 
[2026-07-19 21:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:22:27] 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-07-19 21:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825788160001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825788160001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:22:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:22:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825788160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":136879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:22:27] local.INFO: GPS data processed {"connection_id":136879,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:22:27] local.INFO: Acknowledgment sent {"connection_id":136879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:22:30] local.INFO: TCP Data received {"connection_id":136880,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:22:30] local.INFO: Processing buffer {"connection_id":136880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:22:30] local.INFO: IMEI packet received {"connection_id":136880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":136880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:22:31] local.INFO: TCP Data received {"connection_id":137957,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137957,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:22:31] local.INFO: Processing buffer {"connection_id":137957,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:22:31] local.INFO: IMEI packet received {"connection_id":137957,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 21:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":137957,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:22:35] local.INFO: TCP Data received {"connection_id":136880,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:22:35] local.INFO: Processing buffer {"connection_id":136880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:22:35] local.INFO: IMEI packet received {"connection_id":136880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":136880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:22:37] local.INFO: TCP Data received {"connection_id":136880,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:22:37] local.INFO: Processing buffer {"connection_id":136880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b0f63d0012d34c58006aa4b980009000728..."} 
[2026-07-19 21:22:37] local.INFO: Packet analysis {"connection_id":136880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:22:37] local.INFO: Extracted packet for processing {"connection_id":136880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b0f"} 
[2026-07-19 21:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825787648001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:22: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-07-19 21:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784476034000,"timestamp_ms":1784476034000,"timestamp_seconds":1784476034,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b0f63d0"} 
[2026-07-19 21:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-19 21:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:22: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-07-19 21:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825787648001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825787648001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:22:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825787648001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":136880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:22:37] local.INFO: GPS data processed {"connection_id":136880,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:22:37] local.INFO: Acknowledgment sent {"connection_id":136880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:22:50] local.INFO: TCP Data received {"connection_id":139330,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:22:50] local.INFO: Processing buffer {"connection_id":139330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:22:50] local.INFO: IMEI packet received {"connection_id":139330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":139330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:22:55] local.INFO: TCP Data received {"connection_id":139330,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:22:55] local.INFO: Processing buffer {"connection_id":139330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:22:55] local.INFO: IMEI packet received {"connection_id":139330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":139330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:22:56] local.INFO: TCP Data received {"connection_id":139330,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:22:56] local.INFO: Processing buffer {"connection_id":139330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:22:56] local.INFO: Packet analysis {"connection_id":139330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b14"} 
[2026-07-19 21:22:56] local.INFO: Extracted packet for processing {"connection_id":139330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b14"} 
[2026-07-19 21:22:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825865216001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:22: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-07-19 21:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784476337000,"timestamp_ms":1784476337000,"timestamp_seconds":1784476337,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b140368"} 
[2026-07-19 21:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:22: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-07-19 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:22: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-07-19 21: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-07-19 21:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825865216001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825865216001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:22:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:22:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825865216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":139330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:22:56] local.INFO: GPS data processed {"connection_id":139330,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:22:56] local.INFO: Acknowledgment sent {"connection_id":139330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:23:08] local.INFO: TCP Data received {"connection_id":136880,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:23:08] local.INFO: Processing buffer {"connection_id":136880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:23:08] local.INFO: Packet analysis {"connection_id":136880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b13"} 
[2026-07-19 21:23:08] local.INFO: Extracted packet for processing {"connection_id":136880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b13"} 
[2026-07-19 21:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825864704001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:23: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-07-19 21:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784476335000,"timestamp_ms":1784476335000,"timestamp_seconds":1784476335,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b13fb98"} 
[2026-07-19 21:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:23: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-07-19 21:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 21:23: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-07-19 21:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:23: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-07-19 21:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825864704001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825864704001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:23:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825864704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":136880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:23:08] local.INFO: GPS data processed {"connection_id":136880,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:23:08] local.INFO: Acknowledgment sent {"connection_id":136880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:23:27] local.INFO: TCP Data received {"connection_id":139330,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:23:27] local.INFO: Processing buffer {"connection_id":139330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:23:27] local.INFO: Packet analysis {"connection_id":139330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b14"} 
[2026-07-19 21:23:27] local.INFO: Extracted packet for processing {"connection_id":139330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b14"} 
[2026-07-19 21:23:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:23: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-07-19 21:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825865216001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:23: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-07-19 21:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784476337000,"timestamp_ms":1784476337000,"timestamp_seconds":1784476337,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b140368"} 
[2026-07-19 21:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:23:27] 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-07-19 21:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:23: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-07-19 21:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825865216001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825865216001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:23:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:23:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825865216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":139330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:23:27] local.INFO: GPS data processed {"connection_id":139330,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:23:27] local.INFO: Acknowledgment sent {"connection_id":139330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:23:30] local.INFO: TCP Data received {"connection_id":136987,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:23:30] local.INFO: Processing buffer {"connection_id":136987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:23:30] local.INFO: IMEI packet received {"connection_id":136987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":136987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:23:35] local.INFO: TCP Data received {"connection_id":136987,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:23:35] local.INFO: Processing buffer {"connection_id":136987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:23:35] local.INFO: IMEI packet received {"connection_id":136987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":136987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:23:39] local.INFO: TCP Data received {"connection_id":136987,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:23:39] local.INFO: Processing buffer {"connection_id":136987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:23:39] local.INFO: Packet analysis {"connection_id":136987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b13"} 
[2026-07-19 21:23:39] local.INFO: Extracted packet for processing {"connection_id":136987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b13"} 
[2026-07-19 21:23:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825864704001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:23: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-07-19 21:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784476335000,"timestamp_ms":1784476335000,"timestamp_seconds":1784476335,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b13fb98"} 
[2026-07-19 21:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 21:23: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-07-19 21:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":136987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":136987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":136987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:23: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-07-19 21:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825864704001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825864704001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:23:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:23:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825864704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":136987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:23:39] local.INFO: GPS data processed {"connection_id":136987,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:23:39] local.INFO: Acknowledgment sent {"connection_id":136987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:23:41] local.INFO: TCP Data received {"connection_id":136987,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:23:41] local.INFO: Processing buffer {"connection_id":136987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:23:41] local.INFO: Packet analysis {"connection_id":136987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b13"} 
[2026-07-19 21:23:41] local.INFO: Extracted packet for processing {"connection_id":136987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b13"} 
[2026-07-19 21:23:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825864704001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784476335000,"timestamp_ms":1784476335000,"timestamp_seconds":1784476335,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b13fb98"} 
[2026-07-19 21:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 21:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":136987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":136987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":136987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825864704001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825864704001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:23:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:23:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825864704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":136987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:23:41] local.INFO: GPS data processed {"connection_id":136987,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:23:41] local.INFO: Acknowledgment sent {"connection_id":136987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:23:50] local.INFO: TCP Data received {"connection_id":139331,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:23:50] local.INFO: Processing buffer {"connection_id":139331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:23:50] local.INFO: IMEI packet received {"connection_id":139331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":139331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:23:55] local.INFO: TCP Data received {"connection_id":139331,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:23:55] local.INFO: Processing buffer {"connection_id":139331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:23:55] local.INFO: IMEI packet received {"connection_id":139331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":139331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:23:56] local.INFO: TCP Data received {"connection_id":139331,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:23:56] local.INFO: Processing buffer {"connection_id":139331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:23:56] local.INFO: Packet analysis {"connection_id":139331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b14"} 
[2026-07-19 21:23:56] local.INFO: Extracted packet for processing {"connection_id":139331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b14"} 
[2026-07-19 21:23:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825865216001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:23: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-07-19 21:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784476337000,"timestamp_ms":1784476337000,"timestamp_seconds":1784476337,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b140368"} 
[2026-07-19 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-07-19 21:23: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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:23: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-07-19 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-07-19 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-07-19 21:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825865216001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825865216001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:23:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:23:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825865216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":139331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:23:56] local.INFO: GPS data processed {"connection_id":139331,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:23:56] local.INFO: Acknowledgment sent {"connection_id":139331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:24:13] local.INFO: TCP Data received {"connection_id":136987,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:24:13] local.INFO: Processing buffer {"connection_id":136987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:24:13] local.INFO: Packet analysis {"connection_id":136987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b13"} 
[2026-07-19 21:24:13] local.INFO: Extracted packet for processing {"connection_id":136987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b13"} 
[2026-07-19 21:24:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825864704001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:24: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-07-19 21:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784476335000,"timestamp_ms":1784476335000,"timestamp_seconds":1784476335,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b13fb98"} 
[2026-07-19 21:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:24: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-07-19 21:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 21:24: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-07-19 21:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":136987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":136987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":136987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:24: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-07-19 21:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825864704001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825864704001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:24:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:24:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825864704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":136987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:24:13] local.INFO: GPS data processed {"connection_id":136987,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:24:13] local.INFO: Acknowledgment sent {"connection_id":136987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:24:27] local.INFO: TCP Data received {"connection_id":139331,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:24:27] local.INFO: Processing buffer {"connection_id":139331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:24:27] local.INFO: Packet analysis {"connection_id":139331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b14"} 
[2026-07-19 21:24:27] local.INFO: Extracted packet for processing {"connection_id":139331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b14"} 
[2026-07-19 21:24:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825865216001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:24: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-07-19 21:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784476337000,"timestamp_ms":1784476337000,"timestamp_seconds":1784476337,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b140368"} 
[2026-07-19 21:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:24:27] 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-07-19 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825865216001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825865216001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:24:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:24:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825865216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":139331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:24:27] local.INFO: GPS data processed {"connection_id":139331,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:24:27] local.INFO: Acknowledgment sent {"connection_id":139331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:24:30] local.INFO: TCP Data received {"connection_id":137958,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:24:30] local.INFO: Processing buffer {"connection_id":137958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:24:30] local.INFO: IMEI packet received {"connection_id":137958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":137958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:24:35] local.INFO: TCP Data received {"connection_id":137958,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:24:35] local.INFO: Processing buffer {"connection_id":137958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:24:35] local.INFO: IMEI packet received {"connection_id":137958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":137958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:24:38] local.INFO: TCP Data received {"connection_id":137958,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:24:38] local.INFO: Processing buffer {"connection_id":137958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:24:38] local.INFO: Packet analysis {"connection_id":137958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b13"} 
[2026-07-19 21:24:38] local.INFO: Extracted packet for processing {"connection_id":137958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b13"} 
[2026-07-19 21:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825864704001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:24: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-07-19 21:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784476335000,"timestamp_ms":1784476335000,"timestamp_seconds":1784476335,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b13fb98"} 
[2026-07-19 21:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 21:24: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-07-19 21:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":137958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":137958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":137958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825864704001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825864704001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:24:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825864704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":137958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:24:38] local.INFO: GPS data processed {"connection_id":137958,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:24:38] local.INFO: Acknowledgment sent {"connection_id":137958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:24:50] local.INFO: TCP Data received {"connection_id":137959,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:24:50] local.INFO: Processing buffer {"connection_id":137959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:24:50] local.INFO: IMEI packet received {"connection_id":137959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":137959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:24:55] local.INFO: TCP Data received {"connection_id":137959,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:24:55] local.INFO: Processing buffer {"connection_id":137959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:24:55] local.INFO: IMEI packet received {"connection_id":137959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":137959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:24:56] local.INFO: TCP Data received {"connection_id":137959,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:24:56] local.INFO: Processing buffer {"connection_id":137959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:24:56] local.INFO: Packet analysis {"connection_id":137959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b14"} 
[2026-07-19 21:24:56] local.INFO: Extracted packet for processing {"connection_id":137959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b14"} 
[2026-07-19 21:24:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825865216001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:24: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-07-19 21:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784476337000,"timestamp_ms":1784476337000,"timestamp_seconds":1784476337,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b140368"} 
[2026-07-19 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-07-19 21:24: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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:24: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-07-19 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-07-19 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-07-19 21:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825865216001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825865216001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:24:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:24:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825865216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":137959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:24:56] local.INFO: GPS data processed {"connection_id":137959,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:24:56] local.INFO: Acknowledgment sent {"connection_id":137959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:25:12] local.INFO: TCP Data received {"connection_id":137958,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:25:12] local.INFO: Processing buffer {"connection_id":137958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:25:12] local.INFO: Packet analysis {"connection_id":137958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b13"} 
[2026-07-19 21:25:12] local.INFO: Extracted packet for processing {"connection_id":137958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b13"} 
[2026-07-19 21:25:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825864704001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:25: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-07-19 21:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784476335000,"timestamp_ms":1784476335000,"timestamp_seconds":1784476335,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b13fb98"} 
[2026-07-19 21:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 21:25: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-07-19 21: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-07-19 21:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":137958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":137958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":137958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825864704001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825864704001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:25:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:25:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825864704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":137958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:25:12] local.INFO: GPS data processed {"connection_id":137958,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:25:12] local.INFO: Acknowledgment sent {"connection_id":137958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:25:27] local.INFO: TCP Data received {"connection_id":137959,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:25:27] local.INFO: Processing buffer {"connection_id":137959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:25:27] local.INFO: Packet analysis {"connection_id":137959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b14"} 
[2026-07-19 21:25:27] local.INFO: Extracted packet for processing {"connection_id":137959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b14"} 
[2026-07-19 21:25:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825865216001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:25: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-07-19 21:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784476337000,"timestamp_ms":1784476337000,"timestamp_seconds":1784476337,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b140368"} 
[2026-07-19 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-07-19 21:25:27] 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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 21:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825865216001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825865216001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:25:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:25:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825865216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":137959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:25:27] local.INFO: GPS data processed {"connection_id":137959,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:25:27] local.INFO: Acknowledgment sent {"connection_id":137959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:25:30] local.INFO: TCP Data received {"connection_id":136988,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:25:30] local.INFO: Processing buffer {"connection_id":136988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:25:30] local.INFO: IMEI packet received {"connection_id":136988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":136988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:25:35] local.INFO: TCP Data received {"connection_id":136988,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:25:35] local.INFO: Processing buffer {"connection_id":136988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:25:35] local.INFO: IMEI packet received {"connection_id":136988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":136988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:25:36] local.INFO: TCP Data received {"connection_id":136988,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:25:36] local.INFO: Processing buffer {"connection_id":136988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:25:36] local.INFO: Packet analysis {"connection_id":136988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b13"} 
[2026-07-19 21:25:36] local.INFO: Extracted packet for processing {"connection_id":136988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b13"} 
[2026-07-19 21:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825864704001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784476335000,"timestamp_ms":1784476335000,"timestamp_seconds":1784476335,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b13fb98"} 
[2026-07-19 21:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 21:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825864704001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825864704001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:25:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:25:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825864704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":136988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:25:36] local.INFO: GPS data processed {"connection_id":136988,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:25:36] local.INFO: Acknowledgment sent {"connection_id":136988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:25:50] local.INFO: TCP Data received {"connection_id":137960,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:25:50] local.INFO: Processing buffer {"connection_id":137960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:25:50] local.INFO: IMEI packet received {"connection_id":137960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":137960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:25:55] local.INFO: TCP Data received {"connection_id":137960,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:25:55] local.INFO: Processing buffer {"connection_id":137960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:25:55] local.INFO: IMEI packet received {"connection_id":137960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":137960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:25:56] local.INFO: TCP Data received {"connection_id":137960,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:25:56] local.INFO: Processing buffer {"connection_id":137960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:25:56] local.INFO: Packet analysis {"connection_id":137960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b14"} 
[2026-07-19 21:25:56] local.INFO: Extracted packet for processing {"connection_id":137960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b14"} 
[2026-07-19 21:25:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825865216001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:25: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-07-19 21:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784476337000,"timestamp_ms":1784476337000,"timestamp_seconds":1784476337,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b140368"} 
[2026-07-19 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-07-19 21:25: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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:25: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-07-19 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-07-19 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-07-19 21:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825865216001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825865216001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:25:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:25:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825865216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":137960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:25:56] local.INFO: GPS data processed {"connection_id":137960,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:25:56] local.INFO: Acknowledgment sent {"connection_id":137960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:26:08] local.INFO: TCP Data received {"connection_id":136988,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:26:08] local.INFO: Processing buffer {"connection_id":136988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:26:08] local.INFO: Packet analysis {"connection_id":136988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b13"} 
[2026-07-19 21:26:08] local.INFO: Extracted packet for processing {"connection_id":136988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b13"} 
[2026-07-19 21:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825864704001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784476335000,"timestamp_ms":1784476335000,"timestamp_seconds":1784476335,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b13fb98"} 
[2026-07-19 21:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:26: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-07-19 21: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":255,"data_length":795,"current_offset":136} 
[2026-07-19 21:26: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-07-19 21: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-07-19 21:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:26: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-07-19 21:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825864704001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825864704001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:26:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825864704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":136988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:26:08] local.INFO: GPS data processed {"connection_id":136988,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:26:08] local.INFO: Acknowledgment sent {"connection_id":136988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:26:27] local.INFO: TCP Data received {"connection_id":137960,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:26:27] local.INFO: Processing buffer {"connection_id":137960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:26:27] local.INFO: Packet analysis {"connection_id":137960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b14"} 
[2026-07-19 21:26:27] local.INFO: Extracted packet for processing {"connection_id":137960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b14"} 
[2026-07-19 21:26:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825865216001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:26: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-07-19 21:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784476337000,"timestamp_ms":1784476337000,"timestamp_seconds":1784476337,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b140368"} 
[2026-07-19 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-07-19 21:26:27] 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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 21:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825865216001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825865216001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:26:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:26:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825865216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":137960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:26:27] local.INFO: GPS data processed {"connection_id":137960,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:26:27] local.INFO: Acknowledgment sent {"connection_id":137960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:26:31] local.INFO: TCP Data received {"connection_id":139334,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:26:31] local.INFO: Processing buffer {"connection_id":139334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:26:31] local.INFO: IMEI packet received {"connection_id":139334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":139334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:26:37] local.INFO: TCP Data received {"connection_id":139334,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:26:37] local.INFO: Processing buffer {"connection_id":139334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:26:37] local.INFO: IMEI packet received {"connection_id":139334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":139334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:26:39] local.INFO: TCP Data received {"connection_id":139334,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:26:39] local.INFO: Processing buffer {"connection_id":139334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:26:39] local.INFO: Packet analysis {"connection_id":139334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b13"} 
[2026-07-19 21:26:39] local.INFO: Extracted packet for processing {"connection_id":139334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b13"} 
[2026-07-19 21:26:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825864704001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784476335000,"timestamp_ms":1784476335000,"timestamp_seconds":1784476335,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b13fb98"} 
[2026-07-19 21:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":255,"data_length":795,"current_offset":136} 
[2026-07-19 21:26: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-07-19 21: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-07-19 21:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:26:39] 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-07-19 21:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825864704001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825864704001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:26:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:26:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825864704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":139334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:26:39] local.INFO: GPS data processed {"connection_id":139334,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:26:39] local.INFO: Acknowledgment sent {"connection_id":139334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:26:50] local.INFO: TCP Data received {"connection_id":137961,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:26:50] local.INFO: Processing buffer {"connection_id":137961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:26:50] local.INFO: IMEI packet received {"connection_id":137961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":137961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:26:55] local.INFO: TCP Data received {"connection_id":137961,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:26:55] local.INFO: Processing buffer {"connection_id":137961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:26:55] local.INFO: IMEI packet received {"connection_id":137961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":137961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:26:56] local.INFO: TCP Data received {"connection_id":137961,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:26:56] local.INFO: Processing buffer {"connection_id":137961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:26:56] local.INFO: Packet analysis {"connection_id":137961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b14"} 
[2026-07-19 21:26:56] local.INFO: Extracted packet for processing {"connection_id":137961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b14"} 
[2026-07-19 21:26:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825865216001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:26: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-07-19 21:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784476337000,"timestamp_ms":1784476337000,"timestamp_seconds":1784476337,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b140368"} 
[2026-07-19 21:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:26: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-07-19 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:26: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-07-19 21: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-07-19 21:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825865216001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825865216001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:26:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:26:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825865216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":137961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:26:56] local.INFO: GPS data processed {"connection_id":137961,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:26:56] local.INFO: Acknowledgment sent {"connection_id":137961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:27:10] local.INFO: TCP Data received {"connection_id":139334,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:27:10] local.INFO: Processing buffer {"connection_id":139334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:27:10] local.INFO: Packet analysis {"connection_id":139334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b13"} 
[2026-07-19 21:27:10] local.INFO: Extracted packet for processing {"connection_id":139334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b13"} 
[2026-07-19 21:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825864704001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:27: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-07-19 21:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784476335000,"timestamp_ms":1784476335000,"timestamp_seconds":1784476335,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b13fb98"} 
[2026-07-19 21:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 21:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":139334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":139334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":139334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:27:10] 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-07-19 21:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825864704001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825864704001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:27:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825864704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":139334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:27:10] local.INFO: GPS data processed {"connection_id":139334,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:27:10] local.INFO: Acknowledgment sent {"connection_id":139334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:27:27] local.INFO: TCP Data received {"connection_id":137961,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:27:27] local.INFO: Processing buffer {"connection_id":137961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:27:27] local.INFO: Packet analysis {"connection_id":137961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b14"} 
[2026-07-19 21:27:27] local.INFO: Extracted packet for processing {"connection_id":137961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b14"} 
[2026-07-19 21:27:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825865216001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:27: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-07-19 21:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784476337000,"timestamp_ms":1784476337000,"timestamp_seconds":1784476337,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b140368"} 
[2026-07-19 21:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:27:27] 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-07-19 21:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825865216001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825865216001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:27:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:27:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825865216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":137961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:27:27] local.INFO: GPS data processed {"connection_id":137961,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:27:27] local.INFO: Acknowledgment sent {"connection_id":137961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:27:30] local.INFO: TCP Data received {"connection_id":136882,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:27:30] local.INFO: Processing buffer {"connection_id":136882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:27:30] local.INFO: IMEI packet received {"connection_id":136882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":136882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:27:35] local.INFO: TCP Data received {"connection_id":136882,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:27:35] local.INFO: Processing buffer {"connection_id":136882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:27:35] local.INFO: IMEI packet received {"connection_id":136882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":136882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:27:37] local.INFO: TCP Data received {"connection_id":136882,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:27:37] local.INFO: Processing buffer {"connection_id":136882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b13fb98012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:27:37] local.INFO: Packet analysis {"connection_id":136882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b13"} 
[2026-07-19 21:27:37] local.INFO: Extracted packet for processing {"connection_id":136882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b13"} 
[2026-07-19 21:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825864704001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:27: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-07-19 21:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784476335000,"timestamp_ms":1784476335000,"timestamp_seconds":1784476335,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b13fb98"} 
[2026-07-19 21:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 21:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825864704001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825864704001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:27:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825864704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":136882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:27:37] local.INFO: GPS data processed {"connection_id":136882,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:27:37] local.INFO: Acknowledgment sent {"connection_id":136882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:27:50] local.INFO: TCP Data received {"connection_id":136883,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:27:50] local.INFO: Processing buffer {"connection_id":136883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:27:50] local.INFO: IMEI packet received {"connection_id":136883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":136883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:27:55] local.INFO: TCP Data received {"connection_id":136883,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:27:55] local.INFO: Processing buffer {"connection_id":136883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:27:55] local.INFO: IMEI packet received {"connection_id":136883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":136883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:27:56] local.INFO: TCP Data received {"connection_id":136883,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:27:56] local.INFO: Processing buffer {"connection_id":136883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b140368012d196540071ff010004c004924..."} 
[2026-07-19 21:27:56] local.INFO: Packet analysis {"connection_id":136883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b14"} 
[2026-07-19 21:27:56] local.INFO: Extracted packet for processing {"connection_id":136883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b14"} 
[2026-07-19 21:27:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825865216001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:27: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-07-19 21:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784476337000,"timestamp_ms":1784476337000,"timestamp_seconds":1784476337,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b140368"} 
[2026-07-19 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-07-19 21:27: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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:27: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-07-19 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-07-19 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-07-19 21:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825865216001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825865216001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:27:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:27:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825865216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":136883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:27:56] local.INFO: GPS data processed {"connection_id":136883,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:27:56] local.INFO: Acknowledgment sent {"connection_id":136883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:28:01] local.INFO: TCP Data received {"connection_id":136989,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:28:01] local.INFO: Processing buffer {"connection_id":136989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:28:01] local.INFO: IMEI packet received {"connection_id":136989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 21:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":136989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:28:09] local.INFO: TCP Data received {"connection_id":136882,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:28:09] local.INFO: Processing buffer {"connection_id":136882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:28:09] local.INFO: Packet analysis {"connection_id":136882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:28:09] local.INFO: Extracted packet for processing {"connection_id":136882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825941760001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:28: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-07-19 21:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784476636000,"timestamp_ms":1784476636000,"timestamp_seconds":1784476636,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b189360"} 
[2026-07-19 21:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 21:28: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-07-19 21:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825941760001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825941760001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:28:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:28:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825941760001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":136882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:28:09] local.INFO: GPS data processed {"connection_id":136882,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:28:09] local.INFO: Acknowledgment sent {"connection_id":136882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:28:25] local.INFO: TCP Data received {"connection_id":137962,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137962,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:28:25] local.INFO: Processing buffer {"connection_id":137962,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:28:25] local.INFO: IMEI packet received {"connection_id":137962,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 21:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":137962,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:28:27] local.INFO: TCP Data received {"connection_id":136883,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:28:27] local.INFO: Processing buffer {"connection_id":136883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:28:27] local.INFO: Packet analysis {"connection_id":136883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:28:27] local.INFO: Extracted packet for processing {"connection_id":136883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:28:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825942272001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:28: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-07-19 21:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784476638000,"timestamp_ms":1784476638000,"timestamp_seconds":1784476638,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b189b30"} 
[2026-07-19 21:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:28:27] 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-07-19 21:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825942272001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825942272001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:28:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:28:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825942272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":136883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:28:27] local.INFO: GPS data processed {"connection_id":136883,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:28:27] local.INFO: Acknowledgment sent {"connection_id":136883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:28:30] local.INFO: TCP Data received {"connection_id":137963,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:28:30] local.INFO: Processing buffer {"connection_id":137963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:28:30] local.INFO: IMEI packet received {"connection_id":137963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":137963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:28:35] local.INFO: TCP Data received {"connection_id":137963,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:28:35] local.INFO: Processing buffer {"connection_id":137963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:28:35] local.INFO: IMEI packet received {"connection_id":137963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":137963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:28:37] local.INFO: TCP Data received {"connection_id":137963,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:28:37] local.INFO: Processing buffer {"connection_id":137963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:28:37] local.INFO: Packet analysis {"connection_id":137963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:28:37] local.INFO: Extracted packet for processing {"connection_id":137963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825941760001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:28: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-07-19 21:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784476636000,"timestamp_ms":1784476636000,"timestamp_seconds":1784476636,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b189360"} 
[2026-07-19 21:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 21:28: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-07-19 21:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825941760001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825941760001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:28:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825941760001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":137963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:28:37] local.INFO: GPS data processed {"connection_id":137963,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:28:37] local.INFO: Acknowledgment sent {"connection_id":137963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:28:50] local.INFO: TCP Data received {"connection_id":137964,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:28:50] local.INFO: Processing buffer {"connection_id":137964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:28:50] local.INFO: IMEI packet received {"connection_id":137964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":137964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:28:55] local.INFO: TCP Data received {"connection_id":137964,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:28:55] local.INFO: Processing buffer {"connection_id":137964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:28:55] local.INFO: IMEI packet received {"connection_id":137964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":137964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:28:56] local.INFO: TCP Data received {"connection_id":137964,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:28:56] local.INFO: Processing buffer {"connection_id":137964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:28:56] local.INFO: Packet analysis {"connection_id":137964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:28:56] local.INFO: Extracted packet for processing {"connection_id":137964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:28:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825942272001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:28: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-07-19 21:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784476638000,"timestamp_ms":1784476638000,"timestamp_seconds":1784476638,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b189b30"} 
[2026-07-19 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-07-19 21:28: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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:28: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-07-19 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-07-19 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-07-19 21:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825942272001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825942272001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:28:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:28:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825942272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":137964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:28:56] local.INFO: GPS data processed {"connection_id":137964,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:28:56] local.INFO: Acknowledgment sent {"connection_id":137964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:29:08] local.INFO: TCP Data received {"connection_id":137963,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:29:08] local.INFO: Processing buffer {"connection_id":137963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:29:08] local.INFO: Packet analysis {"connection_id":137963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:29:08] local.INFO: Extracted packet for processing {"connection_id":137963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825941760001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:29: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-07-19 21:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784476636000,"timestamp_ms":1784476636000,"timestamp_seconds":1784476636,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b189360"} 
[2026-07-19 21:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:29: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-07-19 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 21:29: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-07-19 21: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-07-19 21:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825941760001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825941760001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:29:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:29:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825941760001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":137963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:29:08] local.INFO: GPS data processed {"connection_id":137963,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:29:08] local.INFO: Acknowledgment sent {"connection_id":137963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:29:27] local.INFO: TCP Data received {"connection_id":137964,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:29:27] local.INFO: Processing buffer {"connection_id":137964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:29:27] local.INFO: Packet analysis {"connection_id":137964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:29:27] local.INFO: Extracted packet for processing {"connection_id":137964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:29:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825942272001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:29: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-07-19 21:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784476638000,"timestamp_ms":1784476638000,"timestamp_seconds":1784476638,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b189b30"} 
[2026-07-19 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-07-19 21:29:27] 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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 21:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825942272001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825942272001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:29:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:29:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825942272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":137964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:29:27] local.INFO: GPS data processed {"connection_id":137964,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:29:27] local.INFO: Acknowledgment sent {"connection_id":137964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:29:30] local.INFO: TCP Data received {"connection_id":136885,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:29:30] local.INFO: Processing buffer {"connection_id":136885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:29:30] local.INFO: IMEI packet received {"connection_id":136885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":136885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:29:35] local.INFO: TCP Data received {"connection_id":136885,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:29:35] local.INFO: Processing buffer {"connection_id":136885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:29:35] local.INFO: IMEI packet received {"connection_id":136885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":136885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:29:36] local.INFO: TCP Data received {"connection_id":136885,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:29:36] local.INFO: Processing buffer {"connection_id":136885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:29:36] local.INFO: Packet analysis {"connection_id":136885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:29:36] local.INFO: Extracted packet for processing {"connection_id":136885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825941760001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:29: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-07-19 21:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784476636000,"timestamp_ms":1784476636000,"timestamp_seconds":1784476636,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b189360"} 
[2026-07-19 21:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 21:29: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-07-19 21:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825941760001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825941760001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:29:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:29:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825941760001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":136885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:29:36] local.INFO: GPS data processed {"connection_id":136885,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:29:36] local.INFO: Acknowledgment sent {"connection_id":136885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:29:50] local.INFO: TCP Data received {"connection_id":136990,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:29:50] local.INFO: Processing buffer {"connection_id":136990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:29:50] local.INFO: IMEI packet received {"connection_id":136990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":136990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:29:55] local.INFO: TCP Data received {"connection_id":136990,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:29:55] local.INFO: Processing buffer {"connection_id":136990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:29:55] local.INFO: IMEI packet received {"connection_id":136990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":136990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:29:56] local.INFO: TCP Data received {"connection_id":136990,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:29:56] local.INFO: Processing buffer {"connection_id":136990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:29:56] local.INFO: Packet analysis {"connection_id":136990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:29:56] local.INFO: Extracted packet for processing {"connection_id":136990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:29:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825942272001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:29: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-07-19 21:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784476638000,"timestamp_ms":1784476638000,"timestamp_seconds":1784476638,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b189b30"} 
[2026-07-19 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-07-19 21:29: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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21: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-07-19 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-07-19 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-07-19 21:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825942272001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825942272001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:29:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:29:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825942272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":136990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:29:56] local.INFO: GPS data processed {"connection_id":136990,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:29:56] local.INFO: Acknowledgment sent {"connection_id":136990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:30:08] local.INFO: TCP Data received {"connection_id":136885,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:30:08] local.INFO: Processing buffer {"connection_id":136885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:30:08] local.INFO: Packet analysis {"connection_id":136885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:30:08] local.INFO: Extracted packet for processing {"connection_id":136885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825941760001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784476636000,"timestamp_ms":1784476636000,"timestamp_seconds":1784476636,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b189360"} 
[2026-07-19 21:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:30: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-07-19 21:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 21:30: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-07-19 21:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825941760001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825941760001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:30:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:30:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825941760001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":136885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:30:08] local.INFO: GPS data processed {"connection_id":136885,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:30:08] local.INFO: Acknowledgment sent {"connection_id":136885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:30:27] local.INFO: TCP Data received {"connection_id":136990,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:30:27] local.INFO: Processing buffer {"connection_id":136990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:30:27] local.INFO: Packet analysis {"connection_id":136990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:30:27] local.INFO: Extracted packet for processing {"connection_id":136990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:30:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825942272001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:30: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-07-19 21:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784476638000,"timestamp_ms":1784476638000,"timestamp_seconds":1784476638,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b189b30"} 
[2026-07-19 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-07-19 21:30:27] 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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 21:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825942272001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825942272001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:30:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:30:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825942272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":136990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:30:27] local.INFO: GPS data processed {"connection_id":136990,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:30:27] local.INFO: Acknowledgment sent {"connection_id":136990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:30:30] local.INFO: TCP Data received {"connection_id":139335,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:30:30] local.INFO: Processing buffer {"connection_id":139335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:30:30] local.INFO: IMEI packet received {"connection_id":139335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":139335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:30:35] local.INFO: TCP Data received {"connection_id":139335,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:30:35] local.INFO: Processing buffer {"connection_id":139335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:30:35] local.INFO: IMEI packet received {"connection_id":139335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":139335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:30:37] local.INFO: TCP Data received {"connection_id":139335,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:30:37] local.INFO: Processing buffer {"connection_id":139335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:30:37] local.INFO: Packet analysis {"connection_id":139335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:30:37] local.INFO: Extracted packet for processing {"connection_id":139335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825941760001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:30: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-07-19 21:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784476636000,"timestamp_ms":1784476636000,"timestamp_seconds":1784476636,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b189360"} 
[2026-07-19 21:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 21:30: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-07-19 21:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825941760001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825941760001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:30:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825941760001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":139335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:30:37] local.INFO: GPS data processed {"connection_id":139335,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:30:37] local.INFO: Acknowledgment sent {"connection_id":139335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:30:50] local.INFO: TCP Data received {"connection_id":137965,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:30:50] local.INFO: Processing buffer {"connection_id":137965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:30:50] local.INFO: IMEI packet received {"connection_id":137965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":137965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:30:55] local.INFO: TCP Data received {"connection_id":137965,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:30:55] local.INFO: Processing buffer {"connection_id":137965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:30:55] local.INFO: IMEI packet received {"connection_id":137965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":137965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:30:56] local.INFO: TCP Data received {"connection_id":137965,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:30:56] local.INFO: Processing buffer {"connection_id":137965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:30:56] local.INFO: Packet analysis {"connection_id":137965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:30:56] local.INFO: Extracted packet for processing {"connection_id":137965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:30:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825942272001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:30: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-07-19 21:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784476638000,"timestamp_ms":1784476638000,"timestamp_seconds":1784476638,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b189b30"} 
[2026-07-19 21:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:30: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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:30: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-07-19 21: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-07-19 21:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825942272001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825942272001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:30:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:30:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825942272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":137965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:30:56] local.INFO: GPS data processed {"connection_id":137965,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:30:56] local.INFO: Acknowledgment sent {"connection_id":137965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:31:08] local.INFO: TCP Data received {"connection_id":139335,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:31:08] local.INFO: Processing buffer {"connection_id":139335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:31:08] local.INFO: Packet analysis {"connection_id":139335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:31:08] local.INFO: Extracted packet for processing {"connection_id":139335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825941760001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784476636000,"timestamp_ms":1784476636000,"timestamp_seconds":1784476636,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b189360"} 
[2026-07-19 21:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:31: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-07-19 21: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":53,"data_length":795,"current_offset":136} 
[2026-07-19 21:31: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-07-19 21: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-07-19 21:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:31: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-07-19 21:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825941760001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825941760001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:31:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:31:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825941760001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":139335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:31:08] local.INFO: GPS data processed {"connection_id":139335,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:31:08] local.INFO: Acknowledgment sent {"connection_id":139335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:31:27] local.INFO: TCP Data received {"connection_id":137965,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:31:27] local.INFO: Processing buffer {"connection_id":137965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:31:27] local.INFO: Packet analysis {"connection_id":137965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:31:27] local.INFO: Extracted packet for processing {"connection_id":137965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:31:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825942272001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:31: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-07-19 21:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784476638000,"timestamp_ms":1784476638000,"timestamp_seconds":1784476638,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b189b30"} 
[2026-07-19 21:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:31:27] 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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825942272001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825942272001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:31:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:31:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825942272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":137965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:31:27] local.INFO: GPS data processed {"connection_id":137965,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:31:27] local.INFO: Acknowledgment sent {"connection_id":137965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:31:30] local.INFO: TCP Data received {"connection_id":136992,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:31:30] local.INFO: Processing buffer {"connection_id":136992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:31:30] local.INFO: IMEI packet received {"connection_id":136992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":136992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:31:35] local.INFO: TCP Data received {"connection_id":136992,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:31:35] local.INFO: Processing buffer {"connection_id":136992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:31:35] local.INFO: IMEI packet received {"connection_id":136992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":136992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:31:36] local.INFO: TCP Data received {"connection_id":136992,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:31:36] local.INFO: Processing buffer {"connection_id":136992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:31:36] local.INFO: Packet analysis {"connection_id":136992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:31:36] local.INFO: Extracted packet for processing {"connection_id":136992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:31:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825941760001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:31: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-07-19 21:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784476636000,"timestamp_ms":1784476636000,"timestamp_seconds":1784476636,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b189360"} 
[2026-07-19 21:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 21:31: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-07-19 21:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:31: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-07-19 21:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825941760001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825941760001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:31:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:31:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825941760001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":136992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:31:37] local.INFO: GPS data processed {"connection_id":136992,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:31:37] local.INFO: Acknowledgment sent {"connection_id":136992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:31:50] local.INFO: TCP Data received {"connection_id":136887,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:31:50] local.INFO: Processing buffer {"connection_id":136887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:31:50] local.INFO: IMEI packet received {"connection_id":136887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":136887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:31:55] local.INFO: TCP Data received {"connection_id":136887,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:31:55] local.INFO: Processing buffer {"connection_id":136887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:31:55] local.INFO: IMEI packet received {"connection_id":136887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":136887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:31:56] local.INFO: TCP Data received {"connection_id":136887,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:31:56] local.INFO: Processing buffer {"connection_id":136887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:31:56] local.INFO: Packet analysis {"connection_id":136887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:31:56] local.INFO: Extracted packet for processing {"connection_id":136887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:31:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825942272001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:31: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-07-19 21:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784476638000,"timestamp_ms":1784476638000,"timestamp_seconds":1784476638,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b189b30"} 
[2026-07-19 21:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:31: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-07-19 21:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:31: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-07-19 21:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825942272001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825942272001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:31:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:31:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825942272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":136887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:31:56] local.INFO: GPS data processed {"connection_id":136887,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:31:56] local.INFO: Acknowledgment sent {"connection_id":136887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:32:08] local.INFO: TCP Data received {"connection_id":136992,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:32:08] local.INFO: Processing buffer {"connection_id":136992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:32:08] local.INFO: Packet analysis {"connection_id":136992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:32:08] local.INFO: Extracted packet for processing {"connection_id":136992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825941760001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:32: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-07-19 21:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784476636000,"timestamp_ms":1784476636000,"timestamp_seconds":1784476636,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b189360"} 
[2026-07-19 21:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:32: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-07-19 21:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 21:32: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-07-19 21:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825941760001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825941760001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:32:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:32:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825941760001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":136992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:32:08] local.INFO: GPS data processed {"connection_id":136992,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:32:08] local.INFO: Acknowledgment sent {"connection_id":136992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:32:27] local.INFO: TCP Data received {"connection_id":136887,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:32:27] local.INFO: Processing buffer {"connection_id":136887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:32:27] local.INFO: Packet analysis {"connection_id":136887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:32:27] local.INFO: Extracted packet for processing {"connection_id":136887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:32:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825942272001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:32: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-07-19 21:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784476638000,"timestamp_ms":1784476638000,"timestamp_seconds":1784476638,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b189b30"} 
[2026-07-19 21:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:32:27] 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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825942272001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825942272001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:32:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:32:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825942272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":136887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:32:27] local.INFO: GPS data processed {"connection_id":136887,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:32:27] local.INFO: Acknowledgment sent {"connection_id":136887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:32:30] local.INFO: TCP Data received {"connection_id":137966,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:32:30] local.INFO: Processing buffer {"connection_id":137966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:32:30] local.INFO: IMEI packet received {"connection_id":137966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":137966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:32:35] local.INFO: TCP Data received {"connection_id":137966,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:32:35] local.INFO: Processing buffer {"connection_id":137966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:32:35] local.INFO: IMEI packet received {"connection_id":137966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":137966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:32:37] local.INFO: TCP Data received {"connection_id":137966,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:32:37] local.INFO: Processing buffer {"connection_id":137966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b189360012d34c58006aa4b98000900072c..."} 
[2026-07-19 21:32:37] local.INFO: Packet analysis {"connection_id":137966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:32:37] local.INFO: Extracted packet for processing {"connection_id":137966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825941760001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:32: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-07-19 21:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784476636000,"timestamp_ms":1784476636000,"timestamp_seconds":1784476636,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b189360"} 
[2026-07-19 21:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 21:32: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-07-19 21: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-07-19 21:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:32:37] 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-07-19 21:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825941760001,"66":25397,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825941760001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:32:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825941760001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":137966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:32:37] local.INFO: GPS data processed {"connection_id":137966,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:32:37] local.INFO: Acknowledgment sent {"connection_id":137966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:32:51] local.INFO: TCP Data received {"connection_id":136888,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:32:51] local.INFO: Processing buffer {"connection_id":136888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:32:51] local.INFO: IMEI packet received {"connection_id":136888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":136888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:32:55] local.INFO: TCP Data received {"connection_id":136888,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:32:55] local.INFO: Processing buffer {"connection_id":136888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:32:55] local.INFO: IMEI packet received {"connection_id":136888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":136888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:32:56] local.INFO: TCP Data received {"connection_id":136888,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:32:56] local.INFO: Processing buffer {"connection_id":136888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b189b30012d196540071ff010004c004927..."} 
[2026-07-19 21:32:56] local.INFO: Packet analysis {"connection_id":136888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:32:56] local.INFO: Extracted packet for processing {"connection_id":136888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b18"} 
[2026-07-19 21:32:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":76,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456825942272001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:32: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-07-19 21:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784476638000,"timestamp_ms":1784476638000,"timestamp_seconds":1784476638,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b189b30"} 
[2026-07-19 21:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:32: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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:32: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-07-19 21: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-07-19 21:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456825942272001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456825942272001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:32:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:32:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456825942272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":136888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:32:56] local.INFO: GPS data processed {"connection_id":136888,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:32:56] local.INFO: Acknowledgment sent {"connection_id":136888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:33:08] local.INFO: TCP Data received {"connection_id":137966,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:33:08] local.INFO: Processing buffer {"connection_id":137966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:33:08] local.INFO: Packet analysis {"connection_id":137966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:33:08] local.INFO: Extracted packet for processing {"connection_id":137966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826018816001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784476937000,"timestamp_ms":1784476937000,"timestamp_seconds":1784476937,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b1d2b28"} 
[2026-07-19 21:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:33: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-07-19 21: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":53,"data_length":795,"current_offset":136} 
[2026-07-19 21:33: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-07-19 21: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-07-19 21:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21: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-07-19 21:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826018816001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826018816001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:33:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826018816001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":137966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:33:08] local.INFO: GPS data processed {"connection_id":137966,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:33:08] local.INFO: Acknowledgment sent {"connection_id":137966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:33:27] local.INFO: TCP Data received {"connection_id":136888,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:33:27] local.INFO: Processing buffer {"connection_id":136888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:33:27] local.INFO: Packet analysis {"connection_id":136888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:33:27] local.INFO: Extracted packet for processing {"connection_id":136888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:33:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826019328001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:33: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-07-19 21:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784476939000,"timestamp_ms":1784476939000,"timestamp_seconds":1784476939,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b1d32f8"} 
[2026-07-19 21:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826019328001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826019328001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:33:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:33:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826019328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":136888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:33:27] local.INFO: GPS data processed {"connection_id":136888,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:33:27] local.INFO: Acknowledgment sent {"connection_id":136888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:33:30] local.INFO: TCP Data received {"connection_id":139336,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:33:30] local.INFO: Processing buffer {"connection_id":139336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:33:30] local.INFO: IMEI packet received {"connection_id":139336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":139336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:33:35] local.INFO: TCP Data received {"connection_id":139336,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:33:35] local.INFO: Processing buffer {"connection_id":139336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:33:35] local.INFO: IMEI packet received {"connection_id":139336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":139336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:33:36] local.INFO: TCP Data received {"connection_id":139336,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:33:36] local.INFO: Processing buffer {"connection_id":139336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:33:36] local.INFO: Packet analysis {"connection_id":139336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:33:36] local.INFO: Extracted packet for processing {"connection_id":139336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826018816001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:33: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-07-19 21:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784476937000,"timestamp_ms":1784476937000,"timestamp_seconds":1784476937,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b1d2b28"} 
[2026-07-19 21:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 21:33: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-07-19 21:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:33: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-07-19 21:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826018816001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826018816001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:33:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:33:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826018816001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":139336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:33:36] local.INFO: GPS data processed {"connection_id":139336,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:33:36] local.INFO: Acknowledgment sent {"connection_id":139336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:33:51] local.INFO: TCP Data received {"connection_id":137967,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:33:51] local.INFO: Processing buffer {"connection_id":137967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:33:51] local.INFO: IMEI packet received {"connection_id":137967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 21:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":137967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:33:55] local.INFO: TCP Data received {"connection_id":139337,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:33:55] local.INFO: Processing buffer {"connection_id":139337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:33:55] local.INFO: IMEI packet received {"connection_id":139337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":139337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:34:00] local.INFO: TCP Data received {"connection_id":139337,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:34:00] local.INFO: Processing buffer {"connection_id":139337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:34:00] local.INFO: IMEI packet received {"connection_id":139337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":139337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:34:01] local.INFO: TCP Data received {"connection_id":139337,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:34:01] local.INFO: Processing buffer {"connection_id":139337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:34:01] local.INFO: Packet analysis {"connection_id":139337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:34:01] local.INFO: Extracted packet for processing {"connection_id":139337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:34:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826019328001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:34: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-07-19 21:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784476939000,"timestamp_ms":1784476939000,"timestamp_seconds":1784476939,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b1d32f8"} 
[2026-07-19 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-07-19 21:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 21:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":139337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":139337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":139337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826019328001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826019328001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:34:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:34:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826019328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":139337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:34:01] local.INFO: GPS data processed {"connection_id":139337,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:34:01] local.INFO: Acknowledgment sent {"connection_id":139337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:34:05] local.INFO: TCP Data received {"connection_id":139337,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:34:05] local.INFO: Processing buffer {"connection_id":139337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:34:05] local.INFO: Packet analysis {"connection_id":139337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:34:05] local.INFO: Extracted packet for processing {"connection_id":139337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826019328001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784476939000,"timestamp_ms":1784476939000,"timestamp_seconds":1784476939,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b1d32f8"} 
[2026-07-19 21:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":139337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":139337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":139337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826019328001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826019328001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:34:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826019328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":139337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:34:06] local.INFO: GPS data processed {"connection_id":139337,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:34:06] local.INFO: Acknowledgment sent {"connection_id":139337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:34:08] local.INFO: TCP Data received {"connection_id":139336,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:34:08] local.INFO: Processing buffer {"connection_id":139336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:34:08] local.INFO: Packet analysis {"connection_id":139336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:34:08] local.INFO: Extracted packet for processing {"connection_id":139336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826018816001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:34: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-07-19 21:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784476937000,"timestamp_ms":1784476937000,"timestamp_seconds":1784476937,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b1d2b28"} 
[2026-07-19 21:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:34: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-07-19 21:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 21:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:34: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-07-19 21:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826018816001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826018816001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:34:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:34:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826018816001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":139336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:34:08] local.INFO: GPS data processed {"connection_id":139336,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:34:08] local.INFO: Acknowledgment sent {"connection_id":139336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:34:25] local.INFO: TCP Data received {"connection_id":139338,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:34:25] local.INFO: Processing buffer {"connection_id":139338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:34:25] local.INFO: IMEI packet received {"connection_id":139338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 21:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":139338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:34:30] local.INFO: TCP Data received {"connection_id":139339,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:34:30] local.INFO: Processing buffer {"connection_id":139339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:34:30] local.INFO: IMEI packet received {"connection_id":139339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":139339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:34:35] local.INFO: TCP Data received {"connection_id":139339,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:34:35] local.INFO: Processing buffer {"connection_id":139339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:34:35] local.INFO: IMEI packet received {"connection_id":139339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":139339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:34:36] local.INFO: TCP Data received {"connection_id":139339,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:34:36] local.INFO: Processing buffer {"connection_id":139339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:34:36] local.INFO: Packet analysis {"connection_id":139339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:34:36] local.INFO: Extracted packet for processing {"connection_id":139339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:34:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826018816001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784476937000,"timestamp_ms":1784476937000,"timestamp_seconds":1784476937,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b1d2b28"} 
[2026-07-19 21:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21: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-07-19 21: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-07-19 21:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826018816001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826018816001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:34:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:34:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826018816001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":139339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:34:36] local.INFO: GPS data processed {"connection_id":139339,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:34:36] local.INFO: Acknowledgment sent {"connection_id":139339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:34:50] local.INFO: TCP Data received {"connection_id":137968,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:34:50] local.INFO: Processing buffer {"connection_id":137968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:34:50] local.INFO: IMEI packet received {"connection_id":137968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":137968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:34:55] local.INFO: TCP Data received {"connection_id":137968,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:34:55] local.INFO: Processing buffer {"connection_id":137968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:34:55] local.INFO: IMEI packet received {"connection_id":137968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":137968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:34:56] local.INFO: TCP Data received {"connection_id":137968,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:34:56] local.INFO: Processing buffer {"connection_id":137968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:34:56] local.INFO: Packet analysis {"connection_id":137968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:34:56] local.INFO: Extracted packet for processing {"connection_id":137968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:34:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826019328001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:34: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-07-19 21:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784476939000,"timestamp_ms":1784476939000,"timestamp_seconds":1784476939,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b1d32f8"} 
[2026-07-19 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-07-19 21:34: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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21: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-07-19 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-07-19 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-07-19 21:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826019328001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826019328001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:34:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:34:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826019328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":137968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:34:56] local.INFO: GPS data processed {"connection_id":137968,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:34:56] local.INFO: Acknowledgment sent {"connection_id":137968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:35:07] local.INFO: TCP Data received {"connection_id":139339,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:35:07] local.INFO: Processing buffer {"connection_id":139339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:35:07] local.INFO: Packet analysis {"connection_id":139339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:35:07] local.INFO: Extracted packet for processing {"connection_id":139339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:35:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826018816001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:35: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-07-19 21:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784476937000,"timestamp_ms":1784476937000,"timestamp_seconds":1784476937,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b1d2b28"} 
[2026-07-19 21:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 21:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":139339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":139339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":139339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:35: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-07-19 21:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826018816001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826018816001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:35:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:35:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826018816001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":139339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:35:07] local.INFO: GPS data processed {"connection_id":139339,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:35:07] local.INFO: Acknowledgment sent {"connection_id":139339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:35:27] local.INFO: TCP Data received {"connection_id":137968,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:35:27] local.INFO: Processing buffer {"connection_id":137968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:35:27] local.INFO: Packet analysis {"connection_id":137968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:35:27] local.INFO: Extracted packet for processing {"connection_id":137968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:35:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826019328001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:35: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-07-19 21:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784476939000,"timestamp_ms":1784476939000,"timestamp_seconds":1784476939,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b1d32f8"} 
[2026-07-19 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-07-19 21:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 21:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826019328001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826019328001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:35:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:35:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826019328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":137968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:35:27] local.INFO: GPS data processed {"connection_id":137968,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:35:27] local.INFO: Acknowledgment sent {"connection_id":137968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:35:30] local.INFO: TCP Data received {"connection_id":139340,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:35:30] local.INFO: Processing buffer {"connection_id":139340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:35:30] local.INFO: IMEI packet received {"connection_id":139340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":139340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:35:35] local.INFO: TCP Data received {"connection_id":139340,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:35:35] local.INFO: Processing buffer {"connection_id":139340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:35:35] local.INFO: IMEI packet received {"connection_id":139340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":139340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:35:36] local.INFO: TCP Data received {"connection_id":139340,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:35:36] local.INFO: Processing buffer {"connection_id":139340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:35:36] local.INFO: Packet analysis {"connection_id":139340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:35:36] local.INFO: Extracted packet for processing {"connection_id":139340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826018816001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:35: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-07-19 21:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784476937000,"timestamp_ms":1784476937000,"timestamp_seconds":1784476937,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b1d2b28"} 
[2026-07-19 21:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 21:35: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-07-19 21:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:35: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-07-19 21:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826018816001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826018816001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:35:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826018816001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":139340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:35:36] local.INFO: GPS data processed {"connection_id":139340,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:35:36] local.INFO: Acknowledgment sent {"connection_id":139340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:35:50] local.INFO: TCP Data received {"connection_id":139341,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:35:50] local.INFO: Processing buffer {"connection_id":139341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:35:50] local.INFO: IMEI packet received {"connection_id":139341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":139341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:35:55] local.INFO: TCP Data received {"connection_id":139341,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:35:55] local.INFO: Processing buffer {"connection_id":139341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:35:55] local.INFO: IMEI packet received {"connection_id":139341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":139341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:35:56] local.INFO: TCP Data received {"connection_id":139341,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:35:56] local.INFO: Processing buffer {"connection_id":139341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:35:56] local.INFO: Packet analysis {"connection_id":139341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:35:56] local.INFO: Extracted packet for processing {"connection_id":139341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:35:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826019328001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:35: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-07-19 21:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784476939000,"timestamp_ms":1784476939000,"timestamp_seconds":1784476939,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b1d32f8"} 
[2026-07-19 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-07-19 21:35: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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:35: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-07-19 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-07-19 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-07-19 21:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826019328001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826019328001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:35:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:35:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826019328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":139341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:35:56] local.INFO: GPS data processed {"connection_id":139341,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:35:56] local.INFO: Acknowledgment sent {"connection_id":139341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:36:07] local.INFO: TCP Data received {"connection_id":139340,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:36:07] local.INFO: Processing buffer {"connection_id":139340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:36:07] local.INFO: Packet analysis {"connection_id":139340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:36:07] local.INFO: Extracted packet for processing {"connection_id":139340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:36:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826018816001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:36: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-07-19 21:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784476937000,"timestamp_ms":1784476937000,"timestamp_seconds":1784476937,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b1d2b28"} 
[2026-07-19 21:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 21:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":139340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":139340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":139340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:36: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-07-19 21:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826018816001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826018816001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:36:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:36:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826018816001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":139340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:36:07] local.INFO: GPS data processed {"connection_id":139340,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:36:07] local.INFO: Acknowledgment sent {"connection_id":139340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:36:27] local.INFO: TCP Data received {"connection_id":139341,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:36:27] local.INFO: Processing buffer {"connection_id":139341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:36:27] local.INFO: Packet analysis {"connection_id":139341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:36:27] local.INFO: Extracted packet for processing {"connection_id":139341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:36:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826019328001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:36: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-07-19 21:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784476939000,"timestamp_ms":1784476939000,"timestamp_seconds":1784476939,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b1d32f8"} 
[2026-07-19 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-07-19 21:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 21:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826019328001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826019328001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:36:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:36:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826019328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":139341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:36:27] local.INFO: GPS data processed {"connection_id":139341,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:36:27] local.INFO: Acknowledgment sent {"connection_id":139341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:36:30] local.INFO: TCP Data received {"connection_id":137970,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:36:30] local.INFO: Processing buffer {"connection_id":137970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:36:30] local.INFO: IMEI packet received {"connection_id":137970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":137970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:36:35] local.INFO: TCP Data received {"connection_id":137970,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:36:35] local.INFO: Processing buffer {"connection_id":137970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:36:35] local.INFO: IMEI packet received {"connection_id":137970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":137970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:36:36] local.INFO: TCP Data received {"connection_id":137970,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:36:36] local.INFO: Processing buffer {"connection_id":137970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:36:36] local.INFO: Packet analysis {"connection_id":137970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:36:36] local.INFO: Extracted packet for processing {"connection_id":137970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826018816001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:36: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-07-19 21:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784476937000,"timestamp_ms":1784476937000,"timestamp_seconds":1784476937,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b1d2b28"} 
[2026-07-19 21:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 21:36: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-07-19 21:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:36: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-07-19 21:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826018816001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826018816001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:36:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:36:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826018816001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":137970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:36:37] local.INFO: GPS data processed {"connection_id":137970,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:36:37] local.INFO: Acknowledgment sent {"connection_id":137970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:36:50] local.INFO: TCP Data received {"connection_id":136994,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:36:50] local.INFO: Processing buffer {"connection_id":136994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:36:50] local.INFO: IMEI packet received {"connection_id":136994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":136994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:36:55] local.INFO: TCP Data received {"connection_id":136994,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:36:55] local.INFO: Processing buffer {"connection_id":136994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:36:55] local.INFO: IMEI packet received {"connection_id":136994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":136994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:36:56] local.INFO: TCP Data received {"connection_id":136994,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:36:56] local.INFO: Processing buffer {"connection_id":136994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:36:56] local.INFO: Packet analysis {"connection_id":136994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:36:56] local.INFO: Extracted packet for processing {"connection_id":136994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:36:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826019328001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:36: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-07-19 21:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784476939000,"timestamp_ms":1784476939000,"timestamp_seconds":1784476939,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b1d32f8"} 
[2026-07-19 21:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:36: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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:36: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-07-19 21: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-07-19 21:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826019328001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826019328001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:36:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:36:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826019328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":136994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:36:56] local.INFO: GPS data processed {"connection_id":136994,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:36:56] local.INFO: Acknowledgment sent {"connection_id":136994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:37:08] local.INFO: TCP Data received {"connection_id":137970,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:37:08] local.INFO: Processing buffer {"connection_id":137970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:37:08] local.INFO: Packet analysis {"connection_id":137970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:37:08] local.INFO: Extracted packet for processing {"connection_id":137970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826018816001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784476937000,"timestamp_ms":1784476937000,"timestamp_seconds":1784476937,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b1d2b28"} 
[2026-07-19 21:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:37: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-07-19 21:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 21:37: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-07-19 21: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-07-19 21:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826018816001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826018816001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:37:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826018816001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":137970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:37:08] local.INFO: GPS data processed {"connection_id":137970,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:37:08] local.INFO: Acknowledgment sent {"connection_id":137970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:37:27] local.INFO: TCP Data received {"connection_id":136994,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:37:27] local.INFO: Processing buffer {"connection_id":136994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:37:27] local.INFO: Packet analysis {"connection_id":136994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:37:27] local.INFO: Extracted packet for processing {"connection_id":136994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:37:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826019328001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:37: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-07-19 21:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784476939000,"timestamp_ms":1784476939000,"timestamp_seconds":1784476939,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b1d32f8"} 
[2026-07-19 21:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826019328001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826019328001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:37:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:37:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826019328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":136994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:37:27] local.INFO: GPS data processed {"connection_id":136994,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:37:27] local.INFO: Acknowledgment sent {"connection_id":136994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:37:30] local.INFO: TCP Data received {"connection_id":136889,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:37:30] local.INFO: Processing buffer {"connection_id":136889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:37:30] local.INFO: IMEI packet received {"connection_id":136889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":136889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:37:35] local.INFO: TCP Data received {"connection_id":136889,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:37:35] local.INFO: Processing buffer {"connection_id":136889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:37:35] local.INFO: IMEI packet received {"connection_id":136889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":136889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:37:36] local.INFO: TCP Data received {"connection_id":136889,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:37:36] local.INFO: Processing buffer {"connection_id":136889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b1d2b28012d34c58006aa4b980009000729..."} 
[2026-07-19 21:37:36] local.INFO: Packet analysis {"connection_id":136889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:37:36] local.INFO: Extracted packet for processing {"connection_id":136889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826018816001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:37: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-07-19 21:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784476937000,"timestamp_ms":1784476937000,"timestamp_seconds":1784476937,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b1d2b28"} 
[2026-07-19 21:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-19 21:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:37: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-07-19 21:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826018816001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826018816001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:37:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:37:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826018816001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":136889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:37:36] local.INFO: GPS data processed {"connection_id":136889,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:37:36] local.INFO: Acknowledgment sent {"connection_id":136889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:37:50] local.INFO: TCP Data received {"connection_id":139344,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:37:50] local.INFO: Processing buffer {"connection_id":139344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:37:50] local.INFO: IMEI packet received {"connection_id":139344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":139344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:37:55] local.INFO: TCP Data received {"connection_id":139344,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:37:55] local.INFO: Processing buffer {"connection_id":139344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:37:55] local.INFO: IMEI packet received {"connection_id":139344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":139344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:37:56] local.INFO: TCP Data received {"connection_id":139344,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:37:56] local.INFO: Processing buffer {"connection_id":139344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b1d32f8012d196540071ff010003d004928..."} 
[2026-07-19 21:37:56] local.INFO: Packet analysis {"connection_id":139344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:37:56] local.INFO: Extracted packet for processing {"connection_id":139344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b1d"} 
[2026-07-19 21:37:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826019328001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:37: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-07-19 21:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784476939000,"timestamp_ms":1784476939000,"timestamp_seconds":1784476939,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b1d32f8"} 
[2026-07-19 21:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:37: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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:37: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-07-19 21: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-07-19 21:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826019328001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826019328001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:37:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:37:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826019328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":139344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:37:56] local.INFO: GPS data processed {"connection_id":139344,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:37:56] local.INFO: Acknowledgment sent {"connection_id":139344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:38:09] local.INFO: TCP Data received {"connection_id":136889,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:38:09] local.INFO: Processing buffer {"connection_id":136889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:38:09] local.INFO: Packet analysis {"connection_id":136889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:38:09] local.INFO: Extracted packet for processing {"connection_id":136889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826095872001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:38: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-07-19 21:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784477238000,"timestamp_ms":1784477238000,"timestamp_seconds":1784477238,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b21c2f0"} 
[2026-07-19 21:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 21:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:38: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-07-19 21:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826095872001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826095872001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:38:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826095872001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":136889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:38:09] local.INFO: GPS data processed {"connection_id":136889,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:38:09] local.INFO: Acknowledgment sent {"connection_id":136889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:38:27] local.INFO: TCP Data received {"connection_id":139344,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:38:27] local.INFO: Processing buffer {"connection_id":139344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:38:27] local.INFO: Packet analysis {"connection_id":139344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:38:27] local.INFO: Extracted packet for processing {"connection_id":139344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:38:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826096384001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:38: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-07-19 21:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784477240000,"timestamp_ms":1784477240000,"timestamp_seconds":1784477240,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b21cac0"} 
[2026-07-19 21:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:38:27] 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-07-19 21:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826096384001,"66":2177,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826096384001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:38:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:38:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826096384001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":139344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:38:27] local.INFO: GPS data processed {"connection_id":139344,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:38:27] local.INFO: Acknowledgment sent {"connection_id":139344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:38:30] local.INFO: TCP Data received {"connection_id":137971,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:38:30] local.INFO: Processing buffer {"connection_id":137971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:38:30] local.INFO: IMEI packet received {"connection_id":137971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":137971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:38:35] local.INFO: TCP Data received {"connection_id":137971,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:38:35] local.INFO: Processing buffer {"connection_id":137971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:38:35] local.INFO: IMEI packet received {"connection_id":137971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":137971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:38:36] local.INFO: TCP Data received {"connection_id":137971,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:38:36] local.INFO: Processing buffer {"connection_id":137971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:38:36] local.INFO: Packet analysis {"connection_id":137971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:38:36] local.INFO: Extracted packet for processing {"connection_id":137971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:38:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826095872001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:38: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-07-19 21:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784477238000,"timestamp_ms":1784477238000,"timestamp_seconds":1784477238,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b21c2f0"} 
[2026-07-19 21:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 21:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:38: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-07-19 21:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826095872001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826095872001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:38:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:38:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826095872001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":137971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:38:36] local.INFO: GPS data processed {"connection_id":137971,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:38:36] local.INFO: Acknowledgment sent {"connection_id":137971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:38:55] local.INFO: TCP Data received {"connection_id":136890,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:38:55] local.INFO: Processing buffer {"connection_id":136890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:38:55] local.INFO: IMEI packet received {"connection_id":136890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":136890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:39:00] local.INFO: TCP Data received {"connection_id":136890,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:39:00] local.INFO: Processing buffer {"connection_id":136890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:39:00] local.INFO: IMEI packet received {"connection_id":136890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":136890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:39:01] local.INFO: TCP Data received {"connection_id":136890,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:39:01] local.INFO: Processing buffer {"connection_id":136890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:39:01] local.INFO: Packet analysis {"connection_id":136890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:39:01] local.INFO: Extracted packet for processing {"connection_id":136890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:39:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826096384001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:39: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-07-19 21:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784477240000,"timestamp_ms":1784477240000,"timestamp_seconds":1784477240,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b21cac0"} 
[2026-07-19 21:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:39:01] 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-07-19 21:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826096384001,"66":2177,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826096384001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:39:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:39:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826096384001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":136890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:39:01] local.INFO: GPS data processed {"connection_id":136890,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:39:01] local.INFO: Acknowledgment sent {"connection_id":136890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:39:05] local.INFO: TCP Data received {"connection_id":136890,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:39:05] local.INFO: Processing buffer {"connection_id":136890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:39:05] local.INFO: Packet analysis {"connection_id":136890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:39:05] local.INFO: Extracted packet for processing {"connection_id":136890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826096384001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784477240000,"timestamp_ms":1784477240000,"timestamp_seconds":1784477240,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b21cac0"} 
[2026-07-19 21:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":136890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":136890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":136890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826096384001,"66":2177,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826096384001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:39:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826096384001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":136890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:39:06] local.INFO: GPS data processed {"connection_id":136890,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:39:06] local.INFO: Acknowledgment sent {"connection_id":136890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:39:07] local.INFO: TCP Data received {"connection_id":137971,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:39:07] local.INFO: Processing buffer {"connection_id":137971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:39:07] local.INFO: Packet analysis {"connection_id":137971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:39:07] local.INFO: Extracted packet for processing {"connection_id":137971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:39:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826095872001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:39: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-07-19 21:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784477238000,"timestamp_ms":1784477238000,"timestamp_seconds":1784477238,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b21c2f0"} 
[2026-07-19 21:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 21:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":137971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":137971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":137971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:39:07] 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-07-19 21:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826095872001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826095872001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:39:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:39:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826095872001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":137971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:39:07] local.INFO: GPS data processed {"connection_id":137971,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:39:07] local.INFO: Acknowledgment sent {"connection_id":137971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:39:30] local.INFO: TCP Data received {"connection_id":139346,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:39:30] local.INFO: Processing buffer {"connection_id":139346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:39:30] local.INFO: IMEI packet received {"connection_id":139346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":139346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:39:36] local.INFO: TCP Data received {"connection_id":139346,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:39:36] local.INFO: Processing buffer {"connection_id":139346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:39:36] local.INFO: IMEI packet received {"connection_id":139346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":139346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:39:37] local.INFO: TCP Data received {"connection_id":139346,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:39:37] local.INFO: Processing buffer {"connection_id":139346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:39:37] local.INFO: Packet analysis {"connection_id":139346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:39:37] local.INFO: Extracted packet for processing {"connection_id":139346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826095872001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:39: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-07-19 21:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784477238000,"timestamp_ms":1784477238000,"timestamp_seconds":1784477238,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b21c2f0"} 
[2026-07-19 21:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 21:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826095872001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826095872001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826095872001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":139346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:39:37] local.INFO: GPS data processed {"connection_id":139346,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:39:37] local.INFO: Acknowledgment sent {"connection_id":139346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:39:50] local.INFO: TCP Data received {"connection_id":136996,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:39:50] local.INFO: Processing buffer {"connection_id":136996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:39:50] local.INFO: IMEI packet received {"connection_id":136996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":136996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:39:51] local.INFO: TCP Data received {"connection_id":139345,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:39:51] local.INFO: Processing buffer {"connection_id":139345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:39:51] local.INFO: IMEI packet received {"connection_id":139345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 21:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":139345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:39:55] local.INFO: TCP Data received {"connection_id":136996,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:39:55] local.INFO: Processing buffer {"connection_id":136996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:39:55] local.INFO: IMEI packet received {"connection_id":136996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":136996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:39:56] local.INFO: TCP Data received {"connection_id":136996,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:39:56] local.INFO: Processing buffer {"connection_id":136996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:39:56] local.INFO: Packet analysis {"connection_id":136996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:39:56] local.INFO: Extracted packet for processing {"connection_id":136996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:39:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826096384001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:39: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-07-19 21:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784477240000,"timestamp_ms":1784477240000,"timestamp_seconds":1784477240,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b21cac0"} 
[2026-07-19 21:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:39: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-07-19 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:39: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-07-19 21: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-07-19 21:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826096384001,"66":2177,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826096384001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:39:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:39:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826096384001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":136996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:39:56] local.INFO: GPS data processed {"connection_id":136996,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:39:56] local.INFO: Acknowledgment sent {"connection_id":136996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:40:08] local.INFO: TCP Data received {"connection_id":139346,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:40:08] local.INFO: Processing buffer {"connection_id":139346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:40:08] local.INFO: Packet analysis {"connection_id":139346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:40:08] local.INFO: Extracted packet for processing {"connection_id":139346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:40:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826095872001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:40: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-07-19 21:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784477238000,"timestamp_ms":1784477238000,"timestamp_seconds":1784477238,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b21c2f0"} 
[2026-07-19 21:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:40: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-07-19 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 21:40: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-07-19 21: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-07-19 21:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:40: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-07-19 21:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826095872001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826095872001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:40:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:40:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826095872001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":139346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:40:08] local.INFO: GPS data processed {"connection_id":139346,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:40:08] local.INFO: Acknowledgment sent {"connection_id":139346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:40:27] local.INFO: TCP Data received {"connection_id":136996,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:40:27] local.INFO: Processing buffer {"connection_id":136996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:40:27] local.INFO: Packet analysis {"connection_id":136996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:40:27] local.INFO: Extracted packet for processing {"connection_id":136996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:40:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826096384001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:40: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-07-19 21:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784477240000,"timestamp_ms":1784477240000,"timestamp_seconds":1784477240,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b21cac0"} 
[2026-07-19 21:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:40:27] 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-07-19 21:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826096384001,"66":2177,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826096384001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:40:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:40:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826096384001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":136996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:40:27] local.INFO: GPS data processed {"connection_id":136996,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:40:27] local.INFO: Acknowledgment sent {"connection_id":136996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:40:30] local.INFO: TCP Data received {"connection_id":137972,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:40:30] local.INFO: Processing buffer {"connection_id":137972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:40:30] local.INFO: IMEI packet received {"connection_id":137972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":137972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:40:30] local.INFO: TCP Data received {"connection_id":136997,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:40:30] local.INFO: Processing buffer {"connection_id":136997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:40:30] local.INFO: IMEI packet received {"connection_id":136997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 21:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":136997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:40:35] local.INFO: TCP Data received {"connection_id":137972,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:40:35] local.INFO: Processing buffer {"connection_id":137972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:40:35] local.INFO: IMEI packet received {"connection_id":137972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":137972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:40:36] local.INFO: TCP Data received {"connection_id":137972,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:40:36] local.INFO: Processing buffer {"connection_id":137972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:40:36] local.INFO: Packet analysis {"connection_id":137972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:40:36] local.INFO: Extracted packet for processing {"connection_id":137972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:40:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826095872001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:40: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-07-19 21:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784477238000,"timestamp_ms":1784477238000,"timestamp_seconds":1784477238,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b21c2f0"} 
[2026-07-19 21:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 21:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:40: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-07-19 21:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826095872001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826095872001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:40:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:40:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826095872001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":137972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:40:36] local.INFO: GPS data processed {"connection_id":137972,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:40:36] local.INFO: Acknowledgment sent {"connection_id":137972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:40:50] local.INFO: TCP Data received {"connection_id":136891,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:40:50] local.INFO: Processing buffer {"connection_id":136891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:40:50] local.INFO: IMEI packet received {"connection_id":136891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":136891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:40:55] local.INFO: TCP Data received {"connection_id":136891,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:40:55] local.INFO: Processing buffer {"connection_id":136891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:40:55] local.INFO: IMEI packet received {"connection_id":136891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":136891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:40:56] local.INFO: TCP Data received {"connection_id":136891,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:40:56] local.INFO: Processing buffer {"connection_id":136891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:40:56] local.INFO: Packet analysis {"connection_id":136891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:40:56] local.INFO: Extracted packet for processing {"connection_id":136891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:40:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826096384001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:40: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-07-19 21:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784477240000,"timestamp_ms":1784477240000,"timestamp_seconds":1784477240,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b21cac0"} 
[2026-07-19 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-07-19 21:40: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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:40: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-07-19 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-07-19 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-07-19 21:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826096384001,"66":2177,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826096384001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:40:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:40:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826096384001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":136891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:40:56] local.INFO: GPS data processed {"connection_id":136891,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:40:56] local.INFO: Acknowledgment sent {"connection_id":136891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:41:07] local.INFO: TCP Data received {"connection_id":137972,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:41:07] local.INFO: Processing buffer {"connection_id":137972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:41:07] local.INFO: Packet analysis {"connection_id":137972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:41:07] local.INFO: Extracted packet for processing {"connection_id":137972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:41:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826095872001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784477238000,"timestamp_ms":1784477238000,"timestamp_seconds":1784477238,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b21c2f0"} 
[2026-07-19 21:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":233,"data_length":795,"current_offset":136} 
[2026-07-19 21:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":137972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":137972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":137972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:41:07] 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-07-19 21:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826095872001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826095872001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:41:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:41:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826095872001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":137972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:41:08] local.INFO: GPS data processed {"connection_id":137972,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:41:08] local.INFO: Acknowledgment sent {"connection_id":137972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:41:27] local.INFO: TCP Data received {"connection_id":136891,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:41:27] local.INFO: Processing buffer {"connection_id":136891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:41:27] local.INFO: Packet analysis {"connection_id":136891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:41:27] local.INFO: Extracted packet for processing {"connection_id":136891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:41:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826096384001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784477240000,"timestamp_ms":1784477240000,"timestamp_seconds":1784477240,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b21cac0"} 
[2026-07-19 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-07-19 21:41:27] 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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 21:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826096384001,"66":2177,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826096384001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:41:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:41:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826096384001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":136891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:41:27] local.INFO: GPS data processed {"connection_id":136891,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:41:27] local.INFO: Acknowledgment sent {"connection_id":136891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:41:30] local.INFO: TCP Data received {"connection_id":136999,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:41:30] local.INFO: Processing buffer {"connection_id":136999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:41:30] local.INFO: IMEI packet received {"connection_id":136999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":136999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:41:35] local.INFO: TCP Data received {"connection_id":136999,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:41:35] local.INFO: Processing buffer {"connection_id":136999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:41:35] local.INFO: IMEI packet received {"connection_id":136999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":136999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:41:36] local.INFO: TCP Data received {"connection_id":136999,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:41:36] local.INFO: Processing buffer {"connection_id":136999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:41:36] local.INFO: Packet analysis {"connection_id":136999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:41:36] local.INFO: Extracted packet for processing {"connection_id":136999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826095872001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784477238000,"timestamp_ms":1784477238000,"timestamp_seconds":1784477238,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b21c2f0"} 
[2026-07-19 21:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 21:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826095872001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826095872001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:41:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:41:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826095872001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":136999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:41:36] local.INFO: GPS data processed {"connection_id":136999,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:41:36] local.INFO: Acknowledgment sent {"connection_id":136999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:41:50] local.INFO: TCP Data received {"connection_id":137973,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:41:50] local.INFO: Processing buffer {"connection_id":137973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:41:50] local.INFO: IMEI packet received {"connection_id":137973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":137973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:41:55] local.INFO: TCP Data received {"connection_id":137973,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:41:55] local.INFO: Processing buffer {"connection_id":137973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:41:55] local.INFO: IMEI packet received {"connection_id":137973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":137973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:41:56] local.INFO: TCP Data received {"connection_id":137973,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:41:56] local.INFO: Processing buffer {"connection_id":137973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:41:56] local.INFO: Packet analysis {"connection_id":137973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:41:56] local.INFO: Extracted packet for processing {"connection_id":137973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:41:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826096384001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784477240000,"timestamp_ms":1784477240000,"timestamp_seconds":1784477240,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b21cac0"} 
[2026-07-19 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-07-19 21:41: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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:41: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-07-19 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-07-19 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-07-19 21:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826096384001,"66":2177,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826096384001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:41:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:41:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826096384001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":137973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:41:56] local.INFO: GPS data processed {"connection_id":137973,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:41:56] local.INFO: Acknowledgment sent {"connection_id":137973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:42:08] local.INFO: TCP Data received {"connection_id":136999,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:42:08] local.INFO: Processing buffer {"connection_id":136999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:42:08] local.INFO: Packet analysis {"connection_id":136999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:42:08] local.INFO: Extracted packet for processing {"connection_id":136999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826095872001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:42: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-07-19 21:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784477238000,"timestamp_ms":1784477238000,"timestamp_seconds":1784477238,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b21c2f0"} 
[2026-07-19 21:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:42: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-07-19 21:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 21:42: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-07-19 21:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826095872001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 21:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826095872001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:42:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:42:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826095872001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":136999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:42:08] local.INFO: GPS data processed {"connection_id":136999,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:42:08] local.INFO: Acknowledgment sent {"connection_id":136999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:42:27] local.INFO: TCP Data received {"connection_id":137973,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:42:27] local.INFO: Processing buffer {"connection_id":137973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:42:27] local.INFO: Packet analysis {"connection_id":137973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:42:27] local.INFO: Extracted packet for processing {"connection_id":137973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:42:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826096384001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:42: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-07-19 21:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784477240000,"timestamp_ms":1784477240000,"timestamp_seconds":1784477240,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b21cac0"} 
[2026-07-19 21:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:42:27] 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-07-19 21:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826096384001,"66":2177,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826096384001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:42:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:42:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826096384001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":137973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:42:27] local.INFO: GPS data processed {"connection_id":137973,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:42:27] local.INFO: Acknowledgment sent {"connection_id":137973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:42:30] local.INFO: TCP Data received {"connection_id":137000,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:42:30] local.INFO: Processing buffer {"connection_id":137000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:42:30] local.INFO: IMEI packet received {"connection_id":137000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":137000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:42:35] local.INFO: TCP Data received {"connection_id":137000,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:42:35] local.INFO: Processing buffer {"connection_id":137000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:42:35] local.INFO: IMEI packet received {"connection_id":137000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":137000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:42:36] local.INFO: TCP Data received {"connection_id":137000,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:42:36] local.INFO: Processing buffer {"connection_id":137000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b21c2f0012d34c58006aa4b98000900072b..."} 
[2026-07-19 21:42:36] local.INFO: Packet analysis {"connection_id":137000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:42:36] local.INFO: Extracted packet for processing {"connection_id":137000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":9,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826095872001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784477238000,"timestamp_ms":1784477238000,"timestamp_seconds":1784477238,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b21c2f0"} 
[2026-07-19 21:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 21:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:42: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-07-19 21:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826095872001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826095872001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:42:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:42:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826095872001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":137000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:42:36] local.INFO: GPS data processed {"connection_id":137000,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:42:36] local.INFO: Acknowledgment sent {"connection_id":137000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:42:50] local.INFO: TCP Data received {"connection_id":137001,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:42:50] local.INFO: Processing buffer {"connection_id":137001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:42:50] local.INFO: IMEI packet received {"connection_id":137001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":137001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:42:55] local.INFO: TCP Data received {"connection_id":137001,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:42:55] local.INFO: Processing buffer {"connection_id":137001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:42:55] local.INFO: IMEI packet received {"connection_id":137001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":137001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:42:56] local.INFO: TCP Data received {"connection_id":137001,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:42:56] local.INFO: Processing buffer {"connection_id":137001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b21cac0012d196540071ff010003d004925..."} 
[2026-07-19 21:42:56] local.INFO: Packet analysis {"connection_id":137001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:42:56] local.INFO: Extracted packet for processing {"connection_id":137001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b21"} 
[2026-07-19 21:42:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826096384001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784477240000,"timestamp_ms":1784477240000,"timestamp_seconds":1784477240,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b21cac0"} 
[2026-07-19 21:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:42: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-07-19 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 21:42: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-07-19 21: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-07-19 21:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826096384001,"66":2177,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826096384001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:42:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:42:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826096384001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":137001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:42:56] local.INFO: GPS data processed {"connection_id":137001,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:42:56] local.INFO: Acknowledgment sent {"connection_id":137001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:43:08] local.INFO: TCP Data received {"connection_id":137000,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:43:08] local.INFO: Processing buffer {"connection_id":137000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:43:08] local.INFO: Packet analysis {"connection_id":137000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:43:08] local.INFO: Extracted packet for processing {"connection_id":137000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:43:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":16,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826172928001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:43: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-07-19 21:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784477539000,"timestamp_ms":1784477539000,"timestamp_seconds":1784477539,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b265ab8"} 
[2026-07-19 21:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 21:43: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-07-19 21: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-07-19 21:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:43: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-07-19 21:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826172928001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826172928001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:43:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:43:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826172928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":137000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:43:08] local.INFO: GPS data processed {"connection_id":137000,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:43:08] local.INFO: Acknowledgment sent {"connection_id":137000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:43:27] local.INFO: TCP Data received {"connection_id":137001,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:43:27] local.INFO: Processing buffer {"connection_id":137001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:43:27] local.INFO: Packet analysis {"connection_id":137001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:43:27] local.INFO: Extracted packet for processing {"connection_id":137001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:43:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826173440001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:43: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-07-19 21:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784477541000,"timestamp_ms":1784477541000,"timestamp_seconds":1784477541,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b266288"} 
[2026-07-19 21:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:43:27] 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-07-19 21:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 21:43:27] 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-07-19 21: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-07-19 21:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826173440001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826173440001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:43:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:43:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826173440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":137001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:43:27] local.INFO: GPS data processed {"connection_id":137001,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:43:27] local.INFO: Acknowledgment sent {"connection_id":137001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:43:30] local.INFO: TCP Data received {"connection_id":139348,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:43:30] local.INFO: Processing buffer {"connection_id":139348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:43:30] local.INFO: IMEI packet received {"connection_id":139348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":139348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:43:35] local.INFO: TCP Data received {"connection_id":139348,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:43:35] local.INFO: Processing buffer {"connection_id":139348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:43:35] local.INFO: IMEI packet received {"connection_id":139348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":139348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:43:36] local.INFO: TCP Data received {"connection_id":139348,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:43:36] local.INFO: Processing buffer {"connection_id":139348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:43:36] local.INFO: Packet analysis {"connection_id":139348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:43:36] local.INFO: Extracted packet for processing {"connection_id":139348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":16,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826172928001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:43: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-07-19 21:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784477539000,"timestamp_ms":1784477539000,"timestamp_seconds":1784477539,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b265ab8"} 
[2026-07-19 21:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 21:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:43: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-07-19 21:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826172928001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826172928001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:43:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:43:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826172928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":139348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:43:36] local.INFO: GPS data processed {"connection_id":139348,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:43:36] local.INFO: Acknowledgment sent {"connection_id":139348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:43:41] local.INFO: TCP Data received {"connection_id":139348,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:43:41] local.INFO: Processing buffer {"connection_id":139348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:43:41] local.INFO: Packet analysis {"connection_id":139348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:43:41] local.INFO: Extracted packet for processing {"connection_id":139348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:43:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":16,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826172928001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784477539000,"timestamp_ms":1784477539000,"timestamp_seconds":1784477539,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b265ab8"} 
[2026-07-19 21:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 21:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:43: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-07-19 21:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826172928001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826172928001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:43:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:43:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826172928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":139348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:43:41] local.INFO: GPS data processed {"connection_id":139348,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:43:41] local.INFO: Acknowledgment sent {"connection_id":139348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:43:55] local.INFO: TCP Data received {"connection_id":137002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:43:55] local.INFO: Processing buffer {"connection_id":137002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:43:55] local.INFO: IMEI packet received {"connection_id":137002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":137002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:44:00] local.INFO: TCP Data received {"connection_id":137002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:44:00] local.INFO: Processing buffer {"connection_id":137002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:44:00] local.INFO: IMEI packet received {"connection_id":137002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":137002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:44:01] local.INFO: TCP Data received {"connection_id":137002,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:44:01] local.INFO: Processing buffer {"connection_id":137002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:44:01] local.INFO: Packet analysis {"connection_id":137002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:44:01] local.INFO: Extracted packet for processing {"connection_id":137002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:44:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826173440001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:44: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-07-19 21:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784477541000,"timestamp_ms":1784477541000,"timestamp_seconds":1784477541,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b266288"} 
[2026-07-19 21:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:44:01] 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-07-19 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 21:44:01] 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-07-19 21: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-07-19 21:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826173440001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826173440001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:44:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:44:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826173440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":137002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:44:01] local.INFO: GPS data processed {"connection_id":137002,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:44:01] local.INFO: Acknowledgment sent {"connection_id":137002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:44:05] local.INFO: TCP Data received {"connection_id":137002,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:44:05] local.INFO: Processing buffer {"connection_id":137002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:44:05] local.INFO: Packet analysis {"connection_id":137002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:44:05] local.INFO: Extracted packet for processing {"connection_id":137002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826173440001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784477541000,"timestamp_ms":1784477541000,"timestamp_seconds":1784477541,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b266288"} 
[2026-07-19 21:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 21:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":137002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":137002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":137002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826173440001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826173440001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:44:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:44:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826173440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":137002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:44:06] local.INFO: GPS data processed {"connection_id":137002,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:44:06] local.INFO: Acknowledgment sent {"connection_id":137002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:44:13] local.INFO: TCP Data received {"connection_id":139348,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:44:13] local.INFO: Processing buffer {"connection_id":139348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:44:13] local.INFO: Packet analysis {"connection_id":139348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:44:13] local.INFO: Extracted packet for processing {"connection_id":139348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:44:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":16,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826172928001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784477539000,"timestamp_ms":1784477539000,"timestamp_seconds":1784477539,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b265ab8"} 
[2026-07-19 21:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":31,"data_length":795,"current_offset":136} 
[2026-07-19 21:44: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-07-19 21: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-07-19 21:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":139348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":139348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":139348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:44: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-07-19 21:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826172928001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826172928001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:44:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:44:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826172928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":139348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:44:13] local.INFO: GPS data processed {"connection_id":139348,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:44:13] local.INFO: Acknowledgment sent {"connection_id":139348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:44:30] local.INFO: TCP Data received {"connection_id":136894,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:44:30] local.INFO: Processing buffer {"connection_id":136894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:44:30] local.INFO: IMEI packet received {"connection_id":136894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":136894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:44:35] local.INFO: TCP Data received {"connection_id":136894,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:44:35] local.INFO: Processing buffer {"connection_id":136894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:44:35] local.INFO: IMEI packet received {"connection_id":136894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":136894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:44:36] local.INFO: TCP Data received {"connection_id":136894,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:44:36] local.INFO: Processing buffer {"connection_id":136894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:44:36] local.INFO: Packet analysis {"connection_id":136894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:44:36] local.INFO: Extracted packet for processing {"connection_id":136894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:44:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":16,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826172928001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:44: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-07-19 21:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784477539000,"timestamp_ms":1784477539000,"timestamp_seconds":1784477539,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b265ab8"} 
[2026-07-19 21:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 21:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826172928001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826172928001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:44:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:44:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826172928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":136894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:44:36] local.INFO: GPS data processed {"connection_id":136894,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:44:36] local.INFO: Acknowledgment sent {"connection_id":136894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:44:50] local.INFO: TCP Data received {"connection_id":139349,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:44:50] local.INFO: Processing buffer {"connection_id":139349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:44:50] local.INFO: IMEI packet received {"connection_id":139349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":139349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:44:55] local.INFO: TCP Data received {"connection_id":139349,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:44:55] local.INFO: Processing buffer {"connection_id":139349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:44:55] local.INFO: IMEI packet received {"connection_id":139349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":139349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:44:56] local.INFO: TCP Data received {"connection_id":139349,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:44:56] local.INFO: Processing buffer {"connection_id":139349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:44:56] local.INFO: Packet analysis {"connection_id":139349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:44:56] local.INFO: Extracted packet for processing {"connection_id":139349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:44:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826173440001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:44: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-07-19 21:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784477541000,"timestamp_ms":1784477541000,"timestamp_seconds":1784477541,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b266288"} 
[2026-07-19 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-07-19 21:44: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-07-19 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 21:44:56] 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-07-19 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-07-19 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-07-19 21:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826173440001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826173440001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:44:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:44:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826173440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":139349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:44:56] local.INFO: GPS data processed {"connection_id":139349,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:44:56] local.INFO: Acknowledgment sent {"connection_id":139349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:45:08] local.INFO: TCP Data received {"connection_id":136894,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:45:08] local.INFO: Processing buffer {"connection_id":136894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:45:08] local.INFO: Packet analysis {"connection_id":136894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:45:08] local.INFO: Extracted packet for processing {"connection_id":136894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:45:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":16,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826172928001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:45: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-07-19 21:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784477539000,"timestamp_ms":1784477539000,"timestamp_seconds":1784477539,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b265ab8"} 
[2026-07-19 21:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 21:45: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-07-19 21: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-07-19 21:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826172928001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826172928001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:45:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:45:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826172928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":136894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:45:08] local.INFO: GPS data processed {"connection_id":136894,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:45:08] local.INFO: Acknowledgment sent {"connection_id":136894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:45:27] local.INFO: TCP Data received {"connection_id":139349,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:45:27] local.INFO: Processing buffer {"connection_id":139349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:45:27] local.INFO: Packet analysis {"connection_id":139349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:45:27] local.INFO: Extracted packet for processing {"connection_id":139349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:45:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826173440001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:45: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-07-19 21:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784477541000,"timestamp_ms":1784477541000,"timestamp_seconds":1784477541,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b266288"} 
[2026-07-19 21:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:45:27] 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-07-19 21:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 21:45:27] 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-07-19 21:45: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-07-19 21:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826173440001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826173440001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:45:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:45:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826173440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":139349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:45:27] local.INFO: GPS data processed {"connection_id":139349,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:45:27] local.INFO: Acknowledgment sent {"connection_id":139349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:45:30] local.INFO: TCP Data received {"connection_id":139351,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:45:30] local.INFO: Processing buffer {"connection_id":139351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:45:30] local.INFO: IMEI packet received {"connection_id":139351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":139351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:45:35] local.INFO: TCP Data received {"connection_id":139351,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:45:35] local.INFO: Processing buffer {"connection_id":139351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:45:35] local.INFO: IMEI packet received {"connection_id":139351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":139351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:45:36] local.INFO: TCP Data received {"connection_id":139351,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:45:36] local.INFO: Processing buffer {"connection_id":139351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:45:36] local.INFO: Packet analysis {"connection_id":139351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:45:36] local.INFO: Extracted packet for processing {"connection_id":139351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":16,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826172928001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:45: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-07-19 21:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784477539000,"timestamp_ms":1784477539000,"timestamp_seconds":1784477539,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b265ab8"} 
[2026-07-19 21:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 21:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:45: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-07-19 21:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826172928001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826172928001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:45:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826172928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":139351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:45:36] local.INFO: GPS data processed {"connection_id":139351,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:45:36] local.INFO: Acknowledgment sent {"connection_id":139351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:45:50] local.INFO: TCP Data received {"connection_id":136895,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:45:50] local.INFO: Processing buffer {"connection_id":136895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:45:50] local.INFO: IMEI packet received {"connection_id":136895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":136895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:45:55] local.INFO: TCP Data received {"connection_id":136895,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:45:55] local.INFO: Processing buffer {"connection_id":136895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:45:55] local.INFO: IMEI packet received {"connection_id":136895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":136895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:45:56] local.INFO: TCP Data received {"connection_id":136895,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:45:56] local.INFO: Processing buffer {"connection_id":136895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:45:56] local.INFO: Packet analysis {"connection_id":136895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:45:56] local.INFO: Extracted packet for processing {"connection_id":136895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:45:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826173440001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:45: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-07-19 21:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784477541000,"timestamp_ms":1784477541000,"timestamp_seconds":1784477541,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b266288"} 
[2026-07-19 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-07-19 21:45: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-07-19 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 21:45:56] 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-07-19 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-07-19 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-07-19 21:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826173440001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826173440001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:45:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:45:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826173440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":136895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:45:56] local.INFO: GPS data processed {"connection_id":136895,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:45:56] local.INFO: Acknowledgment sent {"connection_id":136895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:46:01] local.INFO: TCP Data received {"connection_id":139350,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:46:01] local.INFO: Processing buffer {"connection_id":139350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:46:01] local.INFO: IMEI packet received {"connection_id":139350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 21:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":139350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:46:08] local.INFO: TCP Data received {"connection_id":139351,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:46:08] local.INFO: Processing buffer {"connection_id":139351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:46:08] local.INFO: Packet analysis {"connection_id":139351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:46:08] local.INFO: Extracted packet for processing {"connection_id":139351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":16,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826172928001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784477539000,"timestamp_ms":1784477539000,"timestamp_seconds":1784477539,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b265ab8"} 
[2026-07-19 21:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":31,"data_length":795,"current_offset":136} 
[2026-07-19 21:46: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-07-19 21: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-07-19 21:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:46: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-07-19 21:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826172928001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826172928001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:46:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:46:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826172928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":139351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:46:08] local.INFO: GPS data processed {"connection_id":139351,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:46:08] local.INFO: Acknowledgment sent {"connection_id":139351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:46:27] local.INFO: TCP Data received {"connection_id":136895,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:46:27] local.INFO: Processing buffer {"connection_id":136895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:46:27] local.INFO: Packet analysis {"connection_id":136895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:46:27] local.INFO: Extracted packet for processing {"connection_id":136895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:46:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826173440001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:46: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-07-19 21:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784477541000,"timestamp_ms":1784477541000,"timestamp_seconds":1784477541,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b266288"} 
[2026-07-19 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-07-19 21:46:27] 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-07-19 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 21:46:27] 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-07-19 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-07-19 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-07-19 21:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826173440001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826173440001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:46:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:46:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826173440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":136895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:46:27] local.INFO: GPS data processed {"connection_id":136895,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:46:27] local.INFO: Acknowledgment sent {"connection_id":136895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:46:28] local.INFO: TCP Data received {"connection_id":139352,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:46:28] local.INFO: Processing buffer {"connection_id":139352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:46:28] local.INFO: IMEI packet received {"connection_id":139352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 21:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":139352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:46:30] local.INFO: TCP Data received {"connection_id":136896,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:46:30] local.INFO: Processing buffer {"connection_id":136896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:46:30] local.INFO: IMEI packet received {"connection_id":136896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":136896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:46:35] local.INFO: TCP Data received {"connection_id":136896,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:46:35] local.INFO: Processing buffer {"connection_id":136896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:46:35] local.INFO: IMEI packet received {"connection_id":136896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":136896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:46:36] local.INFO: TCP Data received {"connection_id":136896,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:46:36] local.INFO: Processing buffer {"connection_id":136896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:46:36] local.INFO: Packet analysis {"connection_id":136896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:46:36] local.INFO: Extracted packet for processing {"connection_id":136896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":16,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826172928001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:46: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-07-19 21:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784477539000,"timestamp_ms":1784477539000,"timestamp_seconds":1784477539,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b265ab8"} 
[2026-07-19 21:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 21:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:46: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-07-19 21:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826172928001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826172928001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:46:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:46:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826172928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":136896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:46:36] local.INFO: GPS data processed {"connection_id":136896,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:46:36] local.INFO: Acknowledgment sent {"connection_id":136896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:46:50] local.INFO: TCP Data received {"connection_id":139353,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:46:50] local.INFO: Processing buffer {"connection_id":139353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:46:50] local.INFO: IMEI packet received {"connection_id":139353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":139353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:46:55] local.INFO: TCP Data received {"connection_id":139353,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:46:55] local.INFO: Processing buffer {"connection_id":139353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:46:55] local.INFO: IMEI packet received {"connection_id":139353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":139353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:46:56] local.INFO: TCP Data received {"connection_id":139353,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:46:56] local.INFO: Processing buffer {"connection_id":139353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:46:56] local.INFO: Packet analysis {"connection_id":139353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:46:56] local.INFO: Extracted packet for processing {"connection_id":139353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:46:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826173440001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:46: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-07-19 21:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784477541000,"timestamp_ms":1784477541000,"timestamp_seconds":1784477541,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b266288"} 
[2026-07-19 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-07-19 21:46: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-07-19 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 21:46:56] 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-07-19 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-07-19 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-07-19 21:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826173440001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826173440001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:46:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:46:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826173440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":139353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:46:56] local.INFO: GPS data processed {"connection_id":139353,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:46:56] local.INFO: Acknowledgment sent {"connection_id":139353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:47:08] local.INFO: TCP Data received {"connection_id":136896,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:47:08] local.INFO: Processing buffer {"connection_id":136896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:47:08] local.INFO: Packet analysis {"connection_id":136896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:47:08] local.INFO: Extracted packet for processing {"connection_id":136896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":16,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826172928001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:47: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-07-19 21:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784477539000,"timestamp_ms":1784477539000,"timestamp_seconds":1784477539,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b265ab8"} 
[2026-07-19 21:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 21:47: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-07-19 21: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-07-19 21:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:47: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-07-19 21:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826172928001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826172928001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:47:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:47:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826172928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":136896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:47:08] local.INFO: GPS data processed {"connection_id":136896,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:47:08] local.INFO: Acknowledgment sent {"connection_id":136896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:47:27] local.INFO: TCP Data received {"connection_id":139353,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:47:27] local.INFO: Processing buffer {"connection_id":139353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:47:27] local.INFO: Packet analysis {"connection_id":139353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:47:27] local.INFO: Extracted packet for processing {"connection_id":139353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:47:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826173440001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:47: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-07-19 21:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784477541000,"timestamp_ms":1784477541000,"timestamp_seconds":1784477541,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b266288"} 
[2026-07-19 21:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:47:27] 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-07-19 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 21:47:27] 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-07-19 21: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-07-19 21:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826173440001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826173440001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:47:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:47:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826173440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":139353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:47:27] local.INFO: GPS data processed {"connection_id":139353,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:47:27] local.INFO: Acknowledgment sent {"connection_id":139353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:47:30] local.INFO: TCP Data received {"connection_id":137974,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:47:30] local.INFO: Processing buffer {"connection_id":137974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:47:30] local.INFO: IMEI packet received {"connection_id":137974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":137974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:47:35] local.INFO: TCP Data received {"connection_id":137974,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:47:35] local.INFO: Processing buffer {"connection_id":137974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:47:35] local.INFO: IMEI packet received {"connection_id":137974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":137974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:47:37] local.INFO: TCP Data received {"connection_id":137974,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:47:37] local.INFO: Processing buffer {"connection_id":137974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b265ab8012d34c58006aa4b980010000729..."} 
[2026-07-19 21:47:37] local.INFO: Packet analysis {"connection_id":137974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:47:37] local.INFO: Extracted packet for processing {"connection_id":137974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:47:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":16,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826172928001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784477539000,"timestamp_ms":1784477539000,"timestamp_seconds":1784477539,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b265ab8"} 
[2026-07-19 21:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":31,"data_length":795,"current_offset":136} 
[2026-07-19 21:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826172928001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826172928001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:47:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:47:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826172928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":137974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:47:37] local.INFO: GPS data processed {"connection_id":137974,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:47:37] local.INFO: Acknowledgment sent {"connection_id":137974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:47:50] local.INFO: TCP Data received {"connection_id":139355,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:47:50] local.INFO: Processing buffer {"connection_id":139355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:47:50] local.INFO: IMEI packet received {"connection_id":139355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":139355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:47:55] local.INFO: TCP Data received {"connection_id":139355,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:47:55] local.INFO: Processing buffer {"connection_id":139355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:47:55] local.INFO: IMEI packet received {"connection_id":139355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":139355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:47:56] local.INFO: TCP Data received {"connection_id":139355,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:47:56] local.INFO: Processing buffer {"connection_id":139355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b266288012d196540071ff010003d004926..."} 
[2026-07-19 21:47:56] local.INFO: Packet analysis {"connection_id":139355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:47:56] local.INFO: Extracted packet for processing {"connection_id":139355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b26"} 
[2026-07-19 21:47:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826173440001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:47: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-07-19 21:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784477541000,"timestamp_ms":1784477541000,"timestamp_seconds":1784477541,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b266288"} 
[2026-07-19 21:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:47: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-07-19 21:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-19 21:47:56] 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-07-19 21:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826173440001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826173440001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:47:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:47:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826173440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":139355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:47:56] local.INFO: GPS data processed {"connection_id":139355,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:47:56] local.INFO: Acknowledgment sent {"connection_id":139355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:48:08] local.INFO: TCP Data received {"connection_id":137974,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:48:08] local.INFO: Processing buffer {"connection_id":137974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:48:08] local.INFO: Packet analysis {"connection_id":137974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:48:08] local.INFO: Extracted packet for processing {"connection_id":137974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826249984001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784477840000,"timestamp_ms":1784477840000,"timestamp_seconds":1784477840,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2af280"} 
[2026-07-19 21:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:48: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-07-19 21:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 21:48: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-07-19 21:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:48: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-07-19 21:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826249984001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826249984001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:48:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826249984001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":137974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:48:08] local.INFO: GPS data processed {"connection_id":137974,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:48:08] local.INFO: Acknowledgment sent {"connection_id":137974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:48:27] local.INFO: TCP Data received {"connection_id":139355,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:48:27] local.INFO: Processing buffer {"connection_id":139355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:48:27] local.INFO: Packet analysis {"connection_id":139355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:48:27] local.INFO: Extracted packet for processing {"connection_id":139355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:48:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826250496001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784477842000,"timestamp_ms":1784477842000,"timestamp_seconds":1784477842,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2afa50"} 
[2026-07-19 21:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:48:27] 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-07-19 21:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826250496001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826250496001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:48:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:48:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826250496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":139355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:48:27] local.INFO: GPS data processed {"connection_id":139355,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:48:27] local.INFO: Acknowledgment sent {"connection_id":139355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:48:35] local.INFO: TCP Data received {"connection_id":137003,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:48:35] local.INFO: Processing buffer {"connection_id":137003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:48:35] local.INFO: IMEI packet received {"connection_id":137003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":137003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:48:40] local.INFO: TCP Data received {"connection_id":137003,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:48:40] local.INFO: Processing buffer {"connection_id":137003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:48:40] local.INFO: IMEI packet received {"connection_id":137003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":137003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:48:41] local.INFO: TCP Data received {"connection_id":137003,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:48:41] local.INFO: Processing buffer {"connection_id":137003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:48:41] local.INFO: Packet analysis {"connection_id":137003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:48:41] local.INFO: Extracted packet for processing {"connection_id":137003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:48:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826249984001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784477840000,"timestamp_ms":1784477840000,"timestamp_seconds":1784477840,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2af280"} 
[2026-07-19 21:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 21:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":137003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":137003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":137003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:48: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-07-19 21:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826249984001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826249984001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:48:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:48:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826249984001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":137003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:48:41] local.INFO: GPS data processed {"connection_id":137003,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:48:41] local.INFO: Acknowledgment sent {"connection_id":137003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:48:45] local.INFO: TCP Data received {"connection_id":137003,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:48:46] local.INFO: Processing buffer {"connection_id":137003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:48:46] local.INFO: Packet analysis {"connection_id":137003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:48:46] local.INFO: Extracted packet for processing {"connection_id":137003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:48:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826249984001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784477840000,"timestamp_ms":1784477840000,"timestamp_seconds":1784477840,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2af280"} 
[2026-07-19 21:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 21:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":137003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":137003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":137003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826249984001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826249984001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:48:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:48:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826249984001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":137003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:48:46] local.INFO: GPS data processed {"connection_id":137003,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:48:46] local.INFO: Acknowledgment sent {"connection_id":137003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:48:55] local.INFO: TCP Data received {"connection_id":139356,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:48:55] local.INFO: Processing buffer {"connection_id":139356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:48:55] local.INFO: IMEI packet received {"connection_id":139356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":139356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:49:00] local.INFO: TCP Data received {"connection_id":139356,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:49:00] local.INFO: Processing buffer {"connection_id":139356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:49:00] local.INFO: IMEI packet received {"connection_id":139356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":139356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:49:01] local.INFO: TCP Data received {"connection_id":139356,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:49:01] local.INFO: Processing buffer {"connection_id":139356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:49:01] local.INFO: Packet analysis {"connection_id":139356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:49:01] local.INFO: Extracted packet for processing {"connection_id":139356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:49:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826250496001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:49: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-07-19 21:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784477842000,"timestamp_ms":1784477842000,"timestamp_seconds":1784477842,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2afa50"} 
[2026-07-19 21:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:49:01] 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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":139356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":139356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":139356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826250496001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826250496001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:49:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:49:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826250496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":139356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:49:01] local.INFO: GPS data processed {"connection_id":139356,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:49:01] local.INFO: Acknowledgment sent {"connection_id":139356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:49:05] local.INFO: TCP Data received {"connection_id":139356,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:49:05] local.INFO: Processing buffer {"connection_id":139356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:49:05] local.INFO: Packet analysis {"connection_id":139356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:49:05] local.INFO: Extracted packet for processing {"connection_id":139356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826250496001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784477842000,"timestamp_ms":1784477842000,"timestamp_seconds":1784477842,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2afa50"} 
[2026-07-19 21:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":139356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":139356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":139356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826250496001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826250496001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:49:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:49:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826250496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":139356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:49:06] local.INFO: GPS data processed {"connection_id":139356,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:49:06] local.INFO: Acknowledgment sent {"connection_id":139356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:49:30] local.INFO: TCP Data received {"connection_id":137004,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:49:30] local.INFO: Processing buffer {"connection_id":137004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:49:30] local.INFO: IMEI packet received {"connection_id":137004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":137004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:49:35] local.INFO: TCP Data received {"connection_id":137004,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:49:35] local.INFO: Processing buffer {"connection_id":137004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:49:35] local.INFO: IMEI packet received {"connection_id":137004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":137004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:49:36] local.INFO: TCP Data received {"connection_id":137004,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:49:36] local.INFO: Processing buffer {"connection_id":137004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:49:36] local.INFO: Packet analysis {"connection_id":137004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:49:36] local.INFO: Extracted packet for processing {"connection_id":137004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826249984001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:49: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-07-19 21:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784477840000,"timestamp_ms":1784477840000,"timestamp_seconds":1784477840,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2af280"} 
[2026-07-19 21:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 21:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826249984001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826249984001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:49:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:49:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826249984001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":137004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:49:36] local.INFO: GPS data processed {"connection_id":137004,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:49:36] local.INFO: Acknowledgment sent {"connection_id":137004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:49:50] local.INFO: TCP Data received {"connection_id":139357,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:49:50] local.INFO: Processing buffer {"connection_id":139357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:49:50] local.INFO: IMEI packet received {"connection_id":139357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":139357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:49:55] local.INFO: TCP Data received {"connection_id":139357,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:49:55] local.INFO: Processing buffer {"connection_id":139357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:49:55] local.INFO: IMEI packet received {"connection_id":139357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":139357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:49:56] local.INFO: TCP Data received {"connection_id":139357,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:49:56] local.INFO: Processing buffer {"connection_id":139357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:49:56] local.INFO: Packet analysis {"connection_id":139357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:49:56] local.INFO: Extracted packet for processing {"connection_id":139357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:49:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826250496001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784477842000,"timestamp_ms":1784477842000,"timestamp_seconds":1784477842,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2afa50"} 
[2026-07-19 21:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:49: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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:49: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-07-19 21: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-07-19 21:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826250496001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826250496001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:49:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:49:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826250496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":139357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:49:56] local.INFO: GPS data processed {"connection_id":139357,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:49:56] local.INFO: Acknowledgment sent {"connection_id":139357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:50:07] local.INFO: TCP Data received {"connection_id":137004,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:50:07] local.INFO: Processing buffer {"connection_id":137004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:50:07] local.INFO: Packet analysis {"connection_id":137004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:50:07] local.INFO: Extracted packet for processing {"connection_id":137004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:50:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826249984001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:50: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-07-19 21:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784477840000,"timestamp_ms":1784477840000,"timestamp_seconds":1784477840,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2af280"} 
[2026-07-19 21:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 21:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":137004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":137004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":137004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826249984001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826249984001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:50:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:50:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826249984001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":137004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:50:07] local.INFO: GPS data processed {"connection_id":137004,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:50:07] local.INFO: Acknowledgment sent {"connection_id":137004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:50:27] local.INFO: TCP Data received {"connection_id":139357,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:50:27] local.INFO: Processing buffer {"connection_id":139357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:50:27] local.INFO: Packet analysis {"connection_id":139357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:50:27] local.INFO: Extracted packet for processing {"connection_id":139357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:50:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826250496001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784477842000,"timestamp_ms":1784477842000,"timestamp_seconds":1784477842,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2afa50"} 
[2026-07-19 21:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:50:27] 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-07-19 21:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826250496001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826250496001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:50:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:50:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826250496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":139357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:50:27] local.INFO: GPS data processed {"connection_id":139357,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:50:27] local.INFO: Acknowledgment sent {"connection_id":139357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:50:30] local.INFO: TCP Data received {"connection_id":137005,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:50:30] local.INFO: Processing buffer {"connection_id":137005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:50:30] local.INFO: IMEI packet received {"connection_id":137005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":137005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:50:35] local.INFO: TCP Data received {"connection_id":137005,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:50:35] local.INFO: Processing buffer {"connection_id":137005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:50:35] local.INFO: IMEI packet received {"connection_id":137005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":137005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:50:36] local.INFO: TCP Data received {"connection_id":137005,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:50:36] local.INFO: Processing buffer {"connection_id":137005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:50:36] local.INFO: Packet analysis {"connection_id":137005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:50:36] local.INFO: Extracted packet for processing {"connection_id":137005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826249984001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:50: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-07-19 21:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784477840000,"timestamp_ms":1784477840000,"timestamp_seconds":1784477840,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2af280"} 
[2026-07-19 21:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 21:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:50: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-07-19 21:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826249984001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826249984001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:50:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:50:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826249984001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":137005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:50:36] local.INFO: GPS data processed {"connection_id":137005,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:50:36] local.INFO: Acknowledgment sent {"connection_id":137005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:50:50] local.INFO: TCP Data received {"connection_id":139359,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:50:50] local.INFO: Processing buffer {"connection_id":139359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:50:50] local.INFO: IMEI packet received {"connection_id":139359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":139359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:50:55] local.INFO: TCP Data received {"connection_id":139359,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:50:55] local.INFO: Processing buffer {"connection_id":139359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:50:55] local.INFO: IMEI packet received {"connection_id":139359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":139359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:50:56] local.INFO: TCP Data received {"connection_id":139359,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:50:56] local.INFO: Processing buffer {"connection_id":139359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:50:56] local.INFO: Packet analysis {"connection_id":139359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:50:56] local.INFO: Extracted packet for processing {"connection_id":139359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:50:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826250496001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:50: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-07-19 21:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784477842000,"timestamp_ms":1784477842000,"timestamp_seconds":1784477842,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2afa50"} 
[2026-07-19 21:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:50: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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:50: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-07-19 21: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-07-19 21:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826250496001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826250496001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:50:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:50:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826250496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":139359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:50:56] local.INFO: GPS data processed {"connection_id":139359,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:50:56] local.INFO: Acknowledgment sent {"connection_id":139359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:51:08] local.INFO: TCP Data received {"connection_id":137005,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:51:08] local.INFO: Processing buffer {"connection_id":137005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:51:08] local.INFO: Packet analysis {"connection_id":137005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:51:08] local.INFO: Extracted packet for processing {"connection_id":137005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826249984001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784477840000,"timestamp_ms":1784477840000,"timestamp_seconds":1784477840,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2af280"} 
[2026-07-19 21:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:51: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-07-19 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 21:51: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-07-19 21: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-07-19 21:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826249984001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826249984001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:51:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:51:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826249984001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":137005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:51:08] local.INFO: GPS data processed {"connection_id":137005,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:51:08] local.INFO: Acknowledgment sent {"connection_id":137005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:51:27] local.INFO: TCP Data received {"connection_id":139359,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:51:27] local.INFO: Processing buffer {"connection_id":139359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:51:27] local.INFO: Packet analysis {"connection_id":139359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:51:27] local.INFO: Extracted packet for processing {"connection_id":139359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:51:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826250496001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:51: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-07-19 21:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784477842000,"timestamp_ms":1784477842000,"timestamp_seconds":1784477842,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2afa50"} 
[2026-07-19 21:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:51:27] 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-07-19 21:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826250496001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826250496001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:51:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:51:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826250496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":139359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:51:27] local.INFO: GPS data processed {"connection_id":139359,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:51:27] local.INFO: Acknowledgment sent {"connection_id":139359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:51:31] local.INFO: TCP Data received {"connection_id":139360,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:51:31] local.INFO: Processing buffer {"connection_id":139360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:51:31] local.INFO: IMEI packet received {"connection_id":139360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":139360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:51:35] local.INFO: TCP Data received {"connection_id":139360,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:51:35] local.INFO: Processing buffer {"connection_id":139360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:51:35] local.INFO: IMEI packet received {"connection_id":139360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":139360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:51:36] local.INFO: TCP Data received {"connection_id":139360,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:51:36] local.INFO: Processing buffer {"connection_id":139360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:51:36] local.INFO: Packet analysis {"connection_id":139360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:51:36] local.INFO: Extracted packet for processing {"connection_id":139360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826249984001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:51: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-07-19 21:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784477840000,"timestamp_ms":1784477840000,"timestamp_seconds":1784477840,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2af280"} 
[2026-07-19 21:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 21:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826249984001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826249984001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:51:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:51:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826249984001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":139360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:51:36] local.INFO: GPS data processed {"connection_id":139360,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:51:36] local.INFO: Acknowledgment sent {"connection_id":139360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:51:50] local.INFO: TCP Data received {"connection_id":137976,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:51:50] local.INFO: Processing buffer {"connection_id":137976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:51:50] local.INFO: IMEI packet received {"connection_id":137976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":137976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:51:55] local.INFO: TCP Data received {"connection_id":137976,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:51:55] local.INFO: Processing buffer {"connection_id":137976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:51:55] local.INFO: IMEI packet received {"connection_id":137976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":137976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:51:56] local.INFO: TCP Data received {"connection_id":136898,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:51:56] local.INFO: Processing buffer {"connection_id":136898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:51:56] local.INFO: IMEI packet received {"connection_id":136898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 21:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":136898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:51:56] local.INFO: TCP Data received {"connection_id":137976,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:51:56] local.INFO: Processing buffer {"connection_id":137976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:51:56] local.INFO: Packet analysis {"connection_id":137976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:51:56] local.INFO: Extracted packet for processing {"connection_id":137976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:51:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826250496001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:51: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-07-19 21:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784477842000,"timestamp_ms":1784477842000,"timestamp_seconds":1784477842,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2afa50"} 
[2026-07-19 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-07-19 21:51: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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:51: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-07-19 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-07-19 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-07-19 21:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826250496001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826250496001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:51:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:51:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826250496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":137976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:51:56] local.INFO: GPS data processed {"connection_id":137976,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:51:56] local.INFO: Acknowledgment sent {"connection_id":137976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:52:08] local.INFO: TCP Data received {"connection_id":139360,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:52:08] local.INFO: Processing buffer {"connection_id":139360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:52:08] local.INFO: Packet analysis {"connection_id":139360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:52:08] local.INFO: Extracted packet for processing {"connection_id":139360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826249984001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784477840000,"timestamp_ms":1784477840000,"timestamp_seconds":1784477840,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2af280"} 
[2026-07-19 21:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:52: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-07-19 21:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 21:52: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-07-19 21: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-07-19 21:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826249984001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826249984001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:52:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826249984001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":139360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:52:08] local.INFO: GPS data processed {"connection_id":139360,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:52:08] local.INFO: Acknowledgment sent {"connection_id":139360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:52:25] local.INFO: TCP Data received {"connection_id":137977,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:52:25] local.INFO: Processing buffer {"connection_id":137977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:52:25] local.INFO: IMEI packet received {"connection_id":137977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 21:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":137977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:52:27] local.INFO: TCP Data received {"connection_id":137976,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:52:27] local.INFO: Processing buffer {"connection_id":137976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:52:27] local.INFO: Packet analysis {"connection_id":137976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:52:27] local.INFO: Extracted packet for processing {"connection_id":137976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:52:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826250496001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:52: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-07-19 21:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784477842000,"timestamp_ms":1784477842000,"timestamp_seconds":1784477842,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2afa50"} 
[2026-07-19 21:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:52:27] 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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826250496001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826250496001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:52:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:52:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826250496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":137976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:52:27] local.INFO: GPS data processed {"connection_id":137976,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:52:27] local.INFO: Acknowledgment sent {"connection_id":137976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:52:30] local.INFO: TCP Data received {"connection_id":137006,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:52:30] local.INFO: Processing buffer {"connection_id":137006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:52:30] local.INFO: IMEI packet received {"connection_id":137006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":137006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:52:35] local.INFO: TCP Data received {"connection_id":137006,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:52:35] local.INFO: Processing buffer {"connection_id":137006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:52:35] local.INFO: IMEI packet received {"connection_id":137006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":137006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:52:36] local.INFO: TCP Data received {"connection_id":137006,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:52:36] local.INFO: Processing buffer {"connection_id":137006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2af280012d34c58006aa4b980014000729..."} 
[2026-07-19 21:52:36] local.INFO: Packet analysis {"connection_id":137006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:52:36] local.INFO: Extracted packet for processing {"connection_id":137006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826249984001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:52: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-07-19 21:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784477840000,"timestamp_ms":1784477840000,"timestamp_seconds":1784477840,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2af280"} 
[2026-07-19 21:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 21:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:52: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-07-19 21:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826249984001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826249984001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:52:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:52:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826249984001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":137006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:52:36] local.INFO: GPS data processed {"connection_id":137006,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:52:36] local.INFO: Acknowledgment sent {"connection_id":137006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:52:50] local.INFO: TCP Data received {"connection_id":137007,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:52:50] local.INFO: Processing buffer {"connection_id":137007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:52:50] local.INFO: IMEI packet received {"connection_id":137007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":137007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:52:55] local.INFO: TCP Data received {"connection_id":137007,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:52:55] local.INFO: Processing buffer {"connection_id":137007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:52:55] local.INFO: IMEI packet received {"connection_id":137007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":137007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:52:56] local.INFO: TCP Data received {"connection_id":137007,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:52:56] local.INFO: Processing buffer {"connection_id":137007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2afa50012d196540071ff010003d004924..."} 
[2026-07-19 21:52:56] local.INFO: Packet analysis {"connection_id":137007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:52:56] local.INFO: Extracted packet for processing {"connection_id":137007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2a"} 
[2026-07-19 21:52:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826250496001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:52: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-07-19 21:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784477842000,"timestamp_ms":1784477842000,"timestamp_seconds":1784477842,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2afa50"} 
[2026-07-19 21:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:52: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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:52: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-07-19 21: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-07-19 21:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826250496001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826250496001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:52:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:52:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826250496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":137007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:52:56] local.INFO: GPS data processed {"connection_id":137007,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:52:56] local.INFO: Acknowledgment sent {"connection_id":137007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:53:08] local.INFO: TCP Data received {"connection_id":137006,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:53:08] local.INFO: Processing buffer {"connection_id":137006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:53:08] local.INFO: Packet analysis {"connection_id":137006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:53:08] local.INFO: Extracted packet for processing {"connection_id":137006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:53:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826327040001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:53: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-07-19 21:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784478141000,"timestamp_ms":1784478141000,"timestamp_seconds":1784478141,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2f8a48"} 
[2026-07-19 21:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:53: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-07-19 21:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 21:53: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-07-19 21:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826327040001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826327040001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:53:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:53:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826327040001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":137006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:53:08] local.INFO: GPS data processed {"connection_id":137006,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:53:08] local.INFO: Acknowledgment sent {"connection_id":137006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:53:27] local.INFO: TCP Data received {"connection_id":137007,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:53:27] local.INFO: Processing buffer {"connection_id":137007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:53:27] local.INFO: Packet analysis {"connection_id":137007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:53:27] local.INFO: Extracted packet for processing {"connection_id":137007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:53:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826327552001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:53: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-07-19 21:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784478143000,"timestamp_ms":1784478143000,"timestamp_seconds":1784478143,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2f9218"} 
[2026-07-19 21:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:53:27] 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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826327552001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826327552001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:53:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:53:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826327552001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":137007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:53:27] local.INFO: GPS data processed {"connection_id":137007,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:53:27] local.INFO: Acknowledgment sent {"connection_id":137007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:53:35] local.INFO: TCP Data received {"connection_id":139362,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:53:35] local.INFO: Processing buffer {"connection_id":139362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:53:35] local.INFO: IMEI packet received {"connection_id":139362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":139362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:53:40] local.INFO: TCP Data received {"connection_id":139362,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:53:40] local.INFO: Processing buffer {"connection_id":139362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:53:40] local.INFO: IMEI packet received {"connection_id":139362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":139362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:53:41] local.INFO: TCP Data received {"connection_id":139362,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:53:41] local.INFO: Processing buffer {"connection_id":139362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:53:41] local.INFO: Packet analysis {"connection_id":139362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:53:41] local.INFO: Extracted packet for processing {"connection_id":139362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:53:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826327040001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784478141000,"timestamp_ms":1784478141000,"timestamp_seconds":1784478141,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2f8a48"} 
[2026-07-19 21:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 21:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:53:41] 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-07-19 21:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826327040001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826327040001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:53:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:53:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826327040001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":139362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:53:41] local.INFO: GPS data processed {"connection_id":139362,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:53:41] local.INFO: Acknowledgment sent {"connection_id":139362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:53:47] local.INFO: TCP Data received {"connection_id":139362,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:53:47] local.INFO: Processing buffer {"connection_id":139362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:53:47] local.INFO: Packet analysis {"connection_id":139362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:53:47] local.INFO: Extracted packet for processing {"connection_id":139362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826327040001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784478141000,"timestamp_ms":1784478141000,"timestamp_seconds":1784478141,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2f8a48"} 
[2026-07-19 21:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 21:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":139362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":139362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":139362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826327040001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826327040001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:53:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826327040001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":139362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:53:47] local.INFO: GPS data processed {"connection_id":139362,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:53:47] local.INFO: Acknowledgment sent {"connection_id":139362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:53:55] local.INFO: TCP Data received {"connection_id":137978,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:53:55] local.INFO: Processing buffer {"connection_id":137978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:53:55] local.INFO: IMEI packet received {"connection_id":137978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":137978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:54:00] local.INFO: TCP Data received {"connection_id":137978,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:54:00] local.INFO: Processing buffer {"connection_id":137978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:54:00] local.INFO: IMEI packet received {"connection_id":137978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":137978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:54:01] local.INFO: TCP Data received {"connection_id":137978,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:54:01] local.INFO: Processing buffer {"connection_id":137978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:54:01] local.INFO: Packet analysis {"connection_id":137978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:54:01] local.INFO: Extracted packet for processing {"connection_id":137978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:54:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826327552001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:54: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-07-19 21:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784478143000,"timestamp_ms":1784478143000,"timestamp_seconds":1784478143,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2f9218"} 
[2026-07-19 21:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:54:01] 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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826327552001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826327552001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:54:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:54:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826327552001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":137978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:54:01] local.INFO: GPS data processed {"connection_id":137978,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:54:01] local.INFO: Acknowledgment sent {"connection_id":137978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:54:05] local.INFO: TCP Data received {"connection_id":137978,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:54:06] local.INFO: Processing buffer {"connection_id":137978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:54:06] local.INFO: Packet analysis {"connection_id":137978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:54:06] local.INFO: Extracted packet for processing {"connection_id":137978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826327552001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784478143000,"timestamp_ms":1784478143000,"timestamp_seconds":1784478143,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2f9218"} 
[2026-07-19 21:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:54:06] 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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":137978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":137978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":137978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826327552001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826327552001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:54:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826327552001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":137978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:54:06] local.INFO: GPS data processed {"connection_id":137978,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:54:06] local.INFO: Acknowledgment sent {"connection_id":137978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:54:30] local.INFO: TCP Data received {"connection_id":136899,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:54:30] local.INFO: Processing buffer {"connection_id":136899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:54:30] local.INFO: IMEI packet received {"connection_id":136899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":136899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:54:35] local.INFO: TCP Data received {"connection_id":136899,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:54:35] local.INFO: Processing buffer {"connection_id":136899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:54:35] local.INFO: IMEI packet received {"connection_id":136899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":136899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:54:38] local.INFO: TCP Data received {"connection_id":136899,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:54:38] local.INFO: Processing buffer {"connection_id":136899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:54:38] local.INFO: Packet analysis {"connection_id":136899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:54:38] local.INFO: Extracted packet for processing {"connection_id":136899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:54:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826327040001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:54: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-07-19 21:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784478141000,"timestamp_ms":1784478141000,"timestamp_seconds":1784478141,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2f8a48"} 
[2026-07-19 21:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 21:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:54:38] 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-07-19 21:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826327040001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826327040001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:54:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826327040001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":136899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:54:38] local.INFO: GPS data processed {"connection_id":136899,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:54:38] local.INFO: Acknowledgment sent {"connection_id":136899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:54:50] local.INFO: TCP Data received {"connection_id":136900,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:54:50] local.INFO: Processing buffer {"connection_id":136900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:54:50] local.INFO: IMEI packet received {"connection_id":136900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":136900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:54:55] local.INFO: TCP Data received {"connection_id":136900,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:54:55] local.INFO: Processing buffer {"connection_id":136900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:54:55] local.INFO: IMEI packet received {"connection_id":136900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":136900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:54:56] local.INFO: TCP Data received {"connection_id":136900,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:54:56] local.INFO: Processing buffer {"connection_id":136900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:54:56] local.INFO: Packet analysis {"connection_id":136900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:54:56] local.INFO: Extracted packet for processing {"connection_id":136900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:54:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826327552001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:54: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-07-19 21:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784478143000,"timestamp_ms":1784478143000,"timestamp_seconds":1784478143,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2f9218"} 
[2026-07-19 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-07-19 21:54:56] 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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:54: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-07-19 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-07-19 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-07-19 21:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826327552001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826327552001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:54:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:54:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826327552001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":136900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:54:56] local.INFO: GPS data processed {"connection_id":136900,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:54:56] local.INFO: Acknowledgment sent {"connection_id":136900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:55:09] local.INFO: TCP Data received {"connection_id":136899,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:55:09] local.INFO: Processing buffer {"connection_id":136899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:55:09] local.INFO: Packet analysis {"connection_id":136899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:55:09] local.INFO: Extracted packet for processing {"connection_id":136899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826327040001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:55: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-07-19 21:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784478141000,"timestamp_ms":1784478141000,"timestamp_seconds":1784478141,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2f8a48"} 
[2026-07-19 21:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 21:55: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-07-19 21: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-07-19 21:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:55:09] 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-07-19 21:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826327040001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826327040001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:55:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:55:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826327040001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":136899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:55:09] local.INFO: GPS data processed {"connection_id":136899,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:55:09] local.INFO: Acknowledgment sent {"connection_id":136899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:55:27] local.INFO: TCP Data received {"connection_id":136900,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:55:27] local.INFO: Processing buffer {"connection_id":136900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:55:27] local.INFO: Packet analysis {"connection_id":136900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:55:27] local.INFO: Extracted packet for processing {"connection_id":136900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:55:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826327552001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:55: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-07-19 21:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784478143000,"timestamp_ms":1784478143000,"timestamp_seconds":1784478143,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2f9218"} 
[2026-07-19 21:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:55:27] 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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826327552001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826327552001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:55:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:55:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826327552001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":136900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:55:27] local.INFO: GPS data processed {"connection_id":136900,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:55:27] local.INFO: Acknowledgment sent {"connection_id":136900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:55:33] local.INFO: TCP Data received {"connection_id":137981,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:55:33] local.INFO: Processing buffer {"connection_id":137981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:55:33] local.INFO: IMEI packet received {"connection_id":137981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":137981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:55:35] local.INFO: TCP Data received {"connection_id":137981,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:55:35] local.INFO: Processing buffer {"connection_id":137981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:55:35] local.INFO: IMEI packet received {"connection_id":137981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":137981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:55:36] local.INFO: TCP Data received {"connection_id":137981,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:55:36] local.INFO: Processing buffer {"connection_id":137981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:55:36] local.INFO: Packet analysis {"connection_id":137981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:55:36] local.INFO: Extracted packet for processing {"connection_id":137981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826327040001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:55: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-07-19 21:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784478141000,"timestamp_ms":1784478141000,"timestamp_seconds":1784478141,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2f8a48"} 
[2026-07-19 21:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 21:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:55: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-07-19 21:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826327040001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826327040001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:55:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:55:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826327040001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":137981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:55:36] local.INFO: GPS data processed {"connection_id":137981,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:55:36] local.INFO: Acknowledgment sent {"connection_id":137981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:55:41] local.INFO: TCP Data received {"connection_id":137981,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:55:41] local.INFO: Processing buffer {"connection_id":137981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:55:41] local.INFO: Packet analysis {"connection_id":137981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:55:41] local.INFO: Extracted packet for processing {"connection_id":137981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:55:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826327040001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784478141000,"timestamp_ms":1784478141000,"timestamp_seconds":1784478141,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2f8a48"} 
[2026-07-19 21:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 21:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":137981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":137981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":137981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826327040001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826327040001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:55:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:55:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826327040001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":137981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:55:41] local.INFO: GPS data processed {"connection_id":137981,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:55:41] local.INFO: Acknowledgment sent {"connection_id":137981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:55:50] local.INFO: TCP Data received {"connection_id":137008,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:55:50] local.INFO: Processing buffer {"connection_id":137008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:55:50] local.INFO: IMEI packet received {"connection_id":137008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":137008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:55:55] local.INFO: TCP Data received {"connection_id":137008,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:55:55] local.INFO: Processing buffer {"connection_id":137008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:55:55] local.INFO: IMEI packet received {"connection_id":137008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":137008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:55:56] local.INFO: TCP Data received {"connection_id":137008,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:55:56] local.INFO: Processing buffer {"connection_id":137008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:55:56] local.INFO: Packet analysis {"connection_id":137008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:55:56] local.INFO: Extracted packet for processing {"connection_id":137008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:55:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826327552001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:55: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-07-19 21:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784478143000,"timestamp_ms":1784478143000,"timestamp_seconds":1784478143,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2f9218"} 
[2026-07-19 21:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:55:56] 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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:55: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-07-19 21: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-07-19 21:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826327552001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826327552001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:55:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:55:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826327552001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":137008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:55:56] local.INFO: GPS data processed {"connection_id":137008,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:55:56] local.INFO: Acknowledgment sent {"connection_id":137008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:56:14] local.INFO: TCP Data received {"connection_id":137981,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:56:14] local.INFO: Processing buffer {"connection_id":137981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:56:14] local.INFO: Packet analysis {"connection_id":137981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:56:14] local.INFO: Extracted packet for processing {"connection_id":137981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:56:14] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826327040001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:56: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-07-19 21:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784478141000,"timestamp_ms":1784478141000,"timestamp_seconds":1784478141,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2f8a48"} 
[2026-07-19 21:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:56: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-07-19 21: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 21:56: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-07-19 21: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-07-19 21:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":137981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":137981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":137981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826327040001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826327040001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:56:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:56:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826327040001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":137981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:56:14] local.INFO: GPS data processed {"connection_id":137981,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:56:14] local.INFO: Acknowledgment sent {"connection_id":137981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:56:27] local.INFO: TCP Data received {"connection_id":137008,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:56:27] local.INFO: Processing buffer {"connection_id":137008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:56:27] local.INFO: Packet analysis {"connection_id":137008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:56:27] local.INFO: Extracted packet for processing {"connection_id":137008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:56:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826327552001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:56: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-07-19 21:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784478143000,"timestamp_ms":1784478143000,"timestamp_seconds":1784478143,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2f9218"} 
[2026-07-19 21:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:56:27] 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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21: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-07-19 21:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826327552001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826327552001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:56:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:56:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826327552001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":137008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:56:27] local.INFO: GPS data processed {"connection_id":137008,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:56:27] local.INFO: Acknowledgment sent {"connection_id":137008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:56:30] local.INFO: TCP Data received {"connection_id":139363,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:56:30] local.INFO: Processing buffer {"connection_id":139363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:56:30] local.INFO: IMEI packet received {"connection_id":139363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":139363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:56:35] local.INFO: TCP Data received {"connection_id":139363,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:56:35] local.INFO: Processing buffer {"connection_id":139363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:56:35] local.INFO: IMEI packet received {"connection_id":139363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":139363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:56:37] local.INFO: TCP Data received {"connection_id":139363,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:56:37] local.INFO: Processing buffer {"connection_id":139363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:56:37] local.INFO: Packet analysis {"connection_id":139363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:56:37] local.INFO: Extracted packet for processing {"connection_id":139363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826327040001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:56: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-07-19 21:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784478141000,"timestamp_ms":1784478141000,"timestamp_seconds":1784478141,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2f8a48"} 
[2026-07-19 21:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 21:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:56: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-07-19 21:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826327040001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826327040001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:56:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826327040001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":139363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:56:37] local.INFO: GPS data processed {"connection_id":139363,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:56:37] local.INFO: Acknowledgment sent {"connection_id":139363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:56:50] local.INFO: TCP Data received {"connection_id":136901,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:56:50] local.INFO: Processing buffer {"connection_id":136901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:56:50] local.INFO: IMEI packet received {"connection_id":136901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":136901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:56:55] local.INFO: TCP Data received {"connection_id":136901,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:56:55] local.INFO: Processing buffer {"connection_id":136901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:56:55] local.INFO: IMEI packet received {"connection_id":136901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":136901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:56:56] local.INFO: TCP Data received {"connection_id":136901,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:56:56] local.INFO: Processing buffer {"connection_id":136901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:56:56] local.INFO: Packet analysis {"connection_id":136901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:56:56] local.INFO: Extracted packet for processing {"connection_id":136901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:56:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826327552001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784478143000,"timestamp_ms":1784478143000,"timestamp_seconds":1784478143,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2f9218"} 
[2026-07-19 21:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:56:56] 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-07-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:56: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-07-19 21: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-07-19 21:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826327552001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826327552001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:56:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:56:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826327552001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":136901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:56:56] local.INFO: GPS data processed {"connection_id":136901,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:56:56] local.INFO: Acknowledgment sent {"connection_id":136901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:57:09] local.INFO: TCP Data received {"connection_id":139363,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:57:09] local.INFO: Processing buffer {"connection_id":139363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:57:09] local.INFO: Packet analysis {"connection_id":139363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:57:09] local.INFO: Extracted packet for processing {"connection_id":139363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826327040001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:57: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-07-19 21:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784478141000,"timestamp_ms":1784478141000,"timestamp_seconds":1784478141,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2f8a48"} 
[2026-07-19 21:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 21:57: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-07-19 21:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:57: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-07-19 21:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826327040001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826327040001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:57:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826327040001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":139363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:57:09] local.INFO: GPS data processed {"connection_id":139363,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:57:09] local.INFO: Acknowledgment sent {"connection_id":139363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:57:27] local.INFO: TCP Data received {"connection_id":136901,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:57:27] local.INFO: Processing buffer {"connection_id":136901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:57:27] local.INFO: Packet analysis {"connection_id":136901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:57:27] local.INFO: Extracted packet for processing {"connection_id":136901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:57:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826327552001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:57: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-07-19 21:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784478143000,"timestamp_ms":1784478143000,"timestamp_seconds":1784478143,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2f9218"} 
[2026-07-19 21:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:57:27] 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-07-19 21:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826327552001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826327552001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:57:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:57:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826327552001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":136901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:57:27] local.INFO: GPS data processed {"connection_id":136901,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:57:27] local.INFO: Acknowledgment sent {"connection_id":136901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:57:30] local.INFO: TCP Data received {"connection_id":139364,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:57:30] local.INFO: Processing buffer {"connection_id":139364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:57:30] local.INFO: IMEI packet received {"connection_id":139364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":139364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:57:35] local.INFO: TCP Data received {"connection_id":139364,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:57:35] local.INFO: Processing buffer {"connection_id":139364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:57:35] local.INFO: IMEI packet received {"connection_id":139364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":139364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:57:36] local.INFO: TCP Data received {"connection_id":139364,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:57:36] local.INFO: Processing buffer {"connection_id":139364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2f8a48012d34c58006aa4b980014000728..."} 
[2026-07-19 21:57:36] local.INFO: Packet analysis {"connection_id":139364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:57:36] local.INFO: Extracted packet for processing {"connection_id":139364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826327040001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:57: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-07-19 21:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784478141000,"timestamp_ms":1784478141000,"timestamp_seconds":1784478141,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2f8a48"} 
[2026-07-19 21:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 21:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826327040001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826327040001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:57:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:57:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826327040001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":139364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:57:36] local.INFO: GPS data processed {"connection_id":139364,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:57:36] local.INFO: Acknowledgment sent {"connection_id":139364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:57:50] local.INFO: TCP Data received {"connection_id":137983,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:57:50] local.INFO: Processing buffer {"connection_id":137983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:57:50] local.INFO: IMEI packet received {"connection_id":137983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":137983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:57:51] local.INFO: TCP Data received {"connection_id":137009,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:57:51] local.INFO: Processing buffer {"connection_id":137009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:57:51] local.INFO: IMEI packet received {"connection_id":137009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 21:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":137009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:57:55] local.INFO: TCP Data received {"connection_id":137983,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:57:55] local.INFO: Processing buffer {"connection_id":137983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:57:55] local.INFO: IMEI packet received {"connection_id":137983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":137983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:57:56] local.INFO: TCP Data received {"connection_id":137983,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:57:56] local.INFO: Processing buffer {"connection_id":137983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b2f9218012d196540071ff010003d004925..."} 
[2026-07-19 21:57:56] local.INFO: Packet analysis {"connection_id":137983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:57:56] local.INFO: Extracted packet for processing {"connection_id":137983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b2f"} 
[2026-07-19 21:57:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 21:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826327552001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:57: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-07-19 21:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784478143000,"timestamp_ms":1784478143000,"timestamp_seconds":1784478143,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b2f9218"} 
[2026-07-19 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-07-19 21:57:56] 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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 21:57: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-07-19 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-07-19 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-07-19 21:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826327552001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826327552001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:57:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:57:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826327552001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":137983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:57:56] local.INFO: GPS data processed {"connection_id":137983,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:57:56] local.INFO: Acknowledgment sent {"connection_id":137983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:58:08] local.INFO: TCP Data received {"connection_id":139364,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 21:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 21:58:08] local.INFO: Processing buffer {"connection_id":139364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 21:58:08] local.INFO: Packet analysis {"connection_id":139364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 21:58:08] local.INFO: Extracted packet for processing {"connection_id":139364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 21:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826404096001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21: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-07-19 21:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784478442000,"timestamp_ms":1784478442000,"timestamp_seconds":1784478442,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b342210"} 
[2026-07-19 21:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 21: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-07-19 21:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826404096001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826404096001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:58:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826404096001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":139364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:58:08] local.INFO: GPS data processed {"connection_id":139364,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:58:08] local.INFO: Acknowledgment sent {"connection_id":139364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:58:27] local.INFO: TCP Data received {"connection_id":137983,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 21:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 21:58:27] local.INFO: Processing buffer {"connection_id":137983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 21:58:27] local.INFO: Packet analysis {"connection_id":137983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 21:58:27] local.INFO: Extracted packet for processing {"connection_id":137983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 21:58:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:58: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-07-19 21:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826404608001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:58: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-07-19 21:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784478444000,"timestamp_ms":1784478444000,"timestamp_seconds":1784478444,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3429e0"} 
[2026-07-19 21:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 21:58:27] 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-07-19 21:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826404608001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826404608001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:58:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:58:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826404608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":137983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:58:27] local.INFO: GPS data processed {"connection_id":137983,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:58:27] local.INFO: Acknowledgment sent {"connection_id":137983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:58:31] local.INFO: TCP Data received {"connection_id":139365,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139365,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:58:31] local.INFO: Processing buffer {"connection_id":139365,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 21:58:31] local.INFO: IMEI packet received {"connection_id":139365,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 21:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":139365,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:58:35] local.INFO: TCP Data received {"connection_id":139366,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:58:35] local.INFO: Processing buffer {"connection_id":139366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:58:35] local.INFO: IMEI packet received {"connection_id":139366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":139366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:58:40] local.INFO: TCP Data received {"connection_id":139366,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:58:40] local.INFO: Processing buffer {"connection_id":139366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:58:40] local.INFO: IMEI packet received {"connection_id":139366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":139366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:58:41] local.INFO: TCP Data received {"connection_id":139366,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 21:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 21:58:41] local.INFO: Processing buffer {"connection_id":139366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 21:58:41] local.INFO: Packet analysis {"connection_id":139366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 21:58:41] local.INFO: Extracted packet for processing {"connection_id":139366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 21:58:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826404096001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784478442000,"timestamp_ms":1784478442000,"timestamp_seconds":1784478442,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b342210"} 
[2026-07-19 21:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 21:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:58: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-07-19 21:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826404096001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826404096001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:58:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:58:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826404096001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":139366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:58:41] local.INFO: GPS data processed {"connection_id":139366,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:58:41] local.INFO: Acknowledgment sent {"connection_id":139366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:58:46] local.INFO: TCP Data received {"connection_id":139366,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 21:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 21:58:46] local.INFO: Processing buffer {"connection_id":139366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 21:58:46] local.INFO: Packet analysis {"connection_id":139366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 21:58:46] local.INFO: Extracted packet for processing {"connection_id":139366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 21:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826404096001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784478442000,"timestamp_ms":1784478442000,"timestamp_seconds":1784478442,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b342210"} 
[2026-07-19 21:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 21:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":139366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":139366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":139366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826404096001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826404096001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:58:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826404096001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":139366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:58:46] local.INFO: GPS data processed {"connection_id":139366,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:58:46] local.INFO: Acknowledgment sent {"connection_id":139366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:58:55] local.INFO: TCP Data received {"connection_id":137984,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:58:55] local.INFO: Processing buffer {"connection_id":137984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:58:55] local.INFO: IMEI packet received {"connection_id":137984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":137984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:59:00] local.INFO: TCP Data received {"connection_id":137984,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:59:00] local.INFO: Processing buffer {"connection_id":137984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:59:00] local.INFO: IMEI packet received {"connection_id":137984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":137984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:59:01] local.INFO: TCP Data received {"connection_id":137984,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 21:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 21:59:01] local.INFO: Processing buffer {"connection_id":137984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 21:59:01] local.INFO: Packet analysis {"connection_id":137984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 21:59:01] local.INFO: Extracted packet for processing {"connection_id":137984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 21:59:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826404608001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:59: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-07-19 21:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784478444000,"timestamp_ms":1784478444000,"timestamp_seconds":1784478444,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3429e0"} 
[2026-07-19 21:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 21:59:01] 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-07-19 21: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-07-19 21:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826404608001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826404608001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:59:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:59:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826404608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":137984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:59:01] local.INFO: GPS data processed {"connection_id":137984,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:59:01] local.INFO: Acknowledgment sent {"connection_id":137984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:59:05] local.INFO: TCP Data received {"connection_id":137984,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 21:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 21:59:05] local.INFO: Processing buffer {"connection_id":137984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 21:59:05] local.INFO: Packet analysis {"connection_id":137984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 21:59:05] local.INFO: Extracted packet for processing {"connection_id":137984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 21:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826404608001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 21:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784478444000,"timestamp_ms":1784478444000,"timestamp_seconds":1784478444,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3429e0"} 
[2026-07-19 21:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 21:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":137984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":137984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":137984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826404608001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826404608001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:59:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:59:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826404608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":137984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:59:06] local.INFO: GPS data processed {"connection_id":137984,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:59:06] local.INFO: Acknowledgment sent {"connection_id":137984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:59:30] local.INFO: TCP Data received {"connection_id":139367,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:59:30] local.INFO: Processing buffer {"connection_id":139367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:59:30] local.INFO: IMEI packet received {"connection_id":139367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 21:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":139367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:59:35] local.INFO: TCP Data received {"connection_id":139367,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:59:35] local.INFO: Processing buffer {"connection_id":139367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 21:59:35] local.INFO: IMEI packet received {"connection_id":139367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 21:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":139367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:59:36] local.INFO: TCP Data received {"connection_id":139367,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 21:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 21:59:36] local.INFO: Processing buffer {"connection_id":139367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 21:59:36] local.INFO: Packet analysis {"connection_id":139367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 21:59:36] local.INFO: Extracted packet for processing {"connection_id":139367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 21:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 21:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 21:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826404096001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 21:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 21:59: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-07-19 21:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784478442000,"timestamp_ms":1784478442000,"timestamp_seconds":1784478442,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b342210"} 
[2026-07-19 21:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 21:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 21:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 21:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 21:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 21:59: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-07-19 21:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 21:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 21:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826404096001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 21:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 21:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 21:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826404096001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:59:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 21:59:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 21:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 21:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826404096001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 21:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":139367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:59:36] local.INFO: GPS data processed {"connection_id":139367,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:59:36] local.INFO: Acknowledgment sent {"connection_id":139367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 21:59:50] local.INFO: TCP Data received {"connection_id":137011,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:59:50] local.INFO: Processing buffer {"connection_id":137011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:59:50] local.INFO: IMEI packet received {"connection_id":137011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 21:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":137011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 21:59:55] local.INFO: TCP Data received {"connection_id":137011,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:59:55] local.INFO: Processing buffer {"connection_id":137011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 21:59:55] local.INFO: IMEI packet received {"connection_id":137011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 21:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":137011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 21:59:56] local.INFO: TCP Data received {"connection_id":137011,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 21:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 21:59:56] local.INFO: Processing buffer {"connection_id":137011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 21:59:56] local.INFO: Packet analysis {"connection_id":137011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 21:59:56] local.INFO: Extracted packet for processing {"connection_id":137011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 21:59:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 21: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-07-19 21:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826404608001,"note":"Value kept but may cause issues"} 
[2026-07-19 21:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 21:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 21:59: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-07-19 21:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784478444000,"timestamp_ms":1784478444000,"timestamp_seconds":1784478444,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3429e0"} 
[2026-07-19 21:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 21:59: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-07-19 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 21:59:56] 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-07-19 21: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-07-19 21:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 21:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 21:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 21:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 21:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 21:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 21:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 21:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826404608001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 21:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 21:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 21:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826404608001,"description":"Unknown IO ID 0"} 
[2026-07-19 21:59:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 21:59:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 21:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 21:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 21:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826404608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 21:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":137011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 21:59:56] local.INFO: GPS data processed {"connection_id":137011,"processed":1,"errors":0,"total":1} 
[2026-07-19 21:59:56] local.INFO: Acknowledgment sent {"connection_id":137011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:00:09] local.INFO: TCP Data received {"connection_id":139367,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 22:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 22:00:09] local.INFO: Processing buffer {"connection_id":139367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 22:00:09] local.INFO: Packet analysis {"connection_id":139367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:00:09] local.INFO: Extracted packet for processing {"connection_id":139367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826404096001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784478442000,"timestamp_ms":1784478442000,"timestamp_seconds":1784478442,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b342210"} 
[2026-07-19 22:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:00: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-07-19 22:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826404096001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826404096001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:00:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:00:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826404096001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":139367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:00:09] local.INFO: GPS data processed {"connection_id":139367,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:00:09] local.INFO: Acknowledgment sent {"connection_id":139367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:00:27] local.INFO: TCP Data received {"connection_id":137011,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 22:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 22:00:27] local.INFO: Processing buffer {"connection_id":137011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 22:00:27] local.INFO: Packet analysis {"connection_id":137011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:00:27] local.INFO: Extracted packet for processing {"connection_id":137011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:00:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826404608001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:00: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-07-19 22:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784478444000,"timestamp_ms":1784478444000,"timestamp_seconds":1784478444,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3429e0"} 
[2026-07-19 22:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:00:27] 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-07-19 22:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826404608001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826404608001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:00:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:00:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826404608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":137011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:00:27] local.INFO: GPS data processed {"connection_id":137011,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:00:27] local.INFO: Acknowledgment sent {"connection_id":137011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:00:31] local.INFO: TCP Data received {"connection_id":136903,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:00:31] local.INFO: Processing buffer {"connection_id":136903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:00:31] local.INFO: IMEI packet received {"connection_id":136903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":136903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:00:35] local.INFO: TCP Data received {"connection_id":136903,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:00:35] local.INFO: Processing buffer {"connection_id":136903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:00:35] local.INFO: IMEI packet received {"connection_id":136903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":136903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:00:36] local.INFO: TCP Data received {"connection_id":136903,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 22:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 22:00:36] local.INFO: Processing buffer {"connection_id":136903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 22:00:36] local.INFO: Packet analysis {"connection_id":136903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:00:36] local.INFO: Extracted packet for processing {"connection_id":136903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826404096001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:00: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-07-19 22:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784478442000,"timestamp_ms":1784478442000,"timestamp_seconds":1784478442,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b342210"} 
[2026-07-19 22:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:00: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-07-19 22:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826404096001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826404096001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:00:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826404096001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":136903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:00:36] local.INFO: GPS data processed {"connection_id":136903,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:00:36] local.INFO: Acknowledgment sent {"connection_id":136903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:00:50] local.INFO: TCP Data received {"connection_id":137985,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:00:50] local.INFO: Processing buffer {"connection_id":137985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:00:50] local.INFO: IMEI packet received {"connection_id":137985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":137985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:00:55] local.INFO: TCP Data received {"connection_id":137985,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:00:55] local.INFO: Processing buffer {"connection_id":137985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:00:55] local.INFO: IMEI packet received {"connection_id":137985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":137985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:00:56] local.INFO: TCP Data received {"connection_id":137985,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 22:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 22:00:56] local.INFO: Processing buffer {"connection_id":137985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 22:00:56] local.INFO: Packet analysis {"connection_id":137985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:00:56] local.INFO: Extracted packet for processing {"connection_id":137985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:00:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826404608001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:00: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-07-19 22:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784478444000,"timestamp_ms":1784478444000,"timestamp_seconds":1784478444,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3429e0"} 
[2026-07-19 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-07-19 22:00: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-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:00:56] 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-07-19 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-07-19 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-07-19 22:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826404608001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826404608001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:00:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:00:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826404608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":137985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:00:56] local.INFO: GPS data processed {"connection_id":137985,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:00:56] local.INFO: Acknowledgment sent {"connection_id":137985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:01:08] local.INFO: TCP Data received {"connection_id":136903,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 22:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 22:01:08] local.INFO: Processing buffer {"connection_id":136903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 22:01:08] local.INFO: Packet analysis {"connection_id":136903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:01:08] local.INFO: Extracted packet for processing {"connection_id":136903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826404096001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784478442000,"timestamp_ms":1784478442000,"timestamp_seconds":1784478442,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b342210"} 
[2026-07-19 22:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:01: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-07-19 22: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-07-19 22:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826404096001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826404096001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:01:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:01:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826404096001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":136903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:01:08] local.INFO: GPS data processed {"connection_id":136903,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:01:08] local.INFO: Acknowledgment sent {"connection_id":136903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:01:27] local.INFO: TCP Data received {"connection_id":137985,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 22:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 22:01:27] local.INFO: Processing buffer {"connection_id":137985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 22:01:27] local.INFO: Packet analysis {"connection_id":137985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:01:27] local.INFO: Extracted packet for processing {"connection_id":137985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:01:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826404608001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:01: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-07-19 22:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784478444000,"timestamp_ms":1784478444000,"timestamp_seconds":1784478444,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3429e0"} 
[2026-07-19 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-07-19 22:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:01:27] 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-07-19 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-07-19 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-07-19 22:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826404608001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826404608001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:01:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:01:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826404608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":137985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:01:27] local.INFO: GPS data processed {"connection_id":137985,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:01:27] local.INFO: Acknowledgment sent {"connection_id":137985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:01:30] local.INFO: TCP Data received {"connection_id":137012,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:01:30] local.INFO: Processing buffer {"connection_id":137012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:01:30] local.INFO: IMEI packet received {"connection_id":137012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":137012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:01:35] local.INFO: TCP Data received {"connection_id":137012,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:01:35] local.INFO: Processing buffer {"connection_id":137012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:01:35] local.INFO: IMEI packet received {"connection_id":137012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":137012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:01:36] local.INFO: TCP Data received {"connection_id":137012,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 22:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 22:01:36] local.INFO: Processing buffer {"connection_id":137012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 22:01:36] local.INFO: Packet analysis {"connection_id":137012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:01:36] local.INFO: Extracted packet for processing {"connection_id":137012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826404096001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784478442000,"timestamp_ms":1784478442000,"timestamp_seconds":1784478442,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b342210"} 
[2026-07-19 22:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826404096001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826404096001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:01:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826404096001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":137012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:01:36] local.INFO: GPS data processed {"connection_id":137012,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:01:36] local.INFO: Acknowledgment sent {"connection_id":137012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:01:50] local.INFO: TCP Data received {"connection_id":136904,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:01:50] local.INFO: Processing buffer {"connection_id":136904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:01:50] local.INFO: IMEI packet received {"connection_id":136904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":136904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:01:55] local.INFO: TCP Data received {"connection_id":136904,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:01:55] local.INFO: Processing buffer {"connection_id":136904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:01:55] local.INFO: IMEI packet received {"connection_id":136904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":136904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:01:56] local.INFO: TCP Data received {"connection_id":136904,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 22:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 22:01:56] local.INFO: Processing buffer {"connection_id":136904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 22:01:56] local.INFO: Packet analysis {"connection_id":136904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:01:56] local.INFO: Extracted packet for processing {"connection_id":136904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:01:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826404608001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:01: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-07-19 22:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784478444000,"timestamp_ms":1784478444000,"timestamp_seconds":1784478444,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3429e0"} 
[2026-07-19 22:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:01: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-07-19 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:01:56] 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-07-19 22: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-07-19 22:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:01:56] 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-07-19 22:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826404608001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826404608001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:01:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:01:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826404608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":136904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:01:56] local.INFO: GPS data processed {"connection_id":136904,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:01:56] local.INFO: Acknowledgment sent {"connection_id":136904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:02:09] local.INFO: TCP Data received {"connection_id":137012,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 22:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 22:02:09] local.INFO: Processing buffer {"connection_id":137012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 22:02:09] local.INFO: Packet analysis {"connection_id":137012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:02:09] local.INFO: Extracted packet for processing {"connection_id":137012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826404096001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:02: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-07-19 22:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784478442000,"timestamp_ms":1784478442000,"timestamp_seconds":1784478442,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b342210"} 
[2026-07-19 22:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826404096001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826404096001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:02:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826404096001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":137012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:02:09] local.INFO: GPS data processed {"connection_id":137012,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:02:09] local.INFO: Acknowledgment sent {"connection_id":137012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:02:27] local.INFO: TCP Data received {"connection_id":136904,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 22:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 22:02:27] local.INFO: Processing buffer {"connection_id":136904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 22:02:27] local.INFO: Packet analysis {"connection_id":136904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:02:27] local.INFO: Extracted packet for processing {"connection_id":136904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:02:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826404608001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:02: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-07-19 22:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784478444000,"timestamp_ms":1784478444000,"timestamp_seconds":1784478444,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3429e0"} 
[2026-07-19 22:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:02:27] 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-07-19 22:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826404608001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826404608001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:02:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:02:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826404608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":136904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:02:27] local.INFO: GPS data processed {"connection_id":136904,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:02:27] local.INFO: Acknowledgment sent {"connection_id":136904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:02:30] local.INFO: TCP Data received {"connection_id":139368,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:02:30] local.INFO: Processing buffer {"connection_id":139368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:02:30] local.INFO: IMEI packet received {"connection_id":139368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":139368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:02:36] local.INFO: TCP Data received {"connection_id":139368,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:02:36] local.INFO: Processing buffer {"connection_id":139368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:02:36] local.INFO: IMEI packet received {"connection_id":139368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":139368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:02:37] local.INFO: TCP Data received {"connection_id":139368,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 22:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 22:02:37] local.INFO: Processing buffer {"connection_id":139368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b342210012d34c58006aa4b980014000729..."} 
[2026-07-19 22:02:37] local.INFO: Packet analysis {"connection_id":139368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:02:37] local.INFO: Extracted packet for processing {"connection_id":139368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826404096001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:02: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-07-19 22:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784478442000,"timestamp_ms":1784478442000,"timestamp_seconds":1784478442,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b342210"} 
[2026-07-19 22:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:02: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-07-19 22:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826404096001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826404096001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:02:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826404096001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":139368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:02:37] local.INFO: GPS data processed {"connection_id":139368,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:02:37] local.INFO: Acknowledgment sent {"connection_id":139368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:02:50] local.INFO: TCP Data received {"connection_id":137988,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:02:50] local.INFO: Processing buffer {"connection_id":137988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:02:50] local.INFO: IMEI packet received {"connection_id":137988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":137988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:02:55] local.INFO: TCP Data received {"connection_id":137988,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:02:55] local.INFO: Processing buffer {"connection_id":137988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:02:55] local.INFO: IMEI packet received {"connection_id":137988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":137988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:02:56] local.INFO: TCP Data received {"connection_id":137988,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 22:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 22:02:56] local.INFO: Processing buffer {"connection_id":137988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3429e0012d196540071ff010003d004923..."} 
[2026-07-19 22:02:56] local.INFO: Packet analysis {"connection_id":137988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:02:56] local.INFO: Extracted packet for processing {"connection_id":137988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b34"} 
[2026-07-19 22:02:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826404608001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:02: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-07-19 22:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784478444000,"timestamp_ms":1784478444000,"timestamp_seconds":1784478444,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3429e0"} 
[2026-07-19 22:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:02: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-07-19 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:02:56] 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-07-19 22: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-07-19 22:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826404608001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826404608001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:02:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:02:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826404608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":137988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:02:56] local.INFO: GPS data processed {"connection_id":137988,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:02:56] local.INFO: Acknowledgment sent {"connection_id":137988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:03:09] local.INFO: TCP Data received {"connection_id":139368,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:03:09] local.INFO: Processing buffer {"connection_id":139368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:03:09] local.INFO: Packet analysis {"connection_id":139368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:03:09] local.INFO: Extracted packet for processing {"connection_id":139368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826481152001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:03: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-07-19 22:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784478743000,"timestamp_ms":1784478743000,"timestamp_seconds":1784478743,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b38b9d8"} 
[2026-07-19 22:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:03: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-07-19 22:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:03: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-07-19 22:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826481152001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826481152001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:03:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:03:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826481152001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":139368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:03:09] local.INFO: GPS data processed {"connection_id":139368,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:03:09] local.INFO: Acknowledgment sent {"connection_id":139368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:03:27] local.INFO: TCP Data received {"connection_id":137988,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:03:27] local.INFO: Processing buffer {"connection_id":137988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:03:27] local.INFO: Packet analysis {"connection_id":137988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:03:27] local.INFO: Extracted packet for processing {"connection_id":137988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:03:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826481664001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784478745000,"timestamp_ms":1784478745000,"timestamp_seconds":1784478745,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b38c1a8"} 
[2026-07-19 22:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:03:27] 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-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826481664001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826481664001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:03:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:03:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826481664001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":137988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:03:27] local.INFO: GPS data processed {"connection_id":137988,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:03:27] local.INFO: Acknowledgment sent {"connection_id":137988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:03:35] local.INFO: TCP Data received {"connection_id":136906,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:03:35] local.INFO: Processing buffer {"connection_id":136906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:03:35] local.INFO: IMEI packet received {"connection_id":136906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":136906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:03:40] local.INFO: TCP Data received {"connection_id":136906,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:03:40] local.INFO: Processing buffer {"connection_id":136906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:03:40] local.INFO: IMEI packet received {"connection_id":136906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":136906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:03:41] local.INFO: TCP Data received {"connection_id":136906,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:03:41] local.INFO: Processing buffer {"connection_id":136906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:03:41] local.INFO: Packet analysis {"connection_id":136906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:03:41] local.INFO: Extracted packet for processing {"connection_id":136906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:03:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826481152001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784478743000,"timestamp_ms":1784478743000,"timestamp_seconds":1784478743,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b38b9d8"} 
[2026-07-19 22:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":136906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":136906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":136906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:03:41] 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-07-19 22:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826481152001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826481152001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:03:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:03:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826481152001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":136906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:03:41] local.INFO: GPS data processed {"connection_id":136906,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:03:41] local.INFO: Acknowledgment sent {"connection_id":136906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:03:50] local.INFO: TCP Data received {"connection_id":136905,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:03:50] local.INFO: Processing buffer {"connection_id":136905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:03:50] local.INFO: IMEI packet received {"connection_id":136905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 22:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":136905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:03:55] local.INFO: TCP Data received {"connection_id":139369,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:03:55] local.INFO: Processing buffer {"connection_id":139369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:03:55] local.INFO: IMEI packet received {"connection_id":139369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":139369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:04:00] local.INFO: TCP Data received {"connection_id":139369,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:04:00] local.INFO: Processing buffer {"connection_id":139369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:04:00] local.INFO: IMEI packet received {"connection_id":139369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":139369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:04:01] local.INFO: TCP Data received {"connection_id":139369,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:04:01] local.INFO: Processing buffer {"connection_id":139369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:04:01] local.INFO: Packet analysis {"connection_id":139369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:04:01] local.INFO: Extracted packet for processing {"connection_id":139369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:04:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826481664001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:04: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-07-19 22:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784478745000,"timestamp_ms":1784478745000,"timestamp_seconds":1784478745,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b38c1a8"} 
[2026-07-19 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-07-19 22:04:01] 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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 22:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":139369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":139369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":139369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826481664001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826481664001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:04:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:04:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826481664001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":139369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:04:01] local.INFO: GPS data processed {"connection_id":139369,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:04:01] local.INFO: Acknowledgment sent {"connection_id":139369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:04:05] local.INFO: TCP Data received {"connection_id":139369,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:04:05] local.INFO: Processing buffer {"connection_id":139369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:04:05] local.INFO: Packet analysis {"connection_id":139369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:04:05] local.INFO: Extracted packet for processing {"connection_id":139369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826481664001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784478745000,"timestamp_ms":1784478745000,"timestamp_seconds":1784478745,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b38c1a8"} 
[2026-07-19 22:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":139369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":139369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":139369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826481664001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826481664001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:04:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:04:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826481664001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":139369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:04:05] local.INFO: GPS data processed {"connection_id":139369,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:04:05] local.INFO: Acknowledgment sent {"connection_id":139369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:04:10] local.INFO: TCP Data received {"connection_id":139369,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:04:10] local.INFO: Processing buffer {"connection_id":139369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:04:10] local.INFO: Packet analysis {"connection_id":139369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:04:10] local.INFO: Extracted packet for processing {"connection_id":139369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:04:10] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826481664001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784478745000,"timestamp_ms":1784478745000,"timestamp_seconds":1784478745,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b38c1a8"} 
[2026-07-19 22:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":139369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":139369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":139369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826481664001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826481664001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:04:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:04:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826481664001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":139369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:04:10] local.INFO: GPS data processed {"connection_id":139369,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:04:10] local.INFO: Acknowledgment sent {"connection_id":139369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:04:13] local.INFO: TCP Data received {"connection_id":136906,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:04:13] local.INFO: Processing buffer {"connection_id":136906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:04:13] local.INFO: Packet analysis {"connection_id":136906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:04:13] local.INFO: Extracted packet for processing {"connection_id":136906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:04:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826481152001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:04: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-07-19 22:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784478743000,"timestamp_ms":1784478743000,"timestamp_seconds":1784478743,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b38b9d8"} 
[2026-07-19 22:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:04: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-07-19 22:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":136906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":136906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":136906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:04:13] 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-07-19 22:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826481152001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826481152001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:04:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:04:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826481152001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":136906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:04:13] local.INFO: GPS data processed {"connection_id":136906,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:04:13] local.INFO: Acknowledgment sent {"connection_id":136906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:04:25] local.INFO: TCP Data received {"connection_id":136907,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:04:25] local.INFO: Processing buffer {"connection_id":136907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:04:25] local.INFO: IMEI packet received {"connection_id":136907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 22:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":136907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:04:30] local.INFO: TCP Data received {"connection_id":139370,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:04:30] local.INFO: Processing buffer {"connection_id":139370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:04:30] local.INFO: IMEI packet received {"connection_id":139370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":139370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:04:35] local.INFO: TCP Data received {"connection_id":139370,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:04:35] local.INFO: Processing buffer {"connection_id":139370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:04:35] local.INFO: IMEI packet received {"connection_id":139370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":139370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:04:36] local.INFO: TCP Data received {"connection_id":139370,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:04:36] local.INFO: Processing buffer {"connection_id":139370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:04:36] local.INFO: Packet analysis {"connection_id":139370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:04:36] local.INFO: Extracted packet for processing {"connection_id":139370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826481152001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784478743000,"timestamp_ms":1784478743000,"timestamp_seconds":1784478743,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b38b9d8"} 
[2026-07-19 22:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:04: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-07-19 22:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826481152001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826481152001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:04:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:04:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826481152001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":139370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:04:36] local.INFO: GPS data processed {"connection_id":139370,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:04:36] local.INFO: Acknowledgment sent {"connection_id":139370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:04:50] local.INFO: TCP Data received {"connection_id":139371,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:04:50] local.INFO: Processing buffer {"connection_id":139371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:04:50] local.INFO: IMEI packet received {"connection_id":139371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":139371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:04:55] local.INFO: TCP Data received {"connection_id":139371,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:04:55] local.INFO: Processing buffer {"connection_id":139371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:04:55] local.INFO: IMEI packet received {"connection_id":139371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":139371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:04:56] local.INFO: TCP Data received {"connection_id":139371,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:04:56] local.INFO: Processing buffer {"connection_id":139371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:04:56] local.INFO: Packet analysis {"connection_id":139371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:04:56] local.INFO: Extracted packet for processing {"connection_id":139371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:04:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826481664001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784478745000,"timestamp_ms":1784478745000,"timestamp_seconds":1784478745,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b38c1a8"} 
[2026-07-19 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-07-19 22: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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:04: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-07-19 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-07-19 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-07-19 22:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826481664001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826481664001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:04:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:04:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826481664001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":139371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:04:56] local.INFO: GPS data processed {"connection_id":139371,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:04:56] local.INFO: Acknowledgment sent {"connection_id":139371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:05:08] local.INFO: TCP Data received {"connection_id":139370,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:05:08] local.INFO: Processing buffer {"connection_id":139370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:05:08] local.INFO: Packet analysis {"connection_id":139370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:05:08] local.INFO: Extracted packet for processing {"connection_id":139370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826481152001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784478743000,"timestamp_ms":1784478743000,"timestamp_seconds":1784478743,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b38b9d8"} 
[2026-07-19 22:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:05: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-07-19 22: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-07-19 22:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826481152001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826481152001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:05:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826481152001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":139370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:05:08] local.INFO: GPS data processed {"connection_id":139370,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:05:08] local.INFO: Acknowledgment sent {"connection_id":139370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:05:27] local.INFO: TCP Data received {"connection_id":139371,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:05:27] local.INFO: Processing buffer {"connection_id":139371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:05:27] local.INFO: Packet analysis {"connection_id":139371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:05:27] local.INFO: Extracted packet for processing {"connection_id":139371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:05:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826481664001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:05: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-07-19 22:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784478745000,"timestamp_ms":1784478745000,"timestamp_seconds":1784478745,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b38c1a8"} 
[2026-07-19 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-07-19 22:05:27] 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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 22:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826481664001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826481664001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:05:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:05:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826481664001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":139371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:05:27] local.INFO: GPS data processed {"connection_id":139371,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:05:27] local.INFO: Acknowledgment sent {"connection_id":139371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:05:30] local.INFO: TCP Data received {"connection_id":137013,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:05:30] local.INFO: Processing buffer {"connection_id":137013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:05:30] local.INFO: IMEI packet received {"connection_id":137013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":137013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:05:35] local.INFO: TCP Data received {"connection_id":137013,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:05:35] local.INFO: Processing buffer {"connection_id":137013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:05:35] local.INFO: IMEI packet received {"connection_id":137013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":137013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:05:36] local.INFO: TCP Data received {"connection_id":137013,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:05:36] local.INFO: Processing buffer {"connection_id":137013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:05:36] local.INFO: Packet analysis {"connection_id":137013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:05:36] local.INFO: Extracted packet for processing {"connection_id":137013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:05:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826481152001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:05: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-07-19 22:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784478743000,"timestamp_ms":1784478743000,"timestamp_seconds":1784478743,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b38b9d8"} 
[2026-07-19 22:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:05: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-07-19 22:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826481152001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826481152001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:05:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:05:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826481152001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":137013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:05:36] local.INFO: GPS data processed {"connection_id":137013,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:05:36] local.INFO: Acknowledgment sent {"connection_id":137013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:05:50] local.INFO: TCP Data received {"connection_id":137989,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:05:50] local.INFO: Processing buffer {"connection_id":137989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:05:50] local.INFO: IMEI packet received {"connection_id":137989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":137989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:05:55] local.INFO: TCP Data received {"connection_id":137989,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:05:55] local.INFO: Processing buffer {"connection_id":137989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:05:55] local.INFO: IMEI packet received {"connection_id":137989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":137989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:05:56] local.INFO: TCP Data received {"connection_id":137989,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:05:56] local.INFO: Processing buffer {"connection_id":137989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:05:56] local.INFO: Packet analysis {"connection_id":137989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:05:56] local.INFO: Extracted packet for processing {"connection_id":137989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:05:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826481664001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:05: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-07-19 22:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784478745000,"timestamp_ms":1784478745000,"timestamp_seconds":1784478745,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b38c1a8"} 
[2026-07-19 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-07-19 22:05: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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:05: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-07-19 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-07-19 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-07-19 22:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826481664001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826481664001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:05:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:05:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826481664001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":137989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:05:56] local.INFO: GPS data processed {"connection_id":137989,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:05:56] local.INFO: Acknowledgment sent {"connection_id":137989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:06:08] local.INFO: TCP Data received {"connection_id":137013,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:06:08] local.INFO: Processing buffer {"connection_id":137013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:06:08] local.INFO: Packet analysis {"connection_id":137013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:06:08] local.INFO: Extracted packet for processing {"connection_id":137013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826481152001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:06: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-07-19 22:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784478743000,"timestamp_ms":1784478743000,"timestamp_seconds":1784478743,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b38b9d8"} 
[2026-07-19 22:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:06: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-07-19 22: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-07-19 22:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826481152001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826481152001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:06:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:06:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826481152001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":137013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:06:08] local.INFO: GPS data processed {"connection_id":137013,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:06:08] local.INFO: Acknowledgment sent {"connection_id":137013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:06:27] local.INFO: TCP Data received {"connection_id":137989,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:06:27] local.INFO: Processing buffer {"connection_id":137989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:06:27] local.INFO: Packet analysis {"connection_id":137989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:06:27] local.INFO: Extracted packet for processing {"connection_id":137989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:06:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826481664001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:06: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-07-19 22:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784478745000,"timestamp_ms":1784478745000,"timestamp_seconds":1784478745,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b38c1a8"} 
[2026-07-19 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-07-19 22:06:27] 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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 22:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826481664001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826481664001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:06:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:06:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826481664001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":137989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:06:27] local.INFO: GPS data processed {"connection_id":137989,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:06:27] local.INFO: Acknowledgment sent {"connection_id":137989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:06:30] local.INFO: TCP Data received {"connection_id":139373,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:06:30] local.INFO: Processing buffer {"connection_id":139373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:06:30] local.INFO: IMEI packet received {"connection_id":139373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":139373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:06:35] local.INFO: TCP Data received {"connection_id":139373,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:06:35] local.INFO: Processing buffer {"connection_id":139373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:06:35] local.INFO: IMEI packet received {"connection_id":139373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":139373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:06:36] local.INFO: TCP Data received {"connection_id":139373,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:06:36] local.INFO: Processing buffer {"connection_id":139373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:06:36] local.INFO: Packet analysis {"connection_id":139373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:06:36] local.INFO: Extracted packet for processing {"connection_id":139373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826481152001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784478743000,"timestamp_ms":1784478743000,"timestamp_seconds":1784478743,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b38b9d8"} 
[2026-07-19 22:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:06: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-07-19 22:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826481152001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826481152001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:06:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826481152001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":139373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:06:36] local.INFO: GPS data processed {"connection_id":139373,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:06:36] local.INFO: Acknowledgment sent {"connection_id":139373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:06:50] local.INFO: TCP Data received {"connection_id":137015,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:06:50] local.INFO: Processing buffer {"connection_id":137015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:06:50] local.INFO: IMEI packet received {"connection_id":137015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":137015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:06:55] local.INFO: TCP Data received {"connection_id":137015,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:06:55] local.INFO: Processing buffer {"connection_id":137015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:06:55] local.INFO: IMEI packet received {"connection_id":137015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":137015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:06:56] local.INFO: TCP Data received {"connection_id":137015,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:06:56] local.INFO: Processing buffer {"connection_id":137015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:06:56] local.INFO: Packet analysis {"connection_id":137015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:06:56] local.INFO: Extracted packet for processing {"connection_id":137015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:06:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826481664001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:06: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-07-19 22:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784478745000,"timestamp_ms":1784478745000,"timestamp_seconds":1784478745,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b38c1a8"} 
[2026-07-19 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-07-19 22:06: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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:06: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-07-19 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-07-19 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-07-19 22:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826481664001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826481664001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:06:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:06:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826481664001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":137015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:06:56] local.INFO: GPS data processed {"connection_id":137015,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:06:56] local.INFO: Acknowledgment sent {"connection_id":137015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:07:08] local.INFO: TCP Data received {"connection_id":139373,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:07:08] local.INFO: Processing buffer {"connection_id":139373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:07:08] local.INFO: Packet analysis {"connection_id":139373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:07:08] local.INFO: Extracted packet for processing {"connection_id":139373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826481152001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784478743000,"timestamp_ms":1784478743000,"timestamp_seconds":1784478743,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b38b9d8"} 
[2026-07-19 22:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22: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-07-19 22: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-07-19 22:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826481152001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826481152001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:07:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826481152001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":139373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:07:08] local.INFO: GPS data processed {"connection_id":139373,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:07:08] local.INFO: Acknowledgment sent {"connection_id":139373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:07:27] local.INFO: TCP Data received {"connection_id":137015,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:07:27] local.INFO: Processing buffer {"connection_id":137015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:07:27] local.INFO: Packet analysis {"connection_id":137015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:07:27] local.INFO: Extracted packet for processing {"connection_id":137015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:07:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826481664001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:07: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-07-19 22:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784478745000,"timestamp_ms":1784478745000,"timestamp_seconds":1784478745,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b38c1a8"} 
[2026-07-19 22:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:07:27] 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-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826481664001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826481664001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:07:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:07:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826481664001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":137015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:07:27] local.INFO: GPS data processed {"connection_id":137015,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:07:27] local.INFO: Acknowledgment sent {"connection_id":137015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:07:30] local.INFO: TCP Data received {"connection_id":137016,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:07:30] local.INFO: Processing buffer {"connection_id":137016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:07:30] local.INFO: IMEI packet received {"connection_id":137016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":137016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:07:35] local.INFO: TCP Data received {"connection_id":137016,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:07:35] local.INFO: Processing buffer {"connection_id":137016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:07:35] local.INFO: IMEI packet received {"connection_id":137016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":137016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:07:37] local.INFO: TCP Data received {"connection_id":137016,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:07:37] local.INFO: Processing buffer {"connection_id":137016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b38b9d8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:07:37] local.INFO: Packet analysis {"connection_id":137016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:07:37] local.INFO: Extracted packet for processing {"connection_id":137016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826481152001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:07: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-07-19 22:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784478743000,"timestamp_ms":1784478743000,"timestamp_seconds":1784478743,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b38b9d8"} 
[2026-07-19 22:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826481152001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826481152001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826481152001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":137016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:07:37] local.INFO: GPS data processed {"connection_id":137016,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:07:37] local.INFO: Acknowledgment sent {"connection_id":137016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:07:50] local.INFO: TCP Data received {"connection_id":137990,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:07:50] local.INFO: Processing buffer {"connection_id":137990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:07:50] local.INFO: IMEI packet received {"connection_id":137990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":137990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:07:55] local.INFO: TCP Data received {"connection_id":137990,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:07:55] local.INFO: Processing buffer {"connection_id":137990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:07:55] local.INFO: IMEI packet received {"connection_id":137990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":137990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:07:56] local.INFO: TCP Data received {"connection_id":137990,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:07:56] local.INFO: Processing buffer {"connection_id":137990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b38c1a8012d196540071ff010003d004928..."} 
[2026-07-19 22:07:56] local.INFO: Packet analysis {"connection_id":137990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:07:56] local.INFO: Extracted packet for processing {"connection_id":137990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b38"} 
[2026-07-19 22:07:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826481664001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:07: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-07-19 22:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784478745000,"timestamp_ms":1784478745000,"timestamp_seconds":1784478745,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b38c1a8"} 
[2026-07-19 22:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:07: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-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:07: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-07-19 22: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-07-19 22:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826481664001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826481664001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:07:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:07:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826481664001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":137990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:07:56] local.INFO: GPS data processed {"connection_id":137990,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:07:56] local.INFO: Acknowledgment sent {"connection_id":137990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:08:08] local.INFO: TCP Data received {"connection_id":137016,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:08:08] local.INFO: Processing buffer {"connection_id":137016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:08:08] local.INFO: Packet analysis {"connection_id":137016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:08:08] local.INFO: Extracted packet for processing {"connection_id":137016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826558208001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:08: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-07-19 22:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784479044000,"timestamp_ms":1784479044000,"timestamp_seconds":1784479044,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3d51a0"} 
[2026-07-19 22:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:08: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-07-19 22:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:08: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-07-19 22:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826558208001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826558208001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:08:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:08:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826558208001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":137016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:08:08] local.INFO: GPS data processed {"connection_id":137016,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:08:08] local.INFO: Acknowledgment sent {"connection_id":137016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:08:27] local.INFO: TCP Data received {"connection_id":137990,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:08:27] local.INFO: Processing buffer {"connection_id":137990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:08:27] local.INFO: Packet analysis {"connection_id":137990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:08:27] local.INFO: Extracted packet for processing {"connection_id":137990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:08:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826558720001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:08: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-07-19 22:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784479046000,"timestamp_ms":1784479046000,"timestamp_seconds":1784479046,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3d5970"} 
[2026-07-19 22:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:08:27] 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-07-19 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:08:27] 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-07-19 22: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-07-19 22:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826558720001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826558720001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:08:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:08:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826558720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":137990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:08:27] local.INFO: GPS data processed {"connection_id":137990,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:08:27] local.INFO: Acknowledgment sent {"connection_id":137990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:08:35] local.INFO: TCP Data received {"connection_id":137017,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:08:35] local.INFO: Processing buffer {"connection_id":137017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:08:35] local.INFO: IMEI packet received {"connection_id":137017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":137017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:08:40] local.INFO: TCP Data received {"connection_id":137017,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:08:40] local.INFO: Processing buffer {"connection_id":137017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:08:40] local.INFO: IMEI packet received {"connection_id":137017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":137017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:08:41] local.INFO: TCP Data received {"connection_id":137017,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:08:41] local.INFO: Processing buffer {"connection_id":137017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:08:41] local.INFO: Packet analysis {"connection_id":137017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:08:41] local.INFO: Extracted packet for processing {"connection_id":137017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:08:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826558208001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784479044000,"timestamp_ms":1784479044000,"timestamp_seconds":1784479044,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3d51a0"} 
[2026-07-19 22:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":137017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":137017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":137017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:08:41] 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-07-19 22:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826558208001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826558208001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:08:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:08:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826558208001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":137017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:08:41] local.INFO: GPS data processed {"connection_id":137017,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:08:41] local.INFO: Acknowledgment sent {"connection_id":137017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:08:46] local.INFO: TCP Data received {"connection_id":137017,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:08:46] local.INFO: Processing buffer {"connection_id":137017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:08:46] local.INFO: Packet analysis {"connection_id":137017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:08:46] local.INFO: Extracted packet for processing {"connection_id":137017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826558208001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784479044000,"timestamp_ms":1784479044000,"timestamp_seconds":1784479044,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3d51a0"} 
[2026-07-19 22:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":137017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":137017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":137017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826558208001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826558208001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:08:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826558208001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":137017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:08:46] local.INFO: GPS data processed {"connection_id":137017,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:08:46] local.INFO: Acknowledgment sent {"connection_id":137017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:08:55] local.INFO: TCP Data received {"connection_id":137991,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:08:55] local.INFO: Processing buffer {"connection_id":137991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:08:55] local.INFO: IMEI packet received {"connection_id":137991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":137991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:09:00] local.INFO: TCP Data received {"connection_id":137991,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:09:00] local.INFO: Processing buffer {"connection_id":137991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:09:00] local.INFO: IMEI packet received {"connection_id":137991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":137991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:09:01] local.INFO: TCP Data received {"connection_id":137991,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:09:01] local.INFO: Processing buffer {"connection_id":137991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:09:01] local.INFO: Packet analysis {"connection_id":137991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:09:01] local.INFO: Extracted packet for processing {"connection_id":137991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:09:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826558720001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:09: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-07-19 22:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784479046000,"timestamp_ms":1784479046000,"timestamp_seconds":1784479046,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3d5970"} 
[2026-07-19 22:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:09:01] 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-07-19 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:09:01] 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-07-19 22: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-07-19 22:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826558720001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826558720001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:09:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:09:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826558720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":137991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:09:01] local.INFO: GPS data processed {"connection_id":137991,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:09:01] local.INFO: Acknowledgment sent {"connection_id":137991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:09:05] local.INFO: TCP Data received {"connection_id":137991,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:09:05] local.INFO: Processing buffer {"connection_id":137991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:09:05] local.INFO: Packet analysis {"connection_id":137991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:09:05] local.INFO: Extracted packet for processing {"connection_id":137991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826558720001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784479046000,"timestamp_ms":1784479046000,"timestamp_seconds":1784479046,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3d5970"} 
[2026-07-19 22:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:09:05] 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-07-19 22:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":137991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":137991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":137991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826558720001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826558720001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:09:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826558720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":137991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:09:05] local.INFO: GPS data processed {"connection_id":137991,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:09:05] local.INFO: Acknowledgment sent {"connection_id":137991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:09:30] local.INFO: TCP Data received {"connection_id":137019,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:09:30] local.INFO: Processing buffer {"connection_id":137019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:09:30] local.INFO: IMEI packet received {"connection_id":137019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":137019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:09:35] local.INFO: TCP Data received {"connection_id":137019,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:09:35] local.INFO: Processing buffer {"connection_id":137019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:09:35] local.INFO: IMEI packet received {"connection_id":137019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":137019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:09:37] local.INFO: TCP Data received {"connection_id":137019,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:09:37] local.INFO: Processing buffer {"connection_id":137019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:09:37] local.INFO: Packet analysis {"connection_id":137019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:09:37] local.INFO: Extracted packet for processing {"connection_id":137019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826558208001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:09: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-07-19 22:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784479044000,"timestamp_ms":1784479044000,"timestamp_seconds":1784479044,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3d51a0"} 
[2026-07-19 22:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826558208001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826558208001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:09:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826558208001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":137019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:09:37] local.INFO: GPS data processed {"connection_id":137019,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:09:37] local.INFO: Acknowledgment sent {"connection_id":137019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:09:50] local.INFO: TCP Data received {"connection_id":139375,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:09:50] local.INFO: Processing buffer {"connection_id":139375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:09:50] local.INFO: IMEI packet received {"connection_id":139375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":139375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:09:55] local.INFO: TCP Data received {"connection_id":139375,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:09:55] local.INFO: Processing buffer {"connection_id":139375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:09:55] local.INFO: IMEI packet received {"connection_id":139375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":139375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:09:55] local.INFO: TCP Data received {"connection_id":137018,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:09:55] local.INFO: Processing buffer {"connection_id":137018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:09:55] local.INFO: IMEI packet received {"connection_id":137018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 22:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":137018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:09:56] local.INFO: TCP Data received {"connection_id":139375,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:09:56] local.INFO: Processing buffer {"connection_id":139375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:09:56] local.INFO: Packet analysis {"connection_id":139375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:09:56] local.INFO: Extracted packet for processing {"connection_id":139375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:09:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826558720001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:09: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-07-19 22:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784479046000,"timestamp_ms":1784479046000,"timestamp_seconds":1784479046,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3d5970"} 
[2026-07-19 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-07-19 22:09:56] 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-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:09:56] 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-07-19 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-07-19 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-07-19 22:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826558720001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826558720001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:09:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:09:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826558720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":139375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:09:56] local.INFO: GPS data processed {"connection_id":139375,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:09:56] local.INFO: Acknowledgment sent {"connection_id":139375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:10:08] local.INFO: TCP Data received {"connection_id":137019,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:10:08] local.INFO: Processing buffer {"connection_id":137019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:10:08] local.INFO: Packet analysis {"connection_id":137019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:10:08] local.INFO: Extracted packet for processing {"connection_id":137019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826558208001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:10: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-07-19 22:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784479044000,"timestamp_ms":1784479044000,"timestamp_seconds":1784479044,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3d51a0"} 
[2026-07-19 22:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:10: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-07-19 22:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:10: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-07-19 22:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826558208001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826558208001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:10:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826558208001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":137019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:10:08] local.INFO: GPS data processed {"connection_id":137019,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:10:08] local.INFO: Acknowledgment sent {"connection_id":137019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:10:25] local.INFO: TCP Data received {"connection_id":137992,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:10:25] local.INFO: Processing buffer {"connection_id":137992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:10:25] local.INFO: IMEI packet received {"connection_id":137992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 22:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":137992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:10:27] local.INFO: TCP Data received {"connection_id":139375,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:10:27] local.INFO: Processing buffer {"connection_id":139375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:10:27] local.INFO: Packet analysis {"connection_id":139375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:10:27] local.INFO: Extracted packet for processing {"connection_id":139375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:10:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826558720001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:10: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-07-19 22:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784479046000,"timestamp_ms":1784479046000,"timestamp_seconds":1784479046,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3d5970"} 
[2026-07-19 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-07-19 22:10:27] 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-07-19 22:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:10:27] 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-07-19 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-07-19 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-07-19 22:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826558720001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826558720001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:10:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:10:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826558720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":139375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:10:27] local.INFO: GPS data processed {"connection_id":139375,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:10:27] local.INFO: Acknowledgment sent {"connection_id":139375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:10:30] local.INFO: TCP Data received {"connection_id":137993,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:10:30] local.INFO: Processing buffer {"connection_id":137993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:10:30] local.INFO: IMEI packet received {"connection_id":137993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":137993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:10:35] local.INFO: TCP Data received {"connection_id":137993,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:10:35] local.INFO: Processing buffer {"connection_id":137993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:10:35] local.INFO: IMEI packet received {"connection_id":137993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":137993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:10:36] local.INFO: TCP Data received {"connection_id":137993,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:10:36] local.INFO: Processing buffer {"connection_id":137993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:10:36] local.INFO: Packet analysis {"connection_id":137993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:10:36] local.INFO: Extracted packet for processing {"connection_id":137993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826558208001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784479044000,"timestamp_ms":1784479044000,"timestamp_seconds":1784479044,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3d51a0"} 
[2026-07-19 22:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:10: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-07-19 22:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826558208001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826558208001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:10:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826558208001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":137993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:10:36] local.INFO: GPS data processed {"connection_id":137993,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:10:36] local.INFO: Acknowledgment sent {"connection_id":137993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:10:50] local.INFO: TCP Data received {"connection_id":139376,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:10:50] local.INFO: Processing buffer {"connection_id":139376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:10:50] local.INFO: IMEI packet received {"connection_id":139376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":139376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:10:55] local.INFO: TCP Data received {"connection_id":139376,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:10:55] local.INFO: Processing buffer {"connection_id":139376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:10:55] local.INFO: IMEI packet received {"connection_id":139376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":139376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:10:56] local.INFO: TCP Data received {"connection_id":139376,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:10:56] local.INFO: Processing buffer {"connection_id":139376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:10:56] local.INFO: Packet analysis {"connection_id":139376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:10:56] local.INFO: Extracted packet for processing {"connection_id":139376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:10:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826558720001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:10: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-07-19 22:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784479046000,"timestamp_ms":1784479046000,"timestamp_seconds":1784479046,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3d5970"} 
[2026-07-19 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-07-19 22:10:56] 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-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:10:56] 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-07-19 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-07-19 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-07-19 22:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826558720001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826558720001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:10:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:10:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826558720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":139376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:10:56] local.INFO: GPS data processed {"connection_id":139376,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:10:56] local.INFO: Acknowledgment sent {"connection_id":139376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:11:09] local.INFO: TCP Data received {"connection_id":137993,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:11:09] local.INFO: Processing buffer {"connection_id":137993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:11:09] local.INFO: Packet analysis {"connection_id":137993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:11:09] local.INFO: Extracted packet for processing {"connection_id":137993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826558208001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:11: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-07-19 22:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784479044000,"timestamp_ms":1784479044000,"timestamp_seconds":1784479044,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3d51a0"} 
[2026-07-19 22:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:11: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-07-19 22:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:11:09] 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-07-19 22:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826558208001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826558208001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:11:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826558208001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":137993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:11:09] local.INFO: GPS data processed {"connection_id":137993,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:11:09] local.INFO: Acknowledgment sent {"connection_id":137993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:11:27] local.INFO: TCP Data received {"connection_id":139376,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:11:27] local.INFO: Processing buffer {"connection_id":139376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:11:27] local.INFO: Packet analysis {"connection_id":139376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:11:27] local.INFO: Extracted packet for processing {"connection_id":139376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:11:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826558720001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:11: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-07-19 22:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784479046000,"timestamp_ms":1784479046000,"timestamp_seconds":1784479046,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3d5970"} 
[2026-07-19 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-07-19 22:11:27] 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-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:11:27] 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-07-19 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-07-19 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-07-19 22:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826558720001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826558720001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:11:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:11:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826558720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":139376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:11:27] local.INFO: GPS data processed {"connection_id":139376,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:11:27] local.INFO: Acknowledgment sent {"connection_id":139376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:11:30] local.INFO: TCP Data received {"connection_id":136909,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:11:30] local.INFO: Processing buffer {"connection_id":136909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:11:30] local.INFO: IMEI packet received {"connection_id":136909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":136909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:11:35] local.INFO: TCP Data received {"connection_id":136909,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:11:35] local.INFO: Processing buffer {"connection_id":136909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:11:35] local.INFO: IMEI packet received {"connection_id":136909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":136909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:11:36] local.INFO: TCP Data received {"connection_id":136909,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:11:36] local.INFO: Processing buffer {"connection_id":136909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:11:36] local.INFO: Packet analysis {"connection_id":136909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:11:36] local.INFO: Extracted packet for processing {"connection_id":136909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826558208001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:11: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-07-19 22:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784479044000,"timestamp_ms":1784479044000,"timestamp_seconds":1784479044,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3d51a0"} 
[2026-07-19 22:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:11: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-07-19 22:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826558208001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826558208001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:11:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:11:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826558208001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":136909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:11:36] local.INFO: GPS data processed {"connection_id":136909,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:11:36] local.INFO: Acknowledgment sent {"connection_id":136909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:11:50] local.INFO: TCP Data received {"connection_id":137021,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:11:50] local.INFO: Processing buffer {"connection_id":137021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:11:50] local.INFO: IMEI packet received {"connection_id":137021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":137021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:11:55] local.INFO: TCP Data received {"connection_id":137021,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:11:55] local.INFO: Processing buffer {"connection_id":137021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:11:55] local.INFO: IMEI packet received {"connection_id":137021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":137021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:11:56] local.INFO: TCP Data received {"connection_id":137021,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:11:56] local.INFO: Processing buffer {"connection_id":137021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:11:56] local.INFO: Packet analysis {"connection_id":137021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:11:56] local.INFO: Extracted packet for processing {"connection_id":137021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:11:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826558720001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:11: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-07-19 22:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784479046000,"timestamp_ms":1784479046000,"timestamp_seconds":1784479046,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3d5970"} 
[2026-07-19 22:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:11:56] 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-07-19 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:11:56] 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-07-19 22: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-07-19 22:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826558720001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826558720001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:11:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:11:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826558720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":137021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:11:56] local.INFO: GPS data processed {"connection_id":137021,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:11:56] local.INFO: Acknowledgment sent {"connection_id":137021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:12:07] local.INFO: TCP Data received {"connection_id":136909,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:12:07] local.INFO: Processing buffer {"connection_id":136909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:12:07] local.INFO: Packet analysis {"connection_id":136909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:12:07] local.INFO: Extracted packet for processing {"connection_id":136909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:12:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826558208001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:12: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-07-19 22:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784479044000,"timestamp_ms":1784479044000,"timestamp_seconds":1784479044,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3d51a0"} 
[2026-07-19 22:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:12: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-07-19 22: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-07-19 22:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:12: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-07-19 22:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826558208001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826558208001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:12:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:12:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826558208001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":136909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:12:07] local.INFO: GPS data processed {"connection_id":136909,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:12:07] local.INFO: Acknowledgment sent {"connection_id":136909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:12:27] local.INFO: TCP Data received {"connection_id":137021,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:12:27] local.INFO: Processing buffer {"connection_id":137021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:12:27] local.INFO: Packet analysis {"connection_id":137021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:12:27] local.INFO: Extracted packet for processing {"connection_id":137021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:12:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826558720001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:12: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-07-19 22:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784479046000,"timestamp_ms":1784479046000,"timestamp_seconds":1784479046,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3d5970"} 
[2026-07-19 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-07-19 22:12:27] 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-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:12:27] 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-07-19 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-07-19 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-07-19 22:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826558720001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826558720001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:12:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:12:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826558720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":137021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:12:27] local.INFO: GPS data processed {"connection_id":137021,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:12:27] local.INFO: Acknowledgment sent {"connection_id":137021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:12:30] local.INFO: TCP Data received {"connection_id":139377,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:12:30] local.INFO: Processing buffer {"connection_id":139377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:12:30] local.INFO: IMEI packet received {"connection_id":139377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":139377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:12:35] local.INFO: TCP Data received {"connection_id":139377,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:12:35] local.INFO: Processing buffer {"connection_id":139377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:12:35] local.INFO: IMEI packet received {"connection_id":139377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":139377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:12:36] local.INFO: TCP Data received {"connection_id":139377,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:12:36] local.INFO: Processing buffer {"connection_id":139377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3d51a0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:12:36] local.INFO: Packet analysis {"connection_id":139377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:12:36] local.INFO: Extracted packet for processing {"connection_id":139377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826558208001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:12: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-07-19 22:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784479044000,"timestamp_ms":1784479044000,"timestamp_seconds":1784479044,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3d51a0"} 
[2026-07-19 22:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:12: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-07-19 22:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826558208001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826558208001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:12:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:12:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826558208001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":139377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:12:36] local.INFO: GPS data processed {"connection_id":139377,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:12:36] local.INFO: Acknowledgment sent {"connection_id":139377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:12:50] local.INFO: TCP Data received {"connection_id":136911,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:12:50] local.INFO: Processing buffer {"connection_id":136911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:12:50] local.INFO: IMEI packet received {"connection_id":136911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":136911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:12:55] local.INFO: TCP Data received {"connection_id":136911,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:12:55] local.INFO: Processing buffer {"connection_id":136911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:12:55] local.INFO: IMEI packet received {"connection_id":136911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":136911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:12:56] local.INFO: TCP Data received {"connection_id":136911,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:12:56] local.INFO: Processing buffer {"connection_id":136911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b3d5970012d196540071ff010003d004928..."} 
[2026-07-19 22:12:56] local.INFO: Packet analysis {"connection_id":136911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:12:56] local.INFO: Extracted packet for processing {"connection_id":136911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b3d"} 
[2026-07-19 22:12:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826558720001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:12: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-07-19 22:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784479046000,"timestamp_ms":1784479046000,"timestamp_seconds":1784479046,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b3d5970"} 
[2026-07-19 22:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:12:56] 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-07-19 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:12:56] 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-07-19 22: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-07-19 22:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826558720001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826558720001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:12:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:12:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826558720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":136911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:12:56] local.INFO: GPS data processed {"connection_id":136911,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:12:56] local.INFO: Acknowledgment sent {"connection_id":136911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:13:08] local.INFO: TCP Data received {"connection_id":139377,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:13:08] local.INFO: Processing buffer {"connection_id":139377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:13:08] local.INFO: Packet analysis {"connection_id":139377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:13:08] local.INFO: Extracted packet for processing {"connection_id":139377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826635264001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784479345000,"timestamp_ms":1784479345000,"timestamp_seconds":1784479345,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b41e968"} 
[2026-07-19 22:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:13: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-07-19 22:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:13: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-07-19 22:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826635264001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826635264001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:13:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:13:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826635264001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":139377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:13:08] local.INFO: GPS data processed {"connection_id":139377,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:13:08] local.INFO: Acknowledgment sent {"connection_id":139377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:13:27] local.INFO: TCP Data received {"connection_id":136911,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:13:27] local.INFO: Processing buffer {"connection_id":136911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:13:27] local.INFO: Packet analysis {"connection_id":136911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:13:27] local.INFO: Extracted packet for processing {"connection_id":136911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:13:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826635776001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:13: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-07-19 22:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784479347000,"timestamp_ms":1784479347000,"timestamp_seconds":1784479347,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b41f138"} 
[2026-07-19 22:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:13:27] 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-07-19 22:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826635776001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826635776001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:13:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:13:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826635776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":136911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:13:27] local.INFO: GPS data processed {"connection_id":136911,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:13:27] local.INFO: Acknowledgment sent {"connection_id":136911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:13:35] local.INFO: TCP Data received {"connection_id":137994,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:13:35] local.INFO: Processing buffer {"connection_id":137994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:13:35] local.INFO: IMEI packet received {"connection_id":137994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":137994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:13:40] local.INFO: TCP Data received {"connection_id":137994,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:13:40] local.INFO: Processing buffer {"connection_id":137994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:13:40] local.INFO: IMEI packet received {"connection_id":137994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":137994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:13:42] local.INFO: TCP Data received {"connection_id":137994,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:13:42] local.INFO: Processing buffer {"connection_id":137994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:13:42] local.INFO: Packet analysis {"connection_id":137994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:13:42] local.INFO: Extracted packet for processing {"connection_id":137994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:13:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826635264001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784479345000,"timestamp_ms":1784479345000,"timestamp_seconds":1784479345,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b41e968"} 
[2026-07-19 22:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:13: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-07-19 22:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826635264001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826635264001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:13:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:13:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826635264001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":137994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:13:42] local.INFO: GPS data processed {"connection_id":137994,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:13:42] local.INFO: Acknowledgment sent {"connection_id":137994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:13:55] local.INFO: TCP Data received {"connection_id":137023,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:13:55] local.INFO: Processing buffer {"connection_id":137023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:13:55] local.INFO: IMEI packet received {"connection_id":137023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":137023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:14:00] local.INFO: TCP Data received {"connection_id":137023,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:14:00] local.INFO: Processing buffer {"connection_id":137023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:14:00] local.INFO: IMEI packet received {"connection_id":137023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":137023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:14:01] local.INFO: TCP Data received {"connection_id":137023,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:14:01] local.INFO: Processing buffer {"connection_id":137023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:14:01] local.INFO: Packet analysis {"connection_id":137023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:14:01] local.INFO: Extracted packet for processing {"connection_id":137023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:14:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826635776001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:14: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-07-19 22:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784479347000,"timestamp_ms":1784479347000,"timestamp_seconds":1784479347,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b41f138"} 
[2026-07-19 22:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:14:01] 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-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826635776001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826635776001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:14:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:14:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826635776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":137023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:14:01] local.INFO: GPS data processed {"connection_id":137023,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:14:01] local.INFO: Acknowledgment sent {"connection_id":137023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:14:05] local.INFO: TCP Data received {"connection_id":137023,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:14:05] local.INFO: Processing buffer {"connection_id":137023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:14:05] local.INFO: Packet analysis {"connection_id":137023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:14:05] local.INFO: Extracted packet for processing {"connection_id":137023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826635776001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784479347000,"timestamp_ms":1784479347000,"timestamp_seconds":1784479347,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b41f138"} 
[2026-07-19 22:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":137023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":137023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":137023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826635776001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826635776001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:14:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:14:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826635776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":137023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:14:05] local.INFO: GPS data processed {"connection_id":137023,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:14:05] local.INFO: Acknowledgment sent {"connection_id":137023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:14:14] local.INFO: TCP Data received {"connection_id":137994,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:14:14] local.INFO: Processing buffer {"connection_id":137994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:14:14] local.INFO: Packet analysis {"connection_id":137994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:14:14] local.INFO: Extracted packet for processing {"connection_id":137994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:14:14] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826635264001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:14: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-07-19 22:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784479345000,"timestamp_ms":1784479345000,"timestamp_seconds":1784479345,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b41e968"} 
[2026-07-19 22:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:14: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-07-19 22:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:14: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-07-19 22:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":137994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":137994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":137994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:14:14] 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-07-19 22:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826635264001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826635264001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:14:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:14:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826635264001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":137994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:14:14] local.INFO: GPS data processed {"connection_id":137994,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:14:14] local.INFO: Acknowledgment sent {"connection_id":137994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:14:30] local.INFO: TCP Data received {"connection_id":137024,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:14:30] local.INFO: Processing buffer {"connection_id":137024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:14:30] local.INFO: IMEI packet received {"connection_id":137024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":137024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:14:35] local.INFO: TCP Data received {"connection_id":137024,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:14:35] local.INFO: Processing buffer {"connection_id":137024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:14:35] local.INFO: IMEI packet received {"connection_id":137024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":137024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:14:36] local.INFO: TCP Data received {"connection_id":137024,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:14:36] local.INFO: Processing buffer {"connection_id":137024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:14:36] local.INFO: Packet analysis {"connection_id":137024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:14:36] local.INFO: Extracted packet for processing {"connection_id":137024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:14:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826635264001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:14: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-07-19 22:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784479345000,"timestamp_ms":1784479345000,"timestamp_seconds":1784479345,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b41e968"} 
[2026-07-19 22:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:14:36] 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-07-19 22:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826635264001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826635264001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:14:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:14:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826635264001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":137024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:14:36] local.INFO: GPS data processed {"connection_id":137024,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:14:36] local.INFO: Acknowledgment sent {"connection_id":137024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:14:50] local.INFO: TCP Data received {"connection_id":137025,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:14:50] local.INFO: Processing buffer {"connection_id":137025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:14:50] local.INFO: IMEI packet received {"connection_id":137025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":137025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:14:55] local.INFO: TCP Data received {"connection_id":137025,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:14:55] local.INFO: Processing buffer {"connection_id":137025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:14:55] local.INFO: IMEI packet received {"connection_id":137025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":137025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:14:56] local.INFO: TCP Data received {"connection_id":137025,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:14:56] local.INFO: Processing buffer {"connection_id":137025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:14:56] local.INFO: Packet analysis {"connection_id":137025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:14:56] local.INFO: Extracted packet for processing {"connection_id":137025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:14:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826635776001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:14: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-07-19 22:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784479347000,"timestamp_ms":1784479347000,"timestamp_seconds":1784479347,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b41f138"} 
[2026-07-19 22:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:14: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-07-19 22:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:14: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-07-19 22:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826635776001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826635776001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:14:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:14:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826635776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":137025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:14:56] local.INFO: GPS data processed {"connection_id":137025,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:14:56] local.INFO: Acknowledgment sent {"connection_id":137025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:15:07] local.INFO: TCP Data received {"connection_id":137024,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:15:07] local.INFO: Processing buffer {"connection_id":137024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:15:07] local.INFO: Packet analysis {"connection_id":137024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:15:07] local.INFO: Extracted packet for processing {"connection_id":137024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:15:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826635264001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:15: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-07-19 22:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784479345000,"timestamp_ms":1784479345000,"timestamp_seconds":1784479345,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b41e968"} 
[2026-07-19 22:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:15: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-07-19 22: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-07-19 22:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":137024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":137024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":137024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:15:07] 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-07-19 22:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826635264001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826635264001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:15:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:15:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826635264001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":137024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:15:07] local.INFO: GPS data processed {"connection_id":137024,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:15:07] local.INFO: Acknowledgment sent {"connection_id":137024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:15:27] local.INFO: TCP Data received {"connection_id":137025,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:15:27] local.INFO: Processing buffer {"connection_id":137025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:15:27] local.INFO: Packet analysis {"connection_id":137025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:15:27] local.INFO: Extracted packet for processing {"connection_id":137025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:15:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826635776001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:15: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-07-19 22:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784479347000,"timestamp_ms":1784479347000,"timestamp_seconds":1784479347,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b41f138"} 
[2026-07-19 22:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:15:27] 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-07-19 22:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826635776001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826635776001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:15:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:15:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826635776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":137025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:15:27] local.INFO: GPS data processed {"connection_id":137025,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:15:27] local.INFO: Acknowledgment sent {"connection_id":137025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:15:30] local.INFO: TCP Data received {"connection_id":137026,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:15:30] local.INFO: Processing buffer {"connection_id":137026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:15:30] local.INFO: IMEI packet received {"connection_id":137026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":137026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:15:35] local.INFO: TCP Data received {"connection_id":137026,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:15:35] local.INFO: Processing buffer {"connection_id":137026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:15:35] local.INFO: IMEI packet received {"connection_id":137026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":137026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:15:37] local.INFO: TCP Data received {"connection_id":137026,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:15:37] local.INFO: Processing buffer {"connection_id":137026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:15:37] local.INFO: Packet analysis {"connection_id":137026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:15:37] local.INFO: Extracted packet for processing {"connection_id":137026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826635264001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:15: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-07-19 22:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784479345000,"timestamp_ms":1784479345000,"timestamp_seconds":1784479345,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b41e968"} 
[2026-07-19 22:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826635264001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826635264001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826635264001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":137026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:15:37] local.INFO: GPS data processed {"connection_id":137026,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:15:37] local.INFO: Acknowledgment sent {"connection_id":137026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:15:50] local.INFO: TCP Data received {"connection_id":137995,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:15:50] local.INFO: Processing buffer {"connection_id":137995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:15:50] local.INFO: IMEI packet received {"connection_id":137995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":137995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:15:50] local.INFO: TCP Data received {"connection_id":139379,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:15:50] local.INFO: Processing buffer {"connection_id":139379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:15:50] local.INFO: IMEI packet received {"connection_id":139379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 22:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":139379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:15:55] local.INFO: TCP Data received {"connection_id":137995,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:15:55] local.INFO: Processing buffer {"connection_id":137995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:15:55] local.INFO: IMEI packet received {"connection_id":137995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":137995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:15:56] local.INFO: TCP Data received {"connection_id":137995,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:15:56] local.INFO: Processing buffer {"connection_id":137995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:15:56] local.INFO: Packet analysis {"connection_id":137995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:15:56] local.INFO: Extracted packet for processing {"connection_id":137995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:15:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826635776001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:15: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-07-19 22:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784479347000,"timestamp_ms":1784479347000,"timestamp_seconds":1784479347,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b41f138"} 
[2026-07-19 22:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:15: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-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:15: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-07-19 22: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-07-19 22:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826635776001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826635776001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:15:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:15:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826635776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":137995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:15:56] local.INFO: GPS data processed {"connection_id":137995,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:15:56] local.INFO: Acknowledgment sent {"connection_id":137995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:16:09] local.INFO: TCP Data received {"connection_id":137026,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:16:09] local.INFO: Processing buffer {"connection_id":137026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:16:09] local.INFO: Packet analysis {"connection_id":137026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:16:09] local.INFO: Extracted packet for processing {"connection_id":137026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826635264001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:16: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-07-19 22:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784479345000,"timestamp_ms":1784479345000,"timestamp_seconds":1784479345,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b41e968"} 
[2026-07-19 22:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:16: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-07-19 22: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-07-19 22:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":137026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":137026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":137026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826635264001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826635264001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826635264001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":137026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:16:09] local.INFO: GPS data processed {"connection_id":137026,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:16:09] local.INFO: Acknowledgment sent {"connection_id":137026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:16:25] local.INFO: TCP Data received {"connection_id":136912,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:16:25] local.INFO: Processing buffer {"connection_id":136912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:16:25] local.INFO: IMEI packet received {"connection_id":136912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 22:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":136912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:16:27] local.INFO: TCP Data received {"connection_id":137995,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:16:27] local.INFO: Processing buffer {"connection_id":137995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:16:27] local.INFO: Packet analysis {"connection_id":137995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:16:27] local.INFO: Extracted packet for processing {"connection_id":137995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:16:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826635776001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:16: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-07-19 22:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784479347000,"timestamp_ms":1784479347000,"timestamp_seconds":1784479347,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b41f138"} 
[2026-07-19 22:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:16:27] 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-07-19 22:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826635776001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826635776001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:16:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:16:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826635776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":137995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:16:27] local.INFO: GPS data processed {"connection_id":137995,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:16:27] local.INFO: Acknowledgment sent {"connection_id":137995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:16:30] local.INFO: TCP Data received {"connection_id":139380,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:16:30] local.INFO: Processing buffer {"connection_id":139380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:16:30] local.INFO: IMEI packet received {"connection_id":139380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":139380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:16:35] local.INFO: TCP Data received {"connection_id":139380,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:16:35] local.INFO: Processing buffer {"connection_id":139380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:16:35] local.INFO: IMEI packet received {"connection_id":139380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":139380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:16:36] local.INFO: TCP Data received {"connection_id":139380,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:16:36] local.INFO: Processing buffer {"connection_id":139380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:16:36] local.INFO: Packet analysis {"connection_id":139380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:16:36] local.INFO: Extracted packet for processing {"connection_id":139380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826635264001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:16: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-07-19 22:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784479345000,"timestamp_ms":1784479345000,"timestamp_seconds":1784479345,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b41e968"} 
[2026-07-19 22:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826635264001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826635264001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:16:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:16:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826635264001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":139380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:16:36] local.INFO: GPS data processed {"connection_id":139380,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:16:36] local.INFO: Acknowledgment sent {"connection_id":139380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:16:50] local.INFO: TCP Data received {"connection_id":136913,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:16:50] local.INFO: Processing buffer {"connection_id":136913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:16:50] local.INFO: IMEI packet received {"connection_id":136913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":136913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:16:55] local.INFO: TCP Data received {"connection_id":136913,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:16:55] local.INFO: Processing buffer {"connection_id":136913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:16:55] local.INFO: IMEI packet received {"connection_id":136913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":136913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:16:56] local.INFO: TCP Data received {"connection_id":136913,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:16:56] local.INFO: Processing buffer {"connection_id":136913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:16:56] local.INFO: Packet analysis {"connection_id":136913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:16:56] local.INFO: Extracted packet for processing {"connection_id":136913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:16:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826635776001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:16: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-07-19 22:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784479347000,"timestamp_ms":1784479347000,"timestamp_seconds":1784479347,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b41f138"} 
[2026-07-19 22:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:16: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-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:16: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-07-19 22: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-07-19 22:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826635776001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826635776001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:16:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:16:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826635776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":136913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:16:56] local.INFO: GPS data processed {"connection_id":136913,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:16:56] local.INFO: Acknowledgment sent {"connection_id":136913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:17:08] local.INFO: TCP Data received {"connection_id":139380,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:17:08] local.INFO: Processing buffer {"connection_id":139380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:17:08] local.INFO: Packet analysis {"connection_id":139380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:17:08] local.INFO: Extracted packet for processing {"connection_id":139380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826635264001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:17: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-07-19 22:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784479345000,"timestamp_ms":1784479345000,"timestamp_seconds":1784479345,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b41e968"} 
[2026-07-19 22:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:17: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-07-19 22:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:17: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-07-19 22:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826635264001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826635264001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:17:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:17:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826635264001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":139380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:17:08] local.INFO: GPS data processed {"connection_id":139380,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:17:08] local.INFO: Acknowledgment sent {"connection_id":139380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:17:27] local.INFO: TCP Data received {"connection_id":136913,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:17:27] local.INFO: Processing buffer {"connection_id":136913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:17:27] local.INFO: Packet analysis {"connection_id":136913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:17:27] local.INFO: Extracted packet for processing {"connection_id":136913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:17:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826635776001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:17: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-07-19 22:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784479347000,"timestamp_ms":1784479347000,"timestamp_seconds":1784479347,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b41f138"} 
[2026-07-19 22:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:17:27] 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-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826635776001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826635776001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:17:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:17:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826635776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":136913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:17:27] local.INFO: GPS data processed {"connection_id":136913,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:17:27] local.INFO: Acknowledgment sent {"connection_id":136913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:17:30] local.INFO: TCP Data received {"connection_id":136914,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:17:30] local.INFO: Processing buffer {"connection_id":136914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:17:30] local.INFO: IMEI packet received {"connection_id":136914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":136914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:17:35] local.INFO: TCP Data received {"connection_id":136914,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:17:35] local.INFO: Processing buffer {"connection_id":136914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:17:35] local.INFO: IMEI packet received {"connection_id":136914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":136914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:17:36] local.INFO: TCP Data received {"connection_id":136914,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:17:36] local.INFO: Processing buffer {"connection_id":136914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b41e968012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:17:36] local.INFO: Packet analysis {"connection_id":136914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:17:36] local.INFO: Extracted packet for processing {"connection_id":136914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826635264001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784479345000,"timestamp_ms":1784479345000,"timestamp_seconds":1784479345,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b41e968"} 
[2026-07-19 22:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826635264001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826635264001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:17:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826635264001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":136914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:17:36] local.INFO: GPS data processed {"connection_id":136914,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:17:36] local.INFO: Acknowledgment sent {"connection_id":136914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:17:50] local.INFO: TCP Data received {"connection_id":137028,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:17:50] local.INFO: Processing buffer {"connection_id":137028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:17:50] local.INFO: IMEI packet received {"connection_id":137028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":137028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:17:55] local.INFO: TCP Data received {"connection_id":137028,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:17:55] local.INFO: Processing buffer {"connection_id":137028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:17:55] local.INFO: IMEI packet received {"connection_id":137028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":137028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:17:56] local.INFO: TCP Data received {"connection_id":137028,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:17:56] local.INFO: Processing buffer {"connection_id":137028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b41f138012d196540071ff010003d004926..."} 
[2026-07-19 22:17:56] local.INFO: Packet analysis {"connection_id":137028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:17:56] local.INFO: Extracted packet for processing {"connection_id":137028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b41"} 
[2026-07-19 22:17:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826635776001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784479347000,"timestamp_ms":1784479347000,"timestamp_seconds":1784479347,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b41f138"} 
[2026-07-19 22:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:17: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-07-19 22:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:17: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-07-19 22: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-07-19 22:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826635776001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826635776001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:17:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:17:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826635776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":137028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:17:56] local.INFO: GPS data processed {"connection_id":137028,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:17:56] local.INFO: Acknowledgment sent {"connection_id":137028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:18:08] local.INFO: TCP Data received {"connection_id":136914,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:18:08] local.INFO: Processing buffer {"connection_id":136914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:18:08] local.INFO: Packet analysis {"connection_id":136914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:18:08] local.INFO: Extracted packet for processing {"connection_id":136914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826712320001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:18: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-07-19 22:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784479646000,"timestamp_ms":1784479646000,"timestamp_seconds":1784479646,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b468130"} 
[2026-07-19 22:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:18: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-07-19 22:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826712320001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826712320001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:18:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:18:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826712320001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":136914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:18:08] local.INFO: GPS data processed {"connection_id":136914,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:18:08] local.INFO: Acknowledgment sent {"connection_id":136914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:18:27] local.INFO: TCP Data received {"connection_id":137028,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:18:27] local.INFO: Processing buffer {"connection_id":137028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:18:27] local.INFO: Packet analysis {"connection_id":137028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:18:27] local.INFO: Extracted packet for processing {"connection_id":137028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:18:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826712832001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784479648000,"timestamp_ms":1784479648000,"timestamp_seconds":1784479648,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b468900"} 
[2026-07-19 22:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:18:27] 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-07-19 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 22:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826712832001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826712832001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:18:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:18:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826712832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":137028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:18:27] local.INFO: GPS data processed {"connection_id":137028,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:18:27] local.INFO: Acknowledgment sent {"connection_id":137028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:18:35] local.INFO: TCP Data received {"connection_id":137996,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:18:35] local.INFO: Processing buffer {"connection_id":137996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:18:35] local.INFO: IMEI packet received {"connection_id":137996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":137996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:18:40] local.INFO: TCP Data received {"connection_id":137996,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:18:40] local.INFO: Processing buffer {"connection_id":137996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:18:40] local.INFO: IMEI packet received {"connection_id":137996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":137996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:18:41] local.INFO: TCP Data received {"connection_id":137996,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:18:41] local.INFO: Processing buffer {"connection_id":137996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:18:41] local.INFO: Packet analysis {"connection_id":137996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:18:41] local.INFO: Extracted packet for processing {"connection_id":137996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:18:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826712320001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784479646000,"timestamp_ms":1784479646000,"timestamp_seconds":1784479646,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b468130"} 
[2026-07-19 22:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":137996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":137996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":137996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826712320001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826712320001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:18:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:18:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826712320001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":137996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:18:41] local.INFO: GPS data processed {"connection_id":137996,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:18:41] local.INFO: Acknowledgment sent {"connection_id":137996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:18:55] local.INFO: TCP Data received {"connection_id":137997,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:18:55] local.INFO: Processing buffer {"connection_id":137997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:18:55] local.INFO: IMEI packet received {"connection_id":137997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":137997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:19:00] local.INFO: TCP Data received {"connection_id":137997,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:19:00] local.INFO: Processing buffer {"connection_id":137997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:19:00] local.INFO: IMEI packet received {"connection_id":137997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":137997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:19:01] local.INFO: TCP Data received {"connection_id":137997,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:19:01] local.INFO: Processing buffer {"connection_id":137997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:19:01] local.INFO: Packet analysis {"connection_id":137997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:19:01] local.INFO: Extracted packet for processing {"connection_id":137997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:19:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826712832001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:19: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-07-19 22:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784479648000,"timestamp_ms":1784479648000,"timestamp_seconds":1784479648,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b468900"} 
[2026-07-19 22:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:19:01] 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-07-19 22: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":107,"data_length":795,"current_offset":136} 
[2026-07-19 22:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826712832001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826712832001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:19:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:19:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826712832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":137997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:19:01] local.INFO: GPS data processed {"connection_id":137997,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:19:01] local.INFO: Acknowledgment sent {"connection_id":137997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:19:05] local.INFO: TCP Data received {"connection_id":137997,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:19:05] local.INFO: Processing buffer {"connection_id":137997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:19:05] local.INFO: Packet analysis {"connection_id":137997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:19:05] local.INFO: Extracted packet for processing {"connection_id":137997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826712832001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784479648000,"timestamp_ms":1784479648000,"timestamp_seconds":1784479648,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b468900"} 
[2026-07-19 22:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 22:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":137997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":137997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":137997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826712832001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826712832001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:19:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:19:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826712832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":137997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:19:05] local.INFO: GPS data processed {"connection_id":137997,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:19:05] local.INFO: Acknowledgment sent {"connection_id":137997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:19:12] local.INFO: TCP Data received {"connection_id":137996,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:19:12] local.INFO: Processing buffer {"connection_id":137996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:19:12] local.INFO: Packet analysis {"connection_id":137996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:19:12] local.INFO: Extracted packet for processing {"connection_id":137996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:19:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826712320001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:19: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-07-19 22:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784479646000,"timestamp_ms":1784479646000,"timestamp_seconds":1784479646,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b468130"} 
[2026-07-19 22:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:19: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-07-19 22:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":137996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":137996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":137996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:19: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-07-19 22:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826712320001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826712320001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:19:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:19:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826712320001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":137996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:19:12] local.INFO: GPS data processed {"connection_id":137996,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:19:12] local.INFO: Acknowledgment sent {"connection_id":137996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:19:30] local.INFO: TCP Data received {"connection_id":137030,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:19:30] local.INFO: Processing buffer {"connection_id":137030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:19:30] local.INFO: IMEI packet received {"connection_id":137030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":137030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:19:35] local.INFO: TCP Data received {"connection_id":137030,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:19:35] local.INFO: Processing buffer {"connection_id":137030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:19:35] local.INFO: IMEI packet received {"connection_id":137030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":137030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:19:36] local.INFO: TCP Data received {"connection_id":137030,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:19:36] local.INFO: Processing buffer {"connection_id":137030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:19:36] local.INFO: Packet analysis {"connection_id":137030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:19:36] local.INFO: Extracted packet for processing {"connection_id":137030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826712320001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:19: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-07-19 22:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784479646000,"timestamp_ms":1784479646000,"timestamp_seconds":1784479646,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b468130"} 
[2026-07-19 22:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:19: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-07-19 22:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826712320001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826712320001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:19:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:19:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826712320001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":137030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:19:36] local.INFO: GPS data processed {"connection_id":137030,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:19:36] local.INFO: Acknowledgment sent {"connection_id":137030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:19:50] local.INFO: TCP Data received {"connection_id":137998,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:19:50] local.INFO: Processing buffer {"connection_id":137998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:19:50] local.INFO: IMEI packet received {"connection_id":137998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":137998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:19:55] local.INFO: TCP Data received {"connection_id":137998,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:19:55] local.INFO: Processing buffer {"connection_id":137998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:19:55] local.INFO: IMEI packet received {"connection_id":137998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":137998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:19:56] local.INFO: TCP Data received {"connection_id":137998,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:19:56] local.INFO: Processing buffer {"connection_id":137998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:19:56] local.INFO: Packet analysis {"connection_id":137998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:19:56] local.INFO: Extracted packet for processing {"connection_id":137998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:19:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826712832001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:19: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-07-19 22:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784479648000,"timestamp_ms":1784479648000,"timestamp_seconds":1784479648,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b468900"} 
[2026-07-19 22:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:19: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-07-19 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 22:19: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-07-19 22: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-07-19 22:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826712832001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826712832001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:19:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:19:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826712832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":137998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:19:56] local.INFO: GPS data processed {"connection_id":137998,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:19:56] local.INFO: Acknowledgment sent {"connection_id":137998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:20:07] local.INFO: TCP Data received {"connection_id":137030,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:20:07] local.INFO: Processing buffer {"connection_id":137030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:20:07] local.INFO: Packet analysis {"connection_id":137030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:20:07] local.INFO: Extracted packet for processing {"connection_id":137030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:20:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826712320001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:20: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-07-19 22:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784479646000,"timestamp_ms":1784479646000,"timestamp_seconds":1784479646,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b468130"} 
[2026-07-19 22:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:20: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-07-19 22: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-07-19 22:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":137030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":137030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":137030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:20: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-07-19 22:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826712320001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826712320001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:20:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:20:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826712320001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":137030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:20:07] local.INFO: GPS data processed {"connection_id":137030,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:20:07] local.INFO: Acknowledgment sent {"connection_id":137030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:20:27] local.INFO: TCP Data received {"connection_id":137998,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:20:27] local.INFO: Processing buffer {"connection_id":137998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:20:27] local.INFO: Packet analysis {"connection_id":137998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:20:27] local.INFO: Extracted packet for processing {"connection_id":137998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:20:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826712832001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:20: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-07-19 22:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784479648000,"timestamp_ms":1784479648000,"timestamp_seconds":1784479648,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b468900"} 
[2026-07-19 22:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:20:27] 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-07-19 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 22:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826712832001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826712832001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:20:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:20:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826712832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":137998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:20:27] local.INFO: GPS data processed {"connection_id":137998,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:20:27] local.INFO: Acknowledgment sent {"connection_id":137998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:20:30] local.INFO: TCP Data received {"connection_id":139382,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:20:30] local.INFO: Processing buffer {"connection_id":139382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:20:30] local.INFO: IMEI packet received {"connection_id":139382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":139382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:20:35] local.INFO: TCP Data received {"connection_id":139382,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:20:35] local.INFO: Processing buffer {"connection_id":139382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:20:35] local.INFO: IMEI packet received {"connection_id":139382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":139382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:20:37] local.INFO: TCP Data received {"connection_id":139382,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:20:37] local.INFO: Processing buffer {"connection_id":139382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:20:37] local.INFO: Packet analysis {"connection_id":139382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:20:37] local.INFO: Extracted packet for processing {"connection_id":139382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826712320001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:20: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-07-19 22:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784479646000,"timestamp_ms":1784479646000,"timestamp_seconds":1784479646,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b468130"} 
[2026-07-19 22:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:20: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-07-19 22:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826712320001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826712320001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:20:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826712320001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":139382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:20:37] local.INFO: GPS data processed {"connection_id":139382,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:20:37] local.INFO: Acknowledgment sent {"connection_id":139382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:20:50] local.INFO: TCP Data received {"connection_id":136916,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:20:50] local.INFO: Processing buffer {"connection_id":136916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:20:50] local.INFO: IMEI packet received {"connection_id":136916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":136916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:20:55] local.INFO: TCP Data received {"connection_id":136916,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:20:55] local.INFO: Processing buffer {"connection_id":136916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:20:55] local.INFO: IMEI packet received {"connection_id":136916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":136916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:20:56] local.INFO: TCP Data received {"connection_id":136916,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:20:56] local.INFO: Processing buffer {"connection_id":136916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:20:56] local.INFO: Packet analysis {"connection_id":136916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:20:56] local.INFO: Extracted packet for processing {"connection_id":136916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:20:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826712832001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:20: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-07-19 22:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784479648000,"timestamp_ms":1784479648000,"timestamp_seconds":1784479648,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b468900"} 
[2026-07-19 22:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:20: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-07-19 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 22:20: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-07-19 22: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-07-19 22:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826712832001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826712832001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:20:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:20:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826712832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":136916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:20:56] local.INFO: GPS data processed {"connection_id":136916,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:20:56] local.INFO: Acknowledgment sent {"connection_id":136916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:21:09] local.INFO: TCP Data received {"connection_id":139382,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:21:09] local.INFO: Processing buffer {"connection_id":139382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:21:09] local.INFO: Packet analysis {"connection_id":139382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:21:09] local.INFO: Extracted packet for processing {"connection_id":139382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826712320001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:21: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-07-19 22:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784479646000,"timestamp_ms":1784479646000,"timestamp_seconds":1784479646,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b468130"} 
[2026-07-19 22:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:21: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-07-19 22:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:21: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-07-19 22:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826712320001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826712320001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826712320001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":139382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:21:09] local.INFO: GPS data processed {"connection_id":139382,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:21:09] local.INFO: Acknowledgment sent {"connection_id":139382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:21:27] local.INFO: TCP Data received {"connection_id":136916,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:21:27] local.INFO: Processing buffer {"connection_id":136916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:21:27] local.INFO: Packet analysis {"connection_id":136916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:21:27] local.INFO: Extracted packet for processing {"connection_id":136916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:21:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826712832001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:21: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-07-19 22:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784479648000,"timestamp_ms":1784479648000,"timestamp_seconds":1784479648,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b468900"} 
[2026-07-19 22:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:21:27] 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-07-19 22:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 22:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826712832001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826712832001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:21:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:21:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826712832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":136916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:21:27] local.INFO: GPS data processed {"connection_id":136916,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:21:27] local.INFO: Acknowledgment sent {"connection_id":136916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:21:30] local.INFO: TCP Data received {"connection_id":137031,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:21:30] local.INFO: Processing buffer {"connection_id":137031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:21:30] local.INFO: IMEI packet received {"connection_id":137031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":137031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:21:35] local.INFO: TCP Data received {"connection_id":137031,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:21:35] local.INFO: Processing buffer {"connection_id":137031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:21:35] local.INFO: IMEI packet received {"connection_id":137031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":137031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:21:36] local.INFO: TCP Data received {"connection_id":137031,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:21:36] local.INFO: Processing buffer {"connection_id":137031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:21:36] local.INFO: Packet analysis {"connection_id":137031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:21:36] local.INFO: Extracted packet for processing {"connection_id":137031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826712320001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:21: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-07-19 22:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784479646000,"timestamp_ms":1784479646000,"timestamp_seconds":1784479646,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b468130"} 
[2026-07-19 22:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:21: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-07-19 22:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826712320001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826712320001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:21:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:21:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826712320001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":137031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:21:36] local.INFO: GPS data processed {"connection_id":137031,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:21:36] local.INFO: Acknowledgment sent {"connection_id":137031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:21:50] local.INFO: TCP Data received {"connection_id":137999,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:21:50] local.INFO: Processing buffer {"connection_id":137999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:21:50] local.INFO: IMEI packet received {"connection_id":137999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":137999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:21:55] local.INFO: TCP Data received {"connection_id":137999,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:21:55] local.INFO: Processing buffer {"connection_id":137999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:21:55] local.INFO: IMEI packet received {"connection_id":137999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":137999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:21:56] local.INFO: TCP Data received {"connection_id":139383,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:21:56] local.INFO: Processing buffer {"connection_id":139383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:21:56] local.INFO: IMEI packet received {"connection_id":139383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 22:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":139383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:21:56] local.INFO: TCP Data received {"connection_id":137999,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:21:56] local.INFO: Processing buffer {"connection_id":137999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:21:56] local.INFO: Packet analysis {"connection_id":137999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:21:56] local.INFO: Extracted packet for processing {"connection_id":137999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:21:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826712832001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:21: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-07-19 22:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784479648000,"timestamp_ms":1784479648000,"timestamp_seconds":1784479648,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b468900"} 
[2026-07-19 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-07-19 22:21: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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 22:21: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-07-19 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-07-19 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-07-19 22:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826712832001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826712832001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:21:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:21:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826712832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":137999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:21:56] local.INFO: GPS data processed {"connection_id":137999,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:21:56] local.INFO: Acknowledgment sent {"connection_id":137999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:22:08] local.INFO: TCP Data received {"connection_id":137031,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:22:08] local.INFO: Processing buffer {"connection_id":137031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:22:08] local.INFO: Packet analysis {"connection_id":137031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:22:08] local.INFO: Extracted packet for processing {"connection_id":137031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826712320001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784479646000,"timestamp_ms":1784479646000,"timestamp_seconds":1784479646,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b468130"} 
[2026-07-19 22:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:22: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-07-19 22: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-07-19 22:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22: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-07-19 22:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826712320001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826712320001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:22:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826712320001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":137031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:22:08] local.INFO: GPS data processed {"connection_id":137031,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:22:08] local.INFO: Acknowledgment sent {"connection_id":137031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:22:25] local.INFO: TCP Data received {"connection_id":138000,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138000,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:22:25] local.INFO: Processing buffer {"connection_id":138000,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:22:25] local.INFO: IMEI packet received {"connection_id":138000,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 22:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":138000,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:22:27] local.INFO: TCP Data received {"connection_id":137999,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:22:27] local.INFO: Processing buffer {"connection_id":137999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:22:27] local.INFO: Packet analysis {"connection_id":137999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:22:27] local.INFO: Extracted packet for processing {"connection_id":137999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:22:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826712832001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:22: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-07-19 22:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784479648000,"timestamp_ms":1784479648000,"timestamp_seconds":1784479648,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b468900"} 
[2026-07-19 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-07-19 22:22:27] 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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 22:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 22:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826712832001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826712832001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:22:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:22:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826712832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":137999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:22:27] local.INFO: GPS data processed {"connection_id":137999,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:22:27] local.INFO: Acknowledgment sent {"connection_id":137999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:22:30] local.INFO: TCP Data received {"connection_id":136917,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:22:30] local.INFO: Processing buffer {"connection_id":136917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:22:30] local.INFO: IMEI packet received {"connection_id":136917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":136917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:22:35] local.INFO: TCP Data received {"connection_id":136917,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:22:35] local.INFO: Processing buffer {"connection_id":136917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:22:35] local.INFO: IMEI packet received {"connection_id":136917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":136917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:22:37] local.INFO: TCP Data received {"connection_id":136917,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:22:37] local.INFO: Processing buffer {"connection_id":136917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b468130012d34c58006aa4b980014000729..."} 
[2026-07-19 22:22:37] local.INFO: Packet analysis {"connection_id":136917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:22:37] local.INFO: Extracted packet for processing {"connection_id":136917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826712320001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:22: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-07-19 22:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784479646000,"timestamp_ms":1784479646000,"timestamp_seconds":1784479646,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b468130"} 
[2026-07-19 22:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:22: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-07-19 22:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826712320001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826712320001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:22:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826712320001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":136917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:22:37] local.INFO: GPS data processed {"connection_id":136917,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:22:37] local.INFO: Acknowledgment sent {"connection_id":136917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:22:51] local.INFO: TCP Data received {"connection_id":137032,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:22:51] local.INFO: Processing buffer {"connection_id":137032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:22:51] local.INFO: IMEI packet received {"connection_id":137032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":137032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:22:55] local.INFO: TCP Data received {"connection_id":137032,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:22:55] local.INFO: Processing buffer {"connection_id":137032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:22:55] local.INFO: IMEI packet received {"connection_id":137032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":137032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:22:56] local.INFO: TCP Data received {"connection_id":137032,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:22:56] local.INFO: Processing buffer {"connection_id":137032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b468900012d196540071ff010003d004926..."} 
[2026-07-19 22:22:56] local.INFO: Packet analysis {"connection_id":137032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:22:56] local.INFO: Extracted packet for processing {"connection_id":137032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b46"} 
[2026-07-19 22:22:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826712832001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:22: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-07-19 22:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784479648000,"timestamp_ms":1784479648000,"timestamp_seconds":1784479648,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b468900"} 
[2026-07-19 22:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:22: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-07-19 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 22:22: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-07-19 22: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-07-19 22:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826712832001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826712832001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:22:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:22:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826712832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":137032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:22:56] local.INFO: GPS data processed {"connection_id":137032,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:22:56] local.INFO: Acknowledgment sent {"connection_id":137032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:23:09] local.INFO: TCP Data received {"connection_id":136917,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:23:09] local.INFO: Processing buffer {"connection_id":136917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:23:09] local.INFO: Packet analysis {"connection_id":136917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:23:09] local.INFO: Extracted packet for processing {"connection_id":136917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:23:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826789376001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:23: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-07-19 22:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784479947000,"timestamp_ms":1784479947000,"timestamp_seconds":1784479947,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4b18f8"} 
[2026-07-19 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-07-19 22:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:23: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-07-19 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-07-19 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-07-19 22:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:23: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-07-19 22:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826789376001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826789376001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:23:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:23:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826789376001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":136917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:23:09] local.INFO: GPS data processed {"connection_id":136917,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:23:09] local.INFO: Acknowledgment sent {"connection_id":136917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:23:27] local.INFO: TCP Data received {"connection_id":137032,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:23:27] local.INFO: Processing buffer {"connection_id":137032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:23:27] local.INFO: Packet analysis {"connection_id":137032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:23:27] local.INFO: Extracted packet for processing {"connection_id":137032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:23:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:23: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-07-19 22:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826789888001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:23: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-07-19 22:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784479949000,"timestamp_ms":1784479949000,"timestamp_seconds":1784479949,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4b20c8"} 
[2026-07-19 22:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:23:27] 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-07-19 22:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:23: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-07-19 22:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826789888001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826789888001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:23:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:23:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826789888001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":137032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:23:27] local.INFO: GPS data processed {"connection_id":137032,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:23:27] local.INFO: Acknowledgment sent {"connection_id":137032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:23:35] local.INFO: TCP Data received {"connection_id":139385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:23:35] local.INFO: Processing buffer {"connection_id":139385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:23:35] local.INFO: IMEI packet received {"connection_id":139385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":139385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:23:40] local.INFO: TCP Data received {"connection_id":139385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:23:40] local.INFO: Processing buffer {"connection_id":139385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:23:40] local.INFO: IMEI packet received {"connection_id":139385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":139385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:23:41] local.INFO: TCP Data received {"connection_id":139385,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:23:41] local.INFO: Processing buffer {"connection_id":139385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:23:41] local.INFO: Packet analysis {"connection_id":139385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:23:41] local.INFO: Extracted packet for processing {"connection_id":139385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:23:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826789376001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784479947000,"timestamp_ms":1784479947000,"timestamp_seconds":1784479947,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4b18f8"} 
[2026-07-19 22:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826789376001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826789376001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:23:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:23:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826789376001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":139385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:23:41] local.INFO: GPS data processed {"connection_id":139385,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:23:41] local.INFO: Acknowledgment sent {"connection_id":139385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:23:55] local.INFO: TCP Data received {"connection_id":138001,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:23:55] local.INFO: Processing buffer {"connection_id":138001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:23:55] local.INFO: IMEI packet received {"connection_id":138001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":138001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:24:00] local.INFO: TCP Data received {"connection_id":138001,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:24:00] local.INFO: Processing buffer {"connection_id":138001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:24:00] local.INFO: IMEI packet received {"connection_id":138001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":138001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:24:05] local.INFO: TCP Data received {"connection_id":138001,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:24:05] local.INFO: Processing buffer {"connection_id":138001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:24:05] local.INFO: Packet analysis {"connection_id":138001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:24:05] local.INFO: Extracted packet for processing {"connection_id":138001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826789888001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784479949000,"timestamp_ms":1784479949000,"timestamp_seconds":1784479949,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4b20c8"} 
[2026-07-19 22:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:24:05] 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-07-19 22:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":138001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":138001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":138001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826789888001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826789888001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:24:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:24:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826789888001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":138001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:24:05] local.INFO: GPS data processed {"connection_id":138001,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:24:05] local.INFO: Acknowledgment sent {"connection_id":138001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:24:06] local.INFO: TCP Data received {"connection_id":138001,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:24:06] local.INFO: Processing buffer {"connection_id":138001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:24:06] local.INFO: Packet analysis {"connection_id":138001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:24:06] local.INFO: Extracted packet for processing {"connection_id":138001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826789888001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784479949000,"timestamp_ms":1784479949000,"timestamp_seconds":1784479949,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4b20c8"} 
[2026-07-19 22:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:24:06] 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-07-19 22:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":138001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":138001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":138001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826789888001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826789888001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:24:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826789888001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":138001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:24:06] local.INFO: GPS data processed {"connection_id":138001,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:24:06] local.INFO: Acknowledgment sent {"connection_id":138001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:24:12] local.INFO: TCP Data received {"connection_id":139385,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:24:12] local.INFO: Processing buffer {"connection_id":139385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:24:12] local.INFO: Packet analysis {"connection_id":139385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:24:12] local.INFO: Extracted packet for processing {"connection_id":139385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:24:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826789376001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:24: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-07-19 22:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784479947000,"timestamp_ms":1784479947000,"timestamp_seconds":1784479947,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4b18f8"} 
[2026-07-19 22:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:24: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-07-19 22: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-07-19 22:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":139385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":139385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":139385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:24: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-07-19 22:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826789376001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826789376001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:24:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:24:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826789376001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":139385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:24:12] local.INFO: GPS data processed {"connection_id":139385,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:24:12] local.INFO: Acknowledgment sent {"connection_id":139385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:24:30] local.INFO: TCP Data received {"connection_id":138003,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:24:30] local.INFO: Processing buffer {"connection_id":138003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:24:30] local.INFO: IMEI packet received {"connection_id":138003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":138003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:24:35] local.INFO: TCP Data received {"connection_id":138003,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:24:35] local.INFO: Processing buffer {"connection_id":138003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:24:35] local.INFO: IMEI packet received {"connection_id":138003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":138003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:24:36] local.INFO: TCP Data received {"connection_id":138003,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:24:36] local.INFO: Processing buffer {"connection_id":138003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:24:36] local.INFO: Packet analysis {"connection_id":138003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:24:36] local.INFO: Extracted packet for processing {"connection_id":138003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826789376001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:24: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-07-19 22:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784479947000,"timestamp_ms":1784479947000,"timestamp_seconds":1784479947,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4b18f8"} 
[2026-07-19 22:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":138003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":138003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":138003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:24: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-07-19 22:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826789376001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826789376001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:24:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:24:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826789376001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":138003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:24:36] local.INFO: GPS data processed {"connection_id":138003,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:24:36] local.INFO: Acknowledgment sent {"connection_id":138003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:24:50] local.INFO: TCP Data received {"connection_id":138004,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:24:50] local.INFO: Processing buffer {"connection_id":138004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:24:50] local.INFO: IMEI packet received {"connection_id":138004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":138004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:24:55] local.INFO: TCP Data received {"connection_id":138004,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:24:55] local.INFO: Processing buffer {"connection_id":138004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:24:55] local.INFO: IMEI packet received {"connection_id":138004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":138004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:24:56] local.INFO: TCP Data received {"connection_id":138004,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:24:56] local.INFO: Processing buffer {"connection_id":138004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:24:56] local.INFO: Packet analysis {"connection_id":138004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:24:56] local.INFO: Extracted packet for processing {"connection_id":138004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:24:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826789888001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:24: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-07-19 22:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784479949000,"timestamp_ms":1784479949000,"timestamp_seconds":1784479949,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4b20c8"} 
[2026-07-19 22:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:24:56] 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-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:24: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-07-19 22: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-07-19 22:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":138004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":138004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":138004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826789888001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826789888001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:24:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:24:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826789888001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":138004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:24:56] local.INFO: GPS data processed {"connection_id":138004,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:24:56] local.INFO: Acknowledgment sent {"connection_id":138004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:25:07] local.INFO: TCP Data received {"connection_id":138003,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:25:07] local.INFO: Processing buffer {"connection_id":138003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:25:07] local.INFO: Packet analysis {"connection_id":138003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:25:07] local.INFO: Extracted packet for processing {"connection_id":138003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:25:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826789376001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:25: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-07-19 22:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784479947000,"timestamp_ms":1784479947000,"timestamp_seconds":1784479947,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4b18f8"} 
[2026-07-19 22:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:25: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-07-19 22: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-07-19 22:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":138003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":138003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":138003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:25: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-07-19 22:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826789376001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826789376001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:25:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:25:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826789376001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":138003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:25:07] local.INFO: GPS data processed {"connection_id":138003,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:25:07] local.INFO: Acknowledgment sent {"connection_id":138003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:25:27] local.INFO: TCP Data received {"connection_id":138004,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:25:27] local.INFO: Processing buffer {"connection_id":138004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:25:27] local.INFO: Packet analysis {"connection_id":138004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:25:27] local.INFO: Extracted packet for processing {"connection_id":138004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:25:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826789888001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:25: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-07-19 22:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784479949000,"timestamp_ms":1784479949000,"timestamp_seconds":1784479949,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4b20c8"} 
[2026-07-19 22:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:25:27] 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-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":138004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":138004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":138004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826789888001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826789888001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:25:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:25:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826789888001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":138004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:25:27] local.INFO: GPS data processed {"connection_id":138004,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:25:27] local.INFO: Acknowledgment sent {"connection_id":138004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:25:30] local.INFO: TCP Data received {"connection_id":136919,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:25:30] local.INFO: Processing buffer {"connection_id":136919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:25:30] local.INFO: IMEI packet received {"connection_id":136919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":136919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:25:35] local.INFO: TCP Data received {"connection_id":136919,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:25:35] local.INFO: Processing buffer {"connection_id":136919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:25:35] local.INFO: IMEI packet received {"connection_id":136919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":136919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:25:36] local.INFO: TCP Data received {"connection_id":136919,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:25:36] local.INFO: Processing buffer {"connection_id":136919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:25:36] local.INFO: Packet analysis {"connection_id":136919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:25:36] local.INFO: Extracted packet for processing {"connection_id":136919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826789376001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784479947000,"timestamp_ms":1784479947000,"timestamp_seconds":1784479947,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4b18f8"} 
[2026-07-19 22:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:25: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-07-19 22:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826789376001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826789376001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:25:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:25:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826789376001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":136919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:25:36] local.INFO: GPS data processed {"connection_id":136919,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:25:36] local.INFO: Acknowledgment sent {"connection_id":136919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:25:50] local.INFO: TCP Data received {"connection_id":138005,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:25:50] local.INFO: Processing buffer {"connection_id":138005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:25:50] local.INFO: IMEI packet received {"connection_id":138005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":138005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:25:55] local.INFO: TCP Data received {"connection_id":138005,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:25:55] local.INFO: Processing buffer {"connection_id":138005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:25:55] local.INFO: IMEI packet received {"connection_id":138005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":138005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:26:00] local.INFO: TCP Data received {"connection_id":138005,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:26:00] local.INFO: Processing buffer {"connection_id":138005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:26:00] local.INFO: Packet analysis {"connection_id":138005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:26:00] local.INFO: Extracted packet for processing {"connection_id":138005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:26:00] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826789888001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:26: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-07-19 22:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784479949000,"timestamp_ms":1784479949000,"timestamp_seconds":1784479949,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4b20c8"} 
[2026-07-19 22:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:26:00] 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-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:26: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-07-19 22: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-07-19 22:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":138005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":138005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":138005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826789888001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826789888001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:26:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:26:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826789888001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":138005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:26:00] local.INFO: GPS data processed {"connection_id":138005,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:26:00] local.INFO: Acknowledgment sent {"connection_id":138005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:26:07] local.INFO: TCP Data received {"connection_id":136919,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:26:07] local.INFO: Processing buffer {"connection_id":136919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:26:07] local.INFO: Packet analysis {"connection_id":136919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:26:07] local.INFO: Extracted packet for processing {"connection_id":136919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:26:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826789376001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:26: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-07-19 22:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784479947000,"timestamp_ms":1784479947000,"timestamp_seconds":1784479947,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4b18f8"} 
[2026-07-19 22:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:26: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-07-19 22: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-07-19 22:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:26: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-07-19 22:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826789376001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826789376001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:26:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:26:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826789376001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":136919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:26:07] local.INFO: GPS data processed {"connection_id":136919,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:26:07] local.INFO: Acknowledgment sent {"connection_id":136919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:26:30] local.INFO: TCP Data received {"connection_id":136920,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:26:30] local.INFO: Processing buffer {"connection_id":136920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:26:30] local.INFO: IMEI packet received {"connection_id":136920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":136920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:26:32] local.INFO: TCP Data received {"connection_id":138005,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:26:32] local.INFO: Processing buffer {"connection_id":138005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:26:32] local.INFO: Packet analysis {"connection_id":138005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:26:32] local.INFO: Extracted packet for processing {"connection_id":138005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:26:32] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826789888001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784479949000,"timestamp_ms":1784479949000,"timestamp_seconds":1784479949,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4b20c8"} 
[2026-07-19 22:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:26:32] 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-07-19 22:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":138005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":138005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":138005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826789888001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826789888001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:26:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:26:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826789888001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":138005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:26:32] local.INFO: GPS data processed {"connection_id":138005,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:26:32] local.INFO: Acknowledgment sent {"connection_id":138005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:26:35] local.INFO: TCP Data received {"connection_id":136920,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:26:35] local.INFO: Processing buffer {"connection_id":136920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:26:35] local.INFO: IMEI packet received {"connection_id":136920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":136920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:26:36] local.INFO: TCP Data received {"connection_id":136920,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:26:36] local.INFO: Processing buffer {"connection_id":136920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:26:36] local.INFO: Packet analysis {"connection_id":136920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:26:36] local.INFO: Extracted packet for processing {"connection_id":136920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826789376001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784479947000,"timestamp_ms":1784479947000,"timestamp_seconds":1784479947,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4b18f8"} 
[2026-07-19 22:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826789376001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826789376001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:26:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:26:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826789376001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":136920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:26:36] local.INFO: GPS data processed {"connection_id":136920,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:26:36] local.INFO: Acknowledgment sent {"connection_id":136920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:26:50] local.INFO: TCP Data received {"connection_id":139387,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:26:50] local.INFO: Processing buffer {"connection_id":139387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:26:50] local.INFO: IMEI packet received {"connection_id":139387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":139387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:26:55] local.INFO: TCP Data received {"connection_id":139387,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:26:55] local.INFO: Processing buffer {"connection_id":139387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:26:55] local.INFO: IMEI packet received {"connection_id":139387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":139387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:26:56] local.INFO: TCP Data received {"connection_id":139387,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:26:56] local.INFO: Processing buffer {"connection_id":139387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:26:56] local.INFO: Packet analysis {"connection_id":139387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:26:56] local.INFO: Extracted packet for processing {"connection_id":139387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:26:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826789888001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:26: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-07-19 22:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784479949000,"timestamp_ms":1784479949000,"timestamp_seconds":1784479949,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4b20c8"} 
[2026-07-19 22:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:26:56] 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-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:26: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-07-19 22: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-07-19 22:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826789888001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826789888001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:26:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:26:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826789888001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":139387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:26:56] local.INFO: GPS data processed {"connection_id":139387,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:26:56] local.INFO: Acknowledgment sent {"connection_id":139387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:27:07] local.INFO: TCP Data received {"connection_id":136920,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:27:07] local.INFO: Processing buffer {"connection_id":136920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:27:07] local.INFO: Packet analysis {"connection_id":136920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:27:07] local.INFO: Extracted packet for processing {"connection_id":136920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:27:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826789376001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:27: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-07-19 22:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784479947000,"timestamp_ms":1784479947000,"timestamp_seconds":1784479947,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4b18f8"} 
[2026-07-19 22:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:27: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-07-19 22: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-07-19 22:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:27: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-07-19 22:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826789376001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826789376001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:27:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:27:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826789376001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":136920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:27:07] local.INFO: GPS data processed {"connection_id":136920,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:27:07] local.INFO: Acknowledgment sent {"connection_id":136920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:27:27] local.INFO: TCP Data received {"connection_id":139387,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:27:27] local.INFO: Processing buffer {"connection_id":139387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:27:27] local.INFO: Packet analysis {"connection_id":139387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:27:27] local.INFO: Extracted packet for processing {"connection_id":139387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:27:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826789888001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:27: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-07-19 22:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784479949000,"timestamp_ms":1784479949000,"timestamp_seconds":1784479949,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4b20c8"} 
[2026-07-19 22:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:27:27] 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-07-19 22:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826789888001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826789888001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:27:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:27:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826789888001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":139387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:27:27] local.INFO: GPS data processed {"connection_id":139387,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:27:27] local.INFO: Acknowledgment sent {"connection_id":139387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:27:30] local.INFO: TCP Data received {"connection_id":136921,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:27:30] local.INFO: Processing buffer {"connection_id":136921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:27:30] local.INFO: IMEI packet received {"connection_id":136921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":136921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:27:35] local.INFO: TCP Data received {"connection_id":136921,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:27:35] local.INFO: Processing buffer {"connection_id":136921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:27:35] local.INFO: IMEI packet received {"connection_id":136921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":136921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:27:36] local.INFO: TCP Data received {"connection_id":136921,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:27:36] local.INFO: Processing buffer {"connection_id":136921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4b18f8012d34c58006aa4b980014000729..."} 
[2026-07-19 22:27:36] local.INFO: Packet analysis {"connection_id":136921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:27:36] local.INFO: Extracted packet for processing {"connection_id":136921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826789376001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784479947000,"timestamp_ms":1784479947000,"timestamp_seconds":1784479947,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4b18f8"} 
[2026-07-19 22:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826789376001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826789376001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:27:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:27:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826789376001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":136921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:27:36] local.INFO: GPS data processed {"connection_id":136921,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:27:36] local.INFO: Acknowledgment sent {"connection_id":136921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:27:45] local.INFO: TCP Data received {"connection_id":138006,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:27:45] local.INFO: Processing buffer {"connection_id":138006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:27:45] local.INFO: IMEI packet received {"connection_id":138006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 22:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":138006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:27:50] local.INFO: TCP Data received {"connection_id":139388,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:27:50] local.INFO: Processing buffer {"connection_id":139388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:27:50] local.INFO: IMEI packet received {"connection_id":139388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":139388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:27:55] local.INFO: TCP Data received {"connection_id":139388,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:27:55] local.INFO: Processing buffer {"connection_id":139388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:27:55] local.INFO: IMEI packet received {"connection_id":139388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":139388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:27:56] local.INFO: TCP Data received {"connection_id":139388,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:27:56] local.INFO: Processing buffer {"connection_id":139388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4b20c8012d196540071ff010003d004927..."} 
[2026-07-19 22:27:56] local.INFO: Packet analysis {"connection_id":139388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:27:56] local.INFO: Extracted packet for processing {"connection_id":139388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4b"} 
[2026-07-19 22:27:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826789888001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:27: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-07-19 22:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784479949000,"timestamp_ms":1784479949000,"timestamp_seconds":1784479949,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4b20c8"} 
[2026-07-19 22:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:27:56] 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-07-19 22:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:27: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-07-19 22:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826789888001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826789888001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:27:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:27:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826789888001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":139388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:27:56] local.INFO: GPS data processed {"connection_id":139388,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:27:56] local.INFO: Acknowledgment sent {"connection_id":139388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:28:07] local.INFO: TCP Data received {"connection_id":136921,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:28:07] local.INFO: Processing buffer {"connection_id":136921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:28:07] local.INFO: Packet analysis {"connection_id":136921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:28:07] local.INFO: Extracted packet for processing {"connection_id":136921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:28:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826866432001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:28: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-07-19 22:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784480248000,"timestamp_ms":1784480248000,"timestamp_seconds":1784480248,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4fb0c0"} 
[2026-07-19 22:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:28: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-07-19 22:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826866432001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826866432001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:28:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:28:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826866432001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":136921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:28:07] local.INFO: GPS data processed {"connection_id":136921,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:28:07] local.INFO: Acknowledgment sent {"connection_id":136921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:28:25] local.INFO: TCP Data received {"connection_id":139389,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:28:25] local.INFO: Processing buffer {"connection_id":139389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:28:25] local.INFO: IMEI packet received {"connection_id":139389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 22:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":139389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:28:27] local.INFO: TCP Data received {"connection_id":139388,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:28:27] local.INFO: Processing buffer {"connection_id":139388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:28:27] local.INFO: Packet analysis {"connection_id":139388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:28:27] local.INFO: Extracted packet for processing {"connection_id":139388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:28:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826866944001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:28: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-07-19 22:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784480250000,"timestamp_ms":1784480250000,"timestamp_seconds":1784480250,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4fb890"} 
[2026-07-19 22:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:28:27] 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-07-19 22:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 22:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826866944001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826866944001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:28:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:28:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826866944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":139388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:28:27] local.INFO: GPS data processed {"connection_id":139388,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:28:27] local.INFO: Acknowledgment sent {"connection_id":139388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:28:35] local.INFO: TCP Data received {"connection_id":137033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:28:35] local.INFO: Processing buffer {"connection_id":137033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:28:35] local.INFO: IMEI packet received {"connection_id":137033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":137033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:28:40] local.INFO: TCP Data received {"connection_id":137033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:28:40] local.INFO: Processing buffer {"connection_id":137033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:28:40] local.INFO: IMEI packet received {"connection_id":137033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":137033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:28:42] local.INFO: TCP Data received {"connection_id":137033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:28:42] local.INFO: Processing buffer {"connection_id":137033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:28:42] local.INFO: Packet analysis {"connection_id":137033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:28:42] local.INFO: Extracted packet for processing {"connection_id":137033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:28:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826866432001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784480248000,"timestamp_ms":1784480248000,"timestamp_seconds":1784480248,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4fb0c0"} 
[2026-07-19 22:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":137033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":137033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":137033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826866432001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826866432001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:28:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:28:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826866432001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":137033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:28:42] local.INFO: GPS data processed {"connection_id":137033,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:28:42] local.INFO: Acknowledgment sent {"connection_id":137033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:28:46] local.INFO: TCP Data received {"connection_id":137033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:28:46] local.INFO: Processing buffer {"connection_id":137033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:28:46] local.INFO: Packet analysis {"connection_id":137033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:28:46] local.INFO: Extracted packet for processing {"connection_id":137033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:28:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826866432001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784480248000,"timestamp_ms":1784480248000,"timestamp_seconds":1784480248,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4fb0c0"} 
[2026-07-19 22:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":137033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":137033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":137033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826866432001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826866432001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:28:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:28:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826866432001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":137033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:28:46] local.INFO: GPS data processed {"connection_id":137033,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:28:46] local.INFO: Acknowledgment sent {"connection_id":137033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:28:55] local.INFO: TCP Data received {"connection_id":139390,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:28:55] local.INFO: Processing buffer {"connection_id":139390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:28:55] local.INFO: IMEI packet received {"connection_id":139390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":139390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:29:00] local.INFO: TCP Data received {"connection_id":139390,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:29:00] local.INFO: Processing buffer {"connection_id":139390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:29:00] local.INFO: IMEI packet received {"connection_id":139390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":139390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:29:01] local.INFO: TCP Data received {"connection_id":139390,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:29:01] local.INFO: Processing buffer {"connection_id":139390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:29:01] local.INFO: Packet analysis {"connection_id":139390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:29:01] local.INFO: Extracted packet for processing {"connection_id":139390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:29:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826866944001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:29: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-07-19 22:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784480250000,"timestamp_ms":1784480250000,"timestamp_seconds":1784480250,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4fb890"} 
[2026-07-19 22:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:29:01] 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-07-19 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 22:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":139390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":139390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":139390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826866944001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826866944001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:29:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:29:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826866944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":139390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:29:01] local.INFO: GPS data processed {"connection_id":139390,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:29:01] local.INFO: Acknowledgment sent {"connection_id":139390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:29:05] local.INFO: TCP Data received {"connection_id":139390,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:29:05] local.INFO: Processing buffer {"connection_id":139390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:29:05] local.INFO: Packet analysis {"connection_id":139390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:29:05] local.INFO: Extracted packet for processing {"connection_id":139390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826866944001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784480250000,"timestamp_ms":1784480250000,"timestamp_seconds":1784480250,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4fb890"} 
[2026-07-19 22:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 22:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":139390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":139390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":139390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826866944001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826866944001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:29:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826866944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":139390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:29:05] local.INFO: GPS data processed {"connection_id":139390,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:29:05] local.INFO: Acknowledgment sent {"connection_id":139390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:29:30] local.INFO: TCP Data received {"connection_id":139391,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:29:30] local.INFO: Processing buffer {"connection_id":139391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:29:30] local.INFO: IMEI packet received {"connection_id":139391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":139391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:29:35] local.INFO: TCP Data received {"connection_id":139391,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:29:35] local.INFO: Processing buffer {"connection_id":139391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:29:35] local.INFO: IMEI packet received {"connection_id":139391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":139391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:29:36] local.INFO: TCP Data received {"connection_id":139391,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:29:36] local.INFO: Processing buffer {"connection_id":139391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:29:36] local.INFO: Packet analysis {"connection_id":139391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:29:36] local.INFO: Extracted packet for processing {"connection_id":139391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826866432001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:29: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-07-19 22:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784480248000,"timestamp_ms":1784480248000,"timestamp_seconds":1784480248,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4fb0c0"} 
[2026-07-19 22:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:29: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-07-19 22:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826866432001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826866432001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:29:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:29:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826866432001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":139391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:29:36] local.INFO: GPS data processed {"connection_id":139391,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:29:36] local.INFO: Acknowledgment sent {"connection_id":139391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:29:50] local.INFO: TCP Data received {"connection_id":139392,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:29:50] local.INFO: Processing buffer {"connection_id":139392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:29:50] local.INFO: IMEI packet received {"connection_id":139392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":139392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:29:55] local.INFO: TCP Data received {"connection_id":139392,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:29:55] local.INFO: Processing buffer {"connection_id":139392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:29:55] local.INFO: IMEI packet received {"connection_id":139392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":139392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:29:56] local.INFO: TCP Data received {"connection_id":139392,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:29:56] local.INFO: Processing buffer {"connection_id":139392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:29:56] local.INFO: Packet analysis {"connection_id":139392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:29:56] local.INFO: Extracted packet for processing {"connection_id":139392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:29:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826866944001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:29: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-07-19 22:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784480250000,"timestamp_ms":1784480250000,"timestamp_seconds":1784480250,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4fb890"} 
[2026-07-19 22:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:29: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-07-19 22: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":107,"data_length":795,"current_offset":136} 
[2026-07-19 22:29: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-07-19 22: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-07-19 22:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:29:56] 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-07-19 22:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826866944001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826866944001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:29:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:29:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826866944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":139392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:29:56] local.INFO: GPS data processed {"connection_id":139392,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:29:56] local.INFO: Acknowledgment sent {"connection_id":139392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:30:07] local.INFO: TCP Data received {"connection_id":139391,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:30:07] local.INFO: Processing buffer {"connection_id":139391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:30:07] local.INFO: Packet analysis {"connection_id":139391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:30:07] local.INFO: Extracted packet for processing {"connection_id":139391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:30:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826866432001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:30: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-07-19 22:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784480248000,"timestamp_ms":1784480248000,"timestamp_seconds":1784480248,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4fb0c0"} 
[2026-07-19 22:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":139391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":139391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":139391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:30: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-07-19 22:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826866432001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826866432001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:30:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:30:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826866432001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":139391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:30:07] local.INFO: GPS data processed {"connection_id":139391,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:30:07] local.INFO: Acknowledgment sent {"connection_id":139391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:30:27] local.INFO: TCP Data received {"connection_id":139392,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:30:27] local.INFO: Processing buffer {"connection_id":139392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:30:27] local.INFO: Packet analysis {"connection_id":139392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:30:27] local.INFO: Extracted packet for processing {"connection_id":139392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:30:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826866944001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:30: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-07-19 22:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784480250000,"timestamp_ms":1784480250000,"timestamp_seconds":1784480250,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4fb890"} 
[2026-07-19 22:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:30:27] 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-07-19 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 22:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826866944001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826866944001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:30:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:30:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826866944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":139392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:30:27] local.INFO: GPS data processed {"connection_id":139392,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:30:27] local.INFO: Acknowledgment sent {"connection_id":139392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:30:30] local.INFO: TCP Data received {"connection_id":138009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:30:30] local.INFO: Processing buffer {"connection_id":138009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:30:30] local.INFO: IMEI packet received {"connection_id":138009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":138009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:30:35] local.INFO: TCP Data received {"connection_id":138009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:30:35] local.INFO: Processing buffer {"connection_id":138009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:30:35] local.INFO: IMEI packet received {"connection_id":138009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":138009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:30:36] local.INFO: TCP Data received {"connection_id":138009,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:30:36] local.INFO: Processing buffer {"connection_id":138009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:30:36] local.INFO: Packet analysis {"connection_id":138009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:30:36] local.INFO: Extracted packet for processing {"connection_id":138009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826866432001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:30: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-07-19 22:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784480248000,"timestamp_ms":1784480248000,"timestamp_seconds":1784480248,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4fb0c0"} 
[2026-07-19 22:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":138009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":138009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":138009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:30: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-07-19 22:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826866432001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826866432001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:30:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:30:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826866432001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":138009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:30:36] local.INFO: GPS data processed {"connection_id":138009,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:30:36] local.INFO: Acknowledgment sent {"connection_id":138009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:30:50] local.INFO: TCP Data received {"connection_id":137035,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:30:50] local.INFO: Processing buffer {"connection_id":137035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:30:50] local.INFO: IMEI packet received {"connection_id":137035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":137035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:30:55] local.INFO: TCP Data received {"connection_id":137035,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:30:55] local.INFO: Processing buffer {"connection_id":137035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:30:55] local.INFO: IMEI packet received {"connection_id":137035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":137035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:30:56] local.INFO: TCP Data received {"connection_id":137035,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:30:56] local.INFO: Processing buffer {"connection_id":137035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:30:56] local.INFO: Packet analysis {"connection_id":137035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:30:56] local.INFO: Extracted packet for processing {"connection_id":137035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:30:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826866944001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:30: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-07-19 22:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784480250000,"timestamp_ms":1784480250000,"timestamp_seconds":1784480250,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4fb890"} 
[2026-07-19 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-07-19 22:30: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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 22:30: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-07-19 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-07-19 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-07-19 22:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826866944001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826866944001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:30:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:30:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826866944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":137035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:30:56] local.INFO: GPS data processed {"connection_id":137035,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:30:56] local.INFO: Acknowledgment sent {"connection_id":137035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:31:07] local.INFO: TCP Data received {"connection_id":138009,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:31:07] local.INFO: Processing buffer {"connection_id":138009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:31:07] local.INFO: Packet analysis {"connection_id":138009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:31:07] local.INFO: Extracted packet for processing {"connection_id":138009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826866432001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:31: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-07-19 22:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784480248000,"timestamp_ms":1784480248000,"timestamp_seconds":1784480248,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4fb0c0"} 
[2026-07-19 22:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":138009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":138009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":138009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:31: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-07-19 22:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826866432001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826866432001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:31:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:31:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826866432001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":138009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:31:07] local.INFO: GPS data processed {"connection_id":138009,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:31:07] local.INFO: Acknowledgment sent {"connection_id":138009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:31:27] local.INFO: TCP Data received {"connection_id":137035,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:31:27] local.INFO: Processing buffer {"connection_id":137035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:31:27] local.INFO: Packet analysis {"connection_id":137035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:31:27] local.INFO: Extracted packet for processing {"connection_id":137035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:31:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826866944001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:31: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-07-19 22:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784480250000,"timestamp_ms":1784480250000,"timestamp_seconds":1784480250,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4fb890"} 
[2026-07-19 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-07-19 22:31:27] 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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 22:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 22:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826866944001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826866944001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:31:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:31:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826866944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":137035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:31:27] local.INFO: GPS data processed {"connection_id":137035,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:31:27] local.INFO: Acknowledgment sent {"connection_id":137035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:31:30] local.INFO: TCP Data received {"connection_id":137036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:31:30] local.INFO: Processing buffer {"connection_id":137036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:31:30] local.INFO: IMEI packet received {"connection_id":137036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":137036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:31:35] local.INFO: TCP Data received {"connection_id":137036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:31:35] local.INFO: Processing buffer {"connection_id":137036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:31:35] local.INFO: IMEI packet received {"connection_id":137036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":137036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:31:36] local.INFO: TCP Data received {"connection_id":137036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:31:36] local.INFO: Processing buffer {"connection_id":137036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:31:36] local.INFO: Packet analysis {"connection_id":137036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:31:36] local.INFO: Extracted packet for processing {"connection_id":137036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:31:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826866432001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:31: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-07-19 22:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784480248000,"timestamp_ms":1784480248000,"timestamp_seconds":1784480248,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4fb0c0"} 
[2026-07-19 22:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:31: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-07-19 22:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826866432001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826866432001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:31:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:31:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826866432001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":137036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:31:36] local.INFO: GPS data processed {"connection_id":137036,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:31:36] local.INFO: Acknowledgment sent {"connection_id":137036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:31:50] local.INFO: TCP Data received {"connection_id":139393,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:31:50] local.INFO: Processing buffer {"connection_id":139393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:31:50] local.INFO: IMEI packet received {"connection_id":139393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":139393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:31:55] local.INFO: TCP Data received {"connection_id":139393,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:31:55] local.INFO: Processing buffer {"connection_id":139393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:31:55] local.INFO: IMEI packet received {"connection_id":139393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":139393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:31:56] local.INFO: TCP Data received {"connection_id":139393,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:31:56] local.INFO: Processing buffer {"connection_id":139393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:31:56] local.INFO: Packet analysis {"connection_id":139393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:31:56] local.INFO: Extracted packet for processing {"connection_id":139393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:31:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826866944001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:31: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-07-19 22:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784480250000,"timestamp_ms":1784480250000,"timestamp_seconds":1784480250,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4fb890"} 
[2026-07-19 22:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:31: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-07-19 22:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 22:31: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-07-19 22:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826866944001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826866944001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:31:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:31:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826866944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":139393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:31:56] local.INFO: GPS data processed {"connection_id":139393,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:31:56] local.INFO: Acknowledgment sent {"connection_id":139393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:32:07] local.INFO: TCP Data received {"connection_id":137036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:32:07] local.INFO: Processing buffer {"connection_id":137036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:32:07] local.INFO: Packet analysis {"connection_id":137036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:32:07] local.INFO: Extracted packet for processing {"connection_id":137036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:32:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826866432001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784480248000,"timestamp_ms":1784480248000,"timestamp_seconds":1784480248,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4fb0c0"} 
[2026-07-19 22:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":137036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":137036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":137036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:32: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-07-19 22:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826866432001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826866432001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:32:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:32:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826866432001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":137036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:32:07] local.INFO: GPS data processed {"connection_id":137036,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:32:07] local.INFO: Acknowledgment sent {"connection_id":137036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:32:27] local.INFO: TCP Data received {"connection_id":139393,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:32:27] local.INFO: Processing buffer {"connection_id":139393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:32:27] local.INFO: Packet analysis {"connection_id":139393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:32:27] local.INFO: Extracted packet for processing {"connection_id":139393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:32:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826866944001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:32: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-07-19 22:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784480250000,"timestamp_ms":1784480250000,"timestamp_seconds":1784480250,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4fb890"} 
[2026-07-19 22:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:32:27] 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-07-19 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 22:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826866944001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826866944001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:32:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:32:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826866944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":139393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:32:27] local.INFO: GPS data processed {"connection_id":139393,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:32:27] local.INFO: Acknowledgment sent {"connection_id":139393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:32:30] local.INFO: TCP Data received {"connection_id":136923,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:32:30] local.INFO: Processing buffer {"connection_id":136923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:32:30] local.INFO: IMEI packet received {"connection_id":136923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":136923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:32:35] local.INFO: TCP Data received {"connection_id":136923,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:32:35] local.INFO: Processing buffer {"connection_id":136923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:32:35] local.INFO: IMEI packet received {"connection_id":136923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":136923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:32:36] local.INFO: TCP Data received {"connection_id":136923,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:32:36] local.INFO: Processing buffer {"connection_id":136923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:32:36] local.INFO: Packet analysis {"connection_id":136923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:32:36] local.INFO: Extracted packet for processing {"connection_id":136923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826866432001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:32: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-07-19 22:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784480248000,"timestamp_ms":1784480248000,"timestamp_seconds":1784480248,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4fb0c0"} 
[2026-07-19 22:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:32: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-07-19 22:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826866432001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826866432001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:32:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:32:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826866432001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":136923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:32:36] local.INFO: GPS data processed {"connection_id":136923,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:32:36] local.INFO: Acknowledgment sent {"connection_id":136923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:32:51] local.INFO: TCP Data received {"connection_id":138011,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:32:51] local.INFO: Processing buffer {"connection_id":138011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:32:51] local.INFO: IMEI packet received {"connection_id":138011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":138011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:32:55] local.INFO: TCP Data received {"connection_id":138011,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:32:55] local.INFO: Processing buffer {"connection_id":138011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:32:55] local.INFO: IMEI packet received {"connection_id":138011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":138011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:32:56] local.INFO: TCP Data received {"connection_id":138011,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:32:56] local.INFO: Processing buffer {"connection_id":138011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4fb890012d196540071ff010003d004926..."} 
[2026-07-19 22:32:56] local.INFO: Packet analysis {"connection_id":138011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:32:56] local.INFO: Extracted packet for processing {"connection_id":138011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:32:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826866944001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:32: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-07-19 22:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784480250000,"timestamp_ms":1784480250000,"timestamp_seconds":1784480250,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4fb890"} 
[2026-07-19 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-07-19 22:32: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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 22:32: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-07-19 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-07-19 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-07-19 22:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":138011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":138011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":138011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826866944001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826866944001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:32:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:32:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826866944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":138011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:32:56] local.INFO: GPS data processed {"connection_id":138011,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:32:56] local.INFO: Acknowledgment sent {"connection_id":138011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:33:07] local.INFO: TCP Data received {"connection_id":136923,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:33:07] local.INFO: Processing buffer {"connection_id":136923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b4fb0c0012d34c58006aa4b980014000728..."} 
[2026-07-19 22:33:07] local.INFO: Packet analysis {"connection_id":136923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:33:07] local.INFO: Extracted packet for processing {"connection_id":136923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b4f"} 
[2026-07-19 22:33:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826866432001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:33: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-07-19 22:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784480248000,"timestamp_ms":1784480248000,"timestamp_seconds":1784480248,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b4fb0c0"} 
[2026-07-19 22:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:33: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-07-19 22:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826866432001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826866432001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:33:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:33:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826866432001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":136923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:33:07] local.INFO: GPS data processed {"connection_id":136923,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:33:07] local.INFO: Acknowledgment sent {"connection_id":136923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:33:27] local.INFO: TCP Data received {"connection_id":138011,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:33:27] local.INFO: Processing buffer {"connection_id":138011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:33:27] local.INFO: Packet analysis {"connection_id":138011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:33:27] local.INFO: Extracted packet for processing {"connection_id":138011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:33:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826944000001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:33: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-07-19 22:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784480551000,"timestamp_ms":1784480551000,"timestamp_seconds":1784480551,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b545058"} 
[2026-07-19 22:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:33:27] 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-07-19 22:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":138011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":138011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":138011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826944000001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826944000001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:33:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:33:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826944000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":138011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:33:27] local.INFO: GPS data processed {"connection_id":138011,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:33:27] local.INFO: Acknowledgment sent {"connection_id":138011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:33:30] local.INFO: TCP Data received {"connection_id":136925,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:33:30] local.INFO: Processing buffer {"connection_id":136925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:33:30] local.INFO: IMEI packet received {"connection_id":136925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":136925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:33:35] local.INFO: TCP Data received {"connection_id":136925,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:33:35] local.INFO: Processing buffer {"connection_id":136925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:33:35] local.INFO: IMEI packet received {"connection_id":136925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":136925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:33:38] local.INFO: TCP Data received {"connection_id":136925,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:33:38] local.INFO: Processing buffer {"connection_id":136925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:33:38] local.INFO: Packet analysis {"connection_id":136925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:33:38] local.INFO: Extracted packet for processing {"connection_id":136925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826943488001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:33: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-07-19 22:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784480549000,"timestamp_ms":1784480549000,"timestamp_seconds":1784480549,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b544888"} 
[2026-07-19 22:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":136925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":136925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":136925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:33: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-07-19 22:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826943488001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826943488001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:33:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826943488001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":136925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:33:38] local.INFO: GPS data processed {"connection_id":136925,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:33:38] local.INFO: Acknowledgment sent {"connection_id":136925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:33:50] local.INFO: TCP Data received {"connection_id":136924,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:33:50] local.INFO: Processing buffer {"connection_id":136924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:33:50] local.INFO: IMEI packet received {"connection_id":136924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 22:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":136924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:33:55] local.INFO: TCP Data received {"connection_id":139394,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:33:55] local.INFO: Processing buffer {"connection_id":139394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:33:55] local.INFO: IMEI packet received {"connection_id":139394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":139394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:34:00] local.INFO: TCP Data received {"connection_id":139394,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:34:00] local.INFO: Processing buffer {"connection_id":139394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:34:00] local.INFO: IMEI packet received {"connection_id":139394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":139394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:34:01] local.INFO: TCP Data received {"connection_id":139394,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:34:01] local.INFO: Processing buffer {"connection_id":139394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:34:01] local.INFO: Packet analysis {"connection_id":139394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:34:01] local.INFO: Extracted packet for processing {"connection_id":139394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:34:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826944000001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:34: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-07-19 22:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784480551000,"timestamp_ms":1784480551000,"timestamp_seconds":1784480551,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b545058"} 
[2026-07-19 22:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:34:01] 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-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":139394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":139394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":139394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826944000001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826944000001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:34:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:34:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826944000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":139394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:34:01] local.INFO: GPS data processed {"connection_id":139394,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:34:01] local.INFO: Acknowledgment sent {"connection_id":139394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:34:05] local.INFO: TCP Data received {"connection_id":139394,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:34:05] local.INFO: Processing buffer {"connection_id":139394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:34:05] local.INFO: Packet analysis {"connection_id":139394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:34:05] local.INFO: Extracted packet for processing {"connection_id":139394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826944000001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784480551000,"timestamp_ms":1784480551000,"timestamp_seconds":1784480551,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b545058"} 
[2026-07-19 22:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:34:05] 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-07-19 22:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":139394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":139394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":139394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826944000001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826944000001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:34:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826944000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":139394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:34:05] local.INFO: GPS data processed {"connection_id":139394,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:34:05] local.INFO: Acknowledgment sent {"connection_id":139394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:34:09] local.INFO: TCP Data received {"connection_id":136925,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:34:09] local.INFO: Processing buffer {"connection_id":136925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:34:09] local.INFO: Packet analysis {"connection_id":136925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:34:09] local.INFO: Extracted packet for processing {"connection_id":136925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826943488001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:34: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-07-19 22:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784480549000,"timestamp_ms":1784480549000,"timestamp_seconds":1784480549,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b544888"} 
[2026-07-19 22:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:34: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-07-19 22:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826943488001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826943488001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826943488001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":136925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:34:09] local.INFO: GPS data processed {"connection_id":136925,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:34:09] local.INFO: Acknowledgment sent {"connection_id":136925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:34:25] local.INFO: TCP Data received {"connection_id":138012,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138012,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:34:25] local.INFO: Processing buffer {"connection_id":138012,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:34:25] local.INFO: IMEI packet received {"connection_id":138012,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 22:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":138012,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:34:35] local.INFO: TCP Data received {"connection_id":136926,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:34:35] local.INFO: Processing buffer {"connection_id":136926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:34:35] local.INFO: IMEI packet received {"connection_id":136926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":136926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:34:40] local.INFO: TCP Data received {"connection_id":136926,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:34:40] local.INFO: Processing buffer {"connection_id":136926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:34:40] local.INFO: IMEI packet received {"connection_id":136926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":136926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:34:42] local.INFO: TCP Data received {"connection_id":136926,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:34:42] local.INFO: Processing buffer {"connection_id":136926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:34:42] local.INFO: Packet analysis {"connection_id":136926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:34:42] local.INFO: Extracted packet for processing {"connection_id":136926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:34:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826943488001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784480549000,"timestamp_ms":1784480549000,"timestamp_seconds":1784480549,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b544888"} 
[2026-07-19 22:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826943488001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826943488001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:34:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:34:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826943488001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":136926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:34:42] local.INFO: GPS data processed {"connection_id":136926,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:34:42] local.INFO: Acknowledgment sent {"connection_id":136926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:34:46] local.INFO: TCP Data received {"connection_id":136926,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:34:46] local.INFO: Processing buffer {"connection_id":136926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:34:46] local.INFO: Packet analysis {"connection_id":136926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:34:46] local.INFO: Extracted packet for processing {"connection_id":136926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:34:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826943488001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784480549000,"timestamp_ms":1784480549000,"timestamp_seconds":1784480549,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b544888"} 
[2026-07-19 22:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":136926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":136926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":136926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826943488001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826943488001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:34:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:34:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826943488001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":136926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:34:46] local.INFO: GPS data processed {"connection_id":136926,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:34:46] local.INFO: Acknowledgment sent {"connection_id":136926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:34:50] local.INFO: TCP Data received {"connection_id":138013,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:34:50] local.INFO: Processing buffer {"connection_id":138013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:34:50] local.INFO: IMEI packet received {"connection_id":138013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":138013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:34:55] local.INFO: TCP Data received {"connection_id":138013,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:34:55] local.INFO: Processing buffer {"connection_id":138013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:34:55] local.INFO: IMEI packet received {"connection_id":138013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":138013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:34:56] local.INFO: TCP Data received {"connection_id":138013,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:34:56] local.INFO: Processing buffer {"connection_id":138013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:34:56] local.INFO: Packet analysis {"connection_id":138013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:34:56] local.INFO: Extracted packet for processing {"connection_id":138013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:34:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826944000001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:34: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-07-19 22:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784480551000,"timestamp_ms":1784480551000,"timestamp_seconds":1784480551,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b545058"} 
[2026-07-19 22:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:34: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-07-19 22: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-07-19 22: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-07-19 22: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-07-19 22:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":138013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":138013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":138013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826944000001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826944000001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:34:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:34:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826944000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":138013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:34:56] local.INFO: GPS data processed {"connection_id":138013,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:34:56] local.INFO: Acknowledgment sent {"connection_id":138013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:35:27] local.INFO: TCP Data received {"connection_id":138013,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:35:27] local.INFO: Processing buffer {"connection_id":138013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:35:27] local.INFO: Packet analysis {"connection_id":138013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:35:27] local.INFO: Extracted packet for processing {"connection_id":138013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:35:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826944000001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:35: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-07-19 22:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784480551000,"timestamp_ms":1784480551000,"timestamp_seconds":1784480551,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b545058"} 
[2026-07-19 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-07-19 22:35:27] 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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 22:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":138013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":138013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":138013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826944000001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826944000001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:35:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:35:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826944000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":138013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:35:27] local.INFO: GPS data processed {"connection_id":138013,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:35:27] local.INFO: Acknowledgment sent {"connection_id":138013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:35:30] local.INFO: TCP Data received {"connection_id":139395,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:35:30] local.INFO: Processing buffer {"connection_id":139395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:35:30] local.INFO: IMEI packet received {"connection_id":139395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":139395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:35:35] local.INFO: TCP Data received {"connection_id":139395,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:35:35] local.INFO: Processing buffer {"connection_id":139395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:35:35] local.INFO: IMEI packet received {"connection_id":139395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":139395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:35:36] local.INFO: TCP Data received {"connection_id":139395,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:35:36] local.INFO: Processing buffer {"connection_id":139395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:35:36] local.INFO: Packet analysis {"connection_id":139395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:35:36] local.INFO: Extracted packet for processing {"connection_id":139395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826943488001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:35: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-07-19 22:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784480549000,"timestamp_ms":1784480549000,"timestamp_seconds":1784480549,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b544888"} 
[2026-07-19 22:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:35: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-07-19 22:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826943488001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826943488001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:35:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826943488001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":139395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:35:36] local.INFO: GPS data processed {"connection_id":139395,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:35:36] local.INFO: Acknowledgment sent {"connection_id":139395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:35:50] local.INFO: TCP Data received {"connection_id":138014,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:35:50] local.INFO: Processing buffer {"connection_id":138014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:35:50] local.INFO: IMEI packet received {"connection_id":138014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":138014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:35:55] local.INFO: TCP Data received {"connection_id":138014,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:35:55] local.INFO: Processing buffer {"connection_id":138014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:35:55] local.INFO: IMEI packet received {"connection_id":138014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":138014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:35:56] local.INFO: TCP Data received {"connection_id":138014,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:35:56] local.INFO: Processing buffer {"connection_id":138014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:35:56] local.INFO: Packet analysis {"connection_id":138014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:35:56] local.INFO: Extracted packet for processing {"connection_id":138014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:35:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826944000001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:35: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-07-19 22:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784480551000,"timestamp_ms":1784480551000,"timestamp_seconds":1784480551,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b545058"} 
[2026-07-19 22:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:35: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-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:35: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-07-19 22: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-07-19 22:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":138014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":138014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":138014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826944000001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826944000001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:35:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:35:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826944000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":138014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:35:56] local.INFO: GPS data processed {"connection_id":138014,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:35:56] local.INFO: Acknowledgment sent {"connection_id":138014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:36:07] local.INFO: TCP Data received {"connection_id":139395,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:36:07] local.INFO: Processing buffer {"connection_id":139395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:36:07] local.INFO: Packet analysis {"connection_id":139395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:36:07] local.INFO: Extracted packet for processing {"connection_id":139395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:36:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826943488001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:36: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-07-19 22:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784480549000,"timestamp_ms":1784480549000,"timestamp_seconds":1784480549,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b544888"} 
[2026-07-19 22:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":139395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":139395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":139395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:36: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-07-19 22:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826943488001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826943488001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:36:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:36:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826943488001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":139395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:36:07] local.INFO: GPS data processed {"connection_id":139395,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:36:07] local.INFO: Acknowledgment sent {"connection_id":139395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:36:27] local.INFO: TCP Data received {"connection_id":138014,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:36:27] local.INFO: Processing buffer {"connection_id":138014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:36:27] local.INFO: Packet analysis {"connection_id":138014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:36:27] local.INFO: Extracted packet for processing {"connection_id":138014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:36:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826944000001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:36: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-07-19 22:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784480551000,"timestamp_ms":1784480551000,"timestamp_seconds":1784480551,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b545058"} 
[2026-07-19 22:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:36:27] 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-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":138014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":138014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":138014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826944000001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826944000001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:36:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:36:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826944000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":138014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:36:27] local.INFO: GPS data processed {"connection_id":138014,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:36:27] local.INFO: Acknowledgment sent {"connection_id":138014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:36:30] local.INFO: TCP Data received {"connection_id":137037,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:36:30] local.INFO: Processing buffer {"connection_id":137037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:36:30] local.INFO: IMEI packet received {"connection_id":137037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":137037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:36:35] local.INFO: TCP Data received {"connection_id":137037,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:36:35] local.INFO: Processing buffer {"connection_id":137037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:36:35] local.INFO: IMEI packet received {"connection_id":137037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":137037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:36:36] local.INFO: TCP Data received {"connection_id":137037,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:36:36] local.INFO: Processing buffer {"connection_id":137037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:36:36] local.INFO: Packet analysis {"connection_id":137037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:36:36] local.INFO: Extracted packet for processing {"connection_id":137037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826943488001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:36: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-07-19 22:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784480549000,"timestamp_ms":1784480549000,"timestamp_seconds":1784480549,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b544888"} 
[2026-07-19 22:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:36: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-07-19 22:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826943488001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826943488001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:36:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:36:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826943488001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":137037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:36:36] local.INFO: GPS data processed {"connection_id":137037,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:36:36] local.INFO: Acknowledgment sent {"connection_id":137037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:36:50] local.INFO: TCP Data received {"connection_id":136929,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:36:50] local.INFO: Processing buffer {"connection_id":136929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:36:50] local.INFO: IMEI packet received {"connection_id":136929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":136929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:36:55] local.INFO: TCP Data received {"connection_id":136929,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:36:55] local.INFO: Processing buffer {"connection_id":136929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:36:55] local.INFO: IMEI packet received {"connection_id":136929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":136929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:36:56] local.INFO: TCP Data received {"connection_id":136929,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:36:56] local.INFO: Processing buffer {"connection_id":136929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:36:56] local.INFO: Packet analysis {"connection_id":136929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:36:56] local.INFO: Extracted packet for processing {"connection_id":136929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:36:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826944000001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:36: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-07-19 22:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784480551000,"timestamp_ms":1784480551000,"timestamp_seconds":1784480551,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b545058"} 
[2026-07-19 22:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:36: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-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:36: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-07-19 22: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-07-19 22:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826944000001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826944000001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:36:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:36:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826944000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":136929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:36:56] local.INFO: GPS data processed {"connection_id":136929,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:36:56] local.INFO: Acknowledgment sent {"connection_id":136929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:37:07] local.INFO: TCP Data received {"connection_id":137037,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:37:07] local.INFO: Processing buffer {"connection_id":137037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:37:07] local.INFO: Packet analysis {"connection_id":137037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:37:07] local.INFO: Extracted packet for processing {"connection_id":137037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:37:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826943488001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:37: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-07-19 22:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784480549000,"timestamp_ms":1784480549000,"timestamp_seconds":1784480549,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b544888"} 
[2026-07-19 22:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":137037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":137037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":137037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826943488001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826943488001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:37:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:37:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826943488001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":137037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:37:07] local.INFO: GPS data processed {"connection_id":137037,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:37:07] local.INFO: Acknowledgment sent {"connection_id":137037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:37:27] local.INFO: TCP Data received {"connection_id":136929,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:37:27] local.INFO: Processing buffer {"connection_id":136929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:37:27] local.INFO: Packet analysis {"connection_id":136929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:37:27] local.INFO: Extracted packet for processing {"connection_id":136929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:37:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826944000001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:37: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-07-19 22:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784480551000,"timestamp_ms":1784480551000,"timestamp_seconds":1784480551,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b545058"} 
[2026-07-19 22:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:37:27] 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-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826944000001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826944000001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:37:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:37:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826944000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":136929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:37:27] local.INFO: GPS data processed {"connection_id":136929,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:37:27] local.INFO: Acknowledgment sent {"connection_id":136929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:37:30] local.INFO: TCP Data received {"connection_id":139396,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:37:30] local.INFO: Processing buffer {"connection_id":139396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:37:30] local.INFO: IMEI packet received {"connection_id":139396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":139396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:37:35] local.INFO: TCP Data received {"connection_id":139396,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:37:35] local.INFO: Processing buffer {"connection_id":139396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:37:35] local.INFO: IMEI packet received {"connection_id":139396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":139396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:37:36] local.INFO: TCP Data received {"connection_id":139396,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:37:36] local.INFO: Processing buffer {"connection_id":139396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:37:36] local.INFO: Packet analysis {"connection_id":139396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:37:36] local.INFO: Extracted packet for processing {"connection_id":139396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826943488001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:37: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-07-19 22:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784480549000,"timestamp_ms":1784480549000,"timestamp_seconds":1784480549,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b544888"} 
[2026-07-19 22:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:37: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-07-19 22:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826943488001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826943488001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:37:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:37:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826943488001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":139396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:37:36] local.INFO: GPS data processed {"connection_id":139396,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:37:36] local.INFO: Acknowledgment sent {"connection_id":139396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:37:50] local.INFO: TCP Data received {"connection_id":136931,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:37:50] local.INFO: Processing buffer {"connection_id":136931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:37:50] local.INFO: IMEI packet received {"connection_id":136931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":136931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:37:55] local.INFO: TCP Data received {"connection_id":136931,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:37:55] local.INFO: Processing buffer {"connection_id":136931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:37:55] local.INFO: IMEI packet received {"connection_id":136931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":136931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:37:56] local.INFO: TCP Data received {"connection_id":136931,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:37:56] local.INFO: Processing buffer {"connection_id":136931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b545058012d196540071ff010003d004926..."} 
[2026-07-19 22:37:56] local.INFO: Packet analysis {"connection_id":136931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:37:56] local.INFO: Extracted packet for processing {"connection_id":136931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:37:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826944000001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:37: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-07-19 22:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784480551000,"timestamp_ms":1784480551000,"timestamp_seconds":1784480551,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b545058"} 
[2026-07-19 22:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:37: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-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:37: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-07-19 22: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-07-19 22:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826944000001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826944000001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:37:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:37:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826944000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":136931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:37:56] local.INFO: GPS data processed {"connection_id":136931,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:37:56] local.INFO: Acknowledgment sent {"connection_id":136931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:38:07] local.INFO: TCP Data received {"connection_id":139396,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:38:07] local.INFO: Processing buffer {"connection_id":139396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b544888012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:38:07] local.INFO: Packet analysis {"connection_id":139396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:38:07] local.INFO: Extracted packet for processing {"connection_id":139396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b54"} 
[2026-07-19 22:38:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456826943488001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:38: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-07-19 22:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784480549000,"timestamp_ms":1784480549000,"timestamp_seconds":1784480549,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b544888"} 
[2026-07-19 22:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":139396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":139396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":139396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:38: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-07-19 22:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456826943488001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456826943488001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:38:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:38:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456826943488001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":139396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:38:07] local.INFO: GPS data processed {"connection_id":139396,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:38:07] local.INFO: Acknowledgment sent {"connection_id":139396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:38:28] local.INFO: TCP Data received {"connection_id":136931,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:38:28] local.INFO: Processing buffer {"connection_id":136931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:38:28] local.INFO: Packet analysis {"connection_id":136931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:38:28] local.INFO: Extracted packet for processing {"connection_id":136931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:38:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827021056001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:38: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-07-19 22:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784480852000,"timestamp_ms":1784480852000,"timestamp_seconds":1784480852,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b58e820"} 
[2026-07-19 22:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":136931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":136931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":136931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827021056001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827021056001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:38:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:38:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827021056001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":136931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:38:28] local.INFO: GPS data processed {"connection_id":136931,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:38:28] local.INFO: Acknowledgment sent {"connection_id":136931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:38:30] local.INFO: TCP Data received {"connection_id":139397,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:38:30] local.INFO: Processing buffer {"connection_id":139397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:38:30] local.INFO: IMEI packet received {"connection_id":139397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":139397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:38:35] local.INFO: TCP Data received {"connection_id":139397,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:38:35] local.INFO: Processing buffer {"connection_id":139397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:38:35] local.INFO: IMEI packet received {"connection_id":139397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":139397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:38:36] local.INFO: TCP Data received {"connection_id":139397,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:38:36] local.INFO: Processing buffer {"connection_id":139397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:38:36] local.INFO: Packet analysis {"connection_id":139397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:38:36] local.INFO: Extracted packet for processing {"connection_id":139397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:38:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827020544001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:38: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-07-19 22:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784480850000,"timestamp_ms":1784480850000,"timestamp_seconds":1784480850,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b58e050"} 
[2026-07-19 22:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:38: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-07-19 22:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827020544001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827020544001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:38:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:38:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827020544001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":139397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:38:36] local.INFO: GPS data processed {"connection_id":139397,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:38:36] local.INFO: Acknowledgment sent {"connection_id":139397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:38:55] local.INFO: TCP Data received {"connection_id":137038,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:38:55] local.INFO: Processing buffer {"connection_id":137038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:38:55] local.INFO: IMEI packet received {"connection_id":137038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":137038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:39:00] local.INFO: TCP Data received {"connection_id":137038,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:39:00] local.INFO: Processing buffer {"connection_id":137038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:39:00] local.INFO: IMEI packet received {"connection_id":137038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":137038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:39:01] local.INFO: TCP Data received {"connection_id":137038,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:39:01] local.INFO: Processing buffer {"connection_id":137038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:39:01] local.INFO: Packet analysis {"connection_id":137038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:39:01] local.INFO: Extracted packet for processing {"connection_id":137038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:39:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827021056001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:39: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-07-19 22:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784480852000,"timestamp_ms":1784480852000,"timestamp_seconds":1784480852,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b58e820"} 
[2026-07-19 22:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827021056001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827021056001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:39:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:39:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827021056001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":137038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:39:01] local.INFO: GPS data processed {"connection_id":137038,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:39:01] local.INFO: Acknowledgment sent {"connection_id":137038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:39:05] local.INFO: TCP Data received {"connection_id":137038,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:39:05] local.INFO: Processing buffer {"connection_id":137038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:39:05] local.INFO: Packet analysis {"connection_id":137038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:39:05] local.INFO: Extracted packet for processing {"connection_id":137038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827021056001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784480852000,"timestamp_ms":1784480852000,"timestamp_seconds":1784480852,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b58e820"} 
[2026-07-19 22:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":137038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":137038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":137038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827021056001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827021056001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:39:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827021056001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":137038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:39:05] local.INFO: GPS data processed {"connection_id":137038,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:39:05] local.INFO: Acknowledgment sent {"connection_id":137038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:39:08] local.INFO: TCP Data received {"connection_id":139397,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:39:08] local.INFO: Processing buffer {"connection_id":139397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:39:08] local.INFO: Packet analysis {"connection_id":139397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:39:08] local.INFO: Extracted packet for processing {"connection_id":139397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827020544001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784480850000,"timestamp_ms":1784480850000,"timestamp_seconds":1784480850,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b58e050"} 
[2026-07-19 22:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:39: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-07-19 22: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-07-19 22:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:39: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-07-19 22:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827020544001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827020544001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:39:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:39:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827020544001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":139397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:39:08] local.INFO: GPS data processed {"connection_id":139397,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:39:08] local.INFO: Acknowledgment sent {"connection_id":139397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:39:30] local.INFO: TCP Data received {"connection_id":137039,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:39:30] local.INFO: Processing buffer {"connection_id":137039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:39:30] local.INFO: IMEI packet received {"connection_id":137039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":137039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:39:35] local.INFO: TCP Data received {"connection_id":137039,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:39:35] local.INFO: Processing buffer {"connection_id":137039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:39:35] local.INFO: IMEI packet received {"connection_id":137039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":137039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:39:36] local.INFO: TCP Data received {"connection_id":137039,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:39:36] local.INFO: Processing buffer {"connection_id":137039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:39:36] local.INFO: Packet analysis {"connection_id":137039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:39:36] local.INFO: Extracted packet for processing {"connection_id":137039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:39:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827020544001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:39: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-07-19 22:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784480850000,"timestamp_ms":1784480850000,"timestamp_seconds":1784480850,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b58e050"} 
[2026-07-19 22:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:39: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-07-19 22:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827020544001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827020544001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:39:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:39:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827020544001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":137039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:39:36] local.INFO: GPS data processed {"connection_id":137039,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:39:36] local.INFO: Acknowledgment sent {"connection_id":137039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:39:50] local.INFO: TCP Data received {"connection_id":136933,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:39:50] local.INFO: Processing buffer {"connection_id":136933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:39:50] local.INFO: IMEI packet received {"connection_id":136933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":136933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:39:55] local.INFO: TCP Data received {"connection_id":136933,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:39:55] local.INFO: Processing buffer {"connection_id":136933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:39:55] local.INFO: IMEI packet received {"connection_id":136933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":136933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:39:56] local.INFO: TCP Data received {"connection_id":139398,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:39:56] local.INFO: Processing buffer {"connection_id":139398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:39:56] local.INFO: IMEI packet received {"connection_id":139398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 22:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":139398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:39:56] local.INFO: TCP Data received {"connection_id":136933,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:39:56] local.INFO: Processing buffer {"connection_id":136933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:39:56] local.INFO: Packet analysis {"connection_id":136933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:39:56] local.INFO: Extracted packet for processing {"connection_id":136933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:39:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827021056001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:39: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-07-19 22:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784480852000,"timestamp_ms":1784480852000,"timestamp_seconds":1784480852,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b58e820"} 
[2026-07-19 22:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:39: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-07-19 22: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-07-19 22:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827021056001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827021056001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:39:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:39:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827021056001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":136933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:39:56] local.INFO: GPS data processed {"connection_id":136933,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:39:56] local.INFO: Acknowledgment sent {"connection_id":136933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:40:07] local.INFO: TCP Data received {"connection_id":137039,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:40:07] local.INFO: Processing buffer {"connection_id":137039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:40:07] local.INFO: Packet analysis {"connection_id":137039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:40:07] local.INFO: Extracted packet for processing {"connection_id":137039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:40:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827020544001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:40: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-07-19 22:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784480850000,"timestamp_ms":1784480850000,"timestamp_seconds":1784480850,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b58e050"} 
[2026-07-19 22:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":137039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":137039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":137039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:40: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-07-19 22:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827020544001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827020544001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:40:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:40:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827020544001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":137039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:40:07] local.INFO: GPS data processed {"connection_id":137039,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:40:07] local.INFO: Acknowledgment sent {"connection_id":137039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:40:25] local.INFO: TCP Data received {"connection_id":137040,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:40:25] local.INFO: Processing buffer {"connection_id":137040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:40:25] local.INFO: IMEI packet received {"connection_id":137040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 22:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":137040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:40:27] local.INFO: TCP Data received {"connection_id":136933,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:40:27] local.INFO: Processing buffer {"connection_id":136933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:40:27] local.INFO: Packet analysis {"connection_id":136933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:40:27] local.INFO: Extracted packet for processing {"connection_id":136933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:40:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827021056001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:40: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-07-19 22:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784480852000,"timestamp_ms":1784480852000,"timestamp_seconds":1784480852,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b58e820"} 
[2026-07-19 22:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827021056001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827021056001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:40:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:40:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827021056001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":136933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:40:27] local.INFO: GPS data processed {"connection_id":136933,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:40:27] local.INFO: Acknowledgment sent {"connection_id":136933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:40:35] local.INFO: TCP Data received {"connection_id":139399,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:40:35] local.INFO: Processing buffer {"connection_id":139399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:40:35] local.INFO: IMEI packet received {"connection_id":139399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":139399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:40:40] local.INFO: TCP Data received {"connection_id":139399,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:40:40] local.INFO: Processing buffer {"connection_id":139399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:40:40] local.INFO: IMEI packet received {"connection_id":139399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":139399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:40:41] local.INFO: TCP Data received {"connection_id":139399,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:40:41] local.INFO: Processing buffer {"connection_id":139399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:40:41] local.INFO: Packet analysis {"connection_id":139399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:40:41] local.INFO: Extracted packet for processing {"connection_id":139399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:40:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827020544001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784480850000,"timestamp_ms":1784480850000,"timestamp_seconds":1784480850,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b58e050"} 
[2026-07-19 22:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827020544001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827020544001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:40:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:40:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827020544001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":139399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:40:41] local.INFO: GPS data processed {"connection_id":139399,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:40:41] local.INFO: Acknowledgment sent {"connection_id":139399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:40:46] local.INFO: TCP Data received {"connection_id":139399,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:40:46] local.INFO: Processing buffer {"connection_id":139399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:40:46] local.INFO: Packet analysis {"connection_id":139399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:40:46] local.INFO: Extracted packet for processing {"connection_id":139399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:40:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827020544001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784480850000,"timestamp_ms":1784480850000,"timestamp_seconds":1784480850,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b58e050"} 
[2026-07-19 22:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":139399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":139399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":139399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827020544001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827020544001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:40:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:40:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827020544001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":139399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:40:46] local.INFO: GPS data processed {"connection_id":139399,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:40:46] local.INFO: Acknowledgment sent {"connection_id":139399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:40:50] local.INFO: TCP Data received {"connection_id":139400,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:40:50] local.INFO: Processing buffer {"connection_id":139400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:40:50] local.INFO: IMEI packet received {"connection_id":139400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":139400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:40:55] local.INFO: TCP Data received {"connection_id":139400,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:40:55] local.INFO: Processing buffer {"connection_id":139400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:40:55] local.INFO: IMEI packet received {"connection_id":139400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":139400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:40:56] local.INFO: TCP Data received {"connection_id":139400,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:40:56] local.INFO: Processing buffer {"connection_id":139400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:40:56] local.INFO: Packet analysis {"connection_id":139400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:40:56] local.INFO: Extracted packet for processing {"connection_id":139400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:40:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827021056001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:40: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-07-19 22:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784480852000,"timestamp_ms":1784480852000,"timestamp_seconds":1784480852,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b58e820"} 
[2026-07-19 22:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22: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-07-19 22: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-07-19 22:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827021056001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827021056001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:40:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:40:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827021056001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":139400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:40:56] local.INFO: GPS data processed {"connection_id":139400,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:40:56] local.INFO: Acknowledgment sent {"connection_id":139400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:41:27] local.INFO: TCP Data received {"connection_id":139400,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:41:27] local.INFO: Processing buffer {"connection_id":139400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:41:27] local.INFO: Packet analysis {"connection_id":139400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:41:27] local.INFO: Extracted packet for processing {"connection_id":139400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:41:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827021056001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784480852000,"timestamp_ms":1784480852000,"timestamp_seconds":1784480852,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b58e820"} 
[2026-07-19 22:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827021056001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827021056001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:41:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:41:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827021056001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":139400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:41:27] local.INFO: GPS data processed {"connection_id":139400,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:41:27] local.INFO: Acknowledgment sent {"connection_id":139400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:41:30] local.INFO: TCP Data received {"connection_id":138015,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:41:30] local.INFO: Processing buffer {"connection_id":138015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:41:30] local.INFO: IMEI packet received {"connection_id":138015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":138015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:41:35] local.INFO: TCP Data received {"connection_id":138015,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:41:35] local.INFO: Processing buffer {"connection_id":138015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:41:35] local.INFO: IMEI packet received {"connection_id":138015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":138015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:41:36] local.INFO: TCP Data received {"connection_id":138015,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:41:36] local.INFO: Processing buffer {"connection_id":138015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:41:36] local.INFO: Packet analysis {"connection_id":138015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:41:36] local.INFO: Extracted packet for processing {"connection_id":138015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827020544001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784480850000,"timestamp_ms":1784480850000,"timestamp_seconds":1784480850,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b58e050"} 
[2026-07-19 22:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":138015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":138015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":138015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:41: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-07-19 22:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827020544001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827020544001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:41:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:41:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827020544001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":138015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:41:36] local.INFO: GPS data processed {"connection_id":138015,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:41:36] local.INFO: Acknowledgment sent {"connection_id":138015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:41:50] local.INFO: TCP Data received {"connection_id":137042,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:41:50] local.INFO: Processing buffer {"connection_id":137042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:41:50] local.INFO: IMEI packet received {"connection_id":137042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":137042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:41:55] local.INFO: TCP Data received {"connection_id":137042,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:41:55] local.INFO: Processing buffer {"connection_id":137042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:41:55] local.INFO: IMEI packet received {"connection_id":137042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":137042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:41:56] local.INFO: TCP Data received {"connection_id":137042,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:41:56] local.INFO: Processing buffer {"connection_id":137042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:41:56] local.INFO: Packet analysis {"connection_id":137042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:41:56] local.INFO: Extracted packet for processing {"connection_id":137042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:41:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827021056001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784480852000,"timestamp_ms":1784480852000,"timestamp_seconds":1784480852,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b58e820"} 
[2026-07-19 22:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:41: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-07-19 22: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-07-19 22:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827021056001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827021056001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:41:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:41:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827021056001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":137042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:41:56] local.INFO: GPS data processed {"connection_id":137042,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:41:56] local.INFO: Acknowledgment sent {"connection_id":137042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:42:07] local.INFO: TCP Data received {"connection_id":138015,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:42:07] local.INFO: Processing buffer {"connection_id":138015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:42:07] local.INFO: Packet analysis {"connection_id":138015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:42:07] local.INFO: Extracted packet for processing {"connection_id":138015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:42:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827020544001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:42: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-07-19 22:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784480850000,"timestamp_ms":1784480850000,"timestamp_seconds":1784480850,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b58e050"} 
[2026-07-19 22:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":138015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":138015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":138015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:42: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-07-19 22:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827020544001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827020544001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:42:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:42:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827020544001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":138015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:42:07] local.INFO: GPS data processed {"connection_id":138015,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:42:07] local.INFO: Acknowledgment sent {"connection_id":138015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:42:27] local.INFO: TCP Data received {"connection_id":137042,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:42:27] local.INFO: Processing buffer {"connection_id":137042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:42:27] local.INFO: Packet analysis {"connection_id":137042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:42:27] local.INFO: Extracted packet for processing {"connection_id":137042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:42:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827021056001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:42: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-07-19 22:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784480852000,"timestamp_ms":1784480852000,"timestamp_seconds":1784480852,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b58e820"} 
[2026-07-19 22:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827021056001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827021056001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:42:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:42:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827021056001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":137042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:42:27] local.INFO: GPS data processed {"connection_id":137042,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:42:27] local.INFO: Acknowledgment sent {"connection_id":137042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:42:30] local.INFO: TCP Data received {"connection_id":136934,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:42:30] local.INFO: Processing buffer {"connection_id":136934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:42:30] local.INFO: IMEI packet received {"connection_id":136934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":136934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:42:35] local.INFO: TCP Data received {"connection_id":136934,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:42:35] local.INFO: Processing buffer {"connection_id":136934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:42:35] local.INFO: IMEI packet received {"connection_id":136934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":136934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:42:37] local.INFO: TCP Data received {"connection_id":136934,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:42:37] local.INFO: Processing buffer {"connection_id":136934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:42:37] local.INFO: Packet analysis {"connection_id":136934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:42:37] local.INFO: Extracted packet for processing {"connection_id":136934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827020544001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:42: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-07-19 22:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784480850000,"timestamp_ms":1784480850000,"timestamp_seconds":1784480850,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b58e050"} 
[2026-07-19 22:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":136934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":136934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":136934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827020544001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827020544001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827020544001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":136934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:42:37] local.INFO: GPS data processed {"connection_id":136934,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:42:37] local.INFO: Acknowledgment sent {"connection_id":136934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:42:50] local.INFO: TCP Data received {"connection_id":138016,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:42:50] local.INFO: Processing buffer {"connection_id":138016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:42:50] local.INFO: IMEI packet received {"connection_id":138016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":138016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:42:55] local.INFO: TCP Data received {"connection_id":138016,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:42:55] local.INFO: Processing buffer {"connection_id":138016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:42:55] local.INFO: IMEI packet received {"connection_id":138016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":138016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:42:55] local.INFO: TCP Data received {"connection_id":138016,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:42:56] local.INFO: Processing buffer {"connection_id":138016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b58e820012d196540071ff010003d004928..."} 
[2026-07-19 22:42:56] local.INFO: Packet analysis {"connection_id":138016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:42:56] local.INFO: Extracted packet for processing {"connection_id":138016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:42:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827021056001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784480852000,"timestamp_ms":1784480852000,"timestamp_seconds":1784480852,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b58e820"} 
[2026-07-19 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-07-19 22:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:42: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-07-19 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-07-19 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-07-19 22:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":138016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":138016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":138016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827021056001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827021056001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:42:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:42:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827021056001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":138016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:42:56] local.INFO: GPS data processed {"connection_id":138016,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:42:56] local.INFO: Acknowledgment sent {"connection_id":138016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:43:08] local.INFO: TCP Data received {"connection_id":136934,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:43:08] local.INFO: Processing buffer {"connection_id":136934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b58e050012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:43:08] local.INFO: Packet analysis {"connection_id":136934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:43:08] local.INFO: Extracted packet for processing {"connection_id":136934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b58"} 
[2026-07-19 22:43:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827020544001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:43: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-07-19 22:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784480850000,"timestamp_ms":1784480850000,"timestamp_seconds":1784480850,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b58e050"} 
[2026-07-19 22:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:43: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-07-19 22: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-07-19 22:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:43: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-07-19 22:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827020544001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827020544001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:43:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:43:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827020544001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":136934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:43:08] local.INFO: GPS data processed {"connection_id":136934,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:43:08] local.INFO: Acknowledgment sent {"connection_id":136934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:43:27] local.INFO: TCP Data received {"connection_id":138016,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:43:27] local.INFO: Processing buffer {"connection_id":138016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:43:27] local.INFO: Packet analysis {"connection_id":138016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:43:27] local.INFO: Extracted packet for processing {"connection_id":138016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:43:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827098112001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:43: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-07-19 22:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784481153000,"timestamp_ms":1784481153000,"timestamp_seconds":1784481153,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b5d7fe8"} 
[2026-07-19 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-07-19 22:43:27] 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-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:43:27] 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-07-19 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-07-19 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-07-19 22:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":138016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":138016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":138016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827098112001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827098112001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:43:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:43:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827098112001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":138016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:43:27] local.INFO: GPS data processed {"connection_id":138016,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:43:27] local.INFO: Acknowledgment sent {"connection_id":138016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:43:30] local.INFO: TCP Data received {"connection_id":136935,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:43:30] local.INFO: Processing buffer {"connection_id":136935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:43:30] local.INFO: IMEI packet received {"connection_id":136935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":136935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:43:35] local.INFO: TCP Data received {"connection_id":136935,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:43:35] local.INFO: Processing buffer {"connection_id":136935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:43:35] local.INFO: IMEI packet received {"connection_id":136935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":136935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:43:36] local.INFO: TCP Data received {"connection_id":136935,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:43:36] local.INFO: Processing buffer {"connection_id":136935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:43:36] local.INFO: Packet analysis {"connection_id":136935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:43:36] local.INFO: Extracted packet for processing {"connection_id":136935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827097600001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:43: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-07-19 22:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784481151000,"timestamp_ms":1784481151000,"timestamp_seconds":1784481151,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b5d7818"} 
[2026-07-19 22:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:43: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-07-19 22:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827097600001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827097600001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:43:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:43:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827097600001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":136935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:43:36] local.INFO: GPS data processed {"connection_id":136935,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:43:36] local.INFO: Acknowledgment sent {"connection_id":136935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:43:50] local.INFO: TCP Data received {"connection_id":137044,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:43:50] local.INFO: Processing buffer {"connection_id":137044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:43:50] local.INFO: IMEI packet received {"connection_id":137044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":137044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:43:55] local.INFO: TCP Data received {"connection_id":137044,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:43:55] local.INFO: Processing buffer {"connection_id":137044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:43:55] local.INFO: IMEI packet received {"connection_id":137044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":137044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:43:56] local.INFO: TCP Data received {"connection_id":137044,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:43:56] local.INFO: Processing buffer {"connection_id":137044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:43:56] local.INFO: Packet analysis {"connection_id":137044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:43:56] local.INFO: Extracted packet for processing {"connection_id":137044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:43:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827098112001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:43: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-07-19 22:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784481153000,"timestamp_ms":1784481153000,"timestamp_seconds":1784481153,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b5d7fe8"} 
[2026-07-19 22:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:43:56] 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-07-19 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:43:56] 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-07-19 22: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-07-19 22:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827098112001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827098112001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:43:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:43:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827098112001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":137044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:43:56] local.INFO: GPS data processed {"connection_id":137044,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:43:56] local.INFO: Acknowledgment sent {"connection_id":137044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:44:07] local.INFO: TCP Data received {"connection_id":136935,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:44:07] local.INFO: Processing buffer {"connection_id":136935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:44:07] local.INFO: Packet analysis {"connection_id":136935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:44:07] local.INFO: Extracted packet for processing {"connection_id":136935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:44:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827097600001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:44: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-07-19 22:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784481151000,"timestamp_ms":1784481151000,"timestamp_seconds":1784481151,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b5d7818"} 
[2026-07-19 22:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:44: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-07-19 22:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827097600001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827097600001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:44:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:44:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827097600001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":136935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:44:08] local.INFO: GPS data processed {"connection_id":136935,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:44:08] local.INFO: Acknowledgment sent {"connection_id":136935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:44:27] local.INFO: TCP Data received {"connection_id":137044,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:44:27] local.INFO: Processing buffer {"connection_id":137044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:44:27] local.INFO: Packet analysis {"connection_id":137044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:44:27] local.INFO: Extracted packet for processing {"connection_id":137044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:44:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827098112001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:44: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-07-19 22:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784481153000,"timestamp_ms":1784481153000,"timestamp_seconds":1784481153,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b5d7fe8"} 
[2026-07-19 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-07-19 22:44:27] 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-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:44:27] 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-07-19 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-07-19 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-07-19 22:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827098112001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827098112001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:44:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:44:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827098112001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":137044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:44:27] local.INFO: GPS data processed {"connection_id":137044,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:44:27] local.INFO: Acknowledgment sent {"connection_id":137044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:44:30] local.INFO: TCP Data received {"connection_id":138017,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:44:30] local.INFO: Processing buffer {"connection_id":138017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:44:30] local.INFO: IMEI packet received {"connection_id":138017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":138017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:44:35] local.INFO: TCP Data received {"connection_id":138017,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:44:35] local.INFO: Processing buffer {"connection_id":138017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:44:35] local.INFO: IMEI packet received {"connection_id":138017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":138017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:44:36] local.INFO: TCP Data received {"connection_id":138017,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:44:36] local.INFO: Processing buffer {"connection_id":138017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:44:36] local.INFO: Packet analysis {"connection_id":138017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:44:36] local.INFO: Extracted packet for processing {"connection_id":138017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:44:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827097600001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:44: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-07-19 22:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784481151000,"timestamp_ms":1784481151000,"timestamp_seconds":1784481151,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b5d7818"} 
[2026-07-19 22:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":138017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":138017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":138017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:44: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-07-19 22:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827097600001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827097600001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:44:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:44:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827097600001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":138017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:44:36] local.INFO: GPS data processed {"connection_id":138017,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:44:36] local.INFO: Acknowledgment sent {"connection_id":138017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:44:50] local.INFO: TCP Data received {"connection_id":136936,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:44:50] local.INFO: Processing buffer {"connection_id":136936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:44:50] local.INFO: IMEI packet received {"connection_id":136936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":136936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:44:55] local.INFO: TCP Data received {"connection_id":136936,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:44:55] local.INFO: Processing buffer {"connection_id":136936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:44:55] local.INFO: IMEI packet received {"connection_id":136936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":136936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:44:56] local.INFO: TCP Data received {"connection_id":136936,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:44:56] local.INFO: Processing buffer {"connection_id":136936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:44:56] local.INFO: Packet analysis {"connection_id":136936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:44:56] local.INFO: Extracted packet for processing {"connection_id":136936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:44:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827098112001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:44: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-07-19 22:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784481153000,"timestamp_ms":1784481153000,"timestamp_seconds":1784481153,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b5d7fe8"} 
[2026-07-19 22:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:44:56] 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-07-19 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:44:56] 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-07-19 22: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-07-19 22:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827098112001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827098112001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:44:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:44:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827098112001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":136936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:44:56] local.INFO: GPS data processed {"connection_id":136936,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:44:56] local.INFO: Acknowledgment sent {"connection_id":136936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:45:07] local.INFO: TCP Data received {"connection_id":138017,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:45:07] local.INFO: Processing buffer {"connection_id":138017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:45:07] local.INFO: Packet analysis {"connection_id":138017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:45:07] local.INFO: Extracted packet for processing {"connection_id":138017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:45:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827097600001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:45: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-07-19 22:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784481151000,"timestamp_ms":1784481151000,"timestamp_seconds":1784481151,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b5d7818"} 
[2026-07-19 22:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":138017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":138017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":138017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:45: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-07-19 22:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827097600001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827097600001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:45:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:45:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827097600001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":138017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:45:07] local.INFO: GPS data processed {"connection_id":138017,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:45:07] local.INFO: Acknowledgment sent {"connection_id":138017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:45:27] local.INFO: TCP Data received {"connection_id":136936,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:45:27] local.INFO: Processing buffer {"connection_id":136936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:45:27] local.INFO: Packet analysis {"connection_id":136936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:45:27] local.INFO: Extracted packet for processing {"connection_id":136936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:45:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827098112001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:45: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-07-19 22:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784481153000,"timestamp_ms":1784481153000,"timestamp_seconds":1784481153,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b5d7fe8"} 
[2026-07-19 22:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:45:27] 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-07-19 22:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:45:27] 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-07-19 22:45: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-07-19 22:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827098112001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827098112001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:45:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:45:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827098112001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":136936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:45:27] local.INFO: GPS data processed {"connection_id":136936,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:45:27] local.INFO: Acknowledgment sent {"connection_id":136936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:45:35] local.INFO: TCP Data received {"connection_id":137046,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:45:35] local.INFO: Processing buffer {"connection_id":137046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:45:35] local.INFO: IMEI packet received {"connection_id":137046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":137046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:45:40] local.INFO: TCP Data received {"connection_id":137046,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:45:40] local.INFO: Processing buffer {"connection_id":137046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:45:40] local.INFO: IMEI packet received {"connection_id":137046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":137046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:45:41] local.INFO: TCP Data received {"connection_id":137046,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:45:41] local.INFO: Processing buffer {"connection_id":137046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:45:41] local.INFO: Packet analysis {"connection_id":137046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:45:41] local.INFO: Extracted packet for processing {"connection_id":137046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:45:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827097600001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784481151000,"timestamp_ms":1784481151000,"timestamp_seconds":1784481151,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b5d7818"} 
[2026-07-19 22:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":137046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":137046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":137046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827097600001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827097600001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:45:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:45:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827097600001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":137046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:45:41] local.INFO: GPS data processed {"connection_id":137046,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:45:41] local.INFO: Acknowledgment sent {"connection_id":137046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:45:55] local.INFO: TCP Data received {"connection_id":139403,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:45:55] local.INFO: Processing buffer {"connection_id":139403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:45:55] local.INFO: IMEI packet received {"connection_id":139403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":139403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:45:55] local.INFO: TCP Data received {"connection_id":137045,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:45:55] local.INFO: Processing buffer {"connection_id":137045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:45:55] local.INFO: IMEI packet received {"connection_id":137045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 22:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":137045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:46:00] local.INFO: TCP Data received {"connection_id":139403,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:46:00] local.INFO: Processing buffer {"connection_id":139403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:46:00] local.INFO: IMEI packet received {"connection_id":139403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":139403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:46:01] local.INFO: TCP Data received {"connection_id":139403,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:46:01] local.INFO: Processing buffer {"connection_id":139403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:46:01] local.INFO: Packet analysis {"connection_id":139403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:46:01] local.INFO: Extracted packet for processing {"connection_id":139403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:46:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827098112001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:46: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-07-19 22:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784481153000,"timestamp_ms":1784481153000,"timestamp_seconds":1784481153,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b5d7fe8"} 
[2026-07-19 22:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:46:01] 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-07-19 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:46:01] 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-07-19 22: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-07-19 22:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":139403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":139403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":139403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827098112001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827098112001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:46:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:46:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827098112001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":139403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:46:01] local.INFO: GPS data processed {"connection_id":139403,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:46:01] local.INFO: Acknowledgment sent {"connection_id":139403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:46:05] local.INFO: TCP Data received {"connection_id":139403,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:46:05] local.INFO: Processing buffer {"connection_id":139403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:46:05] local.INFO: Packet analysis {"connection_id":139403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:46:05] local.INFO: Extracted packet for processing {"connection_id":139403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827098112001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784481153000,"timestamp_ms":1784481153000,"timestamp_seconds":1784481153,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b5d7fe8"} 
[2026-07-19 22:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:46:05] 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-07-19 22:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":139403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":139403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":139403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827098112001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827098112001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:46:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827098112001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":139403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:46:05] local.INFO: GPS data processed {"connection_id":139403,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:46:05] local.INFO: Acknowledgment sent {"connection_id":139403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:46:12] local.INFO: TCP Data received {"connection_id":137046,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:46:12] local.INFO: Processing buffer {"connection_id":137046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:46:12] local.INFO: Packet analysis {"connection_id":137046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:46:12] local.INFO: Extracted packet for processing {"connection_id":137046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:46:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827097600001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:46: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-07-19 22:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784481151000,"timestamp_ms":1784481151000,"timestamp_seconds":1784481151,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b5d7818"} 
[2026-07-19 22:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":137046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":137046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":137046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:46: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-07-19 22:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827097600001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827097600001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:46:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:46:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827097600001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":137046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:46:12] local.INFO: GPS data processed {"connection_id":137046,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:46:12] local.INFO: Acknowledgment sent {"connection_id":137046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:46:25] local.INFO: TCP Data received {"connection_id":136937,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:46:25] local.INFO: Processing buffer {"connection_id":136937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:46:25] local.INFO: IMEI packet received {"connection_id":136937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 22:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":136937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:46:30] local.INFO: TCP Data received {"connection_id":136938,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:46:30] local.INFO: Processing buffer {"connection_id":136938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:46:30] local.INFO: IMEI packet received {"connection_id":136938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":136938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:46:35] local.INFO: TCP Data received {"connection_id":136938,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:46:35] local.INFO: Processing buffer {"connection_id":136938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:46:35] local.INFO: IMEI packet received {"connection_id":136938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":136938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:46:36] local.INFO: TCP Data received {"connection_id":136938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:46:36] local.INFO: Processing buffer {"connection_id":136938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:46:36] local.INFO: Packet analysis {"connection_id":136938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:46:36] local.INFO: Extracted packet for processing {"connection_id":136938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827097600001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:46: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-07-19 22:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784481151000,"timestamp_ms":1784481151000,"timestamp_seconds":1784481151,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b5d7818"} 
[2026-07-19 22:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:46: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-07-19 22:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827097600001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827097600001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:46:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:46:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827097600001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":136938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:46:36] local.INFO: GPS data processed {"connection_id":136938,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:46:36] local.INFO: Acknowledgment sent {"connection_id":136938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:46:50] local.INFO: TCP Data received {"connection_id":139404,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:46:50] local.INFO: Processing buffer {"connection_id":139404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:46:50] local.INFO: IMEI packet received {"connection_id":139404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":139404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:46:55] local.INFO: TCP Data received {"connection_id":139404,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:46:55] local.INFO: Processing buffer {"connection_id":139404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:46:55] local.INFO: IMEI packet received {"connection_id":139404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":139404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:46:56] local.INFO: TCP Data received {"connection_id":139404,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:46:56] local.INFO: Processing buffer {"connection_id":139404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:46:56] local.INFO: Packet analysis {"connection_id":139404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:46:56] local.INFO: Extracted packet for processing {"connection_id":139404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:46:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827098112001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:46: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-07-19 22:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784481153000,"timestamp_ms":1784481153000,"timestamp_seconds":1784481153,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b5d7fe8"} 
[2026-07-19 22:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:46:56] 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-07-19 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:46:56] 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-07-19 22: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-07-19 22:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827098112001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827098112001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:46:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:46:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827098112001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":139404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:46:56] local.INFO: GPS data processed {"connection_id":139404,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:46:56] local.INFO: Acknowledgment sent {"connection_id":139404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:47:07] local.INFO: TCP Data received {"connection_id":136938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:47:07] local.INFO: Processing buffer {"connection_id":136938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:47:07] local.INFO: Packet analysis {"connection_id":136938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:47:07] local.INFO: Extracted packet for processing {"connection_id":136938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:47:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827097600001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:47: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-07-19 22:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784481151000,"timestamp_ms":1784481151000,"timestamp_seconds":1784481151,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b5d7818"} 
[2026-07-19 22:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:47: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-07-19 22:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827097600001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827097600001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:47:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:47:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827097600001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":136938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:47:07] local.INFO: GPS data processed {"connection_id":136938,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:47:07] local.INFO: Acknowledgment sent {"connection_id":136938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:47:27] local.INFO: TCP Data received {"connection_id":139404,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:47:27] local.INFO: Processing buffer {"connection_id":139404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:47:27] local.INFO: Packet analysis {"connection_id":139404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:47:27] local.INFO: Extracted packet for processing {"connection_id":139404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:47:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827098112001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:47: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-07-19 22:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784481153000,"timestamp_ms":1784481153000,"timestamp_seconds":1784481153,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b5d7fe8"} 
[2026-07-19 22:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:47:27] 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-07-19 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:47:27] 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-07-19 22: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-07-19 22:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827098112001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827098112001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:47:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:47:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827098112001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":139404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:47:27] local.INFO: GPS data processed {"connection_id":139404,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:47:27] local.INFO: Acknowledgment sent {"connection_id":139404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:47:30] local.INFO: TCP Data received {"connection_id":139406,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:47:30] local.INFO: Processing buffer {"connection_id":139406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:47:30] local.INFO: IMEI packet received {"connection_id":139406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":139406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:47:35] local.INFO: TCP Data received {"connection_id":139406,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:47:35] local.INFO: Processing buffer {"connection_id":139406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:47:35] local.INFO: IMEI packet received {"connection_id":139406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":139406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:47:36] local.INFO: TCP Data received {"connection_id":139406,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:47:36] local.INFO: Processing buffer {"connection_id":139406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:47:36] local.INFO: Packet analysis {"connection_id":139406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:47:36] local.INFO: Extracted packet for processing {"connection_id":139406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827097600001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:47: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-07-19 22:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784481151000,"timestamp_ms":1784481151000,"timestamp_seconds":1784481151,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b5d7818"} 
[2026-07-19 22:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:47: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-07-19 22:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827097600001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827097600001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:47:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:47:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827097600001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":139406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:47:36] local.INFO: GPS data processed {"connection_id":139406,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:47:36] local.INFO: Acknowledgment sent {"connection_id":139406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:47:50] local.INFO: TCP Data received {"connection_id":136939,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:47:50] local.INFO: Processing buffer {"connection_id":136939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:47:50] local.INFO: IMEI packet received {"connection_id":136939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":136939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:47:55] local.INFO: TCP Data received {"connection_id":136939,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:47:55] local.INFO: Processing buffer {"connection_id":136939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:47:55] local.INFO: IMEI packet received {"connection_id":136939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":136939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:47:56] local.INFO: TCP Data received {"connection_id":136939,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:47:56] local.INFO: Processing buffer {"connection_id":136939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b5d7fe8012d196540071ff010003d004926..."} 
[2026-07-19 22:47:56] local.INFO: Packet analysis {"connection_id":136939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:47:56] local.INFO: Extracted packet for processing {"connection_id":136939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:47:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827098112001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:47: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-07-19 22:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784481153000,"timestamp_ms":1784481153000,"timestamp_seconds":1784481153,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b5d7fe8"} 
[2026-07-19 22:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:47:56] 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-07-19 22:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:47:56] 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-07-19 22:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827098112001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827098112001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:47:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:47:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827098112001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":136939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:47:56] local.INFO: GPS data processed {"connection_id":136939,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:47:56] local.INFO: Acknowledgment sent {"connection_id":136939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:48:07] local.INFO: TCP Data received {"connection_id":139406,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:48:07] local.INFO: Processing buffer {"connection_id":139406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b5d7818012d34c58006aa4b98001400072b..."} 
[2026-07-19 22:48:07] local.INFO: Packet analysis {"connection_id":139406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:48:07] local.INFO: Extracted packet for processing {"connection_id":139406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b5d"} 
[2026-07-19 22:48:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827097600001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:48: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-07-19 22:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784481151000,"timestamp_ms":1784481151000,"timestamp_seconds":1784481151,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b5d7818"} 
[2026-07-19 22:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":139406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":139406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":139406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:48: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-07-19 22:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827097600001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827097600001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:48:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:48:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827097600001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":139406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:48:07] local.INFO: GPS data processed {"connection_id":139406,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:48:07] local.INFO: Acknowledgment sent {"connection_id":139406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:48:27] local.INFO: TCP Data received {"connection_id":136939,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:48:27] local.INFO: Processing buffer {"connection_id":136939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:48:27] local.INFO: Packet analysis {"connection_id":136939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:48:27] local.INFO: Extracted packet for processing {"connection_id":136939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:48:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827175168001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784481454000,"timestamp_ms":1784481454000,"timestamp_seconds":1784481454,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6217b0"} 
[2026-07-19 22:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:48:27] 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-07-19 22:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:48:27] 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-07-19 22:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827175168001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827175168001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:48:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:48:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827175168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":136939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:48:27] local.INFO: GPS data processed {"connection_id":136939,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:48:27] local.INFO: Acknowledgment sent {"connection_id":136939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:48:30] local.INFO: TCP Data received {"connection_id":139407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:48:30] local.INFO: Processing buffer {"connection_id":139407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:48:30] local.INFO: IMEI packet received {"connection_id":139407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":139407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:48:35] local.INFO: TCP Data received {"connection_id":139407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:48:35] local.INFO: Processing buffer {"connection_id":139407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:48:35] local.INFO: IMEI packet received {"connection_id":139407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":139407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:48:37] local.INFO: TCP Data received {"connection_id":139407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:48:37] local.INFO: Processing buffer {"connection_id":139407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:48:37] local.INFO: Packet analysis {"connection_id":139407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:48:37] local.INFO: Extracted packet for processing {"connection_id":139407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827174656001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:48: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-07-19 22:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784481452000,"timestamp_ms":1784481452000,"timestamp_seconds":1784481452,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b620fe0"} 
[2026-07-19 22:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:48: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-07-19 22:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827174656001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827174656001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:48:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827174656001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":139407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:48:37] local.INFO: GPS data processed {"connection_id":139407,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:48:37] local.INFO: Acknowledgment sent {"connection_id":139407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:48:50] local.INFO: TCP Data received {"connection_id":137047,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:48:50] local.INFO: Processing buffer {"connection_id":137047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:48:50] local.INFO: IMEI packet received {"connection_id":137047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":137047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:48:55] local.INFO: TCP Data received {"connection_id":137047,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:48:55] local.INFO: Processing buffer {"connection_id":137047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:48:55] local.INFO: IMEI packet received {"connection_id":137047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":137047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:48:56] local.INFO: TCP Data received {"connection_id":137047,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:48:56] local.INFO: Processing buffer {"connection_id":137047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:48:56] local.INFO: Packet analysis {"connection_id":137047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:48:56] local.INFO: Extracted packet for processing {"connection_id":137047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:48:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827175168001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784481454000,"timestamp_ms":1784481454000,"timestamp_seconds":1784481454,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6217b0"} 
[2026-07-19 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-07-19 22:48:56] 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-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:48:56] 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-07-19 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-07-19 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-07-19 22:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827175168001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827175168001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:48:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:48:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827175168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":137047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:48:56] local.INFO: GPS data processed {"connection_id":137047,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:48:56] local.INFO: Acknowledgment sent {"connection_id":137047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:49:08] local.INFO: TCP Data received {"connection_id":139407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:49:08] local.INFO: Processing buffer {"connection_id":139407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:49:08] local.INFO: Packet analysis {"connection_id":139407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:49:08] local.INFO: Extracted packet for processing {"connection_id":139407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:49:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827174656001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784481452000,"timestamp_ms":1784481452000,"timestamp_seconds":1784481452,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b620fe0"} 
[2026-07-19 22:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:49: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-07-19 22:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:49: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-07-19 22:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827174656001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827174656001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:49:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:49:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827174656001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":139407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:49:08] local.INFO: GPS data processed {"connection_id":139407,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:49:08] local.INFO: Acknowledgment sent {"connection_id":139407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:49:27] local.INFO: TCP Data received {"connection_id":137047,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:49:27] local.INFO: Processing buffer {"connection_id":137047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:49:27] local.INFO: Packet analysis {"connection_id":137047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:49:27] local.INFO: Extracted packet for processing {"connection_id":137047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:49:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827175168001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784481454000,"timestamp_ms":1784481454000,"timestamp_seconds":1784481454,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6217b0"} 
[2026-07-19 22:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:49:27] 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-07-19 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:49:27] 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-07-19 22: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-07-19 22:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827175168001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827175168001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:49:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:49:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827175168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":137047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:49:27] local.INFO: GPS data processed {"connection_id":137047,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:49:27] local.INFO: Acknowledgment sent {"connection_id":137047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:49:30] local.INFO: TCP Data received {"connection_id":139408,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:49:30] local.INFO: Processing buffer {"connection_id":139408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:49:30] local.INFO: IMEI packet received {"connection_id":139408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":139408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:49:35] local.INFO: TCP Data received {"connection_id":139408,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:49:35] local.INFO: Processing buffer {"connection_id":139408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:49:35] local.INFO: IMEI packet received {"connection_id":139408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":139408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:49:36] local.INFO: TCP Data received {"connection_id":139408,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:49:36] local.INFO: Processing buffer {"connection_id":139408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:49:36] local.INFO: Packet analysis {"connection_id":139408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:49:36] local.INFO: Extracted packet for processing {"connection_id":139408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827174656001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:49: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-07-19 22:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784481452000,"timestamp_ms":1784481452000,"timestamp_seconds":1784481452,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b620fe0"} 
[2026-07-19 22:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:49: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-07-19 22:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827174656001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827174656001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:49:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:49:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827174656001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":139408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:49:37] local.INFO: GPS data processed {"connection_id":139408,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:49:37] local.INFO: Acknowledgment sent {"connection_id":139408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:49:50] local.INFO: TCP Data received {"connection_id":138019,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:49:50] local.INFO: Processing buffer {"connection_id":138019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:49:50] local.INFO: IMEI packet received {"connection_id":138019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":138019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:49:55] local.INFO: TCP Data received {"connection_id":138019,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:49:55] local.INFO: Processing buffer {"connection_id":138019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:49:55] local.INFO: IMEI packet received {"connection_id":138019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":138019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:49:56] local.INFO: TCP Data received {"connection_id":138019,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:49:56] local.INFO: Processing buffer {"connection_id":138019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:49:56] local.INFO: Packet analysis {"connection_id":138019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:49:56] local.INFO: Extracted packet for processing {"connection_id":138019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:49:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827175168001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784481454000,"timestamp_ms":1784481454000,"timestamp_seconds":1784481454,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6217b0"} 
[2026-07-19 22:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:49:56] 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-07-19 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:49:56] 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-07-19 22: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-07-19 22:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":138019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":138019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":138019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:49:56] 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-07-19 22:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827175168001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827175168001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:49:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:49:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827175168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":138019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:49:56] local.INFO: GPS data processed {"connection_id":138019,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:49:56] local.INFO: Acknowledgment sent {"connection_id":138019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:50:09] local.INFO: TCP Data received {"connection_id":139408,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:50:09] local.INFO: Processing buffer {"connection_id":139408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:50:09] local.INFO: Packet analysis {"connection_id":139408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:50:09] local.INFO: Extracted packet for processing {"connection_id":139408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827174656001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:50: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-07-19 22:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784481452000,"timestamp_ms":1784481452000,"timestamp_seconds":1784481452,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b620fe0"} 
[2026-07-19 22:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:50: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-07-19 22:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827174656001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 22:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827174656001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:50:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827174656001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":139408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:50:09] local.INFO: GPS data processed {"connection_id":139408,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:50:09] local.INFO: Acknowledgment sent {"connection_id":139408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:50:27] local.INFO: TCP Data received {"connection_id":138019,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:50:28] local.INFO: Processing buffer {"connection_id":138019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:50:28] local.INFO: Packet analysis {"connection_id":138019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:50:28] local.INFO: Extracted packet for processing {"connection_id":138019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:50:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827175168001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:50: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-07-19 22:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784481454000,"timestamp_ms":1784481454000,"timestamp_seconds":1784481454,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6217b0"} 
[2026-07-19 22:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:50:28] 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-07-19 22:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:50:28] 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-07-19 22:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":138019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":138019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":138019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:50:28] 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-07-19 22:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827175168001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827175168001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:50:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:50:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827175168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":138019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:50:28] local.INFO: GPS data processed {"connection_id":138019,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:50:28] local.INFO: Acknowledgment sent {"connection_id":138019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:50:35] local.INFO: TCP Data received {"connection_id":139410,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:50:35] local.INFO: Processing buffer {"connection_id":139410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:50:35] local.INFO: IMEI packet received {"connection_id":139410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":139410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:50:40] local.INFO: TCP Data received {"connection_id":139410,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:50:40] local.INFO: Processing buffer {"connection_id":139410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:50:40] local.INFO: IMEI packet received {"connection_id":139410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":139410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:50:41] local.INFO: TCP Data received {"connection_id":139410,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:50:41] local.INFO: Processing buffer {"connection_id":139410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:50:41] local.INFO: Packet analysis {"connection_id":139410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:50:41] local.INFO: Extracted packet for processing {"connection_id":139410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:50:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827174656001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784481452000,"timestamp_ms":1784481452000,"timestamp_seconds":1784481452,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b620fe0"} 
[2026-07-19 22:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:50:41] 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-07-19 22:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827174656001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827174656001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:50:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:50:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827174656001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":139410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:50:41] local.INFO: GPS data processed {"connection_id":139410,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:50:41] local.INFO: Acknowledgment sent {"connection_id":139410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:50:55] local.INFO: TCP Data received {"connection_id":136940,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:50:55] local.INFO: Processing buffer {"connection_id":136940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:50:55] local.INFO: IMEI packet received {"connection_id":136940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":136940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:51:00] local.INFO: TCP Data received {"connection_id":136940,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:51:00] local.INFO: Processing buffer {"connection_id":136940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:51:00] local.INFO: IMEI packet received {"connection_id":136940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":136940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:51:01] local.INFO: TCP Data received {"connection_id":136940,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:51:01] local.INFO: Processing buffer {"connection_id":136940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:51:01] local.INFO: Packet analysis {"connection_id":136940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:51:01] local.INFO: Extracted packet for processing {"connection_id":136940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:51:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827175168001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:51: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-07-19 22:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784481454000,"timestamp_ms":1784481454000,"timestamp_seconds":1784481454,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6217b0"} 
[2026-07-19 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-07-19 22:51:01] 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-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:51:01] 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-07-19 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-07-19 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-07-19 22:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827175168001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827175168001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:51:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:51:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827175168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":136940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:51:01] local.INFO: GPS data processed {"connection_id":136940,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:51:01] local.INFO: Acknowledgment sent {"connection_id":136940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:51:06] local.INFO: TCP Data received {"connection_id":136940,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:51:06] local.INFO: Processing buffer {"connection_id":136940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:51:06] local.INFO: Packet analysis {"connection_id":136940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:51:06] local.INFO: Extracted packet for processing {"connection_id":136940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827175168001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784481454000,"timestamp_ms":1784481454000,"timestamp_seconds":1784481454,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6217b0"} 
[2026-07-19 22:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:51:06] 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-07-19 22:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":136940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":136940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":136940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827175168001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827175168001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:51:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827175168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":136940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:51:06] local.INFO: GPS data processed {"connection_id":136940,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:51:06] local.INFO: Acknowledgment sent {"connection_id":136940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:51:13] local.INFO: TCP Data received {"connection_id":139410,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:51:13] local.INFO: Processing buffer {"connection_id":139410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:51:13] local.INFO: Packet analysis {"connection_id":139410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:51:13] local.INFO: Extracted packet for processing {"connection_id":139410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:51:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827174656001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784481452000,"timestamp_ms":1784481452000,"timestamp_seconds":1784481452,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b620fe0"} 
[2026-07-19 22:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:51: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-07-19 22: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-07-19 22:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":139410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":139410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":139410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:51:13] 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-07-19 22:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827174656001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827174656001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:51:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:51:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827174656001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":139410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:51:13] local.INFO: GPS data processed {"connection_id":139410,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:51:13] local.INFO: Acknowledgment sent {"connection_id":139410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:51:31] local.INFO: TCP Data received {"connection_id":137050,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:51:31] local.INFO: Processing buffer {"connection_id":137050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:51:31] local.INFO: IMEI packet received {"connection_id":137050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":137050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:51:35] local.INFO: TCP Data received {"connection_id":137050,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:51:35] local.INFO: Processing buffer {"connection_id":137050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:51:35] local.INFO: IMEI packet received {"connection_id":137050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":137050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:51:36] local.INFO: TCP Data received {"connection_id":137050,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:51:36] local.INFO: Processing buffer {"connection_id":137050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:51:36] local.INFO: Packet analysis {"connection_id":137050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:51:36] local.INFO: Extracted packet for processing {"connection_id":137050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827174656001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:51: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-07-19 22:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784481452000,"timestamp_ms":1784481452000,"timestamp_seconds":1784481452,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b620fe0"} 
[2026-07-19 22:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:51: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-07-19 22:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827174656001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827174656001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:51:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:51:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827174656001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":137050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:51:36] local.INFO: GPS data processed {"connection_id":137050,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:51:36] local.INFO: Acknowledgment sent {"connection_id":137050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:51:40] local.INFO: TCP Data received {"connection_id":137049,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137049,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:51:40] local.INFO: Processing buffer {"connection_id":137049,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:51:40] local.INFO: IMEI packet received {"connection_id":137049,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 22:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":137049,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:51:50] local.INFO: TCP Data received {"connection_id":138020,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:51:50] local.INFO: Processing buffer {"connection_id":138020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:51:50] local.INFO: IMEI packet received {"connection_id":138020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":138020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:51:55] local.INFO: TCP Data received {"connection_id":138020,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:51:55] local.INFO: Processing buffer {"connection_id":138020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:51:55] local.INFO: IMEI packet received {"connection_id":138020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":138020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:51:56] local.INFO: TCP Data received {"connection_id":138020,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:51:56] local.INFO: Processing buffer {"connection_id":138020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:51:56] local.INFO: Packet analysis {"connection_id":138020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:51:56] local.INFO: Extracted packet for processing {"connection_id":138020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:51:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827175168001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:51: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-07-19 22:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784481454000,"timestamp_ms":1784481454000,"timestamp_seconds":1784481454,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6217b0"} 
[2026-07-19 22:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:51:56] 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-07-19 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:51:56] 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-07-19 22: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-07-19 22:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":138020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":138020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":138020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827175168001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827175168001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:51:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:51:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827175168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":138020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:51:56] local.INFO: GPS data processed {"connection_id":138020,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:51:56] local.INFO: Acknowledgment sent {"connection_id":138020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:52:08] local.INFO: TCP Data received {"connection_id":137050,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:52:08] local.INFO: Processing buffer {"connection_id":137050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:52:08] local.INFO: Packet analysis {"connection_id":137050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:52:08] local.INFO: Extracted packet for processing {"connection_id":137050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827174656001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784481452000,"timestamp_ms":1784481452000,"timestamp_seconds":1784481452,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b620fe0"} 
[2026-07-19 22:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:52: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-07-19 22: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-07-19 22:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827174656001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827174656001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:52:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827174656001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":137050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:52:08] local.INFO: GPS data processed {"connection_id":137050,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:52:08] local.INFO: Acknowledgment sent {"connection_id":137050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:52:26] local.INFO: TCP Data received {"connection_id":137051,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137051,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:52:26] local.INFO: Processing buffer {"connection_id":137051,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:52:26] local.INFO: IMEI packet received {"connection_id":137051,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 22:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":137051,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:52:27] local.INFO: TCP Data received {"connection_id":138020,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:52:27] local.INFO: Processing buffer {"connection_id":138020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:52:27] local.INFO: Packet analysis {"connection_id":138020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:52:27] local.INFO: Extracted packet for processing {"connection_id":138020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:52:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827175168001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:52: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-07-19 22:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784481454000,"timestamp_ms":1784481454000,"timestamp_seconds":1784481454,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6217b0"} 
[2026-07-19 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-07-19 22:52:27] 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-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:52:27] 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-07-19 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-07-19 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-07-19 22:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":138020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":138020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":138020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827175168001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827175168001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:52:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:52:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827175168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":138020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:52:27] local.INFO: GPS data processed {"connection_id":138020,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:52:27] local.INFO: Acknowledgment sent {"connection_id":138020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:52:30] local.INFO: TCP Data received {"connection_id":139411,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:52:30] local.INFO: Processing buffer {"connection_id":139411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:52:30] local.INFO: IMEI packet received {"connection_id":139411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":139411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:52:35] local.INFO: TCP Data received {"connection_id":139411,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:52:35] local.INFO: Processing buffer {"connection_id":139411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:52:35] local.INFO: IMEI packet received {"connection_id":139411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":139411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:52:36] local.INFO: TCP Data received {"connection_id":139411,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:52:36] local.INFO: Processing buffer {"connection_id":139411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:52:36] local.INFO: Packet analysis {"connection_id":139411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:52:36] local.INFO: Extracted packet for processing {"connection_id":139411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827174656001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:52: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-07-19 22:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784481452000,"timestamp_ms":1784481452000,"timestamp_seconds":1784481452,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b620fe0"} 
[2026-07-19 22:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827174656001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827174656001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:52:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:52:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827174656001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":139411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:52:36] local.INFO: GPS data processed {"connection_id":139411,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:52:36] local.INFO: Acknowledgment sent {"connection_id":139411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:52:50] local.INFO: TCP Data received {"connection_id":136941,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:52:50] local.INFO: Processing buffer {"connection_id":136941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:52:50] local.INFO: IMEI packet received {"connection_id":136941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":136941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:52:55] local.INFO: TCP Data received {"connection_id":136941,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:52:55] local.INFO: Processing buffer {"connection_id":136941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:52:55] local.INFO: IMEI packet received {"connection_id":136941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":136941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:52:56] local.INFO: TCP Data received {"connection_id":136941,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:52:56] local.INFO: Processing buffer {"connection_id":136941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6217b0012d196540071ff010003d004925..."} 
[2026-07-19 22:52:56] local.INFO: Packet analysis {"connection_id":136941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:52:56] local.INFO: Extracted packet for processing {"connection_id":136941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:52:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827175168001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:52: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-07-19 22:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784481454000,"timestamp_ms":1784481454000,"timestamp_seconds":1784481454,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6217b0"} 
[2026-07-19 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-07-19 22:52:56] 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-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 22:52:56] 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-07-19 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-07-19 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-07-19 22:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827175168001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827175168001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:52:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:52:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827175168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":136941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:52:56] local.INFO: GPS data processed {"connection_id":136941,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:52:56] local.INFO: Acknowledgment sent {"connection_id":136941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:53:08] local.INFO: TCP Data received {"connection_id":139411,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:53:08] local.INFO: Processing buffer {"connection_id":139411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b620fe0012d34c58006aa4b980014000729..."} 
[2026-07-19 22:53:08] local.INFO: Packet analysis {"connection_id":139411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:53:08] local.INFO: Extracted packet for processing {"connection_id":139411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b62"} 
[2026-07-19 22:53:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827174656001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:53: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-07-19 22:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784481452000,"timestamp_ms":1784481452000,"timestamp_seconds":1784481452,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b620fe0"} 
[2026-07-19 22:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 22:53: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-07-19 22:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827174656001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827174656001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:53:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:53:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827174656001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":139411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:53:08] local.INFO: GPS data processed {"connection_id":139411,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:53:08] local.INFO: Acknowledgment sent {"connection_id":139411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:53:27] local.INFO: TCP Data received {"connection_id":136941,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:53:27] local.INFO: Processing buffer {"connection_id":136941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:53:27] local.INFO: Packet analysis {"connection_id":136941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:53:27] local.INFO: Extracted packet for processing {"connection_id":136941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:53:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827252224001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:53: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-07-19 22:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784481755000,"timestamp_ms":1784481755000,"timestamp_seconds":1784481755,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b66af78"} 
[2026-07-19 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-07-19 22:53:27] 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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 22:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827252224001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827252224001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:53:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:53:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827252224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":136941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:53:28] local.INFO: GPS data processed {"connection_id":136941,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:53:28] local.INFO: Acknowledgment sent {"connection_id":136941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:53:35] local.INFO: TCP Data received {"connection_id":139412,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:53:35] local.INFO: Processing buffer {"connection_id":139412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:53:35] local.INFO: IMEI packet received {"connection_id":139412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":139412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:53:40] local.INFO: TCP Data received {"connection_id":139412,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:53:40] local.INFO: Processing buffer {"connection_id":139412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:53:40] local.INFO: IMEI packet received {"connection_id":139412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":139412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:53:41] local.INFO: TCP Data received {"connection_id":139412,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:53:41] local.INFO: Processing buffer {"connection_id":139412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:53:41] local.INFO: Packet analysis {"connection_id":139412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:53:41] local.INFO: Extracted packet for processing {"connection_id":139412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:53:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827251712001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784481753000,"timestamp_ms":1784481753000,"timestamp_seconds":1784481753,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b66a7a8"} 
[2026-07-19 22:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:53:41] 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-07-19 22:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827251712001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827251712001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:53:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:53:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827251712001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":139412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:53:41] local.INFO: GPS data processed {"connection_id":139412,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:53:41] local.INFO: Acknowledgment sent {"connection_id":139412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:53:46] local.INFO: TCP Data received {"connection_id":139412,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:53:46] local.INFO: Processing buffer {"connection_id":139412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:53:46] local.INFO: Packet analysis {"connection_id":139412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:53:46] local.INFO: Extracted packet for processing {"connection_id":139412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:53:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827251712001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784481753000,"timestamp_ms":1784481753000,"timestamp_seconds":1784481753,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b66a7a8"} 
[2026-07-19 22:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":139412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":139412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":139412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827251712001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827251712001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:53:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:53:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827251712001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":139412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:53:46] local.INFO: GPS data processed {"connection_id":139412,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:53:46] local.INFO: Acknowledgment sent {"connection_id":139412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:53:55] local.INFO: TCP Data received {"connection_id":136943,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:53:55] local.INFO: Processing buffer {"connection_id":136943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:53:55] local.INFO: IMEI packet received {"connection_id":136943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":136943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:54:00] local.INFO: TCP Data received {"connection_id":136943,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:54:00] local.INFO: Processing buffer {"connection_id":136943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:54:00] local.INFO: IMEI packet received {"connection_id":136943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":136943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:54:01] local.INFO: TCP Data received {"connection_id":136943,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:54:01] local.INFO: Processing buffer {"connection_id":136943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:54:01] local.INFO: Packet analysis {"connection_id":136943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:54:01] local.INFO: Extracted packet for processing {"connection_id":136943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:54:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827252224001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:54: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-07-19 22:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784481755000,"timestamp_ms":1784481755000,"timestamp_seconds":1784481755,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b66af78"} 
[2026-07-19 22:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:54:01] 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-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:54:01] 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-07-19 22:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827252224001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827252224001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:54:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:54:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827252224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":136943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:54:01] local.INFO: GPS data processed {"connection_id":136943,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:54:01] local.INFO: Acknowledgment sent {"connection_id":136943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:54:05] local.INFO: TCP Data received {"connection_id":136943,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:54:05] local.INFO: Processing buffer {"connection_id":136943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:54:05] local.INFO: Packet analysis {"connection_id":136943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:54:05] local.INFO: Extracted packet for processing {"connection_id":136943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827252224001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784481755000,"timestamp_ms":1784481755000,"timestamp_seconds":1784481755,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b66af78"} 
[2026-07-19 22:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:54:05] 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-07-19 22:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":136943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":136943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":136943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:54: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-07-19 22:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827252224001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827252224001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:54:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:54:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827252224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":136943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:54:05] local.INFO: GPS data processed {"connection_id":136943,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:54:05] local.INFO: Acknowledgment sent {"connection_id":136943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:54:30] local.INFO: TCP Data received {"connection_id":139413,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:54:30] local.INFO: Processing buffer {"connection_id":139413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:54:30] local.INFO: IMEI packet received {"connection_id":139413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":139413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:54:35] local.INFO: TCP Data received {"connection_id":139413,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:54:35] local.INFO: Processing buffer {"connection_id":139413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:54:35] local.INFO: IMEI packet received {"connection_id":139413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":139413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:54:36] local.INFO: TCP Data received {"connection_id":139413,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:54:36] local.INFO: Processing buffer {"connection_id":139413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:54:36] local.INFO: Packet analysis {"connection_id":139413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:54:36] local.INFO: Extracted packet for processing {"connection_id":139413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827251712001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:54: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-07-19 22:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784481753000,"timestamp_ms":1784481753000,"timestamp_seconds":1784481753,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b66a7a8"} 
[2026-07-19 22:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:54: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-07-19 22:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827251712001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827251712001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:54:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:54:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827251712001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":139413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:54:36] local.INFO: GPS data processed {"connection_id":139413,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:54:36] local.INFO: Acknowledgment sent {"connection_id":139413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:54:50] local.INFO: TCP Data received {"connection_id":137053,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:54:50] local.INFO: Processing buffer {"connection_id":137053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:54:50] local.INFO: IMEI packet received {"connection_id":137053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":137053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:54:55] local.INFO: TCP Data received {"connection_id":137053,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:54:55] local.INFO: Processing buffer {"connection_id":137053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:54:55] local.INFO: IMEI packet received {"connection_id":137053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":137053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:54:56] local.INFO: TCP Data received {"connection_id":137053,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:54:56] local.INFO: Processing buffer {"connection_id":137053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:54:56] local.INFO: Packet analysis {"connection_id":137053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:54:56] local.INFO: Extracted packet for processing {"connection_id":137053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:54:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827252224001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:54: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-07-19 22:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784481755000,"timestamp_ms":1784481755000,"timestamp_seconds":1784481755,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b66af78"} 
[2026-07-19 22:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:54:56] 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-07-19 22:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:54: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-07-19 22: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-07-19 22:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827252224001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827252224001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:54:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:54:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827252224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":137053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:54:56] local.INFO: GPS data processed {"connection_id":137053,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:54:56] local.INFO: Acknowledgment sent {"connection_id":137053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:55:08] local.INFO: TCP Data received {"connection_id":139413,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:55:08] local.INFO: Processing buffer {"connection_id":139413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:55:08] local.INFO: Packet analysis {"connection_id":139413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:55:08] local.INFO: Extracted packet for processing {"connection_id":139413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827251712001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784481753000,"timestamp_ms":1784481753000,"timestamp_seconds":1784481753,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b66a7a8"} 
[2026-07-19 22:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:55: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-07-19 22:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827251712001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827251712001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:55:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:55:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827251712001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":139413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:55:08] local.INFO: GPS data processed {"connection_id":139413,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:55:08] local.INFO: Acknowledgment sent {"connection_id":139413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:55:27] local.INFO: TCP Data received {"connection_id":137053,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:55:27] local.INFO: Processing buffer {"connection_id":137053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:55:27] local.INFO: Packet analysis {"connection_id":137053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:55:27] local.INFO: Extracted packet for processing {"connection_id":137053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:55:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827252224001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:55: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-07-19 22:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784481755000,"timestamp_ms":1784481755000,"timestamp_seconds":1784481755,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b66af78"} 
[2026-07-19 22:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:55:27] 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-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827252224001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827252224001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:55:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:55:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827252224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":137053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:55:27] local.INFO: GPS data processed {"connection_id":137053,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:55:27] local.INFO: Acknowledgment sent {"connection_id":137053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:55:30] local.INFO: TCP Data received {"connection_id":138023,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:55:30] local.INFO: Processing buffer {"connection_id":138023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:55:30] local.INFO: IMEI packet received {"connection_id":138023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":138023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:55:35] local.INFO: TCP Data received {"connection_id":138023,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:55:35] local.INFO: Processing buffer {"connection_id":138023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:55:35] local.INFO: IMEI packet received {"connection_id":138023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":138023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:55:36] local.INFO: TCP Data received {"connection_id":138023,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:55:36] local.INFO: Processing buffer {"connection_id":138023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:55:36] local.INFO: Packet analysis {"connection_id":138023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:55:36] local.INFO: Extracted packet for processing {"connection_id":138023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827251712001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:55: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-07-19 22:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784481753000,"timestamp_ms":1784481753000,"timestamp_seconds":1784481753,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b66a7a8"} 
[2026-07-19 22:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":138023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":138023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":138023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:55: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-07-19 22:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827251712001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827251712001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:55:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:55:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827251712001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":138023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:55:36] local.INFO: GPS data processed {"connection_id":138023,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:55:36] local.INFO: Acknowledgment sent {"connection_id":138023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:55:50] local.INFO: TCP Data received {"connection_id":138024,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:55:50] local.INFO: Processing buffer {"connection_id":138024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:55:50] local.INFO: IMEI packet received {"connection_id":138024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":138024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:55:55] local.INFO: TCP Data received {"connection_id":138024,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:55:55] local.INFO: Processing buffer {"connection_id":138024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:55:55] local.INFO: IMEI packet received {"connection_id":138024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":138024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:55:56] local.INFO: TCP Data received {"connection_id":138024,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:55:56] local.INFO: Processing buffer {"connection_id":138024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:55:56] local.INFO: Packet analysis {"connection_id":138024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:55:56] local.INFO: Extracted packet for processing {"connection_id":138024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:55:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827252224001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:55: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-07-19 22:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784481755000,"timestamp_ms":1784481755000,"timestamp_seconds":1784481755,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b66af78"} 
[2026-07-19 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-07-19 22:55:56] 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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:55: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-07-19 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-07-19 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-07-19 22:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":138024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":138024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":138024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827252224001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827252224001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:55:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:55:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827252224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":138024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:55:56] local.INFO: GPS data processed {"connection_id":138024,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:55:56] local.INFO: Acknowledgment sent {"connection_id":138024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:56:08] local.INFO: TCP Data received {"connection_id":138023,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:56:08] local.INFO: Processing buffer {"connection_id":138023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:56:08] local.INFO: Packet analysis {"connection_id":138023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:56:08] local.INFO: Extracted packet for processing {"connection_id":138023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827251712001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784481753000,"timestamp_ms":1784481753000,"timestamp_seconds":1784481753,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b66a7a8"} 
[2026-07-19 22:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:56: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-07-19 22: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-07-19 22:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":138023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":138023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":138023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827251712001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827251712001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:56:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827251712001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":138023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:56:08] local.INFO: GPS data processed {"connection_id":138023,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:56:08] local.INFO: Acknowledgment sent {"connection_id":138023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:56:27] local.INFO: TCP Data received {"connection_id":138024,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:56:27] local.INFO: Processing buffer {"connection_id":138024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:56:27] local.INFO: Packet analysis {"connection_id":138024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:56:27] local.INFO: Extracted packet for processing {"connection_id":138024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:56:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827252224001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:56: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-07-19 22:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784481755000,"timestamp_ms":1784481755000,"timestamp_seconds":1784481755,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b66af78"} 
[2026-07-19 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-07-19 22:56:27] 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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 22:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":138024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":138024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":138024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827252224001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827252224001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:56:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:56:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827252224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":138024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:56:27] local.INFO: GPS data processed {"connection_id":138024,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:56:27] local.INFO: Acknowledgment sent {"connection_id":138024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:56:30] local.INFO: TCP Data received {"connection_id":139414,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:56:30] local.INFO: Processing buffer {"connection_id":139414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:56:30] local.INFO: IMEI packet received {"connection_id":139414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":139414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:56:35] local.INFO: TCP Data received {"connection_id":139414,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:56:35] local.INFO: Processing buffer {"connection_id":139414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:56:35] local.INFO: IMEI packet received {"connection_id":139414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":139414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:56:36] local.INFO: TCP Data received {"connection_id":139414,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:56:36] local.INFO: Processing buffer {"connection_id":139414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:56:36] local.INFO: Packet analysis {"connection_id":139414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:56:36] local.INFO: Extracted packet for processing {"connection_id":139414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827251712001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784481753000,"timestamp_ms":1784481753000,"timestamp_seconds":1784481753,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b66a7a8"} 
[2026-07-19 22:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:56: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-07-19 22:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827251712001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827251712001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:56:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:56:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827251712001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":139414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:56:36] local.INFO: GPS data processed {"connection_id":139414,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:56:36] local.INFO: Acknowledgment sent {"connection_id":139414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:56:50] local.INFO: TCP Data received {"connection_id":136944,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:56:50] local.INFO: Processing buffer {"connection_id":136944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:56:50] local.INFO: IMEI packet received {"connection_id":136944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":136944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:56:55] local.INFO: TCP Data received {"connection_id":136944,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:56:55] local.INFO: Processing buffer {"connection_id":136944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:56:55] local.INFO: IMEI packet received {"connection_id":136944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":136944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:56:56] local.INFO: TCP Data received {"connection_id":136944,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:56:56] local.INFO: Processing buffer {"connection_id":136944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:56:56] local.INFO: Packet analysis {"connection_id":136944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:56:56] local.INFO: Extracted packet for processing {"connection_id":136944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:56:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827252224001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22: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-07-19 22:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784481755000,"timestamp_ms":1784481755000,"timestamp_seconds":1784481755,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b66af78"} 
[2026-07-19 22:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:56:56] 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-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:56: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-07-19 22: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-07-19 22:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827252224001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827252224001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:56:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:56:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827252224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":136944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:56:56] local.INFO: GPS data processed {"connection_id":136944,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:56:56] local.INFO: Acknowledgment sent {"connection_id":136944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:57:08] local.INFO: TCP Data received {"connection_id":139414,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:57:08] local.INFO: Processing buffer {"connection_id":139414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:57:08] local.INFO: Packet analysis {"connection_id":139414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:57:08] local.INFO: Extracted packet for processing {"connection_id":139414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827251712001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:57: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-07-19 22:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784481753000,"timestamp_ms":1784481753000,"timestamp_seconds":1784481753,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b66a7a8"} 
[2026-07-19 22:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:57: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-07-19 22: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-07-19 22:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:57: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-07-19 22:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827251712001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827251712001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:57:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827251712001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":139414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:57:08] local.INFO: GPS data processed {"connection_id":139414,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:57:08] local.INFO: Acknowledgment sent {"connection_id":139414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:57:27] local.INFO: TCP Data received {"connection_id":136944,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:57:27] local.INFO: Processing buffer {"connection_id":136944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:57:27] local.INFO: Packet analysis {"connection_id":136944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:57:27] local.INFO: Extracted packet for processing {"connection_id":136944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:57:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827252224001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:57: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-07-19 22:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784481755000,"timestamp_ms":1784481755000,"timestamp_seconds":1784481755,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b66af78"} 
[2026-07-19 22:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:57:27] 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-07-19 22:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827252224001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827252224001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:57:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:57:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827252224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":136944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:57:27] local.INFO: GPS data processed {"connection_id":136944,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:57:27] local.INFO: Acknowledgment sent {"connection_id":136944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:57:30] local.INFO: TCP Data received {"connection_id":136945,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:57:30] local.INFO: Processing buffer {"connection_id":136945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:57:30] local.INFO: IMEI packet received {"connection_id":136945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":136945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:57:35] local.INFO: TCP Data received {"connection_id":136945,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:57:35] local.INFO: Processing buffer {"connection_id":136945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:57:35] local.INFO: IMEI packet received {"connection_id":136945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":136945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:57:36] local.INFO: TCP Data received {"connection_id":136945,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:57:36] local.INFO: Processing buffer {"connection_id":136945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:57:36] local.INFO: Packet analysis {"connection_id":136945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:57:36] local.INFO: Extracted packet for processing {"connection_id":136945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827251712001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:57: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-07-19 22:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784481753000,"timestamp_ms":1784481753000,"timestamp_seconds":1784481753,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b66a7a8"} 
[2026-07-19 22:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:57: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-07-19 22:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827251712001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827251712001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:57:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:57:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827251712001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":136945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:57:36] local.INFO: GPS data processed {"connection_id":136945,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:57:36] local.INFO: Acknowledgment sent {"connection_id":136945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:57:45] local.INFO: TCP Data received {"connection_id":137055,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137055,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:57:45] local.INFO: Processing buffer {"connection_id":137055,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:57:45] local.INFO: IMEI packet received {"connection_id":137055,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 22:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":137055,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:57:50] local.INFO: TCP Data received {"connection_id":138025,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:57:50] local.INFO: Processing buffer {"connection_id":138025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:57:50] local.INFO: IMEI packet received {"connection_id":138025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":138025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:57:55] local.INFO: TCP Data received {"connection_id":138025,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:57:55] local.INFO: Processing buffer {"connection_id":138025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:57:55] local.INFO: IMEI packet received {"connection_id":138025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":138025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:57:56] local.INFO: TCP Data received {"connection_id":138025,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:57:56] local.INFO: Processing buffer {"connection_id":138025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b66af78012d196540071ff010003d004926..."} 
[2026-07-19 22:57:56] local.INFO: Packet analysis {"connection_id":138025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:57:56] local.INFO: Extracted packet for processing {"connection_id":138025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:57:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827252224001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:57: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-07-19 22:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784481755000,"timestamp_ms":1784481755000,"timestamp_seconds":1784481755,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b66af78"} 
[2026-07-19 22:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:57:56] 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-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:57: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-07-19 22: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-07-19 22:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":138025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":138025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":138025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827252224001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827252224001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:57:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:57:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827252224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":138025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:57:56] local.INFO: GPS data processed {"connection_id":138025,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:57:56] local.INFO: Acknowledgment sent {"connection_id":138025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:58:07] local.INFO: TCP Data received {"connection_id":136945,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:58:07] local.INFO: Processing buffer {"connection_id":136945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b66a7a8012d34c58006aa4b98001400072a..."} 
[2026-07-19 22:58:07] local.INFO: Packet analysis {"connection_id":136945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:58:07] local.INFO: Extracted packet for processing {"connection_id":136945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b66"} 
[2026-07-19 22:58:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827251712001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:58: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-07-19 22:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784481753000,"timestamp_ms":1784481753000,"timestamp_seconds":1784481753,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b66a7a8"} 
[2026-07-19 22:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 22:58: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-07-19 22: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-07-19 22:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:58: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-07-19 22:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827251712001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827251712001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:58:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:58:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827251712001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":136945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:58:07] local.INFO: GPS data processed {"connection_id":136945,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:58:07] local.INFO: Acknowledgment sent {"connection_id":136945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:58:27] local.INFO: TCP Data received {"connection_id":138025,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 22:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 22:58:27] local.INFO: Processing buffer {"connection_id":138025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 22:58:27] local.INFO: Packet analysis {"connection_id":138025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 22:58:27] local.INFO: Extracted packet for processing {"connection_id":138025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 22:58:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22:58: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-07-19 22:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827329280001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:58: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-07-19 22:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784482056000,"timestamp_ms":1784482056000,"timestamp_seconds":1784482056,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6b4740"} 
[2026-07-19 22:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:58:27] 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-07-19 22:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":138025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":138025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":138025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827329280001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827329280001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:58:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:58:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827329280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":138025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:58:27] local.INFO: GPS data processed {"connection_id":138025,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:58:27] local.INFO: Acknowledgment sent {"connection_id":138025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:58:30] local.INFO: TCP Data received {"connection_id":139415,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:58:30] local.INFO: Processing buffer {"connection_id":139415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 22:58:30] local.INFO: IMEI packet received {"connection_id":139415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 22:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":139415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:58:35] local.INFO: TCP Data received {"connection_id":139416,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:58:35] local.INFO: Processing buffer {"connection_id":139416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:58:35] local.INFO: IMEI packet received {"connection_id":139416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":139416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:58:40] local.INFO: TCP Data received {"connection_id":139416,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:58:40] local.INFO: Processing buffer {"connection_id":139416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:58:40] local.INFO: IMEI packet received {"connection_id":139416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":139416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:58:41] local.INFO: TCP Data received {"connection_id":139416,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 22:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 22:58:41] local.INFO: Processing buffer {"connection_id":139416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 22:58:41] local.INFO: Packet analysis {"connection_id":139416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 22:58:41] local.INFO: Extracted packet for processing {"connection_id":139416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 22:58:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827328768001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784482054000,"timestamp_ms":1784482054000,"timestamp_seconds":1784482054,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6b3f70"} 
[2026-07-19 22:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 22:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:58: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-07-19 22:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827328768001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827328768001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:58:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:58:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827328768001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":139416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:58:41] local.INFO: GPS data processed {"connection_id":139416,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:58:41] local.INFO: Acknowledgment sent {"connection_id":139416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:58:46] local.INFO: TCP Data received {"connection_id":139416,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 22:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 22:58:46] local.INFO: Processing buffer {"connection_id":139416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 22:58:46] local.INFO: Packet analysis {"connection_id":139416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 22:58:46] local.INFO: Extracted packet for processing {"connection_id":139416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 22:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827328768001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 22:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784482054000,"timestamp_ms":1784482054000,"timestamp_seconds":1784482054,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6b3f70"} 
[2026-07-19 22:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 22:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":139416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":139416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":139416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827328768001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827328768001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:58:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827328768001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":139416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:58:46] local.INFO: GPS data processed {"connection_id":139416,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:58:46] local.INFO: Acknowledgment sent {"connection_id":139416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:58:50] local.INFO: TCP Data received {"connection_id":137056,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:58:50] local.INFO: Processing buffer {"connection_id":137056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:58:50] local.INFO: IMEI packet received {"connection_id":137056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":137056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:58:55] local.INFO: TCP Data received {"connection_id":137056,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:58:55] local.INFO: Processing buffer {"connection_id":137056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:58:55] local.INFO: IMEI packet received {"connection_id":137056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":137056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:58:56] local.INFO: TCP Data received {"connection_id":137056,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 22:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 22:58:56] local.INFO: Processing buffer {"connection_id":137056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 22:58:56] local.INFO: Packet analysis {"connection_id":137056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 22:58:56] local.INFO: Extracted packet for processing {"connection_id":137056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 22:58:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 22:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827329280001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:58: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-07-19 22:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784482056000,"timestamp_ms":1784482056000,"timestamp_seconds":1784482056,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6b4740"} 
[2026-07-19 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-07-19 22:58:56] 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-07-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:58: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-07-19 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-07-19 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-07-19 22:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827329280001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827329280001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:58:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:58:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827329280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":137056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:58:56] local.INFO: GPS data processed {"connection_id":137056,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:58:56] local.INFO: Acknowledgment sent {"connection_id":137056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:59:27] local.INFO: TCP Data received {"connection_id":137056,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 22:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 22:59:27] local.INFO: Processing buffer {"connection_id":137056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 22:59:27] local.INFO: Packet analysis {"connection_id":137056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 22:59:27] local.INFO: Extracted packet for processing {"connection_id":137056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 22:59:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827329280001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:59: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-07-19 22:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784482056000,"timestamp_ms":1784482056000,"timestamp_seconds":1784482056,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6b4740"} 
[2026-07-19 22:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:59:27] 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-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22: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-07-19 22:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827329280001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827329280001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:59:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:59:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827329280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":137056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:59:27] local.INFO: GPS data processed {"connection_id":137056,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:59:27] local.INFO: Acknowledgment sent {"connection_id":137056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:59:30] local.INFO: TCP Data received {"connection_id":138027,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:59:30] local.INFO: Processing buffer {"connection_id":138027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:59:30] local.INFO: IMEI packet received {"connection_id":138027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 22:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":138027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:59:35] local.INFO: TCP Data received {"connection_id":138027,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:59:35] local.INFO: Processing buffer {"connection_id":138027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 22:59:35] local.INFO: IMEI packet received {"connection_id":138027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 22:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":138027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:59:36] local.INFO: TCP Data received {"connection_id":138027,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 22:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 22:59:36] local.INFO: Processing buffer {"connection_id":138027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 22:59:36] local.INFO: Packet analysis {"connection_id":138027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 22:59:36] local.INFO: Extracted packet for processing {"connection_id":138027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 22:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 22:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 22:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827328768001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 22:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 22:59: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-07-19 22:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784482054000,"timestamp_ms":1784482054000,"timestamp_seconds":1784482054,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6b3f70"} 
[2026-07-19 22:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 22:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 22:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 22:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 22:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":138027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":138027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":138027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 22:59: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-07-19 22:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 22:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 22:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827328768001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 22:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 22:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 22:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827328768001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:59:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 22:59:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 22:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 22:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827328768001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 22:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":138027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:59:36] local.INFO: GPS data processed {"connection_id":138027,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:59:36] local.INFO: Acknowledgment sent {"connection_id":138027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 22:59:50] local.INFO: TCP Data received {"connection_id":137057,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:59:50] local.INFO: Processing buffer {"connection_id":137057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:59:50] local.INFO: IMEI packet received {"connection_id":137057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 22:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":137057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 22:59:55] local.INFO: TCP Data received {"connection_id":137057,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:59:55] local.INFO: Processing buffer {"connection_id":137057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 22:59:55] local.INFO: IMEI packet received {"connection_id":137057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 22:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":137057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 22:59:56] local.INFO: TCP Data received {"connection_id":137057,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 22:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 22:59:56] local.INFO: Processing buffer {"connection_id":137057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 22:59:56] local.INFO: Packet analysis {"connection_id":137057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 22:59:56] local.INFO: Extracted packet for processing {"connection_id":137057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 22:59:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 22: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-07-19 22:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827329280001,"note":"Value kept but may cause issues"} 
[2026-07-19 22:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 22:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 22:59: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-07-19 22:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784482056000,"timestamp_ms":1784482056000,"timestamp_seconds":1784482056,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6b4740"} 
[2026-07-19 22:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 22:59:56] 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-07-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 22:59: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-07-19 22: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-07-19 22:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 22:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 22:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 22:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 22:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 22:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 22:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 22:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827329280001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 22:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 22:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 22:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827329280001,"description":"Unknown IO ID 0"} 
[2026-07-19 22:59:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 22:59:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 22:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 22:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 22:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827329280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 22:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":137057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 22:59:56] local.INFO: GPS data processed {"connection_id":137057,"processed":1,"errors":0,"total":1} 
[2026-07-19 22:59:56] local.INFO: Acknowledgment sent {"connection_id":137057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:00:08] local.INFO: TCP Data received {"connection_id":138027,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 23:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 23:00:08] local.INFO: Processing buffer {"connection_id":138027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 23:00:08] local.INFO: Packet analysis {"connection_id":138027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:00:08] local.INFO: Extracted packet for processing {"connection_id":138027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827328768001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:00: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-07-19 23:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784482054000,"timestamp_ms":1784482054000,"timestamp_seconds":1784482054,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6b3f70"} 
[2026-07-19 23:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 23:00: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-07-19 23:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":138027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":138027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":138027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:00: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-07-19 23:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827328768001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827328768001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:00:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:00:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827328768001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":138027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:00:08] local.INFO: GPS data processed {"connection_id":138027,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:00:08] local.INFO: Acknowledgment sent {"connection_id":138027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:00:27] local.INFO: TCP Data received {"connection_id":137057,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 23:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 23:00:27] local.INFO: Processing buffer {"connection_id":137057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 23:00:27] local.INFO: Packet analysis {"connection_id":137057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:00:27] local.INFO: Extracted packet for processing {"connection_id":137057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:00:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827329280001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:00: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-07-19 23:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784482056000,"timestamp_ms":1784482056000,"timestamp_seconds":1784482056,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6b4740"} 
[2026-07-19 23:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:00:27] 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-07-19 23:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 23:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827329280001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827329280001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:00:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:00:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827329280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":137057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:00:27] local.INFO: GPS data processed {"connection_id":137057,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:00:27] local.INFO: Acknowledgment sent {"connection_id":137057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:00:30] local.INFO: TCP Data received {"connection_id":136946,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:00:30] local.INFO: Processing buffer {"connection_id":136946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:00:30] local.INFO: IMEI packet received {"connection_id":136946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":136946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:00:35] local.INFO: TCP Data received {"connection_id":136946,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:00:35] local.INFO: Processing buffer {"connection_id":136946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:00:35] local.INFO: IMEI packet received {"connection_id":136946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":136946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:00:36] local.INFO: TCP Data received {"connection_id":136946,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 23:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 23:00:36] local.INFO: Processing buffer {"connection_id":136946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 23:00:36] local.INFO: Packet analysis {"connection_id":136946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:00:36] local.INFO: Extracted packet for processing {"connection_id":136946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827328768001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:00: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-07-19 23:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784482054000,"timestamp_ms":1784482054000,"timestamp_seconds":1784482054,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6b3f70"} 
[2026-07-19 23:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 23:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:00: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-07-19 23:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827328768001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827328768001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:00:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827328768001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":136946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:00:36] local.INFO: GPS data processed {"connection_id":136946,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:00:36] local.INFO: Acknowledgment sent {"connection_id":136946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:00:50] local.INFO: TCP Data received {"connection_id":139418,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:00:50] local.INFO: Processing buffer {"connection_id":139418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:00:50] local.INFO: IMEI packet received {"connection_id":139418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":139418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:00:55] local.INFO: TCP Data received {"connection_id":139418,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:00:55] local.INFO: Processing buffer {"connection_id":139418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:00:55] local.INFO: IMEI packet received {"connection_id":139418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":139418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:00:56] local.INFO: TCP Data received {"connection_id":139418,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 23:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 23:00:56] local.INFO: Processing buffer {"connection_id":139418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 23:00:56] local.INFO: Packet analysis {"connection_id":139418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:00:56] local.INFO: Extracted packet for processing {"connection_id":139418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:00:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827329280001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:00: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-07-19 23:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784482056000,"timestamp_ms":1784482056000,"timestamp_seconds":1784482056,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6b4740"} 
[2026-07-19 23:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:00:56] 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-07-19 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 23:00: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-07-19 23: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-07-19 23:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827329280001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827329280001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:00:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:00:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827329280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":139418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:00:56] local.INFO: GPS data processed {"connection_id":139418,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:00:56] local.INFO: Acknowledgment sent {"connection_id":139418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:01:08] local.INFO: TCP Data received {"connection_id":136946,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 23:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 23:01:08] local.INFO: Processing buffer {"connection_id":136946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 23:01:08] local.INFO: Packet analysis {"connection_id":136946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:01:08] local.INFO: Extracted packet for processing {"connection_id":136946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827328768001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784482054000,"timestamp_ms":1784482054000,"timestamp_seconds":1784482054,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6b3f70"} 
[2026-07-19 23:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 23:01: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-07-19 23: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-07-19 23:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:01: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-07-19 23:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827328768001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827328768001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:01:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:01:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827328768001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":136946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:01:08] local.INFO: GPS data processed {"connection_id":136946,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:01:08] local.INFO: Acknowledgment sent {"connection_id":136946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:01:27] local.INFO: TCP Data received {"connection_id":139418,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 23:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 23:01:27] local.INFO: Processing buffer {"connection_id":139418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 23:01:27] local.INFO: Packet analysis {"connection_id":139418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:01:27] local.INFO: Extracted packet for processing {"connection_id":139418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:01:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827329280001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:01: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-07-19 23:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784482056000,"timestamp_ms":1784482056000,"timestamp_seconds":1784482056,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6b4740"} 
[2026-07-19 23:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:01:27] 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-07-19 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 23:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827329280001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827329280001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:01:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:01:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827329280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":139418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:01:27] local.INFO: GPS data processed {"connection_id":139418,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:01:27] local.INFO: Acknowledgment sent {"connection_id":139418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:01:30] local.INFO: TCP Data received {"connection_id":137059,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:01:30] local.INFO: Processing buffer {"connection_id":137059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:01:30] local.INFO: IMEI packet received {"connection_id":137059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":137059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:01:35] local.INFO: TCP Data received {"connection_id":137059,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:01:35] local.INFO: Processing buffer {"connection_id":137059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:01:35] local.INFO: IMEI packet received {"connection_id":137059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":137059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:01:36] local.INFO: TCP Data received {"connection_id":137059,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 23:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 23:01:36] local.INFO: Processing buffer {"connection_id":137059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 23:01:36] local.INFO: Packet analysis {"connection_id":137059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:01:36] local.INFO: Extracted packet for processing {"connection_id":137059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827328768001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784482054000,"timestamp_ms":1784482054000,"timestamp_seconds":1784482054,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6b3f70"} 
[2026-07-19 23:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 23:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23: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-07-19 23:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827328768001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827328768001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:01:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827328768001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":137059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:01:36] local.INFO: GPS data processed {"connection_id":137059,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:01:36] local.INFO: Acknowledgment sent {"connection_id":137059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:01:50] local.INFO: TCP Data received {"connection_id":137060,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:01:50] local.INFO: Processing buffer {"connection_id":137060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:01:50] local.INFO: IMEI packet received {"connection_id":137060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":137060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:01:55] local.INFO: TCP Data received {"connection_id":137060,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:01:55] local.INFO: Processing buffer {"connection_id":137060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:01:55] local.INFO: IMEI packet received {"connection_id":137060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":137060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:02:00] local.INFO: TCP Data received {"connection_id":137060,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 23:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 23:02:00] local.INFO: Processing buffer {"connection_id":137060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 23:02:00] local.INFO: Packet analysis {"connection_id":137060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:02:00] local.INFO: Extracted packet for processing {"connection_id":137060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:02:00] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827329280001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:02: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-07-19 23:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784482056000,"timestamp_ms":1784482056000,"timestamp_seconds":1784482056,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6b4740"} 
[2026-07-19 23:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 23:02: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-07-19 23: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-07-19 23:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":137060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":137060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":137060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827329280001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827329280001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:02:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:02:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827329280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":137060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:02:00] local.INFO: GPS data processed {"connection_id":137060,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:02:00] local.INFO: Acknowledgment sent {"connection_id":137060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:02:08] local.INFO: TCP Data received {"connection_id":137059,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 23:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 23:02:08] local.INFO: Processing buffer {"connection_id":137059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 23:02:08] local.INFO: Packet analysis {"connection_id":137059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:02:08] local.INFO: Extracted packet for processing {"connection_id":137059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827328768001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:02: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-07-19 23:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784482054000,"timestamp_ms":1784482054000,"timestamp_seconds":1784482054,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6b3f70"} 
[2026-07-19 23:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 23:02: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-07-19 23:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:02: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-07-19 23:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827328768001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827328768001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:02:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:02:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827328768001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":137059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:02:08] local.INFO: GPS data processed {"connection_id":137059,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:02:08] local.INFO: Acknowledgment sent {"connection_id":137059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:02:31] local.INFO: TCP Data received {"connection_id":137060,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 23:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 23:02:31] local.INFO: Processing buffer {"connection_id":137060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 23:02:31] local.INFO: Packet analysis {"connection_id":137060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:02:31] local.INFO: Extracted packet for processing {"connection_id":137060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:02:31] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827329280001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784482056000,"timestamp_ms":1784482056000,"timestamp_seconds":1784482056,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6b4740"} 
[2026-07-19 23:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:02:31] 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-07-19 23:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 23:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":137060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":137060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":137060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827329280001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827329280001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:02:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:02:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827329280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":137060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:02:31] local.INFO: GPS data processed {"connection_id":137060,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:02:31] local.INFO: Acknowledgment sent {"connection_id":137060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:02:35] local.INFO: TCP Data received {"connection_id":136948,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:02:35] local.INFO: Processing buffer {"connection_id":136948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:02:35] local.INFO: IMEI packet received {"connection_id":136948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":136948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:02:42] local.INFO: TCP Data received {"connection_id":136948,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:02:42] local.INFO: Processing buffer {"connection_id":136948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:02:42] local.INFO: IMEI packet received {"connection_id":136948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":136948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:02:43] local.INFO: TCP Data received {"connection_id":136948,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 23:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 23:02:43] local.INFO: Processing buffer {"connection_id":136948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 23:02:43] local.INFO: Packet analysis {"connection_id":136948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:02:43] local.INFO: Extracted packet for processing {"connection_id":136948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:02:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:02: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-07-19 23:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827328768001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:02: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-07-19 23:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784482054000,"timestamp_ms":1784482054000,"timestamp_seconds":1784482054,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6b3f70"} 
[2026-07-19 23:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 23:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:02: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-07-19 23:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":136948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":136948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":136948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827328768001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827328768001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:02:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:02:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827328768001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":136948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:02:43] local.INFO: GPS data processed {"connection_id":136948,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:02:43] local.INFO: Acknowledgment sent {"connection_id":136948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:02:45] local.INFO: TCP Data received {"connection_id":136948,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 23:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 23:02:45] local.INFO: Processing buffer {"connection_id":136948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6b3f70012d34c58006aa4b98001400072c..."} 
[2026-07-19 23:02:45] local.INFO: Packet analysis {"connection_id":136948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:02:45] local.INFO: Extracted packet for processing {"connection_id":136948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827328768001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784482054000,"timestamp_ms":1784482054000,"timestamp_seconds":1784482054,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6b3f70"} 
[2026-07-19 23:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 23:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":136948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":136948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":136948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827328768001,"66":25375,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827328768001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:02:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827328768001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":136948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:02:45] local.INFO: GPS data processed {"connection_id":136948,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:02:45] local.INFO: Acknowledgment sent {"connection_id":136948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:02:55] local.INFO: TCP Data received {"connection_id":137061,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:02:55] local.INFO: Processing buffer {"connection_id":137061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:02:55] local.INFO: IMEI packet received {"connection_id":137061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":137061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:03:00] local.INFO: TCP Data received {"connection_id":137061,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:03:00] local.INFO: Processing buffer {"connection_id":137061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:03:00] local.INFO: IMEI packet received {"connection_id":137061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":137061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:03:03] local.INFO: TCP Data received {"connection_id":137061,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 23:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 23:03:03] local.INFO: Processing buffer {"connection_id":137061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 23:03:03] local.INFO: Packet analysis {"connection_id":137061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:03:03] local.INFO: Extracted packet for processing {"connection_id":137061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:03:03] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827329280001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784482056000,"timestamp_ms":1784482056000,"timestamp_seconds":1784482056,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6b4740"} 
[2026-07-19 23:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 23:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":137061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":137061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":137061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827329280001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827329280001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:03:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:03:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827329280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":137061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:03:03] local.INFO: GPS data processed {"connection_id":137061,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:03:03] local.INFO: Acknowledgment sent {"connection_id":137061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:03:05] local.INFO: TCP Data received {"connection_id":137061,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 23:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 23:03:05] local.INFO: Processing buffer {"connection_id":137061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6b4740012d196540071ff010003d004923..."} 
[2026-07-19 23:03:05] local.INFO: Packet analysis {"connection_id":137061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:03:05] local.INFO: Extracted packet for processing {"connection_id":137061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6b"} 
[2026-07-19 23:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":61,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827329280001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784482056000,"timestamp_ms":1784482056000,"timestamp_seconds":1784482056,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6b4740"} 
[2026-07-19 23:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 23:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":137061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":137061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":137061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827329280001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827329280001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:03:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:03:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827329280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":137061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:03:05] local.INFO: GPS data processed {"connection_id":137061,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:03:05] local.INFO: Acknowledgment sent {"connection_id":137061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:03:30] local.INFO: TCP Data received {"connection_id":137062,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:03:30] local.INFO: Processing buffer {"connection_id":137062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:03:30] local.INFO: IMEI packet received {"connection_id":137062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":137062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:03:35] local.INFO: TCP Data received {"connection_id":137062,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:03:35] local.INFO: Processing buffer {"connection_id":137062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:03:35] local.INFO: IMEI packet received {"connection_id":137062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":137062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:03:36] local.INFO: TCP Data received {"connection_id":137062,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:03:36] local.INFO: Processing buffer {"connection_id":137062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:03:36] local.INFO: Packet analysis {"connection_id":137062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:03:36] local.INFO: Extracted packet for processing {"connection_id":137062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:03:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827405824001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:03: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-07-19 23:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784482355000,"timestamp_ms":1784482355000,"timestamp_seconds":1784482355,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6fd738"} 
[2026-07-19 23:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 23:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827405824001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827405824001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:03:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:03:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827405824001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":137062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:03:36] local.INFO: GPS data processed {"connection_id":137062,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:03:36] local.INFO: Acknowledgment sent {"connection_id":137062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:03:50] local.INFO: TCP Data received {"connection_id":136949,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:03:50] local.INFO: Processing buffer {"connection_id":136949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:03:50] local.INFO: IMEI packet received {"connection_id":136949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":136949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:03:55] local.INFO: TCP Data received {"connection_id":136949,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:03:55] local.INFO: Processing buffer {"connection_id":136949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:03:55] local.INFO: IMEI packet received {"connection_id":136949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":136949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:03:56] local.INFO: TCP Data received {"connection_id":136949,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:03:56] local.INFO: Processing buffer {"connection_id":136949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:03:56] local.INFO: Packet analysis {"connection_id":136949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:03:56] local.INFO: Extracted packet for processing {"connection_id":136949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:03:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":83,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827406336001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:03: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-07-19 23:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784482357000,"timestamp_ms":1784482357000,"timestamp_seconds":1784482357,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6fdf08"} 
[2026-07-19 23:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:03:56] 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-07-19 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:03: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-07-19 23: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-07-19 23:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827406336001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827406336001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:03:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:03:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827406336001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":136949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:03:56] local.INFO: GPS data processed {"connection_id":136949,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:03:56] local.INFO: Acknowledgment sent {"connection_id":136949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:04:00] local.INFO: TCP Data received {"connection_id":138028,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:04:00] local.INFO: Processing buffer {"connection_id":138028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:04:00] local.INFO: IMEI packet received {"connection_id":138028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 23:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":138028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:04:08] local.INFO: TCP Data received {"connection_id":137062,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:04:08] local.INFO: Processing buffer {"connection_id":137062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:04:08] local.INFO: Packet analysis {"connection_id":137062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:04:08] local.INFO: Extracted packet for processing {"connection_id":137062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:04:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827405824001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:04: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-07-19 23:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784482355000,"timestamp_ms":1784482355000,"timestamp_seconds":1784482355,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6fd738"} 
[2026-07-19 23:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 23:04: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-07-19 23: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-07-19 23:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827405824001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827405824001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:04:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:04:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827405824001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":137062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:04:08] local.INFO: GPS data processed {"connection_id":137062,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:04:08] local.INFO: Acknowledgment sent {"connection_id":137062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:04:25] local.INFO: TCP Data received {"connection_id":139419,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:04:25] local.INFO: Processing buffer {"connection_id":139419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:04:25] local.INFO: IMEI packet received {"connection_id":139419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 23:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":139419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:04:27] local.INFO: TCP Data received {"connection_id":136949,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:04:27] local.INFO: Processing buffer {"connection_id":136949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:04:27] local.INFO: Packet analysis {"connection_id":136949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:04:27] local.INFO: Extracted packet for processing {"connection_id":136949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:04:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":83,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827406336001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:04: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-07-19 23:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784482357000,"timestamp_ms":1784482357000,"timestamp_seconds":1784482357,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6fdf08"} 
[2026-07-19 23:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:04:27] 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-07-19 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827406336001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827406336001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:04:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:04:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827406336001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":136949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:04:27] local.INFO: GPS data processed {"connection_id":136949,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:04:27] local.INFO: Acknowledgment sent {"connection_id":136949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:04:30] local.INFO: TCP Data received {"connection_id":138029,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:04:30] local.INFO: Processing buffer {"connection_id":138029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:04:30] local.INFO: IMEI packet received {"connection_id":138029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":138029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:04:35] local.INFO: TCP Data received {"connection_id":138029,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:04:35] local.INFO: Processing buffer {"connection_id":138029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:04:35] local.INFO: IMEI packet received {"connection_id":138029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":138029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:04:36] local.INFO: TCP Data received {"connection_id":138029,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:04:36] local.INFO: Processing buffer {"connection_id":138029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:04:36] local.INFO: Packet analysis {"connection_id":138029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:04:36] local.INFO: Extracted packet for processing {"connection_id":138029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827405824001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784482355000,"timestamp_ms":1784482355000,"timestamp_seconds":1784482355,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6fd738"} 
[2026-07-19 23:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 23:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":138029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":138029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":138029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827405824001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827405824001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:04:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:04:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827405824001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":138029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:04:36] local.INFO: GPS data processed {"connection_id":138029,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:04:36] local.INFO: Acknowledgment sent {"connection_id":138029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:04:50] local.INFO: TCP Data received {"connection_id":137063,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:04:50] local.INFO: Processing buffer {"connection_id":137063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:04:50] local.INFO: IMEI packet received {"connection_id":137063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":137063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:04:55] local.INFO: TCP Data received {"connection_id":137063,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:04:55] local.INFO: Processing buffer {"connection_id":137063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:04:55] local.INFO: IMEI packet received {"connection_id":137063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":137063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:04:56] local.INFO: TCP Data received {"connection_id":137063,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:04:56] local.INFO: Processing buffer {"connection_id":137063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:04:56] local.INFO: Packet analysis {"connection_id":137063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:04:56] local.INFO: Extracted packet for processing {"connection_id":137063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:04:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":83,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 23:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827406336001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 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-07-19 23:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784482357000,"timestamp_ms":1784482357000,"timestamp_seconds":1784482357,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6fdf08"} 
[2026-07-19 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-07-19 23:04:56] 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-07-19 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-07-19 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-07-19 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-07-19 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-07-19 23:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827406336001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827406336001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:04:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:04:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827406336001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":137063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:04:56] local.INFO: GPS data processed {"connection_id":137063,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:04:56] local.INFO: Acknowledgment sent {"connection_id":137063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:05:08] local.INFO: TCP Data received {"connection_id":138029,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:05:08] local.INFO: Processing buffer {"connection_id":138029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:05:08] local.INFO: Packet analysis {"connection_id":138029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:05:08] local.INFO: Extracted packet for processing {"connection_id":138029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827405824001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784482355000,"timestamp_ms":1784482355000,"timestamp_seconds":1784482355,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6fd738"} 
[2026-07-19 23:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 23: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-07-19 23:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":138029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":138029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":138029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827405824001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827405824001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:05:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827405824001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":138029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:05:08] local.INFO: GPS data processed {"connection_id":138029,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:05:08] local.INFO: Acknowledgment sent {"connection_id":138029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:05:27] local.INFO: TCP Data received {"connection_id":137063,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:05:27] local.INFO: Processing buffer {"connection_id":137063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:05:27] local.INFO: Packet analysis {"connection_id":137063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:05:27] local.INFO: Extracted packet for processing {"connection_id":137063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:05:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":83,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827406336001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:05: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-07-19 23:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784482357000,"timestamp_ms":1784482357000,"timestamp_seconds":1784482357,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6fdf08"} 
[2026-07-19 23:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:05:27] 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-07-19 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827406336001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827406336001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:05:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:05:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827406336001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":137063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:05:27] local.INFO: GPS data processed {"connection_id":137063,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:05:27] local.INFO: Acknowledgment sent {"connection_id":137063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:05:30] local.INFO: TCP Data received {"connection_id":136951,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:05:30] local.INFO: Processing buffer {"connection_id":136951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:05:30] local.INFO: IMEI packet received {"connection_id":136951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":136951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:05:35] local.INFO: TCP Data received {"connection_id":136951,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:05:35] local.INFO: Processing buffer {"connection_id":136951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:05:35] local.INFO: IMEI packet received {"connection_id":136951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":136951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:05:36] local.INFO: TCP Data received {"connection_id":136951,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:05:36] local.INFO: Processing buffer {"connection_id":136951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:05:36] local.INFO: Packet analysis {"connection_id":136951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:05:36] local.INFO: Extracted packet for processing {"connection_id":136951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:05:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827405824001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:05: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-07-19 23:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784482355000,"timestamp_ms":1784482355000,"timestamp_seconds":1784482355,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6fd738"} 
[2026-07-19 23:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 23:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827405824001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827405824001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:05:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:05:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827405824001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":136951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:05:36] local.INFO: GPS data processed {"connection_id":136951,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:05:36] local.INFO: Acknowledgment sent {"connection_id":136951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:05:50] local.INFO: TCP Data received {"connection_id":138030,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:05:50] local.INFO: Processing buffer {"connection_id":138030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:05:50] local.INFO: IMEI packet received {"connection_id":138030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":138030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:05:55] local.INFO: TCP Data received {"connection_id":138030,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:05:55] local.INFO: Processing buffer {"connection_id":138030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:05:55] local.INFO: IMEI packet received {"connection_id":138030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":138030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:05:56] local.INFO: TCP Data received {"connection_id":138030,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:05:56] local.INFO: Processing buffer {"connection_id":138030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:05:56] local.INFO: Packet analysis {"connection_id":138030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:05:56] local.INFO: Extracted packet for processing {"connection_id":138030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:05:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":83,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827406336001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:05: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-07-19 23:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784482357000,"timestamp_ms":1784482357000,"timestamp_seconds":1784482357,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6fdf08"} 
[2026-07-19 23:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:05:56] 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-07-19 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:05: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-07-19 23: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-07-19 23:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":138030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":138030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":138030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827406336001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827406336001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:05:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:05:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827406336001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":138030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:05:56] local.INFO: GPS data processed {"connection_id":138030,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:05:56] local.INFO: Acknowledgment sent {"connection_id":138030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:06:08] local.INFO: TCP Data received {"connection_id":136951,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:06:08] local.INFO: Processing buffer {"connection_id":136951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:06:08] local.INFO: Packet analysis {"connection_id":136951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:06:08] local.INFO: Extracted packet for processing {"connection_id":136951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827405824001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:06: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-07-19 23:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784482355000,"timestamp_ms":1784482355000,"timestamp_seconds":1784482355,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6fd738"} 
[2026-07-19 23:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 23:06: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-07-19 23: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-07-19 23:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:06: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-07-19 23:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827405824001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827405824001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:06:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:06:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827405824001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":136951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:06:08] local.INFO: GPS data processed {"connection_id":136951,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:06:08] local.INFO: Acknowledgment sent {"connection_id":136951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:06:27] local.INFO: TCP Data received {"connection_id":138030,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:06:27] local.INFO: Processing buffer {"connection_id":138030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:06:27] local.INFO: Packet analysis {"connection_id":138030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:06:27] local.INFO: Extracted packet for processing {"connection_id":138030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:06:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":83,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827406336001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:06: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-07-19 23:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784482357000,"timestamp_ms":1784482357000,"timestamp_seconds":1784482357,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6fdf08"} 
[2026-07-19 23:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:06:27] 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-07-19 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":138030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":138030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":138030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827406336001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827406336001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:06:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:06:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827406336001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":138030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:06:27] local.INFO: GPS data processed {"connection_id":138030,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:06:27] local.INFO: Acknowledgment sent {"connection_id":138030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:06:30] local.INFO: TCP Data received {"connection_id":137064,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:06:30] local.INFO: Processing buffer {"connection_id":137064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:06:30] local.INFO: IMEI packet received {"connection_id":137064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":137064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:06:35] local.INFO: TCP Data received {"connection_id":137064,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:06:35] local.INFO: Processing buffer {"connection_id":137064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:06:35] local.INFO: IMEI packet received {"connection_id":137064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":137064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:06:36] local.INFO: TCP Data received {"connection_id":137064,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:06:36] local.INFO: Processing buffer {"connection_id":137064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:06:36] local.INFO: Packet analysis {"connection_id":137064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:06:36] local.INFO: Extracted packet for processing {"connection_id":137064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827405824001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784482355000,"timestamp_ms":1784482355000,"timestamp_seconds":1784482355,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6fd738"} 
[2026-07-19 23:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 23:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827405824001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827405824001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:06:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827405824001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":137064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:06:36] local.INFO: GPS data processed {"connection_id":137064,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:06:36] local.INFO: Acknowledgment sent {"connection_id":137064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:06:55] local.INFO: TCP Data received {"connection_id":137065,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:06:55] local.INFO: Processing buffer {"connection_id":137065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:06:55] local.INFO: IMEI packet received {"connection_id":137065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":137065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:07:00] local.INFO: TCP Data received {"connection_id":137065,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:07:00] local.INFO: Processing buffer {"connection_id":137065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:07:00] local.INFO: IMEI packet received {"connection_id":137065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":137065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:07:01] local.INFO: TCP Data received {"connection_id":137065,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:07:01] local.INFO: Processing buffer {"connection_id":137065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:07:01] local.INFO: Packet analysis {"connection_id":137065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:07:01] local.INFO: Extracted packet for processing {"connection_id":137065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:07:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":83,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827406336001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:07: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-07-19 23:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784482357000,"timestamp_ms":1784482357000,"timestamp_seconds":1784482357,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6fdf08"} 
[2026-07-19 23:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:07:01] 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-07-19 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":137065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":137065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":137065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827406336001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827406336001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:07:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:07:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827406336001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":137065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:07:01] local.INFO: GPS data processed {"connection_id":137065,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:07:01] local.INFO: Acknowledgment sent {"connection_id":137065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:07:05] local.INFO: TCP Data received {"connection_id":137065,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:07:05] local.INFO: Processing buffer {"connection_id":137065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:07:05] local.INFO: Packet analysis {"connection_id":137065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:07:05] local.INFO: Extracted packet for processing {"connection_id":137065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":83,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827406336001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784482357000,"timestamp_ms":1784482357000,"timestamp_seconds":1784482357,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6fdf08"} 
[2026-07-19 23:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":137065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":137065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":137065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827406336001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827406336001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:07:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:07:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827406336001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":137065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:07:05] local.INFO: GPS data processed {"connection_id":137065,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:07:05] local.INFO: Acknowledgment sent {"connection_id":137065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:07:08] local.INFO: TCP Data received {"connection_id":137064,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:07:08] local.INFO: Processing buffer {"connection_id":137064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:07:08] local.INFO: Packet analysis {"connection_id":137064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:07:08] local.INFO: Extracted packet for processing {"connection_id":137064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827405824001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784482355000,"timestamp_ms":1784482355000,"timestamp_seconds":1784482355,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6fd738"} 
[2026-07-19 23:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 23:07: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-07-19 23: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-07-19 23:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:07: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-07-19 23:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827405824001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827405824001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:07:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827405824001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":137064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:07:08] local.INFO: GPS data processed {"connection_id":137064,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:07:08] local.INFO: Acknowledgment sent {"connection_id":137064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:07:35] local.INFO: TCP Data received {"connection_id":139421,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:07:35] local.INFO: Processing buffer {"connection_id":139421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:07:35] local.INFO: IMEI packet received {"connection_id":139421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":139421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:07:41] local.INFO: TCP Data received {"connection_id":139421,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:07:41] local.INFO: Processing buffer {"connection_id":139421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:07:41] local.INFO: IMEI packet received {"connection_id":139421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":139421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:07:42] local.INFO: TCP Data received {"connection_id":139421,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:07:42] local.INFO: Processing buffer {"connection_id":139421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:07:42] local.INFO: Packet analysis {"connection_id":139421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:07:42] local.INFO: Extracted packet for processing {"connection_id":139421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:07:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827405824001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784482355000,"timestamp_ms":1784482355000,"timestamp_seconds":1784482355,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6fd738"} 
[2026-07-19 23:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 23:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827405824001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827405824001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:07:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:07:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827405824001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":139421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:07:42] local.INFO: GPS data processed {"connection_id":139421,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:07:42] local.INFO: Acknowledgment sent {"connection_id":139421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:07:50] local.INFO: TCP Data received {"connection_id":136952,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:07:50] local.INFO: Processing buffer {"connection_id":136952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:07:50] local.INFO: IMEI packet received {"connection_id":136952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":136952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:07:55] local.INFO: TCP Data received {"connection_id":136952,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:07:55] local.INFO: Processing buffer {"connection_id":136952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:07:55] local.INFO: IMEI packet received {"connection_id":136952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":136952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:07:56] local.INFO: TCP Data received {"connection_id":136952,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:07:56] local.INFO: Processing buffer {"connection_id":136952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:07:56] local.INFO: Packet analysis {"connection_id":136952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:07:56] local.INFO: Extracted packet for processing {"connection_id":136952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:07:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":83,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827406336001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:07: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-07-19 23:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784482357000,"timestamp_ms":1784482357000,"timestamp_seconds":1784482357,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6fdf08"} 
[2026-07-19 23:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:07:56] 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-07-19 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:07: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-07-19 23: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-07-19 23:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827406336001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827406336001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:07:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:07:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827406336001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":136952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:07:56] local.INFO: GPS data processed {"connection_id":136952,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:07:56] local.INFO: Acknowledgment sent {"connection_id":136952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:08:00] local.INFO: TCP Data received {"connection_id":136952,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:08:00] local.INFO: Processing buffer {"connection_id":136952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6fdf08012d196540071ff0100053004926..."} 
[2026-07-19 23:08:00] local.INFO: Packet analysis {"connection_id":136952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:08:00] local.INFO: Extracted packet for processing {"connection_id":136952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:08:00] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":83,"angle":73,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827406336001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:08: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-07-19 23:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784482357000,"timestamp_ms":1784482357000,"timestamp_seconds":1784482357,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6fdf08"} 
[2026-07-19 23:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:08: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-07-19 23: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-07-19 23:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":136952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":136952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":136952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827406336001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827406336001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:08:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:08:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827406336001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":136952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:08:01] local.INFO: GPS data processed {"connection_id":136952,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:08:01] local.INFO: Acknowledgment sent {"connection_id":136952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:08:13] local.INFO: TCP Data received {"connection_id":139421,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:08:13] local.INFO: Processing buffer {"connection_id":139421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b6fd738012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:08:13] local.INFO: Packet analysis {"connection_id":139421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:08:13] local.INFO: Extracted packet for processing {"connection_id":139421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b6f"} 
[2026-07-19 23:08:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827405824001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:08: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-07-19 23:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784482355000,"timestamp_ms":1784482355000,"timestamp_seconds":1784482355,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b6fd738"} 
[2026-07-19 23:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-19 23:08: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-07-19 23:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":139421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":139421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":139421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:08: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-07-19 23:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827405824001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827405824001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:08:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:08:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827405824001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":139421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:08:13] local.INFO: GPS data processed {"connection_id":139421,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:08:13] local.INFO: Acknowledgment sent {"connection_id":139421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:08:30] local.INFO: TCP Data received {"connection_id":136954,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:08:30] local.INFO: Processing buffer {"connection_id":136954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:08:30] local.INFO: IMEI packet received {"connection_id":136954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":136954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:08:31] local.INFO: TCP Data received {"connection_id":136952,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:08:31] local.INFO: Processing buffer {"connection_id":136952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:08:31] local.INFO: Packet analysis {"connection_id":136952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:08:31] local.INFO: Extracted packet for processing {"connection_id":136952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:08:31] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827483392001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784482658000,"timestamp_ms":1784482658000,"timestamp_seconds":1784482658,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7476d0"} 
[2026-07-19 23:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:08: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-07-19 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":136952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":136952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":136952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827483392001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827483392001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:08:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:08:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827483392001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":136952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:08:31] local.INFO: GPS data processed {"connection_id":136952,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:08:31] local.INFO: Acknowledgment sent {"connection_id":136952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:08:35] local.INFO: TCP Data received {"connection_id":136954,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:08:35] local.INFO: Processing buffer {"connection_id":136954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:08:35] local.INFO: IMEI packet received {"connection_id":136954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":136954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:08:36] local.INFO: TCP Data received {"connection_id":136954,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:08:36] local.INFO: Processing buffer {"connection_id":136954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:08:36] local.INFO: Packet analysis {"connection_id":136954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:08:36] local.INFO: Extracted packet for processing {"connection_id":136954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827482880001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784482656000,"timestamp_ms":1784482656000,"timestamp_seconds":1784482656,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b746f00"} 
[2026-07-19 23:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827482880001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827482880001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:08:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827482880001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":136954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:08:36] local.INFO: GPS data processed {"connection_id":136954,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:08:36] local.INFO: Acknowledgment sent {"connection_id":136954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:08:50] local.INFO: TCP Data received {"connection_id":136955,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:08:50] local.INFO: Processing buffer {"connection_id":136955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:08:50] local.INFO: IMEI packet received {"connection_id":136955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":136955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:08:55] local.INFO: TCP Data received {"connection_id":136955,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:08:55] local.INFO: Processing buffer {"connection_id":136955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:08:55] local.INFO: IMEI packet received {"connection_id":136955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":136955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:08:56] local.INFO: TCP Data received {"connection_id":136955,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:08:56] local.INFO: Processing buffer {"connection_id":136955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:08:56] local.INFO: Packet analysis {"connection_id":136955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:08:56] local.INFO: Extracted packet for processing {"connection_id":136955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:08:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 23:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827483392001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:08: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-07-19 23:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784482658000,"timestamp_ms":1784482658000,"timestamp_seconds":1784482658,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7476d0"} 
[2026-07-19 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-07-19 23:08:56] 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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:08: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-07-19 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-07-19 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-07-19 23:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827483392001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827483392001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:08:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:08:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827483392001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":136955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:08:56] local.INFO: GPS data processed {"connection_id":136955,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:08:56] local.INFO: Acknowledgment sent {"connection_id":136955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:09:12] local.INFO: TCP Data received {"connection_id":136954,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:09:12] local.INFO: Processing buffer {"connection_id":136954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:09:12] local.INFO: Packet analysis {"connection_id":136954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:09:12] local.INFO: Extracted packet for processing {"connection_id":136954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:09:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827482880001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:09: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-07-19 23:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784482656000,"timestamp_ms":1784482656000,"timestamp_seconds":1784482656,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b746f00"} 
[2026-07-19 23:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:09: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-07-19 23: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-07-19 23:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":136954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":136954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":136954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827482880001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827482880001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:09:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:09:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827482880001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":136954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:09:12] local.INFO: GPS data processed {"connection_id":136954,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:09:12] local.INFO: Acknowledgment sent {"connection_id":136954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:09:27] local.INFO: TCP Data received {"connection_id":136955,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:09:27] local.INFO: Processing buffer {"connection_id":136955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:09:27] local.INFO: Packet analysis {"connection_id":136955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:09:27] local.INFO: Extracted packet for processing {"connection_id":136955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:09:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 23:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827483392001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:09: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-07-19 23:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784482658000,"timestamp_ms":1784482658000,"timestamp_seconds":1784482658,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7476d0"} 
[2026-07-19 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-07-19 23:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 23:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827483392001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827483392001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:09:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:09:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827483392001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":136955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:09:27] local.INFO: GPS data processed {"connection_id":136955,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:09:27] local.INFO: Acknowledgment sent {"connection_id":136955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:09:30] local.INFO: TCP Data received {"connection_id":137067,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:09:30] local.INFO: Processing buffer {"connection_id":137067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:09:30] local.INFO: IMEI packet received {"connection_id":137067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":137067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:09:35] local.INFO: TCP Data received {"connection_id":137067,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:09:35] local.INFO: Processing buffer {"connection_id":137067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:09:35] local.INFO: IMEI packet received {"connection_id":137067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":137067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:09:36] local.INFO: TCP Data received {"connection_id":137067,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:09:36] local.INFO: Processing buffer {"connection_id":137067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:09:36] local.INFO: Packet analysis {"connection_id":137067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:09:36] local.INFO: Extracted packet for processing {"connection_id":137067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827482880001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:09: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-07-19 23:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784482656000,"timestamp_ms":1784482656000,"timestamp_seconds":1784482656,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b746f00"} 
[2026-07-19 23:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827482880001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827482880001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:09:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:09:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827482880001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":137067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:09:36] local.INFO: GPS data processed {"connection_id":137067,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:09:36] local.INFO: Acknowledgment sent {"connection_id":137067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:09:40] local.INFO: TCP Data received {"connection_id":139422,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:09:40] local.INFO: Processing buffer {"connection_id":139422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:09:40] local.INFO: IMEI packet received {"connection_id":139422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 23:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":139422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:09:50] local.INFO: TCP Data received {"connection_id":137068,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:09:50] local.INFO: Processing buffer {"connection_id":137068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:09:50] local.INFO: IMEI packet received {"connection_id":137068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":137068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:09:55] local.INFO: TCP Data received {"connection_id":137068,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:09:55] local.INFO: Processing buffer {"connection_id":137068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:09:55] local.INFO: IMEI packet received {"connection_id":137068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":137068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:09:56] local.INFO: TCP Data received {"connection_id":137068,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:09:56] local.INFO: Processing buffer {"connection_id":137068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:09:56] local.INFO: Packet analysis {"connection_id":137068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:09:56] local.INFO: Extracted packet for processing {"connection_id":137068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:09:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 23:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827483392001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:09: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-07-19 23:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784482658000,"timestamp_ms":1784482658000,"timestamp_seconds":1784482658,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7476d0"} 
[2026-07-19 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-07-19 23:09:56] 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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:09: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-07-19 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-07-19 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-07-19 23:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827483392001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827483392001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:09:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:09:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827483392001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":137068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:09:56] local.INFO: GPS data processed {"connection_id":137068,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:09:56] local.INFO: Acknowledgment sent {"connection_id":137068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:10:08] local.INFO: TCP Data received {"connection_id":137067,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:10:08] local.INFO: Processing buffer {"connection_id":137067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:10:08] local.INFO: Packet analysis {"connection_id":137067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:10:08] local.INFO: Extracted packet for processing {"connection_id":137067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827482880001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:10: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-07-19 23:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784482656000,"timestamp_ms":1784482656000,"timestamp_seconds":1784482656,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b746f00"} 
[2026-07-19 23:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:10: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-07-19 23:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:10: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-07-19 23:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827482880001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827482880001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:10:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827482880001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":137067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:10:08] local.INFO: GPS data processed {"connection_id":137067,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:10:08] local.INFO: Acknowledgment sent {"connection_id":137067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:10:25] local.INFO: TCP Data received {"connection_id":139423,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:10:25] local.INFO: Processing buffer {"connection_id":139423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:10:25] local.INFO: IMEI packet received {"connection_id":139423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 23:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":139423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:10:27] local.INFO: TCP Data received {"connection_id":137068,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:10:27] local.INFO: Processing buffer {"connection_id":137068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:10:27] local.INFO: Packet analysis {"connection_id":137068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:10:27] local.INFO: Extracted packet for processing {"connection_id":137068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:10:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827483392001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:10: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-07-19 23:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784482658000,"timestamp_ms":1784482658000,"timestamp_seconds":1784482658,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7476d0"} 
[2026-07-19 23:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827483392001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827483392001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:10:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:10:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827483392001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":137068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:10:27] local.INFO: GPS data processed {"connection_id":137068,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:10:27] local.INFO: Acknowledgment sent {"connection_id":137068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:10:35] local.INFO: TCP Data received {"connection_id":136956,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:10:35] local.INFO: Processing buffer {"connection_id":136956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:10:35] local.INFO: IMEI packet received {"connection_id":136956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":136956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:10:40] local.INFO: TCP Data received {"connection_id":136956,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:10:40] local.INFO: Processing buffer {"connection_id":136956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:10:40] local.INFO: IMEI packet received {"connection_id":136956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":136956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:10:42] local.INFO: TCP Data received {"connection_id":136956,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:10:42] local.INFO: Processing buffer {"connection_id":136956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:10:42] local.INFO: Packet analysis {"connection_id":136956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:10:42] local.INFO: Extracted packet for processing {"connection_id":136956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:10:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827482880001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784482656000,"timestamp_ms":1784482656000,"timestamp_seconds":1784482656,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b746f00"} 
[2026-07-19 23:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827482880001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827482880001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:10:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:10:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827482880001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":136956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:10:42] local.INFO: GPS data processed {"connection_id":136956,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:10:42] local.INFO: Acknowledgment sent {"connection_id":136956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:10:46] local.INFO: TCP Data received {"connection_id":136956,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:10:46] local.INFO: Processing buffer {"connection_id":136956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:10:46] local.INFO: Packet analysis {"connection_id":136956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:10:46] local.INFO: Extracted packet for processing {"connection_id":136956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:10:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827482880001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784482656000,"timestamp_ms":1784482656000,"timestamp_seconds":1784482656,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b746f00"} 
[2026-07-19 23:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":136956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":136956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":136956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827482880001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827482880001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:10:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:10:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827482880001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":136956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:10:46] local.INFO: GPS data processed {"connection_id":136956,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:10:46] local.INFO: Acknowledgment sent {"connection_id":136956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:10:55] local.INFO: TCP Data received {"connection_id":138031,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:10:55] local.INFO: Processing buffer {"connection_id":138031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:10:55] local.INFO: IMEI packet received {"connection_id":138031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":138031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:11:00] local.INFO: TCP Data received {"connection_id":138031,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:11:00] local.INFO: Processing buffer {"connection_id":138031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:11:00] local.INFO: IMEI packet received {"connection_id":138031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":138031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:11:01] local.INFO: TCP Data received {"connection_id":138031,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:11:01] local.INFO: Processing buffer {"connection_id":138031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:11:01] local.INFO: Packet analysis {"connection_id":138031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:11:01] local.INFO: Extracted packet for processing {"connection_id":138031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:11:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827483392001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:11: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-07-19 23:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784482658000,"timestamp_ms":1784482658000,"timestamp_seconds":1784482658,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7476d0"} 
[2026-07-19 23:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:11:01] 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-07-19 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":138031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":138031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":138031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827483392001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827483392001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:11:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:11:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827483392001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":138031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:11:01] local.INFO: GPS data processed {"connection_id":138031,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:11:01] local.INFO: Acknowledgment sent {"connection_id":138031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:11:05] local.INFO: TCP Data received {"connection_id":138031,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:11:05] local.INFO: Processing buffer {"connection_id":138031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:11:05] local.INFO: Packet analysis {"connection_id":138031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:11:05] local.INFO: Extracted packet for processing {"connection_id":138031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827483392001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784482658000,"timestamp_ms":1784482658000,"timestamp_seconds":1784482658,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7476d0"} 
[2026-07-19 23:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":138031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":138031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":138031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827483392001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827483392001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:11:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:11:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827483392001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":138031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:11:05] local.INFO: GPS data processed {"connection_id":138031,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:11:05] local.INFO: Acknowledgment sent {"connection_id":138031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:11:10] local.INFO: TCP Data received {"connection_id":138031,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:11:10] local.INFO: Processing buffer {"connection_id":138031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:11:10] local.INFO: Packet analysis {"connection_id":138031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:11:10] local.INFO: Extracted packet for processing {"connection_id":138031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:11:10] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827483392001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784482658000,"timestamp_ms":1784482658000,"timestamp_seconds":1784482658,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7476d0"} 
[2026-07-19 23:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827483392001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827483392001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:11:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:11:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827483392001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":138031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:11:10] local.INFO: GPS data processed {"connection_id":138031,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:11:10] local.INFO: Acknowledgment sent {"connection_id":138031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:11:30] local.INFO: TCP Data received {"connection_id":139424,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:11:30] local.INFO: Processing buffer {"connection_id":139424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:11:30] local.INFO: IMEI packet received {"connection_id":139424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":139424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:11:35] local.INFO: TCP Data received {"connection_id":139424,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:11:35] local.INFO: Processing buffer {"connection_id":139424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:11:35] local.INFO: IMEI packet received {"connection_id":139424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":139424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:11:36] local.INFO: TCP Data received {"connection_id":139424,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:11:36] local.INFO: Processing buffer {"connection_id":139424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:11:36] local.INFO: Packet analysis {"connection_id":139424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:11:36] local.INFO: Extracted packet for processing {"connection_id":139424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827482880001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:11: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-07-19 23:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784482656000,"timestamp_ms":1784482656000,"timestamp_seconds":1784482656,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b746f00"} 
[2026-07-19 23:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827482880001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827482880001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:11:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:11:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827482880001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":139424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:11:36] local.INFO: GPS data processed {"connection_id":139424,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:11:36] local.INFO: Acknowledgment sent {"connection_id":139424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:11:50] local.INFO: TCP Data received {"connection_id":137069,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:11:50] local.INFO: Processing buffer {"connection_id":137069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:11:50] local.INFO: IMEI packet received {"connection_id":137069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":137069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:11:55] local.INFO: TCP Data received {"connection_id":137069,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:11:55] local.INFO: Processing buffer {"connection_id":137069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:11:55] local.INFO: IMEI packet received {"connection_id":137069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":137069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:11:56] local.INFO: TCP Data received {"connection_id":137069,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:11:56] local.INFO: Processing buffer {"connection_id":137069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:11:56] local.INFO: Packet analysis {"connection_id":137069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:11:56] local.INFO: Extracted packet for processing {"connection_id":137069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:11:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827483392001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:11: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-07-19 23:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784482658000,"timestamp_ms":1784482658000,"timestamp_seconds":1784482658,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7476d0"} 
[2026-07-19 23:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:11:56] 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-07-19 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:11: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-07-19 23: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-07-19 23:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827483392001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827483392001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:11:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:11:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827483392001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":137069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:11:56] local.INFO: GPS data processed {"connection_id":137069,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:11:56] local.INFO: Acknowledgment sent {"connection_id":137069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:12:08] local.INFO: TCP Data received {"connection_id":139424,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:12:08] local.INFO: Processing buffer {"connection_id":139424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:12:08] local.INFO: Packet analysis {"connection_id":139424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:12:08] local.INFO: Extracted packet for processing {"connection_id":139424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827482880001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:12: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-07-19 23:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784482656000,"timestamp_ms":1784482656000,"timestamp_seconds":1784482656,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b746f00"} 
[2026-07-19 23:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:12: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-07-19 23: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-07-19 23:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:12: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-07-19 23:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827482880001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827482880001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:12:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827482880001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":139424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:12:08] local.INFO: GPS data processed {"connection_id":139424,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:12:08] local.INFO: Acknowledgment sent {"connection_id":139424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:12:27] local.INFO: TCP Data received {"connection_id":137069,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:12:27] local.INFO: Processing buffer {"connection_id":137069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:12:27] local.INFO: Packet analysis {"connection_id":137069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:12:27] local.INFO: Extracted packet for processing {"connection_id":137069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:12:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827483392001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:12: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-07-19 23:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784482658000,"timestamp_ms":1784482658000,"timestamp_seconds":1784482658,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7476d0"} 
[2026-07-19 23:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827483392001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827483392001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:12:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:12:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827483392001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":137069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:12:27] local.INFO: GPS data processed {"connection_id":137069,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:12:27] local.INFO: Acknowledgment sent {"connection_id":137069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:12:30] local.INFO: TCP Data received {"connection_id":136959,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:12:30] local.INFO: Processing buffer {"connection_id":136959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:12:30] local.INFO: IMEI packet received {"connection_id":136959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":136959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:12:35] local.INFO: TCP Data received {"connection_id":136959,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:12:35] local.INFO: Processing buffer {"connection_id":136959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:12:35] local.INFO: IMEI packet received {"connection_id":136959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":136959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:12:36] local.INFO: TCP Data received {"connection_id":136959,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:12:36] local.INFO: Processing buffer {"connection_id":136959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b746f00012d34c58006aa4b980014000727..."} 
[2026-07-19 23:12:36] local.INFO: Packet analysis {"connection_id":136959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:12:36] local.INFO: Extracted packet for processing {"connection_id":136959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827482880001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:12: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-07-19 23:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784482656000,"timestamp_ms":1784482656000,"timestamp_seconds":1784482656,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b746f00"} 
[2026-07-19 23:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827482880001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827482880001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:12:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:12:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827482880001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":136959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:12:36] local.INFO: GPS data processed {"connection_id":136959,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:12:36] local.INFO: Acknowledgment sent {"connection_id":136959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:12:50] local.INFO: TCP Data received {"connection_id":139425,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:12:50] local.INFO: Processing buffer {"connection_id":139425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:12:50] local.INFO: IMEI packet received {"connection_id":139425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":139425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:12:55] local.INFO: TCP Data received {"connection_id":139425,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:12:55] local.INFO: Processing buffer {"connection_id":139425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:12:55] local.INFO: IMEI packet received {"connection_id":139425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":139425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:12:56] local.INFO: TCP Data received {"connection_id":139425,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:12:56] local.INFO: Processing buffer {"connection_id":139425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7476d0012d196540071ff0100041004924..."} 
[2026-07-19 23:12:56] local.INFO: Packet analysis {"connection_id":139425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:12:56] local.INFO: Extracted packet for processing {"connection_id":139425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b74"} 
[2026-07-19 23:12:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827483392001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:12: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-07-19 23:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784482658000,"timestamp_ms":1784482658000,"timestamp_seconds":1784482658,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7476d0"} 
[2026-07-19 23:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:12:56] 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-07-19 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:12: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-07-19 23: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-07-19 23:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827483392001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827483392001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:12:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:12:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827483392001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":139425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:12:56] local.INFO: GPS data processed {"connection_id":139425,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:12:56] local.INFO: Acknowledgment sent {"connection_id":139425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:13:10] local.INFO: TCP Data received {"connection_id":139426,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:13:10] local.INFO: Processing buffer {"connection_id":139426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:13:10] local.INFO: IMEI packet received {"connection_id":139426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":139426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:13:27] local.INFO: TCP Data received {"connection_id":139425,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:13:27] local.INFO: Processing buffer {"connection_id":139425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:13:27] local.INFO: Packet analysis {"connection_id":139425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:13:27] local.INFO: Extracted packet for processing {"connection_id":139425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:13:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827560448001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:13: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-07-19 23:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784482959000,"timestamp_ms":1784482959000,"timestamp_seconds":1784482959,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b790e98"} 
[2026-07-19 23:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 23:13:27] 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-07-19 23:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827560448001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827560448001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:13:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:13:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827560448001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":139425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:13:27] local.INFO: GPS data processed {"connection_id":139425,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:13:27] local.INFO: Acknowledgment sent {"connection_id":139425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:13:40] local.INFO: TCP Data received {"connection_id":138033,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:13:40] local.INFO: Processing buffer {"connection_id":138033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:13:40] local.INFO: IMEI packet received {"connection_id":138033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":138033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:13:45] local.INFO: TCP Data received {"connection_id":138033,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:13:45] local.INFO: Processing buffer {"connection_id":138033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:13:45] local.INFO: IMEI packet received {"connection_id":138033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":138033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:13:50] local.INFO: TCP Data received {"connection_id":137071,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:13:50] local.INFO: Processing buffer {"connection_id":137071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:13:50] local.INFO: IMEI packet received {"connection_id":137071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":137071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:13:50] local.INFO: TCP Data received {"connection_id":138033,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:13:50] local.INFO: Processing buffer {"connection_id":138033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:13:50] local.INFO: IMEI packet received {"connection_id":138033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":138033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:13:52] local.INFO: TCP Data received {"connection_id":138033,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:13:52] local.INFO: Processing buffer {"connection_id":138033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:13:52] local.INFO: Packet analysis {"connection_id":138033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:13:52] local.INFO: Extracted packet for processing {"connection_id":138033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:13:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 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-07-19 23:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827559936001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784482957000,"timestamp_ms":1784482957000,"timestamp_seconds":1784482957,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7906c8"} 
[2026-07-19 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-07-19 23:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 23:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":138033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":138033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":138033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827559936001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827559936001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:13:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:13:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827559936001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":138033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:13:52] local.INFO: GPS data processed {"connection_id":138033,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:13:52] local.INFO: Acknowledgment sent {"connection_id":138033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:13:55] local.INFO: TCP Data received {"connection_id":137071,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:13:55] local.INFO: Processing buffer {"connection_id":137071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:13:55] local.INFO: IMEI packet received {"connection_id":137071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":137071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:13:56] local.INFO: TCP Data received {"connection_id":137071,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:13:56] local.INFO: Processing buffer {"connection_id":137071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:13:56] local.INFO: Packet analysis {"connection_id":137071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:13:56] local.INFO: Extracted packet for processing {"connection_id":137071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:13:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827560448001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:13: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-07-19 23:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784482959000,"timestamp_ms":1784482959000,"timestamp_seconds":1784482959,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b790e98"} 
[2026-07-19 23:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":96,"data_length":795,"current_offset":136} 
[2026-07-19 23:13:56] 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-07-19 23: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-07-19 23:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827560448001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827560448001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:13:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:13:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827560448001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:13:56] local.INFO: TCP Data received {"connection_id":138033,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:13:56] local.INFO: Processing buffer {"connection_id":138033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:13:56] local.INFO: Packet analysis {"connection_id":138033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:13:56] local.INFO: Extracted packet for processing {"connection_id":138033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:13:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827559936001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784482957000,"timestamp_ms":1784482957000,"timestamp_seconds":1784482957,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7906c8"} 
[2026-07-19 23:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":137071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:13:56] local.INFO: GPS data processed {"connection_id":137071,"processed":1,"errors":0,"total":1} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:13:56] local.INFO: Acknowledgment sent {"connection_id":137071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23: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-07-19 23:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":138033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":138033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":138033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:13:56] 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-07-19 23:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827559936001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827559936001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:13:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:13:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827559936001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":138033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:13:56] local.INFO: GPS data processed {"connection_id":138033,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:13:56] local.INFO: Acknowledgment sent {"connection_id":138033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:14:27] local.INFO: TCP Data received {"connection_id":137071,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:14:27] local.INFO: Processing buffer {"connection_id":137071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:14:27] local.INFO: Packet analysis {"connection_id":137071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:14:27] local.INFO: Extracted packet for processing {"connection_id":137071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:14:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827560448001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:14: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-07-19 23:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784482959000,"timestamp_ms":1784482959000,"timestamp_seconds":1784482959,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b790e98"} 
[2026-07-19 23:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 23:14:27] 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-07-19 23:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827560448001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827560448001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:14:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:14:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827560448001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":137071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:14:27] local.INFO: GPS data processed {"connection_id":137071,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:14:27] local.INFO: Acknowledgment sent {"connection_id":137071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:14:30] local.INFO: TCP Data received {"connection_id":136961,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:14:30] local.INFO: Processing buffer {"connection_id":136961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:14:30] local.INFO: IMEI packet received {"connection_id":136961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":136961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:14:35] local.INFO: TCP Data received {"connection_id":136961,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:14:35] local.INFO: Processing buffer {"connection_id":136961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:14:35] local.INFO: IMEI packet received {"connection_id":136961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":136961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:14:36] local.INFO: TCP Data received {"connection_id":136961,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:14:36] local.INFO: Processing buffer {"connection_id":136961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:14:36] local.INFO: Packet analysis {"connection_id":136961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:14:36] local.INFO: Extracted packet for processing {"connection_id":136961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:14:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827559936001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:14: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-07-19 23:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784482957000,"timestamp_ms":1784482957000,"timestamp_seconds":1784482957,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7906c8"} 
[2026-07-19 23:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:14: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-07-19 23:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827559936001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827559936001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:14:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:14:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827559936001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":136961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:14:36] local.INFO: GPS data processed {"connection_id":136961,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:14:36] local.INFO: Acknowledgment sent {"connection_id":136961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:14:55] local.INFO: TCP Data received {"connection_id":136962,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:14:55] local.INFO: Processing buffer {"connection_id":136962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:14:55] local.INFO: IMEI packet received {"connection_id":136962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":136962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:15:00] local.INFO: TCP Data received {"connection_id":136962,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:15:00] local.INFO: Processing buffer {"connection_id":136962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:15:00] local.INFO: IMEI packet received {"connection_id":136962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":136962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:15:01] local.INFO: TCP Data received {"connection_id":136962,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:15:01] local.INFO: Processing buffer {"connection_id":136962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:15:01] local.INFO: Packet analysis {"connection_id":136962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:15:01] local.INFO: Extracted packet for processing {"connection_id":136962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:15:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827560448001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:15: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-07-19 23:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784482959000,"timestamp_ms":1784482959000,"timestamp_seconds":1784482959,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b790e98"} 
[2026-07-19 23:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 23:15:01] 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-07-19 23: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-07-19 23:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827560448001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827560448001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:15:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:15:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827560448001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":136962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:15:01] local.INFO: GPS data processed {"connection_id":136962,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:15:01] local.INFO: Acknowledgment sent {"connection_id":136962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:15:05] local.INFO: TCP Data received {"connection_id":136962,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:15:05] local.INFO: Processing buffer {"connection_id":136962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:15:05] local.INFO: Packet analysis {"connection_id":136962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:15:05] local.INFO: Extracted packet for processing {"connection_id":136962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:15:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827560448001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784482959000,"timestamp_ms":1784482959000,"timestamp_seconds":1784482959,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b790e98"} 
[2026-07-19 23:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 23:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":136962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":136962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":136962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827560448001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827560448001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:15:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:15:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827560448001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":136962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:15:05] local.INFO: GPS data processed {"connection_id":136962,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:15:05] local.INFO: Acknowledgment sent {"connection_id":136962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:15:09] local.INFO: TCP Data received {"connection_id":136961,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:15:09] local.INFO: Processing buffer {"connection_id":136961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:15:09] local.INFO: Packet analysis {"connection_id":136961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:15:09] local.INFO: Extracted packet for processing {"connection_id":136961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827559936001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:15: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-07-19 23:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784482957000,"timestamp_ms":1784482957000,"timestamp_seconds":1784482957,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7906c8"} 
[2026-07-19 23:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:15: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-07-19 23:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":136961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":136961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":136961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:15: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-07-19 23:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827559936001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827559936001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:15:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827559936001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":136961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:15:10] local.INFO: GPS data processed {"connection_id":136961,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:15:10] local.INFO: Acknowledgment sent {"connection_id":136961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:15:30] local.INFO: TCP Data received {"connection_id":139427,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:15:30] local.INFO: Processing buffer {"connection_id":139427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:15:30] local.INFO: IMEI packet received {"connection_id":139427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":139427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:15:35] local.INFO: TCP Data received {"connection_id":139427,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:15:35] local.INFO: Processing buffer {"connection_id":139427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:15:35] local.INFO: IMEI packet received {"connection_id":139427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":139427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:15:36] local.INFO: TCP Data received {"connection_id":139427,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:15:36] local.INFO: Processing buffer {"connection_id":139427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:15:36] local.INFO: Packet analysis {"connection_id":139427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:15:36] local.INFO: Extracted packet for processing {"connection_id":139427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827559936001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:15: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-07-19 23:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784482957000,"timestamp_ms":1784482957000,"timestamp_seconds":1784482957,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7906c8"} 
[2026-07-19 23:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:15: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-07-19 23:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827559936001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 23:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827559936001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:15:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827559936001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":139427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:15:36] local.INFO: GPS data processed {"connection_id":139427,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:15:36] local.INFO: Acknowledgment sent {"connection_id":139427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:15:50] local.INFO: TCP Data received {"connection_id":138034,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:15:50] local.INFO: Processing buffer {"connection_id":138034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:15:50] local.INFO: IMEI packet received {"connection_id":138034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":138034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:15:55] local.INFO: TCP Data received {"connection_id":136963,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:15:55] local.INFO: Processing buffer {"connection_id":136963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:15:55] local.INFO: IMEI packet received {"connection_id":136963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 23:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":136963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:15:55] local.INFO: TCP Data received {"connection_id":138034,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:15:55] local.INFO: Processing buffer {"connection_id":138034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:15:55] local.INFO: IMEI packet received {"connection_id":138034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":138034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:16:00] local.INFO: TCP Data received {"connection_id":138034,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:16:00] local.INFO: Processing buffer {"connection_id":138034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:16:00] local.INFO: IMEI packet received {"connection_id":138034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":138034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:16:01] local.INFO: TCP Data received {"connection_id":138034,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:16:01] local.INFO: Processing buffer {"connection_id":138034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:16:01] local.INFO: Packet analysis {"connection_id":138034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:16:01] local.INFO: Extracted packet for processing {"connection_id":138034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:16:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827560448001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:16: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-07-19 23:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784482959000,"timestamp_ms":1784482959000,"timestamp_seconds":1784482959,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b790e98"} 
[2026-07-19 23:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 23:16:01] 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-07-19 23: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-07-19 23:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":138034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":138034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":138034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827560448001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827560448001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:16:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:16:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827560448001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":138034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:16:01] local.INFO: GPS data processed {"connection_id":138034,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:16:01] local.INFO: Acknowledgment sent {"connection_id":138034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:16:07] local.INFO: TCP Data received {"connection_id":139427,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:16:07] local.INFO: Processing buffer {"connection_id":139427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:16:07] local.INFO: Packet analysis {"connection_id":139427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:16:07] local.INFO: Extracted packet for processing {"connection_id":139427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:16:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827559936001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:16: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-07-19 23:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784482957000,"timestamp_ms":1784482957000,"timestamp_seconds":1784482957,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7906c8"} 
[2026-07-19 23:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":139427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":139427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":139427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:16: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-07-19 23:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827559936001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 23:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827559936001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:16:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:16:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827559936001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":139427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:16:07] local.INFO: GPS data processed {"connection_id":139427,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:16:07] local.INFO: Acknowledgment sent {"connection_id":139427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:16:25] local.INFO: TCP Data received {"connection_id":137072,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137072,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:16:25] local.INFO: Processing buffer {"connection_id":137072,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:16:25] local.INFO: IMEI packet received {"connection_id":137072,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 23:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":137072,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:16:32] local.INFO: TCP Data received {"connection_id":138034,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:16:32] local.INFO: Processing buffer {"connection_id":138034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:16:32] local.INFO: Packet analysis {"connection_id":138034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:16:32] local.INFO: Extracted packet for processing {"connection_id":138034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:16:32] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827560448001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784482959000,"timestamp_ms":1784482959000,"timestamp_seconds":1784482959,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b790e98"} 
[2026-07-19 23:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 23:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":138034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":138034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":138034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827560448001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827560448001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:16:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:16:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827560448001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":138034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:16:32] local.INFO: GPS data processed {"connection_id":138034,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:16:32] local.INFO: Acknowledgment sent {"connection_id":138034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:16:35] local.INFO: TCP Data received {"connection_id":138035,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:16:35] local.INFO: Processing buffer {"connection_id":138035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:16:35] local.INFO: IMEI packet received {"connection_id":138035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":138035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:16:40] local.INFO: TCP Data received {"connection_id":138035,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:16:40] local.INFO: Processing buffer {"connection_id":138035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:16:40] local.INFO: IMEI packet received {"connection_id":138035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":138035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:16:42] local.INFO: TCP Data received {"connection_id":138035,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:16:42] local.INFO: Processing buffer {"connection_id":138035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:16:42] local.INFO: Packet analysis {"connection_id":138035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:16:42] local.INFO: Extracted packet for processing {"connection_id":138035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827559936001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784482957000,"timestamp_ms":1784482957000,"timestamp_seconds":1784482957,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7906c8"} 
[2026-07-19 23:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":138035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":138035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":138035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827559936001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827559936001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:16:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827559936001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":138035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:16:42] local.INFO: GPS data processed {"connection_id":138035,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:16:42] local.INFO: Acknowledgment sent {"connection_id":138035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:16:50] local.INFO: TCP Data received {"connection_id":137073,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:16:50] local.INFO: Processing buffer {"connection_id":137073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:16:50] local.INFO: IMEI packet received {"connection_id":137073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":137073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:16:55] local.INFO: TCP Data received {"connection_id":137073,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:16:55] local.INFO: Processing buffer {"connection_id":137073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:16:55] local.INFO: IMEI packet received {"connection_id":137073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":137073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:16:56] local.INFO: TCP Data received {"connection_id":137073,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:16:56] local.INFO: Processing buffer {"connection_id":137073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:16:56] local.INFO: Packet analysis {"connection_id":137073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:16:56] local.INFO: Extracted packet for processing {"connection_id":137073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:16:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827560448001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:16: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-07-19 23:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784482959000,"timestamp_ms":1784482959000,"timestamp_seconds":1784482959,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b790e98"} 
[2026-07-19 23:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 23:16:56] 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-07-19 23: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-07-19 23:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827560448001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827560448001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:16:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:16:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827560448001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":137073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:16:56] local.INFO: GPS data processed {"connection_id":137073,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:16:56] local.INFO: Acknowledgment sent {"connection_id":137073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:17:15] local.INFO: TCP Data received {"connection_id":138035,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:17:15] local.INFO: Processing buffer {"connection_id":138035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:17:15] local.INFO: Packet analysis {"connection_id":138035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:17:15] local.INFO: Extracted packet for processing {"connection_id":138035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:17:15] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827559936001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784482957000,"timestamp_ms":1784482957000,"timestamp_seconds":1784482957,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7906c8"} 
[2026-07-19 23:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":138035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":138035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":138035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827559936001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827559936001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:17:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:17:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827559936001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":138035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:17:15] local.INFO: GPS data processed {"connection_id":138035,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:17:15] local.INFO: Acknowledgment sent {"connection_id":138035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:17:27] local.INFO: TCP Data received {"connection_id":137073,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:17:27] local.INFO: Processing buffer {"connection_id":137073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:17:27] local.INFO: Packet analysis {"connection_id":137073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:17:27] local.INFO: Extracted packet for processing {"connection_id":137073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:17:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 23:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827560448001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:17: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-07-19 23:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784482959000,"timestamp_ms":1784482959000,"timestamp_seconds":1784482959,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b790e98"} 
[2026-07-19 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-07-19 23:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 23:17:27] 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-07-19 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-07-19 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-07-19 23:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827560448001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827560448001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:17:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:17:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827560448001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":137073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:17:27] local.INFO: GPS data processed {"connection_id":137073,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:17:27] local.INFO: Acknowledgment sent {"connection_id":137073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:17:30] local.INFO: TCP Data received {"connection_id":137074,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:17:30] local.INFO: Processing buffer {"connection_id":137074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:17:30] local.INFO: IMEI packet received {"connection_id":137074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":137074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:17:35] local.INFO: TCP Data received {"connection_id":137074,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:17:35] local.INFO: Processing buffer {"connection_id":137074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:17:35] local.INFO: IMEI packet received {"connection_id":137074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":137074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:17:36] local.INFO: TCP Data received {"connection_id":137074,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:17:36] local.INFO: Processing buffer {"connection_id":137074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:17:36] local.INFO: Packet analysis {"connection_id":137074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:17:36] local.INFO: Extracted packet for processing {"connection_id":137074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827559936001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784482957000,"timestamp_ms":1784482957000,"timestamp_seconds":1784482957,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7906c8"} 
[2026-07-19 23:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827559936001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 23:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827559936001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:17:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827559936001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":137074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:17:36] local.INFO: GPS data processed {"connection_id":137074,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:17:36] local.INFO: Acknowledgment sent {"connection_id":137074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:17:50] local.INFO: TCP Data received {"connection_id":139428,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:17:50] local.INFO: Processing buffer {"connection_id":139428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:17:50] local.INFO: IMEI packet received {"connection_id":139428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":139428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:17:55] local.INFO: TCP Data received {"connection_id":139428,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:17:55] local.INFO: Processing buffer {"connection_id":139428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:17:55] local.INFO: IMEI packet received {"connection_id":139428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":139428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:17:56] local.INFO: TCP Data received {"connection_id":139428,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:17:56] local.INFO: Processing buffer {"connection_id":139428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b790e98012d196540071ff0100041004924..."} 
[2026-07-19 23:17:56] local.INFO: Packet analysis {"connection_id":139428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:17:56] local.INFO: Extracted packet for processing {"connection_id":139428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:17:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 23:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827560448001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784482959000,"timestamp_ms":1784482959000,"timestamp_seconds":1784482959,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b790e98"} 
[2026-07-19 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-07-19 23:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 23:17:56] 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-07-19 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-07-19 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-07-19 23:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827560448001,"66":2155,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827560448001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:17:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:17:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827560448001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":139428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:17:56] local.INFO: GPS data processed {"connection_id":139428,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:17:56] local.INFO: Acknowledgment sent {"connection_id":139428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:18:07] local.INFO: TCP Data received {"connection_id":137074,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:18:07] local.INFO: Processing buffer {"connection_id":137074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7906c8012d34c58006aa4b98001400072b..."} 
[2026-07-19 23:18:07] local.INFO: Packet analysis {"connection_id":137074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:18:07] local.INFO: Extracted packet for processing {"connection_id":137074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b79"} 
[2026-07-19 23:18:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827559936001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:18: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-07-19 23:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784482957000,"timestamp_ms":1784482957000,"timestamp_seconds":1784482957,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7906c8"} 
[2026-07-19 23:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:18: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-07-19 23: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-07-19 23:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":137074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":137074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":137074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827559936001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 23:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827559936001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:18:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:18:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827559936001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":137074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:18:07] local.INFO: GPS data processed {"connection_id":137074,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:18:07] local.INFO: Acknowledgment sent {"connection_id":137074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:18:27] local.INFO: TCP Data received {"connection_id":139428,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:18:27] local.INFO: Processing buffer {"connection_id":139428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:18:27] local.INFO: Packet analysis {"connection_id":139428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:18:27] local.INFO: Extracted packet for processing {"connection_id":139428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:18:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 23:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827637504001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784483260000,"timestamp_ms":1784483260000,"timestamp_seconds":1784483260,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7da660"} 
[2026-07-19 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-07-19 23:18:27] 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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 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-07-19 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-07-19 23:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827637504001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827637504001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:18:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:18:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827637504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":139428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:18:27] local.INFO: GPS data processed {"connection_id":139428,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:18:27] local.INFO: Acknowledgment sent {"connection_id":139428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:18:30] local.INFO: TCP Data received {"connection_id":139429,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:18:30] local.INFO: Processing buffer {"connection_id":139429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:18:30] local.INFO: IMEI packet received {"connection_id":139429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":139429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:18:35] local.INFO: TCP Data received {"connection_id":139429,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:18:35] local.INFO: Processing buffer {"connection_id":139429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:18:35] local.INFO: IMEI packet received {"connection_id":139429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":139429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:18:36] local.INFO: TCP Data received {"connection_id":139429,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:18:36] local.INFO: Processing buffer {"connection_id":139429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:18:36] local.INFO: Packet analysis {"connection_id":139429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:18:36] local.INFO: Extracted packet for processing {"connection_id":139429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827636992001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784483258000,"timestamp_ms":1784483258000,"timestamp_seconds":1784483258,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7d9e90"} 
[2026-07-19 23:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:18: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-07-19 23:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827636992001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827636992001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:18:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:18:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827636992001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":139429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:18:36] local.INFO: GPS data processed {"connection_id":139429,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:18:36] local.INFO: Acknowledgment sent {"connection_id":139429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:18:55] local.INFO: TCP Data received {"connection_id":138036,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:18:55] local.INFO: Processing buffer {"connection_id":138036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:18:55] local.INFO: IMEI packet received {"connection_id":138036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":138036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:19:00] local.INFO: TCP Data received {"connection_id":138036,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:19:00] local.INFO: Processing buffer {"connection_id":138036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:19:00] local.INFO: IMEI packet received {"connection_id":138036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":138036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:19:01] local.INFO: TCP Data received {"connection_id":138036,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:19:01] local.INFO: Processing buffer {"connection_id":138036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:19:01] local.INFO: Packet analysis {"connection_id":138036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:19:01] local.INFO: Extracted packet for processing {"connection_id":138036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:19:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827637504001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:19: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-07-19 23:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784483260000,"timestamp_ms":1784483260000,"timestamp_seconds":1784483260,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7da660"} 
[2026-07-19 23:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:19:01] 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-07-19 23: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":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":138036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":138036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":138036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827637504001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827637504001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:19:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:19:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827637504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":138036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:19:01] local.INFO: GPS data processed {"connection_id":138036,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:19:01] local.INFO: Acknowledgment sent {"connection_id":138036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:19:05] local.INFO: TCP Data received {"connection_id":138036,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:19:05] local.INFO: Processing buffer {"connection_id":138036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:19:05] local.INFO: Packet analysis {"connection_id":138036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:19:05] local.INFO: Extracted packet for processing {"connection_id":138036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827637504001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784483260000,"timestamp_ms":1784483260000,"timestamp_seconds":1784483260,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7da660"} 
[2026-07-19 23:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:19:05] 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-07-19 23:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":138036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":138036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":138036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827637504001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827637504001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:19:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:19:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827637504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":138036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:19:05] local.INFO: GPS data processed {"connection_id":138036,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:19:05] local.INFO: Acknowledgment sent {"connection_id":138036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:19:08] local.INFO: TCP Data received {"connection_id":139429,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:19:08] local.INFO: Processing buffer {"connection_id":139429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:19:08] local.INFO: Packet analysis {"connection_id":139429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:19:08] local.INFO: Extracted packet for processing {"connection_id":139429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827636992001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784483258000,"timestamp_ms":1784483258000,"timestamp_seconds":1784483258,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7d9e90"} 
[2026-07-19 23:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:19: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-07-19 23: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-07-19 23:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:19: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-07-19 23:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827636992001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827636992001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:19:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:19:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827636992001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":139429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:19:08] local.INFO: GPS data processed {"connection_id":139429,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:19:08] local.INFO: Acknowledgment sent {"connection_id":139429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:19:30] local.INFO: TCP Data received {"connection_id":139430,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:19:30] local.INFO: Processing buffer {"connection_id":139430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:19:30] local.INFO: IMEI packet received {"connection_id":139430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":139430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:19:36] local.INFO: TCP Data received {"connection_id":139430,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:19:36] local.INFO: Processing buffer {"connection_id":139430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:19:36] local.INFO: IMEI packet received {"connection_id":139430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":139430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:19:37] local.INFO: TCP Data received {"connection_id":139430,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:19:37] local.INFO: Processing buffer {"connection_id":139430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:19:37] local.INFO: Packet analysis {"connection_id":139430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:19:37] local.INFO: Extracted packet for processing {"connection_id":139430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827636992001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:19: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-07-19 23:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784483258000,"timestamp_ms":1784483258000,"timestamp_seconds":1784483258,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7d9e90"} 
[2026-07-19 23:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827636992001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827636992001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:19:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827636992001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":139430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:19:37] local.INFO: GPS data processed {"connection_id":139430,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:19:37] local.INFO: Acknowledgment sent {"connection_id":139430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:19:50] local.INFO: TCP Data received {"connection_id":136966,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:19:50] local.INFO: Processing buffer {"connection_id":136966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:19:50] local.INFO: IMEI packet received {"connection_id":136966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":136966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:19:55] local.INFO: TCP Data received {"connection_id":136966,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:19:55] local.INFO: Processing buffer {"connection_id":136966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:19:55] local.INFO: IMEI packet received {"connection_id":136966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":136966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:19:56] local.INFO: TCP Data received {"connection_id":136966,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:19:56] local.INFO: Processing buffer {"connection_id":136966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:19:56] local.INFO: Packet analysis {"connection_id":136966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:19:56] local.INFO: Extracted packet for processing {"connection_id":136966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:19:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827637504001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:19: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-07-19 23:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784483260000,"timestamp_ms":1784483260000,"timestamp_seconds":1784483260,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7da660"} 
[2026-07-19 23:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:19:56] 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-07-19 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:19: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-07-19 23: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-07-19 23:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827637504001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827637504001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:19:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:19:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827637504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":136966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:19:56] local.INFO: GPS data processed {"connection_id":136966,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:19:56] local.INFO: Acknowledgment sent {"connection_id":136966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:20:09] local.INFO: TCP Data received {"connection_id":139430,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:20:09] local.INFO: Processing buffer {"connection_id":139430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:20:09] local.INFO: Packet analysis {"connection_id":139430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:20:09] local.INFO: Extracted packet for processing {"connection_id":139430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827636992001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:20: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-07-19 23:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784483258000,"timestamp_ms":1784483258000,"timestamp_seconds":1784483258,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7d9e90"} 
[2026-07-19 23:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:20: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-07-19 23: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-07-19 23:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:20: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-07-19 23:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827636992001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827636992001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827636992001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":139430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:20:09] local.INFO: GPS data processed {"connection_id":139430,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:20:09] local.INFO: Acknowledgment sent {"connection_id":139430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:20:27] local.INFO: TCP Data received {"connection_id":136966,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:20:27] local.INFO: Processing buffer {"connection_id":136966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:20:27] local.INFO: Packet analysis {"connection_id":136966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:20:27] local.INFO: Extracted packet for processing {"connection_id":136966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:20:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827637504001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:20: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-07-19 23:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784483260000,"timestamp_ms":1784483260000,"timestamp_seconds":1784483260,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7da660"} 
[2026-07-19 23:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:20:27] 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-07-19 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827637504001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827637504001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:20:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:20:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827637504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":136966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:20:27] local.INFO: GPS data processed {"connection_id":136966,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:20:27] local.INFO: Acknowledgment sent {"connection_id":136966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:20:30] local.INFO: TCP Data received {"connection_id":137075,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:20:30] local.INFO: Processing buffer {"connection_id":137075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:20:30] local.INFO: IMEI packet received {"connection_id":137075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":137075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:20:35] local.INFO: TCP Data received {"connection_id":137075,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:20:35] local.INFO: Processing buffer {"connection_id":137075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:20:35] local.INFO: IMEI packet received {"connection_id":137075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":137075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:20:37] local.INFO: TCP Data received {"connection_id":137075,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:20:37] local.INFO: Processing buffer {"connection_id":137075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:20:37] local.INFO: Packet analysis {"connection_id":137075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:20:37] local.INFO: Extracted packet for processing {"connection_id":137075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827636992001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:20: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-07-19 23:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784483258000,"timestamp_ms":1784483258000,"timestamp_seconds":1784483258,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7d9e90"} 
[2026-07-19 23:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":137075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":137075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":137075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:20: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-07-19 23:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827636992001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 23:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827636992001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:20:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827636992001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":137075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:20:37] local.INFO: GPS data processed {"connection_id":137075,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:20:37] local.INFO: Acknowledgment sent {"connection_id":137075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:20:50] local.INFO: TCP Data received {"connection_id":139431,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:20:50] local.INFO: Processing buffer {"connection_id":139431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:20:50] local.INFO: IMEI packet received {"connection_id":139431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":139431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:20:55] local.INFO: TCP Data received {"connection_id":139431,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:20:55] local.INFO: Processing buffer {"connection_id":139431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:20:55] local.INFO: IMEI packet received {"connection_id":139431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":139431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:20:56] local.INFO: TCP Data received {"connection_id":139431,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:20:56] local.INFO: Processing buffer {"connection_id":139431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:20:56] local.INFO: Packet analysis {"connection_id":139431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:20:56] local.INFO: Extracted packet for processing {"connection_id":139431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:20:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827637504001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:20: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-07-19 23:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784483260000,"timestamp_ms":1784483260000,"timestamp_seconds":1784483260,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7da660"} 
[2026-07-19 23:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:20:56] 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-07-19 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:20: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-07-19 23: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-07-19 23:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827637504001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827637504001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:20:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:20:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827637504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":139431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:20:56] local.INFO: GPS data processed {"connection_id":139431,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:20:56] local.INFO: Acknowledgment sent {"connection_id":139431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:21:08] local.INFO: TCP Data received {"connection_id":137075,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:21:08] local.INFO: Processing buffer {"connection_id":137075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:21:08] local.INFO: Packet analysis {"connection_id":137075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:21:08] local.INFO: Extracted packet for processing {"connection_id":137075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827636992001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784483258000,"timestamp_ms":1784483258000,"timestamp_seconds":1784483258,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7d9e90"} 
[2026-07-19 23:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:21: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-07-19 23:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827636992001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 23:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827636992001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:21:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:21:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827636992001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":137075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:21:08] local.INFO: GPS data processed {"connection_id":137075,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:21:08] local.INFO: Acknowledgment sent {"connection_id":137075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:21:27] local.INFO: TCP Data received {"connection_id":139431,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:21:27] local.INFO: Processing buffer {"connection_id":139431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:21:27] local.INFO: Packet analysis {"connection_id":139431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:21:27] local.INFO: Extracted packet for processing {"connection_id":139431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:21:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827637504001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:21: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-07-19 23:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784483260000,"timestamp_ms":1784483260000,"timestamp_seconds":1784483260,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7da660"} 
[2026-07-19 23:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:21:27] 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-07-19 23:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827637504001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827637504001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:21:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:21:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827637504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":139431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:21:27] local.INFO: GPS data processed {"connection_id":139431,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:21:27] local.INFO: Acknowledgment sent {"connection_id":139431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:21:30] local.INFO: TCP Data received {"connection_id":137076,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:21:30] local.INFO: Processing buffer {"connection_id":137076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:21:30] local.INFO: IMEI packet received {"connection_id":137076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":137076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:21:35] local.INFO: TCP Data received {"connection_id":137076,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:21:35] local.INFO: Processing buffer {"connection_id":137076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:21:35] local.INFO: IMEI packet received {"connection_id":137076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":137076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:21:36] local.INFO: TCP Data received {"connection_id":137076,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:21:36] local.INFO: Processing buffer {"connection_id":137076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:21:36] local.INFO: Packet analysis {"connection_id":137076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:21:36] local.INFO: Extracted packet for processing {"connection_id":137076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827636992001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:21: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-07-19 23:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784483258000,"timestamp_ms":1784483258000,"timestamp_seconds":1784483258,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7d9e90"} 
[2026-07-19 23:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:21: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-07-19 23:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827636992001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 23:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827636992001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:21:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:21:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827636992001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":137076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:21:36] local.INFO: GPS data processed {"connection_id":137076,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:21:36] local.INFO: Acknowledgment sent {"connection_id":137076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:21:50] local.INFO: TCP Data received {"connection_id":137077,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:21:50] local.INFO: Processing buffer {"connection_id":137077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:21:50] local.INFO: IMEI packet received {"connection_id":137077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":137077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:21:50] local.INFO: TCP Data received {"connection_id":138039,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138039,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:21:50] local.INFO: Processing buffer {"connection_id":138039,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:21:50] local.INFO: IMEI packet received {"connection_id":138039,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 23:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":138039,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:21:55] local.INFO: TCP Data received {"connection_id":137077,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:21:55] local.INFO: Processing buffer {"connection_id":137077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:21:55] local.INFO: IMEI packet received {"connection_id":137077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":137077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:21:56] local.INFO: TCP Data received {"connection_id":137077,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:21:56] local.INFO: Processing buffer {"connection_id":137077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:21:56] local.INFO: Packet analysis {"connection_id":137077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:21:56] local.INFO: Extracted packet for processing {"connection_id":137077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:21:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827637504001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:21: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-07-19 23:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784483260000,"timestamp_ms":1784483260000,"timestamp_seconds":1784483260,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7da660"} 
[2026-07-19 23:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:21:56] 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-07-19 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:21: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-07-19 23: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-07-19 23:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827637504001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827637504001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:21:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:21:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827637504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":137077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:21:56] local.INFO: GPS data processed {"connection_id":137077,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:21:56] local.INFO: Acknowledgment sent {"connection_id":137077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:22:07] local.INFO: TCP Data received {"connection_id":137076,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:22:07] local.INFO: Processing buffer {"connection_id":137076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:22:07] local.INFO: Packet analysis {"connection_id":137076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:22:07] local.INFO: Extracted packet for processing {"connection_id":137076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:22:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827636992001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:22: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-07-19 23:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784483258000,"timestamp_ms":1784483258000,"timestamp_seconds":1784483258,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7d9e90"} 
[2026-07-19 23:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:22: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-07-19 23: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-07-19 23:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":137076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":137076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":137076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:22: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-07-19 23:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827636992001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 23:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827636992001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:22:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:22:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827636992001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":137076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:22:07] local.INFO: GPS data processed {"connection_id":137076,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:22:07] local.INFO: Acknowledgment sent {"connection_id":137076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:22:25] local.INFO: TCP Data received {"connection_id":136967,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:22:25] local.INFO: Processing buffer {"connection_id":136967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:22:25] local.INFO: IMEI packet received {"connection_id":136967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 23:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":136967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:22:27] local.INFO: TCP Data received {"connection_id":137077,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:22:27] local.INFO: Processing buffer {"connection_id":137077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:22:27] local.INFO: Packet analysis {"connection_id":137077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:22:27] local.INFO: Extracted packet for processing {"connection_id":137077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:22:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827637504001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:22: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-07-19 23:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784483260000,"timestamp_ms":1784483260000,"timestamp_seconds":1784483260,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7da660"} 
[2026-07-19 23:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:22:27] 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-07-19 23:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827637504001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827637504001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:22:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:22:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827637504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":137077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:22:27] local.INFO: GPS data processed {"connection_id":137077,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:22:27] local.INFO: Acknowledgment sent {"connection_id":137077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:22:30] local.INFO: TCP Data received {"connection_id":139432,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:22:30] local.INFO: Processing buffer {"connection_id":139432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:22:30] local.INFO: IMEI packet received {"connection_id":139432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":139432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:22:35] local.INFO: TCP Data received {"connection_id":139432,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:22:35] local.INFO: Processing buffer {"connection_id":139432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:22:35] local.INFO: IMEI packet received {"connection_id":139432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":139432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:22:37] local.INFO: TCP Data received {"connection_id":139432,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:22:37] local.INFO: Processing buffer {"connection_id":139432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:22:37] local.INFO: Packet analysis {"connection_id":139432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:22:37] local.INFO: Extracted packet for processing {"connection_id":139432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827636992001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:22: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-07-19 23:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784483258000,"timestamp_ms":1784483258000,"timestamp_seconds":1784483258,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7d9e90"} 
[2026-07-19 23:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":139432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":139432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":139432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827636992001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827636992001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:22:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827636992001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":139432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:22:37] local.INFO: GPS data processed {"connection_id":139432,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:22:37] local.INFO: Acknowledgment sent {"connection_id":139432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:22:50] local.INFO: TCP Data received {"connection_id":136968,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:22:50] local.INFO: Processing buffer {"connection_id":136968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:22:50] local.INFO: IMEI packet received {"connection_id":136968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":136968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:22:55] local.INFO: TCP Data received {"connection_id":136968,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:22:55] local.INFO: Processing buffer {"connection_id":136968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:22:55] local.INFO: IMEI packet received {"connection_id":136968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":136968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:22:56] local.INFO: TCP Data received {"connection_id":136968,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:22:56] local.INFO: Processing buffer {"connection_id":136968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7da660012d196540071ff0100041004923..."} 
[2026-07-19 23:22:56] local.INFO: Packet analysis {"connection_id":136968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:22:56] local.INFO: Extracted packet for processing {"connection_id":136968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:22:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 23:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827637504001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:22: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-07-19 23:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784483260000,"timestamp_ms":1784483260000,"timestamp_seconds":1784483260,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7da660"} 
[2026-07-19 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-07-19 23:22:56] 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-07-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-19 23:22: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-07-19 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-07-19 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-07-19 23:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827637504001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827637504001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:22:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:22:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827637504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":136968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:22:56] local.INFO: GPS data processed {"connection_id":136968,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:22:56] local.INFO: Acknowledgment sent {"connection_id":136968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:23:09] local.INFO: TCP Data received {"connection_id":139432,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:23:09] local.INFO: Processing buffer {"connection_id":139432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b7d9e90012d34c58006aa4b980014000728..."} 
[2026-07-19 23:23:09] local.INFO: Packet analysis {"connection_id":139432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:23:09] local.INFO: Extracted packet for processing {"connection_id":139432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b7d"} 
[2026-07-19 23:23:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827636992001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:23: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-07-19 23:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784483258000,"timestamp_ms":1784483258000,"timestamp_seconds":1784483258,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b7d9e90"} 
[2026-07-19 23:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:23: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-07-19 23: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-07-19 23:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827636992001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827636992001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:23:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:23:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827636992001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":139432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:23:09] local.INFO: GPS data processed {"connection_id":139432,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:23:09] local.INFO: Acknowledgment sent {"connection_id":139432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:23:27] local.INFO: TCP Data received {"connection_id":136968,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:23:27] local.INFO: Processing buffer {"connection_id":136968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:23:27] local.INFO: Packet analysis {"connection_id":136968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:23:27] local.INFO: Extracted packet for processing {"connection_id":136968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:23:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23:23: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-07-19 23:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827714560001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:23: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-07-19 23:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784483561000,"timestamp_ms":1784483561000,"timestamp_seconds":1784483561,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b823e28"} 
[2026-07-19 23:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 23:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:23: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-07-19 23:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827714560001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827714560001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:23:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:23:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827714560001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":136968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:23:27] local.INFO: GPS data processed {"connection_id":136968,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:23:27] local.INFO: Acknowledgment sent {"connection_id":136968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:23:30] local.INFO: TCP Data received {"connection_id":137079,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:23:30] local.INFO: Processing buffer {"connection_id":137079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:23:30] local.INFO: IMEI packet received {"connection_id":137079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":137079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:23:35] local.INFO: TCP Data received {"connection_id":137079,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:23:35] local.INFO: Processing buffer {"connection_id":137079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:23:35] local.INFO: IMEI packet received {"connection_id":137079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":137079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:23:36] local.INFO: TCP Data received {"connection_id":137079,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:23:36] local.INFO: Processing buffer {"connection_id":137079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:23:36] local.INFO: Packet analysis {"connection_id":137079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:23:36] local.INFO: Extracted packet for processing {"connection_id":137079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827714048001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784483559000,"timestamp_ms":1784483559000,"timestamp_seconds":1784483559,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b823658"} 
[2026-07-19 23:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 23:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:23: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-07-19 23:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827714048001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827714048001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:23:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827714048001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":137079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:23:36] local.INFO: GPS data processed {"connection_id":137079,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:23:36] local.INFO: Acknowledgment sent {"connection_id":137079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:23:55] local.INFO: TCP Data received {"connection_id":136969,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:23:55] local.INFO: Processing buffer {"connection_id":136969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:23:55] local.INFO: IMEI packet received {"connection_id":136969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":136969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:24:00] local.INFO: TCP Data received {"connection_id":136969,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:24:00] local.INFO: Processing buffer {"connection_id":136969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:24:00] local.INFO: IMEI packet received {"connection_id":136969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":136969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:24:01] local.INFO: TCP Data received {"connection_id":136969,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:24:01] local.INFO: Processing buffer {"connection_id":136969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:24:01] local.INFO: Packet analysis {"connection_id":136969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:24:01] local.INFO: Extracted packet for processing {"connection_id":136969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:24:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827714560001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:24: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-07-19 23:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784483561000,"timestamp_ms":1784483561000,"timestamp_seconds":1784483561,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b823e28"} 
[2026-07-19 23:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 23:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827714560001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827714560001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:24:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:24:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827714560001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":136969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:24:01] local.INFO: GPS data processed {"connection_id":136969,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:24:01] local.INFO: Acknowledgment sent {"connection_id":136969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:24:05] local.INFO: TCP Data received {"connection_id":136969,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:24:05] local.INFO: Processing buffer {"connection_id":136969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:24:05] local.INFO: Packet analysis {"connection_id":136969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:24:05] local.INFO: Extracted packet for processing {"connection_id":136969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827714560001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784483561000,"timestamp_ms":1784483561000,"timestamp_seconds":1784483561,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b823e28"} 
[2026-07-19 23:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 23:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":136969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":136969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":136969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827714560001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827714560001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:24:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:24:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827714560001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":136969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:24:05] local.INFO: GPS data processed {"connection_id":136969,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:24:05] local.INFO: Acknowledgment sent {"connection_id":136969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:24:08] local.INFO: TCP Data received {"connection_id":137079,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:24:08] local.INFO: Processing buffer {"connection_id":137079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:24:08] local.INFO: Packet analysis {"connection_id":137079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:24:08] local.INFO: Extracted packet for processing {"connection_id":137079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827714048001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:24: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-07-19 23:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784483559000,"timestamp_ms":1784483559000,"timestamp_seconds":1784483559,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b823658"} 
[2026-07-19 23:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 23:24: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-07-19 23:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827714048001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827714048001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:24:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:24:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827714048001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":137079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:24:08] local.INFO: GPS data processed {"connection_id":137079,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:24:08] local.INFO: Acknowledgment sent {"connection_id":137079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:24:30] local.INFO: TCP Data received {"connection_id":139433,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:24:30] local.INFO: Processing buffer {"connection_id":139433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:24:30] local.INFO: IMEI packet received {"connection_id":139433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":139433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:24:35] local.INFO: TCP Data received {"connection_id":139433,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:24:35] local.INFO: Processing buffer {"connection_id":139433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:24:35] local.INFO: IMEI packet received {"connection_id":139433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":139433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:24:36] local.INFO: TCP Data received {"connection_id":139433,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:24:36] local.INFO: Processing buffer {"connection_id":139433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:24:36] local.INFO: Packet analysis {"connection_id":139433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:24:36] local.INFO: Extracted packet for processing {"connection_id":139433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827714048001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:24: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-07-19 23:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784483559000,"timestamp_ms":1784483559000,"timestamp_seconds":1784483559,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b823658"} 
[2026-07-19 23:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 23:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:24:36] 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-07-19 23:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827714048001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827714048001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:24:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:24:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827714048001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":139433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:24:36] local.INFO: GPS data processed {"connection_id":139433,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:24:36] local.INFO: Acknowledgment sent {"connection_id":139433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:24:50] local.INFO: TCP Data received {"connection_id":137081,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:24:50] local.INFO: Processing buffer {"connection_id":137081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:24:50] local.INFO: IMEI packet received {"connection_id":137081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":137081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:24:55] local.INFO: TCP Data received {"connection_id":137081,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:24:55] local.INFO: Processing buffer {"connection_id":137081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:24:55] local.INFO: IMEI packet received {"connection_id":137081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":137081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:24:56] local.INFO: TCP Data received {"connection_id":137081,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:24:56] local.INFO: Processing buffer {"connection_id":137081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:24:56] local.INFO: Packet analysis {"connection_id":137081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:24:56] local.INFO: Extracted packet for processing {"connection_id":137081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:24:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827714560001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:24: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-07-19 23:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784483561000,"timestamp_ms":1784483561000,"timestamp_seconds":1784483561,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b823e28"} 
[2026-07-19 23:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 23:24: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-07-19 23: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-07-19 23:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827714560001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827714560001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:24:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:24:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827714560001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":137081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:24:56] local.INFO: GPS data processed {"connection_id":137081,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:24:56] local.INFO: Acknowledgment sent {"connection_id":137081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:25:07] local.INFO: TCP Data received {"connection_id":139433,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:25:07] local.INFO: Processing buffer {"connection_id":139433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:25:07] local.INFO: Packet analysis {"connection_id":139433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:25:07] local.INFO: Extracted packet for processing {"connection_id":139433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:25:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827714048001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:25: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-07-19 23:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784483559000,"timestamp_ms":1784483559000,"timestamp_seconds":1784483559,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b823658"} 
[2026-07-19 23:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 23:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":139433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":139433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":139433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:25:07] 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-07-19 23:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827714048001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827714048001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:25:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:25:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827714048001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":139433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:25:07] local.INFO: GPS data processed {"connection_id":139433,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:25:07] local.INFO: Acknowledgment sent {"connection_id":139433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:25:27] local.INFO: TCP Data received {"connection_id":137081,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:25:27] local.INFO: Processing buffer {"connection_id":137081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:25:27] local.INFO: Packet analysis {"connection_id":137081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:25:27] local.INFO: Extracted packet for processing {"connection_id":137081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:25:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827714560001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:25: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-07-19 23:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784483561000,"timestamp_ms":1784483561000,"timestamp_seconds":1784483561,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b823e28"} 
[2026-07-19 23:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 23:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827714560001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827714560001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:25:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:25:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827714560001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":137081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:25:27] local.INFO: GPS data processed {"connection_id":137081,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:25:27] local.INFO: Acknowledgment sent {"connection_id":137081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:25:30] local.INFO: TCP Data received {"connection_id":137083,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:25:30] local.INFO: Processing buffer {"connection_id":137083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:25:30] local.INFO: IMEI packet received {"connection_id":137083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":137083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:25:35] local.INFO: TCP Data received {"connection_id":137083,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:25:35] local.INFO: Processing buffer {"connection_id":137083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:25:35] local.INFO: IMEI packet received {"connection_id":137083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":137083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:25:36] local.INFO: TCP Data received {"connection_id":137083,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:25:36] local.INFO: Processing buffer {"connection_id":137083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:25:36] local.INFO: Packet analysis {"connection_id":137083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:25:36] local.INFO: Extracted packet for processing {"connection_id":137083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827714048001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784483559000,"timestamp_ms":1784483559000,"timestamp_seconds":1784483559,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b823658"} 
[2026-07-19 23:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 23:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827714048001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827714048001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:25:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:25:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827714048001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":137083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:25:36] local.INFO: GPS data processed {"connection_id":137083,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:25:36] local.INFO: Acknowledgment sent {"connection_id":137083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:25:50] local.INFO: TCP Data received {"connection_id":137084,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:25:50] local.INFO: Processing buffer {"connection_id":137084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:25:50] local.INFO: IMEI packet received {"connection_id":137084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":137084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:25:55] local.INFO: TCP Data received {"connection_id":137084,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:25:55] local.INFO: Processing buffer {"connection_id":137084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:25:55] local.INFO: IMEI packet received {"connection_id":137084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":137084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:25:56] local.INFO: TCP Data received {"connection_id":137084,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:25:56] local.INFO: Processing buffer {"connection_id":137084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:25:56] local.INFO: Packet analysis {"connection_id":137084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:25:56] local.INFO: Extracted packet for processing {"connection_id":137084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:25:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827714560001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:25: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-07-19 23:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784483561000,"timestamp_ms":1784483561000,"timestamp_seconds":1784483561,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b823e28"} 
[2026-07-19 23:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 23:25: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-07-19 23: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-07-19 23:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":137084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":137084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":137084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827714560001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827714560001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:25:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:25:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827714560001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":137084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:25:56] local.INFO: GPS data processed {"connection_id":137084,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:25:56] local.INFO: Acknowledgment sent {"connection_id":137084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:26:08] local.INFO: TCP Data received {"connection_id":137083,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:26:08] local.INFO: Processing buffer {"connection_id":137083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:26:08] local.INFO: Packet analysis {"connection_id":137083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:26:08] local.INFO: Extracted packet for processing {"connection_id":137083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827714048001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784483559000,"timestamp_ms":1784483559000,"timestamp_seconds":1784483559,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b823658"} 
[2026-07-19 23:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23: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-07-19 23: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-07-19 23:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827714048001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827714048001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:26:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827714048001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":137083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:26:08] local.INFO: GPS data processed {"connection_id":137083,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:26:08] local.INFO: Acknowledgment sent {"connection_id":137083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:26:27] local.INFO: TCP Data received {"connection_id":137084,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:26:27] local.INFO: Processing buffer {"connection_id":137084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:26:27] local.INFO: Packet analysis {"connection_id":137084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:26:27] local.INFO: Extracted packet for processing {"connection_id":137084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:26:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827714560001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:26: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-07-19 23:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784483561000,"timestamp_ms":1784483561000,"timestamp_seconds":1784483561,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b823e28"} 
[2026-07-19 23:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 23:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":137084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":137084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":137084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827714560001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827714560001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:26:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:26:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827714560001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":137084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:26:27] local.INFO: GPS data processed {"connection_id":137084,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:26:27] local.INFO: Acknowledgment sent {"connection_id":137084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:26:30] local.INFO: TCP Data received {"connection_id":138041,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:26:30] local.INFO: Processing buffer {"connection_id":138041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:26:30] local.INFO: IMEI packet received {"connection_id":138041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":138041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:26:35] local.INFO: TCP Data received {"connection_id":138041,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:26:35] local.INFO: Processing buffer {"connection_id":138041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:26:35] local.INFO: IMEI packet received {"connection_id":138041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":138041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:26:36] local.INFO: TCP Data received {"connection_id":138041,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:26:36] local.INFO: Processing buffer {"connection_id":138041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:26:36] local.INFO: Packet analysis {"connection_id":138041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:26:36] local.INFO: Extracted packet for processing {"connection_id":138041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827714048001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784483559000,"timestamp_ms":1784483559000,"timestamp_seconds":1784483559,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b823658"} 
[2026-07-19 23:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 23:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":138041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":138041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":138041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:26: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-07-19 23:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827714048001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827714048001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:26:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:26:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827714048001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":138041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:26:36] local.INFO: GPS data processed {"connection_id":138041,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:26:36] local.INFO: Acknowledgment sent {"connection_id":138041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:26:50] local.INFO: TCP Data received {"connection_id":139434,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:26:50] local.INFO: Processing buffer {"connection_id":139434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:26:50] local.INFO: IMEI packet received {"connection_id":139434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":139434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:26:55] local.INFO: TCP Data received {"connection_id":139434,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:26:55] local.INFO: Processing buffer {"connection_id":139434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:26:55] local.INFO: IMEI packet received {"connection_id":139434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":139434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:26:56] local.INFO: TCP Data received {"connection_id":139434,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:26:56] local.INFO: Processing buffer {"connection_id":139434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:26:56] local.INFO: Packet analysis {"connection_id":139434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:26:56] local.INFO: Extracted packet for processing {"connection_id":139434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:26:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827714560001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:26: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-07-19 23:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784483561000,"timestamp_ms":1784483561000,"timestamp_seconds":1784483561,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b823e28"} 
[2026-07-19 23:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 23:26: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-07-19 23: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-07-19 23:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827714560001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827714560001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:26:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:26:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827714560001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":139434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:26:56] local.INFO: GPS data processed {"connection_id":139434,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:26:56] local.INFO: Acknowledgment sent {"connection_id":139434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:27:10] local.INFO: TCP Data received {"connection_id":138041,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:27:10] local.INFO: Processing buffer {"connection_id":138041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:27:10] local.INFO: Packet analysis {"connection_id":138041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:27:10] local.INFO: Extracted packet for processing {"connection_id":138041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827714048001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:27: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-07-19 23:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784483559000,"timestamp_ms":1784483559000,"timestamp_seconds":1784483559,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b823658"} 
[2026-07-19 23:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 23:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:27:10] 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-07-19 23:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827714048001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827714048001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:27:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827714048001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":138041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:27:10] local.INFO: GPS data processed {"connection_id":138041,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:27:10] local.INFO: Acknowledgment sent {"connection_id":138041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:27:27] local.INFO: TCP Data received {"connection_id":139434,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:27:27] local.INFO: Processing buffer {"connection_id":139434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:27:27] local.INFO: Packet analysis {"connection_id":139434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:27:27] local.INFO: Extracted packet for processing {"connection_id":139434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:27:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827714560001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:27: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-07-19 23:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784483561000,"timestamp_ms":1784483561000,"timestamp_seconds":1784483561,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b823e28"} 
[2026-07-19 23:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 23:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827714560001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827714560001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:27:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:27:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827714560001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":139434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:27:27] local.INFO: GPS data processed {"connection_id":139434,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:27:27] local.INFO: Acknowledgment sent {"connection_id":139434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:27:30] local.INFO: TCP Data received {"connection_id":137085,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:27:30] local.INFO: Processing buffer {"connection_id":137085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:27:30] local.INFO: IMEI packet received {"connection_id":137085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":137085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:27:35] local.INFO: TCP Data received {"connection_id":137085,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:27:35] local.INFO: Processing buffer {"connection_id":137085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:27:35] local.INFO: IMEI packet received {"connection_id":137085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":137085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:27:36] local.INFO: TCP Data received {"connection_id":137085,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:27:36] local.INFO: Processing buffer {"connection_id":137085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:27:36] local.INFO: Packet analysis {"connection_id":137085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:27:36] local.INFO: Extracted packet for processing {"connection_id":137085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827714048001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784483559000,"timestamp_ms":1784483559000,"timestamp_seconds":1784483559,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b823658"} 
[2026-07-19 23:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 23:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:27: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-07-19 23:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827714048001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827714048001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:27:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:27:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827714048001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":137085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:27:36] local.INFO: GPS data processed {"connection_id":137085,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:27:36] local.INFO: Acknowledgment sent {"connection_id":137085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:27:50] local.INFO: TCP Data received {"connection_id":136971,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:27:50] local.INFO: Processing buffer {"connection_id":136971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:27:50] local.INFO: IMEI packet received {"connection_id":136971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":136971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:27:50] local.INFO: TCP Data received {"connection_id":136970,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:27:50] local.INFO: Processing buffer {"connection_id":136970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:27:50] local.INFO: IMEI packet received {"connection_id":136970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 23:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":136970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:27:55] local.INFO: TCP Data received {"connection_id":136971,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:27:55] local.INFO: Processing buffer {"connection_id":136971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:27:55] local.INFO: IMEI packet received {"connection_id":136971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":136971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:27:56] local.INFO: TCP Data received {"connection_id":136971,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:27:56] local.INFO: Processing buffer {"connection_id":136971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b823e28012d196540071ff0100041004924..."} 
[2026-07-19 23:27:56] local.INFO: Packet analysis {"connection_id":136971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:27:56] local.INFO: Extracted packet for processing {"connection_id":136971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:27:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827714560001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:27: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-07-19 23:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784483561000,"timestamp_ms":1784483561000,"timestamp_seconds":1784483561,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b823e28"} 
[2026-07-19 23:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-19 23:27: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-07-19 23: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-07-19 23:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":136971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":136971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":136971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827714560001,"66":2144,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827714560001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:27:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:27:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827714560001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":136971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:27:56] local.INFO: GPS data processed {"connection_id":136971,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:27:56] local.INFO: Acknowledgment sent {"connection_id":136971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:28:08] local.INFO: TCP Data received {"connection_id":137085,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:28:08] local.INFO: Processing buffer {"connection_id":137085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b823658012d34c58006aa4b98001400072a..."} 
[2026-07-19 23:28:08] local.INFO: Packet analysis {"connection_id":137085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:28:08] local.INFO: Extracted packet for processing {"connection_id":137085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b82"} 
[2026-07-19 23:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827714048001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784483559000,"timestamp_ms":1784483559000,"timestamp_seconds":1784483559,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b823658"} 
[2026-07-19 23:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 23:28: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-07-19 23: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-07-19 23:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":137085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":137085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":137085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:28: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-07-19 23:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827714048001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827714048001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:28:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827714048001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":137085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:28:08] local.INFO: GPS data processed {"connection_id":137085,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:28:08] local.INFO: Acknowledgment sent {"connection_id":137085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:28:25] local.INFO: TCP Data received {"connection_id":138042,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:28:25] local.INFO: Processing buffer {"connection_id":138042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:28:25] local.INFO: IMEI packet received {"connection_id":138042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 23:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":138042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:28:27] local.INFO: TCP Data received {"connection_id":136971,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:28:27] local.INFO: Processing buffer {"connection_id":136971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:28:27] local.INFO: Packet analysis {"connection_id":136971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:28:27] local.INFO: Extracted packet for processing {"connection_id":136971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:28:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827791616001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:28: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-07-19 23:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784483862000,"timestamp_ms":1784483862000,"timestamp_seconds":1784483862,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b86d5f0"} 
[2026-07-19 23:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 23:28:27] 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-07-19 23:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":136971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":136971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":136971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827791616001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827791616001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:28:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:28:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827791616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":136971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:28:27] local.INFO: GPS data processed {"connection_id":136971,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:28:27] local.INFO: Acknowledgment sent {"connection_id":136971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:28:30] local.INFO: TCP Data received {"connection_id":137086,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:28:30] local.INFO: Processing buffer {"connection_id":137086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:28:30] local.INFO: IMEI packet received {"connection_id":137086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":137086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:28:35] local.INFO: TCP Data received {"connection_id":137086,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:28:35] local.INFO: Processing buffer {"connection_id":137086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:28:35] local.INFO: IMEI packet received {"connection_id":137086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":137086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:28:36] local.INFO: TCP Data received {"connection_id":137086,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:28:36] local.INFO: Processing buffer {"connection_id":137086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:28:36] local.INFO: Packet analysis {"connection_id":137086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:28:36] local.INFO: Extracted packet for processing {"connection_id":137086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:28:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827791104001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:28: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-07-19 23:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784483860000,"timestamp_ms":1784483860000,"timestamp_seconds":1784483860,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b86ce20"} 
[2026-07-19 23:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:28:36] 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-07-19 23:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827791104001,"66":25299,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827791104001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:28:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:28:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827791104001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":137086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:28:36] local.INFO: GPS data processed {"connection_id":137086,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:28:36] local.INFO: Acknowledgment sent {"connection_id":137086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:28:55] local.INFO: TCP Data received {"connection_id":136972,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:28:55] local.INFO: Processing buffer {"connection_id":136972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:28:55] local.INFO: IMEI packet received {"connection_id":136972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":136972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:29:00] local.INFO: TCP Data received {"connection_id":136972,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:29:00] local.INFO: Processing buffer {"connection_id":136972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:29:00] local.INFO: IMEI packet received {"connection_id":136972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":136972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:29:01] local.INFO: TCP Data received {"connection_id":136972,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:29:01] local.INFO: Processing buffer {"connection_id":136972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:29:01] local.INFO: Packet analysis {"connection_id":136972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:29:01] local.INFO: Extracted packet for processing {"connection_id":136972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:29:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827791616001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:29: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-07-19 23:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784483862000,"timestamp_ms":1784483862000,"timestamp_seconds":1784483862,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b86d5f0"} 
[2026-07-19 23:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 23:29:01] 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-07-19 23: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-07-19 23:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":136972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":136972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":136972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827791616001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827791616001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:29:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:29:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827791616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":136972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:29:01] local.INFO: GPS data processed {"connection_id":136972,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:29:01] local.INFO: Acknowledgment sent {"connection_id":136972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:29:05] local.INFO: TCP Data received {"connection_id":136972,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:29:05] local.INFO: Processing buffer {"connection_id":136972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:29:05] local.INFO: Packet analysis {"connection_id":136972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:29:05] local.INFO: Extracted packet for processing {"connection_id":136972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827791616001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784483862000,"timestamp_ms":1784483862000,"timestamp_seconds":1784483862,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b86d5f0"} 
[2026-07-19 23:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 23:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":136972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":136972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":136972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827791616001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827791616001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:29:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827791616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":136972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:29:05] local.INFO: GPS data processed {"connection_id":136972,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:29:05] local.INFO: Acknowledgment sent {"connection_id":136972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:29:07] local.INFO: TCP Data received {"connection_id":137086,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:29:07] local.INFO: Processing buffer {"connection_id":137086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:29:07] local.INFO: Packet analysis {"connection_id":137086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:29:07] local.INFO: Extracted packet for processing {"connection_id":137086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:29:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827791104001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:29: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-07-19 23:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784483860000,"timestamp_ms":1784483860000,"timestamp_seconds":1784483860,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b86ce20"} 
[2026-07-19 23:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:29: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-07-19 23: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-07-19 23:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":137086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":137086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":137086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:29:07] 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-07-19 23:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827791104001,"66":25299,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827791104001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:29:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:29:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827791104001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":137086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:29:07] local.INFO: GPS data processed {"connection_id":137086,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:29:07] local.INFO: Acknowledgment sent {"connection_id":137086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:29:30] local.INFO: TCP Data received {"connection_id":137087,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:29:30] local.INFO: Processing buffer {"connection_id":137087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:29:30] local.INFO: IMEI packet received {"connection_id":137087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":137087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:29:35] local.INFO: TCP Data received {"connection_id":137087,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:29:35] local.INFO: Processing buffer {"connection_id":137087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:29:35] local.INFO: IMEI packet received {"connection_id":137087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":137087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:29:36] local.INFO: TCP Data received {"connection_id":137087,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:29:36] local.INFO: Processing buffer {"connection_id":137087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:29:36] local.INFO: Packet analysis {"connection_id":137087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:29:36] local.INFO: Extracted packet for processing {"connection_id":137087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827791104001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:29: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-07-19 23:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784483860000,"timestamp_ms":1784483860000,"timestamp_seconds":1784483860,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b86ce20"} 
[2026-07-19 23:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:29:36] 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-07-19 23:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827791104001,"66":25299,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827791104001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:29:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:29:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827791104001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":137087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:29:36] local.INFO: GPS data processed {"connection_id":137087,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:29:36] local.INFO: Acknowledgment sent {"connection_id":137087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:29:50] local.INFO: TCP Data received {"connection_id":139436,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:29:50] local.INFO: Processing buffer {"connection_id":139436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:29:50] local.INFO: IMEI packet received {"connection_id":139436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":139436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:29:55] local.INFO: TCP Data received {"connection_id":139436,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:29:55] local.INFO: Processing buffer {"connection_id":139436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:29:55] local.INFO: IMEI packet received {"connection_id":139436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":139436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:29:56] local.INFO: TCP Data received {"connection_id":139436,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:29:56] local.INFO: Processing buffer {"connection_id":139436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:29:56] local.INFO: Packet analysis {"connection_id":139436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:29:56] local.INFO: Extracted packet for processing {"connection_id":139436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:29:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827791616001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:29: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-07-19 23:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784483862000,"timestamp_ms":1784483862000,"timestamp_seconds":1784483862,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b86d5f0"} 
[2026-07-19 23:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":96,"data_length":795,"current_offset":136} 
[2026-07-19 23:29:56] 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-07-19 23: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-07-19 23:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":139436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":139436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":139436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827791616001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827791616001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:29:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:29:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827791616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":139436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:29:56] local.INFO: GPS data processed {"connection_id":139436,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:29:56] local.INFO: Acknowledgment sent {"connection_id":139436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:30:07] local.INFO: TCP Data received {"connection_id":137087,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:30:07] local.INFO: Processing buffer {"connection_id":137087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:30:07] local.INFO: Packet analysis {"connection_id":137087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:30:07] local.INFO: Extracted packet for processing {"connection_id":137087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:30:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827791104001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:30: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-07-19 23:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784483860000,"timestamp_ms":1784483860000,"timestamp_seconds":1784483860,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b86ce20"} 
[2026-07-19 23:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:30: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-07-19 23: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-07-19 23:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":137087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":137087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":137087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:30:07] 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-07-19 23:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827791104001,"66":25299,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827791104001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:30:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:30:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827791104001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":137087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:30:07] local.INFO: GPS data processed {"connection_id":137087,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:30:07] local.INFO: Acknowledgment sent {"connection_id":137087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:30:27] local.INFO: TCP Data received {"connection_id":139436,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:30:27] local.INFO: Processing buffer {"connection_id":139436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:30:27] local.INFO: Packet analysis {"connection_id":139436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:30:27] local.INFO: Extracted packet for processing {"connection_id":139436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:30:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 23:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827791616001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:30: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-07-19 23:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784483862000,"timestamp_ms":1784483862000,"timestamp_seconds":1784483862,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b86d5f0"} 
[2026-07-19 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-07-19 23:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 23:30:27] 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-07-19 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-07-19 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-07-19 23:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":139436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":139436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":139436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827791616001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827791616001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:30:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:30:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827791616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":139436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:30:27] local.INFO: GPS data processed {"connection_id":139436,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:30:27] local.INFO: Acknowledgment sent {"connection_id":139436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:30:30] local.INFO: TCP Data received {"connection_id":138045,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:30:30] local.INFO: Processing buffer {"connection_id":138045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:30:30] local.INFO: IMEI packet received {"connection_id":138045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":138045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:30:35] local.INFO: TCP Data received {"connection_id":138045,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:30:35] local.INFO: Processing buffer {"connection_id":138045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:30:35] local.INFO: IMEI packet received {"connection_id":138045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":138045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:30:36] local.INFO: TCP Data received {"connection_id":138045,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:30:36] local.INFO: Processing buffer {"connection_id":138045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:30:36] local.INFO: Packet analysis {"connection_id":138045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:30:36] local.INFO: Extracted packet for processing {"connection_id":138045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827791104001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:30: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-07-19 23:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784483860000,"timestamp_ms":1784483860000,"timestamp_seconds":1784483860,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b86ce20"} 
[2026-07-19 23:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":138045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":138045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":138045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:30: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-07-19 23:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827791104001,"66":25299,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827791104001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:30:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:30:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827791104001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":138045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:30:36] local.INFO: GPS data processed {"connection_id":138045,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:30:36] local.INFO: Acknowledgment sent {"connection_id":138045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:30:50] local.INFO: TCP Data received {"connection_id":138046,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:30:50] local.INFO: Processing buffer {"connection_id":138046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:30:50] local.INFO: IMEI packet received {"connection_id":138046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":138046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:30:55] local.INFO: TCP Data received {"connection_id":138046,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:30:55] local.INFO: Processing buffer {"connection_id":138046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:30:55] local.INFO: IMEI packet received {"connection_id":138046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":138046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:30:56] local.INFO: TCP Data received {"connection_id":138046,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:30:56] local.INFO: Processing buffer {"connection_id":138046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:30:56] local.INFO: Packet analysis {"connection_id":138046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:30:56] local.INFO: Extracted packet for processing {"connection_id":138046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:30:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 23:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827791616001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:30: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-07-19 23:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784483862000,"timestamp_ms":1784483862000,"timestamp_seconds":1784483862,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b86d5f0"} 
[2026-07-19 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-07-19 23:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 23:30:56] 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-07-19 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-07-19 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-07-19 23:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":138046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":138046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":138046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827791616001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827791616001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:30:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:30:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827791616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":138046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:30:56] local.INFO: GPS data processed {"connection_id":138046,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:30:56] local.INFO: Acknowledgment sent {"connection_id":138046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:31:07] local.INFO: TCP Data received {"connection_id":138045,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:31:07] local.INFO: Processing buffer {"connection_id":138045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:31:07] local.INFO: Packet analysis {"connection_id":138045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:31:07] local.INFO: Extracted packet for processing {"connection_id":138045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827791104001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:31: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-07-19 23:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784483860000,"timestamp_ms":1784483860000,"timestamp_seconds":1784483860,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b86ce20"} 
[2026-07-19 23:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:31: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-07-19 23: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-07-19 23:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":138045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":138045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":138045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:31: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-07-19 23:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827791104001,"66":25299,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827791104001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:31:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:31:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827791104001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":138045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:31:07] local.INFO: GPS data processed {"connection_id":138045,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:31:07] local.INFO: Acknowledgment sent {"connection_id":138045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:31:27] local.INFO: TCP Data received {"connection_id":138046,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:31:27] local.INFO: Processing buffer {"connection_id":138046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:31:27] local.INFO: Packet analysis {"connection_id":138046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:31:27] local.INFO: Extracted packet for processing {"connection_id":138046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:31:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 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-07-19 23:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827791616001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:31: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-07-19 23:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784483862000,"timestamp_ms":1784483862000,"timestamp_seconds":1784483862,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b86d5f0"} 
[2026-07-19 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-07-19 23:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 23:31:27] 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-07-19 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-07-19 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-07-19 23:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":138046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":138046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":138046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827791616001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827791616001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:31:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:31:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827791616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":138046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:31:27] local.INFO: GPS data processed {"connection_id":138046,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:31:27] local.INFO: Acknowledgment sent {"connection_id":138046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:31:30] local.INFO: TCP Data received {"connection_id":136973,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:31:30] local.INFO: Processing buffer {"connection_id":136973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:31:30] local.INFO: IMEI packet received {"connection_id":136973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":136973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:31:35] local.INFO: TCP Data received {"connection_id":136973,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:31:35] local.INFO: Processing buffer {"connection_id":136973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:31:35] local.INFO: IMEI packet received {"connection_id":136973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":136973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:31:36] local.INFO: TCP Data received {"connection_id":136973,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:31:36] local.INFO: Processing buffer {"connection_id":136973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:31:36] local.INFO: Packet analysis {"connection_id":136973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:31:36] local.INFO: Extracted packet for processing {"connection_id":136973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:31:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827791104001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:31: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-07-19 23:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784483860000,"timestamp_ms":1784483860000,"timestamp_seconds":1784483860,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b86ce20"} 
[2026-07-19 23:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:31: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-07-19 23:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827791104001,"66":25299,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827791104001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:31:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:31:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827791104001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":136973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:31:36] local.INFO: GPS data processed {"connection_id":136973,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:31:36] local.INFO: Acknowledgment sent {"connection_id":136973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:31:50] local.INFO: TCP Data received {"connection_id":138047,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:31:50] local.INFO: Processing buffer {"connection_id":138047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:31:50] local.INFO: IMEI packet received {"connection_id":138047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-19 23:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":138047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:31:55] local.INFO: TCP Data received {"connection_id":138047,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:31:55] local.INFO: Processing buffer {"connection_id":138047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-19 23:31:55] local.INFO: IMEI packet received {"connection_id":138047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-19 23:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":138047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:31:56] local.INFO: TCP Data received {"connection_id":138047,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:31:56] local.INFO: Processing buffer {"connection_id":138047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:31:56] local.INFO: Packet analysis {"connection_id":138047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:31:56] local.INFO: Extracted packet for processing {"connection_id":138047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:31:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827791616001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:31: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-07-19 23:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784483862000,"timestamp_ms":1784483862000,"timestamp_seconds":1784483862,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b86d5f0"} 
[2026-07-19 23:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 23:31:56] 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-07-19 23:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":138047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":138047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":138047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827791616001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827791616001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:31:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:31:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827791616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":138047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:31:56] local.INFO: GPS data processed {"connection_id":138047,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:31:56] local.INFO: Acknowledgment sent {"connection_id":138047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:32:08] local.INFO: TCP Data received {"connection_id":136973,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:32:08] local.INFO: Processing buffer {"connection_id":136973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:32:08] local.INFO: Packet analysis {"connection_id":136973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:32:08] local.INFO: Extracted packet for processing {"connection_id":136973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827791104001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:32: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-07-19 23:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784483860000,"timestamp_ms":1784483860000,"timestamp_seconds":1784483860,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b86ce20"} 
[2026-07-19 23:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:32: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-07-19 23:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:32: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-07-19 23:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827791104001,"66":25299,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827791104001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:32:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:32:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827791104001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":136973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:32:08] local.INFO: GPS data processed {"connection_id":136973,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:32:08] local.INFO: Acknowledgment sent {"connection_id":136973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:32:27] local.INFO: TCP Data received {"connection_id":138047,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:32:27] local.INFO: Processing buffer {"connection_id":138047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b86d5f0012d196540071ff0100041004924..."} 
[2026-07-19 23:32:27] local.INFO: Packet analysis {"connection_id":138047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:32:27] local.INFO: Extracted packet for processing {"connection_id":138047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:32:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533584,"longitude_deg":75.663904,"latitude_deg":11.9533584,"altitude":65,"angle":73,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827791616001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7312911965880320,"note":"Value kept but may cause issues"} 
[2026-07-19 23:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940749824,"note":"Value kept but may cause issues"} 
[2026-07-19 23:32: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-07-19 23:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784483862000,"timestamp_ms":1784483862000,"timestamp_seconds":1784483862,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b86d5f0"} 
[2026-07-19 23:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-19 23:32:27] 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-07-19 23: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-07-19 23:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":138047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":138047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":138047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-19 23:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-19 23:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-19 23:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827791616001,"66":2166,"102":206,"83":41984,"24":0,"16":7312911965880320,"45":1829939222940749824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-19 23:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-19 23:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-19 23:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827791616001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:32:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-19 23:32:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-19 23:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":7312911965880320,"km_value":7312911965880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940749824,"description":"Unknown IO ID 45"} 
[2026-07-19 23:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827791616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940749824}} 
[2026-07-19 23:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":138047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:32:27] local.INFO: GPS data processed {"connection_id":138047,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:32:27] local.INFO: Acknowledgment sent {"connection_id":138047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:32:30] local.INFO: TCP Data received {"connection_id":139438,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:32:30] local.INFO: Processing buffer {"connection_id":139438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:32:30] local.INFO: IMEI packet received {"connection_id":139438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":139438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:32:35] local.INFO: TCP Data received {"connection_id":139438,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:32:35] local.INFO: Processing buffer {"connection_id":139438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:32:35] local.INFO: IMEI packet received {"connection_id":139438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":139438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:32:36] local.INFO: TCP Data received {"connection_id":139438,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:32:36] local.INFO: Processing buffer {"connection_id":139438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:32:36] local.INFO: Packet analysis {"connection_id":139438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:32:36] local.INFO: Extracted packet for processing {"connection_id":139438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827791104001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:32: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-07-19 23:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784483860000,"timestamp_ms":1784483860000,"timestamp_seconds":1784483860,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b86ce20"} 
[2026-07-19 23:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827791104001,"66":25299,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827791104001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:32:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:32:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827791104001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":139438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:32:36] local.INFO: GPS data processed {"connection_id":139438,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:32:36] local.INFO: Acknowledgment sent {"connection_id":139438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:33:07] local.INFO: TCP Data received {"connection_id":139438,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:33:07] local.INFO: Processing buffer {"connection_id":139438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b86ce20012d34c58006aa4b980014000729..."} 
[2026-07-19 23:33:07] local.INFO: Packet analysis {"connection_id":139438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:33:07] local.INFO: Extracted packet for processing {"connection_id":139438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b86"} 
[2026-07-19 23:33:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":20,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827791104001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:33: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-07-19 23:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784483860000,"timestamp_ms":1784483860000,"timestamp_seconds":1784483860,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b86ce20"} 
[2026-07-19 23:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:33: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-07-19 23:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":139438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":139438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":139438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827791104001,"66":25299,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827791104001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:33:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:33:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827791104001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":139438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:33:07] local.INFO: GPS data processed {"connection_id":139438,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:33:07] local.INFO: Acknowledgment sent {"connection_id":139438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:33:35] local.INFO: TCP Data received {"connection_id":139439,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:33:35] local.INFO: Processing buffer {"connection_id":139439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:33:35] local.INFO: IMEI packet received {"connection_id":139439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":139439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:33:40] local.INFO: TCP Data received {"connection_id":139439,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:33:40] local.INFO: Processing buffer {"connection_id":139439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:33:40] local.INFO: IMEI packet received {"connection_id":139439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":139439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:33:41] local.INFO: TCP Data received {"connection_id":139439,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b8b65e8012d34c58006aa4b98002c000728..."} 
[2026-07-19 23:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b8b65e8012d34c58006aa4b98002c000728..."} 
[2026-07-19 23:33:41] local.INFO: Processing buffer {"connection_id":139439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b8b65e8012d34c58006aa4b98002c000728..."} 
[2026-07-19 23:33:41] local.INFO: Packet analysis {"connection_id":139439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b8b"} 
[2026-07-19 23:33:41] local.INFO: Extracted packet for processing {"connection_id":139439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b8b"} 
[2026-07-19 23:33:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":44,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827868160001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784484161000,"timestamp_ms":1784484161000,"timestamp_seconds":1784484161,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b8b65e8"} 
[2026-07-19 23:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-19 23:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:33:41] 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-07-19 23:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827868160001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827868160001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:33:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:33:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827868160001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":139439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:33:41] local.INFO: GPS data processed {"connection_id":139439,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:33:41] local.INFO: Acknowledgment sent {"connection_id":139439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:33:45] local.INFO: TCP Data received {"connection_id":136974,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:33:45] local.INFO: Processing buffer {"connection_id":136974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:33:45] local.INFO: IMEI packet received {"connection_id":136974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 23:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":136974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:33:45] local.INFO: TCP Data received {"connection_id":139439,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b8b65e8012d34c58006aa4b98002c000728..."} 
[2026-07-19 23:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b8b65e8012d34c58006aa4b98002c000728..."} 
[2026-07-19 23:33:45] local.INFO: Processing buffer {"connection_id":139439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b8b65e8012d34c58006aa4b98002c000728..."} 
[2026-07-19 23:33:45] local.INFO: Packet analysis {"connection_id":139439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b8b"} 
[2026-07-19 23:33:45] local.INFO: Extracted packet for processing {"connection_id":139439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b8b"} 
[2026-07-19 23:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":44,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827868160001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784484161000,"timestamp_ms":1784484161000,"timestamp_seconds":1784484161,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b8b65e8"} 
[2026-07-19 23:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-19 23:33:45] 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-07-19 23: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-07-19 23:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":139439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":139439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":139439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827868160001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827868160001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:33:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:33:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827868160001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":139439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:33:45] local.INFO: GPS data processed {"connection_id":139439,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:33:45] local.INFO: Acknowledgment sent {"connection_id":139439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:34:26] local.INFO: TCP Data received {"connection_id":136975,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:34:26] local.INFO: Processing buffer {"connection_id":136975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:34:26] local.INFO: IMEI packet received {"connection_id":136975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 23:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":136975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:34:30] local.INFO: TCP Data received {"connection_id":138049,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:34:30] local.INFO: Processing buffer {"connection_id":138049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:34:30] local.INFO: IMEI packet received {"connection_id":138049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":138049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:34:35] local.INFO: TCP Data received {"connection_id":138049,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:34:35] local.INFO: Processing buffer {"connection_id":138049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:34:35] local.INFO: IMEI packet received {"connection_id":138049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":138049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:34:37] local.INFO: TCP Data received {"connection_id":138049,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b8b65e8012d34c58006aa4b98002c000728..."} 
[2026-07-19 23:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b8b65e8012d34c58006aa4b98002c000728..."} 
[2026-07-19 23:34:37] local.INFO: Processing buffer {"connection_id":138049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b8b65e8012d34c58006aa4b98002c000728..."} 
[2026-07-19 23:34:37] local.INFO: Packet analysis {"connection_id":138049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b8b"} 
[2026-07-19 23:34:37] local.INFO: Extracted packet for processing {"connection_id":138049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b8b"} 
[2026-07-19 23:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":44,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827868160001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:34: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-07-19 23:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784484161000,"timestamp_ms":1784484161000,"timestamp_seconds":1784484161,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b8b65e8"} 
[2026-07-19 23:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-19 23:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827868160001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827868160001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:34:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827868160001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":138049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:34:37] local.INFO: GPS data processed {"connection_id":138049,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:34:37] local.INFO: Acknowledgment sent {"connection_id":138049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:35:09] local.INFO: TCP Data received {"connection_id":138049,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b8b65e8012d34c58006aa4b98002c000728..."} 
[2026-07-19 23:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b8b65e8012d34c58006aa4b98002c000728..."} 
[2026-07-19 23:35:09] local.INFO: Processing buffer {"connection_id":138049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b8b65e8012d34c58006aa4b98002c000728..."} 
[2026-07-19 23:35:09] local.INFO: Packet analysis {"connection_id":138049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b8b"} 
[2026-07-19 23:35:09] local.INFO: Extracted packet for processing {"connection_id":138049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b8b"} 
[2026-07-19 23:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":44,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827868160001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784484161000,"timestamp_ms":1784484161000,"timestamp_seconds":1784484161,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b8b65e8"} 
[2026-07-19 23:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-19 23:35:09] 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-07-19 23: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-07-19 23:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827868160001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827868160001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:35:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827868160001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":138049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:35:09] local.INFO: GPS data processed {"connection_id":138049,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:35:09] local.INFO: Acknowledgment sent {"connection_id":138049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:35:30] local.INFO: TCP Data received {"connection_id":136976,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:35:30] local.INFO: Processing buffer {"connection_id":136976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:35:30] local.INFO: IMEI packet received {"connection_id":136976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":136976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:35:51] local.INFO: TCP Data received {"connection_id":136976,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:35:51] local.INFO: Processing buffer {"connection_id":136976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:35:51] local.INFO: IMEI packet received {"connection_id":136976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":136976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:35:51] local.INFO: TCP Data received {"connection_id":136976,"ip":"42.106.6.28","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 23:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136976,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 23:35:51] local.INFO: Processing buffer {"connection_id":136976,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-19 23:35:51] local.INFO: IMEI packet received {"connection_id":136976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":136976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:39:55] local.INFO: TCP Data received {"connection_id":137089,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137089,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:39:55] local.INFO: Processing buffer {"connection_id":137089,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:39:55] local.INFO: IMEI packet received {"connection_id":137089,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 23:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":137089,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:40:25] local.INFO: TCP Data received {"connection_id":136979,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:40:25] local.INFO: Processing buffer {"connection_id":136979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:40:25] local.INFO: IMEI packet received {"connection_id":136979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 23:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":136979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:40:55] local.INFO: TCP Data received {"connection_id":138053,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:40:55] local.INFO: Processing buffer {"connection_id":138053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:40:55] local.INFO: IMEI packet received {"connection_id":138053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":138053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:40:56] local.INFO: TCP Data received {"connection_id":138053,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b8ffdb0012d34c58006aa4b98002d000727..."} 
[2026-07-19 23:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b8ffdb0012d34c58006aa4b98002d000727..."} 
[2026-07-19 23:40:56] local.INFO: Processing buffer {"connection_id":138053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b8ffdb0012d34c58006aa4b98002d000727..."} 
[2026-07-19 23:40:56] local.INFO: Packet analysis {"connection_id":138053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b8f"} 
[2026-07-19 23:40:56] local.INFO: Extracted packet for processing {"connection_id":138053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b8f"} 
[2026-07-19 23:40:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":45,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827945216001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784484462000,"timestamp_ms":1784484462000,"timestamp_seconds":1784484462,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b8ffdb0"} 
[2026-07-19 23:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":138053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":138053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":138053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:40:56] 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-07-19 23:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827945216001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827945216001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:40:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:40:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827945216001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":138053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:40:56] local.INFO: GPS data processed {"connection_id":138053,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:40:56] local.INFO: Acknowledgment sent {"connection_id":138053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:41:35] local.INFO: TCP Data received {"connection_id":136981,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:41:35] local.INFO: Processing buffer {"connection_id":136981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:41:35] local.INFO: IMEI packet received {"connection_id":136981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":136981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:41:40] local.INFO: TCP Data received {"connection_id":136981,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:41:40] local.INFO: Processing buffer {"connection_id":136981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:41:40] local.INFO: IMEI packet received {"connection_id":136981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":136981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:41:41] local.INFO: TCP Data received {"connection_id":136981,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b8ffdb0012d34c58006aa4b98002d000727..."} 
[2026-07-19 23:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b8ffdb0012d34c58006aa4b98002d000727..."} 
[2026-07-19 23:41:41] local.INFO: Processing buffer {"connection_id":136981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b8ffdb0012d34c58006aa4b98002d000727..."} 
[2026-07-19 23:41:41] local.INFO: Packet analysis {"connection_id":136981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b8f"} 
[2026-07-19 23:41:41] local.INFO: Extracted packet for processing {"connection_id":136981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b8f"} 
[2026-07-19 23:41:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":45,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827945216001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784484462000,"timestamp_ms":1784484462000,"timestamp_seconds":1784484462,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b8ffdb0"} 
[2026-07-19 23:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":136981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":136981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":136981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827945216001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827945216001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:41:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:41:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827945216001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":136981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:41:41] local.INFO: GPS data processed {"connection_id":136981,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:41:41] local.INFO: Acknowledgment sent {"connection_id":136981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:41:45] local.INFO: TCP Data received {"connection_id":136981,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b8ffdb0012d34c58006aa4b98002d000727..."} 
[2026-07-19 23:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b8ffdb0012d34c58006aa4b98002d000727..."} 
[2026-07-19 23:41:45] local.INFO: Processing buffer {"connection_id":136981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b8ffdb0012d34c58006aa4b98002d000727..."} 
[2026-07-19 23:41:45] local.INFO: Packet analysis {"connection_id":136981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b8f"} 
[2026-07-19 23:41:45] local.INFO: Extracted packet for processing {"connection_id":136981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b8f"} 
[2026-07-19 23:41:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":45,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827945216001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784484462000,"timestamp_ms":1784484462000,"timestamp_seconds":1784484462,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b8ffdb0"} 
[2026-07-19 23:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":136981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":136981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":136981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827945216001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827945216001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:41:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:41:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827945216001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":136981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:41:45] local.INFO: GPS data processed {"connection_id":136981,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:41:45] local.INFO: Acknowledgment sent {"connection_id":136981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:42:30] local.INFO: TCP Data received {"connection_id":138055,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:42:30] local.INFO: Processing buffer {"connection_id":138055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:42:30] local.INFO: IMEI packet received {"connection_id":138055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":138055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:42:35] local.INFO: TCP Data received {"connection_id":138055,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:42:35] local.INFO: Processing buffer {"connection_id":138055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:42:35] local.INFO: IMEI packet received {"connection_id":138055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":138055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:42:36] local.INFO: TCP Data received {"connection_id":138055,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b8ffdb0012d34c58006aa4b98002d000727..."} 
[2026-07-19 23:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b8ffdb0012d34c58006aa4b98002d000727..."} 
[2026-07-19 23:42:36] local.INFO: Processing buffer {"connection_id":138055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b8ffdb0012d34c58006aa4b98002d000727..."} 
[2026-07-19 23:42:36] local.INFO: Packet analysis {"connection_id":138055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b8f"} 
[2026-07-19 23:42:36] local.INFO: Extracted packet for processing {"connection_id":138055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b8f"} 
[2026-07-19 23:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":45,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827945216001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784484462000,"timestamp_ms":1784484462000,"timestamp_seconds":1784484462,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b8ffdb0"} 
[2026-07-19 23:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":138055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":138055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":138055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:42: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-07-19 23:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827945216001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827945216001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:42:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:42:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827945216001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":138055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:42:36] local.INFO: GPS data processed {"connection_id":138055,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:42:36] local.INFO: Acknowledgment sent {"connection_id":138055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:43:08] local.INFO: TCP Data received {"connection_id":138055,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b8ffdb0012d34c58006aa4b98002d000727..."} 
[2026-07-19 23:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b8ffdb0012d34c58006aa4b98002d000727..."} 
[2026-07-19 23:43:08] local.INFO: Processing buffer {"connection_id":138055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b8ffdb0012d34c58006aa4b98002d000727..."} 
[2026-07-19 23:43:08] local.INFO: Packet analysis {"connection_id":138055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b8f"} 
[2026-07-19 23:43:08] local.INFO: Extracted packet for processing {"connection_id":138055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b8f"} 
[2026-07-19 23:43:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":45,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456827945216001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:43: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-07-19 23:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784484462000,"timestamp_ms":1784484462000,"timestamp_seconds":1784484462,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b8ffdb0"} 
[2026-07-19 23:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:43: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-07-19 23:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":138055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":138055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":138055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23: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-07-19 23:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456827945216001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456827945216001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:43:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:43:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456827945216001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":138055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:43:08] local.INFO: GPS data processed {"connection_id":138055,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:43:08] local.INFO: Acknowledgment sent {"connection_id":138055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:43:30] local.INFO: TCP Data received {"connection_id":139443,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:43:30] local.INFO: Processing buffer {"connection_id":139443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:43:30] local.INFO: IMEI packet received {"connection_id":139443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":139443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:43:35] local.INFO: TCP Data received {"connection_id":139443,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:43:35] local.INFO: Processing buffer {"connection_id":139443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:43:35] local.INFO: IMEI packet received {"connection_id":139443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":139443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:43:36] local.INFO: TCP Data received {"connection_id":139443,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:43:36] local.INFO: Processing buffer {"connection_id":139443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:43:36] local.INFO: Packet analysis {"connection_id":139443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b94"} 
[2026-07-19 23:43:36] local.INFO: Extracted packet for processing {"connection_id":139443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b94"} 
[2026-07-19 23:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828022272001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:43: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-07-19 23:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784484763000,"timestamp_ms":1784484763000,"timestamp_seconds":1784484763,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b949578"} 
[2026-07-19 23:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 23:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:43:36] 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-07-19 23:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828022272001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828022272001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:43:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:43:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828022272001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":139443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:43:36] local.INFO: GPS data processed {"connection_id":139443,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:43:36] local.INFO: Acknowledgment sent {"connection_id":139443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:44:08] local.INFO: TCP Data received {"connection_id":139443,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:44:08] local.INFO: Processing buffer {"connection_id":139443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:44:08] local.INFO: Packet analysis {"connection_id":139443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b94"} 
[2026-07-19 23:44:08] local.INFO: Extracted packet for processing {"connection_id":139443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b94"} 
[2026-07-19 23:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828022272001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784484763000,"timestamp_ms":1784484763000,"timestamp_seconds":1784484763,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b949578"} 
[2026-07-19 23:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":233,"data_length":795,"current_offset":136} 
[2026-07-19 23:44: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-07-19 23: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-07-19 23:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:44: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-07-19 23:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828022272001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828022272001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:44:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828022272001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":139443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:44:08] local.INFO: GPS data processed {"connection_id":139443,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:44:08] local.INFO: Acknowledgment sent {"connection_id":139443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:44:30] local.INFO: TCP Data received {"connection_id":136983,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:44:30] local.INFO: Processing buffer {"connection_id":136983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:44:30] local.INFO: IMEI packet received {"connection_id":136983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":136983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:44:35] local.INFO: TCP Data received {"connection_id":136983,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:44:35] local.INFO: Processing buffer {"connection_id":136983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:44:35] local.INFO: IMEI packet received {"connection_id":136983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":136983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:44:36] local.INFO: TCP Data received {"connection_id":136983,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:44:36] local.INFO: Processing buffer {"connection_id":136983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:44:36] local.INFO: Packet analysis {"connection_id":136983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b94"} 
[2026-07-19 23:44:36] local.INFO: Extracted packet for processing {"connection_id":136983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b94"} 
[2026-07-19 23:44:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828022272001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:44: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-07-19 23:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784484763000,"timestamp_ms":1784484763000,"timestamp_seconds":1784484763,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b949578"} 
[2026-07-19 23:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 23:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:44: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-07-19 23:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828022272001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828022272001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:44:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:44:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828022272001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":136983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:44:36] local.INFO: GPS data processed {"connection_id":136983,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:44:36] local.INFO: Acknowledgment sent {"connection_id":136983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:45:07] local.INFO: TCP Data received {"connection_id":136983,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:45:07] local.INFO: Processing buffer {"connection_id":136983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:45:07] local.INFO: Packet analysis {"connection_id":136983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b94"} 
[2026-07-19 23:45:07] local.INFO: Extracted packet for processing {"connection_id":136983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b94"} 
[2026-07-19 23:45:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828022272001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:45: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-07-19 23:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784484763000,"timestamp_ms":1784484763000,"timestamp_seconds":1784484763,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b949578"} 
[2026-07-19 23:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 23:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":136983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":136983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":136983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828022272001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828022272001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:45:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:45:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828022272001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":136983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:45:07] local.INFO: GPS data processed {"connection_id":136983,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:45:07] local.INFO: Acknowledgment sent {"connection_id":136983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:45:30] local.INFO: TCP Data received {"connection_id":139445,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:45:30] local.INFO: Processing buffer {"connection_id":139445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:45:30] local.INFO: IMEI packet received {"connection_id":139445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":139445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:45:35] local.INFO: TCP Data received {"connection_id":139445,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:45:35] local.INFO: Processing buffer {"connection_id":139445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:45:35] local.INFO: IMEI packet received {"connection_id":139445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":139445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:45:36] local.INFO: TCP Data received {"connection_id":139445,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:45:36] local.INFO: Processing buffer {"connection_id":139445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:45:36] local.INFO: Packet analysis {"connection_id":139445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b94"} 
[2026-07-19 23:45:36] local.INFO: Extracted packet for processing {"connection_id":139445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b94"} 
[2026-07-19 23:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828022272001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:45: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-07-19 23:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784484763000,"timestamp_ms":1784484763000,"timestamp_seconds":1784484763,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b949578"} 
[2026-07-19 23:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 23:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:45: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-07-19 23:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828022272001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828022272001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:45:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828022272001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":139445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:45:36] local.INFO: GPS data processed {"connection_id":139445,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:45:36] local.INFO: Acknowledgment sent {"connection_id":139445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:45:45] local.INFO: TCP Data received {"connection_id":139444,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:45:45] local.INFO: Processing buffer {"connection_id":139444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:45:45] local.INFO: IMEI packet received {"connection_id":139444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 23:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":139444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:46:08] local.INFO: TCP Data received {"connection_id":139445,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:46:08] local.INFO: Processing buffer {"connection_id":139445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:46:08] local.INFO: Packet analysis {"connection_id":139445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b94"} 
[2026-07-19 23:46:08] local.INFO: Extracted packet for processing {"connection_id":139445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b94"} 
[2026-07-19 23:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828022272001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784484763000,"timestamp_ms":1784484763000,"timestamp_seconds":1784484763,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b949578"} 
[2026-07-19 23:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23: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-07-19 23: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-07-19 23:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:46: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-07-19 23:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828022272001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828022272001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:46:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:46:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828022272001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":139445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:46:08] local.INFO: GPS data processed {"connection_id":139445,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:46:08] local.INFO: Acknowledgment sent {"connection_id":139445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:46:30] local.INFO: TCP Data received {"connection_id":137091,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:46:30] local.INFO: Processing buffer {"connection_id":137091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:46:30] local.INFO: IMEI packet received {"connection_id":137091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":137091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:46:30] local.INFO: TCP Data received {"connection_id":137090,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:46:30] local.INFO: Processing buffer {"connection_id":137090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:46:30] local.INFO: IMEI packet received {"connection_id":137090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 23:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":137090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:46:35] local.INFO: TCP Data received {"connection_id":137091,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:46:35] local.INFO: Processing buffer {"connection_id":137091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:46:35] local.INFO: IMEI packet received {"connection_id":137091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":137091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:46:36] local.INFO: TCP Data received {"connection_id":137091,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:46:36] local.INFO: Processing buffer {"connection_id":137091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:46:36] local.INFO: Packet analysis {"connection_id":137091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b94"} 
[2026-07-19 23:46:36] local.INFO: Extracted packet for processing {"connection_id":137091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b94"} 
[2026-07-19 23:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828022272001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:46: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-07-19 23:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784484763000,"timestamp_ms":1784484763000,"timestamp_seconds":1784484763,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b949578"} 
[2026-07-19 23:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 23:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828022272001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828022272001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:46:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:46:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828022272001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":137091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:46:36] local.INFO: GPS data processed {"connection_id":137091,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:46:36] local.INFO: Acknowledgment sent {"connection_id":137091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:47:07] local.INFO: TCP Data received {"connection_id":137091,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:47:07] local.INFO: Processing buffer {"connection_id":137091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:47:07] local.INFO: Packet analysis {"connection_id":137091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b94"} 
[2026-07-19 23:47:07] local.INFO: Extracted packet for processing {"connection_id":137091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b94"} 
[2026-07-19 23:47:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828022272001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:47: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-07-19 23:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784484763000,"timestamp_ms":1784484763000,"timestamp_seconds":1784484763,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b949578"} 
[2026-07-19 23:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 23:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":137091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":137091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":137091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828022272001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828022272001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:47:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:47:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828022272001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":137091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:47:07] local.INFO: GPS data processed {"connection_id":137091,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:47:07] local.INFO: Acknowledgment sent {"connection_id":137091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:47:30] local.INFO: TCP Data received {"connection_id":139446,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:47:30] local.INFO: Processing buffer {"connection_id":139446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:47:30] local.INFO: IMEI packet received {"connection_id":139446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":139446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:47:35] local.INFO: TCP Data received {"connection_id":139446,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:47:35] local.INFO: Processing buffer {"connection_id":139446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:47:35] local.INFO: IMEI packet received {"connection_id":139446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":139446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:47:38] local.INFO: TCP Data received {"connection_id":139446,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:47:38] local.INFO: Processing buffer {"connection_id":139446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:47:38] local.INFO: Packet analysis {"connection_id":139446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b94"} 
[2026-07-19 23:47:38] local.INFO: Extracted packet for processing {"connection_id":139446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b94"} 
[2026-07-19 23:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828022272001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:47: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-07-19 23:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784484763000,"timestamp_ms":1784484763000,"timestamp_seconds":1784484763,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b949578"} 
[2026-07-19 23:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 23:47: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-07-19 23: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-07-19 23:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":139446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":139446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":139446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828022272001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828022272001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828022272001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":139446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:47:38] local.INFO: GPS data processed {"connection_id":139446,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:47:38] local.INFO: Acknowledgment sent {"connection_id":139446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:48:10] local.INFO: TCP Data received {"connection_id":139446,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:48:10] local.INFO: Processing buffer {"connection_id":139446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b949578012d34c58006aa4b980016000726..."} 
[2026-07-19 23:48:10] local.INFO: Packet analysis {"connection_id":139446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b94"} 
[2026-07-19 23:48:10] local.INFO: Extracted packet for processing {"connection_id":139446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b94"} 
[2026-07-19 23:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828022272001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:48: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-07-19 23:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784484763000,"timestamp_ms":1784484763000,"timestamp_seconds":1784484763,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b949578"} 
[2026-07-19 23:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-19 23:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":139446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":139446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":139446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:48: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-07-19 23:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828022272001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828022272001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:48:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828022272001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":139446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:48:10] local.INFO: GPS data processed {"connection_id":139446,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:48:10] local.INFO: Acknowledgment sent {"connection_id":139446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:48:30] local.INFO: TCP Data received {"connection_id":138058,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:48:30] local.INFO: Processing buffer {"connection_id":138058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:48:30] local.INFO: IMEI packet received {"connection_id":138058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":138058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:48:35] local.INFO: TCP Data received {"connection_id":138058,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:48:35] local.INFO: Processing buffer {"connection_id":138058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:48:35] local.INFO: IMEI packet received {"connection_id":138058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":138058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:48:37] local.INFO: TCP Data received {"connection_id":138058,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:48:37] local.INFO: Processing buffer {"connection_id":138058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:48:37] local.INFO: Packet analysis {"connection_id":138058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b99"} 
[2026-07-19 23:48:37] local.INFO: Extracted packet for processing {"connection_id":138058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b99"} 
[2026-07-19 23:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828099328001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:48: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-07-19 23:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784485064000,"timestamp_ms":1784485064000,"timestamp_seconds":1784485064,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b992d40"} 
[2026-07-19 23:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":138058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":138058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":138058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828099328001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828099328001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:48:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828099328001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":138058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:48:37] local.INFO: GPS data processed {"connection_id":138058,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:48:37] local.INFO: Acknowledgment sent {"connection_id":138058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:49:09] local.INFO: TCP Data received {"connection_id":138058,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:49:09] local.INFO: Processing buffer {"connection_id":138058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:49:09] local.INFO: Packet analysis {"connection_id":138058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b99"} 
[2026-07-19 23:49:09] local.INFO: Extracted packet for processing {"connection_id":138058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b99"} 
[2026-07-19 23:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828099328001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:49: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-07-19 23:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784485064000,"timestamp_ms":1784485064000,"timestamp_seconds":1784485064,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b992d40"} 
[2026-07-19 23:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:49: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-07-19 23: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-07-19 23:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":138058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":138058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":138058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:49:09] 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-07-19 23:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828099328001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828099328001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:49:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828099328001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":138058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:49:09] local.INFO: GPS data processed {"connection_id":138058,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:49:09] local.INFO: Acknowledgment sent {"connection_id":138058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:49:30] local.INFO: TCP Data received {"connection_id":138059,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:49:30] local.INFO: Processing buffer {"connection_id":138059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:49:30] local.INFO: IMEI packet received {"connection_id":138059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":138059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:49:35] local.INFO: TCP Data received {"connection_id":138059,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:49:35] local.INFO: Processing buffer {"connection_id":138059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:49:35] local.INFO: IMEI packet received {"connection_id":138059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":138059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:49:36] local.INFO: TCP Data received {"connection_id":138059,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:49:36] local.INFO: Processing buffer {"connection_id":138059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:49:36] local.INFO: Packet analysis {"connection_id":138059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b99"} 
[2026-07-19 23:49:36] local.INFO: Extracted packet for processing {"connection_id":138059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b99"} 
[2026-07-19 23:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828099328001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:49: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-07-19 23:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784485064000,"timestamp_ms":1784485064000,"timestamp_seconds":1784485064,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b992d40"} 
[2026-07-19 23:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":138059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":138059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":138059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:49: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-07-19 23:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828099328001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828099328001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:49:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:49:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828099328001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":138059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:49:36] local.INFO: GPS data processed {"connection_id":138059,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:49:36] local.INFO: Acknowledgment sent {"connection_id":138059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:50:08] local.INFO: TCP Data received {"connection_id":138059,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:50:08] local.INFO: Processing buffer {"connection_id":138059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:50:08] local.INFO: Packet analysis {"connection_id":138059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b99"} 
[2026-07-19 23:50:08] local.INFO: Extracted packet for processing {"connection_id":138059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b99"} 
[2026-07-19 23:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828099328001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784485064000,"timestamp_ms":1784485064000,"timestamp_seconds":1784485064,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b992d40"} 
[2026-07-19 23:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":138059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":138059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":138059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:50: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-07-19 23:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828099328001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828099328001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:50:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:50:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828099328001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":138059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:50:08] local.INFO: GPS data processed {"connection_id":138059,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:50:08] local.INFO: Acknowledgment sent {"connection_id":138059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:50:30] local.INFO: TCP Data received {"connection_id":139447,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:50:30] local.INFO: Processing buffer {"connection_id":139447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:50:30] local.INFO: IMEI packet received {"connection_id":139447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":139447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:50:35] local.INFO: TCP Data received {"connection_id":139447,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:50:35] local.INFO: Processing buffer {"connection_id":139447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:50:35] local.INFO: IMEI packet received {"connection_id":139447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":139447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:50:36] local.INFO: TCP Data received {"connection_id":139447,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:50:36] local.INFO: Processing buffer {"connection_id":139447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:50:36] local.INFO: Packet analysis {"connection_id":139447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b99"} 
[2026-07-19 23:50:36] local.INFO: Extracted packet for processing {"connection_id":139447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b99"} 
[2026-07-19 23:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828099328001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:50: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-07-19 23:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784485064000,"timestamp_ms":1784485064000,"timestamp_seconds":1784485064,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b992d40"} 
[2026-07-19 23:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828099328001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828099328001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:50:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:50:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828099328001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":139447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:50:36] local.INFO: GPS data processed {"connection_id":139447,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:50:36] local.INFO: Acknowledgment sent {"connection_id":139447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:51:07] local.INFO: TCP Data received {"connection_id":139447,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:51:07] local.INFO: Processing buffer {"connection_id":139447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:51:07] local.INFO: Packet analysis {"connection_id":139447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b99"} 
[2026-07-19 23:51:07] local.INFO: Extracted packet for processing {"connection_id":139447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b99"} 
[2026-07-19 23:51:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828099328001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:51: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-07-19 23:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784485064000,"timestamp_ms":1784485064000,"timestamp_seconds":1784485064,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b992d40"} 
[2026-07-19 23:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:51: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-07-19 23: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-07-19 23:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":139447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":139447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":139447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:51:07] 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-07-19 23:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828099328001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828099328001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:51:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:51:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828099328001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":139447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:51:07] local.INFO: GPS data processed {"connection_id":139447,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:51:07] local.INFO: Acknowledgment sent {"connection_id":139447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:51:30] local.INFO: TCP Data received {"connection_id":136985,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:51:30] local.INFO: Processing buffer {"connection_id":136985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:51:30] local.INFO: IMEI packet received {"connection_id":136985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":136985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:51:35] local.INFO: TCP Data received {"connection_id":136985,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:51:35] local.INFO: Processing buffer {"connection_id":136985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:51:35] local.INFO: IMEI packet received {"connection_id":136985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":136985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:51:36] local.INFO: TCP Data received {"connection_id":136985,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:51:36] local.INFO: Processing buffer {"connection_id":136985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:51:36] local.INFO: Packet analysis {"connection_id":136985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b99"} 
[2026-07-19 23:51:36] local.INFO: Extracted packet for processing {"connection_id":136985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b99"} 
[2026-07-19 23:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828099328001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:51: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-07-19 23:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784485064000,"timestamp_ms":1784485064000,"timestamp_seconds":1784485064,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b992d40"} 
[2026-07-19 23:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":136985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":136985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":136985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828099328001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 23:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828099328001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:51:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:51:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828099328001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":136985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:51:36] local.INFO: GPS data processed {"connection_id":136985,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:51:36] local.INFO: Acknowledgment sent {"connection_id":136985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:51:48] local.INFO: TCP Data received {"connection_id":137092,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137092,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:51:48] local.INFO: Processing buffer {"connection_id":137092,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:51:48] local.INFO: IMEI packet received {"connection_id":137092,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 23:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":137092,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:52:08] local.INFO: TCP Data received {"connection_id":136985,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:52:08] local.INFO: Processing buffer {"connection_id":136985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:52:08] local.INFO: Packet analysis {"connection_id":136985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b99"} 
[2026-07-19 23:52:08] local.INFO: Extracted packet for processing {"connection_id":136985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b99"} 
[2026-07-19 23:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828099328001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784485064000,"timestamp_ms":1784485064000,"timestamp_seconds":1784485064,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b992d40"} 
[2026-07-19 23:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":136985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":136985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":136985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23: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-07-19 23:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828099328001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 23:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828099328001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:52:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828099328001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":136985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:52:08] local.INFO: GPS data processed {"connection_id":136985,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:52:08] local.INFO: Acknowledgment sent {"connection_id":136985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:52:25] local.INFO: TCP Data received {"connection_id":136986,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:52:25] local.INFO: Processing buffer {"connection_id":136986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:52:25] local.INFO: IMEI packet received {"connection_id":136986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 23:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":136986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:52:35] local.INFO: TCP Data received {"connection_id":137093,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:52:35] local.INFO: Processing buffer {"connection_id":137093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:52:35] local.INFO: IMEI packet received {"connection_id":137093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":137093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:52:40] local.INFO: TCP Data received {"connection_id":137093,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:52:40] local.INFO: Processing buffer {"connection_id":137093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:52:40] local.INFO: IMEI packet received {"connection_id":137093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":137093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:52:41] local.INFO: TCP Data received {"connection_id":137093,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:52:41] local.INFO: Processing buffer {"connection_id":137093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:52:41] local.INFO: Packet analysis {"connection_id":137093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b99"} 
[2026-07-19 23:52:41] local.INFO: Extracted packet for processing {"connection_id":137093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b99"} 
[2026-07-19 23:52:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828099328001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784485064000,"timestamp_ms":1784485064000,"timestamp_seconds":1784485064,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b992d40"} 
[2026-07-19 23:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":137093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":137093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":137093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828099328001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828099328001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:52:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:52:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828099328001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":137093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:52:41] local.INFO: GPS data processed {"connection_id":137093,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:52:41] local.INFO: Acknowledgment sent {"connection_id":137093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:52:45] local.INFO: TCP Data received {"connection_id":137093,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:52:45] local.INFO: Processing buffer {"connection_id":137093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:52:45] local.INFO: Packet analysis {"connection_id":137093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b99"} 
[2026-07-19 23:52:45] local.INFO: Extracted packet for processing {"connection_id":137093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b99"} 
[2026-07-19 23:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828099328001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784485064000,"timestamp_ms":1784485064000,"timestamp_seconds":1784485064,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b992d40"} 
[2026-07-19 23:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":137093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":137093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":137093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828099328001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828099328001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:52:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828099328001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":137093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:52:45] local.INFO: GPS data processed {"connection_id":137093,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:52:45] local.INFO: Acknowledgment sent {"connection_id":137093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:52:50] local.INFO: TCP Data received {"connection_id":137093,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:52:50] local.INFO: Processing buffer {"connection_id":137093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b992d40012d34c58006aa4b980016000726..."} 
[2026-07-19 23:52:50] local.INFO: Packet analysis {"connection_id":137093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b99"} 
[2026-07-19 23:52:50] local.INFO: Extracted packet for processing {"connection_id":137093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b99"} 
[2026-07-19 23:52:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828099328001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784485064000,"timestamp_ms":1784485064000,"timestamp_seconds":1784485064,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b992d40"} 
[2026-07-19 23:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":137093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":137093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":137093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828099328001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828099328001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:52:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:52:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828099328001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":137093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:52:50] local.INFO: GPS data processed {"connection_id":137093,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:52:50] local.INFO: Acknowledgment sent {"connection_id":137093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:53:30] local.INFO: TCP Data received {"connection_id":138061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:53:30] local.INFO: Processing buffer {"connection_id":138061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:53:30] local.INFO: IMEI packet received {"connection_id":138061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":138061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:53:35] local.INFO: TCP Data received {"connection_id":138061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:53:35] local.INFO: Processing buffer {"connection_id":138061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:53:35] local.INFO: IMEI packet received {"connection_id":138061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":138061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:53:36] local.INFO: TCP Data received {"connection_id":138061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:53:36] local.INFO: Processing buffer {"connection_id":138061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:53:36] local.INFO: Packet analysis {"connection_id":138061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b9d"} 
[2026-07-19 23:53:36] local.INFO: Extracted packet for processing {"connection_id":138061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b9d"} 
[2026-07-19 23:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828176384001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:53: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-07-19 23:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784485365000,"timestamp_ms":1784485365000,"timestamp_seconds":1784485365,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b9dc508"} 
[2026-07-19 23:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":138061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":138061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":138061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:53: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-07-19 23:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828176384001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 23:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828176384001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:53:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:53:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828176384001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":138061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:53:36] local.INFO: GPS data processed {"connection_id":138061,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:53:36] local.INFO: Acknowledgment sent {"connection_id":138061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:54:10] local.INFO: TCP Data received {"connection_id":138061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:54:10] local.INFO: Processing buffer {"connection_id":138061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:54:10] local.INFO: Packet analysis {"connection_id":138061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b9d"} 
[2026-07-19 23:54:10] local.INFO: Extracted packet for processing {"connection_id":138061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b9d"} 
[2026-07-19 23:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828176384001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:54: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-07-19 23:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784485365000,"timestamp_ms":1784485365000,"timestamp_seconds":1784485365,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b9dc508"} 
[2026-07-19 23:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":138061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":138061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":138061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828176384001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-19 23:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828176384001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:54:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828176384001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":138061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:54:10] local.INFO: GPS data processed {"connection_id":138061,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:54:10] local.INFO: Acknowledgment sent {"connection_id":138061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:54:30] local.INFO: TCP Data received {"connection_id":137096,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:54:30] local.INFO: Processing buffer {"connection_id":137096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:54:30] local.INFO: IMEI packet received {"connection_id":137096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":137096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:54:35] local.INFO: TCP Data received {"connection_id":137096,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:54:35] local.INFO: Processing buffer {"connection_id":137096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:54:35] local.INFO: IMEI packet received {"connection_id":137096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":137096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:54:36] local.INFO: TCP Data received {"connection_id":137096,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:54:36] local.INFO: Processing buffer {"connection_id":137096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:54:36] local.INFO: Packet analysis {"connection_id":137096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b9d"} 
[2026-07-19 23:54:36] local.INFO: Extracted packet for processing {"connection_id":137096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b9d"} 
[2026-07-19 23:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828176384001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:54: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-07-19 23:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784485365000,"timestamp_ms":1784485365000,"timestamp_seconds":1784485365,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b9dc508"} 
[2026-07-19 23:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":137096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":137096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":137096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828176384001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828176384001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:54:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:54:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828176384001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":137096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:54:36] local.INFO: GPS data processed {"connection_id":137096,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:54:36] local.INFO: Acknowledgment sent {"connection_id":137096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:55:07] local.INFO: TCP Data received {"connection_id":137096,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:55:07] local.INFO: Processing buffer {"connection_id":137096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:55:07] local.INFO: Packet analysis {"connection_id":137096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b9d"} 
[2026-07-19 23:55:07] local.INFO: Extracted packet for processing {"connection_id":137096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b9d"} 
[2026-07-19 23:55:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828176384001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:55: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-07-19 23:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784485365000,"timestamp_ms":1784485365000,"timestamp_seconds":1784485365,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b9dc508"} 
[2026-07-19 23:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:55: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-07-19 23: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-07-19 23:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":137096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":137096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":137096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828176384001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828176384001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:55:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:55:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828176384001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":137096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:55:07] local.INFO: GPS data processed {"connection_id":137096,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:55:07] local.INFO: Acknowledgment sent {"connection_id":137096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:55:30] local.INFO: TCP Data received {"connection_id":138062,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:55:30] local.INFO: Processing buffer {"connection_id":138062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:55:30] local.INFO: IMEI packet received {"connection_id":138062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":138062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:55:35] local.INFO: TCP Data received {"connection_id":138062,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:55:35] local.INFO: Processing buffer {"connection_id":138062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:55:35] local.INFO: IMEI packet received {"connection_id":138062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":138062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:55:36] local.INFO: TCP Data received {"connection_id":138062,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:55:36] local.INFO: Processing buffer {"connection_id":138062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:55:36] local.INFO: Packet analysis {"connection_id":138062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b9d"} 
[2026-07-19 23:55:36] local.INFO: Extracted packet for processing {"connection_id":138062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b9d"} 
[2026-07-19 23:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828176384001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:55: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-07-19 23:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784485365000,"timestamp_ms":1784485365000,"timestamp_seconds":1784485365,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b9dc508"} 
[2026-07-19 23:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":138062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":138062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":138062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:55: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-07-19 23:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828176384001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828176384001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:55:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:55:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828176384001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":138062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:55:36] local.INFO: GPS data processed {"connection_id":138062,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:55:36] local.INFO: Acknowledgment sent {"connection_id":138062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:56:08] local.INFO: TCP Data received {"connection_id":138062,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:56:08] local.INFO: Processing buffer {"connection_id":138062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:56:08] local.INFO: Packet analysis {"connection_id":138062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b9d"} 
[2026-07-19 23:56:08] local.INFO: Extracted packet for processing {"connection_id":138062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b9d"} 
[2026-07-19 23:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828176384001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23: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-07-19 23:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784485365000,"timestamp_ms":1784485365000,"timestamp_seconds":1784485365,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b9dc508"} 
[2026-07-19 23:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:56: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-07-19 23: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-07-19 23:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":138062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":138062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":138062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828176384001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828176384001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:56:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828176384001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":138062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:56:08] local.INFO: GPS data processed {"connection_id":138062,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:56:08] local.INFO: Acknowledgment sent {"connection_id":138062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:56:35] local.INFO: TCP Data received {"connection_id":136988,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:56:35] local.INFO: Processing buffer {"connection_id":136988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:56:35] local.INFO: IMEI packet received {"connection_id":136988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":136988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:56:40] local.INFO: TCP Data received {"connection_id":136988,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:56:40] local.INFO: Processing buffer {"connection_id":136988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:56:40] local.INFO: IMEI packet received {"connection_id":136988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":136988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:56:41] local.INFO: TCP Data received {"connection_id":136988,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:56:41] local.INFO: Processing buffer {"connection_id":136988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:56:41] local.INFO: Packet analysis {"connection_id":136988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b9d"} 
[2026-07-19 23:56:41] local.INFO: Extracted packet for processing {"connection_id":136988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b9d"} 
[2026-07-19 23:56:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828176384001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784485365000,"timestamp_ms":1784485365000,"timestamp_seconds":1784485365,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b9dc508"} 
[2026-07-19 23:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":136988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":136988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":136988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:56: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-07-19 23:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828176384001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828176384001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:56:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:56:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828176384001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":136988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:56:41] local.INFO: GPS data processed {"connection_id":136988,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:56:41] local.INFO: Acknowledgment sent {"connection_id":136988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:56:46] local.INFO: TCP Data received {"connection_id":136988,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:56:46] local.INFO: Processing buffer {"connection_id":136988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:56:46] local.INFO: Packet analysis {"connection_id":136988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b9d"} 
[2026-07-19 23:56:46] local.INFO: Extracted packet for processing {"connection_id":136988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b9d"} 
[2026-07-19 23:56:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828176384001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784485365000,"timestamp_ms":1784485365000,"timestamp_seconds":1784485365,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b9dc508"} 
[2026-07-19 23:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":136988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":136988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":136988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828176384001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828176384001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:56:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:56:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828176384001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":136988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:56:46] local.INFO: GPS data processed {"connection_id":136988,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:56:46] local.INFO: Acknowledgment sent {"connection_id":136988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:57:30] local.INFO: TCP Data received {"connection_id":139448,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:57:30] local.INFO: Processing buffer {"connection_id":139448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:57:30] local.INFO: IMEI packet received {"connection_id":139448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":139448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:57:35] local.INFO: TCP Data received {"connection_id":139448,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:57:35] local.INFO: Processing buffer {"connection_id":139448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:57:35] local.INFO: IMEI packet received {"connection_id":139448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":139448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:57:36] local.INFO: TCP Data received {"connection_id":139448,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:57:36] local.INFO: Processing buffer {"connection_id":139448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:57:36] local.INFO: Packet analysis {"connection_id":139448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b9d"} 
[2026-07-19 23:57:36] local.INFO: Extracted packet for processing {"connection_id":139448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b9d"} 
[2026-07-19 23:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828176384001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:57: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-07-19 23:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784485365000,"timestamp_ms":1784485365000,"timestamp_seconds":1784485365,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b9dc508"} 
[2026-07-19 23:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23: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-07-19 23:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":139448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":139448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":139448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:57: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-07-19 23:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828176384001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828176384001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:57:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:57:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828176384001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":139448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:57:36] local.INFO: GPS data processed {"connection_id":139448,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:57:36] local.INFO: Acknowledgment sent {"connection_id":139448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:57:50] local.INFO: TCP Data received {"connection_id":136989,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:57:50] local.INFO: Processing buffer {"connection_id":136989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:57:50] local.INFO: IMEI packet received {"connection_id":136989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 23:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":136989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:58:10] local.INFO: TCP Data received {"connection_id":139448,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:58:10] local.INFO: Processing buffer {"connection_id":139448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7b9dc508012d34c58006aa4b980016000727..."} 
[2026-07-19 23:58:10] local.INFO: Packet analysis {"connection_id":139448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7b9d"} 
[2026-07-19 23:58:10] local.INFO: Extracted packet for processing {"connection_id":139448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7b9d"} 
[2026-07-19 23:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828176384001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:58: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-07-19 23:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784485365000,"timestamp_ms":1784485365000,"timestamp_seconds":1784485365,"priority":1,"record_length":96,"hex_timestamp":"0000019f7b9dc508"} 
[2026-07-19 23:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":139448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":139448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":139448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-19 23:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828176384001,"66":25343,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828176384001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:58:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828176384001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":139448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:58:10] local.INFO: GPS data processed {"connection_id":139448,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:58:10] local.INFO: Acknowledgment sent {"connection_id":139448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:58:26] local.INFO: TCP Data received {"connection_id":137098,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":137098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:58:26] local.INFO: Processing buffer {"connection_id":137098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-19 23:58:26] local.INFO: IMEI packet received {"connection_id":137098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-19 23:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":137098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:58:30] local.INFO: TCP Data received {"connection_id":136990,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:58:30] local.INFO: Processing buffer {"connection_id":136990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:58:30] local.INFO: IMEI packet received {"connection_id":136990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":136990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:58:35] local.INFO: TCP Data received {"connection_id":136990,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:58:35] local.INFO: Processing buffer {"connection_id":136990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:58:35] local.INFO: IMEI packet received {"connection_id":136990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":136990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:58:42] local.INFO: TCP Data received {"connection_id":136990,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ba25cd0012d34c58006aa4b980016000727..."} 
[2026-07-19 23:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ba25cd0012d34c58006aa4b980016000727..."} 
[2026-07-19 23:58:42] local.INFO: Processing buffer {"connection_id":136990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ba25cd0012d34c58006aa4b980016000727..."} 
[2026-07-19 23:58:42] local.INFO: Packet analysis {"connection_id":136990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ba2"} 
[2026-07-19 23:58:42] local.INFO: Extracted packet for processing {"connection_id":136990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ba2"} 
[2026-07-19 23:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828253440001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-19 23:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784485666000,"timestamp_ms":1784485666000,"timestamp_seconds":1784485666,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ba25cd0"} 
[2026-07-19 23:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-19 23:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":136990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":136990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":136990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:58: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-07-19 23:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828253440001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828253440001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:58:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:58:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828253440001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":136990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:58:42] local.INFO: GPS data processed {"connection_id":136990,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:58:42] local.INFO: Acknowledgment sent {"connection_id":136990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:59:14] local.INFO: TCP Data received {"connection_id":136990,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ba25cd0012d34c58006aa4b980016000727..."} 
[2026-07-19 23:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":136990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ba25cd0012d34c58006aa4b980016000727..."} 
[2026-07-19 23:59:14] local.INFO: Processing buffer {"connection_id":136990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ba25cd0012d34c58006aa4b980016000727..."} 
[2026-07-19 23:59:14] local.INFO: Packet analysis {"connection_id":136990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ba2"} 
[2026-07-19 23:59:14] local.INFO: Extracted packet for processing {"connection_id":136990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ba2"} 
[2026-07-19 23:59:14] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-19 23:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828253440001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:59: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-07-19 23:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784485666000,"timestamp_ms":1784485666000,"timestamp_seconds":1784485666,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ba25cd0"} 
[2026-07-19 23:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:59: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-07-19 23:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-19 23:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":136990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":136990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":136990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:59: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-07-19 23:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828253440001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828253440001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:59:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:59:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828253440001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":136990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:59:14] local.INFO: GPS data processed {"connection_id":136990,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:59:14] local.INFO: Acknowledgment sent {"connection_id":136990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-19 23:59:30] local.INFO: TCP Data received {"connection_id":138063,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:59:30] local.INFO: Processing buffer {"connection_id":138063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:59:30] local.INFO: IMEI packet received {"connection_id":138063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-19 23:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":138063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-19 23:59:35] local.INFO: TCP Data received {"connection_id":138063,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:59:35] local.INFO: Processing buffer {"connection_id":138063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-19 23:59:35] local.INFO: IMEI packet received {"connection_id":138063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-19 23:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":138063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-19 23:59:39] local.INFO: TCP Data received {"connection_id":138063,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f7ba25cd0012d34c58006aa4b980016000727..."} 
[2026-07-19 23:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":138063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f7ba25cd0012d34c58006aa4b980016000727..."} 
[2026-07-19 23:59:39] local.INFO: Processing buffer {"connection_id":138063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f7ba25cd0012d34c58006aa4b980016000727..."} 
[2026-07-19 23:59:39] local.INFO: Packet analysis {"connection_id":138063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f7ba2"} 
[2026-07-19 23:59:39] local.INFO: Extracted packet for processing {"connection_id":138063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f7ba2"} 
[2026-07-19 23:59:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823768,"longitude_deg":75.8433152,"latitude_deg":11.1823768,"altitude":22,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4b98","is_valid_coordinates":true} 
[2026-07-19 23: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-07-19 23:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456828253440001,"note":"Value kept but may cause issues"} 
[2026-07-19 23:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352307216579035136,"note":"Value kept but may cause issues"} 
[2026-07-19 23:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499491840,"note":"Value kept but may cause issues"} 
[2026-07-19 23:59: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-07-19 23:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784485666000,"timestamp_ms":1784485666000,"timestamp_seconds":1784485666,"priority":1,"record_length":96,"hex_timestamp":"0000019f7ba25cd0"} 
[2026-07-19 23:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-19 23:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-19 23:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-19 23:59: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-07-19 23: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-07-19 23:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-19 23:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-19 23:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":138063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-19 23:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":138063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":138063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-19 23:59: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-07-19 23:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-19 23:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-19 23:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456828253440001,"66":25321,"97":206,"81":23296,"24":0,"16":352307216579035136,"45":3802586226499491840},"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-07-19 23:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-19 23:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-19 23:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456828253440001,"description":"Unknown IO ID 0"} 
[2026-07-19 23:59:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-19 23:59:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-19 23:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352307216579035136,"km_value":352307216579035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-19 23:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499491840,"description":"Unknown IO ID 45"} 
[2026-07-19 23:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456828253440001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499491840}} 
[2026-07-19 23:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":138063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-19 23:59:39] local.INFO: GPS data processed {"connection_id":138063,"processed":1,"errors":0,"total":1} 
[2026-07-19 23:59:39] local.INFO: Acknowledgment sent {"connection_id":138063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
